As suggested, give AI object a more accurate name
This commit is contained in:
parent
0152e7ef8c
commit
90cab901ee
@ -31,7 +31,7 @@ this.name = "Oolite Bounty Hunter AI";
|
||||
this.version = "1.79";
|
||||
|
||||
this.aiStarted = function() {
|
||||
var ai = new worldScripts["oolite-libPriorityAI"].AILib(this.ship);
|
||||
var ai = new worldScripts["oolite-libPriorityAI"].PriorityAIController(this.ship);
|
||||
|
||||
ai.setParameter("oolite_flag_listenForDistressCall",true);
|
||||
|
||||
|
@ -30,7 +30,7 @@ this.name = "Oolite Bounty Hunter Leader AI";
|
||||
this.version = "1.79";
|
||||
|
||||
this.aiStarted = function() {
|
||||
var ai = new worldScripts["oolite-libPriorityAI"].AILib(this.ship);
|
||||
var ai = new worldScripts["oolite-libPriorityAI"].PriorityAIController(this.ship);
|
||||
|
||||
ai.setParameter("oolite_flag_listenForDistressCall",true);
|
||||
|
||||
|
@ -30,7 +30,7 @@ this.name = "Oolite Defense Ship AI";
|
||||
this.version = "1.79";
|
||||
|
||||
this.aiStarted = function() {
|
||||
var ai = new worldScripts["oolite-libPriorityAI"].AILib(this.ship);
|
||||
var ai = new worldScripts["oolite-libPriorityAI"].PriorityAIController(this.ship);
|
||||
|
||||
ai.setCommunicationsRole("defenseShip");
|
||||
|
||||
|
@ -30,7 +30,7 @@ this.name = "Oolite Escort AI";
|
||||
this.version = "1.79";
|
||||
|
||||
this.aiStarted = function() {
|
||||
var ai = new worldScripts["oolite-libPriorityAI"].AILib(this.ship);
|
||||
var ai = new worldScripts["oolite-libPriorityAI"].PriorityAIController(this.ship);
|
||||
|
||||
ai.setCommunicationsRole("escort");
|
||||
ai.setParameter("oolite_flag_scanIgnoresUnpowered",true);
|
||||
|
@ -30,7 +30,7 @@ this.name = "Oolite Missile AI";
|
||||
this.version = "1.79";
|
||||
|
||||
this.aiStarted = function() {
|
||||
var ai = new worldScripts["oolite-libPriorityAI"].AILib(this.ship);
|
||||
var ai = new worldScripts["oolite-libPriorityAI"].PriorityAIController(this.ship);
|
||||
|
||||
ai.setPriorities([
|
||||
{
|
||||
|
@ -30,7 +30,7 @@ this.name = "Oolite Constrictor AI";
|
||||
this.version = "1.79";
|
||||
|
||||
this.aiStarted = function() {
|
||||
var ai = new worldScripts["oolite-libPriorityAI"].AILib(this.ship);
|
||||
var ai = new worldScripts["oolite-libPriorityAI"].PriorityAIController(this.ship);
|
||||
|
||||
ai.setCommunicationsRole("_constrictor");
|
||||
ai.setParameter("oolite_flag_surrendersLate",true);
|
||||
|
@ -30,7 +30,7 @@ this.name = "Oolite Pirate AI";
|
||||
this.version = "1.79";
|
||||
|
||||
this.aiStarted = function() {
|
||||
this.ai = new worldScripts["oolite-libPriorityAI"].AILib(this.ship);
|
||||
this.ai = new worldScripts["oolite-libPriorityAI"].PriorityAIController(this.ship);
|
||||
|
||||
ai.setParameter("oolite_flag_watchForCargo",true);
|
||||
|
||||
|
@ -31,7 +31,7 @@ this.name = "Oolite Pirate Fighter AI";
|
||||
this.version = "1.79";
|
||||
|
||||
this.aiStarted = function() {
|
||||
this.ai = new worldScripts["oolite-libPriorityAI"].AILib(this.ship);
|
||||
this.ai = new worldScripts["oolite-libPriorityAI"].PriorityAIController(this.ship);
|
||||
|
||||
ai.setParameter("oolite_flag_watchForCargo",true);
|
||||
|
||||
|
@ -30,7 +30,7 @@ this.name = "Oolite Pirate Freighter AI";
|
||||
this.version = "1.79";
|
||||
|
||||
this.aiStarted = function() {
|
||||
var ai = new worldScripts["oolite-libPriorityAI"].AILib(this.ship);
|
||||
var ai = new worldScripts["oolite-libPriorityAI"].PriorityAIController(this.ship);
|
||||
|
||||
ai.setParameter("oolite_flag_watchForCargo",true);
|
||||
|
||||
|
@ -30,7 +30,7 @@ this.name = "Oolite Pirate Interceptor AI";
|
||||
this.version = "1.79";
|
||||
|
||||
this.aiStarted = function() {
|
||||
this.ai = new worldScripts["oolite-libPriorityAI"].AILib(this.ship);
|
||||
this.ai = new worldScripts["oolite-libPriorityAI"].PriorityAIController(this.ship);
|
||||
|
||||
ai.setParameter("oolite_flag_surrendersLate",true);
|
||||
|
||||
|
@ -30,7 +30,7 @@ this.name = "Oolite Police AI";
|
||||
this.version = "1.79";
|
||||
|
||||
this.aiStarted = function() {
|
||||
var ai = new worldScripts["oolite-libPriorityAI"].AILib(this.ship);
|
||||
var ai = new worldScripts["oolite-libPriorityAI"].PriorityAIController(this.ship);
|
||||
|
||||
ai.setParameter("oolite_flag_listenForDistressCall",true);
|
||||
ai.setParameter("oolite_flag_markOffenders",true);
|
||||
|
@ -30,7 +30,7 @@ this.name = "Oolite Rock Hermit AI";
|
||||
this.version = "1.79";
|
||||
|
||||
this.aiStarted = function() {
|
||||
var ai = new worldScripts["oolite-libPriorityAI"].AILib(this.ship);
|
||||
var ai = new worldScripts["oolite-libPriorityAI"].PriorityAIController(this.ship);
|
||||
|
||||
ai.setCommunicationsRole("station");
|
||||
|
||||
|
@ -30,7 +30,7 @@ this.name = "Oolite Scavenger AI";
|
||||
this.version = "1.79";
|
||||
|
||||
this.aiStarted = function() {
|
||||
var ai = new worldScripts["oolite-libPriorityAI"].AILib(this.ship);
|
||||
var ai = new worldScripts["oolite-libPriorityAI"].PriorityAIController(this.ship);
|
||||
|
||||
ai.setCommunicationsRole("scavenger");
|
||||
|
||||
|
@ -30,7 +30,7 @@ this.name = "Oolite Shuttle AI";
|
||||
this.version = "1.79";
|
||||
|
||||
this.aiStarted = function() {
|
||||
var ai = new worldScripts["oolite-libPriorityAI"].AILib(this.ship);
|
||||
var ai = new worldScripts["oolite-libPriorityAI"].PriorityAIController(this.ship);
|
||||
|
||||
ai.setParameter("oolite_flag_sendsDistressCalls",true);
|
||||
ai.setParameter("oolite_flag_allowPlanetaryLanding",true);
|
||||
|
@ -30,7 +30,7 @@ this.name = "Oolite Main Station AI";
|
||||
this.version = "1.79";
|
||||
|
||||
this.aiStarted = function() {
|
||||
var ai = new worldScripts["oolite-libPriorityAI"].AILib(this.ship);
|
||||
var ai = new worldScripts["oolite-libPriorityAI"].PriorityAIController(this.ship);
|
||||
|
||||
ai.setParameter("oolite_flag_listenForDistressCall",true);
|
||||
ai.setParameter("oolite_flag_markOffenders",true);
|
||||
|
@ -30,7 +30,7 @@ this.name = "Oolite Tharglet AI";
|
||||
this.version = "1.79";
|
||||
|
||||
this.aiStarted = function() {
|
||||
var ai = new worldScripts["oolite-libPriorityAI"].AILib(this.ship);
|
||||
var ai = new worldScripts["oolite-libPriorityAI"].PriorityAIController(this.ship);
|
||||
|
||||
ai.setCommunicationsRole("_thargoid");
|
||||
ai.setCommunicationsPersonality("tharglet");
|
||||
|
@ -30,7 +30,7 @@ this.name = "Oolite Thargoid AI";
|
||||
this.version = "1.79";
|
||||
|
||||
this.aiStarted = function() {
|
||||
var ai = new worldScripts["oolite-libPriorityAI"].AILib(this.ship);
|
||||
var ai = new worldScripts["oolite-libPriorityAI"].PriorityAIController(this.ship);
|
||||
|
||||
ai.setParameter("oolite_flag_fightsNearHostileStations",true);
|
||||
|
||||
|
@ -30,7 +30,7 @@ this.name = "Oolite Trader AI";
|
||||
this.version = "1.79";
|
||||
|
||||
this.aiStarted = function() {
|
||||
var ai = new worldScripts["oolite-libPriorityAI"].AILib(this.ship);
|
||||
var ai = new worldScripts["oolite-libPriorityAI"].PriorityAIController(this.ship);
|
||||
|
||||
ai.setParameter("oolite_flag_sendsDistressCalls",true);
|
||||
ai.setParameter("oolite_flag_surrendersEarly",true);
|
||||
|
@ -31,7 +31,7 @@ this.name = "Oolite Trader Opportunist AI";
|
||||
this.version = "1.79";
|
||||
|
||||
this.aiStarted = function() {
|
||||
var ai = new worldScripts["oolite-libPriorityAI"].AILib(this.ship);
|
||||
var ai = new worldScripts["oolite-libPriorityAI"].PriorityAIController(this.ship);
|
||||
|
||||
ai.setParameter("oolite_flag_sendsDistressCalls",true);
|
||||
|
||||
|
@ -2,8 +2,8 @@
|
||||
/* General */
|
||||
"oolite-populator.js",
|
||||
|
||||
/* AI Construction libraries */
|
||||
"oolite-ailib.js",
|
||||
/* AI Construction libraries */
|
||||
"oolite-priorityai.js",
|
||||
|
||||
/* Interfaces */
|
||||
"oolite-contracts-cargo.js",
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user