From 170b002078459207fa4b76d812a5ca97fe087ecb Mon Sep 17 00:00:00 2001 From: ryo_saeba Date: Fri, 23 Apr 2021 17:34:10 +0000 Subject: [PATCH] Rename and move the treasurelist for human bodyparts. Patch https://sourceforge.net/p/crossfire/patches/393/ by DraugTheWhopper. git-svn-id: svn+ssh://svn.code.sf.net/p/crossfire/code/arch/trunk@22098 282e977c-c81d-0410-88c4-b93c2d0d6712 --- ChangeLog | 13 ++++++ monster/humanoid/Arabic/a_priest.trs | 2 +- monster/humanoid/Arabic/holy_priest.trs | 2 +- monster/humanoid/Arabic/slave.trs | 2 +- monster/humanoid/Human/evilclown.trs | 2 +- monster/humanoid/Human/postman/postman.trs | 2 +- monster/humanoid/Human/sage.trs | 2 +- monster/humanoid/humanoid.trs | 42 +++++++++++++++++ monster/misc/c_knight.trs | 2 +- monster/misc/c_priest.trs | 4 +- treasures.trs | 52 ++-------------------- 11 files changed, 67 insertions(+), 58 deletions(-) create mode 100644 monster/humanoid/humanoid.trs diff --git a/ChangeLog b/ChangeLog index 4d6e8fc97..6a72de582 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +Rename and move the treasurelist for human bodyparts. +Patch https://sourceforge.net/p/crossfire/patches/393/ +monster/humanoid/Arabic/a_priest.trs +monster/humanoid/Arabic/holy_priest.trs +monster/humanoid/Arabic/slave.trs +monster/humanoid/Human/evilclown.trs +monster/humanoid/Human/postman/postman.trs +monster/humanoid/Human/sage.trs +monster/misc/c_knight.trs +monster/misc/c_priest.trs +treasures.trs +DraugTheWhopper + Clean up formatting in formulae file. Patch https://sourceforge.net/p/crossfire/patches/394/ formulae diff --git a/monster/humanoid/Arabic/a_priest.trs b/monster/humanoid/Arabic/a_priest.trs index 564c98aa8..b31be9efd 100644 --- a/monster/humanoid/Arabic/a_priest.trs +++ b/monster/humanoid/Arabic/a_priest.trs @@ -1,7 +1,7 @@ treasure a_priest list all_spell_skills more - list human_parts + list humanoid_parts chance 20 more arch spell_paralyze diff --git a/monster/humanoid/Arabic/holy_priest.trs b/monster/humanoid/Arabic/holy_priest.trs index 1993e5b4a..a77c56b64 100644 --- a/monster/humanoid/Arabic/holy_priest.trs +++ b/monster/humanoid/Arabic/holy_priest.trs @@ -1,7 +1,7 @@ treasure holy_priest list all_spell_skills more - list human_parts + list humanoid_parts more arch spell_paralyze more diff --git a/monster/humanoid/Arabic/slave.trs b/monster/humanoid/Arabic/slave.trs index 600a2198c..7234bbf29 100644 --- a/monster/humanoid/Arabic/slave.trs +++ b/monster/humanoid/Arabic/slave.trs @@ -1,5 +1,5 @@ treasure slave - list human_parts + list humanoid_parts chance 20 more arch turban diff --git a/monster/humanoid/Human/evilclown.trs b/monster/humanoid/Human/evilclown.trs index 89311b22f..46c7cf766 100644 --- a/monster/humanoid/Human/evilclown.trs +++ b/monster/humanoid/Human/evilclown.trs @@ -1,5 +1,5 @@ treasure evilclown - list human_parts + list humanoid_parts chance 50 more arch spell_ball_lightning diff --git a/monster/humanoid/Human/postman/postman.trs b/monster/humanoid/Human/postman/postman.trs index 396b6e4e1..acd1493c9 100644 --- a/monster/humanoid/Human/postman/postman.trs +++ b/monster/humanoid/Human/postman/postman.trs @@ -1,7 +1,7 @@ treasure postman arch skill_use_magic_item more - list human_parts + list humanoid_parts chance 20 more arch letter diff --git a/monster/humanoid/Human/sage.trs b/monster/humanoid/Human/sage.trs index 48122b49c..385bd9f8e 100644 --- a/monster/humanoid/Human/sage.trs +++ b/monster/humanoid/Human/sage.trs @@ -9,6 +9,6 @@ treasure sage arch skill_jeweler end more - list human_parts + list humanoid_parts end diff --git a/monster/humanoid/humanoid.trs b/monster/humanoid/humanoid.trs new file mode 100644 index 000000000..f671653ba --- /dev/null +++ b/monster/humanoid/humanoid.trs @@ -0,0 +1,42 @@ +# humanoid body parts +# careful, some humanoids should not use this list. (cyclops have only one eye!) +treasureone humanoid_parts + arch fl_corpse + chance 60 + more + arch arm + nrof 2 + chance 15 + more + arch leg + nrof 2 + chance 15 + more + arch head + chance 15 + more + arch eye + nrof 2 + chance 1 + more + arch tongue + chance 1 + more + arch foot + nrof 2 + chance 10 + more + arch hand + nrof 2 + chance 10 + more + arch finger + nrof 5 + chance 3 + more + arch skin + chance 1 + more + arch brain + chance 1 + end \ No newline at end of file diff --git a/monster/misc/c_knight.trs b/monster/misc/c_knight.trs index 90cc05926..165d3aeda 100644 --- a/monster/misc/c_knight.trs +++ b/monster/misc/c_knight.trs @@ -1,7 +1,7 @@ treasure c_knight arch skill_use_magic_item more - list human_parts + list humanoid_parts more arch sword_2 magic 3 diff --git a/monster/misc/c_priest.trs b/monster/misc/c_priest.trs index 89e5111f5..36f19f574 100644 --- a/monster/misc/c_priest.trs +++ b/monster/misc/c_priest.trs @@ -1,7 +1,7 @@ treasure c_m_priest list all_spell_skills more - list human_parts + list humanoid_parts more arch staff magic 1 @@ -43,7 +43,7 @@ treasure c_m_priest treasure c_priest list all_spell_skills more - list human_parts + list humanoid_parts more arch staff magic 3 diff --git a/treasures.trs b/treasures.trs index 6c227a368..898b33308 100644 --- a/treasures.trs +++ b/treasures.trs @@ -36,52 +36,6 @@ treasure all_spell_skills arch skill_summoning end # -############################################################## -# -# BODY PARTS - -# -# human/man-sized body parts -treasureone human_parts - arch fl_corpse - chance 60 - more - arch arm - nrof 2 - chance 15 - more - arch leg - nrof 2 - chance 15 - more - arch head - chance 15 - more - arch eye - nrof 2 - chance 1 - more - arch tongue - chance 1 - more - arch foot - nrof 2 - chance 10 - more - arch hand - nrof 2 - chance 10 - more - arch finger - nrof 5 - chance 3 - more - arch skin - chance 1 - more - arch brain - chance 1 - end -# treasure door list traps chance 30 @@ -1794,7 +1748,7 @@ treasure poor_old treasure rich list rich_old more - list human_parts + list humanoid_parts chance 20 end treasure standard @@ -1807,13 +1761,13 @@ treasure standard nrof 3 chance 1 more - list human_parts + list humanoid_parts chance 20 end treasure poor list poor_old more - list human_parts + list humanoid_parts chance 20 end # I switched the names to '_old' -- these lists