school implosion bomb #166

Parent #108Owner #2Flags Source RPG Core/rpgcore-patched.db

Aliases: implosion bomb, bomb

1 verbs · 26 properties · 0 children

Verbs

VerbSpecFlagsDefinerLines
dr*op th*rowthis none nonerxd#16626

Properties

PropertyDefinerFlagsOwnerValue
returning#108rc#2<clear>
how_long#108rc#2<clear>
been_told#108rc#2<clear>
home#108rc#2<clear>
child_limit#108rc#2<clear>
recycle_at_death#108rc#2<clear>
drop_failed_msg#5rc#2<clear>
drop_succeeded_msg#5rc#2<clear>
odrop_failed_msg#5rc#2<clear>
odrop_succeeded_msg#5rc#2<clear>
otake_succeeded_msg#5rc#2<clear>
otake_failed_msg#5rc#2<clear>
take_succeeded_msg#5rc#2<clear>
take_failed_msg#5rc#2<clear>
value_base#102r#2<clear>
damage_base#102r#2<clear>
x_loc#102r#36<clear>
y_loc#102r#36<clear>
ansi_title#102r#36<clear>
obvious#102r#36<clear>
build_help#102rc#2{"Drop da bomb in a hallway ($lobby) to erase any attached classrooms."}
key#1c#20
aliases#1rc#2{"implosion bomb", "bomb"}
description#1rc#2"A shiny metal sphere. (Type 'help implosion' for instructions.)"
object_size#1r#36{0, 0}
html#1rc#2<clear>

Ancestry

Ancestors (nearest first): #108 generic replicating & returning thing#5 generic thing#102 subthing#1 Root Class

Children: none

Call graph

calls n166_0 #166:dr*op n5_1 #5:dr*op n166_0->n5_1 n52_5 #52:isa n166_0->n52_5 n6_18 #6:tell n166_0->n6_18 n63_1 #63:_recycle n166_0->n63_1

Source

dr*op th*row

Spec this none noneFlags rxdOwner #2Definer #166

Referenced by

none

Source

1pass(@args);
2player.location:announce_all("tick...tick...tick");
3fork (2)
4lobby = this.location;
5if ($object_utils:isa(lobby, $lobby))
6if (!player.wizard)
7return player:tell("This bomb needs to be dropped by a wizard.");
8else
9exits = lobby.virtual_exits;
10for e in (exits)
11if ($object_utils:isa(e[2], $school))
12lobby.virtual_exits = setremove(lobby.virtual_exits, e);
13$recycler:_recycle(e[2]);
14endif
15endfor
16lobby:announce_all("[cyan]SCHWOOOP![normal]");
17if ($scheduler in player.features)
18player:tell("\"@unsched garbage\" now to clear any unfinished business for the recycled rooms.");
19else
20player:tell("\"@addfeature $scheduler\" and then \"@unsched garbage\" to clear any unfinished business for the recycled rooms.");
21endif
22endif
23else
24return player:tell("This room has to be a descendant of $lobby.");
25endif
26endfork