fix(stald): foder-trigger søges i spec_husbandryFood (feedingTrough findes ikke i FS25) når stationen er uden noder — hønsehus; diagnose-log af feltnavne (v1.19.4.0)

This commit is contained in:
2026-09-24 19:47:54 +02:00
parent b86f420a41
commit ff71fb4f43
8 changed files with 78 additions and 19 deletions
+1 -1
View File
@@ -1263,7 +1263,7 @@ ADOutbound = nil
-- unloadTriggers; stationsopslaget ved markøren skal alligevel finde hønsehuset
do
local coop = {getHusbandryFillLevel = function() return 0 end, getName = function() return "Chicken Coop" end,
spec_husbandryFood = {feedingTrough = {exactFillRootNode = 9901}}}
spec_husbandryFood = {unloadTrigger = {exactFillRootNode = 9901}}}
nodePositions[9901] = {x = 20000, z = 3}
local coopStation = {owningPlaceable = coop, unloadTriggers = {}}
table.insert(unloadStations, coopStation)