How do we test for a trumble in 1.74?
playerShip.equipmentStatus("EQ_TRUMBLE") doesn't work and throws an exception. awardEquipment("EQ_TRUMBLE") throws the same exception, by the way. I guess the reason is that there is no (now compulsory) equipment.plist entry for a trumble. It seems that trumbles need some special attention among the equipment items. Or are there new methods to deal with them directly? But I didn't see anything in the release notes or on the Wiki.
Now that all equipment can receive damage there is also the question what happens to a trumble if it gets damaged during a fight? So would it probably be the best to not treat trumbles as equipment anymore, but make them a special case?
1.74: EQ_TRUMBLE
Moderators: winston, another_commander, Getafix
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
awardEquipment is already semi-fixed in trunk. equipmentStatus is not, but will be.
E-mail: [email protected]