diff --git a/README.md b/README.md index 275df22..6689c51 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ Features in Cataclysm MUD Alpha release: Alpha 1.1 release: * Cleaned up legacy practice system code - * Added skill caps for classes to limit ability of everyone to reach skill leve 100 (and respective proficiency) + * Added skill caps for classes to limit ability of everyone to reach skill level 100 (and respective proficiency) * Race/species selection and stat ranges (elves have higher dex, dwarves have higher str, etc) * Renamed move to stamina in code to reflect how much energy is used for certain actions * Species have base hit/mana/stamina now, plus their class modifier rolls @@ -57,10 +57,10 @@ Alpha 1.1 release: * Ability to change ldesc of PC/NPC's in some situations * Ability to look in certain directions to see what is 1-3 rooms away * PC's and NPC's can now have an age set between 18-65 + * "audit ac" command for immortals (formerly "acaudit"), allowing for further audit commands in the future Features to be implemented in the next few releases: -* "acaudit" command to be "audit ac", allowing for further audit commands in the future * Subclass selection to personalize character further * Combat is slowed down so it isn't over in < 15 seconds (unless you're far outmatched) * Mounts added to help with long trips diff --git a/lib/text/help/help.hlp b/lib/text/help/help.hlp index 0947a09..e78109d 100644 --- a/lib/text/help/help.hlp +++ b/lib/text/help/help.hlp @@ -315,14 +315,16 @@ Situational: cover (+2/+5), spells (Shield, Haste, etc.) See Also: SCORE #0 -ACAUDIT ARMOR-AUDIT AUDIT-ARMOR IMMORTAL +AUDIT AC AUDIT-AC ACAUDIT ARMOR-AUDIT AUDIT-ARMOR IMMORTAL Summary: Imm-only tool that scans all ITEM\_ARMOR prototypes and reports per-piece fields against slot caps. Use this to catch outliers and quickly rebalance items to the Light/Medium/Heavy targets. Usage: -acaudit +audit ac + +If you omit the option, you'll be prompted with "Audit what?" What it does: @@ -12644,7 +12646,7 @@ ban copyover freeze hcontrol reroll skillset thaw unban wizupdate Level 32 (God): -acaudit advance aedit checkload dc file +audit advance aedit checkload dc file force gecho hedit helpcheck hsedit last links mcopy mute notitle ocopy pardon plist qecho rcopy restore scopy send diff --git a/src/act.h b/src/act.h index 405a7a0..732141d 100644 --- a/src/act.h +++ b/src/act.h @@ -343,7 +343,7 @@ ACMD(do_wizutil); #define SCMD_THAW 4 #define SCMD_UNAFFECT 5 /* Functions without subcommands */ -ACMD(do_acaudit); +ACMD(do_audit); ACMD(do_advance); ACMD(do_at); ACMD(do_checkloadstatus); diff --git a/src/act.wizard.c b/src/act.wizard.c index 4b2ac78..2e950f9 100644 --- a/src/act.wizard.c +++ b/src/act.wizard.c @@ -6186,9 +6186,20 @@ static const char *slot_name_from_index(int idx) { } /* Wizard command: scan armor prototypes, validate per-piece fields (compact, paged, 25 lines) */ -ACMD(do_acaudit) +ACMD(do_audit) { int found = 0, warned = 0; + char arg[MAX_INPUT_LENGTH]; + + one_argument(argument, arg); + if (!*arg) { + send_to_char(ch, "Audit what?\r\n"); + return; + } + if (!is_abbrev(arg, "ac")) { + send_to_char(ch, "Usage: audit ac\r\n"); + return; + } if (IS_NPC(ch) || GET_LEVEL(ch) < LVL_IMMORT) { send_to_char(ch, "You lack the authority to use this.\r\n"); diff --git a/src/interpreter.c b/src/interpreter.c index 8281f88..6666667 100644 --- a/src/interpreter.c +++ b/src/interpreter.c @@ -87,7 +87,7 @@ cpp_extern const struct command_info cmd_info[] = { { "sw" , "sw" , POS_STANDING, do_move , 0, SCMD_SW }, /* now, the main list */ - { "acaudit" , "acaudi" , POS_DEAD , do_acaudit , LVL_IMMORT, 0 }, + { "audit" , "aud" , POS_DEAD , do_audit , LVL_IMMORT, 0 }, { "at" , "at" , POS_DEAD , do_at , LVL_IMMORT, 0 }, { "advance" , "adv" , POS_DEAD , do_advance , LVL_GRGOD, 0 }, { "aedit" , "aed" , POS_DEAD , do_oasis_aedit, LVL_GOD, 0 },