//****************************************************************************
// 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
t_food                    8   // cooked food (can be poisoned)
t_food_raw                9   // must cook raw food unless your an animal
t_armor                  10   // some type of armor (no real action)
t_weapon_mace_smith      11   // can be used for smithing
t_weapon_mace_sharp      12   // war axe can be used to cut/chop trees
t_weapon_sword           13
t_weapon_fence           14   // can't be used to chop trees (make kindling)
t_weapon_bow             15
t_wand                   16   // a magic storage item
t_telepad                17   // walk on teleport
t_switch                 18   // this is a switch which effects some other object in the world
t_book                   19
t_rune                   20   // can be marked and renamed as a recall rune
t_booze                  21   // drunk effect
t_potion                 22   // some magic effect
t_fire                   23   // it will burn you
t_clock                  24   // or a wristwatch
t_trap                   25   // walk on trap
t_trap_active            26   // some animation
t_musical                27   // a musical instrument
t_spell                  28   // magic spell effect
t_gem                    29   // no use yet
t_water                  30   // this is water (fishable) (not a glass of water)
t_clothing               31   // all cloth based wearable stuff
t_scroll                 32   // magic scroll
t_carpentry              33   // tool of some sort
t_spawn_char             34   // spawn object. should be invis also
t_game_piece             35   // can't be removed from game board
t_portculis              36   // z delta moving gate (open)
t_figurine               37   // magic figure that turns into a creature when activated.
t_shrine                 38   // can resurrect you
t_moongate               39   // linked to other moon gates (hardcoded locations)
//t_unused_40            40
t_forge                  41   // used to smelt ores
t_ore                    42   // smelt to ingots
t_log                    43   // make into furniture etc. lumber logs
t_tree                   44   // can be chopped
t_rock                   45   // can be mined for ore
t_carpentry_chop         46   // tool of some sort
t_multi                  47   // multi part object like house or ship
t_reagent                48   // alchemy when clicked ?
t_ship                   49   // this is a ship multi
t_ship_plank             50
t_ship_side              51   // should extend to make a plank
t_ship_side_locked       52
t_ship_tiller            53
t_eq_trade_window        54   // container for the trade window
t_fish                   55   // fish can be cut up
t_sign_gump              56   // things like grave stones and sign plaques
t_stone_guild            57   // guild stones
t_anim_active            58   // active anim that will recycle when done
t_sand                   59   // sand on the beach
t_cloth                  60   // bolt or folded cloth
t_hair                   61
t_beard                  62   // just for grouping purposes
t_ingot                  63
t_coin                   64   // coin of some sort. gold or otherwise
t_crops                  65   // a plant that will regrow. picked type
t_drink                  66   // some sort of drink (non booze)
t_anvil                  67
t_port_locked            68   // this portcullis must be triggered
t_spawn_item             69   // spawn other items.
//t_unused_70            70
//t_unused_71            71
t_gold                   72   // gold coin
t_map                    73   // map object with pins
t_eq_memory_obj          74   // a char has a memory link to some object (i am fighting with someone. this records the fight.)
t_weapon_mace_staff      75   // staff type of mace. or just other type of mace
t_eq_horse               76   // equipped horse object represents a riding horse to the client
t_comm_crystal           77   // communication crystal
t_game_board             78   // this is a container of pieces
t_trash_can              79   // delete any object dropped on it
t_cannon_muzzle          80   // cannon muzzle. not the other cannon parts
t_cannon                 81   // the rest of the cannon
t_cannon_ball            82
t_armor_leather          83   // non metallic armor (t_clothing)
t_seed                   84   // fruit to seed
t_junk                   85   // never used
t_crystal_ball           86
t_swamp                  87
t_message                88   // user written message item (for bboard usually)
t_reagent_raw            89   // freshly grown reagents...not processed yet.
t_eq_client_linger       90   // change player to npc for a while.
t_snow                   91
//t_unused_92            92
//t_unused_93            93
t_explosion              94
t_eq_npc_script          95   // script npc actions in the form of a book (get rid of this in favor of waiting on m_events)
t_web                    96   // walk on this and transform into some other object
t_grass                  97   // can be eaten by grazing animals
t_arock                  98   // a rock or boulder. can be thrown by giants
t_tracker                99   // points to a linked object
t_sound                 100   // this is a sound source
t_stone_town            101   // town stones. everyone free to join
t_weapon_mace_crook     102
t_weapon_mace_pick      103
t_leather               104   // leather or skins of some sort (not wearable)
t_ship_other            105   // some other part of a ship
t_bboard                106   // a container and bboard object
t_spellbook             107   // spellbook (with spells)
t_corpse                108   // special type of item
//t_unused_109          109
//t_unused_110          110
t_weapon_arrow          111
t_weapon_bolt           112
t_eq_vendor_box         113   // an equipped vendor
t_eq_bank_box           114   // an equipped bank box
t_deed                  115
t_loom                  116
t_bee_hive              117
t_archery_butte         118
t_eq_murder_count       119   // my murder count flag
t_eq_stuck              120   // we are stuck in a web
t_trap_inactive         121   // a safe trap
//t_unused_122          122
t_bandage               123   // can be used for healing
t_campfire              124   // this is a fire but a small one
t_map_blank             125
t_spy_glass             126
t_sextant               127
t_scroll_blank          128
t_fruit                 129
t_water_wash            130   // water that will not contain fish (for washing or drinking)
t_weapon_axe            131   // not the same as a sword. but uses swordsmanship skill
t_weapon_xbow           132
t_spellicon             133
t_door_open             134
t_meat_raw              135   // just a meaty part of a corpse (uncooked meat)
//t_unused_136          136
t_keyring               137
//t_unused_138          138
t_floor                 139
t_roof                  140
t_feather               141   // a birds feather
t_wool                  142   // wool cut frm a sheep
t_fur                   143
t_blood                 144   // blood of some creature
t_foliage               145   // does not go invis when reaped. but will if eaten
t_grain                 146
t_scissors              147
t_thread                148
t_yarn                  149
t_spinwheel             150
t_bandage_blood         151   // can't be used for healing
t_fish_pole             152
t_shaft                 153   // bolt or arrow
t_lockpick              154
t_kindling              155
t_train_dummy           156
t_train_pickpocket      157
t_bedroll               158
//t_unused_159          159
t_hide                  160   // made into leather
t_cloth_bolt            161
t_board                 162   // logs are plained into decent lumber
t_pitcher               163
t_pitcher_empty         164
t_dye_vat               165
t_dye                   166
t_potion_empty          167   // empty bottle
t_mortar                168
//t_unused_169          169
t_sewing_kit            170
t_tinker_tools          171
t_wall                  172   // wall of a structure
t_window                173   // window for a structure
t_cotton                174   // cotton from the plant
t_bone                  175
t_eq_script             176   // pure scriptable item equipped
t_ship_hold             177
t_ship_hold_lock        178
t_lava                  179
t_shield                180   // equippable armor
t_jewelry               181
t_dirt                  182   // a patch of dirt where i can plant something
t_script                183
t_spellbook_necro       184   // AOS Necromancy spellbook (should have MOREZ=100 by default)
t_spellbook_pala        185   // AOS Paladin spellbook (should have MOREZ=200 by default)
t_spellbook_extra       186   // some spellbook for script purposes (MOREZ=basic offset, should 1000 or more)
t_spellbook_bushido     187   // SE Bushido spellbook (should have MOREZ=400 by default)
t_spellbook_ninjitsu    188   // SE Ninjitsu spellbook (should have MOREZ=500 by default)
t_spellbook_arcanist    189   // ML Spellweaver spellbook (should have MOREZ=600 by default)
t_multi_custom          190   // Customisable multi
t_spellbook_mystic      191   // SA Mysticism spellbook (should have MOREZ=677 by default)
t_hoverover             192   // Hover-over item (CAN_I_HOVER can hover over blocking items)
t_spellbook_mastery     193   // SA/TOL Masteries spellbook (should have MOREZ=700 by default)
t_weapon_throwing       194   // Throwing Weapon
t_cartography           195   // cartography tool
t_cooking               196   // cooking tool
t_pilot                 197   // t_pilot (PacketWheelBoatMove)
t_rope                  198   // almost the same as a ship plank, but not lockable by default.
t_weapon_whip           199

//Add custom types after 500 to leave room for future hardcoded types
t_forest                500   // Forest Tiles
t_jungle                501   // Jungle Tiles
t_furniture             502   // Furniture
t_soul_forge            503   // Soul Forge

[DEFNAME layers]
layer_hand1       1
layer_hand2       2
layer_shoes       3
layer_pants       4   // bone legs + pants.
layer_shirt       5
layer_helm        6
layer_gloves      7
layer_ring        8
layer_talisman    9   // talisman (se and ml)
layer_collar     10   // gorget or necklace.
layer_hair       11
layer_half_apron 12
layer_chest      13   // armor chest
layer_wrist      14   // watch
layer_face       15   // character face style on enhanced clients
layer_beard      16   // try to have only men have this.
layer_tunic      17   // jester suit or full apron.
layer_ears       18   // earrings
layer_arms       19   // armor
layer_cape       20   // cape
layer_pack       21   // only used by itemid_backpack
layer_robe       22   // robe over all.
layer_skirt      23   // skirt or kilt.
layer_legs       24   // 0x18 = plate legs.

// these are not part of the paper doll (but get sent to the client)
layer_horse          25   // ride this object. (horse objects are strange?)
layer_vendor_stock   26 // the stuff the vendor will restock and sell to the players
layer_vendor_extra   27 // the stuff the vendor will resell to players but is not restocked. (bought from players)
layer_vendor_buys    28 // the stuff the vendor can buy from players but does not stock.
layer_bankbox        29 // contents of my bank box.

// internally used layers - don't bother sending these to client.
layer_special        30   // can be multiple of these. memories
layer_dragging       31

// spells that are effecting us go here.
layer_spell_stats           32   // stats effecting spell. these cancel each other out.
layer_spell_reactive        33
layer_spell_night_sight     34
layer_spell_protection      35
layer_spell_incognito       36
layer_spell_magic_reflect   37
layer_spell_paralyze        38   // or turned to stone.
layer_spell_invis           39
layer_spell_polymorph       40
layer_spell_summon          41   // magical summoned creature.

layer_flag_poison           42
layer_flag_criminal         43     // criminal or murderer ?
layer_flag_potion           44   // some magic type effect done by a potion. (they cannot be dispelled)
layer_flag_spiritspeak      45
layer_flag_wool             46   // regrowing wool.
layer_flag_drunk            47   // booze effect.
layer_flag_clientlinger     48
layer_flag_hallucination    49   // shrooms etc.
layer_flag_potionused       50   // track the time till we can use a potion again.
layer_flag_stuck            51   // in a trap or web.
layer_flag_murders          52   // how many murders do we have ? and decay timer.
layer_flag_bandage          53   // bandages go here for healing
layer_auction               54   // layer for script purposes to equip container on character (like auction system)

//Necromancy
LAYER_SPELL_Blood_Oath		55
LAYER_SPELL_Curse_Weapon	56
LAYER_SPELL_Corpse_Skin		57
LAYER_SPELL_Evil_Omen		58
LAYER_SPELL_Pain_Spike		59
LAYER_SPELL_Mind_Rot		60
LAYER_SPELL_Strangle		61

//Chivalry
LAYER_SPELL_Consecrate_Weapon	62
LAYER_SPELL_Divine_Fury			63
LAYER_SPELL_Enemy_Of_One		64

//SpellWeaving
LAYER_SPELL_Attunement			65
LAYER_SPELL_Gift_Of_Renewal		66
LAYER_SPELL_Immolating_Weapon	67
LAYER_SPELL_Thunderstorm		68
LAYER_SPELL_Arcane_Empowerment	69
LAYER_SPELL_Ethereal_Voyage		70
LAYER_SPELL_Gift_Of_Life		71
LAYER_SPELL_Dryad_Allure		72
LAYER_SPELL_Essence_Of_Wind		73

//Mysticism
LAYER_SPELL_Sleep				74
LAYER_SPELL_Bombard				75
LAYER_SPELL_Spell_Plague		76
LAYER_SPELL_Nether_Cyclone		77

[DEFNAME def_gumps]
// name the gumps.
g_btn_green_ok           081a
g_btn_green_ok_press     081b
g_btn_gray_apply         5204
g_btn_gray_apply_press   5205

[DEFNAME dam_flags]
dam_god                 00001   // unblockable "god" damage
dam_physical            00002   // some sort of physical damage (as opposed to magical)
dam_magic               00004   // some sort of magical damage
dam_poison              00008   // poison-based damage
dam_fire                00010   // fire-based damage
dam_energy              00020   // energy-based damage
dam_general             00080   // damage that hits the entire body, rather than just one part of it
dam_acidic              00100   // acidic damage (will destroy armor)
dam_cold                00200   // cold-based damage
dam_slash               00400   // damage done by slashing (swords, etc)
dam_pierce              00800   // damage done with spear and such.
dam_nodisturb           02000   // victim won't be disturbed
dam_noreveal            04000   // damage that does not reveal the attacker.
dam_nounparalyze        08000   // victim won't be unparalyzed
dam_fixed               010000	// damage will not be recalculated with default checks, lowering it because of armor, resistances ...

[DEFNAME can_i_flags]
can_i_door				000001		// is a door uflag4_door
can_i_water				000002		// need to swim in it. uflag1_water
can_i_platform			000004		// we can walk on top of it. (even tho the item itself might block) uflag2_platform
can_i_block				000008		// need to walk thru walls or fly over. uflag1_block
can_i_climb				000010		// step up on it, uflag2_climbable
can_i_fire				000020		// is a fire. ussually blocks as well. uflag1_damage
can_i_roof				000040		// we are under a roof. can't rain on us. uflag4_roof
can_i_hover				000080		// we are hovering. uflag4_hoverover
can_i_pile				000100		// can item be piled uflag2_stackable (*.mul)
can_i_dye				000200		// can item be dyed uflag3_cloth? (sort of)
can_i_flip				000400		// will flip by default.
can_i_light				000800		// uflag3_light
can_i_repair			001000		// is it repairable (difficulty based on value)
can_i_replicate			002000		// things like arrows are pretty much all the same.
can_i_dcignorelos		004000		// when dclicked, ignore los checks
can_i_dcignoredist		008000		// when dclicked, ignore distance checks
can_i_blocklos			010000		// blocks los, but not walking thru
can_i_exceptional		020000		// can items be exceptional
can_i_makersmark		040000		// can items hold makers mark
can_i_retaincolor		080000		// can items retain material colors
can_i_enchant			0100000		// can items be enchanted (runic)
can_i_imbue				0200000		// can items be imbued (imbuing)
can_i_recycle			0400000		// Can be recycled
can_i_reforge			0800000		// Can be Runic Reforged.
can_i_forcedc			01000000	// Items with this flag will not perform any check before @DClick trigger.
can_i_damageable		02000000	// Display item health bar on HS clients >= 7.0.30.0 (MORE1L = cur hitpoints / MORE1H = max hitpoints)

[DEFNAME tile_flags]
tilef_background        000000001   // No idea. None whatsoever. Maybe it's the blackness.
tilef_weapon            000000002   // I smack thee with this here ... club?
tilef_transparent       000000004   // Yeah. So we can see through it?
tilef_translucent       000000008   // Okay...
tilef_wall              000000010   // Hey look, we can't walk through it!
tilef_damaging          000000020   // Lava, perhaps? Fires, hmm!
tilef_impassable        000000040   // Mountains and stuff, I'll wager.
tilef_wet               000000080   // Water? Or mud? Or a slick road in a rainstorm? Probably the first.
tilef_unknown           000000100   // Uh...
tilef_surface           000000200   // Tables or something?
tilef_bridge            000000400   // I wonder why they'd have a flag for that.
tilef_stackable         000000800   // Can be stacked
tilef_window            000001000   // So we can see/shoot out?
tilef_noshoot           000002000   // ? We can't shoot out or something? So, like a glass window maybe?
tilef_prefixA           000004000   // A card
tilef_prefixAn          000008000   // An apple
tilef_internal          000010000   // hair, beards, etc
tilef_foliage           000020000   // Probably bushes and tree leaves and stuff.
tilef_partialHue        000040000   // semi-glowy?
tilef_unknown_1         000080000   // Well, gee. I should see if it's used on anything...
tilef_map               000100000   // Sounds good to me.
tilef_container         000200000   // They flag these!?
tilef_wearable          000400000   // Omigod!
tilef_lightSource       000800000   // I'm getting tired of typing repetitive shiznit now.
tilef_animated          001000000   // Like fire again. And stuff. Those spinny propeller thingies!
tilef_hoverover         002000000   // Can be hovered over
tilef_unknown_2         004000000   // I really hope some of these unknowns are n/w/s/e facing flags.
tilef_armor             008000000   // Armor, okay, so does that count shields? Hmmm?
tilef_roof              010000000   // "Don't fall through me!" Or why isn't it just flagged surface or something?
tilef_door              020000000   // Okay...
tilef_stairBack         040000000   // Don't we have stairs that go forward or left too? This could cover both...
tilef_stairRight        080000000   // Well, whatever, you can climb them, so, hey... Good use for a

[DEFNAME def_html]	// useful with htmlgumps
L1		<
R1		>

B		<b>
BE		</b>
BIG		<big>
BIGE		</big>
SMALL		<small>
SMALLE		</small>
EM		<em>
EME		</em>
U		<u>
UE		</u>
I		<i>
IE		</i>
H1		<h1>
H1E		</h1>
H2		<h2>
H2E		</h2>
H3		<h3>
H3E		</h3>
H4		<h4>
H4E		</h4>
H5		<h5>
H5E		</h5>
H6		<h6>
H6E		</h6>
A		<a
AE		</a>
BR		<br>
CENTER		<center>
CENTERE		</center>
DIV_LEFT	<div align="left">
DIV_RIGHT	<div align="right">
DIV_END		</div>

BFONT		<basefont
BFONTE		</basefont>
BFONT_SIZE1	<basefont size="1">
BFONT_SIZE2	<basefont size="2">
BFONT_SIZE3	<basefont size="3">
BFONT_SIZE4	<basefont size="4">
BFONT_SIZE5	<basefont size="5">
BFONT_SIZE7	<basefont size="7">

BFONT_BLACK		<basefont color="#000008">
BFONT_WHITE		<basefont color="#ffffff">
BFONT_LIME		<basefont color="#00ff00">
BFONT_LRED		<basefont color="#ffcccc">
BFONT_RED		<basefont color="#ff0000">
BFONT_DRED		<basefont color="#8b0000">
BFONT_LYELLOW		<basefont color="#ffffc8">
BFONT_YELLOW		<basefont color="#ffff00">
BFONT_DYELLOW		<basefont color="#8b8b00">
BFONT_LCYAN		<basefont color="#e0ffff">
BFONT_CYAN		<basefont color="#00ffff">
BFONT_DCYAN		<basefont color="#008b8b">
BFONT_LGRAY		<basefont color="#d3d3d3">
BFONT_GRAY		<basefont color="#808080">
BFONT_DGRAY		<basefont color="#a9a9a9">
BFONT_LGREEN		<basefont color="#90ee90">
BFONT_GREEN		<basefont color="#008000">
BFONT_DGREEN		<basefont color="#006400">
BFONT_LORANGE		<basefont color="#ffc600">
BFONT_ORANGE		<basefont color="#ffa500">
BFONT_DORANGE		<basefont color="#ff8c00">
BFONT_LBLUE		<basefont color="#add8e6">
BFONT_BLUE		<basefont color="#0000ff">
BFONT_DBLUE		<basefont color="#00008b">
BFONT_LSLATEBLUE	<basefont color="#ceceff">
BFONT_SLATEBLUE		<basefont color="#8484ff">
BFONT_DSLATEBLUE	<basefont color="#483d8b">
BFONT_LPURPLE		<basefont color="#8968cd">
BFONT_PURPLE		<basefont color="#800080">
BFONT_DPURPLE		<basefont color="#551a8b">

[DEFNAME profession_ids]
// ARGN2 in f_oncreate_char
prof_unknown         0
prof_warrior         1
prof_magician        2
prof_blacksmith      3
prof_necromancer     4
prof_paladin         5
prof_samurai         6
prof_ninja           7

[DEFNAME resdisp_version]
// RESDISP is a property of the user ACCOUNT
RDS_PRET2A      0
RDS_T2A         1
RDS_LBR         2
RDS_AOS         3
RDS_SE          4
RDS_ML          5
RDS_KR          6
RDS_SA          7
RDS_HS			8
RDS_TOL			9

[DEFNAME talkmode_type]
// When client or server send a speech packet these have a type
// You can use them to send a packet or to check ARGN1 in the global speech hook
talkmode_system      0   // Normal system message.				(client <-> server)
talkmode_prompt      1   // Display as system prompt.				(client <-  server)
talkmode_emote       2   // *smiles* at object.					(client  -> server) (client shortcut: :+space)
talkmode_say         3   // A chacter speaking. 				(client <-  server)
talkmode_obj         4   // At Object						(client <-  server)
talkmode_nothing     5   // Does not display					(client <-  server)
talkmode_item        6   // Text labeling an item. Preceeded by "You see"	(client <-  server)
talkmode_noscroll    7   // As a status msg. Does not scroll			(client <-  server)
talkmode_whisper     8   // Only those close can hear.				(client  -> server) (client shortcut: ;+space)
talkmode_yell        9   // Can be heard 2 screens away.			(client  -> server) (client shortcut: !+space)
talkmode_spell      10   // Used by spells					(client <-  server)
talkmode_guild      13   // Used by guild chat					(client  -> server) (client shortcut: \)
talkmode_alliance   14   // Used by alliance chat				(client  -> server) (client shortcut: shift+\)

[DEFNAME skill_flags]
// These flags are used in SKILL definitions
SKF_SCRIPTED      0001   // fully scripted, no hardcoded behaviour
SKF_FIGHT         0002   // considered a fight skill, maintains fight active
SKF_MAGIC         0004   // considered a magic skill
SKF_CRAFT         0008   // considered a crafting skill, compatible with MAKEITEM function
SKF_IMMOBILE      0010   // skilluser can not move while skilluse
SKF_SELECTABLE    0020   // from skill list. ATTENTION: This does _not_ place the button next to the skill in the client's skill list! For this you have to edit skills.mul.
SKF_NOMINDIST     0040   // you can mine, fish, chop, hack on the same point you are standing on
SKF_NOANIM        0080   // don't show hardcoded anim for this skill
SKF_NOSFX         0100   // don't play hardcoded sound for this skill
SKF_RANGED        0200   // considered a ranged skill (combine with SKF_FIGHT)
SKF_GATHER		  0400	 // Gathering skill.
SKF_DISABLED	  0800   // This skill cannot be used at all.

[DEFNAME skill_titles]
// Skill ranges for the titles
SKILLTITLE_NEOPHYTE		300	// this skill lever or higher applies this skilltitle (until a greater one is reached)
SKILLTITLE_NOVICE		400
SKILLTITLE_APPRENTICE	500
SKILLTITLE_JOURNEYMAN	600
SKILLTITLE_EXPERT		700
SKILLTITLE_ADEPT		800
SKILLTITLE_MASTER		900
SKILLTITLE_GRANDMASTER	1000
SKILLTITLE_ELDER		1100	// This works with the normal skills and Bushido/Ninjitsu too.
SKILLTITLE_LEGENDARY	1200	// Same here

[DEFNAME trigger_argtype]
TAT_AS_ARGN   1      // Treat the arguments as ARGN1/2/3
TAT_AS_ARGS   2      // Treat the arguments as ARGS (with ARGV[x] enabled)
TAT_AS_ARGO   3      // Treat the arguments as ARGO

[DEFNAME misc_own]
empty_cliloc      1042971
empty_cliloc2     1070722
empty_cliloc3     1114778
empty_cliloc4     1114779

[DEFNAME los_flags]
los_nb_local_terrain   00001   // Terrain inside a region I am standing in does not block LOS
los_nb_local_static    00002   // Static items inside a region I am standing in do not block LOS
los_nb_local_dynamic   00004   // Dynamic items inside a region I am standing in do not block LOS
los_nb_local_multi     00008   // Multi items inside a region I am standing in do not block LOS
los_nb_terrain         00010   // Terrain does not block LOS at all
los_nb_static          00020   // Static items do not block LOS at all
los_nb_dynamic         00040   // Dynamic items do not block LOS at all
los_nb_multi           00080   // Multi items do not block LOS at all
los_nb_windows         00100   // Windows do not block LOS (e.g. Archery + Magery)
los_no_other_region    00200   // Do not allow LOS path checking to go out of your region
los_nc_multi           00400   // Do not allow LOS path checking to go through (no cross) a multi region (except the one you are standing in)
los_fishing            00800   // Do not allow LOS path checking to go through objects or terrain which do not represent water
los_nc_water           01000   // Do not allow LOS path checking to go through water.


[DEFNAME passive_buff_icons]
passivebufficon_Hidden				1012
passivebufficon_ActiveMeditation	1013
passivebufficon_Incognito			1032
passivebufficon_Disguised			1033
passivebufficon_Polymorph			1035
passivebufficon_GargoyleFly			1054
passivebufficon_Despair				1060

[DEFNAME debuff_icons]
debufficon_NoRemount			1001
debufficon_DeathStrike			1006
debufficon_EvilOmen				1007
debufficon_HealingThrottle		1008
debufficon_StaminaThrottle		1009
debufficon_BloodOathCurse		1015
debufficon_CorpseSkin			1016
debufficon_MindRot				1017
debufficon_PainSpike			1018
debufficon_Strangle				1019
debufficon_ThunderStorm			1022
debufficon_EssenceOfWind		1023
debufficon_MortalStrike			1027
debufficon_Paralyze				1037
debufficon_Poison				1038
debufficon_Bleed				1039
debufficon_Clumsy				1040
debufficon_Feeblemind			1041
debufficon_Weaken				1042
debufficon_Curse				1043
debufficon_MassCurse			1044
debufficon_Sleep				1049
debufficon_SpellPlague			1051
debufficon_Tribulation			1059
debufficon_HitLowerAttack		1063
debufficon_HitLowerDefense		1064
debufficon_SpellFocusing		1071
debufficon_RageFocusing			1072
debufficon_ForceArrow			1076
debufficon_Disarm				1077
debufficon_TalonStrike			1080
debufficon_PhysicAttack			1081
debufficon_EnemyOfOne			1084
debufficon_FandancerFanFire		1105
debufficon_Rage					1106
debufficon_Webbing				1107
debufficon_MedusaStone			1108
debufficon_DragonSlasherFear	1109
debufficon_AuraOfNausea			1110
debufficon_HowlOfCacophony		1111
debufficon_GazeDespair			1112
debufficon_HiryuPhysicalResistance	1113
debufficon_RuneBeetleCorruption	1114
debufficon_BloodWormAnemia		1115
debufficon_RotwormBloodDisease	1116
debufficon_SkillUseDelay		1117
debufficon_FactionStatLoss		1118
debufficon_HeatOfBattle			1119
debufficon_CriminalStatus		1120
debufficon_ArmorPierce			1121
debufficon_SplinteringEffect	1122
debufficon_SwingSpeed			1123
debufficon_Humility				1127
debufficon_Stagger				1131
debufficon_Pierce				1134
debufficon_Onslaught			1137
debufficon_ElementalFury		1139
debufficon_DeathRay				1155
debufficon_InjectedStrike		1161
debufficon_PlayingTheOdds		1164
debufficon_DragonTurtle			1165
debufficon_Thrust				1168
debufficon_Sparks				1176
debufficon_Swarm				1177
debufficon_BoneBreaker			1178
debufficon_Feint				1185
debufficon_Discordance			1189

[DEFNAME buff_icons]
bufficon_NoRearm				1002
bufficon_NightSight				1005
bufficon_DivineFury				1010
bufficon_EnemyOfOne				1011
bufficon_BloodOathCaster		1014
bufficon_GiftOfRenewal			1020
bufficon_AttuneWeapon			1021
bufficon_EtherealVoyage			1024
bufficon_FiftOfFife				1025
bufficon_ArcaneEmpowerment		1026
bufficon_ReactiveArmor			1028
bufficon_Protection				1029
bufficon_ArchProtection			1030
bufficon_MagicReflection		1031
bufficon_AnimalForm				1034
bufficon_Invisibility			1036
bufficon_Agility				1045
bufficon_Cunning				1046
bufficon_Strength				1047
bufficon_Bless					1048
bufficon_StoneForm				1050
bufficon_GargoyleBerserk		1052
bufficon_Inspire				1055
bufficon_Invigorate				1056
bufficon_Resilience				1057
bufficon_Perseverance			1058
bufficon_FishPie				1062
bufficon_HitDualWield			1065
bufficon_Block					1066
bufficon_DefenseMastery			1067
bufficon_Despair				1068
bufficon_HealingEffect			1069
bufficon_SpellFocusing			1070
bufficon_RageFocusing			1073
bufficon_Warding				1074
bufficon_Yribulation			1075
bufficon_Surge					1078
bufficon_Feint					1079
bufficon_Consecrate				1082
bufficon_GrapesOfWrath			1083
bufficon_HorrificBeast			1085
bufficon_LichForm				1086
bufficon_VampiricEmbrace		1087
bufficon_CurseWeapon			1088
bufficon_ReaperForm				1089
bufficon_InmolatingWeapon		1090
bufficon_Enchant				1091
bufficon_HonorableExecution		1092
bufficon_Confidence				1093
bufficon_Evasion				1094
bufficon_CounterAttack			1095
bufficon_LightningStrike		1096
bufficon_MomentumStrike			1097
bufficon_OrangePetals			1098
bufficon_RoseOfTrinsic			1099
bufficon_PoisonImmunity			1100
bufficon_Veterinary				1101
bufficon_Perfection				1102
bufficon_Honored				1103
bufficon_ManaPhase				1104
bufficon_WraithForm				1124
bufficon_CityTradeDeal			1126
bufficon_Spirituality			1128
bufficon_Humility				1129
bufficon_Rampage				1130
bufficon_Toughness				1132
bufficon_Thrust					1133
bufficon_PlayingTheOdds			1135
bufficon_FocusedEye				1136
bufficon_ElementalFury			1138
bufficon_CalledShot				1140
bufficon_Knockout				1141
bufficon_WarriorsGifts			1142	// Previously known as Saving Throw
bufficon_Conduit				1143
bufficon_EtherealBurst			1144
bufficon_MysticWeapon			1145
bufficon_ManaShield				1146
bufficon_AnticipateHit			1147
bufficon_Warcry					1148
bufficon_Shadow					1149
bufficon_WhiteTigerForm			1150
bufficon_Bodyguard				1151
bufficon_HeightenedSenses		1152
bufficon_Tolerance				1153
bufficon_DeathRay				1154
bufficon_Intuition				1156
bufficon_EnchantedSummoning		1157
bufficon_ShieldBash				1158
bufficon_Whispering				1159
bufficon_CombatTraining			1160
bufficon_InjectedStrike			1162
bufficon_UnknownTomato			1163
bufficon_Boarding				1166
bufficon_Potency				1167
bufficon_FistsOfFury			1169
bufficon_BarrabHemolymphConcentrate	1170
bufficon_JukariBurnPoultice		1171
bufficon_KurakAmbushersEssence	1172
bufficon_BarakoDraftOfMight		1173
bufficon_UraliTranceTonic		1174
bufficon_SakkhraProphylaxis		1175
bufficon_Sparks					1179
bufficon_Swarm					1180
bufficon_BoneBreaker			1181
bufficon_StatueTransformation	1182
bufficon_CorasManaRage			1183
bufficon_VirtueShield			1184
bufficon_CaddelliteInfused		1186
bufficon_PotionOfGloriousFortune	1187
bufficon_MysticalPolymorphTotem		1188

[DEFNAME buff_clilocs]
buffcliloc_Empty				1070722
buffcliloc_NoRemount_1			1075635
buffcliloc_NoRemount_2			1075636
buffcliloc_ActiveMeditation_1	1075657
buffcliloc_ActiveMeditation_2	1075658
buffcliloc_Curse_1				1075835
buffcliloc_Curse_2				1075836
buffcliloc_Weaken_1				1075837
buffcliloc_Weaken_2				1075838
buffcliloc_MassCurse_1			1075839
buffcliloc_MassCurse_2			1075840
buffcliloc_Agility_1			1075841
buffcliloc_Agility_2			1075842
buffcliloc_Cunning_1			1075843
buffcliloc_Cunning_2			1075844
buffcliloc_Strength_1			1075845
buffcliloc_Strength_2			1075846
buffcliloc_Bless_1				1075847
buffcliloc_Bless_2				1075848
buffcliloc_ReactiveArmor_1		1075812
buffcliloc_ReactiveArmor_2		1075813
buffcliloc_Protection_1			1075814
buffcliloc_Protection_2			1075815
buffcliloc_ArchProtection		1075816
buffcliloc_ArchProtection		1075815
buffcliloc_Invisibility_1		1075825
buffcliloc_Invisibility_2		1075826
buffcliloc_Paralyze_1			1075827
buffcliloc_Paralyze_2			1075828
buffcliloc_MagicReflection_1	1075817
buffcliloc_MagicReflection_2	1075818
buffcliloc_Clumsy_1				1075831
buffcliloc_Clumsy_2				1075832
buffcliloc_Feeblemind_1			1075833
buffcliloc_Feeblemind_2			1075834
buffcliloc_Incognito_1			1075819
buffcliloc_Incognito_2			1075820
buffcliloc_Polymorph_1			1075824
buffcliloc_Polymorph_2			1075823
buffcliloc_Poison_1				1017383
buffcliloc_Poison_2				1070722
buffcliloc_Nightsight_1			1075643
buffcliloc_Nightsight_2			1075644
buffcliloc_Hidden_1				1075655
buffcliloc_Hidden_2				1075656
buffcliloc_GargoyleFly_1		1112193
buffcliloc_GargoyleFly_2		1112567
buffcliloc_GrapesOfWrath_1		1032247
buffcliloc_GrapesOfWrath_2		1153762
buffcliloc_HorrificBeast_1		1060514
buffcliloc_HorrificBeast_2		1153763
buffcliloc_LichForm_1			1060515
buffcliloc_LichForm_2			1153767
buffcliloc_VampiricEmbrace_1	1060521
buffcliloc_VampiricEmbrace_2	1153768
buffcliloc_WraithForm_1			1060524
buffcliloc_WraithForm_2			1153829
buffcliloc_ReaperForm_1			1071034
buffcliloc_ReaperForm_2			1153781
buffcliloc_StoneForm_1			1080145
buffcliloc_StoneForm_2			1080146
buffcliloc_CriminalStatus_1		1153802
buffcliloc_CriminalStatus_2		1153828
buffcliloc_BarrabHemolymphConcentrate_1	1156724
buffcliloc_BarrabHemolymphConcentrate_2	1156738
buffcliloc_JukariBurnPoultice_1		1156726
buffcliloc_JukariBurnPoultice_2		1156739
buffcliloc_KurakAmbushersEssence_1	1156728
buffcliloc_KurakAmbushersEssence_2	1156740
buffcliloc_BarakoDraftOfMight_1		1156729
buffcliloc_BarakoDraftOfMight_2		1156741
buffcliloc_UraliTranceTonic_1		1156734
buffcliloc_UraliTranceTonic_2		1156742
buffcliloc_SakkhraProphylaxis_1		1156732
buffcliloc_SakkhraProphylaxis_2		1156743
buffcliloc_Sparks_1					1157330
buffcliloc_Sparks_2					1157329
buffcliloc_Swarm_1					1157328
buffcliloc_Swarm_2					1157327
buffcliloc_BoneBreaker_1			1157318
buffcliloc_BoneBreaker_2			1157319
buffcliloc_StatueTransformation_1	1158018
buffcliloc_StatueTransformation_2	1158017
buffcliloc_CorasManaRage_1			1158283
buffcliloc_CorasManaRage_2			1158284
buffcliloc_VirtueShield_1			1158382
buffcliloc_VirtueShield_2			1158383
buffcliloc_CaddelliteInfused_1			1158662
buffcliloc_CaddelliteInfused_2			1158677
buffcliloc_PotionOfGloriousFortune_1			1158688
buffcliloc_PotionOfGloriousFortune_2			1158720
buffcliloc_MysticalPolymorphTotem_1	1158780
buffcliloc_MysticalPolymorphTotem_2	1158017
buffcliloc_Discordance_1			1044075
buffcliloc_Discordance_2			1158786

[DEFNAME charheight]
height_01 28 //DEFNAME=c_ogre
height_02 32 //DEFNAME=c_ettin
height_03 16 //DEFNAME=c_zombie
height_04 18 //DEFNAME=c_gargoyle
height_05 6  //DEFNAME=c_eagle
height_06 2  //DEFNAME=c_bird
height_07 15 //DEFNAME=c_orc_captain
height_08 18 //DEFNAME=c_corpser
height_09 35 //DEFNAME=c_demon_summoned
height_0a 35 //DEFNAME=c_demon
height_0b 10 //DEFNAME=c_spider_dread
height_0c 35 //DEFNAME=c_dragon
height_0d 16 //DEFNAME=c_elemental_air_summoned
height_0e 16 //DEFNAME=c_elemental_earth_summoned
height_0f 18 //DEFNAME=c_elemental_fire_summoned

height_010 18 //DEFNAME=c_elemental_water_summoned
height_011 15 //DEFNAME=c_orc
height_012 32 //DEFNAME=c_ettin_w_hammer
height_013 10 //DEFNAME=c_spider_malefic
height_014 10 //DEFNAME=c_spider_frost
height_015 6  //DEFNAME=c_snake_giant
height_016 16 //DEFNAME=c_gazer
height_017 10 //DEFNAME=c_wolf_dire
height_018 18 //DEFNAME=c_lich
height_019 10 //DEFNAME=c_wolf_grey
height_01a 18 //DEFNAME=c_spectre
height_01b 10 //DEFNAME=c_wolf_grey2
height_01c 10 //DEFNAME=c_spider_giant
height_01d 12 //DEFNAME=c_gorilla
height_01e 18 //DEFNAME=c_harpy
height_01f 16 //DEFNAME=c_headless

height_021 18 //DEFNAME=c_lizardman
height_022 10 //DEFNAME=c_wolf_white
height_023 18 //DEFNAME=c_lizardman_spear
height_024 18 //DEFNAME=c_lizardman_mace
height_025 10 //DEFNAME=c_wolf_unknown
height_026 35 //DEFNAME=c_demon_dark
height_027 10 //DEFNAME=c_mongbat
height_028 35 //DEFNAME=c_demon_balron
height_029 15 //DEFNAME=c_orc_w_club
height_02a 18 //DEFNAME=c_ratman
height_02b 35 //DEFNAME=c_demon_ice
height_02c 18 //DEFNAME=c_ratman_w_mace
height_02d 18 //DEFNAME=c_ratman_w_sword
height_02e 45 //DEFNAME=c_wyrm_ancient
height_02f 40 //DEFNAME=c_reaper

height_030 10 //DEFNAME=c_scorpion_giant
height_031 45 //DEFNAME=c_wyrm_white
height_032 16 //DEFNAME=c_skeleton
height_033 1  //DEFNAME=c_slime
height_034 1  //DEFNAME=c_snake
height_035 23 //DEFNAME=c_troll_w_axe
height_036 23 //DEFNAME=c_troll
height_037 23 //DEFNAME=c_frost_troll
height_038 16 //DEFNAME=c_skeleton_w_axe
height_039 16 //DEFNAME=c_skeleton_w_sword
height_03a 15 //DEFNAME=c_wisp
height_03b 35 //DEFNAME=c_dragon_red
height_03c 30 //DEFNAME=c_drake
height_03d 30 //DEFNAME=c_drake_red
height_03e 18 //DEFNAME=c_wyvern
height_03f 8  //DEFNAME=c_cougar

height_040 8  //DEFNAME=c_leopard
height_041 8  //DEFNAME=c_leopard_snow
height_042 18 //DEFNAME=c_swamp_tentacles
height_043 16 //DEFNAME=c_gargoyle_stone
height_044 16 //DEFNAME=c_gazer_elder
height_045 16 //DEFNAME=c_gazer_unknown2
height_046 16 //DEFNAME=c_terathan_warrior
height_047 15 //DEFNAME=c_terathan_drone
height_048 18 //DEFNAME=c_terathan_matriarch
height_049 18 //DEFNAME=c_harpy_stone
height_04a 12 //DEFNAME=c_imp
height_04b 28 //DEFNAME=c_cyclops
height_04c 40 //DEFNAME=c_titan
height_04d 16 //DEFNAME=c_kraken
height_04e 18 //DEFNAME=c_lich_ancient
height_04f 18 //DEFNAME=c_lich_lord

height_050 15 //DEFNAME=c_toad_giant
height_051 5  //DEFNAME=c_bullfrog
height_052 20 //DEFNAME=c_dark_guardian
height_053 28 //DEFNAME=c_ogre_lord
height_054 28 //DEFNAME=c_ogre_lord_arctic2
height_055 18 //DEFNAME=c_ophidian_shaman
height_056 18 //DEFNAME=c_ophidian_warrior
height_057 18 //DEFNAME=c_ophidian_queen
height_058 8  //DEFNAME=c_goat
height_059 6  //DEFNAME=c_serpent_ice
height_05a 6  //DEFNAME=c_serpent_lava
height_05b 6  //DEFNAME=c_serpent_silver
height_05c 6  //DEFNAME=c_serpent_coil
height_05d 6  //DEFNAME=c_serpent_unknown2
height_05e 1  //DEFNAME=c_frostooze
height_05f 12 //DEFNAME=c_sea_monster

height_060 1  //DEFNAME=c_frostooze_unknown
height_061 8  //DEFNAME=c_hellhound
height_062 8  //DEFNAME=c_hellhound_leader
height_063 8  //DEFNAME=c_wolf_dark
height_064 8  //DEFNAME=c_wolf_silver
height_065 19 //DEFNAME=c_centaur
height_066 35 //DEFNAME=c_demon_exodus
height_067 30 //DEFNAME=c_serpentine_dragon
height_068 30 //DEFNAME=c_skeletal_dragon
height_06a 45 //DEFNAME=c_wyrm_shadow
height_06b 18 //DEFNAME=c_elemental_ore_agapite
height_06c 18 //DEFNAME=c_elemental_ore_bronze
height_06d 18 //DEFNAME=c_elemental_ore_copper
height_06e 18 //DEFNAME=c_elemental_ore_copper_dull
height_06f 18 //DEFNAME=c_elemental_ore_shadow

height_070 18 //DEFNAME=c_elemental_ore_valorite
height_071 20 //DEFNAME=c_elemental_ore_verite
height_072 16 //DEFNAME=c_steed_dark
height_073 16 //DEFNAME=c_steed_ethereal
height_074 16 //DEFNAME=c_nightmare
height_075 16 //DEFNAME=c_steed_silver
height_076 16 //DEFNAME=c_warhorse_truebritannians
height_077 16 //DEFNAME=c_warhorse_magecouncil
height_078 16 //DEFNAME=c_warhorse_minax
height_079 16 //DEFNAME=c_warhorse_shadowlords
height_07a 16 //DEFNAME=c_unicorn
height_07b 30 //DEFNAME=c_forest_lord
height_07c 16 //DEFNAME=c_evilamge_unknown
height_07d 16 //DEFNAME=c_evilamge
height_07e 16 //DEFNAME=c_evilamge_lord
height_07f 8  //DEFNAME=c_hellcat

height_080 12 //DEFNAME=c_pixie
height_081 18 //DEFNAME=c_harrower_tentacles
height_082 16 //DEFNAME=c_gargoyle_fire
height_083 18 //DEFNAME=c_efreet
height_084 15 //DEFNAME=c_kirin
height_085 7  //DEFNAME=c_alligator_small
height_086 9  //DEFNAME=c_dragon_komodo
height_087 28 //DEFNAME=c_ogre_lord_arctic
height_088 18 //DEFNAME=c_ophidian_unknown
height_089 19 //DEFNAME=c_ophidian_avenger
height_08a 15 //DEFNAME=c_orc_lord
height_08b 15 //DEFNAME=c_orc_unknown
height_08c 15 //DEFNAME=c_orc_mage
height_08d 16 //DEFNAME=c_man_paladin
height_08e 18 //DEFNAME=c_ratman_archer
height_08f 18 //DEFNAME=c_ratman_mage

height_090 16 //DEFNAME=c_horse_sea
height_091 12 //DEFNAME=c_sea_serpent_deep
height_092 16 //DEFNAME=c_shadowlord
height_093 16 //DEFNAME=c_skeleton_knight
height_094 16 //DEFNAME=c_skeleton_mage
height_095 16 //DEFNAME=c_succubus
height_096 8  //DEFNAME=c_sea_serpent
height_097 4  //DEFNAME=c_dolphin
height_098 18 //DEFNAME=c_terathan_avenger
height_099 12 //DEFNAME=c_ghoul
height_09a 16 //DEFNAME=c_mummy
height_09b 15 //DEFNAME=c_rotting_corpse
height_09d 10 //DEFNAME=c_spider_unknown
height_09e 18 //DEFNAME=c_elemental_acid
height_09f 18 //DEFNAME=c_elemental_blood

height_0a0 18 //DEFNAME=c_elemental_unknown_red
height_0a1 18 //DEFNAME=c_elemental_ice
height_0a2 18 //DEFNAME=c_elemental_poison
height_0a3 18 //DEFNAME=c_elemental_snow
height_0a4 16 //DEFNAME=c_energy_vortex
height_0a5 15 //DEFNAME=c_wisp_dark
height_0a6 18 //DEFNAME=c_elemental_ore_gold
height_0a7 9  //DEFNAME=c_bear_brown
height_0a8 12 //DEFNAME=c_shadow_fiend
height_0aa 10 //DEFNAME=c_llama_ethereal
height_0ab 18 //DEFNAME=c_ostard_frenzied_ethereal
height_0ac 45 //DEFNAME=c_champ_rikktor
height_0ad 18 //DEFNAME=c_champ_mephitis
height_0ae 35 //DEFNAME=c_champ_semidar
height_0af 36 //DEFNAME=c_champ_lord_oaks

height_0b0 30 //DEFNAME=c_champ_silvani
height_0b5 18 //DEFNAME=c_orc_scout
height_0b6 15 //DEFNAME=c_orc_bomber
height_0b7 16 //DEFNAME=c_savage_warrior_male
height_0b8 16 //DEFNAME=c_savage_warrior_female
height_0b9 16 //DEFNAME=c_savage_warrior_unmounted
height_0ba 16 //DEFNAME=c_savage_shaman
height_0bb 16 //DEFNAME=c_ridgeback
height_0bc 16 //DEFNAME=c_savage_ridgeback
height_0bd 45 //DEFNAME=c_orc_brute
height_0be 16 //DEFNAME=c_steed_fire
height_0bf 15 //DEFNAME=c_kirin_ethereal

height_0c0 16 //DEFNAME=c_unicorn_ethereal
height_0c1 16 //DEFNAME=c_ridgeback_ethereal
height_0c2 15 //DEFNAME=c_swamp_dragon_ethereal
height_0c3 12 //DEFNAME=c_giant_beetle_ethereal
height_0c4 18 //DEFNAME=c_kaze_kemono
height_0c5 45 //DEFNAME=c_dragon_crimson
height_0c6 45 //DEFNAME=c_dragon_platinum
height_0c7 18 //DEFNAME=c_rai_ju
height_0c8 16 //DEFNAME=c_horse_tan
height_0c9 3  //DEFNAME=c_cat
height_0ca 8  //DEFNAME=c_alligator
height_0cb 7  //DEFNAME=c_pig
height_0cc 16 //DEFNAME=c_horse_brown_dk
height_0cd 2  //DEFNAME=c_rabbit
height_0ce 8  //DEFNAME=c_lava_lizard
height_0cf 5  //DEFNAME=c_sheep_woolly

height_0d0 3  //DEFNAME=c_chicken
height_0d1 8  //DEFNAME=c_goat_mountain
height_0d2 18 //DEFNAME=c_ostard_desert
height_0d3 9  //DEFNAME=c_bear_black
height_0d4 11 //DEFNAME=c_bear_grizzly
height_0d5 14 //DEFNAME=c_bear_polar
height_0d6 8  //DEFNAME=c_panther
height_0d7 6  //DEFNAME=c_rat_giant
height_0d8 9  //DEFNAME=c_cow_bw
height_0d9 5  //DEFNAME=c_dog
height_0da 18 //DEFNAME=c_ostard_frenzied
height_0db 18 //DEFNAME=c_ostard_forest
height_0dc 10 //DEFNAME=c_llama
height_0dd 11 //DEFNAME=c_walrus
height_0df 5  //DEFNAME=c_sheep_shorn

height_0e1 10 //DEFNAME=c_wolf_timber
height_0e2 16 //DEFNAME=c_horse_gray
height_0e4 16 //DEFNAME=c_horse_brown_lt
height_0e7 9  //DEFNAME=c_cow_brown
height_0e8 10 //DEFNAME=c_bull_brown_lt
height_0e9 10 //DEFNAME=c_bull_brown_dk
height_0ea 10 //DEFNAME=c_stag
height_0ed 8  //DEFNAME=c_doe
height_0ee 2  //DEFNAME=c_rat

height_0f0 16 //DEFNAME=c_kappa
height_0f1 18 //DEFNAME=c_oni
height_0f2 9  //DEFNAME=c_deathwatch_beetle
height_0f3 15 //DEFNAME=c_hiryu
height_0f4 18 //DEFNAME=c_rune_beetle
height_0f5 18 //DEFNAME=c_yomotsu_warrior
height_0f6 10 //DEFNAME=c_bake_kitsune
height_0f7 12 //DEFNAME=c_fan_dancer
height_0f8 18 //DEFNAME=c_gaman
height_0f9 23 //DEFNAME=c_yamandon
height_0fa 25 //DEFNAME=c_tsuki_wolf
height_0fb 15 //DEFNAME=c_revenant_lion
height_0fc 14 //DEFNAME=c_lady_of_snow
height_0fd 18 //DEFNAME=c_yomotsu_priest
height_0fe 5  //DEFNAME=c_crane
height_0ff 18 //DEFNAME=c_yomotsu_elder

height_0100 35 //DEFNAME=c_chief_paroxysmus
height_0101 16 //DEFNAME=c_dread_horn
height_0102 19 //DEFNAME=c_lady_melisande
height_0103 25 //DEFNAME=c_monstrous_interred_grizzle
height_0105 28 //DEFNAME=c_shimmering_effusion
height_0106 18 //DEFNAME=c_tormented_minotaur
height_0107 18 //DEFNAME=c_minotaur
height_0108 18 //DEFNAME=c_changeling
height_0109 25 //DEFNAME=c_hydra
height_010a 14 //DEFNAME=c_dryad
height_010b 15 //DEFNAME=c_troglodyte
height_010c 18 //DEFNAME=c_satyr_unknown
height_010d 18 //DEFNAME=c_satyr_unknown
height_010e 18 //DEFNAME=c_grubber
height_010f 18 //DEFNAME=c_satyr

height_0110 28 //DEFNAME=c_interred_grizzle?
height_0111 18 //DEFNAME=c_Fetid_Essence
height_0114 18 //DEFNAME=c_reptalon
height_0115 12 //DEFNAME=c_cu_sidhe
height_0116 2  //DEFNAME=c_squirrel
height_0117 3  //DEFNAME=c_ferret
height_0118 30 //DEFNAME=c_minotaur_captain
height_0119 30 //DEFNAME=c_minotaur_scout
height_011a 4  //DEFNAME=c_parrot
height_011b 3  //DEFNAME=c_black_crow
height_011c 16 //DEFNAME=c_armor_steed
height_011d 30 //DEFNAME=c_reaper_redux

height_0122 7  //DEFNAME=c_pig_big
height_0123 15 //DEFNAME=c_horse_pack
height_0124 10 //DEFNAME=c_llama_pack
height_012c 15 //DEFNAME=c_crystal_elemental
height_012d 18 //DEFNAME=c_treefellow
height_012e 8  //DEFNAME=c_skittering_hopper
height_012f 18 //DEFNAME=c_devourer_souls

height_0130 18 //DEFNAME=c_flesh_golem
height_0131 14 //DEFNAME=c_gore_fiend
height_0132 24 //DEFNAME=c_impaler
height_0133 16 //DEFNAME=c_gibberling
height_0134 30 //DEFNAME=c_bone_demon
height_0135 16 //DEFNAME=c_patchwork_skeleton
height_0136 19 //DEFNAME=c_wailing_banshee
height_0137 24 //DEFNAME=c_shadow_knight
height_0138 35 //DEFNAME=c_abyssmal_horror
height_0139 32 //DEFNAME=c_darknight_creeper
height_013a 25 //DEFNAME=c_ravager
height_013b 25 //DEFNAME=c_flesh_renderer
height_013c 30 //DEFNAME=c_wanderer_void
height_013d 14 //DEFNAME=c_vampire_bat
height_013e 24 //DEFNAME=c_dark_father
height_013f 8  //DEFNAME=c_mound_maggots

height_0190 16 //DEFNAME=c_man
height_0191 16 //DEFNAME=c_woman
height_0192 16 //DEFNAME=c_ghost_man
height_0193 16 //DEFNAME=c_ghost_woman

height_01a4 8  //DEFNAME=c_child_mb
height_01a5 8  //DEFNAME=c_child_md
height_01a6 8  //DEFNAME=c_child_fb
height_01a7 8  //DEFNAME=c_child_fd
height_01a8 2  //DEFNAME=c_man_invisible

height_023e 16 //DEFNAME=c_blade_spirit

height_025d 16 //DEFNAME=c_elf_male
height_025e 16 //DEFNAME=c_elf_female
height_025f 16 //DEFNAME=c_elf_ghost_man

height_0260 16 //DEFNAME=c_elf_ghost_woman

height_029a 16 //DEFNAME=c_gargoyle_male
height_029b 16 //DEFNAME=c_gargoyle_female

height_02b6 16 //DEFNAME=c_garg_ghost_man
height_02b7 16 //DEFNAME=c_garg_ghost_woman

height_02f0 30 //DEFNAME=c_iron_golem
height_02f1 16 //DEFNAME=c_gargoyle_enslaved
height_02f2 18 //DEFNAME=c_gargoyle_enforcer
height_02f3 32 //DEFNAME=c_gargoyle_destroyer
height_02f4 16 //DEFNAME=c_exodus_overseer
height_02f5 18 //DEFNAME=c_exodus_minion
height_02f6 16 //DEFNAME=c_gargoyle_shop
height_02fb 40 //DEFNAME=c_exodus_minionlord
height_02fc 15 //DEFNAME=c_juka_warrior
height_02fd 16 //DEFNAME=c_juka_mage
height_02fe 17 //DEFNAME=c_juka_lord
height_02ff 15 //DEFNAME=c_betrayer

height_0300 18 //DEFNAME=c_juggernaut
height_0301 15 //DEFNAME=c_blackthorn
height_0302 16 //DEFNAME=c_meer_mage
height_0303 16 //DEFNAME=c_meer_warrior
height_0304 18 //DEFNAME=c_meer_eternal
height_0305 16 //DEFNAME=c_meer_captain
height_0306 16 //DEFNAME=c_dawn
height_0307 10 //DEFNAME=c_plague_beast
height_0308 10 //DEFNAME=c_demon_horde_minion
height_0309 16 //DEFNAME=c_doppelganger
height_030a 16 //DEFNAME=c_gazer_larva
height_030b 16 //DEFNAME=c_bogling
height_030c 30 //DEFNAME=c_bog_thing
height_030d 18 //DEFNAME=c_solen_worker
height_030e 18 //DEFNAME=c_solen_warrior
height_030f 18 //DEFNAME=c_solen_queen

height_0310 35 //DEFNAME=c_arcane_daemon
height_0311 30 //DEFNAME=c_Moloch
height_0313 15 //DEFNAME=c_ant_lion
height_0314 18 //DEFNAME=c_Sphynx
height_0315 15 //DEFNAME=c_quagmire
height_0317 12 //DEFNAME=c_giant_beetle
height_0318 30 //DEFNAME=c_chaos_daemon
height_0319 16 //DEFNAME=c_skeletal_mount
height_031a 15 //DEFNAME=c_swamp_dragon
height_031b 18 //DEFNAME=c_demon_horde_medium
height_031c 40 //DEFNAME=c_demon_horde_large
height_031d 45 //DEFNAME=c_reptile_lord
height_031e 45 //DEFNAME=c_ancient_wyrm
height_031f 15 //DEFNAME=c_armored_swamp_dragon
height_03ca 18 //DEFNAME=c_phantom
height_03db 16 //DEFNAME=c_man_gm
height_03e7 40 //DEFNAME=c_demon_horde_colored

[DEFNAME ref_types]
tref_serv          000001
tref_file          000002
tref_newfile       000004
tref_db            000008
tref_resdef        000010
tref_resbase       000020
tref_functionargs  000040
tref_fileobj       000080
tref_fileobjcont   000100
tref_account       000200
tref_stonemember   000800
tref_serverdef     001000
tref_sector        002000
tref_world         004000
tref_gmpage        008000
tref_client        010000
tref_object        020000
tref_char          040000
tref_item          080000

[DEFNAME death_flags]
death_nofamechange      001
death_nocorpse          002
death_nolootdrop        004
death_noconjuredeffect  008
death_hascorpse         010

[DEFNAME noto_types]
noto_good            1
noto_guild_same      2
noto_neutral         3
noto_criminal        4
noto_guild_war       5
noto_evil            6
noto_invul           7

// CanUse flags
// Uses new internal variable CANUSE. Script for this is in the addon's folder in the script pack.
// Used on items for checks or npcs (mounts, golems, etc)
[DEFNAME canuse_flags]
can_u_all			0
can_u_male			01
can_u_female		02
can_u_human			04
can_u_elf			08
can_u_gargoyle		010
can_u_none			020

[DEFNAME swing_types]
war_swing_equipping		0	// we are recoiling our weapon.
war_swing_ready			1	// we can swing at any time.
war_swing_swinging		2	// we are swinging our weapon.

[DEFNAME expansions]
expansion_t2a			0
expansion_renaissance	1
expansion_thirddawn		2
expansion_lbr			3
expansion_aos			4
expansion_se			5
expansion_ml			6
expansion_sa			7
expansion_hs			8
expansion_tol			9

[DEFNAME theme_packs]
theme_gothic		1
theme_rustic		2

// Waypoint types used by MAPWAYPOINT function (enhanced clients only)
[DEFNAME mapwaypoint_types]
mapwaypoint_remove				0
mapwaypoint_corpse				1
mapwaypoint_partymember			2
mapwaypoint_questgiver			4
mapwaypoint_newplayerquest		5
mapwaypoint_healer				6
mapwaypoint_shrine				11
mapwaypoint_moongate			12
mapwaypoint_greendot			14
mapwaypoint_greendot_flashing	15

[EOF]