Template:Callback

From GRFSpecs
Revision as of 20:48, 16 June 2011 by Frosch (talk | contribs) (shuffle examples)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Usage

Example 1

{{Callback
|features=vehicles
|purchase=not called
|result=capacity (not subject to any further multipliers)
|failure=use callback 36 resp. properties
}}
Features vehicles
Purchase list not called
Variable 10 undefined
Variable 18 undefined
Result capacity (not subject to any further multipliers)
Fail result means use callback 36 resp. properties


Example 2: Additional lines

{{Callback
|features=houses (1B), industy tiles (25)
|result=
Format: <tt>SSAA</tt>
*<tt>SS</tt>: sound effect
*<tt>AA</tt>: animation stage
|failure=stay in current frame
|other=
{{!}}-
{{!}}'''Variable 100'''{{!!}}additional result
{{!}}-
{{!}}'''Variable 101 - 105'''{{!!}}text stack
}}
Features houses (1B), industy tiles (25)
Purchase list -
Variable 10 undefined
Variable 18 undefined
Result Format: SSAA
  • SS: sound effect
  • AA: animation stage
Fail result means stay in current frame
Variable 100 additional result
Variable 101 - 105 text stack