-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathGameModes.dm
121 lines (107 loc) · 2.85 KB
/
GameModes.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
116
117
118
119
120
121
//Created 8/12/12 by Kuro
proc
Normal(var/dmm/P = null)
map_loading = 1
var/dmm/D = P.dmm_map
current_map = "[P.name]"
world_alert("Loading the map '[P.name]'")
var/dmm_suite/new_reader = new()
new_reader.load_map(D)
Cycle_Music()
DE_Weather()
gameon = 1
map_loading = 0
update_status()
if(P.option_at)
auto_target = 1
if(P.option_is)
initial_zombies = P.option_is
zombie_t_spawn = get_zombies()
zombie_t_kill = zombie_t_spawn
for(var/mob/player/client/C in world)
if(C)
C.respawn()
world_chat("\[&color=#FF0000]Wave will begin in 10 seconds.")
var/rc = "[round]"
spawn(100)
if(rc == "[round]")
if(!gameover)
world_chat("\[&color=#C0C0C0]Wave beginning.")
players << SOUND_WAVE_BEGINING
players << CURRENT_MUSIC
spawn() spawner(espawn_zone, erise_zone)
ProtectTheTeamMate(var/dmm/P = null)
map_loading = 1
var/dmm/D = P.dmm_map
current_map = "[P.name]"
world_alert("Loading the map '[P.name]'")
var/dmm_suite/new_reader = new()
new_reader.load_map(D)
Cycle_Music()
DE_Weather()
gameon = 1
map_loading = 0
update_status()
if(P.option_at)
auto_target = 1
if(P.option_is)
initial_zombies = P.option_is
zombie_t_spawn = get_zombies()
zombie_t_kill = zombie_t_spawn
for(var/mob/player/client/C in world)
if(!C) continue
C.respawn()
ProtectedPlayer = pick(players)
world_chat("Protect [ProtectedPlayer]!");
world_chat("\[&color=#FF0000]Wave will begin in 10 seconds.")
var/rc = "[round]"
spawn(100)
if(rc == "[round]")
if(!gameover)
world_chat("\[&color=#C0C0C0]Wave beginning.")
players << SOUND_WAVE_BEGINING
players << CURRENT_MUSIC
spawn() spawner(espawn_zone, erise_zone)
MillionMode(var/dmm/P = null)
map_loading = 1
var/dmm/D = P.dmm_map
current_map = "[P.name]"
world_alert("Loading the map '[P.name]'")
var/dmm_suite/new_reader = new()
new_reader.load_map(D)
Cycle_Music()
DE_Weather()
gameon = 1
map_loading = 0
update_status()
if(P.option_at)
auto_target = 1
if(P.option_is)
initial_zombies = 5000
zombie_t_spawn = 999999
zombie_t_kill = zombie_t_spawn
wave = 3
outbreak = 0
for(var/mob/player/client/C in world)
if(!C) continue
C.respawn()
world_chat("\[&color=#FF0000]Wave will begin in 10 seconds.")
var/rc = "[round]"
spawn(100)
if(rc == "[round]")
if(!gameover)
world_chat("\[&color=#C0C0C0]Wave beginning.")
players << SOUND_WAVE_BEGINING
players << CURRENT_MUSIC
spawn() spawner(espawn_zone, erise_zone)
world_chat("Teleporters are functioning.")
for(var/Tiles/Machines/Teleporter1/T1 in world)
if(T1)
T1.can_use = 1
T1.icon_state = "on"
world<<"Teleporter 1 - ON"
for(var/Tiles/Machines/Teleporter2/T2 in world)
if(T2)
T2.can_use = 1
T2.icon_state = "on"
world<<"Teleporter 2 - ON"