From 93b2ae4540e5b2f06e8e42c847bd0239a022de0d Mon Sep 17 00:00:00 2001 From: cheapie Date: Sat, 15 Mar 2025 16:34:20 -0500 Subject: Fix tapeheads not appearing --- car.lua | 3 +++ decorations.lua | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/car.lua b/car.lua index 1395d9d..6c75848 100644 --- a/car.lua +++ b/car.lua @@ -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, -- cgit v1.2.3