kingdoms_game/mods/alchemy/disasters.lua
2018-12-22 02:00:48 +00:00

6 lines
212 B
Lua

alchemy.disasters.to_slime = function(pos, name)
local cauldronLevel = name:sub(-1, -1)
local slimeCauldron = "alchemy:cauldron_slime" .. cauldronLevel
minetest.set_node(pos, {name = slimeCauldron})
end