breath_fresh.c

skylib_fluffos_v3/mudlib/std/effects/ingested/breath_fresh.c · 387 B

From the archive skylib_fluffos_v3.zip

Download the archive   « Back to the archive contents

#include <effect.h>

string query_classification() { return "misc.breath-clean"; }

int beginning( object player, int time ) {
  player->submit_ee( 0, 2, EE_REMOVE );
} 
 
void end( object player, int time ) {
  int *effnum, succeed;
  effnum = (int *)this_player()->effects_matching("mouth.smell.garlic");
  if(effnum == ({ }))
    return;
  this_player()->delete_effect(effnum[0]);
}

Site Stats

Snippets: 1791
Codebases: 571