Level One rework
Revamped Level One: North & Level One: Central to be as close to PnP as possible. Added Level One: Latrene 3 area. Added efreeti appearance from CEP3. Revamped efreeti bottle to be like PnP (no wishes, yet)
This commit is contained in:
@@ -8300,7 +8300,7 @@ at night. */
|
||||
//:: Dungeon Level 1 Random Encounters
|
||||
if (sCamp == "enc_level01")
|
||||
{
|
||||
int nSpawn = Random(20) + 1;
|
||||
int nSpawn = d20(1);
|
||||
switch(nSpawn)
|
||||
{
|
||||
case 1:
|
||||
@@ -8599,7 +8599,7 @@ at night. */
|
||||
//:: 1 Gelatinous Cube: 04 HD
|
||||
|
||||
case 4:
|
||||
//:: 1 Dung Monster: 10 HD
|
||||
//:: 1 Dung Monster: 10 HD or 1d2 Shadows: 03 HD
|
||||
{
|
||||
// Set Number of Placeables
|
||||
SetLocalInt(oCamp, "CampNumP", 0);
|
||||
@@ -8625,14 +8625,31 @@ at night. */
|
||||
// Set Placeable 1 and Spawn Flags
|
||||
//SetLocalString(oCamp, "CampP1", "plc_chest1");
|
||||
//SetLocalString(oCamp, "CampP1_Flags", "SP_PL3T80P30");
|
||||
|
||||
string sCreatureTag = "RA_DUNGMONSTER01"; // Replace with the desired tag.
|
||||
object oCreature = GetObjectByTag(sCreatureTag);
|
||||
|
||||
// Set Creature 0 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC0", "ra_dungmonster01");
|
||||
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
||||
if (GetIsObjectValid(oCreature))
|
||||
{
|
||||
// The creature with the specified tag exists in the module.
|
||||
// You can add your code here to handle this case.
|
||||
|
||||
break;
|
||||
}
|
||||
//:: 1 Dung Monster: 10 HD
|
||||
// Set Number of Creatures
|
||||
SetLocalInt(oCamp, "CampNumC", d2(1));
|
||||
|
||||
// Set Creature 0 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC0", "shadow001");
|
||||
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
||||
}
|
||||
else
|
||||
{
|
||||
// Set Creature 0 and Spawn Flags
|
||||
SetLocalString(oCamp, "CampC0", "ra_dungmonster01");
|
||||
SetLocalString(oCamp, "CampC0_Flags", "SP_RW_CD060");
|
||||
DelayCommand(0.0f, SetLocalInt(GetModule(), "DungMonsterActive", TRUE));
|
||||
}
|
||||
}
|
||||
//:: 1 Dung Monster: 10 HD or 1d2 Shadows: 03 HD
|
||||
|
||||
case 5: case 6: case 7: case 8: case 10: case 11: case 12: case 13: case 14: case 15: case 16: case 17: case 18: case 19: case 20:
|
||||
//:: 1 Dire Rat
|
||||
@@ -8669,10 +8686,10 @@ at night. */
|
||||
break;
|
||||
}
|
||||
//:: 1 Dire Rat
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
//:: Dungeon Level 1 Random Encounters
|
||||
//:: Dungeon Level 1 Random Encounters
|
||||
|
||||
|
||||
//:: The Dishonest Patrol (EL 11)
|
||||
if (sCamp == "dishonest_patrol")
|
||||
|
Reference in New Issue
Block a user