mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-24 18:32:25 +01:00
Update mcl_fire itemstrings
This commit is contained in:
parent
13ec1ce743
commit
8527d684f4
@ -475,8 +475,8 @@ local do_env_damage = function(self)
|
||||
-- lava or fire
|
||||
if self.lava_damage ~= 0
|
||||
and (nodef.groups.lava
|
||||
or self.standing_in == "mcl_fire:basic_flame"
|
||||
or self.standing_in == "mcl_fire:permanent_flame") then
|
||||
or self.standing_in == "mcl_fire:fire"
|
||||
or self.standing_in == "mcl_fire:eternal_fire") then
|
||||
|
||||
self.health = self.health - self.lava_damage
|
||||
|
||||
@ -2594,7 +2594,7 @@ local c_air = minetest.get_content_id("air")
|
||||
local c_ignore = minetest.get_content_id("ignore")
|
||||
local c_obsidian = minetest.get_content_id("mcl_core:obsidian")
|
||||
local c_chest = minetest.get_content_id("mcl_core:chest")
|
||||
local c_fire = minetest.get_content_id("mcl_fire:basic_flame")
|
||||
local c_fire = minetest.get_content_id("mcl_fire:fire")
|
||||
|
||||
-- explosion (cannot break protected or unbreakable nodes)
|
||||
function mobs:explosion(pos, radius, fire, smoke, sound)
|
||||
@ -2662,7 +2662,7 @@ function mobs:explosion(pos, radius, fire, smoke, sound)
|
||||
and (minetest.registered_nodes[n].groups.flammable
|
||||
or random(1, 100) <= 30) then
|
||||
|
||||
minetest.set_node(p, {name = "mcl_fire:basic_flame"})
|
||||
minetest.set_node(p, {name = "mcl_fire:fire"})
|
||||
else
|
||||
minetest.set_node(p, {name = "air"})
|
||||
|
||||
|
@ -94,7 +94,7 @@ mobs:register_arrow("mobs_mc:blaze_fireball", {
|
||||
hit_node = function(self, pos, node)
|
||||
local pos_above = {x=pos.x, y=pos.y+1, z=pos.z}
|
||||
if minetest.registered_nodes[minetest.get_node(pos_above).name].buildable_to then
|
||||
minetest.set_node(pos_above, {name="mcl_fire:basic_flame"})
|
||||
minetest.set_node(pos_above, {name="mcl_fire:fire"})
|
||||
end
|
||||
end
|
||||
})
|
||||
|
@ -114,7 +114,7 @@ local dispenserdef = {
|
||||
elseif iname == "mcl_fire:flint_and_steel" then
|
||||
-- Ignite air or fire
|
||||
if dropnode.name == "air" then
|
||||
minetest.add_node(droppos, {name="mcl_fire:basic_flame"})
|
||||
minetest.add_node(droppos, {name="mcl_fire:fire"})
|
||||
if not minetest.setting_getbool("creative_mode") then
|
||||
stack:add_wear(65535/65) -- 65 uses
|
||||
end
|
||||
|
@ -12,8 +12,8 @@ ARMOR_FIRE_PROTECT = false
|
||||
ARMOR_FIRE_NODES = {
|
||||
{"default:lava_source", 5, 4},
|
||||
{"default:lava_flowing", 5, 4},
|
||||
{"mcl_fire:basic_flame", 3, 4},
|
||||
{"mcl_fire:permanent_flame", 3, 4},
|
||||
{"mcl_fire:fire", 3, 4},
|
||||
{"mcl_fire:eternal_fire", 3, 4},
|
||||
}
|
||||
|
||||
ARMOR_DROP = true
|
||||
|
Loading…
Reference in New Issue
Block a user