Sheen HMG progress (still not functional).

This commit is contained in:
Mari the Deer 2022-07-21 22:01:41 +02:00
commit 1ba22e8eb6
46 changed files with 237 additions and 74 deletions

View file

@ -110,7 +110,7 @@ Class SWWMClipAmmoSmall : SWWMAmmoSpawner
if ( !Random[Replacements](0,4) )
{
if ( Random[Replacements](0,1) && (notondemand || SWWMUtility.ItemExists('HeavyMahsheenGun')) )
return Random[Replacements](0,2)?'SheenAmmo3':'SheenTinyAmmo';
return Random[Replacements](0,2)?'SheenAmmo3':'SheenSmallAmmo';
if ( notondemand || SWWMUtility.ItemExists('Eviscerator') )
return 'EvisceratorShell';
}
@ -137,7 +137,7 @@ Class SWWMBlastAmmoSmall : SWWMAmmoSpawner
static Class<Actor> PickAmmo( bool notondemand = false )
{
if ( Random[Replacements](0,1) && (notondemand || SWWMUtility.ItemExists('HeavyMahsheenGun')) )
return Random[Replacements](0,2)?'SheenSmallAmmo':'SheenTinyAmmo';
return Random[Replacements](0,2)?'SheenAmmo3':'SheenSmallAmmo';
return 'EvisceratorShell';
}
}
@ -148,7 +148,7 @@ Class SWWMBlastAmmoBig : SWWMAmmoSpawner
static Class<Actor> PickAmmo( bool notondemand = false )
{
if ( Random[Replacements](0,1) && (notondemand || SWWMUtility.ItemExists('HeavyMahsheenGun')) )
return Random[Replacements](0,2)?'SheenBigAmmo':'SheenSmallAmmo';
return Random[Replacements](0,2)?'SheenSmallAmmo':'SheenBigAmmo';
return Random[Replacements](0,2)?'EvisceratorShell':Random[Replacements](0,1)?'EvisceratorShell2':'EvisceratorShell3';
}
}