Line 578: |
Line 578: |
| conmat = self._remodel_construction_material or false, | | conmat = self._remodel_construction_material or false, |
| screw = self._remodel_screw or false, | | screw = self._remodel_screw or false, |
| + | } |
| + | end |
| + | |
| + | function ShipData:all_remodel_cost() |
| + | return { |
| + | ammo = self._remodel_ammo, |
| + | steel = self._remodel_steel, |
| + | devmat = self._remodel_development_material, |
| + | conmat = self._remodel_construction_material or false, |
| + | screw = self._remodel_screw or false, |
| + | blueprint = self._remodel_blueprint, |
| + | catapult = self._remodel_catapult, |
| + | report = self._remodel_report or false, |
| + | gunmat = self._remodel_gunmat or false, |
| + | airmat = self._remodel_airmat or false, |
| + | armament = self._remodel_armament or false, |
| } | | } |
| end | | end |
Line 630: |
Line 646: |
| conmat = self._remodel_to_construction_material or false, | | conmat = self._remodel_to_construction_material or false, |
| screw = self._remodel_to_screw or false, | | screw = self._remodel_to_screw or false, |
| + | } |
| + | end |
| + | |
| + | function ShipData:all_remodel_to_cost() |
| + | return { |
| + | ammo = self._remodel_to_ammo, |
| + | steel = self._remodel_to_steel, |
| + | devmat = self._remodel_to_development_material, |
| + | conmat = self._remodel_to_construction_material or false, |
| + | screw = self._remodel_to_screw or false, |
| + | blueprint = self._remodel_to_blueprint, |
| + | catapult = self._remodel_to_catapult, |
| + | report = self._remodel_to_report or false, |
| + | gunmat = self._remodel_to_gunmat or false, |
| + | airmat = self._remodel_to_airmat or false, |
| + | armament = self._remodel_to_armament or false, |
| } | | } |
| end | | end |