Date: 2015/01/09 19:51:14 UTC-08:00
Type: Denizen Script
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
#NPC "WingOfWar"
#Starter Quest
#Location: Sheep Nation Spawn
#SN Army Rank: Major
sheepnation_main_quest_starter:
type: assignment
interact scripts:
- 10 main_questline_starter
main_questline_starter:
type: interact
steps:
'start*':
click trigger:
script:
- narrate format:achat 'Listen Maggot! We need people like you to join the SN Army!'
- wait 20t
- narrate format:achat 'SN Army is a great honour and requires hard work! You want in!?'
- narrate format:echat 'Type into the chat'
- narrate format:echat 'Yes or No'
chat trigger:
'yes':
trigger: '/Yes/ okay I<&sq>ll join.'
script:
- narrate format:bchat 'MAGGOT! You will address me as Sir from now on!'
- flag player questline_starter
- flag player questline_starter_count:0
- wait 10t
- narrate format:bchat 'Take this book and do what is required! Bring me back the items and you<&sq>re in!'
- give i@SN_Army_recruitment_booklet 1
- zap 'recruit_zombie'
'no':
trigger: '/No/ thanks.'
script:
- narrate format:achat 'RRRRAAAWWWWRRRR! YOU DON<&sq>T DESERVE TO BE ON THIS LAND!'
- wait 5t
- narrate format:achat 'COME BACK TO ME WHEN YOU GROW UP!'
'recruit_zombie':
click trigger:
script:
- if <player.has_flag[starter_questline]> {
- narrate format:bchat 'Great work newbie. Get on with the other tasks.'
- flag player starter_questline:!
- zap 'recruit_iron'
- queue clear
}
- narrate format:bchat 'Don<&sq>t come back here until you<&sq>ve completed one of those quests!'
- flag plater recruit_extra_job:0
- flag player recruit_extra_job:++
'recruit_iron':
click trigger:
script:
- if <player.inventory.contains[iron_ingot].qty[5]> {
- take iron_ingot qty:5
- narrate format:bchat 'Now hurry up and go help people!'
- zap 'recruit_help'
- queue clear
}
- narrate format:bchat 'Don<&sq>t come back here until you<&sq>ve completed one of those quests!'
- flag player recruit_extra_job:++
'recruit_help':
click trigger:
script:
- if <player.flag[recruit_extra_job]> >= 4 {
- narrate format:bchat 'Listen here you little bitch!'
- wait 5t
- narrate format:bchat 'Click on me one more time and I<&sq>ll give you an extra job to complete!'
- flag player recruit_extra_job:0
- flag player recruit_extra_job_activate
- queue clear
}
- if <player.flag[calagrah_helper]> >= 3 {
- narrate format:bchat 'WELCOME TO THE TEAM <player.name>!'
- wait 10t
- narrate format:bchat 'Every recruit gets these. Use them well.'
- zap 'recruit'
- give item: recruitment_helmet
- give item: recruitment_chestplate
- give item: recruitment_boots
- give item: recruitment_sword
- give item: recruitment_book
- flag player SN_Army_recruit
- queue clear
}
- if <player.has_flag[recruit_extra_job_activate]> {
- narrate format:bchat 'RRRRAAAWWWWRRRR!!! FINE THEN. YOU<&sq>VE PISSED ME OFF.'
- wait 5t
- narrate format:bchat 'GO GET ME 16 GOLD INGOTS YOU SHIT!'
- zap 'recruit_gold'
- queue clear
}
- narrate format:bchat 'Don<&sq>t come back here until you<&sq>ve completed one of those quests!'
- flag player recruit_extra_job:++
'recruit_gold':
click trigger:
script:
- if <player.inventory.contains[gold_ingot].qty[16]> {
- narrate format:bchat 'NOW HURRY UP AND HELP THOSE PEOPLE!'
- take gold_ingot qty:16
- zap 'recruit_help'
- queue clear
}
- narrate format:bchat 'DO YOU WANT AN EVEN HARDER JOB? GET THOSE GOLD!!'
'recruit':
click trigger:
script:
- narrate format:bchat 'Just because you'<&sq>re a part of the army doesn<&sq>t mean I have to like you!'
- wait 10t
- narrate format:bchat 'NOW GET OUT OF MY FACE!'
#_________________________________
#From here on are the world scripts
#Used for kill requirements
#_________________________________
#
newbie_zombie_requirements:
type: world
events:
on player kills zombie:
script:
- if !<player.has_flag[questline_starter]> queue clear
- flag player questline_starter_count:++
- if <player.flag[questline_starter_count]> == 5 {
- flag player questline_starter:!
- flag player questline_starter_count:!
- flag player starter_questline
}
#_________________________________
#From here on are the items and books
#custom made.
#_________________________________
SN_Army_recruitment_booklet:
type: book
title: SN Army Recruitment Booklet
author: SN General Warx247
signed: true
text:
- Welcome newbie. <n>In order to join us as a Recruit you must first complete these tasks. <p>Complete these and return the items to WingOfWar in order. <p>Your first task is to kill 5 zombies.
- After you have finished with the zombies your next task will be to collect 5 iron ingots and pass them on to Major WingOfWar.
- Your third task is to help out the people of Calagrah. The armys main objective is to help. Second is to kill. <p>I want you to go and help 3 people from that town. This is your final task.
- Best of luck. Signed Warx247
SN_Army_recruit_book:
type: book
title: SN Army Handbook
author: SN General KiwiClipClop
signed: true
text:
- Congratulations recruit! <p>Welcome to the army. Now don't give us a bad name! <p>Report to base! We have a special job that you need to complete. <n>Don't bring anything but your recruit gear. <n>Report to
#Recruit Items
recruitment_helmet:
type: item
material: i@diamond_helmet
display name: &4&lSN Soldiers Helmet
lore:
- Helmet mostly worn by recruits
- This is your symbol of office
enchantments:
- protection:1
- unbreaking:1
recruitment_chestplate:
type: item
material: i@diamond_chestplate
display name: SN Soldiers Chestplate
lore:
- This chestplate is worn by recruits
- This is your symbol of office
enchantments:
- protection:1
- unbreaking:1
recruitment_boots:
type: item
material: i@diamond_boots
display name: SN Soldiers Boots
lore:
- These boots are worn by recruits
- Good for dropping heavy items on your toes
enchantments:
- protection:1
- unbreaking:1
recruitment_sword:
type: item
material: i@diamond_sword
display name: SN Soldiers Sword
lore:
- A recruits best friend
enchantments:
- sharpness:1
- unbreaking:1