availability of equipment depending on other equipment?
Posted: Thu May 22, 2008 7:07 am
This has probably been asked and answered before, but I don't recall:
Is it possible in equipment.plist, to make the availability of one item dependent on whether the player has installed another item?
Usually an equipment.plist-entry looks like this:
In the conditions-part there can be some other stuff as well, like
or
or
or
or
These are all examples taken from the built-in equipment.plist, because unfortunately there is no documentation in the wiki (a page about equipment.plist is still missing).
What I want to know is whether there is something like
and what the syntax would be (this one doesn't work; have tested it).
Thanks for any enlightenment!
Is it possible in equipment.plist, to make the availability of one item dependent on whether the player has installed another item?
Usually an equipment.plist-entry looks like this:
Code: Select all
<array>
<integer>0</integer> //TechLevel
<integer>2</integer> //price
<string>Fuel</string> //name
<string>EQ_FUEL</string> //identifier
<string>Fuel for the witchspace engines.</string> //display text
<dict> //conditions
<key>available_to_all</key>
<true/>
</dict>
</array>
Code: Select all
<key>portable_between_ships</key>
<true/>
Code: Select all
<key>requires_empty_pylon</key>
<true/>
Code: Select all
<key>requires_mounted_pylon</key>
<true/>
Code: Select all
<key>requires_cargo_space</key>
<integer>5</integer>
Code: Select all
<key>incompatible_with_equipment</key>
<string>EQ_NAVAL_ENERGY_UNIT</string>
What I want to know is whether there is something like
Code: Select all
<key>requires_equipment</key>
<string>EQ_GAL_DRIVE</string>
Thanks for any enlightenment!