mirror of
https://github.com/tbamud/tbamud.git
synced 2026-03-19 18:56:33 +01:00
Remove happyhour
This commit is contained in:
parent
9ce2340f7d
commit
69caa31b8a
3 changed files with 1 additions and 22 deletions
|
|
@ -3683,22 +3683,6 @@ HANDBOOK WIZHANDBOOK WIZ-HANDBOOK IMMHANDBOOK IMM-HANDBOOK
|
|||
Usage: handbook
|
||||
|
||||
Guidelines for having an Immortal character -- you should read it.
|
||||
#31
|
||||
HAPPYHOUR
|
||||
|
||||
Usage: happyhour - show usage (this info)
|
||||
happyhour show - display current settings (what mortals see)
|
||||
happyhour time <ticks> - set happyhour time and start timer
|
||||
happyhour qp <num> - set qp percentage gain
|
||||
happyhour exp <num> - set exp percentage gain
|
||||
happyhour gold <num> - set gold percentage gain
|
||||
happyhour default - sets a default setting for happyhour
|
||||
|
||||
Configure the happyhour settings and start a happyhour.
|
||||
Currently 1 hour IRL = 48 ticks
|
||||
If no number is specified, 0 (off) is assumed.
|
||||
The command happyhour time will therefore stop the happyhour timer.
|
||||
|
||||
|
||||
#31
|
||||
HARM
|
||||
|
|
|
|||
|
|
@ -306,7 +306,7 @@ void die(struct char_data * ch, struct char_data * killer)
|
|||
static void perform_group_gain(struct char_data *ch, int base,
|
||||
struct char_data *victim)
|
||||
{
|
||||
int share, hap_share;
|
||||
int share;
|
||||
|
||||
share = MIN(CONFIG_MAX_EXP_GAIN, MAX(1, base));
|
||||
|
||||
|
|
|
|||
|
|
@ -1641,11 +1641,6 @@ void nanny(struct descriptor_data *d, char *arg)
|
|||
|
||||
case CON_RMOTD: /* read CR after printing motd */
|
||||
write_to_output(d, "%s", CONFIG_MENU);
|
||||
if (IS_HAPPYHOUR > 0){
|
||||
write_to_output(d, "\r\n");
|
||||
write_to_output(d, "\tyThere is currently a Happyhour!\tn\r\n");
|
||||
write_to_output(d, "\r\n");
|
||||
}
|
||||
add_llog_entry(d->character, LAST_CONNECT);
|
||||
STATE(d) = CON_MENU;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue