generic pill #198

Parent #347Owner #361Flags read, fertileSource hellcore/hellcore.db

Aliases: generic pill

3 verbs · 37 properties · 0 children

Verbs

VerbSpecFlagsDefinerLines
_eatthis none thisrxd#1988
eat pop swallowthis none nonerxd#1986
tree_tagthis none thisrxd#1982

Properties

PropertyDefinerFlagsOwnerValue
eat_msg#198rc#361"%DN swallows %it."
start_eat_msg#198rc#361"%DN pops %id into %p mouth."
max_doses#347rc#361<clear>
doses#347rc#361<clear>
drug#347rc#361<clear>
full_msg#347rc#361<clear>
no_engrave#347rc#361<clear>
handed#5rc#361<clear>
wield_msg#5rc#361<clear>
unwield_msg#5rc#361<clear>
size#5rc#361<clear>
look_place_msg#5rc#361<clear>
value#5rc#361<clear>
get_msg#5rc#361<clear>
drop_msg#5rc#361<clear>
get_fail_msg#5rc#361<clear>
junk_ok#5rc#361<clear>
floats#5rc#361<clear>
long_name_msg#5rc#361<clear>
article#5rc#361<clear>
setup_list#5rc#361<clear>
health#5rc#361<clear>
health_max#5rc#361<clear>
min_skill#5rc#361<clear>
skill#5rc#361<clear>
recipe_for#5rc#361<clear>
carried_msg#5rc#361<clear>
aliases#1rc#361{"generic pill"}
description#1rc#361"A small round pill, medicine of some sort. You hope."
object_size#1r#29{3361, 1298433853}
hidden_verbs#1rc#361<clear>
phelp_msg#1rc#361{"Pro tip! Drug abuse is morally wrong and also unhealthy."}
weight#1rc#3615
owner_verbs#1rc#361<clear>
plural_name#1rc#361<clear>
client_image#1rc#361<clear>
listening#1rc#361<clear>

Ancestry

Ancestors (nearest first): #347 generic drug container#5 generic thing#1 root

Children: none

Call graph

calls n198_0 #198:_eat n20_34 #20:pronoun_sub n198_0->n20_34 n103_2 #103:junk n198_0->n103_2 n198_1 #198:eat n198_1->n20_34 n107_43 #107:tell n198_1->n107_43 n1_66 #1:announce_action_text n198_1->n1_66 n92_2 #92:queue_action n198_1->n92_2 n1_31 #1:dname n198_1->n1_31 n198_2 #198:tree_tag n347_6 #347:tree_tag n198_2->n347_6 n20_5 #20:from_list n198_2->n20_5

Source

_eat

Spec this none thisFlags rxdOwner #361Definer #198

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

Spec this none noneFlags rxdOwner #361Definer #198

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

Spec this none thisFlags rxdOwner #361Definer #198

Referenced by

none

Source

1s = pass(@args);
2return tostr(s, " ", $su:from_list(verbs(this), ","));