OpenTTD Source 20260421-master-gc2fbc6fdeb
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, GrfSpecFeature::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 209 of file newgrf.h.

Field Documentation

◆ category

PriceCategory PriceBaseSpec::category

Price is affected by certain difficulty settings.

Definition at line 211 of file newgrf.h.

◆ fallback_price

Price PriceBaseSpec::fallback_price

Fallback price multiplier for new prices but old grfs.

Definition at line 213 of file newgrf.h.

◆ grf_feature

GrfSpecFeature PriceBaseSpec::grf_feature

GRF Feature that decides whether price multipliers apply locally or globally, GrfSpecFeature::End if none.

Definition at line 212 of file newgrf.h.

◆ start_price

Money PriceBaseSpec::start_price

Default value at game start, before adding multipliers.

Definition at line 210 of file newgrf.h.


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