/*********************************************************************** * Do_Score - act.informative.c * * Copyright 1997 Immortal Realms Development Team * * Original Author: Mark Vanness * **********************************************************************/ /* Please leave all of this intact and give me FULL credit. Thank you. */ /* Replace the do_score function in your act.informative.c with the one * below. */ ACMD(do_attributes) { sprintf(buf, " &00Character attributes for %s\r\n", GET_NAME(ch)); sprintf(buf, "%s\r\n&00Level: [&01%d&00] Class: [&01%3s&00]\r\n", buf, GET_LEVEL(ch), CLASS_ABBR(ch)); sprintf(buf, "%sAge: [&01%d&00] yrs / [&01%d&00] mths\r\n" "Height:[&01%d&00] inches\r\n" "Weight:[&01%d&00] lbs\r\n", buf, age(ch).year, age(ch).month, GET_HEIGHT(ch), GET_WEIGHT(ch)); if ((GET_CLASS(ch) == CLASS_WARRIOR) && GET_STR(ch) == 18) sprintf(buf, "%sStr: [&01%d/%3d&00] Int: [&01%d&00] Wis: [&01%d&00]\r\n" "Dex: [&01%d&00] Con: [&01%d&00] Cha: [&01%d&00]\r\n", buf, GET_STR(ch), GET_ADD(ch), GET_INT(ch), GET_WIS(ch), GET_DEX(ch), GET_CON(ch), GET_CHA(ch)); else sprintf(buf, "%sStr: [&01%d&00] Int: [&01%d&00] Wis: [&01%d&00]\r\n" "Dex: [&01%d&00] Con: [&01%d&00] Cha: [&01%d&00]\r\n", buf, GET_STR(ch), GET_INT(ch), GET_WIS(ch), GET_DEX(ch), GET_CON(ch), GET_CHA(ch)); sprintf(buf, "%sArmor Class: [&01%d&00]\r\n", buf, GET_AC(ch)); sprintf(buf, "%sHitroll: [&01%d&00] Damroll: [&01%d&00]\r\n", buf, (ch)->points.hitroll, (ch)->points.damroll); sprintf(buf, "%sAlignment: [&01%d&00]\r\n", buf, GET_ALIGNMENT(ch)); sprintf(buf, "%sSaving Throws: PAR[[&01%d&00]] ROD[[&01%d&00]] PET[[&01%d&00]]\r\n" " BRE[[&01%d&00]] SPE[[&01%d&00]]\r\n", buf, GET_SAVE(ch, 0), GET_SAVE(ch, 1), GET_SAVE(ch, 2), GET_SAVE(ch, 3), GET_SAVE(ch, 4)); send_to_char(buf, ch); } ------------------------------------------------------------------------ This is my second code I submitted so far. I am new to coding MUDs and figured the other score codes were a little bland. If the color code I use on my MUD is different than yours please feel free to change it. Thanks. Mark Vanness Cicero (Immortal Realms IMP) Telnet://immortalrealms.dynip.com:4000 *NOTE* If you also got my Score3.txt file replace the the one in act.informative.c with it. I typed the wrong file. It goes in act.informative.c not act.wizard.c