Unimplemented weapon messages.
This commit is contained in:
parent
9d0287ef50
commit
3f20acc56e
5 changed files with 15 additions and 4 deletions
|
|
@ -57,6 +57,14 @@ Class SWWMWeapon : Weapon abstract
|
|||
|
||||
override void Touch( Actor toucher )
|
||||
{
|
||||
// show message about unimplemented weapons
|
||||
State ReadyState = FindState('Ready');
|
||||
if ( !ReadyState || !ReadyState.ValidateSpriteFrame() )
|
||||
{
|
||||
if ( toucher.CheckLocalView() )
|
||||
Console.MidPrint(SmallFont,String.Format(StringTable.Localize(SWWMUtility.SellFemaleItem(self,"SWWM_TODOWEAPON_FEM")?"$SWWM_TODOWEAPON_FEM":"$SWWM_TODOWEAPON"),GetTag()));
|
||||
return;
|
||||
}
|
||||
// show prompt to swap weapon, and prevent normal pickup
|
||||
SWWMWeapon sw;
|
||||
if ( bSPECIAL && swwm_swapweapons && (sw = HasSwapWeapon(toucher)) )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue