ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/maps/scorn/anthony/portgate.map
Revision: 1.15
Committed: Thu Jan 8 19:16:36 2009 UTC (15 years, 6 months ago) by root
Branch: MAIN
CVS Tags: rel-2_81, rel-2_80, rel-2_76, rel-2_77, rel-2_75, rel-2_79, rel-2_78
Changes since 1.14: +85 -172 lines
Log Message:
convert portgate to mapscript

File Contents

# User Rev Content
1 root 1.1 arch map
2 root 1.6 file_format_version 1
3 root 1.2 name portgate
4     width 18
5     height 13
6 root 1.1 msg
7     Creator: Anthony Thyssen
8     Email: anthony@cit.gu.edu.au
9     Date: Mon Dec 28 11:08:59 1998
10     endmsg
11     outdoor 1
12     end
13 root 1.2 arch invis_exit
14 root 1.12 slaying *scorn_anthony_portgate_exit_port
15 root 1.2 end
16 root 1.1 arch cobblestones2
17     end
18 root 1.2 arch invis_exit
19 root 1.12 slaying *scorn_anthony_portgate_exit_port
20 root 1.2 y 1
21     end
22 root 1.1 arch cobblestones2
23     y 1
24     end
25 root 1.2 arch invis_exit
26 root 1.12 slaying *scorn_anthony_portgate_exit_port
27 root 1.2 y 2
28     end
29 root 1.1 arch cobblestones2
30     y 2
31     end
32     arch grass
33     y 3
34     end
35     arch mine2
36     y 3
37     end
38     arch grass
39     y 4
40     end
41     arch grass
42     y 5
43     end
44     arch grass
45     y 6
46     end
47     arch grass
48     y 7
49     end
50     arch grass
51     y 8
52     end
53     arch grass
54     y 9
55     end
56 root 1.2 arch invis_exit
57 root 1.12 slaying *scorn_anthony_portgate_exit_city
58 root 1.2 y 10
59     end
60 root 1.1 arch grass
61     y 10
62     end
63 root 1.2 arch invis_exit
64 root 1.12 slaying *scorn_anthony_portgate_exit_city
65 root 1.2 y 11
66     end
67 root 1.1 arch brush
68     y 11
69     end
70 root 1.2 arch invis_exit
71 root 1.12 slaying *scorn_anthony_portgate_exit_city
72 root 1.2 y 12
73     end
74 root 1.1 arch grass
75     y 12
76     end
77 root 1.2 arch invis_exit
78 root 1.12 slaying *scorn_anthony_portgate_exit_port
79 root 1.2 x 1
80     end
81 root 1.1 arch cobblestones2
82     x 1
83     end
84     arch cobblestones2
85     x 1
86     y 1
87     end
88     arch cobblestones2
89     x 1
90     y 2
91     end
92     arch cave_7
93     x 1
94     y 2
95     end
96     arch grass
97     x 1
98     y 3
99     end
100     arch mine14
101     x 1
102     y 3
103     end
104     arch grass
105     x 1
106     y 4
107     end
108     arch cave_9
109     x 1
110     y 4
111     end
112     arch grass
113     x 1
114     y 5
115     end
116     arch brush
117     x 1
118     y 6
119     end
120     arch brush
121     x 1
122     y 7
123     end
124     arch grass
125     x 1
126     y 8
127     end
128     arch cave_7
129     x 1
130     y 8
131     end
132     arch grass
133     x 1
134     y 9
135     end
136     arch mine3
137     x 1
138     y 9
139     end
140     arch grass
141     x 1
142     y 10
143     end
144     arch cave_9
145     x 1
146     y 10
147     end
148     arch grass
149     x 1
150     y 11
151     end
152 root 1.2 arch invis_exit
153 root 1.12 slaying *scorn_anthony_portgate_exit_city
154 root 1.2 x 1
155     y 12
156     end
157 root 1.1 arch brush
158     x 1
159     y 12
160     end
161 root 1.2 arch invis_exit
162 root 1.12 slaying *scorn_anthony_portgate_exit_port
163 root 1.2 x 2
164     end
165 root 1.1 arch cobblestones2
166     x 2
167     end
168     arch cobblestones2
169     x 2
170     y 1
171     end
172     arch cobblestones2
173     x 2
174     y 2
175     end
176     arch mine13
177     x 2
178     y 2
179     end
180     arch dungeon_floor
181     x 2
182     y 3
183     end
184     arch chest
185     x 2
186     y 3
187     end
188     arch grass
189     x 2
190     y 4
191     end
192     arch mine16
193     x 2
194     y 4
195     end
196     arch dungeon_magic
197     x 2
198     y 5
199     end
200     arch grass
201     x 2
202     y 5
203     end
204     arch mine3
205     x 2
206     y 5
207     end
208     arch dungeon_magic
209     x 2
210     y 6
211     end
212     arch grass
213     x 2
214     y 6
215     end
216     arch mine3
217     x 2
218     y 6
219     end
220     arch dungeon_magic
221     x 2
222     y 7
223     end
224     arch grass
225     x 2
226     y 7
227     end
228     arch mine3
229     x 2
230     y 7
231     end
232     arch dungeon_magic
233     x 2
234     y 8
235     end
236     arch grass
237     x 2
238     y 8
239     end
240     arch mine17
241     x 2
242     y 8
243     end
244     arch dungeon_magic
245     x 2
246     y 9
247     end
248     arch grass
249     x 2
250     y 9
251     end
252     arch mine17
253     x 2
254     y 9
255     end
256     arch grass
257     x 2
258     y 10
259     end
260     arch mine2
261     x 2
262     y 10
263     end
264     arch grass
265     x 2
266     y 11
267     end
268 root 1.2 arch invis_exit
269 root 1.12 slaying *scorn_anthony_portgate_exit_city
270 root 1.2 x 2
271     y 12
272     end
273 root 1.1 arch grass
274     x 2
275     y 12
276     end
277 root 1.2 arch invis_exit
278 root 1.12 slaying *scorn_anthony_portgate_exit_port
279 root 1.2 x 3
280     end
281 root 1.1 arch cobblestones2
282     x 3
283     end
284     arch cobblestones2
285     x 3
286     y 1
287     end
288     arch cobblestones2
289     x 3
290     y 2
291     end
292     arch cave_8
293     x 3
294     y 2
295     end
296     arch dungeon_floor
297     x 3
298     y 3
299     end
300 root 1.15 arch mine4
301 root 1.1 x 3
302     y 3
303     end
304     arch dungeon_floor
305     x 3
306     y 4
307     end
308     arch high_boots
309     x 3
310     y 4
311     end
312     arch plate_mail
313     x 3
314     y 4
315     end
316     arch shield
317     x 3
318     y 4
319     end
320     arch sword
321     x 3
322     y 4
323     end
324     arch bed_1
325     x 3
326     y 4
327     end
328     arch corpse
329     name sleeping guard
330     x 3
331     y 4
332     end
333     arch dungeon_magic
334     x 3
335     y 5
336     end
337     arch woodfloor
338     x 3
339     y 5
340     end
341     arch mine17
342     x 3
343     y 5
344     end
345     arch dungeon_magic
346     x 3
347     y 6
348     end
349     arch woodfloor
350     x 3
351     y 6
352     end
353     arch mine7
354     x 3
355     y 6
356     end
357     arch dungeon_magic
358     x 3
359     y 7
360     end
361     arch woodfloor
362     x 3
363     y 7
364     end
365     arch card
366     name Gate Pass
367 root 1.2 slaying gate_pass
368 root 1.1 msg
369     The holder of this card is allowed free
370     access into and out of the City of Scorn
371     to the rest of the continent without
372     further charges and penalities. The City
373     of Scorn reserves the right to revoke
374     said access at any time of its choosing
375     without recompence or liability.
376     endmsg
377 root 1.2 x 3
378     y 7
379 root 1.1 value 800
380     identified 1
381     end
382     arch dungeon_magic
383     x 3
384     y 8
385     end
386     arch woodfloor
387     x 3
388     y 8
389     end
390     arch dungeon_magic
391     x 3
392     y 9
393     end
394     arch woodfloor
395     x 3
396     y 9
397     end
398     arch mine17
399     x 3
400     y 9
401     end
402     arch grass
403     x 3
404     y 10
405     end
406     arch cave_10
407     x 3
408     y 10
409     end
410     arch brush
411     x 3
412     y 11
413     end
414     arch lamppost
415     x 3
416     y 11
417     end
418 root 1.2 arch invis_exit
419 root 1.12 slaying *scorn_anthony_portgate_exit_city
420 root 1.2 x 3
421     y 12
422     end
423 root 1.1 arch grass
424     x 3
425     y 12
426     end
427 root 1.2 arch invis_exit
428 root 1.12 slaying *scorn_anthony_portgate_exit_port
429 root 1.2 x 4
430     end
431 root 1.1 arch cobblestones2
432     x 4
433     end
434     arch cobblestones2
435     x 4
436     y 1
437     end
438     arch cobblestones2
439     x 4
440     y 2
441     end
442     arch dungeon_floor
443     x 4
444     y 3
445     end
446     arch mine2
447     x 4
448     y 3
449     end
450     arch dungeon_floor
451     x 4
452     y 4
453     end
454     arch bed_1
455     x 4
456     y 4
457     end
458     arch dungeon_magic
459     x 4
460     y 5
461     end
462     arch woodfloor
463     x 4
464     y 5
465     end
466     arch mine2
467     x 4
468     y 5
469     end
470     arch dungeon_magic
471     x 4
472     y 6
473     end
474     arch woodfloor
475     x 4
476     y 6
477     end
478     arch card
479     name Port Pass
480 root 1.2 slaying port_pass
481 root 1.1 msg
482     This is a merchants pass allowing payed
483     access between the City of Scorn and the
484     Port of Scorn, for the purposes of trade
485     and commerce. Animal or plants entering
486     the city of scorn must be quarantined in
487     the Quarantine Warehouse in the port
488     area.
489     endmsg
490 root 1.2 x 4
491     y 6
492 root 1.1 value 2500
493     identified 1
494     end
495     arch dungeon_magic
496     x 4
497     y 7
498     end
499     arch woodfloor
500     x 4
501     y 7
502     end
503     arch dungeon_magic
504     x 4
505     y 8
506     end
507     arch woodfloor
508     x 4
509     y 8
510     end
511     arch dungeon_magic
512     x 4
513     y 9
514     end
515     arch invis_exit
516     slaying passoffice
517     x 4
518     y 9
519     end
520     arch woodfloor
521     x 4
522     y 9
523     end
524     arch cobblestones2
525     x 4
526     y 10
527     end
528     arch cobblestones2
529     x 4
530     y 11
531     end
532 root 1.2 arch invis_exit
533 root 1.12 slaying *scorn_anthony_portgate_exit_city
534 root 1.2 x 4
535     y 12
536     end
537 root 1.1 arch grass
538     x 4
539     y 12
540     end
541 root 1.2 arch invis_exit
542 root 1.12 slaying *scorn_anthony_portgate_exit_port
543 root 1.2 x 5
544     end
545 root 1.1 arch cobblestones2
546     x 5
547     end
548     arch cobblestones2
549     x 5
550     y 1
551     end
552     arch cobblestones2
553     x 5
554     y 2
555     end
556     arch lamppost
557     x 5
558     y 2
559     end
560     arch dungeon_floor
561     x 5
562     y 3
563     end
564     arch mine2
565     x 5
566     y 3
567     end
568     arch dungeon_floor
569     x 5
570     y 4
571     end
572     arch bed_1
573     x 5
574     y 4
575     end
576     arch dungeon_magic
577     x 5
578     y 5
579     end
580     arch woodfloor
581     x 5
582     y 5
583     end
584     arch mine17
585     x 5
586     y 5
587     end
588     arch dungeon_magic
589     x 5
590     y 6
591     end
592     arch woodfloor
593     x 5
594     y 6
595     end
596     arch mine4
597     x 5
598     y 6
599     end
600     arch dungeon_magic
601     x 5
602     y 7
603     end
604     arch woodfloor
605     x 5
606     y 7
607     end
608     arch sign
609     name Office for Gate Passes
610     msg
611     Office for Gate Passes
612     endmsg
613     x 5
614     y 7
615     end
616     arch dungeon_magic
617     x 5
618     y 8
619     end
620     arch woodfloor
621     x 5
622     y 8
623     end
624     arch dungeon_magic
625     x 5
626     y 9
627     end
628     arch woodfloor
629     x 5
630     y 9
631     end
632     arch mine6
633     x 5
634     y 9
635     end
636     arch brush
637     x 5
638     y 10
639     end
640     arch sign
641     name Office for Gate Passes
642     msg
643     Office for Gate Passes
644     endmsg
645     x 5
646     y 10
647     end
648     arch cobblestones2
649     x 5
650     y 11
651     end
652 root 1.2 arch invis_exit
653 root 1.12 slaying *scorn_anthony_portgate_exit_city
654 root 1.2 x 5
655     y 12
656     end
657 root 1.1 arch grass
658     x 5
659     y 12
660     end
661 root 1.2 arch invis_exit
662 root 1.12 slaying *scorn_anthony_portgate_exit_port
663 root 1.2 x 6
664     end
665 root 1.1 arch cobblestones2
666     x 6
667     end
668     arch cobblestones2
669     x 6
670     y 1
671     end
672     arch cobblestones2
673     x 6
674     y 2
675     end
676     arch guard
677     name gatehouse guard
678     msg
679 sf-asarth 1.9 @match pass|people|who
680     Yes you can only pass if you are
681     * Have a merchants ``Port Pass''
682 pippijn 1.13 * Are a known ``G<Hero|Heroine> of Scorn''
683 sf-asarth 1.9 * or know todays password.
684     @match hero
685 pippijn 1.13 Only the king can grant `G<Hero|Heroine>' status.
686 root 1.4 @match pass|port
687 sf-asarth 1.9 See the Office of Gate Passes.
688 root 1.4 @match passwd|password
689 root 1.1 I am not allow to tell you the password.
690 sf-asarth 1.9 @match chain
691 root 1.15 @trigger 12 2
692 sf-asarth 1.9 Oh, you know the password! You must be a citizen of
693     scorn. Pass Citizen.
694 root 1.1 @match *
695 sf-asarth 1.9 Only certain people may pass.
696 root 1.1 endmsg
697 root 1.2 x 6
698     y 2
699 sf-asarth 1.9 speed_left -0.700000
700 root 1.1 friendly 1
701     unaggressive 0
702     end
703     arch dungeon_floor
704     x 6
705     y 3
706     end
707     arch mine7
708     x 6
709     y 3
710     end
711     arch dungeon_floor
712     x 6
713     y 4
714     end
715     arch door_look_2
716     x 6
717     y 4
718     arch rune_create_bomb
719     end
720     arch trap_needle
721     end
722     end
723     arch dungeon_magic
724     x 6
725     y 5
726     end
727     arch woodfloor
728     x 6
729     y 5
730     end
731     arch mine17
732     x 6
733     y 5
734     end
735     arch dungeon_magic
736     x 6
737     y 6
738     end
739     arch woodfloor
740     x 6
741     y 6
742     end
743     arch mine17
744     x 6
745     y 6
746     end
747     arch light3
748     x 6
749     y 6
750     end
751     arch dungeon_magic
752     x 6
753     y 7
754     end
755     arch woodfloor
756     x 6
757     y 7
758     end
759     arch mine11
760     x 6
761     y 7
762     end
763     arch dungeon_magic
764     x 6
765     y 8
766     end
767     arch woodfloor
768     x 6
769     y 8
770     end
771     arch mine11
772     x 6
773     y 8
774     end
775     arch dungeon_magic
776     x 6
777     y 9
778     end
779     arch dungeon_floor
780     x 6
781     y 9
782     end
783     arch mine12
784     x 6
785     y 9
786     end
787     arch grass
788     x 6
789     y 10
790     end
791     arch guard
792     name gatehouse guard
793     msg
794 root 1.4 @match pass|people|who
795 root 1.1 Yes you can only pass if you are
796     * Have a merchants ``Port Pass''
797 pippijn 1.13 * Are a known ``G<Hero|Heroine> of Scorn''
798 root 1.1 * or know todays password.
799 root 1.4 @match hero
800 pippijn 1.13 Only the king can grant `G<Hero|Heroine>' status.
801 root 1.4 @match pass|port
802 root 1.1 See the Office of Gate Passes.
803 root 1.4 @match passwd|password
804 root 1.1 I am not allow to tell you the password.
805 sf-asarth 1.9 @match chain
806 root 1.15 @trigger 12 2
807 sf-asarth 1.9 Oh, you know the password! You must be a citizen of
808     scorn. Pass Citizen.
809 root 1.1 @match *
810     Only certain people may pass.
811     endmsg
812 root 1.2 x 6
813     y 10
814 root 1.1 speed_left -0.700000
815     friendly 1
816     unaggressive 0
817     end
818     arch cobblestones2
819     x 6
820     y 11
821     end
822 root 1.2 arch invis_exit
823 root 1.12 slaying *scorn_anthony_portgate_exit_city
824 root 1.2 x 6
825     y 12
826     end
827 root 1.1 arch grass
828     x 6
829     y 12
830     end
831     arch invis_exit
832 root 1.12 slaying *scorn_anthony_portgate_exit_port
833 root 1.1 x 7
834     end
835     arch cobblestones2
836     x 7
837     end
838     arch cobblestones2
839     x 7
840     y 1
841     end
842     arch dungeon_floor
843     x 7
844     y 2
845     end
846     arch check_floor
847     slaying port_pass
848     x 7
849     y 2
850 root 1.2 connected 12
851 root 1.1 end
852     arch check_floor
853     slaying hero_of_scorn
854     x 7
855     y 2
856 root 1.15 connected 12
857 root 1.1 end
858     arch dungeon_floor
859     x 7
860     y 3
861     end
862     arch grate_closed_1
863     x 7
864     y 3
865 root 1.2 connected 10
866 root 1.1 end
867     arch magic_mouth
868     msg
869     A sign on the door says:
870     Private - No Entry
871     endmsg
872     x 7
873     y 4
874     end
875     arch dungeon_floor
876     x 7
877     y 4
878     end
879     arch dungeon_floor
880     x 7
881     y 5
882     end
883     arch guard
884     name gatehouse guard
885     msg
886     @match *
887     No Comment! Move along
888     endmsg
889 root 1.2 x 7
890     y 5
891 root 1.1 friendly 1
892     unaggressive 0
893     end
894     arch dungeon_floor
895     x 7
896     y 6
897     end
898     arch guard
899     name gatehouse guard
900     msg
901     @match *
902     No Comment! Move along
903     endmsg
904 root 1.2 x 7
905     y 6
906 root 1.1 friendly 1
907     unaggressive 0
908     end
909     arch dungeon_floor
910     x 7
911     y 7
912     end
913     arch guard
914     name gatehouse guard
915     msg
916     @match *
917     No Comment! Move along
918     endmsg
919 root 1.2 x 7
920     y 7
921 root 1.1 friendly 1
922     unaggressive 0
923     end
924     arch dungeon_floor
925     x 7
926     y 8
927     end
928     arch trigger
929     x 7
930     y 8
931 root 1.15 connected 12
932 root 1.1 end
933     arch dungeon_floor
934     x 7
935     y 9
936     end
937     arch grate_closed_1
938     x 7
939     y 9
940 root 1.2 connected 10
941 root 1.1 end
942     arch dungeon_floor
943     x 7
944     y 10
945     end
946     arch check_floor
947     slaying port_pass
948     x 7
949     y 10
950 root 1.2 connected 12
951 root 1.1 end
952     arch check_floor
953     slaying hero_of_scorn
954     x 7
955     y 10
956 root 1.15 connected 12
957 root 1.1 end
958     arch cobblestones2
959     x 7
960     y 11
961     end
962     arch invis_exit
963 root 1.12 slaying *scorn_anthony_portgate_exit_city
964 root 1.1 x 7
965     y 12
966     end
967     arch cobblestones2
968     x 7
969     y 12
970     end
971     arch invis_exit
972 root 1.12 slaying *scorn_anthony_portgate_exit_port
973 root 1.1 x 8
974     end
975     arch cobblestones2
976     x 8
977     end
978     arch cobblestones2
979     x 8
980     y 1
981     end
982 root 1.12 arch tag
983     x 8
984     y 1
985     tag scorn_anthony_portgate_entrance
986     end
987 root 1.1 arch dungeon_floor
988     x 8
989     y 2
990     end
991     arch check_floor
992     slaying port_pass
993     x 8
994     y 2
995 root 1.2 connected 12
996 root 1.1 end
997     arch check_floor
998     slaying hero_of_scorn
999     x 8
1000     y 2
1001 root 1.15 connected 12
1002 root 1.1 end
1003     arch dungeon_floor
1004     x 8
1005     y 3
1006     end
1007     arch grate_closed_1
1008     x 8
1009     y 3
1010 root 1.2 connected 10
1011 root 1.1 end
1012     arch dungeon_floor
1013     x 8
1014     y 4
1015     end
1016     arch dungeon_floor
1017     x 8
1018     y 5
1019     end
1020     arch dungeon_floor
1021     x 8
1022     y 6
1023     end
1024     arch dungeon_floor
1025     x 8
1026     y 7
1027     end
1028     arch dungeon_floor
1029     x 8
1030     y 8
1031     end
1032     arch dungeon_floor
1033     x 8
1034     y 9
1035     end
1036     arch grate_closed_1
1037     x 8
1038     y 9
1039 root 1.2 connected 10
1040 root 1.1 end
1041     arch dungeon_floor
1042     x 8
1043     y 10
1044     end
1045     arch check_floor
1046     slaying port_pass
1047     x 8
1048     y 10
1049 root 1.2 connected 12
1050 root 1.1 end
1051     arch check_floor
1052     slaying hero_of_scorn
1053     x 8
1054     y 10
1055 root 1.15 connected 12
1056 root 1.1 end
1057     arch cobblestones2
1058     x 8
1059     y 11
1060     end
1061     arch invis_exit
1062 root 1.12 slaying *scorn_anthony_portgate_exit_city
1063 root 1.1 x 8
1064     y 12
1065     end
1066     arch cobblestones2
1067     x 8
1068     y 12
1069     end
1070     arch invis_exit
1071 root 1.12 slaying *scorn_anthony_portgate_exit_port
1072 root 1.1 x 9
1073     end
1074     arch cobblestones2
1075     x 9
1076     end
1077     arch cobblestones2
1078     x 9
1079     y 1
1080     end
1081     arch dungeon_floor
1082     x 9
1083     y 2
1084     end
1085     arch check_floor
1086     slaying port_pass
1087     x 9
1088     y 2
1089 root 1.2 connected 12
1090 root 1.1 end
1091     arch check_floor
1092     slaying hero_of_scorn
1093     x 9
1094     y 2
1095 root 1.15 connected 12
1096 root 1.1 end
1097     arch dungeon_floor
1098     x 9
1099     y 3
1100     end
1101     arch grate_closed_1
1102     x 9
1103     y 3
1104 root 1.2 connected 10
1105 root 1.1 end
1106     arch dungeon_floor
1107     x 9
1108     y 4
1109     end
1110     arch dungeon_floor
1111     x 9
1112     y 5
1113     end
1114     arch dungeon_floor
1115     x 9
1116     y 6
1117     end
1118     arch dungeon_floor
1119     x 9
1120     y 7
1121     end
1122     arch dungeon_floor
1123     x 9
1124     y 8
1125     end
1126     arch dungeon_floor
1127     x 9
1128     y 9
1129     end
1130     arch grate_closed_1
1131     x 9
1132     y 9
1133 root 1.2 connected 10
1134 root 1.1 end
1135     arch dungeon_floor
1136     x 9
1137     y 10
1138     end
1139     arch check_floor
1140     slaying port_pass
1141     x 9
1142     y 10
1143 root 1.2 connected 12
1144 root 1.1 end
1145     arch check_floor
1146     slaying hero_of_scorn
1147     x 9
1148     y 10
1149 root 1.15 connected 12
1150 root 1.1 end
1151     arch cobblestones2
1152     x 9
1153     y 11
1154     end
1155 root 1.12 arch tag
1156     x 9
1157     y 11
1158     tag scorn_anthony_portgate+8+12
1159     end
1160 root 1.1 arch invis_exit
1161 root 1.12 slaying *scorn_anthony_portgate_exit_city
1162 root 1.1 x 9
1163     y 12
1164     end
1165     arch cobblestones2
1166     x 9
1167     y 12
1168     end
1169     arch invis_exit
1170 root 1.12 slaying *scorn_anthony_portgate_exit_port
1171 root 1.1 x 10
1172     end
1173     arch cobblestones2
1174     x 10
1175     end
1176     arch cobblestones2
1177     x 10
1178     y 1
1179     end
1180     arch dungeon_floor
1181     x 10
1182     y 2
1183     end
1184     arch check_floor
1185     slaying port_pass
1186     x 10
1187     y 2
1188 root 1.2 connected 12
1189 root 1.1 end
1190     arch check_floor
1191     slaying hero_of_scorn
1192     x 10
1193     y 2
1194 root 1.15 connected 12
1195 root 1.1 end
1196     arch dungeon_floor
1197     x 10
1198     y 3
1199     end
1200     arch grate_closed_1
1201     x 10
1202     y 3
1203 root 1.2 connected 10
1204 root 1.1 end
1205     arch dungeon_floor
1206     x 10
1207     y 4
1208     end
1209     arch trigger
1210     x 10
1211     y 4
1212 root 1.15 connected 12
1213 root 1.1 end
1214     arch dungeon_floor
1215     x 10
1216     y 5
1217     end
1218     arch guard
1219     name gatehouse guard
1220     msg
1221     @match *
1222     No Comment! Move along
1223     endmsg
1224 root 1.2 x 10
1225     y 5
1226 root 1.1 friendly 1
1227     unaggressive 0
1228     end
1229     arch dungeon_floor
1230     x 10
1231     y 6
1232     end
1233     arch guard
1234     name gatehouse guard
1235     msg
1236     @match *
1237     No Comment! Move along
1238     endmsg
1239 root 1.2 x 10
1240     y 6
1241 root 1.1 friendly 1
1242     unaggressive 0
1243     end
1244     arch dungeon_floor
1245     x 10
1246     y 7
1247     end
1248     arch guard
1249     name gatehouse guard
1250     msg
1251     @match *
1252     No Comment! Move along
1253     endmsg
1254 root 1.2 x 10
1255     y 7
1256 root 1.1 friendly 1
1257     unaggressive 0
1258     end
1259     arch dungeon_floor
1260     x 10
1261     y 8
1262     end
1263     arch dungeon_floor
1264     x 10
1265     y 9
1266     end
1267     arch grate_closed_1
1268     x 10
1269     y 9
1270 root 1.2 connected 10
1271 root 1.1 end
1272     arch dungeon_floor
1273     x 10
1274     y 10
1275     end
1276     arch check_floor
1277     slaying port_pass
1278     x 10
1279     y 10
1280 root 1.2 connected 12
1281 root 1.1 end
1282     arch check_floor
1283     slaying hero_of_scorn
1284     x 10
1285     y 10
1286 root 1.15 connected 12
1287 root 1.1 end
1288     arch cobblestones2
1289     x 10
1290     y 11
1291     end
1292     arch invis_exit
1293 root 1.12 slaying *scorn_anthony_portgate_exit_city
1294 root 1.1 x 10
1295     y 12
1296     end
1297     arch cobblestones2
1298     x 10
1299     y 12
1300     end
1301 root 1.2 arch invis_exit
1302 root 1.12 slaying *scorn_anthony_portgate_exit_port
1303 root 1.2 x 11
1304     end
1305 root 1.1 arch cobblestones2
1306     x 11
1307     end
1308     arch cobblestones2
1309     x 11
1310     y 1
1311     end
1312     arch cobblestones2
1313     x 11
1314     y 2
1315     end
1316     arch guard
1317     name gatehouse guard
1318     msg
1319 sf-asarth 1.9 @match pass|people|who
1320     Yes you can only pass if you are
1321     * Have a merchants ``Port Pass''
1322 pippijn 1.13 * Are a known ``G<Hero|Heroine> of Scorn''
1323 sf-asarth 1.9 * or know todays password.
1324     @match hero
1325 pippijn 1.13 Only the king can grant `G<Hero|Heroine>' status.
1326 root 1.4 @match pass|port
1327 sf-asarth 1.9 See the Office of Gate Passes.
1328 root 1.4 @match passwd|password
1329 root 1.1 I am not allow to tell you the password.
1330 sf-asarth 1.9 @match chain
1331 root 1.15 @trigger 12 2
1332 sf-asarth 1.9 Oh, you know the password! You must be a citizen of
1333     scorn. Pass Citizen.
1334 root 1.1 @match *
1335 sf-asarth 1.9 Only certain people may pass.
1336 root 1.1 endmsg
1337 root 1.2 x 11
1338     y 2
1339 sf-asarth 1.9 speed_left -0.700000
1340 root 1.1 friendly 1
1341     unaggressive 0
1342     end
1343     arch dungeon_magic
1344     x 11
1345     y 3
1346     end
1347     arch dungeon_floor
1348     x 11
1349     y 3
1350     end
1351     arch mine10
1352     x 11
1353     y 3
1354     end
1355     arch dungeon_magic
1356     x 11
1357     y 4
1358     end
1359     arch dungeon_floor
1360     x 11
1361     y 4
1362     end
1363     arch mine11
1364     x 11
1365     y 4
1366     end
1367     arch dungeon_magic
1368     x 11
1369     y 5
1370     end
1371     arch dungeon_floor
1372     x 11
1373     y 5
1374     end
1375     arch mine11
1376     x 11
1377     y 5
1378     end
1379     arch dungeon_magic
1380     x 11
1381     y 6
1382     end
1383     arch dungeon_floor
1384     x 11
1385     y 6
1386     end
1387     arch mine11
1388     x 11
1389     y 6
1390     end
1391     arch light3
1392     x 11
1393     y 6
1394     end
1395     arch dungeon_magic
1396     x 11
1397     y 7
1398     end
1399     arch dungeon_floor
1400     x 11
1401     y 7
1402     end
1403     arch mine11
1404     x 11
1405     y 7
1406     end
1407     arch dungeon_magic
1408     x 11
1409     y 8
1410     end
1411     arch dungeon_floor
1412     x 11
1413     y 8
1414     end
1415     arch mine11
1416     x 11
1417     y 8
1418     end
1419     arch dungeon_magic
1420     x 11
1421     y 9
1422     end
1423     arch grass
1424     x 11
1425     y 9
1426     end
1427     arch dungeon_floor
1428     x 11
1429     y 9
1430     end
1431     arch mine4
1432     x 11
1433     y 9
1434     end
1435     arch grass
1436     x 11
1437     y 10
1438     end
1439     arch guard
1440     name gatehouse guard
1441     msg
1442 root 1.4 @match pass|people|who
1443 root 1.1 Yes you can only pass if you are
1444     * Have a merchants ``Port Pass''
1445 pippijn 1.13 * Are a known ``G<Hero|Heroine> of Scorn''
1446 root 1.1 * or know todays password.
1447 root 1.4 @match hero
1448 pippijn 1.13 Only the king can grant `G<Hero|Heroine>' status.
1449 root 1.4 @match pass|port
1450 root 1.1 See the Office of Gate Passes.
1451 root 1.4 @match passwd|password
1452 root 1.1 I am not allow to tell you the password.
1453 sf-asarth 1.9 @match chain
1454 root 1.15 @trigger 12 2
1455 sf-asarth 1.9 Oh, you know the password! You must be a citizen of
1456     scorn. Pass Citizen.
1457 root 1.1 @match *
1458     Only certain people may pass.
1459     endmsg
1460 root 1.2 x 11
1461     y 10
1462 root 1.1 speed_left -0.700000
1463     friendly 1
1464     unaggressive 0
1465     end
1466     arch grass
1467     x 11
1468     y 11
1469     end
1470 root 1.2 arch invis_exit
1471 root 1.12 slaying *scorn_anthony_portgate_exit_city
1472 root 1.2 x 11
1473     y 12
1474     end
1475 root 1.1 arch grass
1476     x 11
1477     y 12
1478     end
1479 root 1.2 arch invis_exit
1480 root 1.12 slaying *scorn_anthony_portgate_exit_port
1481 root 1.2 x 12
1482     end
1483 root 1.1 arch cobblestones2
1484     x 12
1485     end
1486     arch cobblestones2
1487     x 12
1488     y 1
1489     end
1490     arch cobblestones2
1491     x 12
1492     y 2
1493     end
1494     arch lamppost
1495     x 12
1496     y 2
1497     end
1498     arch dungeon_magic
1499     x 12
1500     y 3
1501     end
1502 root 1.15 arch mine17
1503 root 1.1 x 12
1504     y 3
1505     end
1506 root 1.15 arch mine17
1507 root 1.1 x 12
1508     y 4
1509     end
1510 root 1.15 arch mine17
1511 root 1.1 x 12
1512     y 5
1513     end
1514 root 1.15 arch mine17
1515 root 1.1 x 12
1516     y 6
1517     end
1518 root 1.15 arch mine17
1519 root 1.1 x 12
1520     y 7
1521     end
1522 root 1.15 arch mine17
1523 root 1.1 x 12
1524     y 8
1525     end
1526     arch dungeon_magic
1527     x 12
1528     y 9
1529     end
1530     arch grass
1531     x 12
1532     y 9
1533     end
1534     arch mine13
1535     x 12
1536     y 9
1537     end
1538     arch grass
1539     x 12
1540     y 10
1541     end
1542     arch lamppost
1543     x 12
1544     y 10
1545     end
1546     arch grass
1547     x 12
1548     y 11
1549     end
1550 root 1.2 arch invis_exit
1551 root 1.12 slaying *scorn_anthony_portgate_exit_city
1552 root 1.2 x 12
1553     y 12
1554     end
1555 root 1.1 arch brush
1556     x 12
1557     y 12
1558     end
1559 root 1.2 arch invis_exit
1560 root 1.12 slaying *scorn_anthony_portgate_exit_port
1561 root 1.2 x 13
1562     end
1563 root 1.1 arch cobblestones2
1564     x 13
1565     end
1566     arch cobblestones2
1567     x 13
1568     y 1
1569     end
1570     arch cobblestones2
1571     x 13
1572     y 2
1573     end
1574     arch dungeon_magic
1575     x 13
1576     y 3
1577     end
1578 root 1.15 arch mine17
1579 root 1.1 x 13
1580     y 3
1581     end
1582 root 1.15 arch mine17
1583 root 1.1 x 13
1584     y 4
1585     end
1586 root 1.15 arch mine17
1587 root 1.1 x 13
1588     y 5
1589     end
1590 root 1.15 arch mine17
1591 root 1.1 x 13
1592     y 6
1593     end
1594 root 1.15 arch mapscript
1595     msg
1596     if ($activator == $self) {
1597     # timer
1598     if ($self->{state} == 1) {
1599     $self->{state} = 2;
1600     timer $self, 10;
1601     trigger 10, 1;
1602     } else {
1603     $self->{state} = 0;
1604     trigger 10, 0;
1605     }
1606     } elsif (!$self->{state}) {
1607     $self->{state} = 1;
1608     timer $self, 1;
1609    
1610     if ($activator) {
1611     if ($activator->slaying eq "hero_of_scorn") {
1612     $self->say_msg (<<EOF);
1613     The guard, seeing that the G<Hero|Heroine> approaches,
1614     runs to turn the handle to open the gate.
1615     EOF
1616     } elsif ($activator->slaying eq "port_pass") {
1617     $self->say_msg (<<EOF);
1618     On seeing you have a port pass the guard
1619     turns a rusty handle and says...
1620     Everything appears in order. Pass friend.
1621     EOF
1622     } elsif ($state == 2) { # npcs
1623     # say nothing, as the npc doubtlessly already did so
1624     } else {
1625     # lever, also quiet
1626     }
1627    
1628     $self->say_msg (<<EOF);
1629     You hear from behind the eastern wall,
1630     a loud noise as ancient machinery is
1631     set in motion to move the rusty gates.
1632     EOF
1633     }
1634     } else {
1635     # gate already down or moving down currently
1636     }
1637     endmsg
1638 root 1.1 x 13
1639 root 1.15 y 7
1640 root 1.2 connected 12
1641 root 1.15 activate_on_push 1
1642     activate_on_release 1
1643 root 1.1 end
1644 root 1.15 arch mine17
1645 root 1.1 x 13
1646     y 8
1647     end
1648     arch dungeon_magic
1649     x 13
1650     y 9
1651     end
1652     arch grass
1653     x 13
1654     y 9
1655     end
1656     arch mine2
1657     x 13
1658     y 9
1659     end
1660     arch grass
1661     x 13
1662     y 10
1663     end
1664     arch brush
1665     x 13
1666     y 11
1667     end
1668 root 1.2 arch invis_exit
1669 root 1.12 slaying *scorn_anthony_portgate_exit_city
1670 root 1.2 x 13
1671     y 12
1672     end
1673 root 1.1 arch grass
1674     x 13
1675     y 12
1676     end
1677 root 1.2 arch invis_exit
1678 root 1.12 slaying *scorn_anthony_portgate_exit_port
1679 root 1.2 x 14
1680     end
1681 root 1.1 arch cobblestones2
1682     x 14
1683     end
1684     arch cobblestones2
1685     x 14
1686     y 1
1687     end
1688     arch cobblestones2
1689     x 14
1690     y 2
1691     end
1692     arch cave_7
1693     x 14
1694     y 2
1695     end
1696     arch dungeon_magic
1697     x 14
1698     y 3
1699     end
1700 root 1.15 arch mine17
1701 root 1.1 x 14
1702     y 3
1703     end
1704 root 1.15 arch mine17
1705 root 1.1 x 14
1706     y 4
1707     end
1708 root 1.15 arch mine17
1709 root 1.1 x 14
1710     y 5
1711     end
1712 root 1.15 arch mine17
1713 root 1.1 x 14
1714     y 6
1715     end
1716 root 1.15 arch mine17
1717 root 1.1 x 14
1718     y 7
1719     end
1720 root 1.15 arch mine17
1721 root 1.1 x 14
1722     y 8
1723     end
1724     arch dungeon_magic
1725     x 14
1726     y 9
1727     end
1728     arch grass
1729     x 14
1730     y 9
1731     end
1732     arch mine14
1733     x 14
1734     y 9
1735     end
1736     arch grass
1737     x 14
1738     y 10
1739     end
1740     arch cave_9
1741     x 14
1742     y 10
1743     end
1744     arch grass
1745     x 14
1746     y 11
1747     end
1748 root 1.2 arch invis_exit
1749 root 1.12 slaying *scorn_anthony_portgate_exit_city
1750 root 1.2 x 14
1751     y 12
1752     end
1753 root 1.1 arch grass
1754     x 14
1755     y 12
1756     end
1757 root 1.2 arch invis_exit
1758 root 1.12 slaying *scorn_anthony_portgate_exit_port
1759 root 1.2 x 15
1760     end
1761 root 1.1 arch cobblestones2
1762     x 15
1763     end
1764     arch cobblestones2
1765     x 15
1766     y 1
1767     end
1768     arch cobblestones2
1769     x 15
1770     y 2
1771     end
1772     arch mine17
1773     x 15
1774     y 2
1775     end
1776     arch dungeon_magic
1777     x 15
1778     y 3
1779     end
1780     arch mine17
1781     x 15
1782     y 3
1783     end
1784     arch dungeon_magic
1785     x 15
1786     y 4
1787     end
1788 root 1.15 arch mine17
1789 root 1.1 x 15
1790     y 4
1791     end
1792 root 1.15 arch mine17
1793 root 1.1 x 15
1794     y 5
1795     end
1796 root 1.15 arch mine17
1797 root 1.1 x 15
1798     y 6
1799     end
1800 root 1.15 arch mine17
1801 root 1.1 x 15
1802     y 7
1803     end
1804 root 1.15 arch mine17
1805 root 1.1 x 15
1806     y 8
1807     end
1808     arch dungeon_magic
1809     x 15
1810     y 9
1811     end
1812     arch mine17
1813     x 15
1814     y 9
1815     end
1816     arch grass
1817     x 15
1818     y 10
1819     end
1820     arch mine2
1821     x 15
1822     y 10
1823     end
1824     arch grass
1825     x 15
1826     y 11
1827     end
1828 root 1.2 arch invis_exit
1829 root 1.12 slaying *scorn_anthony_portgate_exit_city
1830 root 1.2 x 15
1831     y 12
1832     end
1833 root 1.1 arch grass
1834     x 15
1835     y 12
1836     end
1837 root 1.2 arch invis_exit
1838 root 1.12 slaying *scorn_anthony_portgate_exit_port
1839 root 1.2 x 16
1840     end
1841 root 1.1 arch cobblestones2
1842     x 16
1843     end
1844     arch invis_exit
1845     x 16
1846     y 1
1847     end
1848     arch cobblestones2
1849     x 16
1850     y 1
1851     end
1852     arch chole_1
1853     x 16
1854     y 1
1855     end
1856     arch rock
1857     x 16
1858     y 1
1859     end
1860     arch cobblestones2
1861     x 16
1862     y 2
1863     end
1864     arch cave_8
1865     x 16
1866     y 2
1867     end
1868     arch grass
1869     x 16
1870     y 3
1871     end
1872 root 1.15 arch mine17
1873 root 1.1 x 16
1874     y 3
1875     end
1876     arch brush
1877     x 16
1878     y 4
1879     end
1880     arch cave_10
1881     x 16
1882     y 4
1883     end
1884     arch grass
1885     x 16
1886     y 5
1887     end
1888     arch grass
1889     x 16
1890     y 6
1891     end
1892     arch grass
1893     x 16
1894     y 7
1895     end
1896     arch grass
1897     x 16
1898     y 8
1899     end
1900     arch cave_8
1901     x 16
1902     y 8
1903     end
1904     arch grass
1905     x 16
1906     y 9
1907     end
1908     arch mine17
1909     x 16
1910     y 9
1911     end
1912     arch brush
1913     x 16
1914     y 10
1915     end
1916     arch cave_10
1917     x 16
1918     y 10
1919     end
1920     arch brush
1921     x 16
1922     y 11
1923     end
1924 root 1.2 arch invis_exit
1925 root 1.12 slaying *scorn_anthony_portgate_exit_city
1926 root 1.2 x 16
1927     y 12
1928     end
1929 root 1.1 arch grass
1930     x 16
1931     y 12
1932     end
1933 root 1.2 arch invis_exit
1934 root 1.12 slaying *scorn_anthony_portgate_exit_port
1935 root 1.2 x 17
1936     end
1937 root 1.1 arch cobblestones2
1938     x 17
1939     end
1940 root 1.2 arch invis_exit
1941 root 1.12 slaying *scorn_anthony_portgate_exit_port
1942 root 1.2 x 17
1943     y 1
1944     end
1945 root 1.1 arch cobblestones2
1946     x 17
1947     y 1
1948     end
1949 root 1.2 arch invis_exit
1950 root 1.12 slaying *scorn_anthony_portgate_exit_port
1951 root 1.2 x 17
1952     y 2
1953     end
1954 root 1.1 arch cobblestones2
1955     x 17
1956     y 2
1957     end
1958     arch grass
1959     x 17
1960     y 3
1961     end
1962     arch mine2
1963     x 17
1964     y 3
1965     end
1966     arch grass
1967     x 17
1968     y 4
1969     end
1970     arch brush
1971     x 17
1972     y 5
1973     end
1974     arch grass
1975     x 17
1976     y 6
1977     end
1978     arch brush
1979     x 17
1980     y 7
1981     end
1982     arch grass
1983     x 17
1984     y 8
1985     end
1986     arch grass
1987     x 17
1988     y 9
1989     end
1990 root 1.2 arch invis_exit
1991 root 1.12 slaying *scorn_anthony_portgate_exit_city
1992 root 1.2 x 17
1993     y 10
1994     end
1995 root 1.1 arch grass
1996     x 17
1997     y 10
1998     end
1999 root 1.2 arch invis_exit
2000 root 1.12 slaying *scorn_anthony_portgate_exit_city
2001 root 1.2 x 17
2002     y 11
2003     end
2004 root 1.1 arch grass
2005     x 17
2006     y 11
2007     end
2008 root 1.2 arch invis_exit
2009 root 1.12 slaying *scorn_anthony_portgate_exit_city
2010 root 1.2 x 17
2011     y 12
2012     end
2013 root 1.1 arch grass
2014     x 17
2015     y 12
2016     end