cim
4ecd779536
Make it possible to view the ship library in game (issue #88 )
...
Not yet possible to modify visibility of entries.
2015-04-16 21:31:15 +01:00
cim
8c3311aba8
Fix some AI errors in nova systems
2015-04-07 18:21:38 +01:00
cim
e8695c2c86
Fix some issues with removeDefenseTarget being potentially given a wormhole
2015-04-07 16:53:54 +01:00
cim
9a42498ab2
Remove debug statements
2015-04-03 14:44:24 +01:00
cim
cc8b9f53af
Fix bug identified by phkb in home/destination generation
2015-04-01 11:10:28 +01:00
cim
9f6972a70d
Try to fix issues with ships entering hyperspace near large stations
2015-03-24 18:45:57 +00:00
cim
eeaf83c14a
Ensure main station exists before checking its properties
2015-03-16 18:13:36 +00:00
cim
1744ec9e52
Try again to prevent attacking wormholes
2015-03-08 11:58:13 +00:00
cim
c171f68507
Make the infinite loop preventer actually prevent infinite loops.
2015-02-05 19:53:43 +00:00
cim
902e304801
Add a behaviourWaitHere to priority AI, slightly adjust its debug behaviour
2015-01-27 21:31:01 +00:00
Jens Ayton
79bc9e473f
Locale function tweaks
...
* Use normal string expansions for credit format
* Use format strings for negation
* Insure against recursion in credits expansion
2015-01-09 22:20:52 +01:00
cim
59519b6e59
Allow patrol lengths to be varied in AI if needed
2015-01-08 22:12:25 +00:00
cim
c8dcb0233e
Contracts should not be generated to nova systems
2014-12-29 22:32:54 +00:00
cim
96a31e8a4c
Fix targeting of wormholes in combat by NPCs
2014-12-29 16:25:08 +00:00
cim
8c5f17c0c8
Allow conditions scripts to update equipment sale price
...
this.updateEquipmentPrice(eqKey, price) returns price
Called before multiplier for station.
2014-12-15 18:12:49 +00:00
cim
7a96a62f64
Allow galdrive, escape pod, dock comp to be provided.
2014-12-14 21:20:28 +00:00
cim
fd8fbcd881
Scripts for large cargo bay. ship.cargoSpaceCapacity now writable
2014-12-14 18:50:05 +00:00
cim
e74163e878
Scriptable control over heat shielding equipment items
2014-12-14 17:23:31 +00:00
cim
a49b16fb90
Move energy units into scripted configuration
2014-12-13 15:47:35 +00:00
cim
fd9bded6dc
Clean up script startup slightly
2014-12-13 14:35:22 +00:00
cim
eb8f381622
equipmentAdded / equipmentRemoved generic events for ships
...
Adjust to make use of these events.
2014-12-13 14:01:17 +00:00
cim
8efc8ec25e
Split forward/aft shield strengths and recharge for player
...
Make them writable with JS
Start on scriptable equipment functions in JS with the shield boosters
(the NPC versions stay hard-coded for now, and might as well continue
to do so until/unless NPC shields get implemented)
2014-12-12 22:02:46 +00:00
cim
681f4a676e
Fix missing !
2014-12-12 17:08:32 +00:00
cim
84e97c1ca8
Update priority AI to use hasEquipmentProviding
2014-12-11 21:39:47 +00:00
cim
1de828017d
Various bugfixes
...
- saveload and planetinfo changes
- corona_flare now more consistent with radius of planet
- system info during nova mission saved better
2014-12-06 15:05:37 +00:00
cim
8eebf744ed
Fix another case of defense target functions potentially being used on wormholes
2014-12-06 09:34:51 +00:00
cim
02f5ad4b18
Fix some cases of bad defense target AI
...
(Copying a primary target to a defense target must check it's a ship first)
2014-11-28 14:25:47 +00:00
cim
04b6994398
Allow tracking of ships beyond scanner range, cloaked ships
...
...if already targeted as primary target.
Also allow ships attacked by military laser from beyond scanner range to
target aggressor.
Still to do: significant aim worsening if fighting cloaked ship.
2014-11-26 22:59:28 +00:00
cim
49db516d3d
Make sure all populator-added hermits are CLASS_ROCK
2014-09-29 19:51:56 +01:00
cim
2b7df8cce1
Adjust odds calculator
...
Groups will now engage in combat without needing an excessive advantage over
the opposing force - 3:1 or even lower odds will be fine (a Krait assassin
will sometimes attack a Cobra III, because of its high armament)
2014-09-22 16:21:39 +01:00
cim
2a973dddd9
Add some global difficulty bias parameters to the populator script
2014-09-22 15:04:07 +01:00
cim
246d9c01dd
Rock hermit market diversity
...
Give the "pirate" and "chaotic" rock hermits (both quite rare) slightly
different markets, and the chance to find some interesting but low
capacity deals.
2014-09-06 17:51:29 +01:00
cim
22e4b3689d
Use canonical commodity name in nova mission
2014-08-30 15:14:39 +01:00
cim
a45a762640
A few more adjustments - cargo contracts now (mostly?) work again
...
New JS method
systemInfo.samplePrice(commodity)
- get a sample price for a trade good in an arbitrary system
Saves changing oolite-contracts-cargo for every change in the algorithm
2014-08-24 18:53:31 +01:00
cim
ce4c3e1e44
Register ship forms should return to the interfaces screen when complete
2014-08-09 13:54:49 +01:00
cim
97019ba92c
Make sure ECM delay timer is stopped before ship is destroyed
2014-08-07 19:20:16 +01:00
cim
aa5e137f18
Fix constrictor hunt ship script for some unusual cases
2014-07-26 20:10:17 +01:00
cim
abddb9fc67
Make traders and especially smugglers avoid suspicious craft
2014-07-09 22:42:36 +01:00
cim
abb3f2bc55
Fix some variable-defined errors in priority AI
2014-07-07 17:34:32 +01:00
cim
cf4da8cf65
Catch occasional problem with docking AI frustration
...
Requires station to be destroyed at inconvenient time.
2014-07-06 17:28:36 +01:00
cim
b9bcacc0c7
Adjust AI reconsideration and ECM delays to depend on accuracy
2014-07-05 15:32:38 +01:00
cim
80cc302379
Fix assassin chase routines
2014-06-29 17:19:09 +01:00
cim
2ef15dfb84
Try again to fix docking code
2014-06-29 17:08:34 +01:00
cim
be31612b3d
Fix parcel/passenger contract generation
...
Should be some available to new players - not safe hops to a nearby system asking for a Deadly pilot with a flawless reputation. New couriers still don't get to be that picky over what they accept, though.
Also stop generation of occasional contracts with impossible reputation requirements.
2014-06-22 15:00:38 +01:00
cim
0d4d17da2b
Fix some problems with interrupted docking sequences
2014-06-21 17:26:59 +01:00
cim
b11c16200b
Fix some rare cases in Oolite AI library
...
- police in interstellar space
- scavengers whose home station is destroyed
2014-06-21 16:23:51 +01:00
cim
fa78ba2cc1
Add an extra tutorial page on masslock avoidance
2014-06-14 13:01:03 +01:00
cim
c327444493
Fix possibility of duplicate passenger names
2014-06-13 18:33:26 +01:00
cim
f4330510c4
Adjust tutorial slightly after testing
2014-06-05 21:19:21 +01:00
cim
e1c6e3bba7
Add ship.isMinable property, adjust miner AI to use it
2014-06-01 19:45:23 +01:00