Properties: Difference between revisions

29 bytes added ,  20:15, 15 September 2021
m
restore tidbit that was lost in previous edit
m (add reference)
m (restore tidbit that was lost in previous edit)
Line 33: Line 33:
===Occluding===
===Occluding===
{{Missing info|TODO: Add query that has all occluding items, not including walls}}
{{Missing info|TODO: Add query that has all occluding items, not including walls}}
Occluding objects are objects that block a character's field of view. Objects that are occluding also block gas from passing through. In terms of AI, even though the enemy knows their target is behind an occluding object, and the object does not block bullets, they will still refuse to fire until they are able to see their target again. Occluding items can also prevent NPCs from witnessing the player stealing an object. The most common classes of objects that occlude light are [[:Category:Walls|walls]], trees, and [[brinestalk]]. A portable occluding item is the {{favilink|plastic tree}}.
Occluding objects are objects that block a character's field of view. Objects that are occluding also block non-seeping [[gases]] from passing through their tile. In terms of AI, even though the enemy knows their target is behind an occluding object, and the object does not block bullets, they will still refuse to fire until they are able to see their target again. Occluding items can also prevent NPCs from witnessing the player stealing an object. The most common classes of objects that occlude light are [[:Category:Walls|walls]], trees, and [[brinestalk]]. A portable occluding item is the {{favilink|plastic tree}}.


This can be set on an object by adding <code>Occluding="true"</code> in the object's <code>Render</code> part.
This can be set on an object by adding <code>Occluding="true"</code> in the object's <code>Render</code> part.