You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OpenTTD-patches/src/table
Peter Nelson 17d02ed45f
Feature: NewGRF properties to set town production effect and multiplier. (#11947)
Town production effect is modelled on town acceptance (growth) effect, and so takes an original cargo slot for behaviour instead of a direct value.

NewGRF feature 0x0B, property 0x1E, takes 1 byte.

Valid values are:
- 0x00 to behave like passengers
- 0x02 to behave like mail
- 0xFF to behave like other cargo (i.e. not produced.)

If not set, town production effect is set based on the cargo label ('PASS' or 'MAIL').

Town production multiplier allows adjusting the amount of cargo produces when Town Production Effect is set, without needing to use callbacks.

NewGRF feature 0x0B (cargo), property 0x1F, accepts a 2 byte (word) value, similar to the cargo capacity multiplier property. The default value is 256 which means 100%, i.e. normal rate.
5 months ago
..
settings Change: [Script] replace easy/medium/hard values with default value (#11959) 5 months ago
CMakeLists.txt
airport_defaults.h Codechange: Move date consts and functions to CalendarTime and TimerGameCalendar classes 10 months ago
airport_movement.h Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 11 months ago
airporttile_ids.h
airporttiles.h
animcursors.h
autorail.h
bridge_land.h
build_industry.h Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 11 months ago
cargo_const.h Feature: NewGRF properties to set town production effect and multiplier. (#11947) 5 months ago
clear_land.h
control_codes.h Codechange: Remove TKM string code. 5 months ago
elrail_data.h Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 11 months ago
engines.h Feature: [NewGRF] Allow higher max speeds for ships 5 months ago
genland.h
heightmap_colours.h Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 11 months ago
industry_land.h
landscape_sprite.h
newgrf_debug_data.h Add: Station variable 6B to get extended station id of nearby tiles (#10953) 5 months ago
object_land.h Codechange: Move date consts and functions to CalendarTime and TimerGameCalendar classes 10 months ago
opengl_shader.h Cleanup: Remove svn-style `$Id$` comments. (#10122) 2 years ago
palette_convert.h
palettes.h
pricebase.h
railtypes.h Codechange: Reword rail/road type label constants (#11451) 8 months ago
road_land.h Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 11 months ago
roadtypes.h Codechange: Reword rail/road type label constants (#11451) 8 months ago
roadveh_movement.h
settings.h.postamble
settings.h.preamble Codechange: Remove TKM from settings texts. 5 months ago
sprites.h Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 11 months ago
station_land.h Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 11 months ago
strgen_tables.h Fix #11907: Allow genders for time related {UNITS_XXX} (#11908) 5 months ago
string_colours.h
town_land.h Codechange: Store Colours in Colours type. (#11625) 5 months ago
townname.h Codechange: remove all u8 prefix in favour of compile-time option (#11807) 5 months ago
track_land.h Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 11 months ago
train_sprites.h
tree_land.h Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 11 months ago
unicode.h Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 11 months ago
water_land.h Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 11 months ago