towel_rack 
Towel Racks A rack to store towels.
Vars | |
| max_towels | Max amount of towels we can hold. |
|---|---|
| towels | All of the towels we're holding. Last in first out |
Procs | |
| add_towel | Add [added_towel] into the rack, if we can. |
| remove_towel | Remove the last towel from the rack. Last in, first out. |
Var Details
max_towels 
Max amount of towels we can hold.
towels 
All of the towels we're holding. Last in first out
Proc Details
add_towel
Add [added_towel] into the rack, if we can.
added_towel - the towel we're adding to the rack user - the mob who is inserting the towel
return FALSE if we fail to insert the towel, and TRUE otherwise
remove_towel
Remove the last towel from the rack. Last in, first out.
user - the mob who is removing the towel
returns the towel removed.