eat #350

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

Aliases: eat

3 verbs · 19 properties · 0 children

Verbs

VerbSpecFlagsDefinerLines
_startthis none thisrxd#3505
_finishthis none thisrxd#3505
doing_msgthis none thisrxd#3507

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{"eat"}
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 n350_2 #350:doing_msg n20_34 #20:pronoun_sub n350_2->n20_34

Source

_start

Spec this none thisFlags rxdOwner #361Definer #350

Referenced by

none

Source

1who = args[1];
2if (!is_player(who))
3return {5.0, 1};
4endif
5return {2.0, 1};

_finish

Spec this none thisFlags rxdOwner #361Definer #350

Referenced by

none

Source

1who = args[1];
2{food, @rest} = args[2];
3if (valid(food) && (food.location in {who, who.location}))
4food:_eat(who, @rest);
5endif

doing_msg

Spec this none thisFlags rxdOwner #361Definer #350

Referenced by

none

Source

1{who, actionargs} = args;
2what = actionargs[1];
3if (is_a(what, #1) && (what.location in {who, who.location}))
4return $su:ps(this.doing_to_msg, who, this, what);
5else
6return "";
7endif