school implosion bomb #166
Aliases: implosion bomb, bomb
1 verbs · 26 properties · 0 children
Verbs
| Verb | Spec | Flags | Definer | Lines |
|---|---|---|---|---|
dr*op th*row | this none none | rxd | #166 | 26 |
Properties
| Property | Definer | Flags | Owner | Value |
|---|---|---|---|---|
returning | #108 | rc | #2 | <clear> |
how_long | #108 | rc | #2 | <clear> |
been_told | #108 | rc | #2 | <clear> |
home | #108 | rc | #2 | <clear> |
child_limit | #108 | rc | #2 | <clear> |
recycle_at_death | #108 | rc | #2 | <clear> |
drop_failed_msg | #5 | rc | #2 | <clear> |
drop_succeeded_msg | #5 | rc | #2 | <clear> |
odrop_failed_msg | #5 | rc | #2 | <clear> |
odrop_succeeded_msg | #5 | rc | #2 | <clear> |
otake_succeeded_msg | #5 | rc | #2 | <clear> |
otake_failed_msg | #5 | rc | #2 | <clear> |
take_succeeded_msg | #5 | rc | #2 | <clear> |
take_failed_msg | #5 | rc | #2 | <clear> |
value_base | #102 | r | #2 | <clear> |
damage_base | #102 | r | #2 | <clear> |
x_loc | #102 | r | #36 | <clear> |
y_loc | #102 | r | #36 | <clear> |
ansi_title | #102 | r | #36 | <clear> |
obvious | #102 | r | #36 | <clear> |
build_help | #102 | rc | #2 | {"Drop da bomb in a hallway ($lobby) to erase any attached classrooms."} |
key | #1 | c | #2 | 0 |
aliases | #1 | rc | #2 | {"implosion bomb", "bomb"} |
description | #1 | rc | #2 | "A shiny metal sphere. (Type 'help implosion' for instructions.)" |
object_size | #1 | r | #36 | {0, 0} |
html | #1 | rc | #2 | <clear> |
Ancestry
Ancestors (nearest first): #108 generic replicating & returning thing → #5 generic thing → #102 subthing → #1 Root Class
Children: none
Call graph
Source
dr*op th*row
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