What determines space platform default repair pack?

Place to post guides, observations, things related to modding that are not mods themselves.
User avatar
blastinburn
Burner Inserter
Burner Inserter
Posts: 6
Joined: Fri Aug 25, 2023 2:10 pm
Contact:

What determines space platform default repair pack?

Post by blastinburn »

By "default repair pack" I mean the type of repair pack that "automatically request materials" will request if the platform has taken damage without the entity being destroyed. In vanilla this is the common repair pack but I'm wondering what sets this? Currently I have a mod that adds an alternative repair pack (using materials not available on every planet) that is being used as the default when the platform takes damage. It could also be useful to set the default pack to use quality packs if you've progressed to the point epic or legendary repair packs are cheap.

I could just make a logistics request on every platform to solve this, but I was curious what determines this? (And also would rather avoid accidentally spending a rocket to send up the wrong type of repair pack.)

Thank you for any help or insight.

Edit: After messing around in the mod's files I've determined the default repair pack is based on the item order and uses the first item in that order. Changing the order value for the modded repair pack changed what repair pack was requested by "automatically request materials" once I refreshed the checkbox.
Post Reply

Return to “Modding discussion”