generic dangerous exit #349
Aliases: generic dangerous exit
3 verbs · 55 properties · 1 children
Verbs
| Verb | Spec | Flags | Definer | Lines |
|---|---|---|---|---|
hit | this none this | rxd | #349 | 4 |
move | this none this | rxd | #349 | 16 |
check | this none this | rxd | #349 | 3 |
Properties
| Property | Definer | Flags | Owner | Value |
|---|---|---|---|---|
skill | #349 | rc | #361 | #-1 |
difficulty | #349 | rc | #361 | 0 |
move_on_hit | #349 | rc | #361 | 1 |
ohit_msg | #349 | rc | #361 | "Ouch! %DN turns back from %dt, wincing." |
hit_msg | #349 | rc | #361 | "AUGH! You got injured, somehow?" |
damage | #349 | rc | #361 | {} |
near_miss_msg | #349 | rc | #361 | "Whew! That was close." |
move_on_near_miss | #349 | rc | #361 | 1 |
onear_miss_msg | #349 | rc | #361 | "" |
otherside | #55 | rc | #361 | <clear> |
leave_msg | #55 | rc | #361 | <clear> |
arrive_msg | #55 | rc | #361 | <clear> |
go_fail_msg | #55 | rc | #361 | <clear> |
look_place_msg | #55 | rc | #361 | <clear> |
opaque | #55 | rc | #361 | <clear> |
obvious | #55 | rc | #361 | <clear> |
next_hops | #55 | r | #361 | <clear> |
speed | #55 | rc | #361 | 2.5 |
direction | #55 | rc | #361 | <clear> |
throw_msg | #55 | rc | #361 | <clear> |
throw_through_msg | #55 | rc | #361 | <clear> |
throw_fail_msg | #55 | rc | #361 | <clear> |
oarrive_msg | #55 | rc | #361 | <clear> |
oleave_msg | #55 | rc | #361 | <clear> |
oleave_follow_msg | #55 | rc | #361 | <clear> |
oarrive_follow_msg | #55 | rc | #361 | <clear> |
last_use_time | #55 | r | #361 | <clear> |
last_user | #55 | r | #361 | <clear> |
last_arriver | #55 | r | #361 | <clear> |
last_arrive_time | #55 | r | #361 | <clear> |
passable | #55 | rc | #361 | <clear> |
draw_ok | #55 | rc | #361 | <clear> |
attenuation | #55 | rw | #361 | <clear> |
hidden | #55 | rc | #361 | <clear> |
direction_msg | #55 | rc | #361 | <clear> |
next_hop_ok | #55 | rc | #361 | <clear> |
protect_msg | #55 | rc | #361 | <clear> |
pushed_msg | #55 | rc | #361 | <clear> |
pushed_from_msg | #55 | rc | #361 | <clear> |
look_through_msg | #55 | rc | #361 | <clear> |
icon | #55 | rc | #361 | <clear> |
pee_msg | #55 | rc | #361 | <clear> |
otherside_type | #55 | rc | #361 | <clear> |
verb_subs | #55 | rc | #361 | <clear> |
sneak_difficulty | #55 | rc | #361 | <clear> |
aliases | #1 | rc | #361 | {"generic dangerous exit"} |
description | #1 | rc | #361 | <clear> |
object_size | #1 | r | #29 | {2598, 1298434079} |
hidden_verbs | #1 | rc | #361 | <clear> |
phelp_msg | #1 | rc | #361 | <clear> |
weight | #1 | rc | #361 | <clear> |
owner_verbs | #1 | rc | #361 | <clear> |
plural_name | #1 | rc | #361 | <clear> |
client_image | #1 | rc | #361 | <clear> |
listening | #1 | rc | #361 | <clear> |
Ancestry
Ancestors (nearest first): #55 generic exit → #1 root
Children: #218 generic stairs
Call graph
Source
hit
Referenced by
- #349:move line 8:
this:hit
Source
1who = args[1]; 2if (this.damage) 3who:take_damage(@this.damage); 4endif
move
Referenced by
none
Source
1who = args[1]; 2if (this:check(who)) 3return pass(@args); 4endif 5if (m = this.hit_msg) 6who:tell(m); 7endif 8this:hit(who); 9r = 0; 10if (this.move_on_hit) 11r = pass(@args); 12endif 13if (m = this.ohit_msg) 14this.location:announce_all($su:ps(m, who, this)); 15endif 16return r;
check
Referenced by
- #349:move line 2:
this:check
Source
1who = args[1]; 2check = this.skill:check(who, this.difficulty); 3return check > 0;