Progress continues. Many things have been added. Pulsegun is complete.
I've started implementing various pickups.
This commit is contained in:
parent
73e8e8ada9
commit
bcab8e79ae
96 changed files with 950 additions and 144 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue