23 lines
671 B
Ucode
23 lines
671 B
Ucode
class ScrnMachetePickup extends MachetePickup;
|
|
|
|
// Fixed "Accessed none: Inventory" warning in KFWeaponPickup. This should be copied into all pickup classes.
|
|
function Destroyed()
|
|
{
|
|
if ( bDropped && Inventory != none && KFGameType(Level.Game) != none )
|
|
KFGameType(Level.Game).WeaponDestroyed(class<Weapon>(Inventory.Class));
|
|
|
|
super(WeaponPickup).Destroyed();
|
|
}
|
|
|
|
defaultproperties
|
|
{
|
|
cost=100
|
|
ItemName="Machete SE"
|
|
ItemShortName="Machete SE"
|
|
CorrespondingPerkIndex=7
|
|
InventoryType=Class'ScrnBalanceSrv.ScrnMachete'
|
|
PrePivot=(Z=10.000000)
|
|
CollisionRadius=30.000000
|
|
CollisionHeight=10.000000
|
|
}
|