Saya's Mug collectible.

This commit is contained in:
Mari the Deer 2022-08-06 15:11:33 +02:00
commit 64d256777b
20 changed files with 187 additions and 11 deletions

View file

@ -482,7 +482,7 @@ Class SWWMLevelCompatibility : LevelPostProcessor
case '81033F4F11F652E9CA875CED06C7AF8C':
case '0D1CAD582F63A179BF8A5E47C12D10C6':
// add collectibles
for ( int i=0; i<12; i++ )
for ( int i=0; i<13; i++ )
AddThing(4206900+i,(1472+64*i,640,0),0,SKILLS_ALL,MTF_SINGLE|MTF_COOPERATIVE);
break;
}

View file

@ -226,6 +226,19 @@ Class MothPlushy : SWWMCollectible
Height 32;
}
}
Class SayasMug : SWWMCollectible
{
Default
{
Tag "$T_SAYASMUG";
Inventory.PickupMessage "$T_SAYASMUG";
SWWMCollectible.GestureWeapon "SayasMugGesture";
SWWMCollectible.GetLine "mugget";
Stamina 1000;
Radius 4;
Height 20;
}
}
// Heretic
Class DemoPlush : SWWMCollectible
{

View file

@ -181,6 +181,21 @@ Class MothPlushyGesture : SWWMItemGesture
Stop;
}
}
Class SayasMugGesture : SWWMItemGesture
{
States
{
Fire:
XZW1 A 2;
XZW1 B 2 A_StartSound("demolitionist/handsup",CHAN_WEAPON,CHANF_OVERLAP);
XZW1 CDEFGHIJKLMNOPQRSTUVWXYZ 2;
XZW2 ABCDEFGHIJKLMNO 2;
XZW2 P 2 A_StartSound("demolitionist/handsdown",CHAN_WEAPON,CHANF_OVERLAP);
XZW2 QRSTUVW 2;
XZW2 X -1 A_FinishGesture();
Stop;
}
}
Class DemoPlushGesture : SWWMItemGesture
{
States