skip carryable pickups
This commit is contained in:
parent
bea6510710
commit
10af5ff483
@ -9,7 +9,8 @@ enum E_PickupType
|
|||||||
{
|
{
|
||||||
PT_NotPickup,
|
PT_NotPickup,
|
||||||
PT_Weapon,
|
PT_Weapon,
|
||||||
PT_Dosh
|
PT_Dosh,
|
||||||
|
PT_Carryable
|
||||||
};
|
};
|
||||||
|
|
||||||
var private config int Version;
|
var private config int Version;
|
||||||
@ -119,6 +120,7 @@ public function ModifyLifespan(Actor A)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case PT_Carryable:
|
||||||
case PT_NotPickup:
|
case PT_NotPickup:
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
@ -133,6 +135,10 @@ private function E_PickupType PickupType(Actor A)
|
|||||||
{
|
{
|
||||||
return PT_Dosh;
|
return PT_Dosh;
|
||||||
}
|
}
|
||||||
|
else if (KFDroppedPickup_Carryable(A) != None)
|
||||||
|
{
|
||||||
|
return PT_Carryable;
|
||||||
|
}
|
||||||
else if (KFDroppedPickup(A) != None)
|
else if (KFDroppedPickup(A) != None)
|
||||||
{
|
{
|
||||||
return PT_Weapon;
|
return PT_Weapon;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[img]https://img.shields.io/static/v1?logo=GitHub&labelColor=gray&color=blue&logoColor=white&label=&message=Open Source[/img] [img]https://img.shields.io/github/license/GenZmeY/KF2-DroppedPickupLifespan[/img] [img]https://img.shields.io/steam/downloads/2864944858[/img] [img]https://img.shields.io/steam/favorites/2864944858[/img] [img]https://img.shields.io/steam/update-date/2864944858[/img] [url=https://steamcommunity.com/sharedfiles/filedetails/changelog/2864944858][img]https://img.shields.io/github/v/tag/GenZmeY/KF2-DroppedPickupLifespan[/img][/url]
|
[img]https://img.shields.io/static/v1?logo=GitHub&labelColor=gray&color=blue&logoColor=white&label=&message=Open Source[/img] [img]https://img.shields.io/github/license/GenZmeY/KF2-DroppedPickupLifespan[/img] [img]https://img.shields.io/steam/downloads/2864944858[/img] [img]https://img.shields.io/steam/favorites/2864944858[/img] [img]https://img.shields.io/steam/update-date/2864944858[/img] [url=https://steamcommunity.com/sharedfiles/filedetails/changelog/2864944858][img]https://img.shields.io/github/v/tag/GenZmeY/KF2-DroppedPickupLifespan[/img][/url]
|
||||||
|
|
||||||
[h1]Description[/h1]
|
[h1]Description[/h1]
|
||||||
Small server-side mutator that changes the lifespan of thrown weapons and dosh.
|
Small server-side mutator that changes the lifespan of dropped weapons and dosh.
|
||||||
|
|
||||||
[h1]Whitelisted?[/h1]
|
[h1]Whitelisted?[/h1]
|
||||||
No. This mod is not whitelisted and will de-rank your server. Any XP gained will not be saved.
|
No. This mod is not whitelisted and will de-rank your server. Any XP gained will not be saved.
|
||||||
|
Loading…
Reference in New Issue
Block a user