Aschbourne_PRC8/_module/nss/dmfi_univ_8.nss
GetOffMyYarn 69879d6957 Areas and Fixes
Added CCOH and missing areas
Changed some areas to be craftable,
Fixed some on death issues,
Fixed the Gaurd
2024-08-30 11:38:44 -04:00

29 lines
797 B
Plaintext

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") + 8);
ExecuteScript("dmfi_execute", oPC);
DeleteLocalInt(oPC, "Tens");
return;
}
else
{
if(( sConv == "server") || (sConv == "xp") ||
(sConv == "voice") || (sConv == "onering"))
{
SetLocalInt(oPC, "dmfi_univ_int", 8);
ExecuteScript("dmfi_execute", oPC);
return;
}
else
SetLocalInt(oPC, "Tens", 8);
return;
}
}