It's nothing very big, but the "<key>requires_cargo_space</key>" option for the equipment.plist is referring - game-internally - to the free cargo capacity and not the complete cargo capacity of the ship.
I noticed because I play with scripted equipment that should only be buyable from a certain ship size onwards. The scripted equipment stops working when the cargo hold is full enough so that the "required cargo space" is no longer free.
I would find it more logical if that variable wouldn't concern itself with free cargo capacity, but the actual cargo capacity.
Don't know what anyone else thinks.
"requires_cargo_space" - minor nitpick
Moderators: winston, another_commander, Getafix
Re: "requires_cargo_space" - minor nitpick
For me it's more logical that it takes the free capacity.Lestradae wrote:I would find it more logical if that variable wouldn't concern itself with free cargo capacity, but the actual cargo capacity.
You can always set missionVariables, based on the ships properties to achieve what you want.
Re: "requires_cargo_space" - minor nitpick
Like I can not install a passenger berth when I do not have free space worth 5 tons ?Lestradae wrote:It's nothing very big, but the "<key>requires_cargo_space</key>" option for the equipment.plist is referring - game-internally - to the free cargo capacity and not the complete cargo capacity of the ship.
I noticed because I play with scripted equipment that should only be buyable from a certain ship size onwards. The scripted equipment stops working when the cargo hold is full enough so that the "required cargo space" is no longer free.
I can not see how this is not logical ?
- Lestradae
- ---- E L I T E ----
- Posts: 3095
- Joined: Tue Apr 17, 2007 10:30 pm
- Location: Vienna, Austria
Re: "requires_cargo_space" - minor nitpick
Yeah you're right ... I didn't think of that. Obvious in retrospectsnork wrote:Like I can not install a passenger berth when I do not have free space worth 5 tons ? I can not see how this is not logical ?
Well, I don't dare to attempt a feature request for "my" option atm