sit #182

Parent #93Owner #361Flags readSource hellcore/hellcore.db

Aliases: sit

3 verbs · 19 properties · 0 children

Verbs

VerbSpecFlagsDefinerLines
_startthis none thisrxd#1826
_finishthis none thisrxd#1829
doing_msgthis none thisrxd#1827

Properties

PropertyDefinerFlagsOwnerValue
help_msg#93rc#361<clear>
duration#93rc#361<clear>
preemptible#93rc#361<clear>
unstoppable#93rc#361<clear>
dodge_mod#93rc#361<clear>
doing_msg#93rc#361<clear>
doing_to_msg#93rc#361<clear>
oabort_msg#93rc#361<clear>
can_parry#93rc#361<clear>
aliases#1rc#361{"sit"}
description#1rc#361<clear>
object_size#1r#29{0, 0}
hidden_verbs#1rc#361<clear>
phelp_msg#1rc#361<clear>
weight#1rc#361<clear>
owner_verbs#1rc#361<clear>
plural_name#1rc#361<clear>
client_image#1rc#361<clear>
listening#1rc#361<clear>

Ancestry

Ancestors (nearest first): #93 Generic Action#1 root

Children: none

Call graph

calls n182_0 #182:_start n93_3 #93:duration n182_0->n93_3 n182_1 #182:_finish n45_2 #45:has_verb n182_1->n45_2

Source

_start

Spec this none thisFlags rxdOwner #361Definer #182

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

Spec this none thisFlags rxdOwner #361Definer #182

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

Spec this none thisFlags rxdOwner #361Definer #182

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