sit #182
Aliases: sit
3 verbs · 19 properties · 0 children
Verbs
| Verb | Spec | Flags | Definer | Lines |
|---|---|---|---|---|
_start | this none this | rxd | #182 | 6 |
_finish | this none this | rxd | #182 | 9 |
doing_msg | this none this | rxd | #182 | 7 |
Properties
| Property | Definer | Flags | Owner | Value |
|---|---|---|---|---|
help_msg | #93 | rc | #361 | <clear> |
duration | #93 | rc | #361 | <clear> |
preemptible | #93 | rc | #361 | <clear> |
unstoppable | #93 | rc | #361 | <clear> |
dodge_mod | #93 | rc | #361 | <clear> |
doing_msg | #93 | rc | #361 | <clear> |
doing_to_msg | #93 | rc | #361 | <clear> |
oabort_msg | #93 | rc | #361 | <clear> |
can_parry | #93 | rc | #361 | <clear> |
aliases | #1 | rc | #361 | {"sit"} |
description | #1 | rc | #361 | <clear> |
object_size | #1 | r | #29 | {0, 0} |
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): #93 Generic Action → #1 root
Children: none
Call graph
Source
_start
Referenced by
none
Source
1who = args[1]; 2if (who in who.location.covering) 3who:tell("You can't sit down while you're taking cover."); 4return E_NONE; 5endif 6return {this:duration(), 0};
_finish
Referenced by
none
Source
1who = args[1]; 2{target} = args[2]; 3if ($object_utils:has_verb(target, "do_sit")) 4error = target:do_sit(who); 5if (!error) 6who.posture = "sitting"; 7who.location:broadcast_event(0, this, player, {target}); 8endif 9endif
doing_msg
Referenced by
none
Source
1"Copied from Generic Action (#103):doing_msg by Gilmore (#98) Fri Dec 9 00:55:13 2005 CST"; 2who = args[1]; 3if (args[2]) 4return "sitting down on " + args[2][1]:dname(); 5else 6return "sitting down"; 7endif