// basedata.txt // by Kelandon (tomwatts5@gmail.com) // // Custom Objects Script Base // // This scenario fixes a few bugs in the base scenario // data scripts and adds objects such that all of the // available but unused graphics are used for something, // e.g. the "ice" graphic that floor 132 uses. It's // intended to be a starting point for any custom objects // script that you create for your scenario. beginscendatascript; // ******************************** FLOOR TYPES ******************************** // FIX DEFAULT FLOORS begindefinefloor 132; import = 100; begindefinefloor 100; fl_ed_icon_adjust = 256; // ADD NEW FLOORS begindefinefloor 132; import = 79; fl_name = "Ice"; fl_which_sheet = 752; fl_which_icon = 0; fl_ed_which_sheet = 684; fl_ed_which_icon = 20; fl_anim_steps = 4; fl_special_property = 2; begindefinefloor 133; import = 81; fl_which_sheet = 705; fl_which_icon = 9; fl_ed_which_sheet = 680; fl_ed_which_icon = 59; begindefinefloor 134; import = 117; fl_which_sheet = 707; fl_which_icon = 4; fl_ed_which_sheet = 680; fl_ed_which_icon = 74; begindefinefloor 135; import = 117; fl_which_sheet = 709; fl_which_icon = 1; fl_ed_which_sheet = 680; fl_ed_which_icon = 91; begindefinefloor 136; import = 73; fl_name = "Grass"; fl_which_sheet = 751; fl_which_icon = 5; fl_ed_which_sheet = 684; fl_ed_which_icon = 15; begindefinefloor 137; import = 77; fl_which_sheet = 751; fl_which_icon = 6; fl_ed_which_sheet = 684; fl_ed_which_icon = 16; begindefinefloor 138; import = 95; fl_which_sheet = 751; fl_which_icon = 7; fl_ed_which_sheet = 684; fl_ed_which_icon = 17; begindefinefloor 139; import = 81; fl_which_sheet = 759; fl_which_icon = 8; fl_ed_which_sheet = 684; fl_ed_which_icon = 98; begindefinefloor 140; import = 81; fl_which_sheet = 759; fl_which_icon = 9; fl_ed_which_sheet = 684; fl_ed_which_icon = 99; begindefinefloor 141; import = 100; fl_which_sheet = 761; fl_which_icon = 4; fl_ed_which_sheet = 686; fl_ed_which_icon = 14; begindefinefloor 142; fl_which_icon = 5; fl_ed_which_icon = 15; fl_anim_steps = 4; begindefinefloor 143; import = 100; fl_which_sheet = 761; fl_which_icon = 9; fl_ed_which_sheet = 686; fl_ed_which_icon = 19; // ******************************* TERRAIN TYPES ******************************* // FIX OLD TERRAINS begindefineterrain 422; import = 396; begindefineterrain 396; te_swap_terrain = 456; begindefineterrain 422; import = 397; begindefineterrain 397; te_name = "Tree"; te_second_icon = 2; te_second_icon_offset_y = -55; // ADD NEW ONES begindefineterrain 422; import = 125; te_which_sheet = 703; te_which_icon = 8; te_ed_which_sheet = 680; te_ed_which_icon = 38; begindefineterrain 423; import = 96; te_which_sheet = 707; te_which_icon = 9; begindefineterrain 424; import = 355; te_which_sheet = 709; te_which_icon = 9; te_ed_which_sheet = 680; te_ed_which_icon = 99; begindefineterrain 425; import = 125; te_which_sheet = 717; te_which_icon = 7; te_ed_which_sheet = 681; te_ed_which_icon = 77; begindefineterrain 426; import = 141; te_name = "Grave"; te_which_sheet = 720; te_which_icon = 2; te_ed_which_sheet = 682; te_ed_which_icon = 92; begindefineterrain 427; te_which_sheet = 720; te_which_icon = 3; te_ed_which_sheet = 682; te_ed_which_icon = 93; begindefineterrain 428; import = 280; te_name = "Cross"; te_which_sheet = 720; te_which_icon = 4; te_ed_which_sheet = 682; te_ed_which_icon = 94; begindefineterrain 429; import = 280; te_which_sheet = 720; te_which_icon = 5; te_ed_which_sheet = 682; te_ed_which_icon = 95; begindefineterrain 430; import = 125; te_name = "Keg"; te_which_sheet = 720; te_which_icon = 6; te_ed_which_sheet = 682; te_ed_which_icon = 96; begindefineterrain 431; te_which_sheet = 720; te_which_icon = 7; te_ed_which_sheet = 682; te_ed_which_icon = 97; begindefineterrain 432; te_name = "Unlit Bonfire"; te_which_sheet = 722; te_which_icon = 5; te_ed_which_sheet = 682; te_ed_which_icon = 25; begindefineterrain 433; import = 282; te_which_sheet = 726; te_which_icon = 7; te_ed_which_sheet = 682; te_ed_which_icon = 67; begindefineterrain 434; import = 219; te_which_sheet = 727; te_which_icon = 9; te_ed_which_sheet = 682; te_ed_which_icon = 79; begindefineterrain 435; import = 261; te_which_sheet = 728; te_which_icon = 1; te_ed_which_sheet = 682; te_ed_which_icon = 81; begindefineterrain 436; import = 125; te_name = "Pillar"; te_which_sheet = 728; te_which_icon = 6; te_ed_which_sheet = 682; te_ed_which_icon = 86; begindefineterrain 437; import = 141; te_name = "Mine"; te_which_sheet = 730; te_which_icon = 0; te_ed_which_sheet = 687; te_ed_which_icon = 10; te_swap_terrain = 437; te_default_script = "trap"; begindefineterrain 438; import = 141; te_name = "Destroyed Mine"; te_which_sheet = 730; te_which_icon = 1; te_ed_which_sheet = 687; te_ed_which_icon = 11; begindefineterrain 439; import = 436; te_which_sheet = 731; te_which_icon = 0; te_anim_steps = 3; te_ed_which_sheet = 687; te_ed_which_icon = 12; te_swap_terrain = 439; begindefineterrain 440; import = 437; te_which_sheet = 731; te_which_icon = 3; te_ed_which_sheet = 687; te_ed_which_icon = 13; begindefineterrain 441; import = 267; te_name = "Light"; te_which_sheet = 732; te_which_icon = 0; te_ed_which_sheet = 687; te_ed_which_icon = 14; te_anim_steps = 3; begindefineterrain 442; te_which_sheet = 732; te_which_icon = 3; te_ed_which_sheet = 687; te_ed_which_icon = 15; begindefineterrain 443; import = 298; te_which_sheet = 742; te_which_icon = 8; te_ed_which_sheet = 683; te_ed_which_icon = 28; begindefineterrain 444; import = 125; te_name = "Pole"; te_which_sheet = 743; te_which_icon = 7; te_ed_which_sheet = 683; te_ed_which_icon = 37; begindefineterrain 445; import = 293; te_name = "Slope"; te_which_sheet = 744; te_which_icon = 5; begindefineterrain 446; import = 294; te_name = "Slope"; te_which_sheet = 744; te_which_icon = 6; begindefineterrain 447; import = 295; te_name = "Slope"; te_which_sheet = 744; te_which_icon = 7; begindefineterrain 448; import = 296; te_name = "Slope"; te_which_sheet = 744; te_which_icon = 8; begindefineterrain 449; import = 219; te_which_sheet = 757; te_which_icon = 9; te_ed_which_sheet = 684; te_ed_which_icon = 79; begindefineterrain 450; te_which_sheet = 759; te_which_icon = 6; te_ed_which_sheet = 684; te_ed_which_icon = 96; begindefineterrain 451; te_which_sheet = 759; te_which_icon = 7; te_ed_which_sheet = 684; te_ed_which_icon = 97; begindefineterrain 452; import = 304; te_name = "Building"; te_which_sheet = 762; te_which_icon = 0; te_ed_which_sheet = 686; te_ed_which_icon = 20; begindefineterrain 453; import = 125; te_name = "Field"; te_which_sheet = 764; te_which_icon = 0; te_ed_which_sheet = 686; te_ed_which_icon = 42; te_anim_steps = 4; begindefineterrain 454; import = 450; te_which_sheet = 768; te_which_icon = 2; te_ed_which_sheet = 686; te_ed_which_icon = 82; begindefineterrain 455; import = 368; te_which_sheet = 769; te_which_icon = 3; te_ed_which_sheet = 686; te_ed_which_icon = 93; begindefineterrain 456; import = 204; te_which_sheet = 786; te_which_icon = 6; te_ed_which_sheet = 688; te_ed_which_icon = 66; begindefineterrain 457; te_which_sheet = 786; te_which_icon = 7; te_ed_which_sheet = 688; te_ed_which_icon = 67; begindefineterrain 458; clear; te_name = "Found Supply Cache"; te_which_sheet = 787; te_which_icon = 0; te_ed_which_sheet = 688; te_ed_which_icon = 70; te_swap_terrain = 396; begindefineterrain 459; import = 450; te_which_sheet = 789; te_which_icon = 2; te_ed_which_sheet = 688; te_ed_which_icon = 92; begindefineterrain 460; import = 405; te_which_sheet = 796; te_which_icon = 8; te_ed_which_sheet = 689; te_ed_which_icon = 68; // ****************************** CREATURE TYPES ****************************** // FIX OLD CREATURES begindefinecreature 234; import = 100; begindefinecreature 100; // slith avatar cr_which_sheet = 1532; cr_icon_adjust = 2; begindefinecreature 234; import = 135; begindefinecreature 135; cr_which_sheet_upper = 1618; begindefinecreature 234; import = 157; begindefinecreature 157; cr_name = "Crystal Soul"; // ADD NEW ONES begindefinecreature 234; clear; cr_name = "Slime Pool"; cr_which_sheet = 1533; cr_level = 30; cr_species = 10; begindefinecreature 235; import = 83; cr_level = 25; cr_name = "Spider Queen"; cr_which_sheet = 1568; begindefinecreature 236; import = 61; cr_level = 50; cr_name = "Demon Lord"; cr_which_sheet = 1570; begindefinecreature 237; import = 18; cr_level = 20; cr_name = "King"; cr_which_sheet = 1572; // ******************************** ITEM TYPES ******************************** // FIX OLD ITEMS begindefineitem 445; import = 420; begindefineitem 420; it_floor_which_sheet = 1038; it_floor_which_icon = 4; it_inventory_icon = 5; begindefineitem 445; import = 345; begindefineitem 345; it_ability_1 = 89; // ADD NEW ITEMS begindefineitem 445; import = 52; it_name = "Axe"; it_full_name = "Axe"; it_floor_which_sheet = 1005; it_floor_which_icon = 1; it_inventory_icon = 2; begindefineitem 446; import = 82; it_name = "Cudgel"; it_full_name = "Cudgel"; it_floor_which_sheet = 1005; it_floor_which_icon = 1; it_inventory_icon = 2; it_damage_per_level = 5; it_bonus = 2; it_value = 240; it_weight = 50; begindefineitem 447; import = 315; it_name = "Wand"; it_full_name = "Crystal Wand"; it_floor_which_sheet = 1006; it_floor_which_icon = 0; it_inventory_icon = 9; it_missile_anim_type = 5; it_damage_per_level = 5; it_bonus = 4; it_value = 1500; begindefineitem 448; import = 282; it_name = "Wand"; it_full_name = "Wand of Blows"; it_floor_which_sheet = 1021; it_floor_which_icon = 1; it_inventory_icon = 2; it_ability_1 = 119; it_ability_str_1 = 20; it_value = 300; begindefineitem 449; import = 154; it_floor_which_sheet = 1010; it_floor_which_icon = 3; it_inventory_icon = 3; begindefineitem 450; import = 4; it_full_name = "Grapes"; it_floor_which_sheet = 1023; it_floor_which_icon = 0; it_inventory_icon = 0; begindefineitem 451; clear; it_name = "Egg"; it_full_name = "Drake Egg"; it_variety = 21; it_floor_which_sheet = 1023; it_floor_which_icon = 9; it_inventory_icon = 9; it_value = 30; it_weight = 15; begindefineitem 452; clear; it_full_name = "Aranea Fangs"; it_variety = 21; it_floor_which_sheet = 1024; it_floor_which_icon = 6; it_inventory_icon = 5; it_value = 10; it_weight = 5; it_identified = 1; begindefineitem 453; clear; it_name = "Book"; it_full_name = "Book"; it_variety = 21; it_floor_which_sheet = 1026; it_floor_which_icon = 1; it_inventory_icon = 1; it_weight = 10; it_identified = 1; it_ability_1 = 207; begindefineitem 454; it_floor_which_icon = 2; it_inventory_icon = 2; begindefineitem 455; it_floor_which_icon = 3; it_inventory_icon = 3; begindefineitem 456; import = 38; it_name = "Armor"; it_full_name = "Chitin Armor"; it_floor_which_sheet = 1029; it_floor_which_icon = 0; it_inventory_icon = 1; it_magic = 0; begindefineitem 457; clear; it_name = "Baton"; it_full_name = "Broken Baton"; it_floor_which_sheet = 1029; it_floor_which_icon = 2; it_inventory_icon = 3; it_variety = 21; it_value = 5; it_weight = 20; it_junk_item = 1; begindefineitem 458; import = 220; it_name = "Flask"; it_full_name = "Healing Flask"; it_floor_which_sheet = 1029; it_floor_which_icon = 4; it_inventory_icon = 5; it_charges = 5; it_value = 250; it_weight = 20; begindefineitem 459; import = 314; it_name = "Baton"; it_full_name = "Spore Baton"; it_floor_which_sheet = 1029; it_floor_which_icon = 6; it_inventory_icon = 7; it_damage_per_level = 5; it_value = 2000; it_bonus = 4; it_missile_anim_type = 6; begindefineitem 460; import = 134; it_full_name = "Steel Shield"; it_floor_which_sheet = 1030; it_floor_which_icon = 0; it_inventory_icon = 1; it_bonus = 8; it_protection = 18; it_value = 1000; it_magic = 0; begindefineitem 461; clear; it_name = "Stone"; it_full_name = "Stone"; it_variety = 21; it_floor_which_sheet = 1030; it_floor_which_icon = 2; it_inventory_icon = 3; it_value = 5; it_weight = 10; begindefineitem 462; import = 435; it_name = "Bag of Herbs"; it_full_name = "Bag of Curing Herbs"; it_floor_which_sheet = 1030; it_floor_which_icon = 4; it_inventory_icon = 5; it_ability_1 = 205; it_ability_str_1 = 25; begindefineitem 463; import = 453; it_floor_which_sheet = 1032; it_floor_which_icon = 0; it_inventory_icon = 1; begindefineitem 464; import = 149; it_full_name = "Basket"; it_floor_which_sheet = 1032; it_floor_which_icon = 2; it_inventory_icon = 3; begindefineitem 465; clear; it_name = "Tools"; it_full_name = "Lockpicking Tools"; it_floor_which_sheet = 1032; it_floor_which_icon = 4; it_inventory_icon = 5; it_variety = 21; it_value = 400; it_weight = 100; it_ability_1 = 211; it_ability_str_1 = 15; begindefineitem 466; it_name = "Tool"; it_full_name = "Lockpicking Tool"; it_floor_which_icon = 8; it_inventory_icon = 9; it_value = 200; it_weight = 50; it_ability_str_1 = 10; begindefineitem 467; import = 149; it_full_name = "Lamp"; it_floor_which_sheet = 1033; it_floor_which_icon = 1; it_inventory_icon = 0; begindefineitem 468; import = 149; it_full_name = "Lab Equipment"; it_floor_which_sheet = 1033; it_floor_which_icon = 2; it_inventory_icon = 2; it_value = 5; begindefineitem 469; it_floor_which_icon = 3; it_inventory_icon = 3; begindefineitem 470; import = 376; it_full_name = "Napkin"; it_floor_which_icon = 8; it_inventory_icon = 8; begindefineitem 471; import = 149; it_full_name = "Implement"; it_floor_which_sheet = 1035; it_floor_which_icon = 6; it_inventory_icon = 7; begindefineitem 472; import = 72; it_full_name = "Pike of Vengeance"; it_floor_which_sheet = 1035; it_floor_which_icon = 8; it_inventory_icon = 9; it_ability_1 = 73; it_ability_str_1 = 20; it_value = 1500; it_magic = 1; begindefineitem 473; import = 82; it_full_name = "Blessed Staff"; it_floor_which_sheet = 1036; it_floor_which_icon = 0; it_inventory_icon = 1; it_bonus = 4; it_value = 400; it_weight = 50; it_identified = 0; it_magic = 1; begindefineitem 474; import = 73; it_full_name = "Hooked Pike"; it_floor_which_sheet = 1036; it_floor_which_icon = 2; it_inventory_icon = 3; it_bonus = 6; it_value = 1100; it_magic = 0; begindefineitem 475; import = 52; it_full_name = "Light Short Sword"; it_floor_which_sheet = 1036; it_floor_which_icon = 4; it_inventory_icon = 5; it_ability_1 = 5; it_ability_str_1 = 3; it_value = 500; begindefineitem 476; import = 52; it_name = "Knife"; it_full_name = "Curved Knife"; it_floor_which_sheet = 1036; it_floor_which_icon = 6; it_inventory_icon = 7; it_weight = 30; begindefineitem 477; import = 57; it_full_name = "Rapier"; it_floor_which_sheet = 1036; it_floor_which_icon = 8; it_inventory_icon = 9; it_bonus = 3; it_value = 500; it_ability_1 = 5; it_ability_str_1 = 2; begindefineitem 478; import = 63; it_name = "Sword"; it_full_name = "Sword of Slicing"; it_floor_which_sheet = 1037; it_floor_which_icon = 0; it_inventory_icon = 1; it_variety = 1; begindefineitem 479; import = 344; it_name = "Sword"; it_full_name = "Orange Sword"; it_floor_which_sheet = 1037; it_floor_which_icon = 2; it_inventory_icon = 3; it_bonus = 4; it_ability_str_1 = 30; it_value = 3000; begindefineitem 480; import = 43; it_full_name = "Magic Plate Mail"; it_floor_which_sheet = 1037; it_floor_which_icon = 6; it_inventory_icon = 7; it_bonus = 25; it_protection = 50; it_value = 7000; begindefineitem 481; import = 27; it_name = "Armor"; it_full_name = "Padded Armor"; it_floor_which_sheet = 1037; it_floor_which_icon = 8; it_inventory_icon = 9; it_protection = 20; it_bonus = 3; it_value = 600; begindefineitem 482; import = 43; it_full_name = "Rough Plate Mail"; it_floor_which_sheet = 1038; it_floor_which_icon = 0; it_inventory_icon = 1; it_bonus = 30; it_protection = 60; it_value = 10000; begindefineitem 483; clear; it_name = "Orb"; it_full_name = "Orb of Flight"; it_floor_which_sheet = 1038; it_floor_which_icon = 6; it_inventory_icon = 7; it_variety = 21; it_value = 500; it_weight = 20; it_ability_1 = 213; it_ability_str_1 = 5; begindefineitem 484; import = 147; it_full_name = "Magician's Gloves"; it_floor_which_sheet = 1040; it_floor_which_icon = 1; it_inventory_icon = 0; it_bonus = 4; it_ability_1 = 26; it_ability_str_1 = 2; it_ability_2 = 27; it_ability_str_2 = 2; it_ability_3 = 28; it_ability_str_3 = 2; it_value = 500; begindefineitem 485; import = 138; it_full_name = "Rogue's Cap"; it_floor_which_sheet = 1040; it_floor_which_icon = 3; it_inventory_icon = 2; it_magic = 1; it_weight = 30; it_ability_1 = 16; it_ability_str_1 = 1; it_ability_2 = 19; it_ability_str_2 = 1; it_ability_3 = 20; it_ability_str_3 = 1; it_value = 2000; begindefineitem 486; import = 138; it_name = "Hat"; it_full_name = "Wizard's Cap"; it_floor_which_sheet = 1040; it_floor_which_icon = 7; it_inventory_icon = 6; it_magic = 1; it_weight = 30; it_ability_1 = 26; it_ability_str_1 = 2; it_ability_2 = 27; it_ability_str_2 = 1; it_value = 2000; begindefineitem 487; import = 302; it_full_name = "Martyr's Charm"; it_floor_which_sheet = 1041; it_floor_which_icon = 2; it_inventory_icon = 2; it_ability_1 = 87; it_ability_str_1 = 30; it_value = 1500; begindefineitem 488; import = 302; it_full_name = "Charm of Regeneration"; it_floor_which_sheet = 1041; it_floor_which_icon = 5; it_inventory_icon = 5; it_ability_1 = 86; it_ability_str_1 = 5; it_value = 1000; begindefineitem 489; import = 302; it_full_name = "Magician's Charm"; it_floor_which_sheet = 1041; it_floor_which_icon = 6; it_inventory_icon = 6; it_ability_1 = 63; it_ability_str_1 = 2; it_value = 1200; begindefineitem 490; clear; it_name = "Gems"; it_full_name = "Sapphires"; it_floor_which_sheet = 1042; it_floor_which_icon = 5; it_inventory_icon = 2; it_variety = 21; it_value = 1000; it_weight = 20; begindefineitem 491; it_full_name = "Rubies"; it_floor_which_icon = 6; it_inventory_icon = 3; begindefineitem 492; it_full_name = "Aquamarines"; it_floor_which_icon = 7; it_inventory_icon = 4; begindefineitem 493; import = 208; it_full_name = "Ruby Ring"; it_floor_which_sheet = 1042; it_floor_which_icon = 8; it_inventory_icon = 8; it_value = 800; begindefineitem 494; it_full_name = "Topaz Ring"; it_floor_which_icon = 9; it_inventory_icon = 9; it_value = 600; begindefineitem 495; import = 220; it_full_name = "Knowledge Elixir"; it_floor_which_sheet = 1043; it_floor_which_icon = 7; it_inventory_icon = 6; it_ability_1 = 203; it_ability_str_1 = 5; it_value = 1500; begindefineitem 496; import = 57; it_full_name = "Scimitar"; it_floor_which_sheet = 1046; it_floor_which_icon = 7; it_inventory_icon = 6; it_damage_per_level = 7; it_bonus = 5; it_value = 3000; it_identified = 1;