diff --git a/docs/newgrf-additions-nml.html b/docs/newgrf-additions-nml.html index e693c344b6..49e6939ea6 100644 --- a/docs/newgrf-additions-nml.html +++ b/docs/newgrf-additions-nml.html @@ -124,6 +124,41 @@ +

Object properties

+ + + + + +
PropertyValue rangeComment
use_land_ground0 or 1 + Sets whether to use the underlying ground as the object ground sprite, ignoring the ground sprite provided in the sprite layout.
+ When enabled, the ground sprite will be bare ground, grass, snow, desert, etc. as if it were a clear ground tile.
+ In edge foundation mode, the ground may be coast/shore when flooded. +
edge_foundation_mode[mode0, mode1, mode2, mode3] + Enables edge foundation mode for the object.
+ This property is intended for objects which are positioned at the edge of a tile, and only require a level edge, not a completely level tile.
+ Foundations will only be added as required to get a suitable level edge.
+ The format is one mode value per view. If the object has fewer than 4 views then some of the values provided in the property will not be used, and may be 0. + All four values must be constants.
+ Each mode value should be one of: + + + + + + +
ValueMeaning
DIAGDIR_NENorth-east edge
DIAGDIR_SESouth-east edge
DIAGDIR_SWSouth-west edge
DIAGDIR_NWNorth-west edge
+ combined with 0 or more flags using the | operator: + + + + +
ValueMeaning
OBJECT_EF_FLAG_ADJUST_ZChange z-position for the building sprite to the height of the edge
OBJECT_EF_FLAG_FOUNDATION_LOWERIf the height of the edge is lower than the maximum height of the tile, build a foundation
+
flood_resistant0 or 1 + Sets whether the object is flood resistant.
+ Flood resistance is always enabled for objects which can be built on water.
+ This property can be used to enable flood resistance without enabling the object to be built on water. +

Replace new sprites

diff --git a/docs/newgrf-additions.html b/docs/newgrf-additions.html index 8b98501bba..1c3ca13509 100644 --- a/docs/newgrf-additions.html +++ b/docs/newgrf-additions.html @@ -310,6 +310,7 @@
TypeNumber of sprites Comment

This is indicated by the feature name: action0_global_extra_station_names, version 1

+

Action 0 - Signals (Feature 0E)

Note that Action 0 feature 0E is not supported (does nothing) in standard OpenTTD.

This implementation of feature 0E is not the same as that in TTDPatch.

@@ -364,6 +365,43 @@

N.B. Realistic braking must be enabled for additional signal aspects to be used.

This is indicated by the feature name: action0_signals_extra_aspects, version 1


+

Action 0 - Objects

+

Object uses land ground sprite (mappable property: object_use_land_ground)

+

This property sets whether to use the underlying ground as the object ground sprite, ignoring the ground sprite provided in the sprite layout.
+ When enabled, the ground sprite will be bare ground, grass, snow, desert, etc. as if it were a clear ground tile.
+ In edge foundation mode, the ground may be coast/shore when flooded.
+ The property length is 1 byte. 0 is disabled (default). 1 is enabled.

+

This is indicated by the feature name: action0_object_use_land_ground, version 1

+

Enable object edge foundation mode (mappable property: object_edge_foundation_mode)

+

This property enables edge foundation mode for the object.
+ This property is intended for objects which are positioned at the edge of a tile, and only require a level edge, not a completely level tile.
+ Foundations will only be added as required to get a suitable level edge.
+ The property length is 4 bytes, 1 byte per view. If the object has fewer than 4 views then some of the values provided in the property will not be used, and may be 0.
+ The format of each byte is: + + + + + +
BitValueMeaning (for this view)
0 - 1 + Which tile edge to use:
+ + + + + + +
ValueMeaning
0North-east edge
1South-east edge
2South-west edge
3North-west edge
+
24Change z-position for the building sprite to the height of the edge
38If the height of the edge is lower than the maximum height of the tile, build a foundation
+

+

This is indicated by the feature name: action0_object_edge_foundation_mode, version 1

+

Object is flood resistant (mappable property: object_flood_resistant)

+

This property sets whether the object is flood resistant.
+ Flood resistance is always enabled for objects which can be built on water.
+ This property can be used to enable flood resistance without enabling the object to be built on water.
+ The property length is 1 byte. 0 is disabled (default). 1 is enabled.

+

This is indicated by the feature name: action0_object_flood_resistant, version 1

+

Variational Action 2 - Stations

Track type in purchase list (42)