Twisted Oak Tree (#203)

(an instance of generic thing made by legba)

     Set in a circle of cobbles, ringed in a decorative fence is an oak.  Its trunk is 
big enough to hide behind and its branches are gnarled and twisted.  Despite the 
toxicity of the air and the acid rain, a few leaves remain on the tree, but these 
are far outnumbered by the strange objects that have been hung or nailed all over 
it, possibly as offerings to local tree gods.
       There's a hammer and plenty of nails lying around.  Feel free to leave your own 
offering.  You never know when you might need the favor of a tree spirit.
     

Go to location of this object, Crumbling Foundation.



VERB SOURCE CODE:

description:
nailed_text = "";
if (length(this.nailed) != 0)
    nailed_text = ("You see " + $string_utils:english_list(this.nailed)) + " nailed 
to the tree.";
endif
return {@this.description, nailed_text};
.


nail:
this.nailed = setadd(this.nailed, dobjstr);
this.location:announce_all(player.name, " nails ", dobjstr, " to the tree.");
.


@purge:
if (player == this.owner)
    this.nailed = {};
    player:tell("You've cleaned the clutter of offerings from the tree.");
    this.location:announce(player.name, " has cleaned all the offerings from the 
tree.");
else
    this.location:announce_all(player.name, " has attempted to take the offerings 
from the tree.  What a maroon.");
endif
.



PROPERTY DATA:
      nailed