raze/wadsrc/static/zscript/games/duke/actors/dukestuff/rubbercan.zs
2023-04-23 17:22:40 +02:00

24 lines
367 B
Text

class DukeRubberCan : DukeActor
{
default
{
pic "RUBBERCAN";
Strength WEAK;
+FORCERUNCON;
+CHECKSLEEP;
+MOVEFTA_MAKESTANDABLE;
}
override void Initialize()
{
if (!self.mapSpawned)
self.scale = (0.5, 0.5);
self.cstat = CSTAT_SPRITE_BLOCK_ALL | randomXFlip();
self.clipdist = 18;
self.ChangeStat(STAT_ZOMBIEACTOR);
self.extra = 0;
}
}