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

44 lines
556 B
Text
Raw Normal View History

2022-12-14 12:50:13 +00:00
class DukeAtomicHealth : DukeItemBase
{
default
{
pic "ATOMICHEALTH";
+FULLBRIGHT;
}
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
{
default
{
pic "ATOMICHEALTH";
+FULLBRIGHT;
}
override void Initialize()
{
commonItemSetup((0.125, 0.125));
self.cstat |= CSTAT_SPRITE_YCENTER;
}
override bool animate(tspritetype t)
{
t.pos.Z -= 4;
return false;
}
}