generic pill #198
Aliases: generic pill
3 verbs · 37 properties · 0 children
Verbs
| Verb | Spec | Flags | Definer | Lines |
|---|---|---|---|---|
_eat | this none this | rxd | #198 | 8 |
eat pop swallow | this none none | rxd | #198 | 6 |
tree_tag | this none this | rxd | #198 | 2 |
Properties
| Property | Definer | Flags | Owner | Value |
|---|---|---|---|---|
eat_msg | #198 | rc | #361 | "%DN swallows %it." |
start_eat_msg | #198 | rc | #361 | "%DN pops %id into %p mouth." |
max_doses | #347 | rc | #361 | <clear> |
doses | #347 | rc | #361 | <clear> |
drug | #347 | rc | #361 | <clear> |
full_msg | #347 | rc | #361 | <clear> |
no_engrave | #347 | rc | #361 | <clear> |
handed | #5 | rc | #361 | <clear> |
wield_msg | #5 | rc | #361 | <clear> |
unwield_msg | #5 | rc | #361 | <clear> |
size | #5 | rc | #361 | <clear> |
look_place_msg | #5 | rc | #361 | <clear> |
value | #5 | rc | #361 | <clear> |
get_msg | #5 | rc | #361 | <clear> |
drop_msg | #5 | rc | #361 | <clear> |
get_fail_msg | #5 | rc | #361 | <clear> |
junk_ok | #5 | rc | #361 | <clear> |
floats | #5 | rc | #361 | <clear> |
long_name_msg | #5 | rc | #361 | <clear> |
article | #5 | rc | #361 | <clear> |
setup_list | #5 | rc | #361 | <clear> |
health | #5 | rc | #361 | <clear> |
health_max | #5 | rc | #361 | <clear> |
min_skill | #5 | rc | #361 | <clear> |
skill | #5 | rc | #361 | <clear> |
recipe_for | #5 | rc | #361 | <clear> |
carried_msg | #5 | rc | #361 | <clear> |
aliases | #1 | rc | #361 | {"generic pill"} |
description | #1 | rc | #361 | "A small round pill, medicine of some sort. You hope." |
object_size | #1 | r | #29 | {3361, 1298433853} |
hidden_verbs | #1 | rc | #361 | <clear> |
phelp_msg | #1 | rc | #361 | {"Pro tip! Drug abuse is morally wrong and also unhealthy."} |
weight | #1 | rc | #361 | 5 |
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): #347 generic drug container → #5 generic thing → #1 root
Children: none
Call graph
Source
_eat
Referenced by
none
Source
1{who, ?silent = 0} = args; 2if (!silent) 3who:aat($su:ps(this.eat_msg, who, this)); 4endif 5is_a(this.drug, $drug) && who:ingest(this.drug, this.doses); 6if (!this.f) 7$rpg:junk(this); 8endif
eat pop swallow
Referenced by
none
Source
1if (this.location != player) 2player:tell("You're not holding it."); 3else 4player:aat($su:ps(this.start_eat_msg, player)); 5player:queue_action($actions.eat, {this}, 1, "eat " + this:dname()); 6endif
tree_tag
Referenced by
none
Source
1s = pass(@args); 2return tostr(s, " ", $su:from_list(verbs(this), ","));