Remove title code

This commit is contained in:
kinther 2025-10-31 11:39:36 -07:00
parent 0f169f850f
commit 8904005169
19 changed files with 35 additions and 384 deletions

View file

@ -274,7 +274,6 @@ void do_start(struct char_data *ch)
GET_LEVEL(ch) = 1;
GET_EXP(ch) = 1;
set_title(ch, NULL);
roll_real_abils(ch);
GET_MAX_HIT(ch) = 90;
@ -787,177 +786,3 @@ int level_exp(int chclass, int level)
return 123456;
}
/* Default titles of male characters. */
const char *title_male(int chclass, int level)
{
if (level <= 0 || level > LVL_IMPL)
return "the Man";
if (level == LVL_IMPL)
return "the Implementor";
switch (chclass) {
case CLASS_SORCEROR:
switch (level) {
case 1: return "the Apprentice of Magic";
case LVL_IMMORT: return "the Immortal Warlock";
case LVL_GOD: return "the Avatar of Magic";
case LVL_GRGOD: return "the God of Magic";
default: return "the Sorceror";
}
case CLASS_CLERIC:
switch (level) {
case 1: return "the Believer";
case LVL_IMMORT: return "the Immortal Cardinal";
case LVL_GOD: return "the Inquisitor";
case LVL_GRGOD: return "the God of Good and Evil";
default: return "the Cleric";
}
case CLASS_ROGUE:
switch (level) {
case 1: return "the Pilferer";
case LVL_IMMORT: return "the Immortal Assassin";
case LVL_GOD: return "the Demi God of Thieves";
case LVL_GRGOD: return "the God of Thieves and Tradesmen";
default: return "the Rogue";
}
case CLASS_FIGHTER:
switch(level) {
case 1: return "the Swordpupil";
case LVL_IMMORT: return "the Immortal Warlord";
case LVL_GOD: return "the Extirpator";
case LVL_GRGOD: return "the God of War";
default: return "the Fighter";
}
case CLASS_BARBARIAN:
switch(level) {
case 1: return "the Savage";
case LVL_IMMORT: return "the Immortal Conquerer";
case LVL_GOD: return "the Primal";
case LVL_GRGOD: return "the God of Blood and Thunder";
default: return "the Barbarian";
}
case CLASS_RANGER:
switch(level) {
case 1: return "the Pathfinder";
case LVL_IMMORT: return "the Immortal Trapmaster";
case LVL_GOD: return "the Wanderer";
case LVL_GRGOD: return "the God of the Hunt";
default: return "the Ranger";
}
case CLASS_BARD:
switch(level) {
case 1: return "the Singer";
case LVL_IMMORT: return "the Immortal Songwriter";
case LVL_GOD: return "the Musician";
case LVL_GRGOD: return "the God of Ballads";
default: return "the Bard";
}
case CLASS_DRUID:
switch(level) {
case 1: return "the Communer";
case LVL_IMMORT: return "the Immortal Augur";
case LVL_GOD: return "the Naturophile";
case LVL_GRGOD: return "the God of Nature";
default: return "the Druid";
}
}
/* Default title for classes which do not have titles defined */
return "the Classless";
}
/* Default titles of female characters. */
const char *title_female(int chclass, int level)
{
if (level <= 0 || level > LVL_IMPL)
return "the Woman";
if (level == LVL_IMPL)
return "the Implementress";
switch (chclass) {
case CLASS_SORCEROR:
switch (level) {
case 1: return "the Apprentice of Magic";
case LVL_IMMORT: return "the Immortal Enchantress";
case LVL_GOD: return "the Empress of Magic";
case LVL_GRGOD: return "the Goddess of Magic";
default: return "the Witch";
}
case CLASS_CLERIC:
switch (level) {
case 1: return "the Believer";
case LVL_IMMORT: return "the Immortal Priestess";
case LVL_GOD: return "the Inquisitress";
case LVL_GRGOD: return "the Goddess of Good and Evil";
default: return "the Cleric";
}
case CLASS_ROGUE:
switch (level) {
case 1: return "the Pilferess";
case LVL_IMMORT: return "the Immortal Assassin";
case LVL_GOD: return "the Demi Goddess of Thieves";
case LVL_GRGOD: return "the Goddess of Thieves and Tradesmen";
default: return "the Rogue";
}
case CLASS_FIGHTER:
switch(level) {
case 1: return "the Swordpupil";
case LVL_IMMORT: return "the Immortal Lady of War";
case LVL_GOD: return "the Queen of Destruction";
case LVL_GRGOD: return "the Goddess of War";
default: return "the Fighter";
}
case CLASS_BARBARIAN:
switch(level) {
case 1: return "the Savage";
case LVL_IMMORT: return "the Immortal Conquerer";
case LVL_GOD: return "the Primal";
case LVL_GRGOD: return "the Goddess of Blood and Thunder";
default: return "the Barbarian";
}
case CLASS_RANGER:
switch(level) {
case 1: return "the Pathfinder";
case LVL_IMMORT: return "the Immortal Trapmaster";
case LVL_GOD: return "the Wanderer";
case LVL_GRGOD: return "the Goddess of the Hunt";
default: return "the Ranger";
}
case CLASS_BARD:
switch(level) {
case 1: return "the Singer";
case LVL_IMMORT: return "the Immortal Songwriter";
case LVL_GOD: return "the Musician";
case LVL_GRGOD: return "the Goddess of Ballads";
default: return "the Bard";
}
case CLASS_DRUID:
switch(level) {
case 1: return "the Communer";
case LVL_IMMORT: return "the Immortal Augur";
case LVL_GOD: return "the Naturophile";
case LVL_GRGOD: return "the Goddess of Nature";
default: return "the Druid";
}
}
/* Default title for classes which do not have titles defined */
return "the Classless";
}