I've been looking into making my own system upgrade scripts, and I've formed some questions:
Are the scripts located in /data/scripts/systems called only when a new system upgrade is generated, or every time a system upgrade is used?
If it's the latter, does that mean that system upgrades are stored as a seed and rarity value? If so, how would I go about creating a customizable upgrade? Would it be better to try to reverse-engineer a seed from the values given?
Eventually, I want to be able to custom-create my own system upgrades using commands.
While I have done a tutorial or two on LUA, I'm not super fluent (and I'm pretty unused to not having to declare my variables and an int, string, etc.), so there's a chance I'm missing something super obvious.
Also, are there any tutorials on adding custom turrets, system upgrades, blocks or suchlike to Avorion?