<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.svencoop.com/index.php?action=history&amp;feed=atom&amp;title=Trigger_gravity</id>
	<title>Trigger gravity - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.svencoop.com/index.php?action=history&amp;feed=atom&amp;title=Trigger_gravity"/>
	<link rel="alternate" type="text/html" href="https://wiki.svencoop.com/index.php?title=Trigger_gravity&amp;action=history"/>
	<updated>2026-04-24T18:23:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.svencoop.com/index.php?title=Trigger_gravity&amp;diff=291&amp;oldid=prev</id>
		<title>GeckonCZ: Import of converted entguide pages from Sven Manor.</title>
		<link rel="alternate" type="text/html" href="https://wiki.svencoop.com/index.php?title=Trigger_gravity&amp;diff=291&amp;oldid=prev"/>
		<updated>2019-01-27T22:29:34Z</updated>

		<summary type="html">&lt;p&gt;Import of converted entguide pages from Sven Manor.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Entity_Infobox&lt;br /&gt;
| title=&lt;br /&gt;
| type=b&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
An entity which modifies the gravity within it using a factor multiplied by the value of CVar &amp;#039;sv_gravity&amp;#039;. The gravity is applied globally &lt;br /&gt;
(it won&amp;#039;t switch gravity back to normal after leaving it).&lt;br /&gt;
&lt;br /&gt;
== Keyvalues ==&lt;br /&gt;
&lt;br /&gt;
{{Entity_keyvalue|Allow Tiny Monsters|tiny_monsters|If set to &amp;#039;Yes&amp;#039;, monsters like cockroaches can trigger this entity as well as other monsters.}}&lt;br /&gt;
{{Entity_keyvalue|Gravity (0-1)|gravity|Gravity scale multiplier to apply.&lt;br /&gt;
Inventory Rules, InventoryRules @BaseClass:&lt;br /&gt;
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&amp;#039;t work. In other case, entity can be used as normal, but only by player who passed the test with required inventory conditions:&amp;quot;Inventory: Need item(s)&amp;quot;, item_name_required : Item(s) (names separated by spaces) required to use this entity. &lt;br /&gt;
Refers to &amp;quot;Item name&amp;quot; value of item_inventory.}}&lt;br /&gt;
{{Entity_keyvalue|Inventory: Need item(s) from group(s)|item_group_required|Groups (separated by spaces), in which carried items belong to, required to use this entity. Refers to &amp;quot;Item group name&amp;quot; value of item_inventory.}}&lt;br /&gt;
{{Entity_keyvalue|Inventory: Item count in group need have|item_group_required_num|Minimal number of items, that belong &lt;br /&gt;
to specified group, required to use this entity. Use with &amp;quot;Inventory: Need item(s) from group(s)&amp;quot; keyvalue. Value of &amp;#039;0&amp;#039; means that all items from current group are required.}}&lt;br /&gt;
{{Entity_keyvalue|Inventory: CAN&amp;#039;T have item|item_name_canthave|Items in player inventory that will fail the test, and disallow usage &lt;br /&gt;
of this entity. Refers to &amp;quot;Item name&amp;quot; value of item_inventory.}}&lt;br /&gt;
{{Entity_keyvalue|Inventory: CAN&amp;#039;T have item from group|item_group_canthave|Items in player inventory, which belong to specified group, that will fail the test, and disallow usage of this entity. Refers to &amp;quot;Item group name&amp;quot; value of item_inventory.}}&lt;br /&gt;
{{Entity_keyvalue|Inventory: Item count in group CAN&amp;#039;T have|item_group_canthave_num|Minimal number of items in player inventory, which belong to specified group, that will fail the test, and disallow usage of this entity. Refers to &amp;quot;Item group name&amp;quot; &lt;br /&gt;
value of item_inventory. Value of &amp;#039;0&amp;#039; means no single item from current group should be equipped to pass the test.}}&lt;br /&gt;
{{Entity_keyvalue|On pass: Ignore item&amp;#039;s on use triggers?|pass_ignore_use_triggers|If set to &amp;#039;Yes&amp;#039; item&amp;#039;s trigger targets from &amp;#039;Target: On use (by trigger)&amp;#039; will not be fired when item is used by this entity.}}&lt;br /&gt;
{{Entity_keyvalue|On pass: Drop item(s)|pass_drop_item_name|Items to force-drop when the test result is positive, and entity is used successfully. Refers to &amp;quot;Item name&amp;quot; value of item_inventory. Multiple item names are separated by spaces.}}&lt;br /&gt;
{{Entity_keyvalue|On pass: Drop item(s) from group(s)|pass_drop_item_group|Items to force-drop, that belong to specified group, when the test result is positive, and entity is used successfully. All items from this group will be dropped. &lt;br /&gt;
Refers to &amp;quot;Item group name&amp;quot; value of item_inventory. Multiple item names are separated by spaces.}}&lt;br /&gt;
{{Entity_keyvalue|On pass: Ignore item&amp;#039;s on drop triggers?|pass_ignore_drop_triggers|If set to &amp;#039;Yes&amp;#039; item&amp;#039;s trigger targets from &amp;#039;Target: On drop&amp;#039; will not be fired when item is dropped by this entity with &amp;#039;Drop items(s)&amp;#039; events above.}}&lt;br /&gt;
{{Entity_keyvalue|On pass: Return item(s)|pass_return_item_name|Items to return to their starting positions when test result is positive. Refers to &amp;quot;Item name&amp;quot; value of item_inventory. Multiple item names are separated by spaces.}}&lt;br /&gt;
{{Entity_keyvalue|On pass: Return item(s) from group(s)|pass_return_item_group|Items, that belong to specified group, to return to their starting positions when test result is positive. All items from this group will be returned. Refers to &amp;quot;Item group name&amp;quot; value of item_inventory. Multiple group names are separated by spaces.}}&lt;br /&gt;
{{Entity_keyvalue|On pass: Ignore item&amp;#039;s on return triggers?|pass_ignore_return_triggers|If set to &amp;#039;Yes&amp;#039; item&amp;#039;s trigger targets from &amp;#039;Target: On return&amp;#039; will not be fired when item is returned by this entity with &amp;#039;Return items(s)&amp;#039; events above.}}&lt;br /&gt;
{{Entity_keyvalue|On pass: Destroy item(s)|pass_destroy_item_name|Items to remove when test result is positive. Refers to &amp;quot;Item name&amp;quot; value of item_inventory. Multiple item names are separated by spaces.}}&lt;br /&gt;
{{Entity_keyvalue|On pass: Destroy item(s) from group(s)|pass_destroy_item_group|Items, that belong to specified group, to remove when test result is positive. All items from this group will be removed. Refers to &amp;quot;Item group name&amp;quot; value &lt;br /&gt;
of item_inventory. Multiple group names are separated by spaces.}}&lt;br /&gt;
{{Entity_keyvalue|On pass: Ignore item&amp;#039;s on destroy triggers?|pass_ignore_destroy_triggers|If set to &amp;#039;Yes&amp;#039; item&amp;#039;s trigger targets from &amp;#039;Target: On Destroy&amp;#039; will not be fired when item is destroyed by this entity with &amp;#039;Destroy items(s)&amp;#039; events above.}}&lt;br /&gt;
{{Entity_keyvalue|Target: Inventory rules failed|target_on_fail|Entity to trigger whenever test result is negative.}}&lt;br /&gt;
&lt;br /&gt;
== Flags ==&lt;br /&gt;
&lt;br /&gt;
{{Entity_flag|1|Monsters|If set, monsters can be affected by this.}}&lt;br /&gt;
{{Entity_flag|2|No Clients|If set, players won&amp;#039;t be affected by this.}}&lt;br /&gt;
{{Entity_flag|4|Pushables|If set, func_pushable entities can be affected.}}&lt;br /&gt;
{{Entity_flag|8|Everything else|If set, everything other than monsters, clients and pushables can be affected. Does not exclude the above.}}&lt;br /&gt;
{{Entity_flag|16|Fire on Enter|As in all other trigger entities. this is trash spawflag that does not work.}}&lt;br /&gt;
{{Entity_flag|32|Fire on Exit|Not applicable on trigger_gravity. It&amp;#039;s just can&amp;#039;t fire it&amp;#039;s targets.}}&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Target&amp;quot;, &amp;quot;Kill Target&amp;quot; and &amp;quot;Delay Before Trigger&amp;quot; keyvalues does not work on this entity. That means this trigger can&amp;#039;t act like touch detectors (to fire it&amp;#039;s target when touched).&lt;br /&gt;
&lt;br /&gt;
== Changes ==&lt;br /&gt;
&lt;br /&gt;
5.10: Now uses &amp;#039;InventoryRules&amp;#039; base class.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{entity_title}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Entities]]&lt;br /&gt;
[[Category:Brush entities]]&lt;/div&gt;</summary>
		<author><name>GeckonCZ</name></author>
	</entry>
</feed>