Impatient streamer handling.

This commit is contained in:
Mari the Deer 2026-06-23 12:29:28 +02:00
commit 13b060f06e
3 changed files with 16 additions and 2 deletions

View file

@ -1,3 +1,3 @@
[default]
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r1255 \cu(Tue Jun 23 12:29:15 CEST 2026)\c-";
SWWM_SHORTVER="\cw1.3pre r1255 \cu(2026-06-23 12:29:15)\c-";
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r1256 \cu(Tue Jun 23 12:29:28 CEST 2026)\c-";
SWWM_SHORTVER="\cw1.3pre r1256 \cu(2026-06-23 12:29:28)\c-";

View file

@ -188,6 +188,18 @@ extend Class Demolitionist
int giveall = (name~=="everything")?ALL_YESYES:(name~=="all")?ALL_YES:ALL_NO;
if ( giveall )
{
if ( !mystats ) mystats = SWWMStats.Find(player);
if ( !mystats.suregiveall )
{
if ( CheckLocalView() )
{
Console.Printf("Not the best way to experience the mod, %s\c-.\nUse 'give %s' again if you insist.",player.GetUserName(),name);
S_StartSound("bruh",CHAN_VOICE,CHANF_UI);
}
mystats.suregiveall = true;
ingivecheat = false;
return;
}
CheatGive_Health();
CheatGive_Backpack();
CheatGive_Armor();

View file

@ -106,6 +106,8 @@ Class SWWMStats : SWWMStaticThinker
int silveregg, quadegg, deepegg;
bool oldcheat;
bool gotyorick;
// impatient streamer flag
bool suregiveall;
// caching
SWWMHandler hnd;