OpenTTD Source: PriceBaseSpec Struct Reference

OpenTTD Source 15.0-RC2

Data Fields
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 197 of file newgrf.h.

## Field Documentation

## ◆ category

PriceCategory PriceBaseSpec::category

Price is affected by certain difficulty settings.

Definition at line 199 of file newgrf.h.

## ◆ fallback_price

Price PriceBaseSpec::fallback_price

Fallback price multiplier for new prices but old grfs.

Definition at line 201 of file newgrf.h.

Referenced by FinalisePriceBaseMultipliers().

## ◆ grf_feature

GrfSpecFeature PriceBaseSpec::grf_feature

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

Definition at line 200 of file newgrf.h.

Referenced by FinalisePriceBaseMultipliers().

## ◆ start_price

Money PriceBaseSpec::start_price

Default value at game start, before adding multipliers.

Definition at line 198 of file newgrf.h.

Referenced by RecomputePrices().

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

- src/newgrf.h