2022-12-31 11:03:10 +00:00
|
|
|
class RedneckDestructo : DukeActor
|
|
|
|
{
|
|
|
|
default
|
|
|
|
{
|
|
|
|
pic "DESTRUCTO";
|
|
|
|
statnum STAT_DESTRUCT;
|
|
|
|
+DESTRUCTOIMMUNE;
|
|
|
|
Strength MEGASTRENGTH;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
override bool animate(tspritetype t)
|
|
|
|
{
|
|
|
|
t.cstat |= CSTAT_SPRITE_INVISIBLE;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
class RedneckDestroyTags : DukeActor
|
|
|
|
{
|
|
|
|
default
|
|
|
|
{
|
|
|
|
pic "DESTROYTAGS";
|
|
|
|
+DESTRUCTOIMMUNE;
|
|
|
|
}
|
2023-05-14 10:18:47 +00:00
|
|
|
override void Initialize(DukeActor spawner)
|
2022-12-31 11:03:10 +00:00
|
|
|
{
|
|
|
|
self.cstat |= CSTAT_SPRITE_INVISIBLE;
|
|
|
|
self.scale = (REPEAT_SCALE, REPEAT_SCALE);
|
|
|
|
self.clipdist = 0.25;
|
|
|
|
self.ChangeStat(STAT_DESTRUCT);
|
|
|
|
}
|
|
|
|
}
|