Progress continues. Many things have been added. Pulsegun is complete.

I've started implementing various pickups.
This commit is contained in:
Marisa the Magician 2018-05-19 00:48:40 +02:00
commit bcab8e79ae
96 changed files with 950 additions and 144 deletions

View file

@ -2,12 +2,19 @@ Class UTWeapon : Weapon
{
override Inventory CreateTossable( int amt )
{
if ( Ammo1 && (Ammo1.Amount <= 0) ) return null;
Inventory d = Super.CreateTossable(amt);
if ( d && (d.GetClass() == GetClass()) )
d.SetState(d.ResolveState("Spawn")+1);
return d;
}
override bool SpecialDropAction( Actor dropper )
{
SetState(ResolveState("Spawn")+1);
return true;
}
override void Tick()
{
Super.Tick();