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
@@ -13,7 +13,7 @@ public class monster extends script.base_script
public int OnAttach(obj_id self) throws InterruptedException
{
setAttributeInterested(self, attrib.NPC);
if (getConfigSetting("GameServer", "disableAITriggerVolumes") == null)
if (!ai.AI_TRIGGER_VOLUMES_DISABLED)
{
createTriggerVolume(ALERT_VOLUME_NAME, ai_lib.aiGetApproachTriggerRange(self), true);
}