diff --git a/language.version b/language.version index 5e15c1b5f..1058b19a1 100644 --- a/language.version +++ b/language.version @@ -1,3 +1,3 @@ [default] -SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r794 \cu(Sat 1 Jul 14:30:33 CEST 2023)\c-"; -SWWM_SHORTVER="\cw1.3pre r794 \cu(2023-07-01 14:30:33)\c-"; +SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r795 \cu(Sat 1 Jul 14:30:40 CEST 2023)\c-"; +SWWM_SHORTVER="\cw1.3pre r795 \cu(2023-07-01 14:30:40)\c-"; diff --git a/zscript/handler/swwm_statichandler.zsc b/zscript/handler/swwm_statichandler.zsc index 69db53f68..3185ef809 100644 --- a/zscript/handler/swwm_statichandler.zsc +++ b/zscript/handler/swwm_statichandler.zsc @@ -440,6 +440,26 @@ Class SWWMStaticHandler : StaticEventHandler } if ( !fail ) Console.Printf("ALL OK"); } + else if ( e.Name ~== "swwmdumpmonsters" ) + { + int i = 0; + bool bLastVanilla = false; + foreach ( cls:AllActorClasses ) + { + if ( cls.IsAbstract() ) continue; + if ( cls == 'ChexSoul' ) // last defined in gzdoom.pk3 + { + bLastVanilla = true; + continue; + } + if ( !bLastVanilla ) continue; + let def = GetDefaultByType(cls); + if ( !def.bISMONSTER && !def.bCOUNTKILL ) continue; + Console.Printf("%s [%s]",def.GetClassName(),def.GetTag("NO TAG")); + i++; + } + Console.Printf("\n%d estimated monsters defined.",i); + } } override void NetworkProcess( ConsoleEvent e )