raze/wadsrc/static/zscript/games/duke/actors/coot.zs

38 lines
565 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";
}
override void PlayFTASound()
{
}
override void initialize()
{
super.initialize();
self.actorstayput = self.sector; // make this a flag once everything has been exported.
}
}