3.1 Config Refactor

This commit is contained in:
AconiteGodOfSWG
2021-03-28 16:44:33 -04:00
parent 694a499356
commit 355796dd48
148 changed files with 900 additions and 6277 deletions
@@ -22,7 +22,7 @@ public class soldier extends script.base_script
setAttributeInterested(self, attrib.THUG);
setAttributeInterested(self, attrib.HERBIVORE);
setAttributeInterested(self, attrib.CARNIVORE);
if (getConfigSetting("GameServer", "disableAITriggerVolumes") == null)
if (!ai.AI_TRIGGER_VOLUMES_DISABLED)
{
createTriggerVolume(ai_lib.ALERT_VOLUME_NAME, ai_lib.aiGetApproachTriggerRange(self), true);
}
@@ -142,7 +142,7 @@ public class soldier extends script.base_script
{
return;
}
if (getConfigSetting("GameServer", "disableAICombat") != null)
if (ai.AI_COMBAT_DISABLED)
{
return;
}