Avorion

Avorion

Equipment Dock Income
Cecell 11 May, 2023 @ 10:23am
Possible invalid reference in script
Since this mod conflicts with SDK's station generation mod I'm not using it anymore but while comparing the files I noticed something and figured I would mention it fwiw.
I see that this mod's "equipmentdock.lua" file references the script "sector/equiptmentdock_npcs.lua" which is a file that exists in this mod. However, line 77 of its this same script file reads:
local EquipmentDocks = {Sector():getEntitiesByScript("entity/merchants/equiptmentdock.lua")}
That script file doesn't exist (note the T in the name equipTmentdock.lua). A script file of that name doesn't exist in the mod either. I think this might end up having an unintended effect since the very next line references the variable EquipmentDocks. If all is well I'm sorry for being a bother but figured it might be worth a report. Thanks for all your mods you rock :D