Mission and cluster texts for Sigil and No Rest for the Living.
Tweak and reformat all cluster texts to fit a width of 300 pixels.
This commit is contained in:
parent
1003c85048
commit
308b17702c
8 changed files with 646 additions and 502 deletions
|
|
@ -1035,23 +1035,7 @@ Class SWWMHandler : EventHandler
|
|||
// reset inventory (including unclearables) on forced pistol starts (must have visited at least one map, though)
|
||||
// known bug: the previous weapon will play its select sound regardless, this is ENTIRELY IMPOSSIBLE to fix
|
||||
if ( swwm_pistolstart && (s.lstats.Size() > 0) && ((s.lastcluster != level.cluster) || !(level.clusterflags&LevelLocals.CLUSTER_HUB)) )
|
||||
{
|
||||
if ( swwm_resetscore ) c.credits = c.hcredits = 0;
|
||||
Actor last = p.mo;
|
||||
while ( last.inv )
|
||||
{
|
||||
let inv = last.inv;
|
||||
if ( !(inv is 'SWWMCollectible') )
|
||||
{
|
||||
inv.Destroy();
|
||||
if ( !inv.bDestroyed ) last = inv;
|
||||
}
|
||||
else last = inv;
|
||||
}
|
||||
p.mo.GiveDefaultInventory();
|
||||
p.mo.BringUpWeapon();
|
||||
p.health = p.mo.Health = p.mo.SpawnHealth();
|
||||
}
|
||||
SWWMUtility.WipeInventory(p.mo,swwm_resetscore);
|
||||
}
|
||||
|
||||
override void PlayerRespawned( PlayerEvent e )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue