diff options
author | h-v-smacker <hans-von-smacker+github@gmail.com> | 2018-04-24 22:52:14 +0300 |
---|---|---|
committer | h-v-smacker <hans-von-smacker+github@gmail.com> | 2018-04-24 22:52:14 +0300 |
commit | 7324a5c6cf1a5916f049106bf78088ee9e740a60 (patch) | |
tree | c8296a49f4c51a447980876d5381a3aec5d7742f | |
parent | 4418f4c227871c19ef3a100cf608dc6c90fb50f0 (diff) |
fixed dropped items for active switches
-rw-r--r-- | init.lua | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -129,7 +129,8 @@ minetest.register_node("railroad_paraphernalia:switch_with_arrow_act", { gain = 0.3, }) mesecon.receptor_off(pos, switch_get_rules(minetest.get_node(pos).param2)) - end + end, + drop = "railroad_paraphernalia:switch_with_arrow" }) minetest.register_craft({ @@ -228,7 +229,8 @@ minetest.register_node("railroad_paraphernalia:switch_with_lamp_act", { gain = 0.3, }) mesecon.receptor_off(pos, switch_get_rules(minetest.get_node(pos).param2)) - end + end, + drop = "railroad_paraphernalia:switch_with_lamp" }) @@ -394,7 +396,8 @@ minetest.register_node("railroad_paraphernalia:track_blocker_act", { gain = 0.3, }) mesecon.receptor_off(pos, switch_get_rules(minetest.get_node(pos).param2)) - end + end, + drop = "railroad_paraphernalia:track_blocker" }) minetest.register_craft({ @@ -472,7 +475,8 @@ minetest.register_node("railroad_paraphernalia:shunting_signal_act", { max_hear_distance = 20, gain = 0.3, }) - end + end, + drop = "railroad_paraphernalia:shunting_signal" }) |