eat #350
Aliases: eat
3 verbs · 19 properties · 0 children
Verbs
| Verb | Spec | Flags | Definer | Lines |
|---|---|---|---|---|
_start | this none this | rxd | #350 | 5 |
_finish | this none this | rxd | #350 | 5 |
doing_msg | this none this | rxd | #350 | 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 | {"eat"} |
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 (!is_player(who)) 3return {5.0, 1}; 4endif 5return {2.0, 1};
_finish
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
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