Misc. comment changes, additional planned stuff.

This commit is contained in:
Mari the Deer 2024-01-10 20:40:17 +01:00
commit 7555d52818
5 changed files with 38 additions and 14 deletions

View file

@ -12,6 +12,10 @@
// so you know what I think of your attempt at being funny
//
// So, yeah, thanks for giving me an excuse to make this silly script
//
// PS: I actually like Project Brutality, no joke
// Brutal Doom is still poopy junk tho, every single fork of it is better
// (except Black Edition, that one is just embarrassing)
Class SWWMBrutalHandler : StaticEventHandler
{
ui int timer;
@ -28,17 +32,20 @@ Class SWWMBrutalHandler : StaticEventHandler
// check for brutal doom
foreach ( cls:AllActorClasses )
{
if ( cls.GetClassName() == 'BDoomer' )
if ( cls is 'PlayerPawn' )
{
detected = true;
which = "Brutal Doom";
whichshort = "BD";
}
else if ( (cls.GetClassName() == 'BrutalDoomer') || (cls.GetClassName() == 'PB_PlayerPawn') )
{
detected = true;
which = "Project Brutality";
whichshort = "PB";
if ( (cls.GetClassName() == 'Doomer') || (cls.GetClassName() == 'BDoomer') || (cls.GetClassName() == 'BEDoomer') )
{
detected = true;
which = "Brutal Doom";
whichshort = "BD";
}
else if ( (cls.GetClassName() == 'BrutalDoomer') || (cls.GetClassName() == 'PB_PlayerPawn') )
{
detected = true;
which = "Project Brutality";
whichshort = "PB";
}
}
if ( !detected ) continue;
let shnd = SWWMStaticHandler(StaticEventHandler.Find("SWWMStaticHandler"));

View file

@ -177,6 +177,7 @@ extend Class Demolitionist
return false; // wind
if ( (s.special == 84) || (s.special == 118) || ((s.special >= 201) && (s.special <= 244)) )
return false; // current
// TODO check for scroller thinkers if that ever gets exposed to ZScript
return true;
}