Further file organization

Further file organization
This commit is contained in:
Jaysyn904
2023-08-23 22:11:00 -04:00
parent 3062876237
commit d87fe14826
22364 changed files with 0 additions and 3253 deletions

View File

@@ -0,0 +1,16 @@
// Copies the data from AC slot 3 to the modifying variables
#include "psi_inc_ac_const"
string sSlot = "3";
void main()
{
object oPC = GetPCSpeaker();
SetLocalInt(oPC, ASTRAL_CONSTRUCT_LEVEL + EDIT, GetLocalInt(oPC, ASTRAL_CONSTRUCT_LEVEL + sSlot));
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + sSlot));
SetLocalInt(oPC, ASTRAL_CONSTRUCT_RESISTANCE_FLAGS + EDIT, GetLocalInt(oPC, ASTRAL_CONSTRUCT_RESISTANCE_FLAGS + sSlot));
SetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_TOUCH_FLAGS + EDIT, GetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_TOUCH_FLAGS + sSlot));
SetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_BOLT_FLAGS + EDIT, GetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_BOLT_FLAGS + sSlot));
}