-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathZSCRIPT.ExtraLiveClass
60 lines (51 loc) · 1.02 KB
/
ZSCRIPT.ExtraLiveClass
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
version "4.3.3"
// ExtraLife class
class ExtraLife : Inventory
{
Default
{
Inventory.MaxAmount 256;
Inventory.PickupMessage "You got an extra life!" ;
+INVENTORY.UNDROPPABLE
scale 0.70;
}
States
{
Spawn:
XLIF ABCD 6 Bright;
Loop;
}
}
// Testing for an enemy which Freeze if hit with ice damage
/*
You can summon with "summon FreezeDeathImp"
and then kill with "mdk ice"
*/
Class FreezeDeathImp : DoomImp
{
states
{
Ice:
TROO D 5 A_GenericFreezeDeath;
TROO D 1 A_FreezeDeathChunks;
}
}
class Soulsphere2 : Soulsphere {}
class MediKit2 : MediKit{}
// RandomSpawner : it could replace the soulsphere with the Soulsphere or the ExtraLife
class SoulsphereReplacer : RandomSpawner replaces Soulsphere
{
default
{
DropItem "Soulsphere2", 255,3;
DropItem "ExtraLife",255,1;
}
}
class MediKitReplacer : RandomSpawner replaces MediKit
{
default
{
DropItem "MediKit2", 255,3;
DropItem "ExtraLife",255,1;
}
}