mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-06 13:01:03 +00:00
371712c53a
- fixed emission of the self pointer in FxVMFunctionCall. I did not realize that the self expression only sets up a register for the value, not pushing it onto the stack.
71 lines
1 KiB
Text
71 lines
1 KiB
Text
|
|
// Dark Servant Artifact ----------------------------------------------------
|
|
|
|
class ArtiDarkServant : Inventory native
|
|
{
|
|
Default
|
|
{
|
|
+COUNTITEM
|
|
+FLOATBOB
|
|
Inventory.RespawnTics 4230;
|
|
Inventory.DefMaxAmount;
|
|
Inventory.PickupFlash "PickupFlash";
|
|
+INVENTORY.INVBAR
|
|
+INVENTORY.FANCYPICKUPSOUND
|
|
Inventory.Icon "ARTISUMN";
|
|
Inventory.PickupSound "misc/p_pkup";
|
|
Inventory.PickupMessage "$TXT_ARTISUMMON";
|
|
Tag "$TAG_ARTISUMMON";
|
|
}
|
|
States
|
|
{
|
|
Spawn:
|
|
SUMN A 350;
|
|
Loop;
|
|
}
|
|
}
|
|
|
|
// Summoning Doll -----------------------------------------------------------
|
|
|
|
class SummoningDoll : Actor
|
|
{
|
|
Default
|
|
{
|
|
Speed 20;
|
|
+NOBLOCKMAP +DROPOFF +MISSILE
|
|
+NOTELEPORT
|
|
}
|
|
|
|
native void A_Summon();
|
|
|
|
States
|
|
{
|
|
Spawn:
|
|
SUMN A 4;
|
|
Loop;
|
|
Death:
|
|
SUMN AA 4;
|
|
SUMN A 4 A_Summon;
|
|
Stop;
|
|
}
|
|
}
|
|
|
|
// Minotaur Smoke -----------------------------------------------------------
|
|
|
|
class MinotaurSmoke : Actor
|
|
{
|
|
Default
|
|
{
|
|
+NOBLOCKMAP +NOGRAVITY
|
|
+NOTELEPORT
|
|
RenderStyle "Translucent";
|
|
Alpha 0.6;
|
|
|
|
}
|
|
States
|
|
{
|
|
Spawn:
|
|
MNSM ABCDEFGHIJKLMNOPQ 3;
|
|
Stop;
|
|
}
|
|
}
|