diff options
author | Bardur Arantsson <bardur@scientician.net> | 2017-05-02 19:20:57 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2017-05-02 19:20:57 +0200 |
commit | ca47ccdc66d252e0b5791112cac4042e86cefc89 (patch) | |
tree | eee43a66c0351f088eea2e9bb288eec7b8bb298b | |
parent | 598c5887ae589059e4f4a9801ff1e4f7f8385f00 (diff) |
Remove character background
-rw-r--r-- | lib/edit/p_info.txt | 415 | ||||
-rw-r--r-- | lib/mods/theme/edit/p_info.txt | 456 | ||||
-rw-r--r-- | src/birth.cc | 332 | ||||
-rw-r--r-- | src/birther.hpp | 5 | ||||
-rw-r--r-- | src/cmd4.cc | 4 | ||||
-rw-r--r-- | src/files.cc | 48 | ||||
-rw-r--r-- | src/game_edit_data.hpp | 6 | ||||
-rw-r--r-- | src/hist_type.hpp | 18 | ||||
-rw-r--r-- | src/init1.cc | 32 | ||||
-rw-r--r-- | src/loadsave.cc | 10 | ||||
-rw-r--r-- | src/player_race.hpp | 2 | ||||
-rw-r--r-- | src/variable.cc | 5 | ||||
-rw-r--r-- | src/variable.hpp | 1 |
13 files changed, 70 insertions, 1264 deletions
diff --git a/lib/edit/p_info.txt b/lib/edit/p_info.txt index 2846854f..5cb2e5cd 100644 --- a/lib/edit/p_info.txt +++ b/lib/edit/p_info.txt @@ -725,7 +725,7 @@ C:a:k:+0:+100:Magic-Device # R:D:race desc # R:S:str:int:wis:dex:con:chr:luck # R:K:dis:dev:sav:stl:srh:fos:thn:thb -# R:P:hitdie:xp%:infra:history chart +# R:P:hitdie:xp%:infra # R:E:weapons:torso:arms:finger:head:legs # R:C:allowed classes # R:G:race flags @@ -741,7 +741,7 @@ R:D:Humans are the second born, the Edain. R:D:They are the basic race to which all others are compared. R:D:Average in ability, they can be any class. R:S:0:0:0:0:0:0:0 -R:P:10:100:0:1 +R:P:10:100:0 R:E:1:1:1:2:1:1 R:C:Archer R:C:Loremaster @@ -753,7 +753,7 @@ R:C:Warrior R:N:1:Half-Elf R:D:A crossbreed of elf and human, they get the best of the two races. R:S:0:1:1:1:-1:1:0 -R:P:9:110:2:4 +R:P:9:110:2 R:E:1:1:1:2:1:1 R:C:Archer R:C:Loremaster @@ -773,7 +773,7 @@ R:D:Elves are the first born, the Eldar. R:D:More spiritual than physical beings, they are weaker than humans R:D:but are more intelligent. R:S:-1:2:2:1:-2:2:0 -R:P:8:120:3:5 +R:P:8:120:3 R:E:1:1:1:2:1:1 R:R:1:0 R:F:RES_LITE @@ -793,7 +793,7 @@ R:N:3:Hobbit R:D:An old but quiet race related to humans. R:D:They are small and quite weak but good at many things. R:S:-2:2:1:3:2:1:5 -R:P:7:110:4:10 +R:P:7:110:4 R:E:1:1:1:2:1:1 R:Z:create food R:G:RESIST_BLACK_BREATH @@ -816,7 +816,7 @@ R:N:4:Gnome R:D:Related to dwarves, Gnomes are between Dwarves and Hobbits in size. R:D:Very good at magic use, they are poor as fighters. R:S:-1:2:0:2:1:-2:2 -R:P:8:135:4:13 +R:P:8:135:4 R:E:1:1:1:2:1:1 R:Z:blink R:R:1:0 @@ -834,7 +834,7 @@ R:N:5:Dwarf R:D:The children of Aule, a strong but small race. R:D:Miners and fighters of legend. R:S:2:-2:2:-2:2:-3:0 -R:P:11:125:5:16 +R:P:11:125:5 R:E:1:1:1:2:1:1 R:Z:find secret passages R:R:1:0 @@ -851,7 +851,7 @@ R:k:+500:+000:Archery R:N:6:Orc R:D:Quite strong but not very smart. R:S:2:-1:0:1:1:-4:-3 -R:P:10:110:3:25 +R:P:10:110:3 R:E:1:1:1:2:1:1 R:Z:remove fear R:R:1:0 @@ -870,7 +870,7 @@ R:N:7:Troll R:D:They can bear the light of the sun. R:D:They are extremely strong and dumb. R:S:4:-4:-2:-4:3:-6:-4 -R:P:12:137:3:22 +R:P:12:137:3 R:E:1:1:1:2:1:1 R:Z:berserk R:R:1:0 @@ -888,7 +888,7 @@ R:N:8:Dunadan R:D:The greatest of the Edain, humans in all respects but R:D:stronger, smarter and wiser. R:S:1:2:2:2:3:2:2 -R:P:10:180:0:1 +R:P:10:180:0 R:E:1:1:1:2:1:1 R:R:1:0 R:F:REGEN @@ -910,7 +910,7 @@ R:D:Elves are the first born, the Eldar. R:D:High elves are the best of the Eldar, strong, fast, intellectual, though R:D:they sometimes lack wisdom. R:S:1:3:2:3:1:5:0 -R:P:10:200:4:7 +R:P:10:200:4 R:E:1:1:1:2:1:1 R:R:1:0 R:F:RES_LITE @@ -931,7 +931,7 @@ R:N:10:Half-Ogre R:D:A crossbreed between a human and an ogre. R:D:They are similar to half-trolls, strong and dumb. R:S:3:-1:-1:-1:3:-3:-2 -R:P:12:130:3:74 +R:P:12:130:3 R:E:1:1:1:2:1:1 R:Z:set explosive rune R:R:1:0 @@ -949,7 +949,7 @@ R:N:11:Beorning R:D:A race of men shapeshifters. R:D:They have the unique power of being able to polymorph to bear forms. R:S:4:-2:-2:-1:3:-5:1 -R:P:12:150:3:75 +R:P:12:150:3 R:E:1:1:1:2:1:1 R:Z:turn into a bear R:R:1:0 @@ -969,7 +969,7 @@ R:k:+500:+000:Archery R:N:12:Kobold R:D:A weaker kind of goblin, related to orcs. R:S:1:-1:0:1:0:-4:0 -R:P:9:125:3:82 +R:P:9:125:3 R:E:1:1:1:2:1:1 R:Z:poison dart R:R:1:0 @@ -987,7 +987,7 @@ R:N:13:Petty-Dwarf R:D:A nearly extinct subrace of dwarves. R:D:They prefer to live in the darkness. R:S:1:-1:2:0:2:-4:-5 -R:P:11:135:5:87 +R:P:11:135:5 R:E:1:1:1:2:1:1 R:Z:detect doors and traps R:R:1:0 @@ -1006,7 +1006,7 @@ R:D:Elves are the first born, the Eldar. R:D:Dark elves are rare on Middle-earth and even though not evil R:D:they are not good. R:S:-1:3:2:2:-2:1:-2 -R:P:9:150:5:69 +R:P:9:150:5 R:E:1:1:1:2:1:1 R:Z:magic missile R:R:1:0 @@ -1030,7 +1030,7 @@ R:N:15:Ent R:D:Guardian of the forests of Middle-earth, summoned by Yavanna before R:D:even the elves awoke. It is said 'Trolls are strong, Ents are STRONGER'. R:S:10:-3:2:-5:11:-3:-2 -R:P:14:210:5:95 +R:P:14:210:5 R:E:1:1:1:2:1:1 R:Z:grow trees R:G:AC_LEVEL @@ -1063,7 +1063,7 @@ R:N:16:RohanKnight R:D:Humans from the land of Rohan, riding the great Mearas. R:D:Fast and powerful in battle. R:S:4:-2:3:1:4:2:0 -R:P:10:220:0:84 +R:P:10:220:0 R:E:1:1:1:2:1:1 R:Z:Rohan Knight's Powers R:R:1:3 @@ -1097,7 +1097,7 @@ R:N:17:Thunderlord R:D:A thunderlord is a Great Eagle of Manwe, ridden by a Maia of Manwe. R:D:They carry the power of wind and thunder. R:S:6:2:1:1:3:8:2 -R:P:12:400:0:89 +R:P:12:400:0 R:E:1:1:1:2:1:1 R:Z:Thunderlord's Powers R:R:1:0 @@ -1130,7 +1130,7 @@ R:N:18:DeathMold R:D:A pure mass of evilness, DeathMolds cannot move, but they have much more R:D:power than an average race. R:S:10:0:10:0:10:-15:-5 -R:P:15:250:10:100 +R:P:15:250:10 R:E:1:1:1:4:0:0 R:Z:Death Mold's Powers R:G:EXPERIMENTAL @@ -1151,7 +1151,7 @@ R:k:+2500:+000:Archery R:N:19:Yeek R:D:The weakest of all the races, bad at everything except gaining levels quickly. R:S:-5:-5:-5:-5:-5:-5:-5 -R:P:6:25:2:29 +R:P:6:25:2 R:E:1:1:1:2:1:1 R:C:Archer R:C:Loremaster @@ -1169,7 +1169,7 @@ R:N:20:Wood-Elf R:D:Elves are the first born, the Eldar. R:D:Wood elves live in the great forests of Middle-earth. R:S:-3:2:1:5:-4:1:0 -R:P:7:130:4:5 +R:P:7:130:4 R:E:1:1:1:2:1:1 R:G:XTRA_MIGHT_BOW R:R:1:1 @@ -1193,7 +1193,7 @@ R:N:21:Maia R:D:An old race, dating from before the creation of Arda, the Maiar were R:D:created by Eru to help the Valar in their task. R:S:0:0:0:0:0:0:4 -R:P:10:100:0:91 +R:P:10:100:0 R:E:1:1:1:2:1:1 R:G:NO_GOD R:R:1:0 @@ -1562,372 +1562,3 @@ S:D:A:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx S:S:0:0:0:0:0:0:0:100 S:P:0:0:0 S:E:0:0:0:0:0:0 - - -############################################################################## -############################################################################## -############################################################################## -############################################################################## -# H: Race history -# H:chance:chart:next chart:social class bonus:desc - -# Dunadan, Human: 1 -> 2 -> 3 -> 50 -> 51 -> 52 -> 53. -# RohanKnight: 84 -> 85 -> 50 -> 51 -> 52 -> 53. -# Half-Ogre: 74 -> 20 -> 2 -> 3 -> 50 -> 51 -> 52 -> 53. -# Beorning: 75 -> 76 -> 20 -> 2 -> 3 -> 50 -> 51 -> 52 -> 53. -# Half-elf: 4 -> 1 -> 2 -> 3 -> 50 -> 51 -> 52 -> 53. -# Elf, Wood-elf: 5 -> 6 -> 9 -> 54 -> 55 -> 56. -# High-elf: 7 -> 8 -> 9 -> 54 -> 55 -> 56. -# Dark-elf: 69 -> 70 -> 71 -> 72 -> 73. -# Hobbit: 10 -> 11 -> 3 -> 50 -> 51 -> 52 -> 53. -# Gnome: 13 -> 14 -> 3 -> 50 -> 51 -> 52 -> 53. -# Dwarf: 16 -> 17 -> 18 -> 57 -> 58 -> 59 -> 60 -> 61. -# Petty-Dwarf: 87 -> 88 -> 18 -> 57 -> 58 -> 59 -> 60 -> 61. -# Thunderlord: 89 -> 90 -> 93 -> 94. -# Maia: 91 -> 92 -> 93 -> 94. -# Ent: 95 -> 96. -# Troll: 22 -> 23 -> 24 -> 62 -> 63 -> 64 -> 65 -> 66. -# Orc 25 -> 26 -> 27 -> 28 -> 80 -> 81 -> 65 -> 66. -# Yeek: 29 -> 3 -> 50 -> 51 -> 52 -> 53. -# (not used: 78 -> 79 -> 80 -> 81 -> 65 -> 66.) -# Kobold: 82 -> 83 -> 80 -> 81 -> 65 -> 66. -# Deathmold: 100 -> 101 -> 102 -> 103 -> 104. - -H:10:1:2:25:You are the illegitimate and unacknowledged child -H:20:1:2:35:You are the illegitimate but acknowledged child -H:95:1:2:45:You are one of several children -H:100:1:2:50:You are the first child - -H:40:2:3:65:of a Serf. -H:65:2:3:80:of a Yeoman. -H:80:2:3:90:of a Townsman. -H:90:2:3:105:of a Guildsman. -H:96:2:3:120:of a Landed Knight. -H:99:2:3:130:of a Noble Lord. -H:100:2:3:140:of the Royal Blood Line. - -H:20:3:50:20:You are the black sheep of the family. -H:80:3:50:55:You are a credit to the family. -H:100:3:50:60:You are a well-liked child. - -H:25:4:1:40:Your mother was of the Avari. -H:40:4:1:50:Your father was of the Avari. -H:65:4:1:60:Your mother was of the Nandor. -H:80:4:1:60:Your father was of the Nandor. -H:96:4:1:70:Your mother was of the Sindar. -H:99:4:1:70:Your father was of the Sindar. -H:100:4:1:100:Your ancestry traces to Elrond. - -H:60:5:6:50:You are one of several children -H:100:5:6:55:You are the only child - -H:40:6:9:40:of an Avarin -H:70:6:9:50:of a Nandorin -H:100:6:9:60:of a Sindarin - -H:60:7:8:50:You are one of several children -H:100:7:8:55:You are the only child - -H:75:8:9:50:of a Telerin -H:95:8:9:55:of a Noldorin -H:100:8:9:60:of a Vanyarin - -H:40:9:54:80:Ranger. -H:70:9:54:90:Archer. -H:87:9:54:110:Warrior. -H:95:9:54:125:Mage. -H:99:9:54:140:Prince. -H:100:9:54:145:King. - -H:85:10:11:45:You are one of several children of a Hobbit -H:100:10:11:55:You are the only child of a Hobbit - -H:20:11:3:55:Bum. -H:30:11:3:80:Tavern Owner. -H:40:11:3:90:Miller. -H:50:11:3:100:Home Owner. -H:80:11:3:110:Burglar. -H:95:11:3:115:Warrior. -H:99:11:3:125:Mage. -H:100:11:3:140:Clan Elder. - -H:85:13:14:45:You are one of several children of a Gnome -H:100:13:14:55:You are the only child of a Gnome - -H:20:14:3:55:Beggar. -H:50:14:3:70:Braggart. -H:75:14:3:85:Prankster. -H:95:14:3:100:Warrior. -H:100:14:3:125:Mage. - -H:25:16:17:40:You are one of two children of a Dwarven -H:100:16:17:50:You are the only child of a Dwarven - -H:10:17:18:60:Thief. -H:35:17:18:80:Smith. -H:75:17:18:90:Miner. -H:90:17:18:110:Warrior. -H:99:17:18:130:Priest. -H:100:17:18:150:King. - -H:15:18:57:10:You are the black sheep of the family. -H:85:18:57:50:You are a credit to the family. -H:100:18:57:55:You are a well liked child. - -H:100:20:2:50:You are the adopted child - -H:100:22:23:50:You are the offspring of a - -H:30:23:24:20:Forest-Troll -H:60:23:24:25:Cave-Troll -H:75:23:24:30:Hill-Troll -H:90:23:24:35:Stone-Troll -H:95:23:24:40:Snow-Troll -H:100:23:24:45:Water-Troll - -H:25:24:62:50:Worker. -H:95:24:62:55:Warrior. -H:99:24:62:65:Shaman. -H:100:24:62:80:Clan Chief. - -H:100:25:26:50:You are one of several children of - -H:40:26:27:40:a Snaga -H:80:26:27:50:an Orc -H:100:26:27:60:an Uruk - -H:30:27:28:20:Slave -H:60:27:28:50:Archer -H:90:27:28:60:Warrior -H:95:27:28:80:Shaman -H:100:27:28:100:Chieftain - -H:30:28:80:50:from the Misty Mountains. -H:60:28:80:50:from the Grey Mountains. -H:90:28:80:70:from the orc-hold of Mount Gundabad. -H:100:28:80:80:from the Pits of Angband. - -H:25:29:3:50:You are one of five children of a blue Yeek. -H:75:29:3:75:You are one of five children of a brown Yeek. -H:100:29:3:100:You are one of five children of a master Yeek. - -H:20:50:51:50:You have dark brown eyes, -H:60:50:51:50:You have brown eyes, -H:70:50:51:50:You have hazel eyes, -H:80:50:51:50:You have green eyes, -H:90:50:51:50:You have blue eyes, -H:100:50:51:50:You have blue-gray eyes, - -H:70:51:52:50:straight -H:90:51:52:50:wavy -H:100:51:52:50:curly - -H:30:52:53:50:black hair, -H:70:52:53:50:brown hair, -H:80:52:53:50:auburn hair, -H:90:52:53:50:red hair, -H:100:52:53:50:blond hair, - -H:10:53:0:50:and a very dark complexion. -H:30:53:0:50:and a dark complexion. -H:80:53:0:50:and an average complexion. -H:90:53:0:50:and a fair complexion. -H:100:53:0:50:and a very fair complexion. - -H:85:54:55:50:You have light grey eyes, -H:95:54:55:50:You have light blue eyes, -H:100:54:55:50:You have light green eyes, - -H:75:55:56:50:straight -H:100:55:56:50:wavy - -H:75:56:0:50:black hair, and a fair complexion. -H:85:56:0:50:brown hair, and a fair complexion. -H:95:56:0:50:blond hair, and a fair complexion. -H:100:56:0:50:silver hair, and a fair complexion. - -H:99:57:58:50:You have dark brown eyes, -H:100:57:58:60:You have glowing red eyes, - -H:90:58:59:50:straight -H:100:58:59:50:wavy - -H:75:59:60:50:black hair, -H:100:59:60:50:brown hair, - -H:25:60:61:50:a one foot beard, -H:60:60:61:51:a two foot beard, -H:90:60:61:53:a three foot beard, -H:100:60:61:55:a four foot beard, - -H:100:61:0:50:and a dark complexion. - -H:60:62:63:50:You have slime green eyes, -H:85:62:63:50:You have puke yellow eyes, -H:99:62:63:50:You have blue-bloodshot eyes, -H:100:62:63:55:You have glowing red eyes, - -H:33:63:64:50:dirty -H:66:63:64:50:mangy -H:100:63:64:50:oily - -H:33:64:65:50:sea-weed green hair, -H:66:64:65:50:bright red hair, -H:100:64:65:50:dark purple hair, - -H:25:65:66:50:and green -H:50:65:66:50:and blue -H:75:65:66:50:and white -H:100:65:66:50:and black - -H:33:66:0:50:ulcerous skin. -H:66:66:0:50:scabby skin. -H:100:66:0:50:leprous skin. - -H:85:69:70:45:You are one of several children of a Dark Elven -H:100:69:70:55:You are the only child of a Dark Elven - -H:50:70:71:60:Warrior. -H:80:70:71:75:Warlock. -H:100:70:71:95:Noble. - -H:100:71:72:50:You have black eyes, - -H:70:72:73:50:straight -H:90:72:73:50:wavy -H:100:72:73:50:curly - -H:100:73:0:50:black hair and a very dark complexion. - -H:25:74:20:25:Your mother was an Ogre, but it is unacknowledged. -H:100:74:20:25:Your father was an Ogre, but it is unacknowledged. - -H:90:75:76:50:You are a descendant of Beorn to the -H:100:75:20:100:Your father was Beorn. - -H:13:76:20:55:9th degree. -H:25:76:20:60:8th degree. -H:38:76:20:65:7th degree. -H:50:76:20:70:6th degree. -H:63:76:20:75:5th degree. -H:75:76:20:80:4th degree. -H:88:76:20:85:3rd degree. -H:100:76:20:90:2nd degree. - -H:100:78:79:50:You are one of several children of - -H:50:79:80:50:a Brown Yeek. -H:75:79:80:50:a Blue Yeek. -H:95:79:80:85:a Master Yeek. -H:100:79:80:120:Boldor, the King of the Yeeks. - -H:25:80:81:50:You have pale eyes, -H:50:80:81:50:You have glowing eyes, -H:75:80:81:50:You have tiny black eyes, -H:100:80:81:50:You have shining black eyes, - -H:20:81:65:50:no hair at all, -H:40:81:65:50:short black hair, -H:60:81:65:50:long black hair, -H:80:81:65:50:bright red hair, -H:100:81:65:50:colourless albino hair, - -H:100:82:83:50:You are one of several children of - -H:40:83:80:50:a Small Kobold. -H:75:83:80:55:a Kobold. -H:95:83:80:65:a Large Kobold. -H:100:83:80:100:Mughash, the Kobold Lord. - -H:85:84:85:45:You are one of several children -H:100:84:85:50:You are the first child - -H:60:85:50:40:of a Serf. -H:85:85:50:55:of a Devoted Mercenary. -H:96:85:50:60:of a Landed Knight. -H:99:85:50:100:of a Marshal of the Riddermark. -H:100:85:50:120:of a King of the Rohirrim. - -H:100:87:88:89:You are one of several children of - -H:30:88:18:20:a Petty-Dwarf Slave. -H:50:88:18:40:a Petty-Dwarf Thief. -H:70:88:18:60:a Petty-Dwarf Smith. -H:90:88:18:75:a Petty-Dwarf Miner. -H:95:88:18:100:a Petty-Dwarf Shaman. -H:100:88:18:100:Mim, Betrayer of Turin. - -H:85:89:90:50:You are one of many Manwe Maia. -H:100:89:90:60:You are the one of the most famous Manwe Maia. - -H:90:90:93:100:Your eagle looks very good. -H:100:90:93:120:Your eagle is splendid. - -H:10:91:92:20:You are a unnoticed minion of -H:25:91:92:30:You are a minor servant of -H:45:91:92:40:You are a subject of -H:65:91:92:50:You have attached yourself to -H:85:91:92:65:You are associated with -H:95:91:92:80:You are a notable follower of -H:100:91:92:100:You are a celebrated assistant to - -H:20:92:93:55:Nessa. -H:40:92:93:60:Vana. -H:50:92:93:65:Tulkas. -H:80:92:93:75:Mandos. -H:90:92:93:80:Nienna. -H:95:92:93:90:Varda. -H:100:92:93:95:Manwe. - -H:100:93:94:50:In the past you dwelt on earth in the form of - -H:25:94:0:50:various animals. -H:55:94:0:55:a spirit of forest and river. -H:70:94:0:60:a beneficent but unseen force. -H:96:94:0:70:a wise and ancient counsellor. -H:100:94:0:80:a Wizard of legend. - -H:30:95:96:30:You are of an unknown generation of the Ents. -H:40:95:96:50:You are of the third generation of the Ents. -H:60:95:96:60:You are of the second generation of the Ents. -H:100:95:96:80:You are one of the first beings who awoke on Arda. - -H:50:96:0:50:You have green skin and inflexible members. -H:100:96:0:50:You have brown skin and inflexible members. - -H:10:100:101:30:You were born in dirty bilge-water, -H:20:100:101:35:You were born in dirty straw, -H:30:100:101:40:You were born in wet mud, -H:40:100:101:45:You were born in a pile of dust, -H:50:100:101:50:You were born in sand, -H:60:100:101:50:You were born in pebbles, -H:70:100:101:55:You were born in a kobold corpse, -H:80:100:101:60:You were born in dragon droppings, -H:90:100:101:65:You were born in a pile of bones, -H:100:100:101:70:You were born in a corpse of a mighty hero, - -H:10:101:102:30:created by rotting flesh. -H:20:101:102:35:created by a kobold magician. -H:30:101:102:40:created by a corrupted apprentice. -H:40:101:102:45:created by a curious mage apprentice. -H:50:101:102:50:created by an evil Symbiant. -H:60:101:102:50:created by a practicing Necromancer. -H:70:101:102:55:created by the Mutant Breeders. -H:80:101:102:60:created by a curious adventurer. -H:90:101:102:65:called to life by the Witch-King of Angmar. -H:100:101:102:70:called to life by Sauron himself. - -H:100:102:103:50:Since then you have given life to - -H:10:103:104:30:no -H:20:103:104:35:one weak-willed -H:30:103:104:40:two -H:40:103:104:45:three -H:50:103:104:50:four -H:60:103:104:50:five -H:70:103:104:55:about twenty -H:80:103:104:60:dozens of -H:90:103:104:65:hundreds of -H:100:103:104:70:uncounted multitudes of - -H:100:104:0:50:foul offspring. diff --git a/lib/mods/theme/edit/p_info.txt b/lib/mods/theme/edit/p_info.txt index 18e638d3..f8a3e25e 100644 --- a/lib/mods/theme/edit/p_info.txt +++ b/lib/mods/theme/edit/p_info.txt @@ -945,7 +945,7 @@ C:a:k:+0:+100:Spell-power # R:D:race desc # R:S:str:int:wis:dex:con:chr:luck # R:K:dis:dev:sav:stl:srh:fos:thn:thb -# R:P:hitdie:xp%:infra:history chart +# R:P:hitdie:xp%:infra # R:E:weapons:torso:arms:finger:head:legs # R:C:allowed classes # R:G:race flags @@ -961,7 +961,7 @@ R:D:Humans are the second born, the Edain. R:D:They are the basic race to which all others are compared. R:D:Average in ability, they can be any class. R:S:0:0:0:0:0:0:0 -R:P:10:100:0:1 +R:P:10:100:0 R:E:1:1:1:2:1:1 R:C:Archer R:C:Loremaster @@ -974,7 +974,7 @@ R:C:Warrior R:N:1:Half-Elf R:D:A crossbreed of elf and human, they get the best of the two races. R:S:0:1:1:1:-1:1:0 -R:P:9:110:2:4 +R:P:9:110:2 R:E:1:1:1:2:1:1 R:C:Archer R:C:Loremaster @@ -995,7 +995,7 @@ R:D:Elves are the first born, the Eldar. R:D:More spiritual than physical beings, they are weaker than humans R:D:but are more intelligent. R:S:-1:2:2:1:-2:2:0 -R:P:8:120:3:5 +R:P:8:120:3 R:E:1:1:1:2:1:1 R:R:1:0 R:F:RES_LITE @@ -1016,7 +1016,7 @@ R:N:3:Hobbit R:D:An old but quiet race related to humans. R:D:They are small and quite weak but good at many things. R:S:-2:2:1:3:2:1:5 -R:P:7:110:4:10 +R:P:7:110:4 R:E:1:1:1:2:1:0 R:Z:create food R:G:RESIST_BLACK_BREATH @@ -1040,7 +1040,7 @@ R:N:4:Gnome R:D:Related to dwarves, Gnomes are between Dwarves and Hobbits in size. R:D:Very good at magic use, they are poor as fighters. R:S:-1:2:0:2:1:-2:2 -R:P:8:135:4:13 +R:P:8:135:4 R:E:1:1:1:2:1:1 R:Z:blink R:R:1:0 @@ -1059,7 +1059,7 @@ R:N:5:Dwarf R:D:The children of Aule, a strong but small race. R:D:Miners and fighters of legend. R:S:2:-2:2:-2:2:-3:0 -R:P:11:125:5:16 +R:P:11:125:5 R:E:1:1:1:2:1:1 R:Z:find secret passages R:R:1:0 @@ -1078,7 +1078,7 @@ R:k:+500:+000:Archery R:N:6:Orc R:D:Quite strong but not very smart. R:S:2:-1:0:1:1:-4:-3 -R:P:10:110:3:25 +R:P:10:110:3 R:E:1:1:1:2:1:1 R:Z:remove fear R:R:1:0 @@ -1097,7 +1097,7 @@ R:N:7:Troll R:D:They can bear the light of the sun. R:D:They are extremely strong and dumb. R:S:4:-4:-2:-4:3:-6:-4 -R:P:12:137:3:22 +R:P:12:137:3 R:E:1:1:1:2:1:1 R:Z:berserk R:R:1:0 @@ -1116,7 +1116,7 @@ R:N:8:Dunadan R:D:The greatest of the Edain, humans in all respects but R:D:stronger, smarter and wiser. R:S:1:2:2:2:3:2:2 -R:P:10:180:0:1 +R:P:10:180:0 R:E:1:1:1:2:1:1 R:R:1:0 R:F:REGEN @@ -1139,7 +1139,7 @@ R:D:Elves are the first born, the Eldar. R:D:High elves are the best of the Eldar, strong, fast, intellectual, though R:D:they sometimes lack wisdom. R:S:1:3:2:3:1:5:0 -R:P:10:200:4:7 +R:P:10:200:4 R:E:1:1:1:2:1:1 R:R:1:0 R:F:RES_LITE @@ -1161,7 +1161,7 @@ R:N:10:Half-Ogre R:D:A crossbreed between a human and an ogre. R:D:They are similar to half-trolls, strong and dumb. R:S:3:-1:-1:-1:3:-3:-2 -R:P:12:130:3:74 +R:P:12:130:3 R:E:1:1:1:2:1:1 R:Z:set explosive rune R:R:1:0 @@ -1180,7 +1180,7 @@ R:N:11:Beorning R:D:A race of men shapeshifters. R:D:They have the unique power of being able to polymorph to bear forms. R:S:4:-2:-2:-1:3:-5:1 -R:P:12:150:3:75 +R:P:12:150:3 R:E:1:1:1:2:1:1 R:Z:turn into a bear R:R:1:0 @@ -1204,7 +1204,7 @@ R:D:Druedain are an ancient branch of the race of Men. R:D:Wiser and quicker than the Edain, but weaker and less intelligent. R:D:Not as pretty as their common human cousins, but sturdier. R:S:-2:-3:2:3:2:-2:1 -R:P:9:115:0:82 +R:P:9:115:0 R:E:1:1:1:2:1:1 R:Z:poison dart R:R:1:0 @@ -1225,7 +1225,7 @@ R:N:13:Petty-Dwarf R:D:A nearly extinct subrace of dwarves. R:D:They prefer to live in the darkness. R:S:1:-1:2:0:2:-4:-5 -R:P:11:135:5:87 +R:P:11:135:5 R:E:1:1:1:2:1:1 R:Z:detect doors and traps R:R:1:0 @@ -1245,7 +1245,7 @@ R:D:Elves are the first born, the Eldar. R:D:Dark elves are rare on Middle-earth and even though not evil R:D:they are not good. R:S:-1:3:2:2:-2:1:-2 -R:P:9:150:5:69 +R:P:9:150:5 R:E:1:1:1:2:1:1 R:Z:magic missile R:R:1:0 @@ -1269,7 +1269,7 @@ R:N:15:Ent R:D:Guardian of the forests of Middle-earth, summoned by Yavanna before R:D:even the elves awoke. It is said 'Trolls are strong, Ents are STRONGER'. R:S:10:-3:2:-5:11:-3:-2 -R:P:14:210:5:95 +R:P:14:210:5 R:E:1:1:1:2:1:1 R:Z:grow trees R:G:AC_LEVEL @@ -1304,7 +1304,7 @@ R:N:16:RohanKnight R:D:Humans from the land of Rohan, riding the great Mearas. R:D:Fast and powerful in battle. R:S:4:-2:3:1:4:2:0 -R:P:10:220:0:84 +R:P:10:220:0 R:E:1:1:1:2:1:1 R:Z:Rohan Knight's Powers R:R:1:3 @@ -1342,7 +1342,7 @@ R:N:17:Eagle R:D:A Great Eagle of Manwe, his most faithful servant. R:D:They have been given many gifts from their master. R:S:6:2:1:-2:3:6:4 -R:P:12:300:5:89 +R:P:12:300:5 R:E:0:1:0:4:1:1 R:R:1:0 R:F:FEATHER @@ -1380,7 +1380,7 @@ R:D:Very strong and smart, but unstealthy. R:D:They cannot play instruments or wield weapons. # R:S:str:int:wis:dex:con:chr:luck R:S:3:2:2:-2:2:-5:-2 -R:P:9:250:5:100 +R:P:9:250:5 R:E:0:1:0:6:1:1 R:R:1:0 R:k:=0:=0:Weaponmastery @@ -1399,7 +1399,7 @@ R:k:-10000:+000:Stealth R:N:19:Yeek R:D:The weakest of all the races, bad at everything except gaining levels quickly. R:S:-5:-5:-5:-5:-5:-5:-5 -R:P:6:25:2:29 +R:P:6:25:2 R:E:1:1:1:2:1:1 R:C:Archer R:C:Loremaster @@ -1421,7 +1421,7 @@ R:D:Elves are the first born, the Eldar. R:D:Wood Elves live in the great forests of Middle-earth. R:D:They are more dangerous but less wise than High Elves. R:S:2:2:-3:5:0:1:0 -R:P:7:130:4:5 +R:P:7:130:4 R:E:1:1:1:2:1:1 R:G:XTRA_MIGHT_BOW R:R:1:1 @@ -1448,7 +1448,7 @@ R:N:21:Maia R:D:An old race, dating from before the creation of Arda, the Maiar were R:D:created by Eru to help the Valar in their task. R:S:0:0:0:0:0:0:4 -R:P:10:100:0:91 +R:P:10:100:0 R:E:1:1:1:2:1:1 R:G:NO_GOD R:R:20:0 @@ -1527,7 +1527,7 @@ R:D:The humans of the Southeast, servants of the Dark. R:D:They are traditional masters of many combat skills. R:D:Fanatical warriors, they do not trust magic. R:S:2:-2:-2:-2:2:-1:-1 -R:P:10:140:0:105 +R:P:10:140:0 R:E:1:1:1:2:1:1 R:C:Archer R:C:Warrior @@ -1559,7 +1559,7 @@ R:D:corrupted by Melkor to serve his ends. # They all get an inherent CHR penalty, other stats depend on subrace. R:S:0:0:0:0:0:-1:0 # Again, here everything depends on subrace -R:P:10:170:3:109 +R:P:10:170:3 # Everything at zero here, depends on type of demon. R:E:0:0:0:0:0:0 R:C:Archer @@ -2482,409 +2482,3 @@ R:k:+1000:+300:Weaponmastery R:k:+1000:+300:Archery R:k:+1000:+200:Stealth R:k:+500:+200:Magic - -############################################################################## -############################################################################## -############################################################################## -############################################################################## -# H: Race history -# H:chance:chart:next chart:social class bonus:desc - -# Dunadan, Human: 1 -> 2 -> 3 -> 50 -> 51 -> 52 -> 53. -# RohanKnight: 84 -> 85 -> 50 -> 51 -> 52 -> 53. -# Half-Ogre: 74 -> 20 -> 2 -> 3 -> 50 -> 51 -> 52 -> 53. -# Beorning: 75 -> 76 -> 20 -> 2 -> 3 -> 50 -> 51 -> 52 -> 53. -# Half-elf: 4 -> 1 -> 2 -> 3 -> 50 -> 51 -> 52 -> 53. -# Elf, Wood-elf: 5 -> 6 -> 9 -> 54 -> 55 -> 56. -# High-elf: 7 -> 8 -> 9 -> 54 -> 55 -> 56. -# Dark-elf: 69 -> 70 -> 71 -> 72 -> 73. -# Hobbit: 10 -> 11 -> 3 -> 50 -> 51 -> 52 -> 53. -# Gnome: 13 -> 14 -> 3 -> 50 -> 51 -> 52 -> 53. -# Dwarf: 16 -> 17 -> 18 -> 57 -> 58 -> 59 -> 60 -> 61. -# Petty-Dwarf: 87 -> 88 -> 18 -> 57 -> 58 -> 59 -> 60 -> 61. -# Eagle: 89 -> 90. -# Maia: 91 -> 92 -> 93 -> 94. -# Ent: 95 -> 96. -# Troll: 22 -> 23 -> 24 -> 62 -> 63 -> 64 -> 65 -> 66. -# Orc 25 -> 26 -> 27 -> 28 -> 80 -> 81 -> 65 -> 66. -# Yeek: 29 -> 3 -> 50 -> 51 -> 52 -> 53. -# (not used: 78 -> 79 -> 80 -> 81 -> 65 -> 66.) -# Druadan: 82 -> 83 -> 71 -> 72 -> 73. -# Dragon: 100 -> 101 -> 102 -> 103 -> 104. -# Easterling: 105 -> 106 -> 107 -> 108. -# Demon: 109 -> 110 -> 111 -> 112. - -H:10:1:2:25:You are the illegitimate and unacknowledged child -H:20:1:2:35:You are the illegitimate but acknowledged child -H:95:1:2:45:You are one of several children -H:100:1:2:50:You are the first child - -H:40:2:3:65:of a Serf. -H:65:2:3:80:of a Yeoman. -H:80:2:3:90:of a Townsman. -H:90:2:3:105:of a Guildsman. -H:96:2:3:120:of a Landed Knight. -H:99:2:3:130:of a Noble Lord. -H:100:2:3:140:of the Royal Blood Line. - -H:20:3:50:20:You are the black sheep of the family. -H:80:3:50:55:You are a credit to the family. -H:100:3:50:60:You are a well-liked child. - -H:25:4:1:40:Your mother was of the Avari. -H:40:4:1:50:Your father was of the Avari. -H:65:4:1:60:Your mother was of the Nandor. -H:80:4:1:60:Your father was of the Nandor. -H:96:4:1:70:Your mother was of the Sindar. -H:99:4:1:70:Your father was of the Sindar. -H:100:4:1:100:Your ancestry traces to Elrond. - -H:60:5:6:50:You are one of several children -H:100:5:6:55:You are the only child - -H:40:6:9:40:of an Avarin -H:70:6:9:50:of a Nandorin -H:100:6:9:60:of a Sindarin - -H:60:7:8:50:You are one of several children -H:100:7:8:55:You are the only child - -H:75:8:9:50:of a Telerin -H:95:8:9:55:of a Noldorin -H:100:8:9:60:of a Vanyarin - -H:40:9:54:80:Ranger. -H:70:9:54:90:Archer. -H:87:9:54:110:Warrior. -H:95:9:54:125:Mage. -H:99:9:54:140:Prince. -H:100:9:54:145:King. - -H:85:10:11:45:You are one of several children of a Hobbit -H:100:10:11:55:You are the only child of a Hobbit - -H:20:11:3:55:Bum. -H:30:11:3:80:Tavern Owner. -H:40:11:3:90:Miller. -H:50:11:3:100:Home Owner. -H:80:11:3:110:Burglar. -H:95:11:3:115:Warrior. -H:99:11:3:125:Mage. -H:100:11:3:140:Clan Elder. - -H:85:13:14:45:You are one of several children of a Gnome -H:100:13:14:55:You are the only child of a Gnome - -H:20:14:3:55:Beggar. -H:50:14:3:70:Braggart. -H:75:14:3:85:Prankster. -H:95:14:3:100:Warrior. -H:100:14:3:125:Mage. - -H:25:16:17:40:You are one of two children of a Dwarven -H:100:16:17:50:You are the only child of a Dwarven - -H:10:17:18:60:Thief. -H:35:17:18:80:Smith. -H:75:17:18:90:Miner. -H:90:17:18:110:Warrior. -H:99:17:18:130:Priest. -H:100:17:18:150:King. - -H:15:18:57:10:You are the black sheep of the family. -H:85:18:57:50:You are a credit to the family. -H:100:18:57:55:You are a well liked child. - -H:100:20:2:50:You are the adopted child - -H:100:22:23:50:You are the offspring of a - -H:30:23:24:20:Forest-Troll -H:60:23:24:25:Cave-Troll -H:75:23:24:30:Hill-Troll -H:90:23:24:35:Stone-Troll -H:95:23:24:40:Snow-Troll -H:100:23:24:45:Water-Troll - -H:25:24:62:50:Worker. -H:95:24:62:55:Warrior. -H:99:24:62:65:Shaman. -H:100:24:62:80:Clan Chief. - -H:100:25:26:50:You are one of several children of - -H:40:26:27:40:a Snaga -H:80:26:27:50:an Orc -H:100:26:27:60:an Uruk - -H:30:27:28:20:Slave -H:60:27:28:50:Archer -H:90:27:28:60:Warrior -H:95:27:28:80:Shaman -H:100:27:28:100:Chieftain - -H:30:28:80:50:from the Misty Mountains. -H:60:28:80:50:from the Grey Mountains. -H:90:28:80:70:from the orc-hold of Mount Gundabad. -H:100:28:80:80:from the Pits of Angband. - -H:25:29:3:50:You are one of five children of a blue Yeek. -H:75:29:3:75:You are one of five children of a brown Yeek. -H:100:29:3:100:You are one of five children of a master Yeek. - -H:20:50:51:50:You have dark brown eyes, -H:60:50:51:50:You have brown eyes, -H:70:50:51:50:You have hazel eyes, -H:80:50:51:50:You have green eyes, -H:90:50:51:50:You have blue eyes, -H:100:50:51:50:You have blue-gray eyes, - -H:70:51:52:50:straight -H:90:51:52:50:wavy -H:100:51:52:50:curly - -H:30:52:53:50:black hair, -H:70:52:53:50:brown hair, -H:80:52:53:50:auburn hair, -H:90:52:53:50:red hair, -H:100:52:53:50:blond hair, - -H:10:53:0:50:and a very dark complexion. -H:30:53:0:50:and a dark complexion. -H:80:53:0:50:and an average complexion. -H:90:53:0:50:and a fair complexion. -H:100:53:0:50:and a very fair complexion. - -H:85:54:55:50:You have light grey eyes, -H:95:54:55:50:You have light blue eyes, -H:100:54:55:50:You have light green eyes, - -H:75:55:56:50:straight -H:100:55:56:50:wavy - -H:75:56:0:50:black hair, and a fair complexion. -H:85:56:0:50:brown hair, and a fair complexion. -H:95:56:0:50:blond hair, and a fair complexion. -H:100:56:0:50:silver hair, and a fair complexion. - -H:99:57:58:50:You have dark brown eyes, -H:100:57:58:60:You have glowing red eyes, - -H:90:58:59:50:straight -H:100:58:59:50:wavy - -H:75:59:60:50:black hair, -H:100:59:60:50:brown hair, - -H:25:60:61:50:a one foot beard, -H:60:60:61:51:a two foot beard, -H:90:60:61:53:a three foot beard, -H:100:60:61:55:a four foot beard, - -H:100:61:0:50:and a dark complexion. - -H:60:62:63:50:You have slime green eyes, -H:85:62:63:50:You have puke yellow eyes, -H:99:62:63:50:You have blue-bloodshot eyes, -H:100:62:63:55:You have glowing red eyes, - -H:33:63:64:50:dirty -H:66:63:64:50:mangy -H:100:63:64:50:oily - -H:33:64:65:50:sea-weed green hair, -H:66:64:65:50:bright red hair, -H:100:64:65:50:dark purple hair, - -H:25:65:66:50:and green -H:50:65:66:50:and blue -H:75:65:66:50:and white -H:100:65:66:50:and black - -H:33:66:0:50:ulcerous skin. -H:66:66:0:50:scabby skin. -H:100:66:0:50:leprous skin. - -H:85:69:70:45:You are one of several children of a Dark Elven -H:100:69:70:55:You are the only child of a Dark Elven - -H:50:70:71:60:Warrior. -H:80:70:71:75:Warlock. -H:100:70:71:95:Noble. - -H:100:71:72:50:You have black eyes, - -H:70:72:73:50:straight -H:90:72:73:50:wavy -H:100:72:73:50:curly - -H:100:73:0:50:black hair and a very dark complexion. - -H:25:74:20:25:Your mother was an Ogre, but it is unacknowledged. -H:100:74:20:25:Your father was an Ogre, but it is unacknowledged. - -H:90:75:76:50:You are a descendant of Beorn to the -H:100:75:20:100:Your father was Beorn. - -H:13:76:20:55:9th degree. -H:25:76:20:60:8th degree. -H:38:76:20:65:7th degree. -H:50:76:20:70:6th degree. -H:63:76:20:75:5th degree. -H:75:76:20:80:4th degree. -H:88:76:20:85:3rd degree. -H:100:76:20:90:2nd degree. - -H:100:78:79:50:You are one of several children of - -H:50:79:80:50:a Brown Yeek. -H:75:79:80:50:a Blue Yeek. -H:95:79:80:85:a Master Yeek. -H:100:79:80:120:Boldor, the King of the Yeeks. - -H:25:80:81:50:You have pale eyes, -H:50:80:81:50:You have glowing eyes, -H:75:80:81:50:You have tiny black eyes, -H:100:80:81:50:You have shining black eyes, - -H:20:81:65:50:no hair at all, -H:40:81:65:50:short black hair, -H:60:81:65:50:long black hair, -H:80:81:65:50:bright red hair, -H:100:81:65:50:colourless albino hair, - -H:100:82:83:50:You are one of several children of - -H:40:83:71:50:a Druadan Gatherer. -H:75:83:71:55:a Druadan Hunter. -H:95:83:71:65:a Druadan Shaman. -H:100:83:71:100:Ghan-buri-Ghan. - -H:85:84:85:45:You are one of several children -H:100:84:85:50:You are the first child - -H:60:85:50:40:of a Serf. -H:85:85:50:55:of a Devoted Mercenary. -H:96:85:50:60:of a Landed Knight. -H:99:85:50:100:of a Marshal of the Riddermark. -H:100:85:50:120:of a King of the Mark. - -H:100:87:88:89:You are one of several children of - -H:30:88:18:20:a Petty-Dwarf Slave. -H:50:88:18:40:a Petty-Dwarf Thief. -H:70:88:18:60:a Petty-Dwarf Smith. -H:90:88:18:75:a Petty-Dwarf Miner. -H:95:88:18:100:a Petty-Dwarf Shaman. -H:100:88:18:100:Mim, Betrayer of Turin. - -H:85:89:90:50:You are one of many Eagles of Manwe. -H:100:89:90:60:You are the one of the most known Eagles of Manwe. - -H:90:90:0:100:Your back and breast are dark brown, and you have very large wings. -H:100:90:0:120:Your back and breast are dazzling white, your wings magnificent. - -H:10:91:92:20:You are a unnoticed minion of -H:25:91:92:30:You are a minor servant of -H:45:91:92:40:You are a subject of -H:65:91:92:50:You have attached yourself to -H:85:91:92:65:You are associated with -H:95:91:92:80:You are a notable follower of -H:100:91:92:100:You are a celebrated assistant to - -H:20:92:93:55:Nessa. -H:40:92:93:60:Vana. -H:50:92:93:65:Tulkas. -H:80:92:93:75:Mandos. -H:90:92:93:80:Nienna. -H:95:92:93:90:Varda. -H:100:92:93:95:Manwe. - -H:100:93:94:50:In the past you dwelt on earth in the form of - -H:25:94:0:50:various animals. -H:55:94:0:55:a spirit of forest and river. -H:70:94:0:60:a beneficent but unseen force. -H:96:94:0:70:a wise and ancient counsellor. -H:100:94:0:80:a Wizard of legend. - -H:30:95:96:30:You are of an unknown generation of the Ents. -H:40:95:96:50:You are of the third generation of the Ents. -H:60:95:96:60:You are of the second generation of the Ents. -H:100:95:96:80:You are one of the first beings who awoke on Arda. - -H:50:96:0:50:You have green skin and inflexible members. -H:100:96:0:50:You have brown skin and inflexible members. - -H:10:100:101:30:You were born in the land of Rhun, -H:20:100:101:35:You were born in the Misty Mountains, -H:30:100:101:40:You were born in the Blue Mountains, -H:40:100:101:45:You were born in Dol Guldur, -H:50:100:101:50:You were born in Angmar, -H:60:100:101:50:You were born in Barad-dur, -H:70:100:101:55:You were born at the foot of the Orodruin, -H:80:100:101:60:You were born in Angband, -H:90:100:101:65:You were born in Utumno, -H:100:100:101:70:You were born in the Void, - -H:10:101:102:30:awakened by accident. -H:20:101:102:35:awakened by hunger. -H:30:101:102:40:awakened by the glint of jewels. -H:40:101:102:45:awakened by an unsuspecting traveler. -H:50:101:102:50:awakened by a corrupt Mage. -H:60:101:102:50:awakened by an evil Sorcerer. -H:70:101:102:55:awakened by a powerful evil Wizard. -H:80:101:102:60:awakened by the Witch-King of Angmar. -H:90:101:102:65:awakened by Gorthaur. -H:100:101:102:70:awakened by Melkor Bauglir. - -H:100:102:103:50:Since then you have destroyed - -H:10:103:104:30:no -H:20:103:104:35:one weak-willed -H:30:103:104:40:two -H:40:103:104:45:three -H:50:103:104:50:four -H:60:103:104:50:five -H:70:103:104:55:about twenty -H:80:103:104:60:dozens of -H:90:103:104:65:hundreds of -H:100:103:104:70:uncounted multitudes of - -H:100:104:0:50:enemies of the Dark. - -H:50:105:106:50:You are one of many children of -H:100:105:106:50:You are the only child of - -H:20:106:107:35:an Easterling slave. -H:30:106:107:40:an Easterling landlord. -H:40:106:107:45:an Easterling squire. -H:50:106:107:50:an Easterling warrior. -H:60:106:107:55:a Wainrider from Near Harad. -H:70:106:107:60:a warlord from Far Harad. -H:80:106:107:65:a Corsair of Umbar. -H:90:106:107:70:Ulfast, son of Ulfang. -H:100:106:107:75:Ulwarth, son of Ulfang. - -H:25:107:108:10:You have brown eyes, -H:50:107:108:30:You have piercing black eyes, -H:100:107:108:60:You have alert yellow eyes, - -H:50:108:0:25:chestnut brown hair, and a dark complexion. -H:100:108:0:50:jet-black hair, and a dark complexion. - -H:40:109:110:60:You have only recently been corrupted, -H:60:109:110:70:You've been corrupted for quite a while, -H:100:109:110:80:You were one of the first beings to be corrupted, - -H:40:110:111:60:and your entire being detests this fact. -H:60:110:111:70:but you don't mind it so much anymore. -H:100:110:111:80:and you consider that to have been your true birth. - -H:40:111:112:60:Your watery green eyes -H:60:111:112:70:Your piercing black eyes -H:100:111:112:80:Your glowing red eyes - -H:40:112:0:60:radiate miserable servility. -H:60:112:0:70:radiate contempt. -H:100:112:0:80:radiate pure evil. diff --git a/src/birth.cc b/src/birth.cc index f18c87fa..c94fbf4d 100644 --- a/src/birth.cc +++ b/src/birth.cc @@ -19,7 +19,6 @@ #include "game.hpp" #include "gods.hpp" #include "help.hpp" -#include "hist_type.hpp" #include "hooks.hpp" #include "init2.hpp" #include "mimic.hpp" @@ -200,12 +199,6 @@ static void save_prev_data(void) previous_char.stat[i] = p_ptr->stat_max[i]; } previous_char.luck = p_ptr->luck_base; - - /* Save the history */ - for (int i = 0; i < 4; i++) - { - strcpy(previous_char.history[i], history[i]); - } } @@ -230,13 +223,6 @@ static void load_prev_data(bool_ save) } temp.luck = p_ptr->luck_base; - /* Save the history */ - for (int i = 0; i < 4; i++) - { - strcpy(temp.history[i], history[i]); - } - - /*** Load the previous data ***/ /* Load the data */ @@ -251,12 +237,6 @@ static void load_prev_data(bool_ save) p_ptr->luck_base = previous_char.luck; p_ptr->luck_max = previous_char.luck; - /* Load the history */ - for (int i = 0; i < 4; i++) - { - strcpy(history[i], previous_char.history[i]); - } - /*** Save the current data ***/ if (!save) return; @@ -270,12 +250,6 @@ static void load_prev_data(bool_ save) previous_char.stat[i] = temp.stat[i]; } previous_char.luck = temp.luck; - - /* Save the history */ - for (int i = 0; i < 4; i++) - { - strcpy(previous_char.history[i], temp.history[i]); - } } @@ -487,102 +461,6 @@ static void get_extra(void) /* - * Get the racial history, and social class, using the "history charts". - */ -static void get_history(void) -{ - auto const &bg = game->edit_data.bg; - - int i, n, chart, roll; - - char *s, *t; - - char buf[240]; - - - /* Clear the previous history strings */ - for (i = 0; i < 4; i++) - { - history[i][0] = '\0'; - } - - /* Clear the history text */ - buf[0] = '\0'; - - /* Starting place */ - chart = rp_ptr->chart; - - /* Process the history */ - while (chart) - { - /* Start over */ - i = 0; - - /* Roll for nobility */ - roll = randint(100); - - /* Access the proper entry in the table */ - while ((chart != bg[i].chart) || (roll > bg[i].roll)) - { - i++; - } - - /* Acquire the textual history */ - strcat(buf, bg[i].info.c_str()); - strcat(buf, " "); - - /* Enter the next chart */ - chart = bg[i].next; - } - - /* Skip leading spaces */ - for (s = buf; *s == ' '; s++) /* loop */; - - /* Get apparent length */ - n = strlen(s); - - /* Kill trailing spaces */ - while ((n > 0) && (s[n - 1] == ' ')) s[--n] = '\0'; - - - /* Start at first line */ - i = 0; - - /* Collect the history */ - while (TRUE) - { - /* Extract remaining length */ - n = strlen(s); - - /* All done */ - if (n < 60) - { - /* Save one line of history */ - strcpy(history[i++], s); - - /* All done */ - break; - } - - /* Find a reasonable break-point */ - for (n = 60; ((n > 0) && (s[n - 1] != ' ')); n--) /* loop */; - - /* Save next location */ - t = s + n; - - /* Wipe trailing spaces */ - while ((n > 0) && (s[n - 1] == ' ')) s[--n] = '\0'; - - /* Save one line of history */ - strcpy(history[i++], s); - - /* Start next line */ - for (s = t; *s == ' '; s++) /* loop */; - } -} - - -/* * Fill the random_artifacts array with relevant info. */ static errr init_randart(void) @@ -709,16 +587,6 @@ static void player_wipe(void) /* Not dead yet */ p_ptr->lives = 0; - /* Wipe the history */ - for (std::size_t i = 0; i < 4; i++) - { - for (std::size_t j = 0; j < 60; j++) - { - if (j < 59) history[i][j] = ' '; - else history[i][j] = '\0'; - } - } - /* Wipe the towns */ for (std::size_t i = 0; i < d_info.size(); i++) { @@ -2249,8 +2117,6 @@ static bool_ player_birth_aux_point(void) char buf[80]; - int mode = 0; - /* Initialize stats */ for (i = 0; i < 6; i++) @@ -2263,9 +2129,6 @@ static bool_ player_birth_aux_point(void) /* Roll for base hitpoints */ get_extra(); - /* Roll for social class */ - get_history(); - /* Get luck */ p_ptr->luck_base = rp_ptr->luck + rmp_ptr->luck + rand_range( -5, 5); p_ptr->luck_max = p_ptr->luck_base; @@ -2318,7 +2181,7 @@ static bool_ player_birth_aux_point(void) p_ptr->csp = p_ptr->msp; /* Display the player */ - display_player(mode); + display_player(0); /* Display the costs header */ put_str("Cost", row - 2, col + 32); @@ -2388,8 +2251,6 @@ static bool_ player_birth_aux_auto() { int i, j, m, v; - int mode = 0; - bool_ flag = FALSE; bool_ prev = FALSE; @@ -2607,15 +2468,9 @@ static bool_ player_birth_aux_auto() /*** Display ***/ - /* Mode */ - mode = 0; - /* Roll for base hitpoints */ get_extra(); - /* Roll for social class */ - get_history(); - /* Roll for gold */ get_money(); @@ -2635,15 +2490,13 @@ static bool_ player_birth_aux_auto() p_ptr->csp = p_ptr->msp; /* Display the player */ - display_player(mode); + display_player(0); /* Prepare a prompt (must squeeze everything in) */ Term_gotoxy(2, 23); Term_addch(TERM_WHITE, b1); Term_addstr( -1, TERM_WHITE, "'r' to reroll"); if (prev) Term_addstr( -1, TERM_WHITE, ", 'p' for prev"); - if (mode) Term_addstr( -1, TERM_WHITE, ", 'h' for Misc."); - else Term_addstr( -1, TERM_WHITE, ", 'h' for History"); Term_addstr( -1, TERM_WHITE, ", or ESC to accept"); Term_addch(TERM_WHITE, b2); @@ -2669,13 +2522,6 @@ static bool_ player_birth_aux_auto() continue; } - /* Toggle the display */ - if ((c == 'H') || (c == 'h')) - { - mode = ((mode != 0) ? 0 : 1); - continue; - } - /* Help */ if (c == '?') { @@ -2718,10 +2564,6 @@ static bool_ player_birth_aux() char c; - int y = 0, x = 0; - - char old_history[4][60]; - /* Ask */ if (!player_birth_aux_ask()) return (FALSE); @@ -2789,92 +2631,9 @@ static bool_ player_birth_aux() if (!player_birth_aux_auto()) return FALSE; } - /* Edit character background */ - for (std::size_t i = 0; i < 4; i++) - { - strnfmt(old_history[i], 60, "%s", history[i]); - } - - /* Turn NUL to space */ - for (std::size_t i = 0; i < 4; i++) - { - std::size_t j = 0; - - // Search for the NUL - while (history[i][j++]) - ;; - - // Turn into spaces - for (; j < 59; j++) - { - history[i][j] = ' '; - } - } - display_player(1); - c_put_str(TERM_L_GREEN, "(Character Background - Edit Mode)", 15, 20); - while (TRUE) - { - for (std::size_t i = 0; i < 4; i++) - { - put_str(history[i], i + 16, 10); - } - c_put_str(TERM_L_BLUE, format("%c", history[y][x]), y + 16, x + 10); - - /* Place cursor just after cost of current stat */ - Term_gotoxy(x + 10, y + 16); - - c = inkey(); - - if (c == '8') - { - y--; - if (y < 0) y = 3; - } - else if (c == '2') - { - y++; - if (y > 3) y = 0; - } - else if (c == '6') - { - x++; - if (x > 59) x = 0; - } - else if (c == '4') - { - x--; - if (x < 0) x = 59; - } - else if (c == '\r') - { - break; - } - else if (c == ESCAPE) - { - for (std::size_t i = 0; i < 4; i++) - { - strnfmt(history[i], 60, "%s", old_history[i]); - put_str(history[i], i + 16, 10); - } - break; - } - else - { - history[y][x++] = c; - if (x > 58) - { - x = 0; - y++; - if (y > 3) y = 0; - } - } - } - - /*** Finish up ***/ /* Get a name, recolor it, prepare savefile */ - get_name(); @@ -2901,90 +2660,6 @@ static bool_ player_birth_aux() /* - * Helper function for validate_bg(). - */ -static void validate_bg_aux(int chart, bool_ chart_checked[], std::string &buf) -{ - auto const &bg = game->edit_data.bg; - - /* Assume the chart does not exist */ - bool_ chart_exists = FALSE; - - /* Assume the chart is not complete */ - bool_ chart_complete = FALSE; - - /* No chart */ - if (!chart) return; - - /* Already saw this chart */ - if (chart_checked[chart]) return; - - /* XXX XXX XXX */ - buf += fmt::format("{:d} --> ", chart); - - /* Check each chart */ - for (auto const &hist: bg) - { - /* Require same chart */ - if (hist.chart != chart) continue; - - /* The chart exists */ - chart_exists = TRUE; - - /* Validate the "next" chart recursively */ - validate_bg_aux(hist.next, chart_checked, buf); - - /* Require a terminator */ - if (hist.roll != 100) continue; - - /* The chart is complete */ - chart_complete = TRUE; - } - - /* Failed: The chart does not exist */ - if (!chart_exists) - { - quit_fmt("birth.c: bg[] chart %d does not exist\n%s", chart, buf.c_str()); - } - - /* Failed: The chart is not complete */ - if (!chart_complete) - { - quit_fmt("birth.c: bg[] chart %d is not complete", chart); - } - - /* Remember we saw this chart */ - chart_checked[chart] = TRUE; -} - - -/* - * Verify that the bg[] table is valid. - */ -static void validate_bg(void) -{ - auto const &race_info = game->edit_data.race_info; - - bool_ chart_checked[512]; - - for (std::size_t i = 0; i < 512; i++) - { - chart_checked[i] = FALSE; - } - - /* Check each race */ - for (auto const &race: race_info) - { - /* Get the first chart for this race */ - int chart = race.chart; - - /* Validate the chart recursively */ - std::string buf; - validate_bg_aux(chart, chart_checked, buf); - } -} - -/* * Initialize a random town */ static void init_town(int t_idx) @@ -3015,9 +2690,6 @@ void player_birth(void) /* Starting index for generated towns */ std::size_t rtown = TOWN_RANDOM; - /* Validate the bg[] table */ - validate_bg(); - /* Create a new character */ while (1) { diff --git a/src/birther.hpp b/src/birther.hpp index 566bcb42..7b7baa89 100644 --- a/src/birther.hpp +++ b/src/birther.hpp @@ -2,6 +2,9 @@ #include "h-basic.h" +#include <string> +#include <vector> + /** * Player information during the birth process. */ @@ -23,7 +26,5 @@ struct birther s16b stat[6]; s16b luck; - char history[4][60]; - bool_ quick_ok; }; diff --git a/src/cmd4.cc b/src/cmd4.cc index afb84def..59554dc4 100644 --- a/src/cmd4.cc +++ b/src/cmd4.cc @@ -149,8 +149,8 @@ void do_cmd_change_name(void) /* Forever */ while (1) { - /* keep mode below 7 */ - mode = (mode + 6) % 6; + /* keep mode below 5 */ + mode = (mode + 5) % 5; /* Display the player */ display_player(mode); diff --git a/src/files.cc b/src/files.cc index 49505292..e148a679 100644 --- a/src/files.cc +++ b/src/files.cc @@ -2205,23 +2205,14 @@ static void display_player_ben_one(int page) } // namespace <anonymous> /* - * Display the character on the screen (various modes) - * - * The top two and bottom two lines are left blank. - * - * Mode 0 = standard display with skills - * Mode 1 = standard display with history - * Mode 2 = current flags (part 1) - * Mode 3 = current flags (part 2) - * Mode 4 = current flags (part 3) - * Mode 5 = current flags (part 4) - * Mode 6 = current flags (part 5 -- esp) + * Display the character on the screen */ void display_player(int mode) { auto const &r_info = game->edit_data.r_info; - int i; + assert(mode >= 0); + assert(mode < 5); char buf[80]; @@ -2230,7 +2221,7 @@ void display_player(int mode) clear_from(0); /* Standard */ - if ((mode == 0) || (mode == 1)) + if (mode == 0) { auto r_ptr = &r_info[p_ptr->body_monster]; @@ -2252,7 +2243,7 @@ void display_player(int mode) c_put_str(TERM_L_BLUE, deity_info[p_ptr->pgod].name, 6, 9); /* Display the stats */ - for (i = 0; i < 6; i++) + for (int i = 0; i < 6; i++) { char punctuation = p_ptr->stat_max[i] == 18 + 100 ? '!' : ':'; /* Special treatment of "injured" stats */ @@ -2305,30 +2296,15 @@ void display_player(int mode) /* Extra info */ display_player_middle(); - /* Display "history" info */ - if (mode == 1) - { - put_str("(Character Background)", 15, 25); - - for (i = 0; i < 4; i++) - { - put_str(history[i], i + 16, 10); - } - } - /* Display "various" info */ - else - { - put_str("(Miscellaneous Abilities)", 15, 25); - - display_player_various(); - } + put_str("(Miscellaneous Abilities)", 15, 25); + display_player_various(); } /* Special */ else { - display_player_ben_one(mode - 2); + display_player_ben_one(mode - 1); } } @@ -2795,19 +2771,19 @@ errr file_character(cptr name, bool_ full) fprintf (fff, "\n\n"); /* adds and slays */ - display_player (2); + display_player(1); file_character_print_grid(fff, FALSE, TRUE); /* sustains and resistances */ - display_player (3); + display_player(2); file_character_print_grid(fff, TRUE, FALSE); /* stuff */ - display_player (4); + display_player(3); file_character_print_grid(fff, FALSE, FALSE); /* a little bit of stuff */ - display_player (5); + display_player(4); file_character_print_grid(fff, FALSE, FALSE); /* Dump corruptions */ diff --git a/src/game_edit_data.hpp b/src/game_edit_data.hpp index cc3af2dc..a4727d90 100644 --- a/src/game_edit_data.hpp +++ b/src/game_edit_data.hpp @@ -5,7 +5,6 @@ #include "dungeon_info_type.hpp" #include "ego_item_type.hpp" #include "feature_type.hpp" -#include "hist_type.hpp" #include "monster_ego.hpp" #include "monster_race.hpp" #include "object_kind.hpp" @@ -102,11 +101,6 @@ struct GameEditData { std::vector<player_race_mod> race_mod_info; /** - * Player race histories - */ - std::vector<hist_type> bg; - - /** * Player skills */ std::vector<skill_descriptor> s_descriptors; diff --git a/src/hist_type.hpp b/src/hist_type.hpp deleted file mode 100644 index 07b5a632..00000000 --- a/src/hist_type.hpp +++ /dev/null @@ -1,18 +0,0 @@ -#pragma once - -#include "h-basic.h" - -#include <string> - -/** - * Player background descriptor. - */ -struct hist_type -{ - std::string info; /* Textual History */ - - byte roll; /* Frequency of this entry */ - s16b chart; /* Chart index */ - s16b next; /* Next chart index */ - byte bonus; /* Social Class Bonus + 50 */ -}; diff --git a/src/init1.cc b/src/init1.cc index 96c1b067..056b5b51 100644 --- a/src/init1.cc +++ b/src/init1.cc @@ -13,7 +13,6 @@ #include "files.hpp" #include "game.hpp" #include "gods.hpp" -#include "hist_type.hpp" #include "init2.hpp" #include "monster2.hpp" #include "monster_ego.hpp" @@ -880,7 +879,6 @@ errr init_player_info_txt(FILE *fp) auto &class_info = game->edit_data.class_info; auto &race_info = game->edit_data.race_info; auto &race_mod_info = game->edit_data.race_mod_info; - auto &bg = game->edit_data.bg; auto &gen_skill = game->edit_data.gen_skill; int lev = 1; @@ -919,29 +917,6 @@ errr init_player_info_txt(FILE *fp) continue; } - /* Process 'H' for "History" */ - if (buf[0] == 'H') - { - char *zz[5]; - - /* Scan for the values */ - if (tokenize(buf + 2, 5, zz, ':', ':') != 5) return (1); - - /* Create new entry */ - hist_type hist; - hist.roll = atoi(zz[0]); - hist.chart = atoi(zz[1]); - hist.next = atoi(zz[2]); - hist.bonus = atoi(zz[3]); - hist.info = my_strdup(zz[4]); - - /* Append */ - bg.emplace_back(hist); - - /* Next... */ - continue; - } - /* Process 'G:k' for "General skills" */ if ((buf[0] == 'G') && (buf[2] == 'k')) { @@ -1107,16 +1082,15 @@ errr init_player_info_txt(FILE *fp) /* Process 'P' for "xtra" */ if ((buf[0] == 'R') && (buf[2] == 'P')) { - int s[4]; + int s[3]; /* Scan for the values */ - if (4 != sscanf(buf + 4, "%d:%d:%d:%d", - &s[0], &s[1], &s[2], &s[3])) return (1); + if (3 != sscanf(buf + 4, "%d:%d:%d", + &s[0], &s[1], &s[2])) return (1); rp_ptr->ps.mhp = s[0]; rp_ptr->ps.exp = s[1]; rp_ptr->infra = s[2]; - rp_ptr->chart = s[3]; /* Next... */ continue; diff --git a/src/loadsave.cc b/src/loadsave.cc index ad824536..196e8d81 100644 --- a/src/loadsave.cc +++ b/src/loadsave.cc @@ -403,11 +403,6 @@ static void do_quick_start(ls_flag_t flag, birther &previous_char) do_s16b(&previous_char.luck, flag); do_bool(&previous_char.quick_ok, flag); - - for (std::size_t i = 0; i < 4; i++) - { - do_string(previous_char.history[i], 60, flag); - } } static void do_skill_modifier(skill_modifier *s, ls_flag_t flag) @@ -524,11 +519,6 @@ static bool_ do_extra(ls_flag_t flag) do_std_string(game->died_from, flag); - for (std::size_t i = 0; i < 4; i++) - { - do_string(history[i], 60, flag); - } - /* Handle the special levels info */ { byte tmp8u = d_info.size(); diff --git a/src/player_race.hpp b/src/player_race.hpp index a2f4699c..e0b236db 100644 --- a/src/player_race.hpp +++ b/src/player_race.hpp @@ -34,8 +34,6 @@ struct player_race byte body_parts[BODY_MAX] { }; /* To help to decide what to use when body changing */ - s16b chart = 0; /* Chart history */ - player_race_flag_set flags; std::array<player_level_flag, PY_MAX_LEVEL+1> lflags; diff --git a/src/variable.cc b/src/variable.cc index 8395a75e..3b81a51a 100644 --- a/src/variable.cc +++ b/src/variable.cc @@ -202,11 +202,6 @@ object_type *tracked_object; /* - * Hack -- Textual "history" for the Player - */ -char history[4][60]; - -/* * Buffer to hold the current savefile name */ char savefile[1024]; diff --git a/src/variable.hpp b/src/variable.hpp index a4678bae..ebbca153 100644 --- a/src/variable.hpp +++ b/src/variable.hpp @@ -105,7 +105,6 @@ extern s16b health_who; extern s16b monster_race_idx; extern s16b monster_ego_idx; extern object_type *tracked_object; -extern char history[4][60]; extern s16b lite_n; extern s16b lite_y[LITE_MAX]; extern s16b lite_x[LITE_MAX]; |