-
Notifications
You must be signed in to change notification settings - Fork 0
/
Triad.dm
117 lines (110 loc) · 2.61 KB
/
Triad.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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
/*************************/
// Triad Turfs
turf/Triad
name = "Triad Pedal"
icon = 'General.dmi'
icon_state = "triad1"
density = 0
turf/Triad/Triad_Corner1
name = "Triad Pedal"
icon = 'General.dmi'
icon_state = "triad2"
density = 0
turf/Triad/Triad_Corner2
name = "Triad Pedal"
icon = 'General.dmi'
icon_state = "triad3"
density = 0
turf/Triad/Triad_Corner3
name = "Triad Pedal"
icon = 'General.dmi'
icon_state = "triad4"
density = 0
turf/Triad/Triad_Corner4
name = "Triad Pedal"
icon = 'General.dmi'
icon_state = "triad5"
density = 0
turf/Triad/Triad_Side1
name = "Triad Pedal"
icon = 'General.dmi'
icon_state = "triad6"
density = 0
turf/Triad/Triad_Side2
name = "Triad Pedal"
icon = 'General.dmi'
icon_state = "triad7"
density = 0
turf/Triad/Triad_Side3
name = "Triad Pedal"
icon = 'General.dmi'
icon_state = "triad9"
density = 0
turf/Triad/Triad_Side4
name = "Triad Pedal"
icon = 'General.dmi'
icon_state = "triad8"
density = 0
turf/Triad/Pedal_Center
name = "Triad Pedal"
icon = 'General.dmi'
icon_state = "blanc"
turf/Triad/Hell10ToTriad//the name of our turf
icon = 'General.dmi'
icon_state = "blanc"
Entered(mob/M)
if(istype(M,/mob))//is it a mob that entered?
M.loc=locate(/turf/Triad/TriadToHell10)
turf/Triad/TriadToHell10//the name of our turf
icon = 'General.dmi'
icon_state = "blanc"
Entered(mob/M)
if(istype(M,/mob))//is it a mob that entered?
M.loc=locate(/turf/Triad/Hell10ToTriad)
/**************************/
mob/Triad/verb
Triad_Summon_Pedal(mob/M in world)
set name = "Summon to Pedal"
set category = "Skills"
set desc = "Summons a personne to the Triad Pedal"
if(usr.Freeze==1)
usr<<"Your frozen, you can't use magic"
return
if(usr.RolePlaying == 0)
usr<<"Your not roleplaying"
return
if(M.RolePlaying == 0)
usr<<"[M] isnt roleplaying"
return
if(usr.death==1)
usr<<"You are death"
return
if(M.death==1)
usr<<"[M] is death"
return
if(M.erased==1)
usr<<"[M] has been erased from time and space"
return
if(usr.erased==1)
usr<<"You has been erased from time and space"
return
if(M.alignment=="Evil"||M.alignment=="Neutral"||M.align <= 100)
M.Freeze = 1
M.loc = locate(/turf/Triad/Pedal_Center)
M<<"You have been summoned by the Triad"
view(9)<<"[M] appears at the Triad Pedal"
M.inhell = 1
sleep(20)
M.Freeze = 0
else
usr<<"[M] is not evil or neutral"
Force_visability(mob/M in view(9))
set name = "Force Visibility"
set category = "Skills"
if(M.Selforb == 1)
M.density = 1
M.Selforb = 0
M.icon = new /mob/goodwitch()
view(9)<<"[M] becomes visible"
else
usr<<"[M] isnt in orb"