IGLADI / Ethereal-Hyperspace-Battleships

8 stars 0 forks source link

Fix max cargo capacity using module #86

Closed IGLADI closed 8 months ago

IGLADI commented 8 months ago

image

LordTlasT commented 8 months ago

Proabably because the amounts are updated not within add_cargo() function and editing player.ship.modules["Cargo"].resources["Copper"] directly or something alike.

The best way to fix this is by using add_cargo wherever possible and change add_cargo to a setter for the resources property in Cargo