Difference between revisions of "Template:Entity item inventory keyvalues"

From Sven Co-op
Jump to navigation Jump to search
m (Style.)
(Now uses the Entity_collapsible_keyvalues template.)
Line 1: Line 1:
<div class="mw-collapsible mw-collapsed" style="overflow:auto;">
+
{{Entity_collapsible_keyvalues|Item Inventory Rules|List of inventory-related keyvalues used with [[item_inventory]] entity. Whenever player is attempting to use an entity, the inventory test runs. If test result is negative, the entity won't work. In other case, entity can be used as normal, but only by player who passed the test with required inventory conditions:
<div style="font-weight:bold;line-height:1.6;"><span style="color:#FF0000">'''Item Inventory Rules'''</span></div>
 
<div class="mw-collapsible-content" style="margin-left:30px">
 
 
 
List of inventory-related keyvalues used with [[item_inventory]] entity. Whenever player is attempting to use an entity, the inventory test runs. If test result is negative, the entity won't work. In other case, entity can be used as normal, but only by player who passed the test with required inventory conditions:
 
  
 
{{Entity_keyvalue|Inventory: Need item(s)|item_name_required|Item(s) (names separated by spaces) required to use this entity.
 
{{Entity_keyvalue|Inventory: Need item(s)|item_name_required|Item(s) (names separated by spaces) required to use this entity.
Line 24: Line 20:
 
{{Entity_keyvalue|On pass: Ignore item's on destroy triggers?|pass_ignore_destroy_triggers|If set to 'Yes' item's trigger targets from 'Target: On Destroy' will not be fired when item is destroyed by this entity with 'Destroy items(s)' events above.}}
 
{{Entity_keyvalue|On pass: Ignore item's on destroy triggers?|pass_ignore_destroy_triggers|If set to 'Yes' item's trigger targets from 'Target: On Destroy' will not be fired when item is destroyed by this entity with 'Destroy items(s)' events above.}}
 
{{Entity_keyvalue|Target: Inventory rules failed|target_on_fail|Entity to trigger whenever test result is negative.}}
 
{{Entity_keyvalue|Target: Inventory rules failed|target_on_fail|Entity to trigger whenever test result is negative.}}
</p>
+
 
</div></div>
+
}}

Revision as of 03:54, 28 January 2019

Item Inventory Rules