Remade Dungeon Level One: Central

Remade Dungeon Level One: Central.  Added Didiamus' creature overrides.  Full compile.
This commit is contained in:
Jaysyn904
2023-09-17 23:08:55 -04:00
parent 84d583b489
commit d168e90e83
225 changed files with 189628 additions and 114247 deletions

View File

@@ -0,0 +1,30 @@
//::///////////////////////////////////////////////
//:: Name: Object Respawner
//:: FileName: object_respawner
//:://////////////////////////////////////////////
/*
Respawn an object after its destroyed.
*/
//:://////////////////////////////////////////////
//:: Created By: VorpalBlade
//:: Created On: 7/21/02
//:://////////////////////////////////////////////
void RespawnObject(int nType, string sTemp, location lRespawn);
void RespawnObject(int nType, string sTemp, location lRespawn)
{
CreateObject(nType, sTemp, lRespawn);
}
void main()
{
// Get the object's spawn point, Type and the template name as the Tag.
location lSpawn = GetLocation(OBJECT_SELF);
string sResref = GetResRef(OBJECT_SELF);
int nObjectType = GetObjectType(OBJECT_SELF);
// Send Respawn command to the module so it will execute even
// after this object is dead and buried
AssignCommand(GetModule(), DelayCommand(900.0, RespawnObject(nObjectType, sResref, lSpawn)));
}