Added DMFI

Added DMFI.  Set Diamond Golem appearance size to large.  Full compile.  Updated release archive.
This commit is contained in:
Jaysyn904
2024-12-28 18:10:38 -05:00
parent f3057de0bd
commit 37c79b6d57
536 changed files with 235552 additions and 62 deletions

View File

@@ -0,0 +1,27 @@
void main()
{
object oPC = GetPCSpeaker();
object oTarget = GetLocalObject(oPC, "dmfi_univ_target");
location lLocation = GetLocalLocation(oPC, "dmfi_univ_location");
string sConv = GetLocalString(oPC, "dmfi_univ_conv");
if (GetLocalInt(oPC, "Tens"))
{
SetLocalInt(oPC, "dmfi_univ_int", 10*GetLocalInt(oPC, "Tens") + 9);
ExecuteScript("dmfi_execute", oPC);
DeleteLocalInt(oPC, "Tens");
return;
}
else
{
if(sConv == "server" || sConv == "voice" || sConv == "faction" || sConv == "rest")
{
SetLocalInt(oPC, "dmfi_univ_int", 9);
ExecuteScript("dmfi_execute", oPC);
return;
}
else
SetLocalInt(oPC, "Tens", 9);
return;
}
}