Ejemplo n.º 1
0
Archivo: food.py Proyecto: Azusa257/XIS
from cargo import Cargo

cargo = Cargo(id='food',
              type_name='TTD_STR_CARGO_PLURAL_FOOD',
              unit_name='TTD_STR_CARGO_SINGULAR_FOOD',
              type_abbreviation='TTD_STR_ABBREV_FOOD',
              sprite='NEW_CARGO_SPRITE',
              weight='1.0',
              cargo_payment_list_colour='48',
              is_freight='1',
              cargo_classes='bitmask(CC_REFRIGERATED, CC_EXPRESS)',
              cargo_label='FOOD',
              town_growth_effect='TOWNGROWTH_FOOD',
              town_growth_multiplier='1.0',
              units_of_cargo='94',
              items_of_cargo='TTD_STR_QUANTITY_FOOD',
              penalty_lowerbound='0',
              single_penalty_length='24',
              price_factor='158',
              capacity_multiplier='1',
              icon_indices=(12, 0))
Ejemplo n.º 2
0
from cargo import Cargo

cargo = Cargo(id='pyrite_ore',
              type_name='string(STR_CARGO_NAME_PYRITE_ORE)',
              unit_name='string(STR_CARGO_NAME_PYRITE_ORE)',
              type_abbreviation='string(STR_CID_PYRITE_ORE)',
              sprite='NEW_CARGO_SPRITE',
              weight='1.0',
              cargo_payment_list_colour='62',
              is_freight='1',
              cargo_classes='bitmask(CC_BULK)',
              cargo_label='PORE',
              town_growth_effect='TOWNGROWTH_NONE',
              town_growth_multiplier='1.0',
              units_of_cargo='TTD_STR_TONS',
              items_of_cargo='string(STR_CARGO_UNIT_PYRITE_ORE)',
              penalty_lowerbound='30',
              single_penalty_length='255',
              price_factor='58',
              capacity_multiplier='1',
              icon_indices=(13, 2))
Ejemplo n.º 3
0
from cargo import Cargo

cargo = Cargo(
    id="formic_acid",
    type_name="string(STR_CARGO_NAME_FORMIC_ACID)",
    unit_name="string(STR_CARGO_NAME_FORMIC_ACID)",
    type_abbreviation="string(STR_CID_FORMIC_ACID)",
    sprite="NEW_CARGO_SPRITE",
    weight="1.2",  # extra realism, per forum suggestion Nov 2017
    is_freight="1",
    cargo_classes="bitmask(CC_LIQUID, CC_HAZARDOUS)",
    cargo_label="FORM",
    # apart from TOWNGROWTH_PASSENGERS and TOWNGROWTH_MAIL, FIRS does not set any town growth effects; this has the intended effect of disabling food / water requirements for towns in desert and above snowline
    town_growth_effect="TOWNGROWTH_NONE",
    town_growth_multiplier="1.0",
    units_of_cargo="TTD_STR_LITERS",
    items_of_cargo="string(STR_CARGO_UNIT_FORMIC_ACID)",
    penalty_lowerbound="30",
    single_penalty_length="255",
    price_factor=109,
    capacity_multiplier="1",
    icon_indices=(4, 4),
)
Ejemplo n.º 4
0
from cargo import Cargo

cargo = Cargo(
    id="chlorine",
    type_name="string(STR_CARGO_NAME_CHLORINE)",
    unit_name="string(STR_CARGO_NAME_CHLORINE)",
    type_abbreviation="string(STR_CID_CHLORINE)",
    sprite="NEW_CARGO_SPRITE",
    weight="2.0",
    is_freight="1",
    cargo_classes="bitmask(CC_LIQUID, CC_HAZARDOUS)",
    cargo_label="CHLO",
    town_growth_effect="TOWNGROWTH_NONE",
    town_growth_multiplier="1.0",
    units_of_cargo="TTD_STR_LITERS",
    items_of_cargo="string(STR_CARGO_UNIT_CHLORINE)",
    penalty_lowerbound="20",
    single_penalty_length="40",
    price_factor=115,
    capacity_multiplier="1",
    icon_indices=(2, 4),
)
Ejemplo n.º 5
0
from cargo import Cargo

cargo = Cargo(
    id="nickel",
    type_name="string(STR_CARGO_NAME_NICKEL)",
    unit_name="string(STR_CARGO_NAME_NICKEL)",
    type_abbreviation="string(STR_CID_NICKEL)",
    sprite="NEW_CARGO_SPRITE",
    weight="1.0",
    is_freight="1",
    cargo_classes="bitmask(CC_PIECE_GOODS)",
    cargo_label="NICK",
    # apart from TOWNGROWTH_PASSENGERS and TOWNGROWTH_MAIL, FIRS does not set any town growth effects; this has the intended effect of disabling food / water requirements for towns in desert and above snowline
    town_growth_effect="TOWNGROWTH_NONE",
    town_growth_multiplier="1.0",
    units_of_cargo="TTD_STR_TONS",
    items_of_cargo="string(STR_CARGO_UNIT_NICKEL)",
    penalty_lowerbound="15",
    single_penalty_length="255",
    capacity_multiplier="1",
    price_factor=141,
    icon_indices=(15, 3),
)
Ejemplo n.º 6
0
from cargo import Cargo

cargo = Cargo(
    id="ethylene",
    type_name="string(STR_CARGO_NAME_ETHYLENE)",
    unit_name="string(STR_CARGO_NAME_ETHYLENE)",
    type_abbreviation="string(STR_CID_ETHYLENE)",
    sprite="NEW_CARGO_SPRITE",
    weight="2.0",
    is_freight="1",
    cargo_classes="bitmask(CC_LIQUID, CC_HAZARDOUS)",
    cargo_label="C2H4",
    # apart from TOWNGROWTH_PASSENGERS and TOWNGROWTH_MAIL, FIRS does not set any town growth effects; this has the intended effect of disabling food / water requirements for towns in desert and above snowline
    town_growth_effect="TOWNGROWTH_NONE",
    town_growth_multiplier="1.0",
    units_of_cargo="TTD_STR_LITERS",
    items_of_cargo="string(STR_CARGO_UNIT_ETHYLENE)",
    penalty_lowerbound="20",
    single_penalty_length="40",
    price_factor=157,
    capacity_multiplier="1",
    icon_indices=(2, 4),
)
Ejemplo n.º 7
0
from cargo import Cargo

cargo = Cargo(
    id="nickel",
    type_name="string(STR_CARGO_NAME_NICKEL)",
    unit_name="string(STR_CARGO_NAME_NICKEL)",
    type_abbreviation="string(STR_CID_NICKEL)",
    sprite="NEW_CARGO_SPRITE",
    weight="1.0",
    is_freight="1",
    cargo_classes="bitmask(CC_PIECE_GOODS)",
    cargo_label="NICK",
    town_growth_effect="TOWNGROWTH_NONE",
    town_growth_multiplier="1.0",
    units_of_cargo="TTD_STR_TONS",
    items_of_cargo="string(STR_CARGO_UNIT_NICKEL)",
    penalty_lowerbound="15",
    single_penalty_length="255",
    capacity_multiplier="1",
    price_factor=141,
    icon_indices=(15, 3),
)
Ejemplo n.º 8
0
from cargo import Cargo

cargo = Cargo(id='zinc',
              type_name='string(STR_CARGO_NAME_ZINC)',
              unit_name='string(STR_CARGO_NAME_ZINC)',
              type_abbreviation='string(STR_CID_ZINC)',
              sprite='NEW_CARGO_SPRITE',
              weight='1.0',
              cargo_payment_list_colour='131',
              is_freight='1',
              cargo_classes='bitmask(CC_PIECE_GOODS)',
              cargo_label='ZINC',
              town_growth_effect='TOWNGROWTH_NONE',
              town_growth_multiplier='1.0',
              units_of_cargo='80',
              items_of_cargo='string(STR_CARGO_UNIT_ZINC)',
              penalty_lowerbound='15',
              single_penalty_length='255',
              capacity_multiplier='1',
              price_factor='141',
              icon_indices=(15, 3))
Ejemplo n.º 9
0
from cargo import Cargo

cargo = Cargo(
    id="electrical_parts",
    type_name="string(STR_CARGO_NAME_ELECTRICAL_PARTS)",
    unit_name="string(STR_CARGO_NAME_ELECTRICAL_PARTS)",
    type_abbreviation="string(STR_CID_ELECTRICAL_PARTS)",
    sprite="NEW_CARGO_SPRITE",
    weight="1.0",
    is_freight="1",
    cargo_classes="bitmask(CC_PIECE_GOODS)",
    cargo_label="POWR",
    town_growth_effect="TOWNGROWTH_NONE",
    town_growth_multiplier="1.0",
    units_of_cargo="TTD_STR_TONS",
    items_of_cargo="string(STR_CARGO_UNIT_ELECTRICAL_PARTS)",
    penalty_lowerbound="7",
    single_penalty_length="255",
    price_factor=148,
    capacity_multiplier="1",
    icon_indices=(5, 4),
)
Ejemplo n.º 10
0
from cargo import Cargo

cargo = Cargo(
    id="food_additives",
    type_name="string(STR_CARGO_NAME_FOOD_ADDITIVES)",
    unit_name="string(STR_CARGO_NAME_FOOD_ADDITIVES)",
    type_abbreviation="string(STR_CID_FOOD_ADDITIVES)",
    sprite="NEW_CARGO_SPRITE",
    weight="1.0",
    is_freight="1",
    cargo_classes="bitmask(CC_LIQUID, CC_BULK, CC_PIECE_GOODS)",
    cargo_label="ENUM",  # yes it's a terrible pun on several things at once - LordAro suggested it
    # apart from TOWNGROWTH_PASSENGERS and TOWNGROWTH_MAIL, FIRS does not set any town growth effects; this has the intended effect of disabling food / water requirements for towns in desert and above snowline
    town_growth_effect="TOWNGROWTH_NONE",
    town_growth_multiplier="1.0",
    units_of_cargo="TTD_STR_TONS",
    items_of_cargo="string(STR_CARGO_UNIT_FOOD_ADDITIVES)",
    penalty_lowerbound="20",
    single_penalty_length="255",
    price_factor=117,
    capacity_multiplier="1",
    icon_indices=(10, 1),
)
Ejemplo n.º 11
0
from cargo import Cargo

cargo = Cargo(
    id="chemicals",
    type_name="string(STR_CARGO_NAME_CHEMICALS)",
    unit_name="string(STR_CARGO_NAME_CHEMICALS)",
    type_abbreviation="string(STR_CID_CHEMICALS)",
    sprite="NEW_CARGO_SPRITE",
    weight="1.2",  # extra realism, per forum suggestion Nov 2017
    is_freight="1",
    cargo_classes="bitmask(CC_LIQUID, CC_PIECE_GOODS, CC_HAZARDOUS)",
    cargo_label="RFPR",
    town_growth_effect="TOWNGROWTH_NONE",
    town_growth_multiplier="1.0",
    units_of_cargo="TTD_STR_LITERS",
    items_of_cargo="string(STR_CARGO_UNIT_CHEMICALS)",
    penalty_lowerbound="20",
    single_penalty_length="255",
    price_factor=120,
    capacity_multiplier="1",
    icon_indices=(10, 1),
)
Ejemplo n.º 12
0
from cargo import Cargo

cargo = Cargo(
    id="ferrochrome",
    type_name="string(STR_CARGO_NAME_FERROCHROME)",
    unit_name="string(STR_CARGO_NAME_FERROCHROME)",
    type_abbreviation="string(STR_CID_FERROCHROME)",
    sprite="NEW_CARGO_SPRITE",
    weight="1.0",
    is_freight="1",
    cargo_classes="bitmask(CC_BULK)",
    cargo_label="FECR",
    town_growth_effect="TOWNGROWTH_NONE",
    town_growth_multiplier="1.0",
    units_of_cargo="TTD_STR_TONS",
    items_of_cargo="string(STR_CARGO_UNIT_FERROCHROME)",
    penalty_lowerbound="40",
    single_penalty_length="255",
    capacity_multiplier="1",
    price_factor=106,
    icon_indices=(8, 4),
)
Ejemplo n.º 13
0
from cargo import Cargo

cargo = Cargo(
    id="paints_and_coatings",
    type_name="string(STR_CARGO_NAME_PAINTS_AND_COATINGS)",
    unit_name="string(STR_CARGO_NAME_PAINTS_AND_COATINGS)",
    type_abbreviation="string(STR_CID_PAINTS_AND_COATINGS)",
    sprite="NEW_CARGO_SPRITE",
    weight="1.0",
    is_freight="1",
    cargo_classes="bitmask(CC_LIQUID, CC_PIECE_GOODS)",
    cargo_label="COAT",
    town_growth_effect="TOWNGROWTH_NONE",
    town_growth_multiplier="1.0",
    units_of_cargo="TTD_STR_LITERS",
    items_of_cargo="string(STR_CARGO_UNIT_PAINTS_AND_COATINGS)",
    penalty_lowerbound="20",
    single_penalty_length="255",
    price_factor=158,
    capacity_multiplier="1",
    icon_indices=(5, 5),
)
Ejemplo n.º 14
0
from cargo import Cargo

cargo = Cargo(id='iron_sand',
              type_name='string(STR_CARGO_NAME_IRON_SAND)',
              unit_name='string(STR_CARGO_NAME_IRON_SAND)',
              type_abbreviation='string(STR_CID_IRON_SAND)',
              sprite='NEW_CARGO_SPRITE',
              weight='1.0',
              cargo_payment_list_colour='118',
              is_freight='1',
              cargo_classes='bitmask(CC_BULK)',
              cargo_label='ISND',
              town_growth_effect='TOWNGROWTH_NONE',
              town_growth_multiplier='1.0',
              units_of_cargo='TTD_STR_TONS',
              items_of_cargo='TTD_STR_QUANTITY_IRON_ORE',
              penalty_lowerbound='30',
              single_penalty_length='255',
              price_factor='60',
              capacity_multiplier='1',
              icon_indices=(9, 0))
Ejemplo n.º 15
0
from cargo import Cargo

cargo = Cargo(
    id='livestock',
    type_name='TTD_STR_CARGO_PLURAL_LIVESTOCK',
    unit_name='TTD_STR_CARGO_SINGULAR_LIVESTOCK',
    type_abbreviation='TTD_STR_ABBREV_LIVESTOCK',
    sprite='NEW_CARGO_SPRITE',
    weight=
    '0.1875',  # average weight of a shetland pony apparently (and no we don't eat ponies, but eh)
    cargo_payment_list_colour='75',
    is_freight='1',
    cargo_classes='bitmask(CC_PIECE_GOODS)',
    cargo_label='LVST',
    town_growth_effect='TOWNGROWTH_NONE',
    town_growth_multiplier='1.0',
    units_of_cargo='TTD_STR_ITEMS',
    items_of_cargo='TTD_STR_QUANTITY_LIVESTOCK',
    penalty_lowerbound='0',
    single_penalty_length='16',
    price_factor='123',
    capacity_multiplier='1',
    icon_indices=(4, 0))
Ejemplo n.º 16
0
from cargo import Cargo

cargo = Cargo(
    id='coffee',
    type_name='string(STR_CARGO_NAME_COFFEE)',
    unit_name='string(STR_CARGO_NAME_COFFEE)',
    type_abbreviation='string(STR_CID_COFFEE)',
    sprite='NEW_CARGO_SPRITE',
    weight='0.25',  # IRL coffee is lighter even than this, but eh
    cargo_payment_list_colour='71',
    is_freight='1',
    cargo_classes='bitmask(CC_PIECE_GOODS, CC_EXPRESS)',
    cargo_label='JAVA',
    town_growth_effect='TOWNGROWTH_NONE',
    town_growth_multiplier='1.0',
    units_of_cargo='80',
    items_of_cargo='string(STR_CARGO_UNIT_COFFEE)',
    penalty_lowerbound='0',
    single_penalty_length='26',
    price_factor='150',
    capacity_multiplier='1',
    icon_indices=(4, 2))
Ejemplo n.º 17
0
from cargo import Cargo

cargo = Cargo(id='beans',
              type_name='string(STR_CARGO_NAME_BEANS)',
              unit_name='string(STR_CARGO_NAME_BEANS)',
              type_abbreviation='string(STR_CID_BEANS)',
              sprite='NEW_CARGO_SPRITE',
              weight='1.0',
              cargo_payment_list_colour='92',
              is_freight='1',
              cargo_classes='bitmask(CC_BULK)',
              cargo_label='BEAN',
              town_growth_effect='TOWNGROWTH_NONE',
              town_growth_multiplier='1.0',
              units_of_cargo='TTD_STR_TONS',
              items_of_cargo='string(STR_CARGO_UNIT_BEANS)',
              penalty_lowerbound='4',
              single_penalty_length='40',
              price_factor='115',
              capacity_multiplier='1',
              icon_indices=(6, 2))
Ejemplo n.º 18
0
from cargo import Cargo

cargo = Cargo(
    id="coal_tar",
    type_name="string(STR_CARGO_NAME_COAL_TAR)",
    unit_name="string(STR_CARGO_NAME_COAL_TAR)",
    type_abbreviation="string(STR_CID_COAL_TAR)",
    sprite="NEW_CARGO_SPRITE",
    weight="1.0",
    is_freight="1",
    cargo_classes="bitmask(CC_LIQUID, CC_HAZARDOUS)",
    cargo_label="CTAR",
    town_growth_effect="TOWNGROWTH_NONE",
    town_growth_multiplier="1.0",
    units_of_cargo="TTD_STR_TONS",
    items_of_cargo="string(STR_CARGO_UNIT_COAL_TAR)",
    penalty_lowerbound="64",
    single_penalty_length="255",
    price_factor=
    89,  # IRL coal tar is low value, but for gameplay it is transported in low amounts and needs a bonus
    capacity_multiplier="1",
    icon_indices=(14, 4),
)
Ejemplo n.º 19
0
from cargo import Cargo

cargo = Cargo(
    id="scrap_metal",
    type_name="string(STR_CARGO_NAME_SCRAP_METAL)",
    unit_name="string(STR_CARGO_NAME_SCRAP_METAL)",
    type_abbreviation="string(STR_CID_SCRAP_METAL)",
    sprite="NEW_CARGO_SPRITE",
    weight="1.0",
    is_freight="1",
    cargo_classes="bitmask(CC_BULK, CC_NON_POURABLE)",
    cargo_label="SCMT",
    town_growth_effect="TOWNGROWTH_NONE",
    town_growth_multiplier="1.0",
    units_of_cargo="TTD_STR_TONS",
    items_of_cargo="string(STR_CARGO_UNIT_SCRAP_METAL)",
    penalty_lowerbound="36",
    single_penalty_length="255",
    capacity_multiplier="1",
    price_factor=107,
    icon_indices=(2, 1),
)
Ejemplo n.º 20
0
from cargo import Cargo

cargo = Cargo(
    id='nuts',
    type_name='string(STR_CARGO_NAME_NUTS)',
    unit_name='string(STR_CARGO_NAME_NUTS)',
    type_abbreviation='string(STR_CID_NUTS)',
    sprite='NEW_CARGO_SPRITE',
    weight='0.25',  # IRL sacks of nuts are lighter even than this, but eh
    cargo_payment_list_colour='178',
    is_freight='1',
    cargo_classes='bitmask(CC_PIECE_GOODS)',
    cargo_label='NUTS',
    town_growth_effect='TOWNGROWTH_NONE',
    town_growth_multiplier='1.0',
    units_of_cargo='TTD_STR_BAGS',
    items_of_cargo='string(STR_CARGO_UNIT_NUTS)',
    penalty_lowerbound='4',
    single_penalty_length='40',
    price_factor='116',
    capacity_multiplier='1',
    icon_indices=(12, 2))
Ejemplo n.º 21
0
from cargo import Cargo

cargo = Cargo(
    id="cleaning_agents",
    type_name="string(STR_CARGO_NAME_CLEANING_AGENTS)",
    unit_name="string(STR_CARGO_NAME_CLEANING_AGENTS)",
    type_abbreviation="string(STR_CID_CLEANING_AGENTS)",
    sprite="NEW_CARGO_SPRITE",
    weight="1.0",
    is_freight="1",
    cargo_classes="bitmask(CC_LIQUID, CC_PIECE_GOODS)",
    cargo_label="SOAP",
    town_growth_effect="TOWNGROWTH_NONE",
    town_growth_multiplier="1.0",
    units_of_cargo="TTD_STR_LITERS",
    items_of_cargo="string(STR_CARGO_UNIT_CLEANING_AGENTS)",
    penalty_lowerbound="20",
    single_penalty_length="255",
    price_factor=133,
    capacity_multiplier="1",
    icon_indices=(9, 5),
)
Ejemplo n.º 22
0
from cargo import Cargo

cargo = Cargo(id='building_materials',
              type_name='string(STR_CARGO_NAME_BUILDING_MATERIALS)',
              unit_name='string(STR_CARGO_NAME_BUILDING_MATERIALS)',
              type_abbreviation='string(STR_CID_BUILDING_MATERIALS)',
              sprite='NEW_CARGO_SPRITE',
              weight='1.0',
              cargo_payment_list_colour='44',
              is_freight='1',
              cargo_classes='bitmask(CC_PIECE_GOODS, CC_BULK)',
              cargo_label='BDMT',
              town_growth_effect='TOWNGROWTH_NONE',
              town_growth_multiplier='1.0',
              units_of_cargo='TTD_STR_TONS',
              items_of_cargo='string(STR_CARGO_UNIT_BUILDING_MATERIALS)',
              penalty_lowerbound='12',
              single_penalty_length='255',
              price_factor='146',
              capacity_multiplier='1',
              icon_indices=(1, 1))
Ejemplo n.º 23
0
from cargo import Cargo

cargo = Cargo(
    id="vehicle_bodies",
    type_name="string(STR_CARGO_NAME_VEHICLE_BODIES)",
    unit_name="string(STR_CARGO_NAME_VEHICLE_BODIES)",
    type_abbreviation="string(STR_CID_VEHICLE_BODIES)",
    sprite="NEW_CARGO_SPRITE",
    weight="1.0",
    is_freight="1",
    cargo_classes="bitmask(CC_PIECE_GOODS, CC_OVERSIZED)",
    cargo_label="VBOD",
    town_growth_effect="TOWNGROWTH_NONE",
    town_growth_multiplier="1.0",
    units_of_cargo="TTD_STR_TONS",
    items_of_cargo="string(STR_CARGO_UNIT_VEHICLE_BODIES)",
    penalty_lowerbound="5",
    single_penalty_length="255",
    capacity_multiplier="1",
    price_factor=147,
    icon_indices=(14, 3),
)
Ejemplo n.º 24
0
from cargo import Cargo

cargo = Cargo(
    id='acid',
    type_name='string(STR_CARGO_NAME_ACID)',
    unit_name='string(STR_CARGO_NAME_ACID)',
    type_abbreviation='string(STR_CID_ACID)',
    sprite='NEW_CARGO_SPRITE',
    weight='1.5',  # extra realism, per forum suggestion Nov 2017
    cargo_payment_list_colour='184',
    is_freight='1',
    cargo_classes='bitmask(CC_LIQUID, CC_HAZARDOUS)',
    cargo_label='ACID',
    town_growth_effect='TOWNGROWTH_NONE',
    town_growth_multiplier='1.0',
    units_of_cargo='TTD_STR_LITERS',
    items_of_cargo='string(STR_CARGO_UNIT_ACID)',
    penalty_lowerbound='30',
    single_penalty_length='255',
    price_factor='109',
    capacity_multiplier='1',
    icon_indices=(4, 4))
Ejemplo n.º 25
0
from cargo import Cargo

cargo = Cargo(
    id="wood",
    type_name="TTD_STR_CARGO_PLURAL_WOOD",
    unit_name="TTD_STR_CARGO_SINGULAR_WOOD",
    type_abbreviation="TTD_STR_ABBREV_WOOD",
    sprite="NEW_CARGO_SPRITE",
    weight="1.0",
    is_freight="1",
    cargo_classes="bitmask(CC_PIECE_GOODS)",
    cargo_label="WOOD",
    town_growth_effect="TOWNGROWTH_NONE",
    town_growth_multiplier="1.0",
    units_of_cargo="TTD_STR_TONS",
    items_of_cargo="TTD_STR_QUANTITY_WOOD",
    penalty_lowerbound="24",
    single_penalty_length="255",
    price_factor=104,
    capacity_multiplier="1",
    icon_indices=(8, 0),
)
Ejemplo n.º 26
0
from cargo import Cargo

cargo = Cargo(
    id="coffee",
    type_name="string(STR_CARGO_NAME_COFFEE)",
    unit_name="string(STR_CARGO_NAME_COFFEE)",
    type_abbreviation="string(STR_CID_COFFEE)",
    sprite="NEW_CARGO_SPRITE",
    weight="0.25",  # IRL coffee is lighter even than this, but eh
    is_freight="1",
    cargo_classes="bitmask(CC_PIECE_GOODS, CC_EXPRESS)",
    cargo_label="JAVA",
    town_growth_effect="TOWNGROWTH_NONE",
    town_growth_multiplier="1.0",
    units_of_cargo="TTD_STR_BAGS",
    items_of_cargo="string(STR_CARGO_UNIT_COFFEE)",
    penalty_lowerbound="0",
    single_penalty_length="26",
    price_factor=173,
    capacity_multiplier="1",
    icon_indices=(4, 2),
)
Ejemplo n.º 27
0
from cargo import Cargo

cargo = Cargo(
    id="hydrochloric_acid",
    type_name="string(STR_CARGO_NAME_HYDROCHLORIC_ACID)",
    unit_name="string(STR_CARGO_NAME_HYDROCHLORIC_ACID)",
    type_abbreviation="string(STR_CID_HYDROCHLORIC_ACID)",
    sprite="NEW_CARGO_SPRITE",
    weight="1.5",
    is_freight="1",
    cargo_classes="bitmask(CC_LIQUID, CC_HAZARDOUS)",
    cargo_label="HYAC",
    town_growth_effect="TOWNGROWTH_NONE",
    town_growth_multiplier="1.0",
    units_of_cargo="TTD_STR_LITERS",
    items_of_cargo="string(STR_CARGO_UNIT_HYDROCHLORIC_ACID)",
    penalty_lowerbound="24",
    single_penalty_length="48",
    price_factor=109,
    capacity_multiplier="1",
    icon_indices=(4, 4),
)
Ejemplo n.º 28
0
from cargo import Cargo

cargo = Cargo(
    id='alcohol',
    type_name='string(STR_CARGO_NAME_ALCOHOL)',
    unit_name='string(STR_CARGO_NAME_ALCOHOL)',
    type_abbreviation='string(STR_CID_ALCOHOL)',
    sprite='NEW_CARGO_SPRITE',
    weight=
    '1.1',  # such realism - I looked up the weight of 1L of beer, heavier than water :P
    cargo_payment_list_colour='180',
    is_freight='1',
    cargo_classes='bitmask(CC_EXPRESS, CC_PIECE_GOODS, CC_LIQUID)',
    cargo_label='BEER',
    town_growth_effect='TOWNGROWTH_NONE',
    town_growth_multiplier='1.0',
    units_of_cargo='TTD_STR_LITERS',
    items_of_cargo='string(STR_CARGO_UNIT_ALCOHOL)',
    penalty_lowerbound='10',
    single_penalty_length='128',
    price_factor='160',
    capacity_multiplier='1',
    icon_indices=(7, 0))
Ejemplo n.º 29
0
from cargo import Cargo

cargo = Cargo(
    id="urea",
    type_name="string(STR_CARGO_NAME_UREA)",
    unit_name="string(STR_CARGO_NAME_UREA)",
    type_abbreviation="string(STR_CID_UREA)",
    sprite="NEW_CARGO_SPRITE",
    weight="1.0",
    is_freight="1",
    cargo_classes="bitmask(CC_LIQUID, CC_BULK)",
    cargo_label="UREA",
    town_growth_effect="TOWNGROWTH_NONE",
    town_growth_multiplier="1.0",
    units_of_cargo="TTD_STR_LITERS",
    items_of_cargo="string(STR_CARGO_UNIT_UREA)",
    penalty_lowerbound="20",
    single_penalty_length="255",
    price_factor=117,
    capacity_multiplier="1",
    icon_indices=(10, 1),
)
Ejemplo n.º 30
0
from cargo import Cargo

cargo = Cargo(
    id="sand",
    type_name="string(STR_CARGO_NAME_SAND)",
    unit_name="string(STR_CARGO_NAME_SAND)",
    type_abbreviation="string(STR_CID_SAND)",
    sprite="NEW_CARGO_SPRITE",
    weight="1.0",
    is_freight="1",
    cargo_classes="bitmask(CC_BULK)",
    cargo_label="SAND",
    town_growth_effect="TOWNGROWTH_NONE",
    town_growth_multiplier="1.0",
    units_of_cargo="TTD_STR_TONS",
    items_of_cargo="string(STR_CARGO_UNIT_SAND)",
    penalty_lowerbound="64",
    single_penalty_length="255",
    capacity_multiplier="1",
    price_factor=59,
    icon_indices=(0, 1),
)