body #110

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

Aliases: body

7 verbs · 15 properties · 11 children

Verbs

VerbSpecFlagsDefinerLines
take_damagethis none thisrxd#1103
jizz_msgthis none thisrxd#1101
tree_tagthis none thisrxd#1105
add_tothis none thisrxd#11021
lick_msgthis none thisrxd#11017
bite_msgthis none thisrxd#11017
modify_nudethis none thisrxd#1102

Properties

PropertyDefinerFlagsOwnerValue
size#110rc#36120
max_damage#110rc#3611.0
critical#110rc#3610
severable#110rc#3610
exclusive_to#110rc#361#-1
aliases#1rc#361{"body"}
description#1rc#361"A ghostly apparition of a disembodied, er, body part."
object_size#1r#29{6247, 1298433815}
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): #1 root

Children: #217 hand, #234 ass, #242 face, #262 back, #280 leg, #286 abdomen, #315 foot, #344 groin, #348 head, #351 chest, #368 arm

Call graph

calls n110_4 #110:lick_msg n20_81 #20:msg n110_4->n20_81 n110_5 #110:bite_msg n110_5->n20_81

Source

take_damage

Spec this none thisFlags rxdOwner #361Definer #110

Referenced by

none

Source

1":take_damage(OBJ victim, INT amount, OBJ type)";
2"Do anything special for this bodypart when we take damage.";
3return min(args[2], toint(tofloat(args[1].health_max) * this.max_damage));

jizz_msg

Spec this none thisFlags rxdOwner #361Definer #110

Referenced by

none

Source

1return this.(verb);

tree_tag

Spec this none thisFlags rxdOwner #361Definer #110

Referenced by

none

Source

1r = tostr("max ", this.max_damage, " siz ", this.size);
2if (is_a(this.exclusive_to, $bodypart))
3r = tostr(r, " excl ", this.exclusive_to.name);
4endif
5return r;

add_to

Spec this none thisFlags rxdOwner #361Definer #110

Referenced by

none

Source

1who = args[1];
2if (!is_a(who, $creature))
3return 0;
4elseif (this == $bodypart)
5return 0;
6elseif (index(this.name, "generic"))
7return 0;
8endif
9exclusive_to = is_a(this.exclusive_to, $bodypart) ? this.exclusive_to | this;
10parts = who.body_parts;
11if (this in parts)
12return 1;
13endif
14for part in (parts)
15if (is_a(part, exclusive_to))
16parts = setremove(parts, part);
17endif
18endfor
19parts = setadd(parts, this);
20who.body_parts = parts;
21return 1;

lick_msg

Spec this none thisFlags rxdOwner #361Definer #110

Referenced by

none

Source

1if (args)
2if (this.lick_clothed_msg)
3if (garment = args[1]:wearing_on(this))
4covering = #-1;
5for x in (garment)
6if ((!`x.fondle_through ! ANY') && (!valid(covering)))
7covering = x;
8endif
9endfor
10if (valid(covering))
11m = strsub($su:msg(this.lick_clothed_msg), "%garment", covering.name);
12return m;
13endif
14endif
15endif
16endif
17return $su:msg(this.lick_msg);

bite_msg

Spec this none thisFlags rxdOwner #361Definer #110

Referenced by

none

Source

1if (args)
2if (this.bite_clothed_msg)
3if (garment = args[1]:wearing_on(this))
4covering = #-1;
5for x in (garment)
6if ((!`x.fondle_through ! ANY') && (!valid(covering)))
7covering = x;
8endif
9endfor
10if (valid(covering))
11m = strsub($su:msg(this.bite_clothed_msg), "%garment", covering.name);
12return m;
13endif
14endif
15endif
16endif
17return $su:msg(this.bite_msg);

modify_nude

Spec this none thisFlags rxdOwner #361Definer #110

Referenced by

none

Source

1n = args[1];
2return n;