diff --git a/CHANGES b/CHANGES index 111cb5991..1222172a7 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,9 @@ Changes for SVN top of tree: +Start splitting server/lib/treasures file in many files. +Rename player class files/random items for coherence. +Nicolas Weeger 2007-03-17 + Converted all remaining multi-part base images into single images with the facename.base.x??.png format. Deleted the old multi-part images and adjusted the archetypes accordingly. This is a huge diff --git a/monster/animal/Bear/bear.trs b/monster/animal/Bear/bear.trs new file mode 100644 index 000000000..5f2475aaf --- /dev/null +++ b/monster/animal/Bear/bear.trs @@ -0,0 +1,14 @@ +treasure bear + list bear_parts + chance 40 + end +treasureone bear_parts + arch hide_brown + chance 50 + more + arch liver + chance 15 + more + arch heart + chance 10 + end diff --git a/monster/animal/Bear/polarbear.trs b/monster/animal/Bear/polarbear.trs new file mode 100644 index 000000000..86e7a44ee --- /dev/null +++ b/monster/animal/Bear/polarbear.trs @@ -0,0 +1,14 @@ +treasure polarbear + list polarbear_parts + chance 40 + end +treasureone polarbear_parts + arch hide_white + chance 25 + more + arch liver + chance 15 + more + arch heart + chance 10 + end diff --git a/monster/animal/Behemoth/behemoth.trs b/monster/animal/Behemoth/behemoth.trs index 328eb7fb3..5ca3429e1 100644 --- a/monster/animal/Behemoth/behemoth.trs +++ b/monster/animal/Behemoth/behemoth.trs @@ -2,3 +2,10 @@ treasure behemoth list behemoth_parts chance 30 end +treasureone behemoth_parts + arch heart + chance 5 + more + arch hide_black + chance 10 + end diff --git a/monster/animal/Giant_rat/giantrat.trs b/monster/animal/Giant_rat/giantrat.trs index b3fcbca48..3c81fc962 100644 --- a/monster/animal/Giant_rat/giantrat.trs +++ b/monster/animal/Giant_rat/giantrat.trs @@ -2,3 +2,13 @@ treasure giantrat list giantrat_parts chance 30 end +treasureone giantrat_parts + arch liver + chance 20 + more + arch heart + chance 10 + more + arch hide_brown + chance 10 + end diff --git a/monster/animal/Wolf/wolf.trs b/monster/animal/Wolf/wolf.trs new file mode 100644 index 000000000..3b3ae814e --- /dev/null +++ b/monster/animal/Wolf/wolf.trs @@ -0,0 +1,14 @@ +treasure wolf + list wolf_parts + chance 40 + end +treasureone wolf_parts + arch hide_grey + chance 50 + more + arch liver + chance 15 + more + arch heart + chance 15 + end diff --git a/monster/animal/ape.trs b/monster/animal/ape.trs new file mode 100644 index 000000000..c8a1613eb --- /dev/null +++ b/monster/animal/ape.trs @@ -0,0 +1,24 @@ +treasure ape + list ape_parts + chance 30 + end +treasureone ape_parts + arch liver + chance 30 + more + arch heart + chance 20 + more + arch tooth + chance 10 + more + arch hand + chance 10 + more + arch hide_brown + chance 10 + more + arch brain + chance 5 + end + diff --git a/monster/beholder/beholder.trs b/monster/beholder/beholder.trs new file mode 100644 index 000000000..9342ffa42 --- /dev/null +++ b/monster/beholder/beholder.trs @@ -0,0 +1,55 @@ +treasure beholder + list beholder_parts + chance 20 + more + arch spell_paralyze + chance 50 + more + arch abil_fear + chance 75 + more + arch abil_poison_cloud + chance 50 + more + arch spell_sm_lightning + more + arch spell_large_lightning + more + arch abil_large_icestorm + chance 25 + more + arch abil_icestorm + chance 25 + more + arch spell_burning_hands + more + arch spell_medium_fireball + more + arch spell_magic_missile + more + arch spell_magic_bullet + more + arch spell_small_speedball + more + arch spell_mass_confusion + more + arch abil_slow + more + arch gem + nrof 1 + chance 10 + end +treasureone beholder_parts + arch beholdereye + chance 70 + more +# arch tentacle +# nrof 2 +# chance 10 +# more + arch tongue + chance 10 + more + arch brain + chance 3 + end diff --git a/monster/beholder/dread.arc b/monster/beholder/dread.arc index 266ed89de..147c4dadc 100644 --- a/monster/beholder/dread.arc +++ b/monster/beholder/dread.arc @@ -1,7 +1,7 @@ Object dread name Dread race unnatural -randomitems beholder_big +randomitems dread face dread.x11 color_fg blue anim diff --git a/monster/beholder/dread.trs b/monster/beholder/dread.trs new file mode 100644 index 000000000..82a13962f --- /dev/null +++ b/monster/beholder/dread.trs @@ -0,0 +1,37 @@ +treasure dread + arch big_eye + chance 85 + more + arch spell_paralyze + more + arch abil_fear + more + arch abil_poison_cloud + more + arch spell_sm_lightning + more + arch spell_large_lightning + more + arch abil_large_icestorm + more + arch abil_icestorm + more + arch spell_burning_hands + more + arch spell_medium_fireball + more + arch spell_magic_missile + more + arch spell_magic_bullet + more + arch spell_small_speedball + more + arch spell_mass_confusion + more + arch abil_slow + more + arch spell_cancellation +# more +# arch beholdereye + end + diff --git a/monster/demon/demon_parts.trs b/monster/demon/demon_parts.trs new file mode 100644 index 000000000..a21dfc34c --- /dev/null +++ b/monster/demon/demon_parts.trs @@ -0,0 +1,11 @@ +treasureone demon_parts + arch icor + chance 70 + more + arch heart + chance 15 + more + arch demon_head + chance 15 + end + diff --git a/monster/dragon/Cwyvern.trs b/monster/dragon/Cwyvern.trs new file mode 100644 index 000000000..c9fd0ccc6 --- /dev/null +++ b/monster/dragon/Cwyvern.trs @@ -0,0 +1,35 @@ +treasure Cwyvern + list dragon_parts + chance 70 + more + arch abil_fear + more + arch ability_dragonbreath + nrof 5 + more + arch abil_icestorm + more + arch abil_large_icestorm + more + arch spell_sm_lightning + more + arch spell_large_lightning + more + arch abil_poison_cloud + more + arch spell_create_pool_of_chaos + more + arch gem + nrof 40 + more + arch gem + nrof 15 + chance 60 + more + arch ring + chance 30 + more + arch ring + chance 30 + end + diff --git a/monster/dragon/Hatchlings/cold_drag.trs b/monster/dragon/Hatchlings/cold_drag.trs new file mode 100644 index 000000000..3bf02cd76 --- /dev/null +++ b/monster/dragon/Hatchlings/cold_drag.trs @@ -0,0 +1,8 @@ +treasure cold_dragon + arch abil_icestorm + nrof 2 + more + arch abil_large_icestorm + nrof 2 + end + diff --git a/monster/dragon/dragon.trs b/monster/dragon/dragon.trs index 5cf655a0d..49481899c 100644 --- a/monster/dragon/dragon.trs +++ b/monster/dragon/dragon.trs @@ -69,3 +69,47 @@ treasure dragon arch cloak chance 30 end +# Big dragon body parts +treasureone big_dragon_parts + arch dragon_steak + nrof 3 + chance 90 + more + arch dragon_scale + chance 80 + nrof 2 + more + arch dragonclaw + chance 30 + nrof 12 + more + arch dragon_wing + chance 30 + nrof 2 + more + arch dragon_eye + chance 30 + more + arch heart + chance 10 + more + arch brain + chance 1 + end +# more appropriate for wyvern/baby dragon +treasureone dragon_parts + arch dragon_steak + chance 30 + more + arch dragonclaw + chance 10 + more + arch dragon_wing + chance 25 + more + arch dragon_scale + chance 5 + more + arch brain + chance 1 + end diff --git a/monster/giant/giant.trs b/monster/giant/giant.trs new file mode 100644 index 000000000..212dc8bd2 --- /dev/null +++ b/monster/giant/giant.trs @@ -0,0 +1,34 @@ +treasure giant + list giant_old + more + arch skill_throwing + more + arch t_boulder + nrof 8 + more + list giant_parts + chance 10 + end +treasureone giant_parts + arch fl_corpse + chance 15 + more + arch head + chance 20 + more + arch foot + chance 8 + more + arch hand + chance 8 + more + arch heart + chance 5 + more + arch liver + chance 8 + more + arch brain + chance 3 + end + diff --git a/monster/goblin/goblin.trs b/monster/goblin/goblin.trs index 5417b03f9..ffbbe8a8c 100644 --- a/monster/goblin/goblin.trs +++ b/monster/goblin/goblin.trs @@ -6,3 +6,22 @@ treasure goblin more list poor_old end +treasureone goblin_parts + arch fl_corpse + chance 30 + more + arch goblin_head + chance 30 + more + arch foot + chance 10 + more + arch hand + chance 10 + more + arch liver + chance 10 + more + arch heart + chance 10 + end diff --git a/monster/troll/Troll/troll.trs b/monster/troll/Troll/troll.trs new file mode 100644 index 000000000..403a5844f --- /dev/null +++ b/monster/troll/Troll/troll.trs @@ -0,0 +1,26 @@ +treasure troll + list giant_old + more + arch skill_throwing + chance 40 + yes + arch t_boulder + nrof 5 + end + more + list troll_parts + end +treasureone troll_parts + arch head + chance 80 + more + arch heart + chance 5 + more + arch liver + chance 15 + more + arch brain + chance 3 + end + diff --git a/monster/undead/demilich.trs b/monster/undead/demilich.trs new file mode 100644 index 000000000..305240da3 --- /dev/null +++ b/monster/undead/demilich.trs @@ -0,0 +1,19 @@ +treasure demilich + arch insanity + more + arch spell_paralyze + more + arch abil_fear + more + arch abil_poison_cloud + more + arch abil_large_icestorm + more + arch abil_icestorm + more + arch spell_mass_confusion + more + arch gem + nrof 1 + end + diff --git a/monster/undead/skeleton.trs b/monster/undead/skeleton.trs new file mode 100644 index 000000000..c8a1dd32a --- /dev/null +++ b/monster/undead/skeleton.trs @@ -0,0 +1,4 @@ +treasure skeleton + list standard_old + end + diff --git a/monster/undead/skull.trs b/monster/undead/skull.trs new file mode 100644 index 000000000..6dbedb644 --- /dev/null +++ b/monster/undead/skull.trs @@ -0,0 +1,48 @@ +treasureone skull_parts + arch tooth + chance 95 + more + arch tongue + chance 5 + end +treasure skull + list skull_parts + chance 20 + more + arch spell_paralyze + chance 50 + more + arch abil_fear + chance 75 + more + arch abil_poison_cloud + chance 50 + more + arch spell_sm_lightning + more + arch spell_large_lightning + more + arch abil_large_icestorm + chance 25 + more + arch abil_icestorm + chance 25 + more + arch spell_burning_hands + more + arch spell_medium_fireball + more + arch spell_magic_missile + more + arch spell_magic_bullet + more + arch spell_small_speedball + more + arch spell_mass_confusion + more + arch abil_slow + more + arch gem + nrof 1 + chance 10 + end diff --git a/monster/undead/zombie.trs b/monster/undead/zombie.trs new file mode 100644 index 000000000..ad512191f --- /dev/null +++ b/monster/undead/zombie.trs @@ -0,0 +1,5 @@ +treasure zombie + arch fl_corpse + chance 20 + end + diff --git a/player/class/Religious/cleric.arc b/player/class/Religious/cleric.arc index 2bbf314d7..07d91158b 100644 --- a/player/class/Religious/cleric.arc +++ b/player/class/Religious/cleric.arc @@ -1,7 +1,7 @@ Object cleric_class race cleric name cleric -randomitems cleric +randomitems cleric_class_items face cleric.151 anim cleric.111 diff --git a/player/class/Religious/cleric.trs b/player/class/Religious/cleric.trs new file mode 100644 index 000000000..3eb51a032 --- /dev/null +++ b/player/class/Religious/cleric.trs @@ -0,0 +1,16 @@ +treasure cleric_class_items + list fighter_skills + more + arch morningstar + more + arch ring_mail + more + arch holy_symbol + more + arch skill_oratory + more + arch cleric_book_l1 + more + arch b_small_shield + end + diff --git a/player/class/Religious/monk.trs b/player/class/Religious/monk.trs new file mode 100644 index 000000000..d4c12deab --- /dev/null +++ b/player/class/Religious/monk.trs @@ -0,0 +1,24 @@ +treasure monk_class_items + list basic_skills + more + arch skill_missile_weapon + more + arch skill_meditation + more + arch skill_karate + more + arch skill_sense_magic + more + arch robe + more + arch r_sack + more + arch sandals + more + arch skill_praying + more + arch skill_sense_curse + more + arch monk_no_use_weapon + end + diff --git a/player/class/Religious/paladin.trs b/player/class/Religious/paladin.trs new file mode 100644 index 000000000..2f56ce13b --- /dev/null +++ b/player/class/Religious/paladin.trs @@ -0,0 +1,22 @@ +treasure paladin_class_items + list fighter_skills + more + arch guide_melee + more + arch b_bsword_1 + more + arch b_plate_mail + more + arch b_shield + more + arch b_full_helmet + more + arch cleric_book_l1 + more + arch paladin_holy_symbol + more + arch skill_oratory + more + arch sack + end + diff --git a/player/class/Religious/priest.trs b/player/class/Religious/priest.trs new file mode 100644 index 000000000..2430688d0 --- /dev/null +++ b/player/class/Religious/priest.trs @@ -0,0 +1,24 @@ +treasure priest_class_items + list basic_skills + more + arch skill_praying + more + arch skill_one_handed_weapon + more + arch skill_two_handed_weapon + more + arch guide_priest + more + arch robe + more + arch quarterstaff + more + arch cleric_book_l1 + more + arch cleric_book_l1 + more + arch skill_sense_curse + more + arch amulet + end + diff --git a/player/class/Thief/ninja.trs b/player/class/Thief/ninja.trs new file mode 100644 index 000000000..15b1a8b09 --- /dev/null +++ b/player/class/Thief/ninja.trs @@ -0,0 +1,20 @@ +treasure ninja_class_items + list fighter_skills + more + arch skill_jumping + more + arch skill_hide + more + arch guide_melee + more + arch nunchacu_1 + more + arch leather_armour + more + arch bag + more + arch cloak + more + arch skill_karate + end + diff --git a/player/class/Warrior/barbarian.trs b/player/class/Warrior/barbarian.trs new file mode 100644 index 000000000..cc8b4f5ba --- /dev/null +++ b/player/class/Warrior/barbarian.trs @@ -0,0 +1,34 @@ +treasure barbarian_class_items + arch skill_one_handed_weapon + more + arch skill_two_handed_weapon + more + arch skill_missile_weapon + more + arch skill_throwing + more + arch skill_find_traps + more + arch skill_remove_trap + more + arch skill_use_magic_item + more + arch guide_melee + more + arch leather_armour + more + arch mace + more + arch skill_climbing + more + arch skill_woodsman + more + arch b_horned_helmet + more + arch sack + more + arch round_shield + more + arch high_boots + end + diff --git a/player/class/Warrior/warlock.trs b/player/class/Warrior/warlock.trs new file mode 100644 index 000000000..53947fcd2 --- /dev/null +++ b/player/class/Warrior/warlock.trs @@ -0,0 +1,14 @@ +treasure warlock_class_items + list fighter_skills + more + arch talisman_evocation + more + arch b_lsword + more + arch leather_armour + more + arch evoker_book_l1 + more + arch evoker_book_l1 + end + diff --git a/player/class/Warrior/warrior.trs b/player/class/Warrior/warrior.trs new file mode 100644 index 000000000..8957382b3 --- /dev/null +++ b/player/class/Warrior/warrior.trs @@ -0,0 +1,14 @@ +treasure warrior_class_items + list fighter_skills + more + arch guide_melee + more + arch b_sword_2 + more + arch chain_mail + more + arch b_shield + more + arch sack + end + diff --git a/player/class/Wizardry/alchemist.trs b/player/class/Wizardry/alchemist.trs new file mode 100644 index 000000000..0be4175da --- /dev/null +++ b/player/class/Wizardry/alchemist.trs @@ -0,0 +1,26 @@ +treasure alchemist_class_items + list basic_skills + more + arch skill_one_handed_weapon + more + arch talisman_alchemist + more + arch skill_alchemy + more + arch skill_thaumaturgy + more + arch spell_alchemy + more + arch guide_alchemy + more + arch cauldron + more + arch robe + more + arch evoker_book_l1 + more + arch sorcerer_book_l1 + more + arch b_dagger + end + diff --git a/player/class/Wizardry/devotee.trs b/player/class/Wizardry/devotee.trs new file mode 100644 index 000000000..30972b836 --- /dev/null +++ b/player/class/Wizardry/devotee.trs @@ -0,0 +1,18 @@ +treasure devotee_class_items + list wizard_skills + more + arch skill_evocation + more + arch guide_priest + more + arch robe + more + arch cleric_book_l1 + more + arch evoker_book_l1 + more + arch evoker_book_l1 + more + arch b_dagger + end + diff --git a/player/class/Wizardry/evoker.trs b/player/class/Wizardry/evoker.trs new file mode 100644 index 000000000..f8d373c6e --- /dev/null +++ b/player/class/Wizardry/evoker.trs @@ -0,0 +1,18 @@ +treasure evoker_class_items + list basic_skills + more + arch skill_one_handed_weapon + more + arch talisman_evoker + more + arch robe + more + arch evoker_book_l1 + more + arch evoker_book_l1 + more + arch b_ssword_1 + more + arch staff + end + diff --git a/player/class/Wizardry/sorcerer.trs b/player/class/Wizardry/sorcerer.trs new file mode 100644 index 000000000..7637d1114 --- /dev/null +++ b/player/class/Wizardry/sorcerer.trs @@ -0,0 +1,22 @@ +treasure sorcerer_class_items + list basic_skills + more + arch skill_sorcery + more + arch guide_wizard + more + arch sorcerer_book_l1 + more + arch sorcerer_book_l1 + more + arch sorcerer_book_l1 + more + arch skill_sense_magic + more + arch skill_thaumaturgy + more + arch sorcerer_hat + more + arch robe + end + diff --git a/player/class/Wizardry/summoner.trs b/player/class/Wizardry/summoner.trs new file mode 100644 index 000000000..8a89b5232 --- /dev/null +++ b/player/class/Wizardry/summoner.trs @@ -0,0 +1,20 @@ +treasure summoner_class_items + list basic_skills + more + arch skill_one_handed_weapon + more + arch skill_praying + more + arch guide_summon + more + arch talisman_summoner + more + arch robe + more + arch summoner_book_l1 + more + arch summoner_book_l1 + more + arch b_ssword_1 + end + diff --git a/player/class/Wizardry/wizard.trs b/player/class/Wizardry/wizard.trs new file mode 100644 index 000000000..dabda2642 --- /dev/null +++ b/player/class/Wizardry/wizard.trs @@ -0,0 +1,31 @@ +treasure wizard_class_items + list wizard_skills + more + arch skill_sorcery + more + arch robe + more + arch sorcerer_book_l1 + more + arch sorcerer_book_l1 + more + arch b_dagger + end +#treasure wizard_class_items +# list wizard_skills +# more +# arch skill_sorcery +# more +# arch guide_wizard +# more +# arch robe +# more +# arch sorcerer_book_l1 +# more +# arch sorcerer_book_l1 +# more +# arch sorcerer_book_l1 +# more +# arch b_dagger +# end + diff --git a/player/class/Wizardry/wizard_class.arc b/player/class/Wizardry/wizard_class.arc index 74789e87e..8c95048d7 100644 --- a/player/class/Wizardry/wizard_class.arc +++ b/player/class/Wizardry/wizard_class.arc @@ -1,7 +1,7 @@ Object wizard_class race human name wizard -randomitems wizard +randomitems wizard_class_items face wizard.171 color_fg black anim diff --git a/player/race/dwarf_p.trs b/player/race/dwarf_p.trs new file mode 100644 index 000000000..c3d7eff9c --- /dev/null +++ b/player/race/dwarf_p.trs @@ -0,0 +1,4 @@ +treasure dwarf_player_items + arch skill_smithery + end + diff --git a/player/race/elf.trs b/player/race/elf.trs new file mode 100644 index 000000000..072acd929 --- /dev/null +++ b/player/race/elf.trs @@ -0,0 +1,19 @@ +treasure elf_player_items + arch elf_player_force + more + arch bow + magic 2 + more + arch arrow + magic 3 + nrof 100 + more + arch quiver + more + arch skill_bowyer + more + arch skill_woodsman + more + arch skill_missile_weapon + end + diff --git a/player/race/gnome_p.trs b/player/race/gnome_p.trs new file mode 100644 index 000000000..06d3ecc30 --- /dev/null +++ b/player/race/gnome_p.trs @@ -0,0 +1,4 @@ +treasure gnome_player_items + arch skill_praying + end + diff --git a/player/race/human.trs b/player/race/human.trs new file mode 100644 index 000000000..d993013dc --- /dev/null +++ b/player/race/human.trs @@ -0,0 +1,4 @@ +treasure human_player + list random_knowledge + end + diff --git a/player/race/northman.trs b/player/race/northman.trs new file mode 100644 index 000000000..28fcac367 --- /dev/null +++ b/player/race/northman.trs @@ -0,0 +1,4 @@ +treasure northman_player_items + arch bighorned_helmet +end + diff --git a/player/race/pl_dragon.trs b/player/race/pl_dragon.trs new file mode 100644 index 000000000..b01d57b94 --- /dev/null +++ b/player/race/pl_dragon.trs @@ -0,0 +1,20 @@ +treasure dragon_player_items + arch dragon_skin_force + more + arch dragon_ability_force + more + arch skill_levitate + more + arch skill_clawing + more + arch skill_woodsman + more + arch abil_burning_hands + more + arch abil_medium_fireball + more + arch no_class_face_change + more + arch skill_evocation + end + diff --git a/player/race/pl_half_orc.trs b/player/race/pl_half_orc.trs new file mode 100644 index 000000000..bbbd10052 --- /dev/null +++ b/player/race/pl_half_orc.trs @@ -0,0 +1,4 @@ +treasure half_orc_player_items + arch skill_stealing + end + diff --git a/player/race/troll_player.trs b/player/race/troll_player.trs new file mode 100644 index 000000000..630997cbb --- /dev/null +++ b/player/race/troll_player.trs @@ -0,0 +1,4 @@ +treasure troll_player_items + arch troll_player_force + end + diff --git a/spell/RaiseDead/raisedead.trs b/spell/RaiseDead/raisedead.trs index f26ce4de0..71d982559 100644 --- a/spell/RaiseDead/raisedead.trs +++ b/spell/RaiseDead/raisedead.trs @@ -27,40 +27,40 @@ end # # this basically taken from the code. Not sure if this # is still really accurate. -treasureone reincarnation_races - arch barbarian - chance 1 - more - arch cleric - chance 1 - more - arch elf - chance 1 - more - arch human - chance 1 - more - arch mage - chance 1 - more - arch ninja - chance 1 - more - arch priest - chance 1 - more - arch swashbuckler - chance 1 - more - arch thief - chance 1 - more - arch viking - chance 1 - more - arch warrior - chance 1 - more - arch wizard - chance 1 -end +#treasureone reincarnation_races +# arch barbarian +# chance 1 +# more +# arch cleric +# chance 1 +# more +# arch elf +# chance 1 +# more +# arch human +# chance 1 +# more +# arch mage +# chance 1 +# more +# arch ninja +# chance 1 +# more +# arch priest +# chance 1 +# more +# arch swashbuckler +# chance 1 +# more +# arch thief +# chance 1 +# more +# arch viking +# chance 1 +# more +# arch warrior +# chance 1 +# more +# arch wizard +# chance 1 +#end diff --git a/spell/RaiseDead/spell_reincarnation.arc b/spell/RaiseDead/spell_reincarnation.arc index aeddb3ebd..479c181d6 100644 --- a/spell/RaiseDead/spell_reincarnation.arc +++ b/spell/RaiseDead/spell_reincarnation.arc @@ -13,7 +13,7 @@ skill praying no_drop 1 invisible 1 exp 20 -randomitems reincarnation_failure +#randomitems reincarnation_failure race reincarnation_races msg This spell brings back a dead character,