Callback: Disable autosloping

From GRFSpecs
Revision as of 21:18, 25 November 2026 by Pikkabird (talk | contribs) (→Disable autosloping (3C/14F/15D): just for giggles, let's list these in the correct order)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Disable autosloping (3C/14F/15D)

With this callback, you can prevent the autoslope feature from altering the ground below a industry/house/object tile. To allow altering the ground, return 0. Returning 1 will disallow land modifications.

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