Callback: Disable autosloping: Difference between revisions

From GRFSpecs
Jump to navigation Jump to search
Content deleted Content added
Pm-bot (talk | contribs)
m Create a separate page for each callback
 
Pikkabird (talk | contribs)
m →Disable autosloping (3C/14F/15D): just for giggles, let's list these in the correct order
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
== Disable autosloping (3C/14F/15D) ==
== Disable autosloping (3C/14F/15D) ==


With this callback, you can prevent the autoslope feature from altering the ground below a house/industry/object tile. To allow altering the ground, return zero. Returning anything other than zero will disallow land modifications.
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.

{{grfTill|7}} Note that GRF versions 7 and lower only distinguished zero and non-zero return values.

[[Category:Callbacks]]
[[Category:Callbacks]]

Latest revision as of 21:18, 25 November 2026

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.