you add incompatible_with_equipment
in the same dictionary <dict>
Example
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<array>
<integer>0</integer>
<integer>488500</integer>
<string>LARGE</string>
<string>EQ_DUM</string>
<string>its the DUM DUM Equipment</string>
<dict>
<key>available_to_all</key>
<true/>
</dict>
</array>
<array>
<integer>0</integer>
<integer>5000</integer>
<string>BIGBIG</string>
<string>EQ_TESTING</string>
<string>the blah blah</string>
<dict>
<key>available_to_all</key>
<true/>
<key>requires_equipment</key>
<string>EQ_DUM</string>
</dict>
</array>
</array>
</plist>
here is the code that will work
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<array>
<integer>0</integer>
<integer>488500</integer>
<string>LARGE</string>
<string>EQ_DUM</string>
<string>its the DUM DUM Equipment</string>
<dict>
<key>available_to_all</key>
<true/>
</dict>
</array>
<array>
<integer>0</integer>
<integer>5000</integer>
<string>BIGBIG</string>
<string>EQ_TESTING</string>
<string>the blah blah</string>
<dict>
<key>available_to_all</key>
<true/>
<key>requires_equipment</key>
<string>EQ_DUM</string>
<key>incompatible_with_equipment</key>
<string>EQ_DUMMY</string>
</dict>
</array>
</array>
</plist>
This is clearly unexpected behaviour...