6273 Commits

Author SHA1 Message Date
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
bd58eb54ec Ship.hasEquipmentProviding JS method 2014-12-11 21:33:34 +00:00
cim
358858ebf7 Add EquipmentInfo.provides list for scripting support 2014-12-11 21:13:22 +00:00
cim
d2f445d26d Allow OXPs to split fuel and cargo scooping functions using provides 2014-12-11 20:43:26 +00:00
cim
fc5086168d Fix docking bug, but continue to disallow sideways docking. 2014-12-09 21:43:10 +00:00
cim
c982a7082c Allow equipment items to "provide" functionality of basis equipment items
Only works for items which are either passive or instantly active but
reusable. Single-use items need some more thought (e.g. if player has
gal drive + another item which provides gal drive, and makes a gal jump,
which one gets removed?) so aren't supported yet.
2014-12-09 20:40:25 +00:00
cim
4c7b5aa465 Fix some scrolling issues on market screen 2014-12-07 16:23:29 +00:00
cim
bce6485b39 Add basic plist syntax verification checks to the OXPVerifier
Doesn't check that the keys/values are sensible, just that it can be
parsed at all.

New file src/Core/OXPVerifier/OOCheckPListSyntaxVerifierStage.m will need
adding to the Mac build.
2014-12-07 14:05:14 +00:00
Jens Ayton
2b89bec1eb Don't use OOGL() inside OOStartDrawingStrings()
Fixes #119
2014-12-07 10:22:34 +01:00
cim
0deb254edc Force evaluation of new GUI screen on load 2014-12-06 21:12:30 +00:00
cim
c3f8bad5fa Remove very obsolete setup_actions from ballturret 2014-12-06 15:49:09 +00:00
cim
bfc6900331 Clean up port rotation code, adjust docking safety factor. 2014-12-06 15:44: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
9c5af392ff Fix bug with cargo pod template if cargo set changes 2014-12-05 23:01:32 +00:00
cim
b4f5c50acb Allow larger stars 2014-12-05 17:30:06 +00:00
cim
5d4043243b Allow the scenario definition statement to exclude core plist files
(excluding certain plists may require the scenario's OXP's plist to
redefine core entries)
2014-12-05 16:35:14 +00:00
cim
8cf4c6c102 Fix target hostility assessments 2014-12-05 13:42:41 +00:00
cim
61373727b2 Fix loading of savegames of a particular era 2014-12-04 20:36:20 +00:00
AnotherCommander
2962ab9eea Made ambient light level a JS read/write property, namely ambientLevel (for naming compatibility with existent ambient_level shipdata property). This is set per system. 2014-12-04 11:02:08 +01:00
cim
3a824bc51e Take out debug line 2014-12-04 07:29:09 +00:00
cim
c7ceba26e6 Allow exemption of ships from collision with each other
S.addCollisionException(ship)
S.removeCollisionException(ship)
S.collisionExceptions
2014-12-02 20:28:03 +00:00
cim
7d1323ab68 Fix another "targeting wormhole in combat mode" exception loop 2014-11-30 19:54:48 +00:00
Jens Ayton
b1fe6b46f6 Fix 64-bit format string issues that were breaking Mac builds 2014-11-30 14:47:34 +01:00
cim
3938ab0b35 Adjust approach destination. 2014-11-28 17:01:52 +00:00
cim
3c3aacaeee Injector changes
Unify player and NPC thrust and burn rates
Make NPCs use injectors to close to weapon range if outranged.
2014-11-28 16:38:27 +00:00
cim
d5e6fdae09 Fix some cases where primaryTarget is assumed to be a ship 2014-11-28 14:41:30 +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
AnotherCommander
056aa56a62 Resolution for issue #117 by Kevin. Many thanks, that has been a tricky one right there. 2014-11-27 10:08:50 +01:00
cim
49c41fc47a Make targeting cloaked ships harder for NPCs 2014-11-26 23:18:07 +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
08e4c80d09 Allow main planets to not have atmospheres if set in planetinfo 2014-11-26 21:16:05 +00:00
cim
e7453b0192 Refactor to single "primary target valid" function 2014-11-26 20:42:08 +00:00
cim
0cbf64f5cb Fix signedness of savegame reads 2014-11-23 11:34:52 +00:00
cim
eb68bd02b8 Allow color property to be set for MFDs 2014-11-18 11:51:14 +00:00
cim
9e768a80ae Make a couple of fragmentation explosion types
Update wreckage to have varied explosion modes.
Update Binary resources to bring in textures
2014-11-17 18:21:25 +00:00
cim
6f85948528 Add an explosions.plist file to manage explosion types
Create a separate setting for asteroid explosions
2014-11-17 12:50:11 +00:00
cim
b95a26d8d2 Allow explosion parameters to be set from a dictionary
(Currently no means to provide that dictionary, of course)
2014-11-17 11:43:50 +00:00
cim
6f6b715099 Remove testing setting 2014-11-16 12:46:43 +00:00
cim
83993ea9d7 Add interstellar space "link_color" property
Allows recolouring of individual lines on advanced nav array
2014-11-16 12:39:48 +00:00
cim
961d7e25f2 Allow prioritisation of damaged systems on F5 screen to be disabled 2014-11-16 11:10:52 +00:00
cim
55da2a953c GUI settings for arrival report screen
Fix some explicit sets of yellow rather than default colour
2014-11-16 11:03:16 +00:00
cim
a365a8168a GUI settings for interfaces screen 2014-11-15 20:37:44 +00:00