mirror of
https://github.com/mt-mods/coloredwood.git
synced 2025-07-14 22:00:30 +02:00
Compare commits
8 Commits
2019-09-17
...
nalc-1.2.0
Author | SHA1 | Date | |
---|---|---|---|
e58317b58e | |||
63f8499203 | |||
042d2867f7 | |||
be4df6fc88 | |||
9c6fe5206b | |||
7f09ef4c3d | |||
b1a094b770 | |||
2eeb9f95da |
8
init.lua
8
init.lua
@ -128,11 +128,13 @@ if coloredwood.enable_stairsplus then
|
||||
shape = string.sub(i.name, 23)
|
||||
end
|
||||
|
||||
local s1, s2 = is_stairsplus(i.name, false)
|
||||
minetest.override_item(i.name, {
|
||||
groups = groups2,
|
||||
paramtype2 = "colorfacedir",
|
||||
palette = "unifieddyes_palette_greys.png",
|
||||
airbrush_replacement_node = "coloredwood:"..class.."_wood_grey_"..shape
|
||||
airbrush_replacement_node = "coloredwood:"..class.."_wood_grey_"..shape,
|
||||
drop = "moreblocks:"..s1.."_wood"..s2 -- NALC: Fix stack division with moreblocks
|
||||
})
|
||||
end
|
||||
end
|
||||
@ -222,7 +224,9 @@ unifieddyes.register_color_craft({
|
||||
})
|
||||
|
||||
if minetest.get_modpath("signs_lib") then
|
||||
signs_lib.allowed_poles["coloredwood:fence"] = true
|
||||
minetest.override_item("coloredwood:fence", {
|
||||
check_for_pole = true
|
||||
})
|
||||
end
|
||||
|
||||
print("[Colored Wood] Loaded!")
|
||||
|
Reference in New Issue
Block a user