1 /*-----===================================-------
\r
2 Team:Nexuiz Misc. Items/Functions
\r
4 -------===================================-----*/
\r
6 // Ice/Slippery ground
\r
12 void () slippery_touch =
\r
14 other.slip_time = time + .2; // amount of time the player is slipping (this gets constantly updated)
\r
15 other.slip_amount = self.slip_amount; // handled in cl_physics.c
\r
18 void () func_slippery =
\r
20 if (self.area_min != '0 0 0')
\r
22 setsize(self, self.area_min, self.area_max);
\r
26 setsize(self, '-16 -16 -24', '16 16 32');
\r
28 self.solid = SOLID_TRIGGER;
\r
29 self.touch = slippery_touch;
\r
34 self.classname = "func_slippery";
\r