Files
FR_Backgrounds/src/dmfi/dmfi_univ_9.nss
Jaysyn904 dc174e1aaa 2026/03/17 Update
Added DMFI components
Updated dynamic conversations.
2026-03-17 17:20:49 -04:00

28 lines
779 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") + 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;
}
}