1
0
mirror of https://github.com/mt-mods/coloredwood.git synced 2025-07-14 22:00:30 +02:00

8 Commits

Author SHA1 Message Date
e58317b58e Merge branch 'nalc-1.2-dev' 2020-07-05 17:55:05 +02:00
63f8499203 Corrige crash au démarrage 2020-06-20 15:11:28 +02:00
042d2867f7 Fix stack division with moreblocks items 2020-06-18 00:20:24 +02:00
be4df6fc88 add minimum minetest version key for contentdb 2020-06-03 13:00:05 -04:00
9c6fe5206b use signs_lib's custom pole check callback feature
requires signs_lib from commit dcdee22 or later, if present
2019-09-22 03:24:24 -04:00
7f09ef4c3d Replace neutral fence by the default one. 2018-09-23 16:28:38 +02:00
b1a094b770 Fix colored wood and fence groups 2018-08-26 17:35:54 +02:00
2eeb9f95da Fix stack division and nodes orientation 2018-08-25 01:43:04 +02:00
2 changed files with 7 additions and 2 deletions

View File

@ -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!")

View File

@ -1 +1,2 @@
name = coloredwood
min_minetest_version = 5.2.0