terrain_dont_unload.c

dw_fluffos_v1/lib/std/shadows/room/terrain_dont_unload.c · 275 B

From the archive dw_fluffos_v1.tar.gz

Download the archive   « Back to the archive contents

inherit "/std/effect_shadow";

#define BP tell_object( find_player("gerbil"), "BP.\n");

int i;

int dont_free() {return 1;}

void setup_shad() {
    i++;
}

string test_my_effect() {return "Yup!";}

void ditch_room() {
    if( !--i ) {
        remove_this_effect();
    }
}

Site Stats

Snippets: 1791
Codebases: 571