Skip to content

Commit

Permalink
(Aegis) fix cargo list
Browse files Browse the repository at this point in the history
  • Loading branch information
ahyangyi committed Nov 13, 2023
1 parent e14f479 commit 84aee77
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions industry/lib/cargo.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,15 @@ def __repr__(self):

def name(self, string_manager, lang_id=0x7F):
return get_translation(string_manager[f"STR_CARGO_NAME_{self.label.decode()}"], 0x7F)

@property
def penalty1(self):
return self._props["penalty1"]

@property
def penalty2(self):
return self._props["penalty2"]

@property
def base_price(self):
return self._props["base_price"]

0 comments on commit 84aee77

Please sign in to comment.