Feature #2977

town variables

Added by Hirundo over 2 years ago. Updated over 2 years ago.

Status:ClosedStart date:2011-08-16
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:-
Target version:0.2.0

Description

accessed as 'related object' of station/house/industry

Associated revisions

Revision 1664:e2d91543fd9a
Added by yexo over 2 years ago

Feature #2977: support for town variables

Revision 1664:e2d91543fd9a
Added by yexo over 2 years ago

Feature #2977: support for town variables

History

#1 Updated by Hirundo over 2 years ago

  • Target version set to 0.2.0

needed for FIRS / other industry projects

#2 Updated by yexo over 2 years ago

I'm really wondering which variables we should support. We should support the following:
  • 82: population
  • B6: number of houses
  • 92: flags (allows to check for church/stadium present)
  • 94..9C: square of town raddi
I have my doubts about these:
  • 40: is this useful at all? In OpenTTD it just returns the "is city" state, from the description it looks like that in TTDPatch is has a different meaning
  • B2: check which companies have a statue
  • CA/CB: percent passengers/mail transported
  • CC..D3: variables about food/water delivered

Anything not listed here we should not support at all.

#3 Updated by yexo over 2 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF