JSAI: cleanup
Rename a couple of inconsistent methods Make the AILib object use private and prototype functions for efficiency Start reorganising the AILib file to make it easier to edit in future
This commit is contained in:
parent
be388e4fa2
commit
a7eb0bf1bf
@ -56,7 +56,7 @@ this.aiStarted = function() {
|
||||
reconsider: 5
|
||||
},
|
||||
{
|
||||
condition: ai.conditionThargonIsActive,
|
||||
condition: ai.conditionIsActiveThargon,
|
||||
behaviour: ai.behaviourBecomeInactiveThargon,
|
||||
reconsider: 10
|
||||
},
|
||||
|
@ -81,7 +81,7 @@ this.aiStarted = function() {
|
||||
condition: ai.conditionSelectedStationNearMainPlanet,
|
||||
truebranch: [
|
||||
{
|
||||
notcondition: ai.conditionNearMainPlanet,
|
||||
notcondition: ai.conditionMainPlanetNearby,
|
||||
configuration: ai.configurationSetDestinationToMainPlanet,
|
||||
behaviour: ai.behaviourApproachDestination,
|
||||
reconsider: 30
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user