6297 Commits

Author SHA1 Message Date
cim
c8dcb0233e Contracts should not be generated to nova systems 2014-12-29 22:32:54 +00:00
cim
617de79fc1 With Advanced Nav Array, allow jumping to next spot on route 2014-12-29 18:29:30 +00:00
cim
96a31e8a4c Fix targeting of wormholes in combat by NPCs 2014-12-29 16:25:08 +00:00
cim
09da245d61 Make shipyard sorting not case sensitive 2014-12-28 18:37:18 +00:00
cim
655b6fecb4 Fix loading of missiles 2014-12-28 18:04:02 +00:00
cim
a96528bbc8 Fix no-callback screens when big gui is in use 2014-12-23 19:14:40 +00:00
cim
144e9ed4fe Make hyperspaceSpinTime read/write, move from PS to S. 2014-12-23 12:35:43 +00:00
cim
8e324e5c54 Updates to player ship max turn rate must also update deltas 2014-12-22 18:05:53 +00:00
AnotherCommander
3ce39a2f8e Merge branch 'master' of github.com:OoliteProject/oolite 2014-12-22 18:06:33 +01:00
AnotherCommander
141f53c09c Windows port: Fixed game window being placed in an incorrect position when returning from a non-dekstop native full screen. 2014-12-22 18:05:48 +01:00
cim
4c0e58b174 A couple more HUD properties
- "color" now works on legends too
 - "allow_big_gui" means that mission screens can expand to 27 rows with HUD visible
2014-12-22 16:58:37 +00:00
cim
8cc0bcad24 Fix saving of multiple items 2014-12-22 12:55:36 +00:00
cim
1cde561c9e Merge branch 'master' of github.com:OoliteProject/oolite 2014-12-22 12:23:50 +00:00
cim
17b1dad254 Allow can_carry_multiple to be set for non-pylon equipment
PS.equipmentStatus(eqKey,true) now returns a dictionary of statuses,
to allow damaged state checks on multiple items. ...(...,false) will
return EQUIPMENT_OK if at least one is still working.

Can probably use this to take out all the messy hard-coding of passenger
berths, but that can be done later.
2014-12-22 12:21:35 +00:00
AnotherCommander
c8881eb665 Same fix as previous commit, only a bit cleaner. 2014-12-20 16:28:07 +01:00
AnotherCommander
cf7f0bc2b7 Fixed compiler warning on 32-bit builds. 2014-12-20 16:02:22 +01:00
Jens Ayton
d898eb187c Fix signedness issue 2014-12-17 15:44:25 +01:00
cim
f7547758db Validate shipdata-set injector speed factor 2014-12-15 23:05:17 +00:00
cim
e0d7ef4c16 Merge pull request #121 from OoliteProject/more-equipment-customisation
More equipment customisation
2014-12-15 18:52:21 +00:00
cim
f9f539d5c5 Correct shield HUD gauges if max shield strength is zero. 2014-12-15 18:44:20 +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
f82b8e7c9f S.scanDescription property for customising STE display 2014-12-15 17:34:02 +00:00
cim
e58ceafb5d S.injectorBurnRate and S.injectorSpeedFactor now writable
Allows different ships to be given different injector performance.
2014-12-15 13:20:35 +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
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