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,18 @@
// Sets the option Energy Bolt - Sonic active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_ENERGY_BOLT;
int nElemFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_BOLT_FLAGS + EDIT);
nElemFlags |= ELEMENT_SONIC;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
SetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_BOLT_FLAGS + EDIT, nElemFlags);
}