mirror of
https://github.com/ZDoom/Raze.git
synced 2024-12-11 13:21:49 +00:00
513de38723
Using ownerActor is not robust, for some actors this will have unwanted side effects.
41 lines
448 B
Text
41 lines
448 B
Text
class RedneckPig : DukeActor
|
|
{
|
|
const PIGSTRENGTH = 75;
|
|
const PIG_GNAW_AMOUNT = -1;
|
|
|
|
default
|
|
{
|
|
pic "PIG";
|
|
+INTERNAL_BADGUY;
|
|
Strength PIGSTRENGTH;
|
|
}
|
|
|
|
override void Initialize(DukeActor spawner)
|
|
{
|
|
self.scale = (0.25, 0.25);;
|
|
self.setClipDistFromTile();
|
|
}
|
|
|
|
|
|
}
|
|
|
|
class RedneckPigStayput : RedneckPig
|
|
{
|
|
default
|
|
{
|
|
pic "PIGSTAYPUT";
|
|
+BADGUYSTAYPUT;
|
|
}
|
|
|
|
}
|
|
|
|
class RedneckPigEat : RedneckPig
|
|
{
|
|
default
|
|
{
|
|
pic "PIGEAT";
|
|
}
|
|
|
|
|
|
}
|
|
|