party-hat.c
skylib_fluffos_v3/mudlib/std/shadows/other/party-hat.c · 345 B
From the archive skylib_fluffos_v3.zip
Download the archive « Back to the archive contents
inherit "/std/effect_shadow";
int test_for_effect( object thing ) {
return member_array( "/std/effects/other/party-hat",
(string *)thing->query_wear_effects() ) != -1;
}
void taken_off(object what, string eff)
{
if (eff != "/std/effects/other/party-hat")
player->taken_off(what, eff);
else {
remove_this_effect();
}
}