Healing Orb #175

Parent #5Owner #2Flags Source QuestCore.db

Aliases: Healing Orb

1 verbs · 20 properties · 0 children

Verbs

VerbSpecFlagsDefinerLines
touchthis none nonerxd#1759

Properties

PropertyDefinerFlagsOwnerValue
healing#175rc#24.0
drop_failed_msg#5rc#2<clear>
drop_succeeded_msg#5rc#2<clear>
odrop_failed_msg#5rc#2<clear>
odrop_succeeded_msg#5rc#2<clear>
otake_succeeded_msg#5rc#2<clear>
otake_failed_msg#5rc#2<clear>
take_succeeded_msg#5rc#2<clear>
take_failed_msg#5rc#2<clear>
value_base#102r#2<clear>
damage_base#102r#2<clear>
x_loc#102r#36<clear>
y_loc#102r#36<clear>
ansi_title#102r#36<clear>
obvious#102r#36<clear>
build_help#102rc#2<clear>
key#1c#20
aliases#1rc#2{"Healing Orb"}
description#1rc#2"[green]This is a gray orb from which no light or mist emanates.[normal]"
object_size#1r#36{0, 0}

Ancestry

Ancestors (nearest first): #5 generic thing#102 subthing#1 Root Class

Children: none

Call graph

calls n175_0 #175:touch n6_18 #6:tell n175_0->n6_18 n102_4 #102:title n175_0->n102_4

Source

touch

Spec this none noneFlags rxdOwner #2Definer #175

Referenced by

none

Source

1if (player.stats_current[2][4] >= player.stats[2][4])
2player:tell("You touch the ", this:title(), "... It has no effect. (You are at maximum health.)");
3player.location:tell(player:title(), " touches the ", this:title(), "... Nothing happens to ", player.po, ".");
4else
5phealth = tofloat(player.stats_current[2][4]) + tofloat(this.healing);
6player.stats_current[2][4] = phealth;
7player:tell("You touch the ", this:title(), "... You receive healing! You gain ", tostr(this.healing), " health!");
8player.location:tell(player:title(), " touches the ", this:title(), "... ", player.psc, " receives healing!");
9endif