Find
You are in a button 2
This button spawns a sub-par monster.
Created by
Chaotic Bob
, last updated 31 Jan 2015
Code
if target of push then stuffs;
##stuffs:
$killit = $init_obj;
print "You here a deep voice boom '[$killit] .. your choice is made'";
find $actor, spawned2;
copy $found_id;
$monst = $new_id;
find $actor, spawnweap;
copy $found_id;
$weap = $new_id;
var $nami to (human, elf, dwarf, hobgoblin, nymph);
multiset $monst = "class='$nami',loc=$loc";
set $monst's healthmax to 25;
set $monst's health to 25;
var $typi to (shortsword, hatchet, longdagger, mallet);
multiset $weap = "class='$typi',loc=$loc";
$actor = $monst;
print "[$monst] and [$weap] fall from the sky";
call "wield $weap";
call "attack $killit";
a roomy called spawn1
a spawned2
a spawnweap