mirror of
https://github.com/tbamud/tbamud.git
synced 2026-03-22 20:26:33 +01:00
acaudit migration to audit command
This commit is contained in:
parent
3344074ea2
commit
1aa14abdb4
5 changed files with 21 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
|
|
@ -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 },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue