generic item spawner #305

Parent #1Owner #29Flags read, fertileSource hellcore/hellcore.db

Aliases: generic item spawner, item, spawner

5 verbs · 18 properties · 0 children

Verbs

VerbSpecFlagsDefinerLines
on_resetthis none thisrxd#30510
@force-resetthis none nonerxd#3056
look_place_msgthis none thisrxd#3051
do_examinethis none thisrxd#3052
is_hiddenthis none thisrxd#3051

Properties

PropertyDefinerFlagsOwnerValue
item#305rc#29#-1
spawn_msg#305rc#29"%IN slowly fades in from nothingness."
look_place_msg#305rc#29" "
respawn_interval#305rc#2930
lastitem#305r#29#-1
last_task#305r#290
is_hidden#305rc#291
last_spawn#305rc#290
aliases#1rc#29{"generic item spawner", "item", "spawner"}
description#1rc#29<clear>
object_size#1r#29{2781, 1298433826}
hidden_verbs#1rc#29<clear>
phelp_msg#1rc#29<clear>
weight#1rc#29<clear>
owner_verbs#1rc#29<clear>
plural_name#1rc#29<clear>
client_image#1rc#29<clear>
listening#1rc#29<clear>

Ancestry

Ancestors (nearest first): #1 root

Children: none

Call graph

calls n305_0 #305:on_reset n103_1 #103:spawn n305_0->n103_1 n20_34 #20:pronoun_sub n305_0->n20_34 n305_1 #305:@force-reset n305_1->n305_0 n107_43 #107:tell n305_1->n107_43 n305_3 #305:do_examine n305_3->n107_43

Source

on_reset

Spec this none thisFlags rxdOwner #29Definer #305

Referenced by

Source

1if (!valid(this.location))
2return;
3endif
4if (!this.location:occupants(this.item))
5if ((time() - this.last_spawn) > (this.respawn_interval * 60))
6new = $rpg:spawn(this.item);
7new:moveto(this.location);
8(m = this.spawn_msg) && this.location:announce_all($su:ps(m, new, new));
9endif
10endif

@force-reset

Spec this none noneFlags rxdOwner #29Definer #305

Referenced by

none

Source

1if ((player.programmer == 1) || (player.wizard == 1))
2player:tell("Resetting ", this.name, ".");
3this:on_reset();
4else
5player:tell("I don't understand that.");
6endif

look_place_msg

Spec this none thisFlags rxdOwner #29Definer #305

Referenced by

none

Source

1return this.(verb);

do_examine

Spec this none thisFlags rxdOwner #29Definer #305

Referenced by

none

Source

1"Copied from generic monster generator (#4609):do_examine by Pan (#413632) Mon Oct 12 15:14:14 2009 CDT";
2player:tell("I see no \"", argstr, "\" here.");

is_hidden

Spec this none thisFlags rxdOwner #29Definer #305

Referenced by

none

Source

1return this.(verb);