Clear out experimental .35 files

Clear out experimental .35 files
This commit is contained in:
Jaysyn904
2024-02-11 13:04:14 -05:00
parent 2112b92e24
commit 618cd42b82
22356 changed files with 0 additions and 1248956 deletions

View File

@@ -1,24 +0,0 @@
// Removes Resistance - Acid from the AC being edited. Also removes Resistance
// itself if there are no other elements remaining.
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nElemFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_RESISTANCE_FLAGS + EDIT);
nElemFlags ^= ELEMENT_ACID;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_RESISTANCE_FLAGS + EDIT, nElemFlags);
if(GetNumberOfFlagsRaised(nElemFlags) == 0)
{
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags ^= ASTRAL_CONSTRUCT_OPTION_RESISTANCE;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
}
}