Compare commits

...

13 Commits

Author SHA1 Message Date
FossFanatic f9933f3b19 Fix some incorrect names 2023-06-16 14:31:48 +00:00
FossFanatic 3e3320ec87 Update some conversion table texture names 2023-06-16 14:25:50 +00:00
FossFanatic 4cb8de77c6 Small texture rename in readme 2023-06-15 07:08:46 +00:00
FossFanatic c8c124b0a4 Rename textures 2023-06-15 07:08:02 +00:00
FossFanatic 7e7b4db415 Change liquid texture names 2023-05-24 08:51:59 +00:00
FossFanatic d0b4d1b481 Change liquid texture names 2023-05-24 08:51:44 +00:00
FossFanatic 20ad42854d Change liquid texture names 2023-05-24 08:51:32 +00:00
FossFanatic 4b327dcc0b Change liquid texture names 2023-05-24 08:50:54 +00:00
FossFanatic 65885d5192 Rename the liquid textures 2023-05-24 08:47:23 +00:00
FossFanatic 199dbac071 Delete 'textures/default_water_source_animated.png' 2023-05-24 08:46:30 +00:00
FossFanatic 0617c4c3bc Delete 'textures/default_water_flowing_animated.png' 2023-05-24 08:46:23 +00:00
FossFanatic 2a20c451fc Delete 'textures/default_lava_source_animated.png' 2023-05-24 08:46:16 +00:00
FossFanatic 9af764f6cc Delete 'textures/default_lava_flowing_animated.png' 2023-05-24 08:46:07 +00:00
11 changed files with 1041 additions and 1051 deletions

View File

@ -1,36 +1,36 @@
# mcl_dripping
Dripping Mod by kddekadenz, modified for MineClone 2 by Wuzzy, NO11 and AFCM
## Manual
- drops are generated rarely under solid nodes
- they will stay some time at the generated block and than they fall down
- when they collide with the ground, a sound is played and they are destroyed
Water and Lava have builtin drops registered.
## License
code & sounds: CC0
## API
```lua
mcl_dripping.register_drop({
-- The group the liquid's nodes belong to
liquid = "water",
-- The texture used (particles will take a random 2x2 area of it)
texture = "default_water_source_animated.png",
-- Define particle glow, ranges from `0` to `minetest.LIGHT_MAX`
light = 1,
-- The nodes (or node group) the particles will spawn under
nodes = { "group:opaque", "group:leaves" },
-- The sound that will be played then the particle detaches from the roof, see SimpleSoundSpec in lua_api.txt
sound = "drippingwater_drip",
-- The interval for the ABM to run
interval = 60,
-- The chance of the ABM
chance = 10,
})
```
# mcl_dripping
Dripping Mod by kddekadenz, modified for MineClone 2 by Wuzzy, NO11 and AFCM
## Manual
- drops are generated rarely under solid nodes
- they will stay some time at the generated block and than they fall down
- when they collide with the ground, a sound is played and they are destroyed
Water and Lava have builtin drops registered.
## License
code & sounds: CC0
## API
```lua
mcl_dripping.register_drop({
-- The group the liquid's nodes belong to
liquid = "water",
-- The texture used (particles will take a random 2x2 area of it)
texture = "mcl_core_water_source_animation.png",
-- Define particle glow, ranges from `0` to `minetest.LIGHT_MAX`
light = 1,
-- The nodes (or node group) the particles will spawn under
nodes = { "group:opaque", "group:leaves" },
-- The sound that will be played then the particle detaches from the roof, see SimpleSoundSpec in lua_api.txt
sound = "drippingwater_drip",
-- The interval for the ABM to run
interval = 60,
-- The chance of the ABM
chance = 10,
})
```

View File

@ -82,7 +82,7 @@ end
mcl_dripping.register_drop({
liquid = "water",
texture = "default_water_source_animated.png",
texture = "mcl_core_water_source_animation.png",
light = 1,
nodes = { "group:opaque", "group:leaves" },
sound = "drippingwater_drip",
@ -92,7 +92,7 @@ mcl_dripping.register_drop({
mcl_dripping.register_drop({
liquid = "lava",
texture = "default_lava_source_animated.png",
texture = "mcl_core_lava_source_animation.png",
light = math.max(7, minetest.registered_nodes["mcl_core:lava_source"].light_source - 3),
nodes = { "group:opaque" },
sound = "drippingwater_lavadrip",

View File

@ -67,12 +67,12 @@ local function register_filled_cauldron(water_level, description, liquid)
local water_tex
if liquid == "river_water" then
id = id .. "r"
water_tex = "default_water_source_animated.png^[verticalframe:16:0^[multiply:#0084FF"
water_tex = "mcl_core_water_source_animation.png^[verticalframe:16:0^[multiply:#0084FF"
elseif liquid == "lava" then
id = id .. "_lava"
water_tex = "default_lava_source_animated.png^[verticalframe:16:0"
water_tex = "mcl_core_lava_source_animation.png^[verticalframe:16:0"
else
water_tex = "default_water_source_animated.png^[verticalframe:16:0^[multiply:#3F76E4"
water_tex = "mcl_core_water_source_animation.png^[verticalframe:16:0^[multiply:#3F76E4"
end
minetest.register_node(id, {
description = description,

View File

@ -18,17 +18,17 @@ end
minetest.register_node("mcl_core:water_flowing", {
description = S("Flowing Water"),
_doc_items_create_entry = false,
wield_image = "default_water_flowing_animated.png^[verticalframe:64:0",
wield_image = "mcl_core_water_flow_animation.png^[verticalframe:64:0",
drawtype = "flowingliquid",
tiles = {"default_water_flowing_animated.png^[verticalframe:64:0"},
tiles = {"mcl_core_water_flow_animation.png^[verticalframe:64:0"},
special_tiles = {
{
image="default_water_flowing_animated.png",
image="mcl_core_water_flow_animation.png",
backface_culling=false,
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=1.5}
},
{
image="default_water_flowing_animated.png",
image="mcl_core_water_flow_animation.png",
backface_culling=false,
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=1.5}
},
@ -71,12 +71,12 @@ S("• When water is directly below lava, the water turns into stone."),
drawtype = "liquid",
waving = 3,
tiles = {
{name="default_water_source_animated.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.0}}
{name="mcl_core_water_source_animation.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.0}}
},
special_tiles = {
-- New-style water source material (mostly unused)
{
name="default_water_source_animated.png",
name="mcl_core_water_source_animation.png",
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.0},
backface_culling = false,
}
@ -119,17 +119,17 @@ S("• When water is directly below lava, the water turns into stone."),
minetest.register_node("mcl_core:lava_flowing", {
description = S("Flowing Lava"),
_doc_items_create_entry = false,
wield_image = "default_lava_flowing_animated.png^[verticalframe:64:0",
wield_image = "mcl_core_lava_flow_animation.png^[verticalframe:64:0",
drawtype = "flowingliquid",
tiles = {"default_lava_flowing_animated.png^[verticalframe:64:0"},
tiles = {"mcl_core_lava_flow_animation.png^[verticalframe:64:0"},
special_tiles = {
{
image="default_lava_flowing_animated.png",
image="mcl_core_lava_flow_animation.png",
backface_culling=false,
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=6.6}
},
{
image="default_lava_flowing_animated.png",
image="mcl_core_lava_flow_animation.png",
backface_culling=false,
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=6.6}
},
@ -182,12 +182,12 @@ S("• When flowing water touches flowing lava either from above or horizontally
S("• When lava is directly above water, the water turns into stone."),
drawtype = "liquid",
tiles = {
{name="default_lava_source_animated.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.0}}
{name="mcl_core_lava_source_animation.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.0}}
},
special_tiles = {
-- New-style lava source material (mostly unused)
{
name="default_lava_source_animated.png",
name="mcl_core_lava_source_animation.png",
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.0},
backface_culling = false,
}

View File

@ -311,7 +311,7 @@ mcl_flowerpots.register_potted_flower("mcl_mangrove:propagule", {
image = "mcl_mangrove_propagule.png",
})
local water_tex = "default_water_source_animated.png^[verticalframe:16:0^[multiply:#3F76E4"
local water_tex = "mcl_core_water_source_animation.png^[verticalframe:16:0^[multiply:#3F76E4"
local wlroots = {
description = S("water logged mangrove roots"),
@ -322,12 +322,12 @@ local wlroots = {
S("These cannot be crafted yet only occure when get in contact of water."),
_doc_items_hidden = false,
tiles = {
{name="default_water_source_animated.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=5.0}}
{name="mcl_core_water_source_animation.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=5.0}}
},
special_tiles = {
-- New-style water source material (mostly unused)
{
name="default_water_source_animated.png",
name="mcl_core_water_source_animation.png",
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=5.0},
backface_culling = false,
}
@ -373,7 +373,7 @@ local rwlroots = table.copy(wlroots)
-- FIXME luacheck complains that this is a repeated definition of water_tex.
-- Maybe the tiles definition below should be replaced with the animated tile
-- definition as per above?
water_tex = "default_water_source_animated.png^[verticalframe:16:0^[multiply:#0084FF"
water_tex = "mcl_core_water_source_animation.png^[verticalframe:16:0^[multiply:#0084FF"
rwlroots.tiles = {
"("..water_tex..")^mcl_mangrove_roots_top.png",
"("..water_tex..")^mcl_mangrove_roots_side.png",

View File

@ -4664,7 +4664,7 @@
126,
164
],
"default_water_source_animated.png": [
"mcl_core_water_source_animation.png": [
37,
98,
129
@ -4984,7 +4984,7 @@
79,
64
],
"default_water_flowing_animated.png": [
"mcl_core_water_flow_animation.png": [
38,
101,
129
@ -5009,7 +5009,7 @@
89,
86
],
"default_lava_flowing_animated.png": [
"mcl_core_lava_flow_animation.png": [
177,
42,
16
@ -5059,7 +5059,7 @@
142,
123
],
"default_lava_source_animated.png": [
"mcl_core_lava_source_animation.png": [
180,
45,
17
@ -6604,16 +6604,6 @@
56,
64
],
"default_river_water_flowing_animated.png": [
38,
123,
130
],
"default_river_water_source_animated.png": [
37,
120,
130
],
"mcl_armor_stand_item.png": [
134,
114,
@ -9004,22 +8994,22 @@
55,
47
],
"bucket_lava.png": [
"mcl_buckets_lava_bucket.png": [
166,
127,
113
],
"bucket_river_water.png": [
"mcl_buckets_river_water_bucket.png": [
139,
152,
155
],
"bucket_water.png": [
"mcl_buckets_water_bucket.png": [
139,
147,
155
],
"bucket.png": [
"mcl_buckets_bucket.png": [
147,
143,
139

View File

Before

Width:  |  Height:  |  Size: 248 B

After

Width:  |  Height:  |  Size: 248 B

View File

Before

Width:  |  Height:  |  Size: 990 B

After

Width:  |  Height:  |  Size: 990 B

View File

Before

Width:  |  Height:  |  Size: 854 B

After

Width:  |  Height:  |  Size: 854 B

View File

Before

Width:  |  Height:  |  Size: 551 B

After

Width:  |  Height:  |  Size: 551 B

File diff suppressed because it is too large Load Diff