Paste #6641: Untitled Paste

Date: 2014/07/10 10:56:48 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


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
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472


# +----------------------------------
# |   World Scripts
# +----------------------------------

World_Script:
    type: world
    events:
# +----------------------------------
# |   Spawn Control
# +----------------------------------
        on horse spawns because natural:
        - determine cancelled
        on mushroom_cow spawns because natural:
        - determine cancelled
# +----------------------------------
# |  Player death and Spawn Handling
# +----------------------------------
        on player death:
        - flag player Just_Died duration:10m
        - define list li@
        - define list2 li@
        - foreach <context.inventory.list_contents.full> {
          - if <def[value].material.name> != firework_charge {
            - define list <def[list].include[%value%]>
            } else {
            - define list2 <def[list2].include[%value%]>
            }
          }
        - flag player kept_items:%list2%
        - determine %list%
        on player respawns:
        - run Respawn_Script delay:1t
        - flag player Just_Died duration:5m
# +----------------------------------
# |   Bedport Command
# +----------------------------------
        on bedport command:
        - determine passively fulfilled
        - if <player.flag[BedTime]> {
            - potion blindness <player> d:5 p:3
            - if <player.in_group[Cathar]> {
                - ^teleport  l@9177,30,5992,world
                - wait 3
                - run CatharIntro as:n@67
                - narrate "<blue>New Quest Objective<&co> <gold>Find Aris at the docks of Cathar"
                - flag <player> BedTime:!
                }
            - if <player.in_group[Orgoroth]> {
                - ^teleport  l@1207,31,6055,world
                - wait 3
                - run OrgIntro as:n@77
                - narrate "<blue>New Quest Objective<&co> <gold>Find Urghat in Orgoroth"
                - flag <player> BedTime:!
                }
            - if <player.in_group[Roskgrod]> {
                - ^teleport  l@3753,32,2270,world
                - wait 3
                - run RoskIntro as:n@76
                - narrate "<blue>New Quest Objective<&co> <gold>Find Searos in Roskgrod"
                - flag <player> BedTime:!
                }
            - if <player.in_group[Rhovan]> {
                - ^teleport  l@9177,30,5992,world
                - wait 3
                - narrate "<blue>New Quest Objective<&co> <gold>Find Hadra in Rhovan"
                - flag <player> BedTime:!
                }
            - if <player.in_group[Lindorthell]> {
                - ^teleport  l@6767,30,7381,world
                - wait 3
                - run LindIntro as:n@75
                - narrate "<blue>New Quest Objective<&co> <gold>Exit the boat"
                - flag <player> BedTime:!
                }
            }
# +----------------------------------
# |   Setgroup Command
# +----------------------------------
        on setgroup command:
        - determine passively fulfilled
        - if <player.has_permissions[setgroup.staff.mod]> {
            - if <context.args.get[2].is[==].to[moderator]> || <context.args.get[2].is[==].to[moda]> || <context.args.get[2].is[==].to[CM]> || <context.args.get[2].is[==].to[Head_Architect]> || <context.args.get[2].is[==].to[Grand_Architect]> || <context.args.get[2].is[==].to[Youtube]> || <context.args.get[2].is[==].to[LoreMaster]> || <context.args.get[2].is[==].to[Event_Team]> || <context.args.get[2].is[==].to[Plugin_Dev]> || <context.args.get[2].is[==].to[CD]> || <context.args.get[2].is[==].to[Admin]> || <context.args.get[2].is[==].to[Owner]> {
                - narrate "<red>You do not have permisson to alter this group"
                } else execute as_server "sync console all manuadd <context.parsed_args.get[1]> <context.parsed_args.get[2]>"
                - narrate '<green><context.parsed_args.get[1]> was added to <context.parsed_args.get[2]> in all servers' 
            }
        - if <player.has_permissions[setgroup.staff.admin]> {
            - execute as_server "sync console all manuadd <context.parsed_args.get[1]> <context.parsed_args.get[2]>"
            - narrate '<green><context.parsed_args.get[1]> was added to <context.parsed_args.get[2]> in all servers' 
            }
        on sg command:
        - determine passively fulfilled
        - if <player.has_permissions[setgroup.staff.mod]> {
            - if <context.args.get[2].is[==].to[moderator]> || <context.args.get[2].is[==].to[moda]> || <context.args.get[2].is[==].to[CM]> || <context.args.get[2].is[==].to[Head_Architect]> || <context.args.get[2].is[==].to[Grand_Architect]> || <context.args.get[2].is[==].to[Youtube]> || <context.args.get[2].is[==].to[LoreMaster]> || <context.args.get[2].is[==].to[Event_Team]> || <context.args.get[2].is[==].to[Plugin_Dev]> || <context.args.get[2].is[==].to[CD]> || <context.args.get[2].is[==].to[Admin]> || <context.args.get[2].is[==].to[Owner]> {
                - narrate "<red>You do not have permisson to alter this group"
                } else execute as_server "sync console all manuadd <context.parsed_args.get[1]> <context.parsed_args.get[2]>"
                - narrate "<green><context.parsed_args.get[1]> was added to <context.parsed_args.get[2]> in all servers"
            }
        - if <player.has_permissions[setgroup.staff.admin]> {
            - execute as_server "sync console all manuadd <context.parsed_args.get[1]> <context.parsed_args.get[2]>"
            - narrate "<green><context.parsed_args.get[1]> was added to <context.parsed_args.get[2]> in all servers"
            }
# +----------------------------------
# |   Reset Char Command
# +----------------------------------
        on resetchar command:
        - determine passively fulfilled
        - if <player.has_permissions[char.reset]> {
          - execute as_server "manudelsub <context.parsed_args.get[1]> GenderMale"
          - execute as_server "manudelsub <context.parsed_args.get[1]> GenderFemale"
          - execute as_server "manudelsub <context.parsed_args.get[1]> Adan"
          - execute as_server "manudelsub <context.parsed_args.get[1]> Eylaed"
          - execute as_server "manudelsub <context.parsed_args.get[1]> Druin"
          - execute as_server "manudelsub <context.parsed_args.get[1]> Anfang"
          - execute as_server "manudelsub <context.parsed_args.get[1]> Glamog"
          - execute as_server "manudelsub <context.parsed_args.get[1]> Mahreki"
          - execute as_server "manudelsub <context.parsed_args.get[1]> Perian"
          - execute as_server "manudelsub <context.parsed_args.get[1]> Cathar"
          - execute as_server "manudelsub <context.parsed_args.get[1]> Lindorthell"
          - execute as_server "manudelsub <context.parsed_args.get[1]> Roskgrod"
          - execute as_server "manudelsub <context.parsed_args.get[1]> Orgoroth"
          - execute as_server "manudelsub <context.parsed_args.get[1]> Alchemist"
          - execute as_server "manudelsub <context.parsed_args.get[1]> Cook"
          - execute as_server "manudelsub <context.parsed_args.get[1]> Blacksmith"
          - execute as_server "manudelsub <context.parsed_args.get[1]> Enchanter"
          - execute as_server "manudelsub <context.parsed_args.get[1]> Engineer"
          - execute as_server "manudelsub <context.parsed_args.get[1]> Farmer"
          - execute as_server "manudelsub <context.parsed_args.get[1]> Guard"
          - execute as_server "manudelsub <context.parsed_args.get[1]> Hunter"
          - execute as_server "manudelsub <context.parsed_args.get[1]> Lumberjack"
          - execute as_server "manudelsub <context.parsed_args.get[1]> Miner"
          - execute as_server "manudelsub <context.parsed_args.get[1]> Shipwright"
          - execute as_server "manudelsub <context.parsed_args.get[1]> Leader"
          - execute as_server "sudo <context.parsed_args.get[1]> town leave"
          - execute as_server "ci <context.parsed_args.get[1]>"
          - execute as_server "removename <context.parsed_args.get[1]>"
          - flag <context.parsed_args.get[1]> portal:!
          - flag <context.parsed_args.get[1]> QUEST_A_NEW_STORY_BEGINS:!
          - flag <context.parsed_args.get[1]> QUEST_A_NEW_STORY_BEGINS_COMPLETED:!
          - flag <context.parsed_args.get[1]> Quest_A_New_Story_Begins_Lindorthell:!
          - flag <context.parsed_args.get[1]> Quest_A_New_Story_Begins_Rhovan:!
          - flag <context.parsed_args.get[1]> Quest_A_New_Story_Begins_Roskgrod:!
          - flag <context.parsed_args.get[1]> Quest_A_New_Story_Begins_Orgoroth:!
          - flag <context.parsed_args.get[1]> Quest_A_New_Story_Begins_Cathar:!
          - flag <context.parsed_args.get[1]> QUEST_GEARING_UP:!
          - flag <context.parsed_args.get[1]> QUEST_A_BAD_INITIATION:!
          - flag <context.parsed_args.get[1]> INSUBORDINATE:!
          - flag <context.parsed_args.get[1]> KEPT_ITEMS:!
          - flag <context.parsed_args.get[1]> CATHAR_REPUTATION:!
          - flag <context.parsed_args.get[1]> GotSecondProfession:!
          - flag <context.parsed_args.get[1]> nick:!
          - zap step:1 script:CATHAR_STEWARD_SCRIPT player:p@<context.parsed_args.get[1]>
          - zap step:1 script:LINDORTHELL_STEWARD_SCRIPT player:p@<context.parsed_args.get[1]>
          - zap step:1 script:ROSKGROD_STEWARD_SCRIPT player:p@<context.parsed_args.get[1]>
          - zap step:1 script:RHOVAN_STEWARD_SCRIPT player:p@<context.parsed_args.get[1]>
          - zap step:1 script:ORGOROTH_STEWARD_SCRIPT player:p@<context.parsed_args.get[1]>
          - zap step:1 script:INTROSCRIPT player:p@<context.parsed_args.get[1]>
          - zap step:1 script:ARIS_SCRIPT player:p@<context.parsed_args.get[1]>
          - zap step:1 script:CATHARINTRO player:p@<context.parsed_args.get[1]>
          - zap step:1 script:GUARD player:p@<context.parsed_args.get[1]>
          - zap step:1 script:LINDINTRO player:p@<context.parsed_args.get[1]>
          - zap step:1 script:DOCKWORKER_SCRIPT player:p@<context.parsed_args.get[1]>
          - zap step:1 script:PORTOFFICAL_SCRIPT player:p@<context.parsed_args.get[1]>
          - execute as_server "tppos <context.parsed_args.get[1]> 229 30 9815"
          - narrate "<green><context.parsed_args.get[1]>'s Character was reset"
          }
# +----------------------------------
# |   New Character
# +----------------------------------
        on char new command:
        - determine passively fulfilled
        - if <player.flag[Characters].asint> == 1 || !<player.flag[Characters]> {
          - flag player Characters:2
# |   Reseting flags
          - flag <context.parsed_args.get[1]> QUEST_A_NEW_STORY_BEGINS:!
          - flag <context.parsed_args.get[1]> QUEST_A_NEW_STORY_BEGINS_COMPLETED:!
          - flag <context.parsed_args.get[1]> Quest_A_New_Story_Begins_Lindorthell:!
          - flag <context.parsed_args.get[1]> Quest_A_New_Story_Begins_Rhovan:!
          - flag <context.parsed_args.get[1]> Quest_A_New_Story_Begins_Roskgrod:!
          - flag <context.parsed_args.get[1]> Quest_A_New_Story_Begins_Orgoroth:!
          - flag <context.parsed_args.get[1]> Quest_A_New_Story_Begins_Cathar:!
          - flag <context.parsed_args.get[1]> QUEST_A_BAD_INITIATION:!
          - zap step:1 script:CATHAR_STEWARD_SCRIPT player:p@<context.parsed_args.get[1]>
          - zap step:1 script:LINDORTHELL_STEWARD_SCRIPT player:p@<context.parsed_args.get[1]>
          - zap step:1 script:ROSKGROD_STEWARD_SCRIPT player:p@<context.parsed_args.get[1]>
          - zap step:1 script:RHOVAN_STEWARD_SCRIPT player:p@<context.parsed_args.get[1]>
          - zap step:1 script:ORGOROTH_STEWARD_SCRIPT player:p@<context.parsed_args.get[1]>
          - zap step:1 script:INTROSCRIPT player:p@<context.parsed_args.get[1]>
          - zap step:1 script:ARIS_SCRIPT player:p@<context.parsed_args.get[1]>
          - zap step:1 script:CATHARINTRO player:p@<context.parsed_args.get[1]>
          - zap step:1 script:GUARD player:p@<context.parsed_args.get[1]>
          - zap step:1 script:LINDINTRO player:p@<context.parsed_args.get[1]>
          - zap step:1 script:DOCKWORKER_SCRIPT player:p@<context.parsed_args.get[1]>
          - zap step:1 script:PORTOFFICAL_SCRIPT player:p@<context.parsed_args.get[1]>
# |   Saving Inventory
          - define Char1_Items_List li@
          - foreach <context.inventory.list_contents.full> {
            - define list <def[Char1_Items_List].include[%value%]>
            }
          - flag player Char1_Items:%Char1_Items_List%
          - execute as_server "ci <player.name>"
# |   Saving Location
          - flag player Char1_Location:<player.location>
# |   Saving and removing Permissions
          - if <player.in_group[GenderMale]> {
            - flag player Char1_Male
            - execute as_server "manudelsub <player.name> GenderMale"
            }
          - if <player.in_group[GenderFemale]> {
            - flag player Char1_Female
            - execute as_server "manudelsub <player.name> GenderFemale"
            }
          - if <player.in_group[Adan]> {
            - flag player Char1_Adan
            - execute as_server "manudelsub <player.name> Adan"
            }
          - if <player.in_group[Eylaed]> {
            - flag player Char1_Eylaed
            - execute as_server "manudelsub <player.name> Eylaed"
            }
          - if <player.in_group[Druin]> {
            - flag player Char1_Druin
            - execute as_server "manudelsub <player.name> Druin"
            }
          - if <player.in_group[Anfang]> {
            - flag player Char1_Anfang
            - execute as_server "manudelsub <player.name> Anfang"
            }
          - if <player.in_group[Glamog]> {
            - flag player Char1_Glamog
            - execute as_server "manudelsub <player.name> Glamog"
            }
          - if <player.in_group[Mahreki]> {
            - flag player Char1_Mahreki
            - execute as_server "manudelsub <player.name> Mahreki"
            }
          - if <player.in_group[Perian]> {
            - flag player Char1_Perian
            - execute as_server "manudelsub <player.name> Perian"
            }
          - if <player.in_group[Cathar]> {
            - flag player Char1_Cathar
            - execute as_server "manudelsub <player.name> Cathar"
            }
          - if <player.in_group[Lindorthell]> {
            - flag player Char1_Lindorthell
            - execute as_server "manudelsub <player.name> Lindorthell"
            }
          - if <player.in_group[Roskgrod]> {
            - flag player Char1_Roskgrod
            - execute as_server "manudelsub <player.name> Roskgrod"
            }
          - if <player.in_group[Orgoroth]> {
            - flag player Char1_Orgoroth
            - execute as_server "manudelsub <player.name> Orgoroth"
            }
          - if <player.in_group[Miner]> {
            - flag player Char1_Miner
            - execute as_server "manudelsub <player.name> Miner"
            }
          - if <player.in_group[Lumberjack]> {
            - flag player Char1_Lumberjack
            - execute as_server "manudelsub <player.name> Lumberjack"
            }
          - if <player.in_group[Farmer]> {
            - flag player Char1_Farmer
            - execute as_server "manudelsub <player.name> Farmer"
            }
          - if <player.in_group[Hunter]> {
            - flag player Char1_Hunter
            - execute as_server "manudelsub <player.name> Hunter"
            }
          - if <player.in_group[Engineer]> {
            - flag player Char1_Engineer
            - execute as_server "manudelsub <player.name> Engineer"
            }
          - if <player.in_group[Cook]> {
            - flag player Char1_Cook
            - execute as_server "manudelsub <player.name> Cook"
            }
          - if <player.in_group[Alchemist]> {
            - flag player Char1_Alchemist
            - execute as_server "manudelsub <player.name> Alchemist"
            }
          - if <player.in_group[Enchanter]> {
            - flag player Char1_Enchanter
            - execute as_server "manudelsub <player.name> Enchanter"
            }
          - if <player.in_group[Blacksmith]> {
            - flag player Char1_Blacksmith
            - execute as_server "manudelsub <player.name> Blacksmith"
            }
          - if <player.in_group[Leader]> {
            - flag player Char1_Leader
            - execute as_server "manudel <player.name>"
            }
# |   Setting up new Char
          - flag player Character:2
          - execute as_server "tppos <player.name> 229 30 9815"
          - narrate "<green>You succesfully created a new Character!"
          }
        - if <player.flag[Characters].asint> == 2 {
          - narrate "NO!"
          }
# +----------------------------------
# |   Witch Dies
# +----------------------------------
        on deadwitch command:
            - if <server.flag[deadwitch_cooldown]> queue clear
            - flag server deadwitch_cooldown duration:1t
            - determine passively fulfilled
            - run Dead_Witch as:n@39 delay:1t
# +----------------------------------
# |   Help and tickets
# +----------------------------------
        on help command:
            - determine passively fulfilled
            - execute as_server "sudo <player.name> menu open ticket_menu"
        on h command:
            - determine passively fulfilled
            - if <player.in_group[Architect]> {
              - execute as_server "sudo <player.name> menu open Architect_Menu"
              }
            - if <player.in_group[Mod]> {
              - execute as_server "sudo <player.name> menu open Architect_Menu"
              }
            - if <player.in_group[Admin]> || <player.in_group[Owner]> {
              - execute as_server "sudo <player.name> menu open Architect_Menu"
              }
# +----------------------------------
# |   Gamemodes
# +----------------------------------
        on g command:
            - determine passively fulfilled
            - if <player.gamemode.id> == 1 {
              - execute as_server "sudo <player.name> gamemode survival"
              } else {
              - execute as_server "sudo <player.name> gamemode creative"
              }
# +----------------------------------
# |   Pets
# +----------------------------------
        on mypet command:
            - determine passively fulfilled
            - execute as_server "sudo <player.name> menu open pet_menu"
# +----------------------------------
# |   Warp Commands
# +----------------------------------
        on cathar command:
            - determine passively fulfilled
            - execute as_server "sudo <player.name> warp cathar"
        on roskgrod command:
            - determine passively fulfilled
            - execute as_server "sudo <player.name> warp roskgrod"
        on lindorthell command:
            - determine passively fulfilled
            - execute as_server "sudo <player.name> warp lindorthell"
        on orgoroth command:
            - determine passively fulfilled
            - execute as_server "sudo <player.name> warp orgoroth"
# +----------------------------------
# |   Upgrades
# +----------------------------------
        on upgradefarmhouse command:
        - determine passively fulfilled
        - if <player.flag[farmhouse].asint> == 1 {
            - narrate "<red>Upgrading your house will cost:"
            - narrate "<red>Do you wish to proceed?"
            }
        - if <player.flag[farmhouse].asint> == 2 {
            - narrate "<red>Upgrading your house will cost:"
            - narrate "<red>Do you wish to proceed?"
            }
        - if <player.flag[farmhouse].asint> == 3 {
            - narrate "<red>Upgrading your house will cost:"
            - narrate "<red>Do you wish to proceed?"
            }
        - if <player.flag[farmhouse].asint> == 4 {
            - narrate "There's no more upgrades"
            }
# +----------------------------------
# |   Reputation Command
# +----------------------------------
        on reputation command:
        - determine passively fulfilled
        - narrate "<Dark_Green> Reputation<&co>"
        - if <player.flag[CATHAR_REPUTATION]> >= 1 {
            - narrate "<blue> Cathar reputatio<&co> <gold> <player.flag[CATHAR_REPUTATION].as_int>"
            }
        - if <player.flag[ORGOROTH_REPUTATION]> >= 1 {
            - narrate "<blue> Orgoroth reputatio<&co> <gold> <player.flag[ORGOROTH_REPUTATION].as_int>"
            }
        - if <player.flag[ROSKGROD_REPUTATION]> >= 1 {
            - narrate "<blue> Roskgrod reputatio<&co> <gold> <player.flag[ROSKGROD_REPUTATION].as_int>"
            }
        - if <player.flag[Rhovan_REPUTATION]> >= 1 {
            - narrate "<blue> Rhovan reputatio<&co> <gold> <player.flag[Rhovan_REPUTATION].as_int>"
            }
        - if <player.flag[Lindorthell_REPUTATION]> >= 1 {
            - narrate "<blue> Lindorthell reputatio<&co> <gold> <player.flag[Lindorthell_REPUTATION].as_int>"
            }
# +----------------------------------
# |   Quest Log
# +----------------------------------
        on quest command:
            - determine passively fulfilled
            - narrate "<blue>Quest Log:"
# +----------------------------------
# |   Quest: A New Story Begins
# +----------------------------------
            - if <player.flag[Quest_A_New_Story_Begins]> == true {
                - if <player.flag[Quest_A_New_Story_Begins_1]> == true {
                    - wait 1
                    - narrate "<gold>===================================="
                    - narrate format:Quest "A New Story Begins" 
                    - narrate format:QuestObj "Talk to the old man." 
                    - narrate "<red>Hint<&co> You can write in chat to talk to him."
                    - narrate "<red>Hint<&co> You can right click any NPC for help text."
                  }
                - if <player.flag[Quest_A_New_Story_Begins_Cathar]> == true {
                    - wait 1
                    - narrate "<gold>===================================="
                    - narrate format:Quest "A New Story Begins"
                    - narrate format:QuestObj "Get Some Rest"
                    - narrate format:QuestObj "Find Aris in Cathar"
                  }
                - if <player.flag[Quest_A_New_Story_Begins_Orgoroth]> == true {
                    - wait 1
                    - narrate "<gold>===================================="
                    - narrate format:Quest "A New Story Begins"
                    - narrate format:QuestObj "Get Some Rest"
                    - narrate format:QuestObj "Find Urghat in Orgoroth"
                  }
                - if <player.flag[Quest_A_New_Story_Begins_Roskgrod]> == true {
                    - wait 1
                    - narrate "<gold>===================================="
                    - narrate format:Quest "A New Story Begins"
                    - narrate format:QuestObj "Get Some Rest"
                    - narrate format:QuestObj "Find Searos in Roskgrod"
                  }
                - if <player.flag[Quest_A_New_Story_Begins_Rhovan]> == true {
                    - wait 1
                    - narrate "<gold>===================================="
                    - narrate format:Quest "A New Story Begins"
                    - narrate format:QuestObj "Get Some Rest"
                    - narrate format:QuestObj "Find Hadra in Rhovan"
                  }
                - if <player.flag[Quest_A_New_Story_Begins_Lindorthell]> == true {
                    - wait 1
                    - narrate "<gold>===================================="
                    - narrate format:Quest "A New Story Begins"
                    - narrate format:QuestObj "Get Some Rest"
                    - narrate format:QuestObj "Find Elendil in Lindorthell"
                  }
              }
# +----------------------------------
# |   Quest: Gearing Up - Cathar
# +----------------------------------
            - if <player.flag[Quest_Gearing_Up]> == true {
                - if <player.flag[Quest_Gearing_Up].asint> == 0 {
                    - wait 1
                    - narrate "<gold>===================================="
                    - narrate format:Quest "Gearing Up"
                    - narrate format:QuestObj "Take the supplies to the Guardhouse."
                  }
                - if <player.flag[Quest_Gearing_Up].asint> == 1 {
                    - wait 1
                    - narrate "<gold>===================================="
                    - narrate format:Quest "Gearing Up"
                    - narrate format:QuestObj "Find Aris at the Barracks in Cathar."
                  }
              }