Updated Giant Wasp Hive

Updated Giant Wasp Hive.  Got the Outcasts spawning with clothes on. Full compile.
This commit is contained in:
Jaysyn904
2022-12-06 00:36:59 -05:00
parent 1cbe12fdda
commit 16a00a66f5
60 changed files with 2607 additions and 36808 deletions

View File

@@ -10,7 +10,7 @@
void rnd_skin(object oPC)
{
// Randomize skin color
//:: Randomize skin color
int nKeepskin = GetLocalInt(OBJECT_SELF,"RA_KEEPSKIN");
int nSkinColor;
nSkinColor = Random(15);
@@ -20,6 +20,18 @@ void rnd_skin(object oPC)
}
}
void rnd_pheno(object oPC)
{
//: Randomize body size (3:1 ratio)
int nKeepPheno = GetLocalInt(OBJECT_SELF, "RA_KEEPPHENO");
int nRandom = d4();
if (nKeepPheno != 1 && nRandom == 1)
{
SetPhenoType(PHENOTYPE_BIG , OBJECT_SELF);
}
}
void rnd_head(object oPC)
{
@@ -71,9 +83,13 @@ void rnd_clothes(object oPC)
//Randomizes Commoner's Clothing
int nStackSize = 1; // Create 1 items
int nResult = d20(1);
string sItem;
sItem = "baleas_cloth0" + IntToString(nResult);
DelayCommand(1.0f, ActionEquipItem(CreateItemOnObject(sItem), INVENTORY_SLOT_CHEST));
object oItem = CreateItemOnObject(sItem, oPC, 1);
DelayCommand(0.5f, ActionEquipItem(oItem, INVENTORY_SLOT_CHEST));
}
else if (GetGender(oPC) != 1) // 1 is Female
@@ -84,7 +100,7 @@ void rnd_clothes(object oPC)
int nResult = d10(1);
string sItem;
sItem = "noble_m_cloth0" + IntToString(nResult);
DelayCommand(1.0f, ActionEquipItem(CreateItemOnObject(sItem), INVENTORY_SLOT_CHEST));
DelayCommand(0.5f, ActionEquipItem(CreateItemOnObject(sItem), INVENTORY_SLOT_CHEST));
}
else