Find
You are looking at a material called beastiary
This material is placed on those little white buttons you find in each zone object in the beastiary. You simply push it after creating your creature and setting it up with a weapons and treasure.
Created by
thorn
, last updated 25 Jun 2009
Code
if target of push then checkit;
##checkit:
if $loc > 0 then checkroom;
##checkroom:
foreach in $loc do checkit1 not me;
print "All encounters are set up";
##checkit1:
if $for_id's class == player then continue else checkit2;
##checkit2:
if $for_id's material like _encounter_ then checkit3 else checkit3;
##checkit3:
if $for_id's host > 0 then continue else addmat;
##addmat:
$mat = $for_id's material;
swap $mat take _encounter_;
set $for_id's material to $mat;
switch $for_id off;
print "[$for_id] is switched off";