mirror of
https://github.com/ZDoom/Raze.git
synced 2024-12-11 13:21:49 +00:00
47 lines
614 B
Text
47 lines
614 B
Text
class DukeAtomicHealth : DukeItemBase
|
|
{
|
|
default
|
|
{
|
|
pic "ATOMICHEALTH";
|
|
+FULLBRIGHT;
|
|
+BIGHEALTH;
|
|
+NOFLOORPAL;
|
|
}
|
|
|
|
override void Initialize()
|
|
{
|
|
commonItemSetup();
|
|
self.cstat |= CSTAT_SPRITE_YCENTER;
|
|
}
|
|
|
|
override bool animate(tspritetype t)
|
|
{
|
|
t.pos.Z -= 4;
|
|
return false;
|
|
}
|
|
}
|
|
|
|
class RedneckGoogooCluster : DukeItemBase
|
|
{
|
|
default
|
|
{
|
|
pic "ATOMICHEALTH";
|
|
+FULLBRIGHT;
|
|
+BIGHEALTH;
|
|
+NOFLOORPAL;
|
|
}
|
|
|
|
override void Initialize()
|
|
{
|
|
commonItemSetup((0.125, 0.125));
|
|
self.cstat |= CSTAT_SPRITE_YCENTER;
|
|
}
|
|
|
|
override bool animate(tspritetype t)
|
|
{
|
|
t.pos.Z -= 4;
|
|
return false;
|
|
}
|
|
|
|
}
|
|
|