equipment.plist questions
Posted: Tue Dec 02, 2008 10:52 pm
Two questions ...
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?
Would do it somewhat like this:
... actually work ingame?
If not, how then, or is it even possible to set such a condition?
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?
L
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?
Would do it somewhat like this:
Code: Select all
<dict>
<key>available_to_all</key>
<true/>
<key>conditions</key>
<array>
<string>weapon_energy greaterthan 100</string>
</array>
</dict>
If not, how then, or is it even possible to set such a condition?
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?
L