arrive #364

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

Aliases: arrive

8 verbs · 19 properties · 0 children

Verbs

VerbSpecFlagsDefinerLines
_startthis none thisrxd#3648
_finishthis none thisrxd#3648
doing_msgthis none thisrxd#36416
durationthis none thisrxd#3641
_abortthis none thisrxd#3646
_forbiddenthis none thisrxd#3641
_unstoppablethis none thisrxd#3641
is_being_done_bythis none thisrxd#3646

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{"arrive"}
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 n364_0 #364:_start n20_59 #20:name_and_number n364_0->n20_59 n364_3 #364:duration n364_0->n364_3 n364_1 #364:_finish n364_1->n20_59 n364_2 #364:doing_msg n364_2->n20_59 n20_34 #20:pronoun_sub n364_2->n20_34 n103_24 #103:report_error n364_2->n103_24 n364_4 #364:_abort n364_4->n20_34

Source

_start

Spec this none thisFlags rxdOwner #361Definer #364

Referenced by

none

Source

1who = args[1];
2if (length(args[2]) > 0)
3dobj = args[2][1];
4who:announce_action_text(who.name, " starts ", this.name, "ing ", $su:nn(dobj), ".");
5else
6who:announce_action_text(who.name, " starts ", this.name, "ing.");
7endif
8return {this:duration(), 0};

_finish

Spec this none thisFlags rxdOwner #361Definer #364

Referenced by

none

Source

1who = args[1];
2start_result = args[3];
3if (args[2])
4dobj = args[2][1];
5who:announce_action_text(who.name, " finishes ", this.name, "ing ", $su:nn(dobj), ".");
6else
7who:announce_action_text(who.name, " finishes ", this.name, "ing.");
8endif

doing_msg

Spec this none thisFlags rxdOwner #361Definer #364

Referenced by

none

Source

1{who, actionargs} = args;
2if (actionargs)
3if (length(actionargs) > 3)
4actionargs = actionargs[1..3];
5endif
6try
7return $su:ps(this.doing_to_msg, who, this, @actionargs);
8except e (ANY)
9if (e[1] != E_NONE)
10extra_info = tostr($su:nn(who), " doing ", $su:nn(this), " args: ", toliteral(actionargs));
11$rpg:report_error(e, extra_info);
12endif
13endtry
14else
15return $su:ps(this.doing_msg, who, this);
16endif

duration

Spec this none thisFlags rxdOwner #361Definer #364

Referenced by

Source

1return this.duration;

_abort

Spec this none thisFlags rxdOwner #361Definer #364

Referenced by

none

Source

1who = args[1];
2who:tell($ansi.cyan, "[ Stopped ", this.name, ". ]", $ansi.reset);
3if (m = this.oabort_msg)
4who:aat($su:ps(m, who));
5endif
6return;

_forbidden

Spec this none thisFlags rxdOwner #361Definer #364

Referenced by

none

Source

1

_unstoppable

Spec this none thisFlags rxdOwner #361Definer #364

Referenced by

none

Source

1return this.(verb);

is_being_done_by

Spec this none thisFlags rxdOwner #361Definer #364

Referenced by

none

Source

1who = args[1];
2if (who.executing)
3if (who.executing[1] == this)
4return 1;
5endif
6endif