Find
You are looking at a material called alphatroid
Created by
omenofdoom
, last updated 18 Mar 2008
Code
if reacting to ometlifedrained then wasitme;
##tickloc:runsub checkif;
##checkif:
if $actor's healthmax > 44 then changeem else nope;
if $actor's health > 0 then checknoise else nope;
##checknoise:
runsub makenoise/5;
##makenoise:
var $what to (screeches, squees);
print "[$actor] $what loudly.";
##whattodo:runsub moveme;
##moveme:
new a note that means th2 works;
call "roam";
##checkgrow:
if $grw > 4 then growme else nope;
##growme:
$hlth = $actor's health;
$hlthm = $actor's healthmax;
add 3 to $hlthm;
set $actor's healthmax to $hlthm;
set $actor's health to $hlthm;
set $grw to 0;
set $actor's growthfactor to $grw;
##wasitme:
if $actor = $init_obj's host then incrcnt else nope;
##incrcnt:
$hlth = $actor's health;
$hlthm = $actor's healthmax;
add 1 to $hlthm;
set $actor's healthmax to $hlthm;
set $actor's health to $actor's healthmax;
print "[$actor] seems to grow slightly larger.";
##changeem:
print "Energy begins running over [$actor]'s surface, obscuring it from view";
set $actor's class to 'Gamma Metroid';
set $actor's pclass to 'Gamma Metroids';
$mat = $actor's material;
swap $mat add "_gammatroid_";
swap $mat take "_alphatroid_";
set $actor's material to $mat;
print "The energy disappears in the blink of an eye, and [$actor] emerges with a piercing screech, and you find yourself wondering if now would be a good time to run for your life.";
set $actor's info to 'Six eyes focus on you obscured from behind large horns, which curve inwards, energy crackling through them.';
say 'changemandibs'," ";