diff options
-rw-r--r-- | car.lua | 3 | ||||
-rw-r--r-- | decorations.lua | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -198,6 +198,9 @@ function celevator.car.register(name,defs,size) if def._pi then def.groups._celevator_car_spawnspi = 1 end + if def._tapehead then + def.groups._celevator_car_spawnstapehead = 1 + end if def._position == "000" then def.groups._celevator_car_root = 1 def._root = true diff --git a/decorations.lua b/decorations.lua index 847c06a..7c408e4 100644 --- a/decorations.lua +++ b/decorations.lua @@ -304,7 +304,7 @@ end minetest.register_abm({ label = "Spawn tapeheads", - nodenames = {"celevator:car_122"}, + nodenames = {"group:_celevator_car_spawnstapehead"}, neighbors = {"celevator:tape","celevator:tape_magnets","celevator:tape_bracket"}, interval = 1, chance = 1, |