EarendelDevelopers / factorio-mods

This is a public repository for tracking issues with Earendel's factorio mods.
18 stars 3 forks source link

Cannot Modify Spaceship ID #199

Open utdrmac opened 2 years ago

utdrmac commented 2 years ago

I have some logic set up that reads the space ship ID from the console. If < 40 the destination is set to X, if >= 40, destination Y. One of my ships got destroyed and I had to recreate the console. This caused the auto-generated ID to be larger than 40. You cannot change this using the ship console. Attempts to change it only revert it back when you close the box. Please allow this to be change so that certain logics can be used.

InappropriatePenguin commented 2 years ago

I'm not opposed to making spaceship ID modifiable in principle, but I don't know how likely that is to happen. The same ID is used internally to reference the ship in a number of other places, so it's not just a matter of making the text input GUI.

In the mean time, I would suggest treating that ID as a unique text identifier rather than a number. Only equality/inequality can be relied on.