17 lines
517 B
Plaintext
17 lines
517 B
Plaintext
void main()
|
|
{
|
|
string sChaos = GetResRef(OBJECT_SELF);
|
|
string sCase;
|
|
|
|
|
|
if(sChaos == "ba2_slaadk7") {sCase = "ba2_slaadk6";}
|
|
if(sChaos == "ba2_slaadk6") {sCase = "ba2_slaadk5";}
|
|
if(sChaos == "ba2_slaadk5") {sCase = "ba2_slaadk4";}
|
|
if(sChaos == "ba2_slaadk4") {sCase = "ba2_slaadk3";}
|
|
if(sChaos == "ba2_slaadk3") {sCase = "ba2_slaadk2";}
|
|
if(sChaos == "ba2_slaadk2") {sCase = "ba2_slaadk1";}
|
|
|
|
SpeakString("Foolish mortal! I'm not dead yet!");
|
|
CreateObject(OBJECT_TYPE_CREATURE, sCase, GetLocation(OBJECT_SELF), FALSE);
|
|
}
|