]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/mapobjects/trigger/swamp.qh
Merge branch 'martin-t/whoosh' into 'master'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / mapobjects / trigger / swamp.qh
1 #pragma once
2
3 .float swamp_interval;  //Hurt players in swamp with this interval
4 .float swamp_slowdown;  //Players in swamp get slowd down by this mutch 0-1 is slowdown 1-~ is speedup (!?)
5
6 .bool in_swamp;
7 .entity swampslug;            // Uses this to release from swamp ("untouch" fix)
8
9 .float swamp_interval;  //Hurt players in swamp with this interval
10 .float swamp_slowdown;  //Players in swamp get slowd down by this mutch 0-1 is slowdown 1-~ is speedup (!?)
11 .float swamp_lifetime;  // holds the points remaining until slug dies (not quite health!)
12
13 #ifdef SVQC
14 spawnfunc(trigger_swamp);
15 #endif
16 void swamp_touch(entity this, entity toucher);
17 void swampslug_think(entity this);