Update Anti-BD script to detect newer versions of Project Brutality.

In addition, reword the top comment block on the file into a less aggressive
explanation as to why the script exists in the first place.
This commit is contained in:
Mari the Deer 2023-12-14 22:02:41 +01:00
commit 952c6eba1a
2 changed files with 16 additions and 14 deletions

View file

@ -1,3 +1,3 @@
[default]
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r1050 \cu(Wed 13 Dec 18:17:42 CET 2023)\c-";
SWWM_SHORTVER="\cw1.3pre r1050 \cu(2023-12-13 18:17:42)\c-";
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r1051 \cu(Thu 14 Dec 22:02:41 CET 2023)\c-";
SWWM_SHORTVER="\cw1.3pre r1051 \cu(2023-12-14 22:02:41)\c-";

View file

@ -1,15 +1,17 @@
// SHAMEFUL DISPLAY
// At this point there's no clearer way to tell people to stop combining
// incompatible mods.
// The BD crowd never listens, never learns, you can't just mix up gameplay
// mods and expect everything to work.
// You also can't expect modders to put in the effort needed to go and add
// compatibility for a mod that wouldn't even make any sense to add
// compatibility for because both replace the same things and are entirely
// different beasts with different styles altogether.
// Just stop. Put that gray matter to use. Do you really think it's worth it?
// Don't do this shit.
// Hello yes how do I explain this?
//
// Some people try to autoload this stuff without realizing that not all big
// gameplay mods can be combined just like that, they will break in funky ways™
//
// For those who are not aware, there are "monsters only" versions of these
// types of mods, and you can load them fine, they should just work™
//
// Still, if you insist on doing "the funny thing", this event handler is there
// 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
Class SWWMBrutalHandler : StaticEventHandler
{
ui int timer;
@ -26,13 +28,13 @@ Class SWWMBrutalHandler : StaticEventHandler
// check for brutal doom
foreach ( cls:AllActorClasses )
{
if ( cls.GetClassName() == "BDoomer" )
if ( cls.GetClassName() == 'BDoomer' )
{
detected = true;
which = "Brutal Doom";
whichshort = "BD";
}
else if ( cls.GetClassName() == "BrutalDoomer" )
else if ( (cls.GetClassName() == 'BrutalDoomer') || (cls.GetClassName() == 'PB_PlayerPawn') )
{
detected = true;
which = "Project Brutality";