extern void update_handler2( bool forced );
void do_force_tick(CHAR_DATA *ch, char *argument)
{
update_handler2(TRUE);
send_to_char("You have forced time to fly by….TICK\n\r",ch);
return;
}
void update_handler2( bool forced );
void update_handler2( bool forced )
{
static int pulse_area;
static int pulse_mobile;
static int pulse_violence;
static int pulse_point;
static int pulse_music;
pulse_area = PULSE_AREA;
area_update ( );
pulse_music = PULSE_MUSIC;
song_update();
pulse_mobile = PULSE_MOBILE;
mobile_update ( );
pulse_violence = PULSE_VIOLENCE;
violence_update ( );
wiznet("TICK!",NULL,NULL,WIZ_TICKS,0,0);
pulse_point = PULSE_TICK;
weather_update ( );
char_update ( );
obj_update ( );
// bank_update ( );
aggr_update( );
tail_chain( );
return;
}
void do_tick( CHAR_DATA *ch, char *argument)
{
int cnt, ticks;
ticks = atol(argument);
for (cnt = 0 ; cnt < ticks * PULSE_TICK ; cnt++)
{
update_handler();
}
ch_printf(ch, "Time advances %d mud %s.\n\r", ticks, short_to_name("hour", ticks));
}