“Still <Liquid>” → “<Liquid> Source”
parent
d36ec8ee17
commit
064858ff59
|
@ -26,7 +26,7 @@ minetest.register_abm({
|
||||||
elseif lavatype == "flowing" and water[w].y == pos.y and (water[w].x == pos.x or water[w].z == pos.z) then
|
elseif lavatype == "flowing" and water[w].y == pos.y and (water[w].x == pos.x or water[w].z == pos.z) then
|
||||||
minetest.set_node(pos, {name="mcl_core:cobble"})
|
minetest.set_node(pos, {name="mcl_core:cobble"})
|
||||||
minetest.sound_play("fire_extinguish_flame", {pos = pos, gain = 0.25, max_hear_distance = 16})
|
minetest.sound_play("fire_extinguish_flame", {pos = pos, gain = 0.25, max_hear_distance = 16})
|
||||||
-- Still lava vs flowing water above or horizontally neighbored: Lava turns into obsidian
|
-- Lava source vs flowing water above or horizontally neighbored: Lava turns into obsidian
|
||||||
elseif lavatype == "source" and
|
elseif lavatype == "source" and
|
||||||
((water[w].y > pos.y and water[w].x == pos.x and water[w].z == pos.z) or
|
((water[w].y > pos.y and water[w].x == pos.x and water[w].z == pos.z) or
|
||||||
(water[w].y == pos.y and (water[w].x == pos.x or water[w].z == pos.z))) then
|
(water[w].y == pos.y and (water[w].x == pos.x or water[w].z == pos.z))) then
|
||||||
|
|
|
@ -772,7 +772,7 @@ minetest.register_node("mcl_core:obsidian", {
|
||||||
|
|
||||||
minetest.register_node("mcl_core:ice", {
|
minetest.register_node("mcl_core:ice", {
|
||||||
description = "Ice",
|
description = "Ice",
|
||||||
_doc_items_longdesc = "Ice is a translucent solid block usually found in cold areas. It melts near block light sources at a light level of 12 or higher. When it melts or is broken while resting on top of another block, it will turn into still water.",
|
_doc_items_longdesc = "Ice is a translucent solid block usually found in cold areas. It melts near block light sources at a light level of 12 or higher. When it melts or is broken while resting on top of another block, it will turn into a water source.",
|
||||||
drawtype = "glasslike",
|
drawtype = "glasslike",
|
||||||
tiles = {"default_ice.png"},
|
tiles = {"default_ice.png"},
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
|
|
|
@ -45,12 +45,12 @@ minetest.register_node("mcl_core:water_flowing", {
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("mcl_core:water_source", {
|
minetest.register_node("mcl_core:water_source", {
|
||||||
description = "Still Water",
|
description = "Water Source",
|
||||||
_doc_items_entry_name = "Water",
|
_doc_items_entry_name = "Water",
|
||||||
_doc_items_longdesc =
|
_doc_items_longdesc =
|
||||||
[[Water is abundant in oceans and also appears in a few springs in the ground. You can swim easily in water, but you need to catch your breath from time to time.
|
[[Water is abundant in oceans and also appears in a few springs in the ground. You can swim easily in water, but you need to catch your breath from time to time.
|
||||||
Water interacts with lava in various ways:
|
Water interacts with lava in various ways:
|
||||||
• When water is directly above or horizontally next to still lava, the lava turns into obsidian.
|
• When water is directly above or horizontally next to a lava source, the lava turns into obsidian.
|
||||||
• When flowing water touches flowing lava either from above or horizontally, the lava turns into cobblestone.
|
• When flowing water touches flowing lava either from above or horizontally, the lava turns into cobblestone.
|
||||||
• When water is directly below lava, the water turns into stone.]],
|
• When water is directly below lava, the water turns into stone.]],
|
||||||
_doc_items_hidden = false,
|
_doc_items_hidden = false,
|
||||||
|
@ -136,13 +136,13 @@ minetest.register_node("mcl_core:lava_flowing", {
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("mcl_core:lava_source", {
|
minetest.register_node("mcl_core:lava_source", {
|
||||||
description = "Still Lava",
|
description = "Lava Source",
|
||||||
_doc_items_entry_name = "Lava",
|
_doc_items_entry_name = "Lava",
|
||||||
_doc_items_longdesc =
|
_doc_items_longdesc =
|
||||||
[[Lava is hot and rather dangerous. Don't touch it, it will hurt you a lot and it is hard to get out.
|
[[Lava is hot and rather dangerous. Don't touch it, it will hurt you a lot and it is hard to get out.
|
||||||
Still lava sets fire to a couple of air blocks above when they're next to a flammable block.
|
A lava source sets fire to a couple of air blocks above when they're next to a flammable block.
|
||||||
Lava interacts with water various ways:
|
Lava interacts with water various ways:
|
||||||
• When still lava is directly below or horizontally next to water, the lava turns into obsidian.
|
• When a lava source is directly below or horizontally next to water, the lava turns into obsidian.
|
||||||
• When flowing water touches flowing lava either from above or horizontally, the lava turns into cobblestone.
|
• When flowing water touches flowing lava either from above or horizontally, the lava turns into cobblestone.
|
||||||
• When lava is directly above water, the water turns into stone.]],
|
• When lava is directly above water, the water turns into stone.]],
|
||||||
drawtype = "liquid",
|
drawtype = "liquid",
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
-- but this would also allow players to swim faster in lava.
|
-- but this would also allow players to swim faster in lava.
|
||||||
|
|
||||||
local lava_src_def = table.copy(minetest.registered_nodes["mcl_core:lava_source"])
|
local lava_src_def = table.copy(minetest.registered_nodes["mcl_core:lava_source"])
|
||||||
lava_src_def.description = "Still Nether Lava"
|
lava_src_def.description = "Nether Lava Source"
|
||||||
lava_src_def._doc_items_create_entry = false
|
lava_src_def._doc_items_create_entry = false
|
||||||
lava_src_def._doc_items_entry_name = nil
|
lava_src_def._doc_items_entry_name = nil
|
||||||
lava_src_def._doc_items_longdesc = nil
|
lava_src_def._doc_items_longdesc = nil
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
-- Liquids: River Water
|
-- Liquids: River Water
|
||||||
|
|
||||||
local source = table.copy(minetest.registered_nodes["mcl_core:water_source"])
|
local source = table.copy(minetest.registered_nodes["mcl_core:water_source"])
|
||||||
source.description = "Still River Water"
|
source.description = "River Water Source"
|
||||||
source.liquid_range = 2
|
source.liquid_range = 2
|
||||||
source.liquid_alternative_flowing = "mclx_core:river_water_flowing"
|
source.liquid_alternative_flowing = "mclx_core:river_water_flowing"
|
||||||
source.liquid_alternative_source = "mclx_core:river_water_source"
|
source.liquid_alternative_source = "mclx_core:river_water_source"
|
||||||
|
|
Loading…
Reference in New Issue