Properties: Difference between revisions

980 bytes added ,  22:34, 28 December 2019
added occluding property, short note on metal creatures
m (Teamtoto moved page Item Properties to Properties: Properties can refer to not only items, more fitting title)
(added occluding property, short note on metal creatures)
Line 1: Line 1:
{{stub}}
{{stub}}
Aside from standard properties like damage and weight, items can have miscellaneous other properties that affect how they behave.
Aside from standard properties like damage and weight, items, objects, and creatures can have miscellaneous other properties that affect how they behave.
==Properties==
==Properties==
===Metal===
===Metal===
Metal items can [[rusted | rust]] and be pulled by {{Favilink | pulsed field magnet | plural}}.
Metal items can [[rusted | rust]] and be pulled by {{Favilink | pulsed field magnet | plural}}. Creatures can be metallic as well. This means their entire body becomes pulled if magnetic pulsed, and will refuse to properly function if rusted.


For modding purposes, this property corresponds to the <code>Metal</code> object part.
For modding purposes, this property corresponds to the <code>Metal</code> object part.
Line 21: Line 21:


For modding purposes, this property corresponds to having an <code>isEMPSensitive</code> attribute of <code>true</code> on the appropriate object part. (There are several such parts; refer to <code>ObjectBlueprints.xml</code> for examples.)
For modding purposes, this property corresponds to having an <code>isEMPSensitive</code> attribute of <code>true</code> on the appropriate object part. (There are several such parts; refer to <code>ObjectBlueprints.xml</code> for examples.)
===Occluding===
{{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}}.
This can be set on an object by adding <code>Occluding="true"</code> in the object's <code>Render</code> part.


[[Category:Mechanics]]
[[Category:Mechanics]]