Rename mod: fire to mcl_fire
This commit is contained in:
parent
5e609235bf
commit
3c1957b5b9
12 changed files with 15 additions and 14 deletions
|
@ -467,8 +467,8 @@ local do_env_damage = function(self)
|
|||
-- lava or fire
|
||||
if self.lava_damage ~= 0
|
||||
and (nodef.groups.lava
|
||||
or self.standing_in == "fire:basic_flame"
|
||||
or self.standing_in == "fire:permanent_flame") then
|
||||
or self.standing_in == "mcl_fire:basic_flame"
|
||||
or self.standing_in == "mcl_fire:permanent_flame") then
|
||||
|
||||
self.health = self.health - self.lava_damage
|
||||
|
||||
|
@ -2585,7 +2585,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("fire:basic_flame")
|
||||
local c_fire = minetest.get_content_id("mcl_fire:basic_flame")
|
||||
|
||||
-- explosion (cannot break protected or unbreakable nodes)
|
||||
function mobs:explosion(pos, radius, fire, smoke, sound)
|
||||
|
@ -2653,7 +2653,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 = "fire:basic_flame"})
|
||||
minetest.set_node(p, {name = "mcl_fire:basic_flame"})
|
||||
else
|
||||
minetest.set_node(p, {name = "air"})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue