Prototype/Decorative: Difference between revisions
Jump to navigation
Jump to search
(Added prototype type to page) |
(Changed links going to the redirect Prototype to go to PrototypeBase.) |
||
Line 2: | Line 2: | ||
Prototype type: '''optimized-decorative''' | Prototype type: '''optimized-decorative''' | ||
Extends [[ | Extends [[PrototypeBase]]. | ||
== Mandatory properties == | == Mandatory properties == | ||
This prototype inherits all the properties from [[ | This prototype inherits all the properties from [[PrototypeBase]]. | ||
=== pictures === | === pictures === |
Revision as of 12:00, 16 July 2019
Basics
Prototype type: optimized-decorative
Extends PrototypeBase.
Mandatory properties
This prototype inherits all the properties from PrototypeBase.
pictures
Type: Types/SpriteVariations
Must contain at least 1 picture.
Optional properties
collision_box
Type: Types/BoundingBox
Must contain the [0,0] point. Max radius of the collision box is 8.
render_layer
Type: Types/RenderLayer
Default: "decorative"
grows_through_rail_path
Type: Types/bool
Default: false
tile_layer
Type: Types/uint8
Default: 0
Mandatory if render_layer
= "decals". This uint8 is converted to a Types/RenderLayer internally.
autoplace
Type: Types/AutoplaceSpecification
collision_mask
Type: Types/CollisionMask
Default: "doodad-layer"