-
Notifications
You must be signed in to change notification settings - Fork 19
/
sphere_defs.scp
2306 lines (2183 loc) · 86.8 KB
/
sphere_defs.scp
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
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
//****************************************************************************
// SPHERE by : Menasoft ©1997-2020
// www.sphereserver.net
// All SPHERE script files and formats are copyright Menasoft & Partners.
// This file may be freely edited for personal use, but may not be distributed
// in whole or in part, in any format without express written permission from
// Menasoft & Partners. All donations and contributions
// become the property of Menasoft & Partners.
//****************************************************************************
// FILE LAST UPDATED: Sunday, Jan 12, 2020
//
VERSION=0.56d
[DEFNAME HARDCODED]
defaultitem i_gold // If we cannot create the item, make it this.
defaultchar c_man // If we cannot create the char, make it this.
defaultseed i_gold // When we make a seed, make it look like this.
defaultmsg i_gold // When we make a bulletin board post, use this item.
guards { c_guard 1 c_guard_f 1 }
deffood { i_fruit_grapes 1 i_ham 1 i_cheese_cut 1 i_muffin 1 i_fish_cut_cooked 1 i_ribs_cooked 1 i_bird_cooked 1 i_sausages 1 i_fruit_apple 1 i_fruit_peach 1 }
//These ones can have multiple words seperated by a ','
guardcall GUARD,GUARDS
[DEFNAME mount_items]
// This list contains all mounts/mountmemories required to make NPCs act as mount.
// Syntax: mount_0x<char dispid (hex)> <mount memory id>
// ---------------------------------------------------------
// Pre-T2A
mount_0xc8 i_mt_horse_tan
mount_0xcc i_mt_horse_brown_dk
mount_0xe2 i_mt_horse_gray
mount_0xe4 i_mt_horse_brown_lt
// T2A
mount_0xd2 i_mt_ostard_desert
mount_0xda i_mt_ostard_frenzied
mount_0xdb i_mt_ostard_forest
mount_0xdc i_mt_llama
// LBR
mount_0xa9 i_mt_beetle_fire
mount_0xaa i_mt_llama_ethereal
mount_0xab i_mt_ostard_ethereal
mount_0xb1 i_mt_warhorse_dread
mount_0xb2 i_mt_unknown_mare
mount_0xb3 i_mt_unknown_mare2
mount_0xbb i_mt_ridgeback
mount_0xbc i_mt_savage_ridgeback
mount_0xbe i_mt_steed_fire
mount_0xbf i_mt_kirin_ethereal
mount_0xc0 i_mt_unicorn_ethereal
mount_0xc1 i_mt_ridgeback_ethereal
mount_0xc2 i_mt_swamp_dragon_ethereal
mount_0xc3 i_mt_giant_beetle_ethereal
mount_0x72 i_mt_steed_dark
mount_0x73 i_mt_steed_ethereal
mount_0x74 i_mt_nightmare
mount_0x75 i_mt_steed_silver
mount_0x76 i_mt_warhorse_truebritannians
mount_0x77 i_mt_warhorse_magecouncil
mount_0x78 i_mt_warhorse_minax
mount_0x79 i_mt_warhorse_shadowlords
mount_0x7a i_mt_unicorn
mount_0x84 i_mt_kirin
mount_0x90 i_mt_sea_horse
mount_0x317 i_mt_giant_beetle
mount_0x319 i_mt_skeletal_mount
mount_0x31a i_mt_swamp_dragon
mount_0x31f i_mt_armored_swamp_dragon
// SE
mount_0xf3 i_mt_hiryu
// ML
mount_0xd5 i_mt_bear_polar
mount_0x114 i_mt_reptalon
mount_0x115 i_mt_cu_sidhe
mount_0x11c i_mt_armor_steed
// SA
mount_0x1b0 i_mt_boura_armoured
mount_0x4e6 i_mt_wild_tiger
mount_0x4e7 i_mt_tiger_ethereal
// HS
mount_0x42d i_mt_hellhound_ancient
// TOL
mount_0x579 i_mt_tarantula
mount_0x57f i_mt_lasher
mount_0x580 i_mt_palomino
mount_0x582 i_mt_windrunner
mount_0x59a i_mt_serpentine_dragon_ethereal
mount_0x5a0 i_mt_eowmu
mount_0x5a1 i_mt_skeletal_cat
[DEFNAME hues]
color_text -1
color_none 0
color_red1 32
color_red2 33
color_cyan 88
color_gray_dk 802
color_gray_lt 904
color_dye_high 1000 //highest dyeable color = 1001
color_ice 1152
color_snow 1153
color_rock 1154
color_spectral 16385
color_hide_spined 08ac //pre-AOS: 0283
color_hide_horned 0845 //pre-AOS: 0227
color_hide_barbed 0851 //pre-AOS: 01c1
color_log_oak 07da
color_log_ash 04a7
color_log_yew 04a8
color_log_heartwood 04a9
color_log_bloodwood 04aa
color_log_frostwood 047f
color_dragonscale_red 066d
color_dragonscale_yellow 08a8
color_dragonscale_black 0455
color_dragonscale_green 0851
color_dragonscale_white 08fd
color_dragonscale_blue 08b0
color_tigerpelt_orange 0f3
color_tigerpelt_black 0497
// Custom
color_magic_weap 0
color_magic_defense 0
color_magic_guarding 0
color_magic_hardening 0
color_magic_fortification 0
color_magic_invulnerability 0
[DEFNAME hues_range]
colors_all {2 1001}
colors_skin {1002 1058}
colors_skin_elf {0bf 1 {024d 024f} 1 0353 1 0361 1 0367 1 {0374 0376} 1 {0381 0385} 1 0389 1 03de 1 {03e5 03e6} 1 {03e8 03e9} 1 0430 1 04a7 1 04de 1 051d 1 053f 1 0579 1 {076b 076d} 1 0835 1 0903 1}
colors_skin_gargoyle {1755 1779}
colors_hair {1102 1149}
colors_hair_elf {{034 039} 1 058 1 {08e 08f} 1 {090 092} 1 0101 1 {0159 015e} 1 0128 1 012f 1 01bd 1 01e4 1 01f3 1 0207 1 0211 1 0239 1 0251 1 026c 1 02c3 1 02c9 1 {031d 0326} 1 0369 1 {0386 038a} 1 059d 1 06b8 1 0725 1 0853 1}
colors_hair_gargoyle {06e0 1 06e2 1 06e4 1 06ef 1 06f1 1 06f3 1 0709 1 070b 1 070d 1 070f 1 0711 1 0763 1 0765 1 0768 1 076b 1}
colors_pink {1201 1254}
colors_blue {1301 1354}
colors_green {1401 1454}
colors_orange {1501 1554}
colors_red {1601 1654}
colors_yellow {1701 1754}
colors_neutral {1801 1908}
colors_snake {2001 2018}
colors_bird {2101 2130}
colors_slime {2201 2224}
colors_animal {2301 2318}
colors_metal {2401 2430}
colors_bright {062 1 071 1 03 9 0d 9 013 9 01c 9 021 9 030 9 037 9 03a 9 044 9 059 9}
colors_white 2301
colors_black 2305
colors_brown {1110 1116}
colors_gray {946 947}
colors_wyrm {0 1 {1105 1110} 1 {34 39} 1}
colors_blood {33 38}
colors_lava {{32 34} 1 {53 55} 1 {43 45} 1}
[DEFNAME brains]
brain_none 0
brain_animal 1
brain_human 2
brain_healer 3
brain_guard 4
brain_banker 5
brain_vendor 6
brain_animal_trainer 7
brain_monster 8
brain_berserk 9
brain_dragon 10
[DEFNAME soundactions] // to use with BARK
soundact_rand -1 // pick up a random sound between soundact_idle and soundact_notice
soundact_idle 0
soundact_notice 1
soundact_hit 2
soundact_gethit 3
soundact_die 4
[DEFNAME sounds]
snd_wind1 21
snd_wind2 22
snd_crickets 23
snd_craft_anvil 42
// For sound ID up to 1239, every creature has 5 sounds and follows this scheme
// sound 1: idle
// sound 2: notice
// sound 3: hit
// sound 4: gethit
// sound 5: die
snd_animals_aligatr1 90
snd_animals_aligatr2 91
snd_animals_aligatr3 92
snd_animals_aligatr4 93
snd_animals_aligatr5 94
snd_animals_bear1 95
snd_animals_bull1 100
snd_animals_cat1 105
snd_animals_chicken1 110
snd_animals_cougar1 115
snd_animals_cow1 120
snd_animals_crow1 125
snd_animals_deer3 130 // it has only 3 sounds (hit, gethit, die): need to use sound overrides
snd_animals_deer4 131
snd_animals_deer5 132
snd_animals_dog1 133
snd_animals_dolphin1 138
snd_animals_eagle1 143
snd_animals_frstbrd1 148
snd_animals_goat1 153
snd_animals_gorilla1 158
snd_animals_grizzly1 163
snd_animals_horse1 168
snd_animals_jungbrd1 173
snd_animals_lion1 178
snd_animals_llama3 183 // it has only 3 sounds (hit, gethit, die): need to use sound overrides
snd_animals_llama4 184 // plus: use snd_animals_llama1, it has all of the sounds
snd_animals_llama5 185
snd_animals_panther1 186
snd_animals_parrot1 191
snd_animals_pig1 196
snd_animals_pig2 197
snd_animals_rabbit3 201 // it has only 3 sounds (hit, gethit, die): need to use sound overrides
snd_animals_rabbit4 202
snd_animals_rabbit5 203
snd_animals_rat1 204
snd_animals_raven1 209
snd_animals_sheep1 214
snd_animals_snake1 219
snd_animals_walrus1 224
snd_animals_wolf1 229
snd_special_spelleffect1 254
snd_elementl_airelem1 263
snd_elementl_airelem2 264
snd_elementl_airelem3 265
snd_elementl_airelem4 266
snd_elementl_airelem5 267
snd_elementl_erthel1 268
snd_elementl_firelem1 273
snd_elementl_watrel1 278
snd_hits_hit01 309
snd_hits_hit02 310
snd_hits_hit03 311
snd_hits_hit04 312
snd_hits_hit05 313
snd_hits_hit06 314
snd_hits_hit07 315
snd_hits_hit08 316
snd_hits_hit09 317
snd_hits_hit10 318
snd_hits_hit11 319
snd_hits_hit12 320
snd_hits_hit13 321
snd_hits_hit14 322
snd_hits_hit15 323
snd_hits_hit16 324
snd_hits_hit17 325
snd_hits_hit18 326
snd_hits_hit19 327
snd_hits_hit20 328
snd_hits_hit21 329
snd_hits_hit22 330
snd_human_foomph01 331
snd_human_foomph06 332
snd_human_foomph07 333
snd_human_foomph08 334
snd_human_foomph09 335
snd_human_f_die_01 336
snd_human_f_die_02 337
snd_human_f_die_03 338
snd_human_f_die_04 339
snd_human_moomph01 340
snd_human_moomph02 341
snd_human_moomph03 342
snd_human_moomph04 343
snd_human_moomph05 344
snd_human_moomph13 345
snd_human_m_die_01 346
snd_human_m_die_02 347
snd_human_m_die_03 348
snd_human_m_die_04 349
snd_monster_corpsr1 353
snd_monster_corpsr3 354
snd_monster_corpsr4 355
snd_monster_corpsr5 356
snd_monster_daemon1 357
snd_monster_dragon1 362
snd_monster_ettin1 367
snd_monster_gargyl1 372
snd_monster_gazer1 377
snd_monster_ghost1 382
snd_monster_gispidr1 387
snd_monster_grat1 392
snd_monster_gscorp1 397
snd_monster_harpy1 402
snd_monster_headls1 407
snd_monster_lich1 412
snd_monster_lzrdmn1 417
snd_monster_mngbat1 422
snd_monster_ogre1 427
snd_monster_orc1 432
snd_monster_ratman1 437
snd_monster_reaper1 442
snd_monster_seaserp1 447
snd_monster_seaserp3 448
snd_monster_seaserp4 449
snd_monster_seaserp5 450
snd_monster_skletn1 451
snd_monster_slime1 456
snd_monster_troll1 461
snd_monster_wisp1 466
snd_monster_zombie1 471
snd_monster_blade1 537
snd_weapons_axe01 562
snd_weapons_blunt01 563
snd_weapons_crossbow 564
snd_weapons_gilotin1 565
snd_weapons_hvyswrd1 566
snd_weapons_hvyswrd4 567
snd_weapons_swish01 568
snd_weapons_swish02 569
snd_weapons_swish03 570
snd_weapons_sword1 571
snd_weapons_sword7 572
snd_z_end_carpntry 573
snd_z_end_dye 574
snd_z_end_fshsplsh 575
snd_z_end_liquid 576
snd_z_end_lockpick 577
snd_z_end_mortar 578
snd_z_end_mystery1 579
snd_z_end_mystery2 580
snd_z_end_mystery3 581
snd_z_end_poison 582
snd_z_end_powder 583
snd_z_end_scissors 584
snd_z_end_scribe 585
snd_z_end_spirtspk 586
snd_monster_tera_warrior1 589
snd_monster_tera_drone1 594
snd_monster_tera_matriarch1 599
snd_monster_cyclops1 604
snd_monster_titan1 609
snd_monster_gianttoad1 614
snd_monster_bullfrog1 619
snd_animal_ostard_desert1 624
snd_animal_ostard_frenzied1 629
snd_monster_ophidian_warrior1 634
snd_monster_ophidian_mage1 639
snd_monster_ophidian_queen1 644
snd_monster_lavalizard1 649
snd_special_agility 654
snd_special_air1 655
snd_special_air2 656
snd_special_air3 657
snd_special_air4 658
snd_special_air5 659
snd_monster_lizard1 660
snd_monster_lizard2 661
snd_monster_lizard3 662
snd_monster_lizard4 663
snd_monster_lizard5 664
snd_special_archcure 665
snd_monster_centaur1 679
snd_monster_centaur2 680
snd_monster_exodus1 769
snd_monster_exodus2 770
snd_dragon_serpentine1 649
snd_elec_1 756
snd_elec_2 476
snd_fire_1 837
snd_fire_1a 838
snd_monster_efreet1 882
snd_monster_insect1 959
snd_monster_insect2 960
snd_monster_insect3 961
snd_monster_insect4 962
snd_monster_insect5 963
snd_animal_kirin1 965
snd_animal_kirin2 966
snd_animal_lion1 1007
snd_animal_llama1 1011
snd_monster_longhorn1 1016
snd_monster_longhorn2 1017
snd_monster_longhorn3 1018
snd_monster_longhorn4 1019
snd_monster_longhorn5 1020
snd_monster_yomotsu1 1105
snd_monster_orc2_1 1114
snd_animals_panther2_1 1122
snd_monster_pixie1 1127 // unordered sound IDs, need to use the SOUND overrides
snd_monster_pixie_spe 1128
snd_monster_pixie2_1 1133 // unordered sound IDs, need to use the SOUND overrides
snd_monster_pixie2_spe 1134
snd_animal_seahorse1 1144
snd_monster_shadowlord1 1149
snd_monster_shadows1 1154
snd_monster_skeldragon1 1160
snd_monster_succubus1 1200
snd_monster_succubus2 1201
snd_monster_succubus3 1202
snd_monster_succubus4 1203
snd_monster_succubus5 1204
snd_animal_unicorn1 1212
// From now on, every creature has 5 sounds and follows this scheme
// sound 1: die
// sound 2: hit
// sound 3: idle
// sound 4: notice
// sound 5: gethit
snd_animal_crane1 1238
snd_animal_crane2 1239
snd_monster_bake_kitsune1 1243
snd_monster_oni1 1248
snd_monster_oni2 1249
snd_monster_rune_beetle1 1253
snd_monster_rune_beetle2 1254
snd_monster_yamandon1 1258
snd_death_beetle1 1264
snd_death_beetle2 1265
snd_death_beetle3 1266
snd_death_beetle4 1267
snd_death_beetle5 1268
snd_monster_gaman1 1269
snd_monster_gaman2 1270
snd_animal_hiryu1 1275
snd_animal_hiryu2 1276
snd_special_origami1 1280
snd_special_origami2 1281
snd_special_origami3 1282
snd_special_windchimes1 1285
snd_special_windchimes2 1286
snd_special_windchimes3 1287
snd_monster_kappa1 1288
snd_monster_kappa2 1289
snd_monster_rev_lion1 1301
snd_monster_rev_lion2 1302
snd_monster_tsuki_wolf1 1322
snd_monster_tsuki_wolf2 1323
snd_monster_changeling_spe 1386
snd_monster_corporealbrume1 1387
snd_monster_paroxysmus1 1391
snd_monster_paroxysmus_spe 1396
snd_animal_cusidhe1 1397
snd_monster_dryad1 1402
snd_monster_intgrizzle1 1407
snd_monster_intgrizzle_spe 1411
snd_monster_satyr1 1413
snd_monster_shimmering1 1425
snd_monster_minotaur1 1430
snd_monster_troglodyte1 1438
snd_monster_dryad_spe 1476 //allure
snd_monster_dryad_spe2 1477 //allure fail
// From now on, every creature has 4 sounds and follows this scheme
// sound 1: hit
// sound 2: die
// sound 3: gethit
// sound 4: idle/notice
snd_monster_abyssal_infernal1 1492
snd_monster_acid_slug1 1496
snd_monster_bloodworm1 1500
snd_monster_boura1 1504
snd_monster_chicken_lizard1 1508
snd_monster_dragon_faerie1 1512
snd_monster_dragon_wolf1 1516
snd_monster_dream_wraith1 1520
snd_monster_gargoyle_female1 1525
snd_monster_gargoyle_male1 1528
snd_monster_goblin1 1533
snd_monster_goblin_gray1 1535
snd_monster_tarantula1 1537
snd_monster_homunculous1 1541 // special handling
snd_monster_kepetch1 1542
snd_monster_elem_lava1 1546
snd_monster_maddening_horror1 1550
snd_monster_medusa1 1554
snd_monster_mimic1 1558
snd_monster_navreynighteyes1 1562
snd_monster_primeval_lich1 1566
snd_monster_raptor1 1570
snd_monster_rising_colossus1 1574
snd_monster_rotworm1 1578
snd_monster_skree1 1582
snd_monster_slasherofveils1 1586
snd_monster_slith1 1590
snd_monster_stoneform1 1594
snd_monster_stygian_dragon1 1598
snd_monster_spider_trapdoor1 1602
snd_monster_gargoyle_undead1 1606
snd_monster_wildtiger1 1648
// START of special sounds: they are internally converted to the right sound
snd_special_human 0900
// END of special sounds
snd_spell_lightning 41
snd_spell_chain_lightning 41
snd_spell_harm 252
snd_spell_fireball 350
snd_spell_fire_bolt 351
snd_spell_meteor_swarm 352
snd_spell_clumsy 479
snd_spell_cure 480
snd_spell_archcure 480
snd_spell_curse 481
snd_spell_create_food 482
snd_spell_night_sight 483
snd_spell_light 483
snd_spell_feeblemind 484
snd_spell_magic_arrow 485
snd_spell_weaken 486
snd_spell_agility 487
snd_spell_animate_dead 488
snd_spell_reactive_armor 489
snd_spell_magic_reflection 489
snd_spell_bless 490
snd_spell_cunning 491
snd_spell_protection 493
snd_spell_strength 494
snd_spell_magic_trap 495
snd_spell_magic_untrap 496
snd_spell_heal 498
snd_spell_telekinesis 501
snd_spell_wall_of_stone 502
snd_spell_archprotection 503
snd_spell_mana_drain 504
snd_spell_mana_vampire 505
snd_spell_mark 506
snd_spell_magic_lock 506
snd_spell_mass_curse 507
snd_spell_recall 508
snd_spell_reveal 509
snd_spell_teleport 510
snd_spell_unlock 511
snd_spell_dispel_field 513
snd_spell_dispel 513
snd_spell_mass_dispel 513
snd_spell_greater_heal 514
snd_spell_paralyze 516
snd_spell_poison 517
snd_spell_flamestrike 520
snd_spell_energy_bolt 522
snd_spell_energy_field 523
snd_spell_paralyze_field 523
snd_spell_poison_field 523
snd_spell_fire_field 524
snd_spell_gate_travel 526
snd_spell_polymorph 527
snd_spell_blade_spirits 530
snd_spell_energy_vortex 530
snd_spell_mind_blast 531
snd_spell_resurrection 532
snd_spell_summon_creature 533
snd_spell_summon_daemon 534
snd_spell_summon_elem_air 535
snd_spell_summon_elem_earth 535
snd_spell_summon_elem_fire 535
snd_spell_summon_elem_water 535
snd_spell_earthquake 544
snd_spell_bone_armor 577
snd_spell_summon_undead 586
snd_spell_explosion 775
snd_spell_incognito 957
snd_spell_invisibility 964
snd_ninjitsu_deathstrike_f 1293
snd_ninjitsu_deathstrike_m 1294
snd_ninjitsu_focus_attack 1295
snd_ninjitsu_ki_attack 1296
snd_ninjitsu_mirror_image 1297
snd_ninjitsu_shadowjump 1298
snd_ninjitsu_suprise_attack_f 1299
snd_ninjitsu_suprise_attack_m 1300
//snd_ninjitsu_animal_form
//snd_ninjitsu_backstab
snd_bushido_confidence 1306
snd_bushido_evasion 1307
snd_bushido_honorable_execution 1308
snd_bushido_lightning_strike 1309
snd_bushido_momentum_strike 1310
//snd_bushido_counter_attack
//snd_combat_armor_ignore
//snd_combat_bleed_attack
//snd_combat_concussion_blow
//snd_combat_crushing_blow
//snd_combat_disarm
//snd_combat_dismount
//snd_combat_doublestrike
//snd_combat_infecting
//snd_combat_mortal_strike
//snd_combat_moving_shot
//snd_combat_paralyzing_blow
//snd_combat_shadow_strike
//snd_combat_riding_swipe
//snd_combat_nerve_strike
//snd_combat_talon_strike
//snd_combat_armor_pierce
snd_combat_whirlwind_attack 1311
snd_combat_block 1312
snd_combat_defense_mastery 1313
snd_combat_doubleshot 1314
snd_combat_doubleshot_2 1315
snd_combat_dual_wield 1316
snd_combat_feint 1317
snd_combat_frenzied_whirlwind 1318
snd_combat_bladeweave 1468
snd_combat_forcearrow 1469
snd_combat_force_of_nature 1470
snd_combat_lightning_arrow 1471
//snd_combat_psychic_attack
//snd_combat_serpent_arrow
snd_combat_fukiya 1327
snd_combat_shuriken_hit 1328
snd_combat_shuriken_miss 1329
snd_combat_smokebomb 1330
snd_aquarium_deadfish 1442
snd_aquarium_rewards 1443
snd_aquarium_use 1444
snd_collection_negative 1445
snd_collection_positive 1446
snd_collection_reward 1447
snd_spellweave_arcane_circle 1472
snd_spellweave_arcane_empowerment 1473
snd_spellweave_arcane_empowerment_end 1474
snd_spellweave_attunement 1475
snd_spellweave_dryad_allure 1476
snd_spellweave_dryad_allure_fail 1477
snd_spellweave_essence_of_wind 1478
snd_spellweave_essence_of_wind_cold 1479
snd_spellweave_ethereal_voyage 1480
snd_spellweave_gift_of_renewal 1481
snd_spellweave_immolating_weapon 1482
snd_spellweave_natures_fury 1483
snd_spellweave_natures_fury_attack 1484
snd_spellweave_natures_fury_idle 1485
snd_spellweave_thunderstorm 1486
snd_spellweave_wildfire 1487
//snd_spellweave_summon_fey
//snd_spellweave_summon_fiend
//snd_spellweave_reaper_form
//snd_spellweave_word_of_death
//snd_spellweave_gift_of_life
[DEFNAME region_flags]
region_antimagic_all 00001 // all magic banned here.
region_antimagic_recall_in 00002 // teleport,recall in to this, and mark
region_antimagic_recall_out 00004 // can't recall out of here.
region_antimagic_gate 00008
region_antimagic_teleport 00010 // can't teleport into here.
region_antimagic_damage 00020 // just no bad magic here
region_flag_ship 00040 // this is a ship region. ship commands
region_flag_nobuilding 00080 // no building in this area
//region_flag_globalname 00100 // No longer in use
region_flag_announce 00200 // announce to all who enter.
region_flag_insta_logout 00400 // instant log out is allowed here. (hotel)
region_flag_underground 00800 // dungeon type area. (no weather)
region_flag_nodecay 01000 // things on the ground don't decay here.
region_flag_safe 02000 // this region is safe from all harm.
region_flag_guarded 04000 // try tag.guardowner
region_flag_no_pvp 08000 // players cannot directly harm each other here.
region_flag_arena 010000 // pvp is allowed, no murder or criminal acts are taken in count.
[DEFNAME spell_flags]
spellflag_dir_anim 00000001 // evoke type cast or directed. (animation)
spellflag_targ_item 00000002 // need to target an object
spellflag_targ_char 00000004 // needs to target a living thing
spellflag_targ_obj 00000006 // can target item or char
spellflag_targ_xyz 00000008 // can just target a location.
spellflag_harm 00000010 // the spell is in some way harmfull.
spellflag_fx_bolt 00000020 // effect is a bolt to the target.
spellflag_fx_targ 00000040 // effect is at the target.
spellflag_field 00000080 // create a field of stuff. (fire,poison,wall)
spellflag_summon 00000100 // summon a creature or item.
spellflag_good 00000200 // the spell is a good spell. You intend to help to receiver.
spellflag_resist 00000400 // allowed to resist this.
spellflag_targ_noself 00000800 // cannot target spell to self
spellflag_disabled 00008000 // spell is disabled
spellflag_scripted 00010000 // spell is scripted
spellflag_playeronly 00020000 // spell is not casted by npc ai
spellflag_nounparalyze 00040000 // do not unparalyze the victim
spellflag_no_castanim 00080000 // don't play (default) cast anim
spellflag_targ_no_player 00100000 // if a char may be targeted, it may not be a player
spellflag_targ_no_npc 00200000 // if a char may be targeted, it may not be an NPC
spellflag_noprecast 00400000 // disables effects of MAGICF_PRECAST with a spell (only valid if MAGICF_PRECAST actived in Sphere.ini)
spellflag_nofreezeoncast 00800000 // disables effects of MAGICF_FREEZEONCAST with a spell (only valid if MAGICF_FREEZEONCAST actived in Sphere.ini)
spellflag_area 01000000 // area effect (uses local.arearadius)
spellflag_poly 02000000 // polymorph yourself
spellflag_targ_dead 04000000 // target is dead (for resurrection-like spells)
spellflag_damage 08000000 // kinda harm but deals damage to the targ, damage type is LOCAL.DamageType.
spellflag_bless 010000000 // Benefitial spells like Bless,Agility,etc.
spellflag_curse 020000000 // Curses just like Weaken,Purge Magic,Curse,etc.
spellflag_heal 040000000 // spell used to heal hitpoints
[DEFNAME mem_flags]
memory_sawcrime 00001 // i saw them commit a crime or i was attacked criminally. i can call the guards on them.
memory_ipet 00002 // i am a pet. (this link is my master) (never time out)
memory_fight 00004 // active fight going on now. may not have done any damage.
memory_iaggressor 00008 // i was the agressor here. (good or evil)
memory_harmedby 00010 // i was attacked by them. (but they may have been retaliating)
memory_irritatedby 00020 // i saw them snoop from me or someone.
memory_speak 00040 // we spoke about something at some point. (or was tamed) (npc_mem_act_type)
memory_aggreived 00080 // i was attacked and was the inocent party here !
memory_guard 00100 // guard this item (never time out)
memory_ispawned 00200 // UNUSED!!!! i am spawned from this item. (never time out)
memory_guild 00400 // this is my guild stone. (never time out)
memory_town 00800 // this is my town stone. (never time out)
memory_friend 04000 // they can command me but not release me. (not primary blame)
[DEFNAME stat_flags]
// apply to chars
statf_invul 000000001 // invulnerability
statf_dead 000000002
statf_freeze 000000004 // paralyzed. (spell)
statf_invisible 000000008 // invisible (spell).
statf_freezecast 000000010 // can't move while casting spells (used by MAGICF_FREEZEONCAST magic flag)
statf_war 000000020 // war mode on ?
statf_reactive 000000040 // have reactive armor on.
statf_poisoned 000000080 // poison level is in the poison object
statf_nightsight 000000100 // all a light to you
statf_reflection 000000200 // magic reflect on.
statf_polymorph 000000400 // we have polymorphed to another form.
statf_incognito 000000800 // dont show skill titles
statf_spiritspeak 000001000 // i can hear ghosts clearly.
statf_insubstantial 000002000 // ghost has not manifest. or gm hidden
statf_emoteaction 000004000 // the creature will emote its actions to it's owners.
statf_commcrystal 000008000 // the char can speak to a comm crystal in his bag
statf_hasshield 000010000 // using a shield
statf_archercanmove 000020000 // can move with archery
statf_stone 000040000 // turned to stone.
statf_hovering 000080000 // hovering (gargoyle flight)
statf_fly 000100000 // flying or running ? (anim)
statf_hallucinating 000400000 // eat 'shrooms or bad food.
statf_hidden 000800000 // hidden (non-magical)
statf_indoors 001000000 // we are covered from the rain.
statf_criminal 002000000 // the guards will attack me. (someone has called guards)
statf_conjured 004000000 // this creature is conjured and will expire. (leave no corpse or loot)
statf_pet 008000000 // i am a pet/hirling. check for my owner memory.
statf_spawned 010000000 // i am spawned by a spawn item.
statf_saveparity 020000000 // has this char been saved or not ?
statf_ridden 040000000 // this is the horse. (don't display me) i am being ridden
statf_onhorse 080000000 // mounted on horseback.
[DEFNAME attr_flags]
// apply to items
attr_identified 00000001 // Item got identified by ItemID skill and will reveal its magic properties on name (obsolete, only used when client tooltip feature is disabled)
attr_decay 00000002 // Item dropped on ground will decay after some time
attr_newbie 00000004 // Item will stay on character body when die (same as attr_blessed)
attr_move_always 00000008 // Will turn static item into movable item
attr_move_never 00000010 // Will turn movable item into static item
attr_magic 00000020 // Item might have some magic effects when equipped (eg: spell memories, armors, weapons). DON'T SET THIS WHILE WORN!
attr_owned 00000040 // Item is owned by someone (item LINK = owner UID)
attr_invis 00000080 // Item is invisible (can be only seen by GMs and chars specified on TAG.SeenBy_[CharUID])
attr_cursed 00000100 // Item will fall to character corpse when die (can't be blessed/insured)
attr_blessed 00000400 // Item will stay on character body when die
attr_static 00008000 // Item will be locked on ground and must be saved separately on world static save (WorldForge merge marker)
attr_exceptional 00010000 // Item is exceptional
attr_enchanted 00020000 // Item is enchanted
attr_imbued 00040000 // Item is imbued
attr_questitem 00080000 // Item is used on quests
attr_insured 00100000 // Item is insured (same as attr_blessed, but the effect only lasts for a single death)
attr_nodroptrade 00200000 // Item can't be dropped on ground or trade window
attr_norepair 00400000 // Item can't be repaired
attr_lockeddown 00800000 // Item is locked down on house
attr_secure 01000000 // Item is locked down and secured on house
attr_reforged 02000000 // Item is runic reforged
attr_opened 04000000 // Door is opened (only used when DOOROPENID is set on the door)
[DEFNAME can_flags]
// monster "can" type flags.
mt_male 000000
mt_ghost 000001 // Moves through doors
mt_swim 000002 // Moves on water
mt_walk 000004 // Can walk on land
mt_passwalls 000008 // Walk through walls
mt_fly 000010
mt_fire_immune 000020
mt_noindoors 000040 // Can't go under roof
mt_hover 000080 // Hovers (can follow gargoyle flight paths)
mt_equip 000100
mt_usehands 000200
mt_mount 000400 // can ride mountables
mt_female 000800
mt_nonhum 001000 // Body type for combat messages
mt_run 002000
mt_nodclicklos 004000 // when dclicking sth., ignore LOS checks
mt_nodclickdist 008000 // when dclicking sth., ignore distance checks
mt_nonmover 010000 // Stay in place, no move at all
[DEFNAME sector_flags]
secf_nosleep 01 //sector will never sleep, this flag take over secf_instasleep
secf_instasleep 02 //sector will sleep as soon as there is no active client inside
[DEFNAME alignments]
// ranges of karma ?
evil {-10000 -6001}
chaotic {-6000 -2001}
good {2000 10000}
wicked {-10000 -6001}
belligerent {-6000 -2001}
neutral {-2000 1999}
kindly {2000 5999}
goodhearted {6000 10000}
infamous {-10000 -6001}
outlaw {-6000 -2001}
anonymous {-2000 1999}
known {2000 5999}
famous {6000 10000}
[DEFNAME midis]
// midi music defs
midi_oldult01 0 //loop
midi_create 1 //loop
midi_dragflit 2 //loop
midi_oldult02 3 //loop
midi_oldult03 4 //loop
midi_oldult04 5 //loop
midi_oldult05 6 //loop
midi_oldult06 7 //loop
midi_stones1 8
midi_britain1 9 //loop
midi_britain2 10
midi_bucsden 11 //loop
midi_jhelom 12
midi_lbcastle 13
midi_linelle 14
midi_magincia 15 //loop
midi_minoc 16 //loop
midi_ocllo 17 //loop
midi_samlethe 18 //loop
midi_serpents 19
midi_skarabra 20 //loop
midi_trinsic 21 //loop
midi_vesper 22
midi_wind 23
midi_yew 24 //loop
midi_cave01 25
midi_dungeon9 26 //loop
midi_foresta 27 //loop
midi_intown01 28 //loop
midi_junglea 29 //loop
midi_mountaina 30 //loop
midi_plains 31 //loop
midi_sailing 32
midi_swampa 33 //loop
midi_tavern01 34
midi_tavern02 35
midi_tavern03 36
midi_tavern04 37 //loop
midi_combat1 38 //loop
midi_combat2 39 //loop
midi_combat3 40 //loop
midi_approach 41 //loop
midi_death 42
midi_victory 43
midi_btcastle 44
midi_nujelm 45
midi_dungeon2 46 //loop
midi_cove 47 //loop
midi_moonglow 48 //loop
//Samurai Empire
midi_Zento 49 //loop
midi_TokunoDungeon 50 //loop
midi_Taiko 51 //loop
//Mondain's Legacy
midi_Dread_horn_area 52 //loop
midi_Elf_city_1 53 //loop
midi_Grizzle_dungeon 54 //loop
midi_Melisandes_lair 55 //loop
midi_Paroxysmus_lair 56 //loop
midi_GwennoConversation 57
midi_GoodEndGame 58
midi_GoodVsEvil 59
midi_GreatEarthSerpents 60
midi_Humanoids 61
midi_MinocNegative 62
midi_Paws 63
midi_SelimsBar 64
midi_SerpentIsleCombat 65
midi_ValoriaShips 66
//Stygian Abyss
midi_TheWanderer 67
midi_Castle 68
midi_Festival 69
midi_Honor 70
midi_Medieval 71
midi_BattleOnStones 72
midi_Docktown 73
midi_GargoyleQueen 74
midi_GenericCombat 75
midi_HolyCity 76
midi_HumanLevel 77
midi_LoginLoop 78 //loop
midi_ForestStones 79
midi_PrimevalLich 80
midi_QueenPalace 81
midi_RoyalCity 82
midi_SlasherVeil 83
midi_StygianAbyss 84
midi_StygianDragon 85
midi_Void 86
midi_CodexShrine 87
//High Seas
midi_AnvilStrikeInMinoc 88
midi_ASkaranLullaby 89
midi_BlackthornsMarch 90
midi_DupresNightInTrinsic 91
midi_FayaxionAndTheSix 92
midi_FlightOfTheNexus 93
midi_GalehavenJaunt 94
midi_JhelomToArms 95
midi_MidnightInYew 96
midi_MoonglowSonata 97
midi_NewMaginciaMarch 98
midi_NujelmWaltz 99
midi_SherrysSong 100
midi_StarlightInBritain 101
midi_TheVesperMist 102
[DEFNAME needstofix]
// need to be defined. needs and aversions
// none 0
// area types.
r_guardpost t_junk
r_docks t_junk
r_foliage r_jungle
r_desert t_junk
r_plains t_junk
r_civilization t_junk
r_caves t_junk
r_stables t_junk
r_house t_junk
r_snow t_junk
r_magical t_junk
r_mountains t_junk
r_mountains_volcanic t_junk
r_jail t_junk
r_darkness t_junk
r_light t_junk
r_sewers t_junk
//no longer used?
r_goblin_camp t_junk
r_dungeon_terathan_keep t_junk
r_dungeon_bedlam t_junk
r_dungeon_blighted_grove t_junk
r_dungeon_citadel t_junk
r_dungeon_prism_of_light t_junk
r_dungeon_twisted_weald t_junk
r_orc_camp t_junk
r_ruins t_junk
r_dungeon_doom t_junk
r_dungeon_paroxysmus t_junk
r_dungeon_exodus t_junk
r_dungeon_khaldun t_junk
r_dungeon_destard t_junk
r_dungeon_fire t_junk
r_dungeon_abyss t_junk
r_dungeon_labyrinth t_junk
r_black_castle t_junk
// item types
t_magic t_junk
[TYPEDEFS]
t_normal 0
t_container 1 // any unlocked container or corpse
t_container_locked 2
t_door 3
t_door_locked 4
t_key 5
t_light_lit 6
t_light_out 7