Callback: Trigger building destruction

From GRFSpecs
Jump to navigationJump to search

Trigger building destruction (21)

Called periodically, in a time interval specified by property 16. Return 0 to do nothing, or 1 to remove the building from the map as if the town decided to destroy it. You can use this for example to remove a historical building, since those cannot be normally removed by towns.

GRFv≤7 Note that GRF versions 7 and lower only distinguished zero and non-zero return values.