-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHollow.dm
95 lines (93 loc) · 2.77 KB
/
Hollow.dm
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
//Spell: Nos dico super inconcesses,vox bonus quod malum.Ultirusque a profugus,addo is hic, addo is iam.
obj/Hollow
Hollow_Box
name = "The Hollow"
icon = 'General.dmi'
icon_state = "Hollow"
density = 1
verb
Contain_Hollow(msg as text)
set src in view(2)
if(findtext(msg,"Nos dico super inconcesses,vox bonus quod malum.Ultirusque a profugus,addo is hic, addo is iam."))
if(usr.key=="YOUR NAME HERE")
usr << "You try to contain the hollow"
sleep(3)
usr.containhollow = 1
view(9)<<"[usr] has absorbed the hollow into himself"
usr.race = "Hollow"
return
if(usr.power>=2500000)
usr << "You try to contain the hollow"
sleep(3)
usr.containhollow = 1
view(9)<<"[usr] has absorbed the hollow into himself"
usr.race = "Hollow"
sleep(9000)
usr<<"The hollow has left your body"
usr.containhollow = 0
usr.race = usr.choosenrace
return
if(usr.power>=1000000)
usr << "You try to contain the hollow"
sleep(3)
usr.containhollow = 1
view(9)<<"[usr] has absorbed the hollow into himself"
usr.race = "Hollow"
sleep(600)
usr<<"You start to feel strange"
sleep(50)
if(usr.containhollow==0)
return
view(9)<<"The Hollow has destroyed [usr] and returns to its box"
usr.health = 0
usr.deathcheck()
usr.containhollow=0
usr.race = usr.choosenrace
return
if(usr.power>=500000)
usr << "You try to contain the hollow"
sleep(3)
usr.containhollow = 1
view(9)<<"[usr] has absorbed the hollow into himself"
usr.race = "Hollow"
sleep(150)
usr<<"You start to feel strange"
sleep(50)
if(usr.containhollow==0)
return
view(9)<<"The Hollow has destroyed [usr] and returns to its box"
usr.health = 0
usr.deathcheck()
usr.containhollow=0
usr.race = usr.choosenrace
return
usr << "You try to contain the hollow"
sleep(3)
usr.kills += 1
usr << "The hollow is to strong for you to contain and it kills you"
usr.maxhealth = 0
usr.deathcheck()
view(9)<<"[usr] got vanquished trying to contain the Hollow"
else
usr<<"Nothing happens"
Release_Hollow()
set src in view(2)
if(usr.containhollow==1)
view(9)<<"[usr] releases the hollow back into its box"
usr.containhollow = 0
usr.race = usr.choosenrace
else
usr<<"You do not contain the Hollow"
Get_Box()
set src in oview(1)
set name = "Get Hollow box"
if(usr.key=="YOUR NAME HERE")
Move(usr)
view(9)<<"[usr] takes the [src]"
return
else if(usr.power>=2500000)
Move(usr)
view(9)<<"[usr] takes the [src]"
Drop_Box()
usr<<"You drop the box"
src.loc=locate(usr.x,usr.y+1,usr.z)