2022-12-14 12:50:13 +00:00
|
|
|
class DukeAtomicHealth : DukeItemBase
|
2022-12-12 11:48:41 +00:00
|
|
|
{
|
|
|
|
default
|
|
|
|
{
|
|
|
|
pic "ATOMICHEALTH";
|
2022-12-19 21:24:12 +00:00
|
|
|
+FULLBRIGHT;
|
2022-12-16 11:47:30 +00:00
|
|
|
+BIGHEALTH;
|
|
|
|
+NOFLOORPAL;
|
2022-12-12 11:48:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
override void Initialize()
|
|
|
|
{
|
|
|
|
commonItemSetup();
|
|
|
|
self.cstat |= CSTAT_SPRITE_YCENTER;
|
|
|
|
}
|
|
|
|
|
|
|
|
override bool animate(tspritetype t)
|
|
|
|
{
|
|
|
|
t.pos.Z -= 4;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-12-14 12:50:13 +00:00
|
|
|
class RedneckGoogooCluster : DukeItemBase
|
2022-12-12 11:48:41 +00:00
|
|
|
{
|
|
|
|
default
|
|
|
|
{
|
|
|
|
pic "ATOMICHEALTH";
|
2022-12-19 21:24:12 +00:00
|
|
|
+FULLBRIGHT;
|
2022-12-16 11:47:30 +00:00
|
|
|
+BIGHEALTH;
|
|
|
|
+NOFLOORPAL;
|
2022-12-12 11:48:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
override void Initialize()
|
|
|
|
{
|
|
|
|
commonItemSetup((0.125, 0.125));
|
|
|
|
self.cstat |= CSTAT_SPRITE_YCENTER;
|
|
|
|
}
|
|
|
|
|
|
|
|
override bool animate(tspritetype t)
|
|
|
|
{
|
|
|
|
t.pos.Z -= 4;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|