Skip to content

Commit

Permalink
fix backward compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
BuckarooBanzay committed May 23, 2020
1 parent 38db5af commit e7edc6d
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,28 @@ minetest.register_node("prefab:concrete", {
drawtype = "normal",
description = "Block of Prefab Concrete",
paramtype = "light",
tiles = {"prefab_concrete.png"},
is_ground_content = false,
palette = "unifieddyes_palette_extended.png",
groups = {
cracky = 2,
ud_param2_colorable = 1,
},
airbrush_replacement_node = "prefab:concrete_colored"
})

minetest.register_node("prefab:concrete_colored", {
drawtype = "normal",
description = "Colored block of Prefab Concrete",
paramtype = "light",
paramtype2 = "color",
palette = "unifieddyes_palette_extended.png",
tiles = {"prefab_concrete.png"},
is_ground_content = false,
groups = {
cracky=2,
ud_param2_colorable = 1
cracky = 2,
ud_param2_colorable = 1,
not_in_creative_inventory = 1
},
on_construct = unifieddyes.on_construct,
on_dig = unifieddyes.on_dig,
Expand Down

0 comments on commit e7edc6d

Please sign in to comment.