1.) Does anyone know, if I want a piece of equipment to be only available to be bought if the player`s ship has a certain weapons energy or higher, how to do this with the conditions key in the equipment.plist?
1.) Does anyone know, if I want a piece of equipment to be only available to be bought if the player`s ship has a certain weapons energy or higher, how to do this with the conditions key in the equipment.plist?
If not, how then, or is it even possible to set such a condition?
Like Svengali said, not possible. Via conditions in equipment.plist (or in any legacy-script) only the states available to legacy scripts can be queried, and the list of these states is unfortunately brief. You find it in the Querying states section of the legacy-methods documentation. If a whatever_number is not mentioned there, you can't use it.
Lestradae wrote:
2.) I want to create a new equipment item that reduces the hyperspace_motor_spin_time of a ship to a certain value. How do I do that?
Also not possible. Hyperspace_motor_spin_time is set once and for all in shipdata.plist. You cannot change it from a script. This would require to make it a read/write JS-property, preferably of PlayerShip, which it doesn't yet seem to be.