mirror of
https://github.com/minetest-mods/moreblocks.git
synced 2025-07-02 16:10:44 +02:00
compatability and legacy mostly done. schema recipes are all messed up for some reason.
This commit is contained in:
11
stairsplus_legacy/wool.lua
Normal file
11
stairsplus_legacy/wool.lua
Normal file
@ -0,0 +1,11 @@
|
||||
local dyes = {"white", "grey", "black", "red", "yellow", "green", "cyan",
|
||||
"blue", "magenta", "orange", "violet", "brown", "pink",
|
||||
"dark_grey", "dark_green"}
|
||||
for _, name in pairs(dyes) do
|
||||
local mod = "wool"
|
||||
local nodename = mod .. ":" .. name
|
||||
local ndef = table.copy(minetest.registered_nodes[nodename])
|
||||
ndef.sunlight_propagates = true
|
||||
|
||||
stairsplus:register_all(mod, name, nodename, ndef)
|
||||
end
|
Reference in New Issue
Block a user