mirror of
https://github.com/joe7575/techpack.git
synced 2025-02-16 18:02:25 +01:00
merge
This commit is contained in:
@ -1,6 +1,19 @@
|
|||||||
# Release Notes for ModPack TechPack [techpack]
|
# 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)
|
## V2.03.03 (2019-05-22)
|
||||||
|
|
||||||
### Additions
|
### Additions
|
||||||
|
@ -54,6 +54,9 @@ function tubelib.data_not_corrupted(pos)
|
|||||||
end
|
end
|
||||||
report(pos)
|
report(pos)
|
||||||
end
|
end
|
||||||
|
local node = minetest.get_node(pos)
|
||||||
|
number = tubelib.get_new_number(pos, node.name)
|
||||||
|
meta:set_string("tubelib_number", number)
|
||||||
end
|
end
|
||||||
minetest.get_meta(pos):get_string("my_pos", minetest.pos_to_string(pos))
|
minetest.get_meta(pos):get_string("my_pos", minetest.pos_to_string(pos))
|
||||||
end
|
end
|
||||||
|
@ -45,6 +45,7 @@ minetest.register_node("tubelib_addons2:lamp_off", {
|
|||||||
end,
|
end,
|
||||||
|
|
||||||
on_construct = unifieddyes.on_construct,
|
on_construct = unifieddyes.on_construct,
|
||||||
|
on_dig = unifieddyes.on_dig,
|
||||||
|
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "color",
|
paramtype2 = "color",
|
||||||
@ -54,6 +55,7 @@ minetest.register_node("tubelib_addons2:lamp_off", {
|
|||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
groups = {choppy=2, cracky=1, ud_param2_colorable = 1},
|
groups = {choppy=2, cracky=1, ud_param2_colorable = 1},
|
||||||
is_ground_content = false,
|
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)
|
unifieddyes.after_dig_node(pos, oldnode, oldmetadata, digger)
|
||||||
end,
|
end,
|
||||||
|
|
||||||
|
on_dig = unifieddyes.on_dig,
|
||||||
light_source = minetest.LIGHT_MAX,
|
light_source = minetest.LIGHT_MAX,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
drop = "tubelib_addons2:lamp_off"
|
drop = "tubelib_addons2:lamp_off"
|
||||||
|
Reference in New Issue
Block a user