OpenTTD Source 20260206-master-g4d4e37dbf1
PriceBaseSpec Struct Reference

Describes properties of price bases. More...

#include <newgrf.h>

Data Fields

Money start_price
 Default value at game start, before adding multipliers.
PriceCategory category
 Price is affected by certain difficulty settings.
GrfSpecFeature grf_feature
 GRF Feature that decides whether price multipliers apply locally or globally, GSF_END if none.
Price fallback_price
 Fallback price multiplier for new prices but old grfs.

Detailed Description

Describes properties of price bases.

Definition at line 201 of file newgrf.h.

Field Documentation

◆ category

PriceCategory PriceBaseSpec::category

Price is affected by certain difficulty settings.

Definition at line 203 of file newgrf.h.

◆ fallback_price

Price PriceBaseSpec::fallback_price

Fallback price multiplier for new prices but old grfs.

Definition at line 205 of file newgrf.h.

◆ grf_feature

GrfSpecFeature PriceBaseSpec::grf_feature

GRF Feature that decides whether price multipliers apply locally or globally, GSF_END if none.

Definition at line 204 of file newgrf.h.

◆ start_price

Money PriceBaseSpec::start_price

Default value at game start, before adding multipliers.

Definition at line 202 of file newgrf.h.


The documentation for this struct was generated from the following file: