This commit is contained in:
flux 2019-07-25 05:12:07 +00:00
commit dd4869d1dc
3 changed files with 19 additions and 0 deletions

@ -1,6 +1,19 @@
# Release Notes for ModPack TechPack [techpack]
## V2.03.04 (2019-07-20)
### Additions
### Removals
### Changes
### Fixes
- Use Unified Dyes on_dig where needed (issue #35)
## V2.03.03 (2019-05-22)
### Additions

@ -54,6 +54,9 @@ function tubelib.data_not_corrupted(pos)
end
report(pos)
end
local node = minetest.get_node(pos)
number = tubelib.get_new_number(pos, node.name)
meta:set_string("tubelib_number", number)
end
minetest.get_meta(pos):get_string("my_pos", minetest.pos_to_string(pos))
end

@ -45,6 +45,7 @@ minetest.register_node("tubelib_addons2:lamp_off", {
end,
on_construct = unifieddyes.on_construct,
on_dig = unifieddyes.on_dig,
paramtype = "light",
paramtype2 = "color",
@ -54,6 +55,7 @@ minetest.register_node("tubelib_addons2:lamp_off", {
sounds = default.node_sound_stone_defaults(),
groups = {choppy=2, cracky=1, ud_param2_colorable = 1},
is_ground_content = false,
drop = "tubelib_addons2:lamp_off"
})
@ -76,6 +78,7 @@ minetest.register_node("tubelib_addons2:lamp_on", {
unifieddyes.after_dig_node(pos, oldnode, oldmetadata, digger)
end,
on_dig = unifieddyes.on_dig,
light_source = minetest.LIGHT_MAX,
is_ground_content = false,
drop = "tubelib_addons2:lamp_off"