ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/maps/test/anthony/raffles_cascade.map
Revision: 1.6
Committed: Wed Feb 7 01:36:01 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
CVS Tags: post_fixaltar, post_fixaltar2, rel-2_82, rel-2_81, rel-2_80, pre_coinconvert, rel-3_0, rel-2_6, rel-2_7, rel-2_4, rel-2_5, rel-2_2, rel-2_0, rel-2_1, rel-2_72, rel-2_73, rel-2_71, rel-2_76, rel-2_77, rel-2_74, rel-2_75, rel-2_54, rel-2_55, rel-2_56, rel-2_79, rel-2_53, rel-2_32, pre_fixconverter, post_coinconvert, pre_fixaltar2, pre_map_rename, rel-2_90, rel-2_92, rel-2_93, rel-2_78, post_fixconverter, pre_fixaltar, rel-2_61, rel-2_43, rel-2_42, rel-2_41, HEAD
Changes since 1.5: +1 -2 lines
Log Message:
replace most material types by named materials, also normalised maps again

File Contents

# Content
1 arch map
2 file_format_version 1
3 name raffle
4 width 18
5 height 18
6 msg
7 Creator: Anthony Thyssen
8 Email: anthony@cit.gu.edu.au
9 Date: Tue Dec 22 21:07:40 1998
10 endmsg
11 stand_still 1
12 value 5
13 weight 3600
14 end
15 arch dwall_2_2_2
16 y 1
17 end
18 arch dwall_2_1_1
19 y 2
20 end
21 arch cwall_1_2
22 y 3
23 end
24 arch dwall_2_2_2
25 x 1
26 end
27 arch dwall_3_4
28 x 1
29 y 1
30 end
31 arch swall_2_2_1
32 x 1
33 y 2
34 end
35 arch sign
36 name Raffles Random Prize Selector
37 msg
38 This map was pulled out of the pup_land
39 raffles map, and all non-escential
40 `fluff' removed to allow easier study
41 of the gadget. In other words it was
42 stolen for study purposes! :-)
43 --
44 I do hope the author treats this as a
45 complement as that is how I feel.
46 This is what I call a ``boulder cascade''
47 which rolls a boulder in sequence until
48 it falls onto a random prize button.
49 The prizes above are in order of how
50 commonly they would be picked by this
51 generator (supposally).
52 That is the first prise should be
53 given out approximatally 50% of the
54 time, while the last two (which have
55 equal chance) are almost never ever
56 given out.
57 endmsg
58 x 1
59 y 4
60 end
61 arch dwall_2_1_2
62 x 2
63 end
64 arch pit_closed
65 hp 3
66 sp 13
67 x 2
68 y 1
69 connected 1
70 end
71 arch bolt_silk
72 name tissue paper
73 face tissu.x11
74 x 2
75 y 1
76 materialname paper
77 end
78 arch swall_2_1_2
79 x 2
80 y 2
81 end
82 arch sign
83 name Boulders, and Gates
84 msg
85 This `gadget' works because boulders
86 (and other items) will roll off a
87 closing gate and randomly into a
88 non-blocked square.
89 UNDER each gate (except at the start)
90 are two buttons, one which will close
91 the gate the boulder is currently
92 sitting on and one to keep the previous
93 gate closed until the boulder has moved
94 on. (See ``Multiple Buttons'' sign)
95 When the boulder finally leaves the
96 gate sequence the large button triggers
97 the appropriate pit so the prize can be
98 retrived.
99 endmsg
100 x 2
101 y 5
102 end
103 arch sign
104 name Multiple Buttons
105 msg
106 Under each gate in this ``boulder
107 cascade'', are two buttons.
108 To keep the boulder moving in the right
109 direction one button keeps the previous
110 gate closed (no back tracking by
111 boulder), and the other closes the gate
112 the boulder currently sits on.
113 Small buttons are used as the `trigger
114 weight' of the button is also the
115 weight of the button itself!
116 That is if you stick two plain buttons
117 (trigger weight 1) on top of each other,
118 the top button will be off (no weight
119 on it), but the second one underneath
120 will be activated by the weight of the
121 first button (weight 1)!
122 As such to make this work the buttons
123 trigger value must be equal to the
124 trigger weight of ALL the buttons above
125 it, plus one more. EG: first button: 1,
126 second: 1+1 -> 2, third: 1+2+1 -> 4.
127 Actually the sequence is
128 trigger weight = button depth ** 2
129 EG: 1, 2, 4, 8, 16, 32, 64,... etc
130 to however many small buttons you need
131 on top of each other.
132 With this formular any object with some
133 weight can could used, from a light
134 peice of paper, a gold piece, shield,
135 or even a player (which has to move or
136 get continuously crushed :-)
137 endmsg
138 x 2
139 y 6
140 end
141 arch sign
142 name Trapdoors and Teleports
143 msg
144 Trapdoors are NOT exact but places
145 objects within the 3x3 square of
146 destination, unless blocked. They are
147 however `connectable'.
148 Teleports however are `exact' for
149 delivery, but are not `connectable'
150 or can be turned off.
151 So to make a exact deliver of an item
152 to a table when the appropriate button
153 is pressed, a trapdoor places itme on
154 a teleport, with the surrounding
155 squares blocked. The teleport then
156 exactly places itme on the table.
157 endmsg
158 x 2
159 y 7
160 end
161 arch sign
162 name Extra Fluff Required
163 msg
164 Before this `gadget' and other such
165 gadgets in this directory can be used
166 (and this one is used in raffles),
167 a certain about of extra `fluff' needs
168 to be added...
169 * A floor needs to be inserted under
170 amost all objects, but above the
171 boulder cascade, small buttons.
172 * ``No Spells'' must also be added
173 under everything to prevent the use
174 of dimension door (any other spells?)
175 * Due to a a bug (now fixed), pets
176 were able to walk through walls!
177 To fix this raffles has an
178 ``furious_floor'', to de-pet pets.
179 * A ``chaos'' floor was also added
180 inside the boulder cascade, to kill
181 such wandering pets.
182 --
183 Thanks to : Hisanobu Okuda
184 <Hisanobu_Okuda@mbj.mercedes-benz.com>
185 for the explaination on the last two
186 `fluff' items
187 endmsg
188 x 2
189 y 8
190 end
191 arch sign
192 name WARNING..
193 msg
194 Warning, in server 95.1 the item
195 retrival code does NOT work.
196 The trapdoor under the items will open,
197 but nothing will fall through.
198 Arrrggghhh..
199
200 Also a `pet' bug in version 94.x means
201 extra `fluff' is required. EG:
202 angry or furious floors, and a chaos
203 floor inside the cascade.
204 (See previous sign).
205 endmsg
206 x 2
207 y 9
208 end
209 arch swall_2_2_2
210 x 2
211 y 12
212 end
213 arch swall_2_1_1
214 x 2
215 y 13
216 end
217 arch swall_2_2_1
218 x 2
219 y 14
220 end
221 arch dwall_2_1_2
222 x 3
223 end
224 arch pit_closed
225 hp 3
226 sp 13
227 x 3
228 y 1
229 connected 2
230 end
231 arch potion_improve
232 x 3
233 y 1
234 end
235 arch swall_2_1_2
236 x 3
237 y 2
238 end
239 arch sign
240 name Other Boulder Cascades
241 msg
242 Note a cascade such as this could be
243 looped around to provide a repeated
244 sequence of events.
245 The smallest such cascade loop is 4
246 long, but only works fitfully as the
247 gates don't get a chance to fully reset
248 before the boulder rolls around again.
249 The next longest is 6 unit loop, which
250 works estreamly well.
251 Also see other gadget test maps in this
252 directory.
253 endmsg
254 x 3
255 y 5
256 end
257 arch swall_2_1_2
258 x 3
259 y 12
260 end
261 arch teleporter
262 hp 9
263 sp 12
264 x 3
265 y 13
266 end
267 arch swall_2_1_2
268 x 3
269 y 14
270 end
271 arch dwall_2_1_2
272 x 4
273 end
274 arch pit_closed
275 hp 3
276 sp 13
277 x 4
278 y 1
279 connected 3
280 end
281 arch random_talisman
282 x 4
283 y 1
284 end
285 arch swall_2_1_2
286 x 4
287 y 2
288 end
289 arch swall_2_2_3
290 x 4
291 y 12
292 end
293 arch swall_2_1_1
294 x 4
295 y 13
296 end
297 arch swall_2_2_4
298 x 4
299 y 14
300 end
301 arch dwall_2_1_2
302 x 5
303 end
304 arch pit_closed
305 hp 3
306 sp 13
307 x 5
308 y 1
309 connected 4
310 end
311 arch gem
312 title of exceptional beauty
313 face pretty_crystal.x11
314 is_animated 0
315 x 5
316 y 1
317 speed 0.000000
318 nrof 10
319 value 10000
320 weight 65
321 end
322 arch swall_2_1_2
323 x 5
324 y 2
325 end
326 arch swall_2_2_2
327 x 5
328 y 7
329 end
330 arch swall_2_1_1
331 x 5
332 y 8
333 end
334 arch swall_3_2
335 x 5
336 y 9
337 end
338 arch swall_2_1_1
339 x 5
340 y 10
341 end
342 arch swall_2_2_1
343 x 5
344 y 11
345 end
346 arch dwall_2_1_2
347 x 6
348 end
349 arch pit_closed
350 hp 3
351 sp 13
352 x 6
353 y 1
354 connected 5
355 end
356 arch mithril_chainmail
357 x 6
358 y 1
359 end
360 arch swall_2_1_2
361 x 6
362 y 2
363 end
364 arch swall_2_2_2
365 x 6
366 y 6
367 end
368 arch swall_2_2_4
369 x 6
370 y 7
371 end
372 arch button_plate
373 x 6
374 y 8
375 connected 13
376 end
377 arch swall_1_3
378 x 6
379 y 9
380 end
381 arch button_plate
382 x 6
383 y 10
384 connected 14
385 end
386 arch swall_2_1_2
387 x 6
388 y 11
389 end
390 arch swall_2_2_2
391 x 6
392 y 15
393 end
394 arch swall_2_1_1
395 x 6
396 y 16
397 end
398 arch swall_2_2_1
399 x 6
400 y 17
401 end
402 arch dwall_2_1_2
403 x 7
404 end
405 arch pit_closed
406 hp 3
407 sp 13
408 x 7
409 y 1
410 connected 6
411 end
412 arch r_sack
413 x 7
414 y 1
415 end
416 arch swall_2_1_2
417 x 7
418 y 2
419 end
420 arch swall_2_2_2
421 x 7
422 y 5
423 end
424 arch swall_2_2_4
425 x 7
426 y 6
427 end
428 arch button_plate
429 x 7
430 y 7
431 connected 12
432 end
433 arch swall_0
434 x 7
435 y 8
436 end
437 arch button_small
438 x 7
439 y 9
440 weight 2
441 connected 115
442 end
443 arch button_small
444 x 7
445 y 9
446 connected 114
447 end
448 arch grate_open_2
449 x 7
450 y 9
451 speed 0.500000
452 value 1
453 connected 115
454 end
455 arch swall_2_2_2
456 x 7
457 y 10
458 end
459 arch swall_2_2_4
460 x 7
461 y 11
462 end
463 arch button_lever
464 name Start
465 x 7
466 y 14
467 connected 100
468 end
469 arch swall_2_1_2
470 x 7
471 y 15
472 end
473 arch grate_open_2
474 x 7
475 y 16
476 speed 0.500000
477 value 1
478 connected 100
479 end
480 arch boulder
481 x 7
482 y 16
483 end
484 arch swall_2_1_2
485 x 7
486 y 17
487 end
488 arch dwall_2_1_2
489 x 8
490 end
491 arch pit_closed
492 hp 3
493 sp 13
494 x 8
495 y 1
496 connected 7
497 end
498 arch key2
499 name raffle key No.2
500 slaying raffle_key_No2
501 x 8
502 y 1
503 end
504 arch swall_2_1_2
505 x 8
506 y 2
507 end
508 arch swall_2_1_2
509 x 8
510 y 5
511 end
512 arch button_plate
513 x 8
514 y 6
515 connected 11
516 end
517 arch swall_0
518 x 8
519 y 7
520 end
521 arch button_small
522 x 8
523 y 8
524 weight 2
525 connected 114
526 end
527 arch button_small
528 x 8
529 y 8
530 connected 113
531 end
532 arch grate_open_2
533 x 8
534 y 8
535 speed 0.500000
536 value 1
537 connected 114
538 end
539 arch swall_2_2_2
540 x 8
541 y 9
542 end
543 arch swall_2_2_4
544 x 8
545 y 10
546 end
547 arch swall_2_1_2
548 x 8
549 y 15
550 end
551 arch button_small
552 x 8
553 y 16
554 connected 102
555 end
556 arch grate_open_2
557 x 8
558 y 16
559 speed 0.500000
560 value 1
561 connected 102
562 end
563 arch swall_2_1_2
564 x 8
565 y 17
566 end
567 arch dwall_2_1_2
568 x 9
569 end
570 arch pit_closed
571 hp 3
572 sp 13
573 x 9
574 y 1
575 connected 8
576 end
577 arch battle_axe
578 x 9
579 y 1
580 end
581 arch swall_2_1_2
582 x 9
583 y 2
584 end
585 arch swall_3_3
586 x 9
587 y 5
588 end
589 arch swall_1_2
590 x 9
591 y 6
592 end
593 arch button_small
594 x 9
595 y 7
596 weight 2
597 connected 113
598 end
599 arch button_small
600 x 9
601 y 7
602 connected 112
603 end
604 arch grate_open_2
605 x 9
606 y 7
607 speed 0.500000
608 value 1
609 connected 113
610 end
611 arch swall_1_1
612 x 9
613 y 8
614 end
615 arch swall_3_1
616 x 9
617 y 9
618 end
619 arch table
620 name Please get item here.
621 x 9
622 y 12
623 nrof 0
624 no_pick 1
625 end
626 arch swall_2_1_2
627 x 9
628 y 15
629 end
630 arch button_small
631 x 9
632 y 16
633 weight 2
634 connected 103
635 end
636 arch button_small
637 x 9
638 y 16
639 connected 102
640 end
641 arch grate_open_2
642 x 9
643 y 16
644 speed 0.500000
645 value 1
646 connected 103
647 end
648 arch swall_2_1_2
649 x 9
650 y 17
651 end
652 arch dwall_2_1_2
653 x 10
654 end
655 arch pit_closed
656 hp 3
657 sp 13
658 x 10
659 y 1
660 connected 9
661 end
662 arch u_horn
663 name gray unicorn horn
664 dam 5
665 x 10
666 y 1
667 speed 0.100000
668 attacktype 1
669 value 50000
670 weight 3000
671 magic 0
672 last_sp 1
673 identified 1
674 end
675 arch swall_2_1_2
676 x 10
677 y 2
678 end
679 arch swall_2_1_2
680 x 10
681 y 5
682 end
683 arch button_plate
684 x 10
685 y 6
686 connected 10
687 end
688 arch swall_0
689 x 10
690 y 7
691 end
692 arch button_small
693 x 10
694 y 8
695 weight 2
696 connected 112
697 end
698 arch button_small
699 x 10
700 y 8
701 connected 111
702 end
703 arch grate_open_2
704 x 10
705 y 8
706 speed 0.500000
707 value 1
708 connected 112
709 end
710 arch swall_2_2_3
711 x 10
712 y 9
713 end
714 arch swall_2_2_1
715 x 10
716 y 10
717 end
718 arch swall_2_2_2
719 x 10
720 y 14
721 end
722 arch swall_2_2_4
723 x 10
724 y 15
725 end
726 arch button_small
727 x 10
728 y 16
729 weight 2
730 connected 104
731 end
732 arch button_small
733 x 10
734 y 16
735 connected 103
736 end
737 arch grate_open_2
738 x 10
739 y 16
740 speed 0.500000
741 value 1
742 connected 104
743 end
744 arch swall_2_1_2
745 x 10
746 y 17
747 end
748 arch dwall_2_1_2
749 x 11
750 end
751 arch pit_closed
752 hp 3
753 sp 13
754 x 11
755 y 1
756 connected 10
757 end
758 arch k_dagger
759 x 11
760 y 1
761 end
762 arch swall_2_1_2
763 x 11
764 y 2
765 end
766 arch swall_2_2_3
767 x 11
768 y 5
769 end
770 arch swall_2_2_1
771 x 11
772 y 6
773 end
774 arch button_plate
775 x 11
776 y 7
777 connected 9
778 end
779 arch swall_0
780 x 11
781 y 8
782 end
783 arch button_small
784 x 11
785 y 9
786 weight 2
787 connected 111
788 end
789 arch button_small
790 x 11
791 y 9
792 connected 110
793 end
794 arch grate_open_2
795 x 11
796 y 9
797 speed 0.500000
798 value 1
799 connected 111
800 end
801 arch swall_2_2_3
802 x 11
803 y 10
804 end
805 arch swall_2_2_1
806 x 11
807 y 11
808 end
809 arch swall_2_2_2
810 x 11
811 y 13
812 end
813 arch swall_2_2_4
814 x 11
815 y 14
816 end
817 arch button_small
818 x 11
819 y 15
820 weight 2
821 connected 105
822 end
823 arch button_small
824 x 11
825 y 15
826 connected 104
827 end
828 arch grate_open_2
829 x 11
830 y 15
831 speed 0.500000
832 value 1
833 connected 105
834 end
835 arch swall_1_1
836 x 11
837 y 16
838 end
839 arch swall_3_1
840 x 11
841 y 17
842 end
843 arch dwall_2_1_2
844 x 12
845 end
846 arch pit_closed
847 hp 3
848 sp 13
849 x 12
850 y 1
851 connected 11
852 end
853 arch leather_armour
854 name Yoroi of Banzai
855 ac 4
856 x 12
857 y 1
858 resist_death 100
859 value 100000
860 weight 5000
861 armour 10
862 end
863 arch swall_2_1_2
864 x 12
865 y 2
866 end
867 arch swall_2_2_3
868 x 12
869 y 6
870 end
871 arch swall_2_2_1
872 x 12
873 y 7
874 end
875 arch button_plate
876 x 12
877 y 8
878 connected 8
879 end
880 arch swall_0
881 x 12
882 y 9
883 end
884 arch button_small
885 x 12
886 y 10
887 weight 2
888 connected 110
889 end
890 arch button_small
891 x 12
892 y 10
893 connected 109
894 end
895 arch grate_open_2
896 x 12
897 y 10
898 speed 0.500000
899 value 1
900 connected 110
901 end
902 arch swall_2_2_3
903 x 12
904 y 11
905 end
906 arch swall_3_2
907 x 12
908 y 12
909 end
910 arch swall_2_2_4
911 x 12
912 y 13
913 end
914 arch button_small
915 x 12
916 y 14
917 weight 2
918 connected 106
919 end
920 arch button_small
921 x 12
922 y 14
923 connected 105
924 end
925 arch grate_open_2
926 x 12
927 y 14
928 speed 0.500000
929 value 1
930 connected 106
931 end
932 arch swall_0
933 x 12
934 y 15
935 end
936 arch button_plate
937 x 12
938 y 16
939 connected 1
940 end
941 arch swall_2_1_2
942 x 12
943 y 17
944 end
945 arch dwall_2_1_2
946 x 13
947 end
948 arch pit_closed
949 hp 3
950 sp 13
951 x 13
952 y 1
953 connected 12
954 end
955 arch masamune
956 x 13
957 y 1
958 end
959 arch swall_2_1_2
960 x 13
961 y 2
962 end
963 arch swall_2_2_3
964 x 13
965 y 7
966 end
967 arch swall_2_2_1
968 x 13
969 y 8
970 end
971 arch button_plate
972 x 13
973 y 9
974 connected 7
975 end
976 arch swall_0
977 x 13
978 y 10
979 end
980 arch button_small
981 x 13
982 y 11
983 weight 2
984 connected 109
985 end
986 arch button_small
987 x 13
988 y 11
989 connected 108
990 end
991 arch grate_open_2
992 x 13
993 y 11
994 speed 0.500000
995 value 1
996 connected 109
997 end
998 arch swall_1_3
999 x 13
1000 y 12
1001 end
1002 arch button_small
1003 x 13
1004 y 13
1005 weight 2
1006 connected 107
1007 end
1008 arch button_small
1009 x 13
1010 y 13
1011 connected 106
1012 end
1013 arch grate_open_2
1014 x 13
1015 y 13
1016 speed 0.500000
1017 value 1
1018 connected 107
1019 end
1020 arch swall_0
1021 x 13
1022 y 14
1023 end
1024 arch button_plate
1025 x 13
1026 y 15
1027 connected 2
1028 end
1029 arch swall_2_2_2
1030 x 13
1031 y 16
1032 end
1033 arch swall_2_2_4
1034 x 13
1035 y 17
1036 end
1037 arch dwall_2_1_2
1038 x 14
1039 end
1040 arch pit_closed
1041 hp 3
1042 sp 13
1043 x 14
1044 y 1
1045 connected 13
1046 end
1047 arch oilskin
1048 x 14
1049 y 1
1050 end
1051 arch swall_2_1_2
1052 x 14
1053 y 2
1054 end
1055 arch swall_2_2_3
1056 x 14
1057 y 8
1058 end
1059 arch swall_2_2_1
1060 x 14
1061 y 9
1062 end
1063 arch button_plate
1064 x 14
1065 y 10
1066 connected 6
1067 end
1068 arch swall_0
1069 x 14
1070 y 11
1071 end
1072 arch button_small
1073 x 14
1074 y 12
1075 weight 2
1076 connected 108
1077 end
1078 arch button_small
1079 x 14
1080 y 12
1081 connected 107
1082 end
1083 arch grate_open_2
1084 x 14
1085 y 12
1086 speed 0.500000
1087 value 1
1088 connected 108
1089 end
1090 arch swall_0
1091 x 14
1092 y 13
1093 end
1094 arch button_plate
1095 x 14
1096 y 14
1097 connected 3
1098 end
1099 arch swall_2_2_2
1100 x 14
1101 y 15
1102 end
1103 arch swall_2_2_4
1104 x 14
1105 y 16
1106 end
1107 arch dwall_2_1_2
1108 x 15
1109 end
1110 arch pit_closed
1111 hp 3
1112 sp 13
1113 x 15
1114 y 1
1115 connected 14
1116 end
1117 arch gale
1118 x 15
1119 y 1
1120 end
1121 arch swall_2_1_2
1122 x 15
1123 y 2
1124 end
1125 arch swall_2_2_3
1126 x 15
1127 y 9
1128 end
1129 arch swall_2_2_1
1130 x 15
1131 y 10
1132 end
1133 arch button_plate
1134 x 15
1135 y 11
1136 connected 5
1137 end
1138 arch swall_1_4
1139 x 15
1140 y 12
1141 end
1142 arch button_plate
1143 x 15
1144 y 13
1145 connected 4
1146 end
1147 arch swall_2_2_2
1148 x 15
1149 y 14
1150 end
1151 arch swall_2_2_4
1152 x 15
1153 y 15
1154 end
1155 arch dwall_2_2_3
1156 x 16
1157 end
1158 arch dwall_3_2
1159 x 16
1160 y 1
1161 end
1162 arch swall_2_2_4
1163 x 16
1164 y 2
1165 end
1166 arch swall_2_2_3
1167 x 16
1168 y 10
1169 end
1170 arch swall_2_1_1
1171 x 16
1172 y 11
1173 end
1174 arch swall_3_4
1175 x 16
1176 y 12
1177 end
1178 arch swall_2_1_1
1179 x 16
1180 y 13
1181 end
1182 arch swall_2_2_4
1183 x 16
1184 y 14
1185 end
1186 arch dwall_2_2_3
1187 x 17
1188 y 1
1189 end
1190 arch dwall_2_1_1
1191 x 17
1192 y 2
1193 end
1194 arch cwall_1_2
1195 x 17
1196 y 3
1197 end