Skip to content

Commit

Permalink
Set attributes for all cargos
Browse files Browse the repository at this point in the history
  • Loading branch information
ahyangyi committed Nov 12, 2023
1 parent 2362096 commit 39d3e52
Show file tree
Hide file tree
Showing 43 changed files with 131 additions and 1 deletion.
1 change: 1 addition & 0 deletions industry/cargos/alcohol.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
grf.CargoClass.EXPRESS | grf.CargoClass.PIECE_GOODS | grf.CargoClass.LIQUID,
weight=17,
units_text=CargoUnit.LITRE,
is_freight=1,
penalty1=9,
penalty2=36,
base_price=166,
Expand Down
1 change: 1 addition & 0 deletions industry/cargos/ammonia.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
grf.CargoClass.LIQUID | grf.CargoClass.HAZARDOUS,
weight=10,
units_text=CargoUnit.LITRE,
is_freight=1,
penalty1=32,
penalty2=64,
base_price=109,
Expand Down
1 change: 1 addition & 0 deletions industry/cargos/building_materials.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
b"BDMT",
grf.CargoClass.BULK | grf.CargoClass.PIECE_GOODS,
units_text=CargoUnit.CRATE,
is_freight=1,
penalty1=12,
penalty2=255,
base_price=133,
Expand Down
1 change: 1 addition & 0 deletions industry/cargos/chemicals.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
grf.CargoClass.LIQUID | grf.CargoClass.PIECE_GOODS | grf.CargoClass.HAZARDOUS,
weight=19,
units_text=CargoUnit.LITRE,
is_freight=1,
penalty1=20,
penalty2=255,
base_price=115,
Expand Down
1 change: 1 addition & 0 deletions industry/cargos/china_clay.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
b"KAOL",
grf.CargoClass.BULK | grf.CargoClass.LIQUID | grf.CargoClass.COVERED,
units_text=CargoUnit.TONNE,
is_freight=1,
penalty1=30,
penalty2=255,
base_price=100,
Expand Down
1 change: 1 addition & 0 deletions industry/cargos/coal.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
b"COAL",
grf.CargoClass.BULK,
units_text=CargoUnit.TONNE,
is_freight=1,
penalty1=40,
penalty2=255,
base_price=86,
Expand Down
1 change: 1 addition & 0 deletions industry/cargos/copper_ore.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
b"CORE",
grf.CargoClass.BULK,
units_text=CargoUnit.TONNE,
is_freight=1,
penalty1=30,
penalty2=255,
base_price=89,
Expand Down
1 change: 1 addition & 0 deletions industry/cargos/diamonds.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
grf.CargoClass.ARMOURED,
weight=2,
units_text=CargoUnit.BAG,
is_freight=1,
penalty1=30,
penalty2=255,
base_price=162,
Expand Down
1 change: 1 addition & 0 deletions industry/cargos/engineering_supplies.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
b"ENSP",
grf.CargoClass.EXPRESS | grf.CargoClass.PIECE_GOODS,
units_text=CargoUnit.CRATE,
is_freight=1,
penalty1=2,
penalty2=32,
base_price=172,
Expand Down
1 change: 1 addition & 0 deletions industry/cargos/explosives.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
grf.CargoClass.EXPRESS | grf.CargoClass.PIECE_GOODS,
weight=4,
units_text=CargoUnit.CRATE,
is_freight=1,
penalty1=6,
penalty2=42,
base_price=158,
Expand Down
1 change: 1 addition & 0 deletions industry/cargos/farm_supplies.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
grf.CargoClass.EXPRESS | grf.CargoClass.PIECE_GOODS,
weight=10,
units_text=CargoUnit.CRATE,
is_freight=1,
penalty1=2,
penalty2=32,
base_price=170,
Expand Down
1 change: 1 addition & 0 deletions industry/cargos/fertiliser.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
b"FERT",
grf.CargoClass.EXPRESS | grf.CargoClass.PIECE_GOODS,
units_text=CargoUnit.TONNE,
is_freight=1,
penalty1=22,
penalty2=44,
base_price=123,
Expand Down
1 change: 1 addition & 0 deletions industry/cargos/fish.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
b"FISH",
grf.CargoClass.EXPRESS | grf.CargoClass.REFRIGERATED,
units_text=CargoUnit.TONNE,
is_freight=1,
penalty1=0,
penalty2=18,
base_price=134,
Expand Down
4 changes: 4 additions & 0 deletions industry/cargos/food.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@
b"FOOD",
grf.CargoClass.EXPRESS | grf.CargoClass.REFRIGERATED,
units_text=CargoUnit.TONNE,
is_freight=1,
penalty1=0,
penalty2=20,
base_price=168,
)
4 changes: 4 additions & 0 deletions industry/cargos/fruit.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@
b"FRUT",
grf.CargoClass.BULK | grf.CargoClass.REFRIGERATED,
units_text=CargoUnit.TONNE,
is_freight=1,
penalty1=0,
penalty2=26,
base_price=124,
)
4 changes: 4 additions & 0 deletions industry/cargos/gold.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,8 @@
grf.CargoClass.ARMOURED,
weight=8,
units_text=CargoUnit.BAG,
is_freight=1,
penalty1=30,
penalty2=255,
base_price=152,
)
4 changes: 4 additions & 0 deletions industry/cargos/goods.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,8 @@
capacity_multiplier=0x200,
weight=8,
units_text=CargoUnit.CRATE,
is_freight=1,
penalty1=10,
penalty2=56,
base_price=163,
)
4 changes: 4 additions & 0 deletions industry/cargos/grain.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@
b"GRAI",
grf.CargoClass.BULK,
units_text=CargoUnit.TONNE,
is_freight=1,
penalty1=4,
penalty2=40,
base_price=114,
)
4 changes: 4 additions & 0 deletions industry/cargos/iron_ore.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@
b"IORE",
grf.CargoClass.BULK,
units_text=CargoUnit.TONNE,
is_freight=1,
penalty1=40,
penalty2=255,
base_price=90,
)
4 changes: 4 additions & 0 deletions industry/cargos/livestock.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,8 @@
grf.CargoClass.PIECE_GOODS,
weight=3,
units_text=CargoUnit.ITEM,
is_freight=1,
penalty1=0,
penalty2=15,
base_price=122,
)
4 changes: 4 additions & 0 deletions industry/cargos/mail.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,8 @@
capacity_multiplier=0x200,
weight=4,
units_text=CargoUnit.BAG,
is_freight=0,
penalty1=6,
penalty2=24,
base_price=167,
)
4 changes: 4 additions & 0 deletions industry/cargos/maize.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@
b"MAIZ",
grf.CargoClass.BULK,
units_text=CargoUnit.TONNE,
is_freight=1,
penalty1=4,
penalty2=40,
base_price=111,
)
4 changes: 4 additions & 0 deletions industry/cargos/milk.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,8 @@
grf.CargoClass.EXPRESS | grf.CargoClass.LIQUID | grf.CargoClass.REFRIGERATED,
weight=18,
units_text=CargoUnit.LITRE,
is_freight=1,
penalty1=0,
penalty2=16,
base_price=131,
)
4 changes: 4 additions & 0 deletions industry/cargos/oil.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,8 @@
grf.CargoClass.LIQUID,
weight=14,
units_text=CargoUnit.LITRE,
is_freight=1,
penalty1=30,
penalty2=255,
base_price=101,
)
4 changes: 4 additions & 0 deletions industry/cargos/paper.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@
b"PAPR",
grf.CargoClass.PIECE_GOODS,
units_text=CargoUnit.TONNE,
is_freight=1,
penalty1=12,
penalty2=60,
base_price=143,
)
3 changes: 2 additions & 1 deletion industry/cargos/passengers.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
capacity_multiplier=0x400,
weight=1,
units_text=CargoUnit.PASSENGER,
is_freight=0,
penalty1=0,
penalty2=22,
base_price=46,
base_price=137,
)
4 changes: 4 additions & 0 deletions industry/cargos/peat.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@
b"PEAT",
grf.CargoClass.BULK,
units_text=CargoUnit.TONNE,
is_freight=1,
penalty1=30,
penalty2=255,
base_price=89,
)
4 changes: 4 additions & 0 deletions industry/cargos/phosphate.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@
b"PHOS",
grf.CargoClass.BULK,
units_text=CargoUnit.TONNE,
is_freight=1,
penalty1=30,
penalty2=255,
base_price=99,
)
4 changes: 4 additions & 0 deletions industry/cargos/potash.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@
b"POTA",
grf.CargoClass.BULK | grf.CargoClass.COVERED,
units_text=CargoUnit.TONNE,
is_freight=1,
penalty1=30,
penalty2=255,
base_price=102,
)
4 changes: 4 additions & 0 deletions industry/cargos/pyrite_ore.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@
b"PORE",
grf.CargoClass.BULK,
units_text=CargoUnit.TONNE,
is_freight=1,
penalty1=30,
penalty2=255,
base_price=87,
)
4 changes: 4 additions & 0 deletions industry/cargos/rubber.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@
b"RUBR",
grf.CargoClass.LIQUID,
units_text=CargoUnit.LITRE,
is_freight=1,
penalty1=10,
penalty2=36,
base_price=110,
)
4 changes: 4 additions & 0 deletions industry/cargos/sand.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@
b"SAND",
grf.CargoClass.BULK,
units_text=CargoUnit.TONNE,
is_freight=1,
penalty1=64,
penalty2=255,
base_price=93,
)
4 changes: 4 additions & 0 deletions industry/cargos/scrap_metal.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@
b"SCMT",
grf.CargoClass.BULK | grf.CargoClass.NON_POURABLE,
units_text=CargoUnit.TONNE,
is_freight=1,
penalty1=36,
penalty2=255,
base_price=107,
)
4 changes: 4 additions & 0 deletions industry/cargos/steel.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@
b"STEL",
grf.CargoClass.PIECE_GOODS,
units_text=CargoUnit.TONNE,
is_freight=1,
penalty1=14,
penalty2=255,
base_price=127,
)
4 changes: 4 additions & 0 deletions industry/cargos/sulphur.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@
b"SULP",
grf.CargoClass.BULK | grf.CargoClass.LIQUID | grf.CargoClass.COVERED,
units_text=CargoUnit.TONNE,
is_freight=1,
penalty1=30,
penalty2=255,
base_price=105,
)
4 changes: 4 additions & 0 deletions industry/cargos/timber.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@
b"WDPR",
grf.CargoClass.BULK | grf.CargoClass.PIECE_GOODS,
units_text=CargoUnit.TONNE,
is_freight=1,
penalty1=18,
penalty2=255,
base_price=117,
)
4 changes: 4 additions & 0 deletions industry/cargos/tired_workers.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,8 @@
capacity_multiplier=0x400,
weight=1,
units_text=CargoUnit.PASSENGER,
is_freight=0,
penalty1=0,
penalty2=18,
base_price=96,
)
4 changes: 4 additions & 0 deletions industry/cargos/valuables.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,8 @@
grf.CargoClass.ARMOURED,
weight=2,
units_text=CargoUnit.BAG,
is_freight=1,
penalty1=1,
penalty2=48,
base_price=178,
)
4 changes: 4 additions & 0 deletions industry/cargos/water.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@
b"WATR",
grf.CargoClass.LIQUID,
units_text=CargoUnit.LITRE,
is_freight=1,
penalty1=20,
penalty2=80,
base_price=93,
)
4 changes: 4 additions & 0 deletions industry/cargos/wheat.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@
b"WHEA",
grf.CargoClass.BULK,
units_text=CargoUnit.TONNE,
is_freight=1,
penalty1=4,
penalty2=40,
base_price=112,
)
4 changes: 4 additions & 0 deletions industry/cargos/wood.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@
b"WOOD",
grf.CargoClass.PIECE_GOODS,
units_text=CargoUnit.TONNE,
is_freight=1,
penalty1=24,
penalty2=255,
base_price=104,
)
4 changes: 4 additions & 0 deletions industry/cargos/workers.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,8 @@
capacity_multiplier=0x400,
weight=1,
units_text=CargoUnit.PASSENGER,
is_freight=0,
penalty1=0,
penalty2=16,
base_price=104,
)
4 changes: 4 additions & 0 deletions industry/cargos/zinc.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@
b"ZINC",
grf.CargoClass.PIECE_GOODS,
units_text=CargoUnit.TONNE,
is_freight=1,
penalty1=12,
penalty2=255,
base_price=126,
)

0 comments on commit 39d3e52

Please sign in to comment.