I have a grf with a standard cargo translation table:
Code: Select all
//Define the cargo translation table
cargotable {
PASS, //Passengers (pressurised) Passengers & Covered (fallback to Covered instead of Pressurised)
PRGD, //Pressurised goods Piece goods & Covered
GOOD, //General goods Piece goods
FOOD, //Food Refrigerated & Covered
ENSP, //Engineering supplies/machinery Piece goods
ORGN, //Organics Bulk
FERT, //Fertiliser Liquid
PLAS, //Plastic Piece goods
CPNT, //Components Piece goods
N2__, //Nitrogen Liquid (fallback to Liquid instead of Gas)
O2__, //Oxygen Liquid (fallback to Liquid instead of Gas)
H2__, //Hydrogen Liquid (fallback to Liquid instead of Gas)
CHEM, //Chemicals Liquid & Hazardous
ORES, //Mixed ores Bulk
WATR, //Water Liquid
RGTH, //Regolith Bulk
}
Code: Select all
//Disable all default vehicles
disable_item(FEAT_AIRCRAFT, 0, 41);
Code: Select all
//Aircraft 1
spriteset (spriteset_DIRI_1, "../graphics/Vehicles/Blender_Aircraft/Dirigible_1/combined_8bpp.png") {
template_blender_aircraft(0, 0)
}
item(FEAT_AIRCRAFT, item_DIRI_1) {
property {
name: string(STR_NAME_DIRI_1);
climates_available: ALL_CLIMATES;
introduction_date: date(1938, 01, 01);
model_life: 20;
retire_early: 0;
reliability_decay: 20;
cost_factor: 9;
running_cost_factor: 69;
sprite_id: SPRITE_ID_NEW_AIRCRAFT;
speed: 283 km/h;
acceleration: 6;
passenger_capacity: 200;
mail_capacity: 20;
refit_cost: 0;
//running_//cost_base: PR_RUNNING_AIRCRAFT;
//cost_base: PF_BUILD_VEHICLE_AIRCRAFT;
range: 0;
aircraft_type: AIRCRAFT_TYPE_SMALL;
misc_flags: bitmask(TRAIN_FLAG_2CC);
}
graphics {
default: spriteset_DIRI_1;
}
}