raze/wadsrc/static/zscript/games/duke/actors/coot.zs
2023-04-09 09:35:37 +02:00

40 lines
599 B
Text

class RedneckCoot : DukeActor
{
default
{
pic "COOT";
}
override void PlayFTASound()
{
if (!Raze.isRRRA() && (random(0, 3)) == 2)
self.PlayActorSound("CT_GET");
}
override void Initialize()
{
self.scale = (0.375, 0.28125);
self.setClipDistFromTile();
self.clipdist *= 4;
}
}
class RedneckCootStayput: RedneckCoot
{
default
{
pic "COOTSTAYPUT";
+INTERNAL_BADGUY;
+KILLCOUNT;
}
override void PlayFTASound()
{
}
override void initialize()
{
super.initialize();
self.actorstayput = self.sector; // make this a flag once everything has been exported.
}
}