Updated World and files for 3.52 release --Rumble

This commit is contained in:
Rumble
2007-04-20 14:41:58 +00:00
parent d0db332492
commit 3282b8fdc9
32 changed files with 11407 additions and 11232 deletions

View File

@@ -1435,7 +1435,7 @@ ACMD(do_purge)
if (*buf) {
if ((vict = get_char_vis(ch, buf, NULL, FIND_CHAR_ROOM)) != NULL) {
if (!IS_NPC(vict) && (GET_LEVEL(ch) <= GET_LEVEL(vict))) {
send_to_char(ch, "Fuuuuuuuuu!\r\n");
send_to_char(ch, "You can't purge them!\r\n");
return;
}
act("$n disintegrates $N.", FALSE, ch, 0, vict, TO_NOTVICT);
@@ -1532,7 +1532,7 @@ ACMD(do_advance)
REMOVE_BIT(PRF_FLAGS(victim), PRF_NOHASSLE | PRF_HOLYLIGHT | PRF_SHOWVNUMS);
run_autowiz();
} else if (oldlevel < LVL_IMMORT && newlevel >= LVL_IMMORT) {
SET_BIT(PRF_FLAGS(victim), PRF_LOG1);
SET_BIT(PRF_FLAGS(victim), PRF_LOG2);
SET_BIT(PRF_FLAGS(victim), PRF_HOLYLIGHT | PRF_SHOWVNUMS | PRF_AUTOEXIT);
for (i = 1; i <= MAX_SKILLS; i++)
SET_SKILL(victim, i, 100);

View File

@@ -1594,7 +1594,7 @@ void nanny(struct descriptor_data *d, char *arg)
GET_PREF(d->character)= rand_number(1, 128000);
GET_HOST(d->character)= strdup(d->host);
mudlog(NRM, LVL_IMMORT, TRUE, "%s [%s] new player.", GET_NAME(d->character), d->host);
mudlog(NRM, LVL_GOD, TRUE, "%s [%s] new player.", GET_NAME(d->character), d->host);
break;
case CON_RMOTD: /* read CR after printing motd */

View File

@@ -243,8 +243,9 @@ int can_edit_zone(struct char_data *ch, zone_rnum rnum)
return (TRUE);
/* always access if a player helped build the zone in the first place */
if (is_name(GET_NAME(ch), zone_table[rnum].builders))
return (TRUE);
if (rnum != HEDIT_PERMISSION && rnum != AEDIT_PERMISSION)
if (is_name(GET_NAME(ch), zone_table[rnum].builders))
return (TRUE);
/* no access if you haven't been assigned a zone */
if (GET_OLC_ZONE(ch) == NOWHERE) {

View File

@@ -209,8 +209,7 @@ int touch(const char *path)
}
}
/* mudlog -- log mud messages to a file & to online imm's syslogs based on
* syslog by Fen Jul 3, 1992 */
/* Log mud messages to a file & to online imm's syslogs. - Fen */
void mudlog(int type, int level, int file, const char *str, ...)
{
char buf[MAX_STRING_LENGTH];