371 Commits

Author SHA1 Message Date
cim
609339826c Fix AI error 2013-12-12 20:17:58 +00:00
cim
d9f1b66c4c Increase fuel level for fuel bar introduction 2013-12-08 19:09:49 +00:00
cim
d1617b92b0 Complete first draft of second lesson 2013-12-07 16:27:02 +00:00
cim
8c2836f157 Set up resetting between lessons and death protection, start lesson 2 2013-12-07 15:02:31 +00:00
cim
a29ee99447 Allow scenarios to be ended
A scenario key may optionally be specified in scenarios.plist, then player.endScenario(key) may be called to exit the scenario and return to the start screen. Calling it with the wrong key or when there was no scenario key set has no effect.
2013-12-07 13:00:02 +00:00
cim
d10327a675 Finish (first draft of) lesson 1 of the tutorial 2013-12-06 21:47:24 +00:00
cim
44799d8b70 Add more dials to tutorial lesson 1 2013-12-06 18:20:55 +00:00
cim
e27338050c Adjust ordering slightly, add another dial 2013-12-05 22:12:06 +00:00
cim
7e83f253a6 Start introducing the HUD in the tutorial
New features: player.ship.{show,hide}HUDSelector(selector) to selectively disable HUD entries.
with_dial entry for legends to tie legends to the visibility of particular HUD selectors.
2013-12-04 22:57:39 +00:00
cim
2be33a0eef Start on tutorial set up
Add third parameter to PS.setMultiFunctionText (bool reflow). If true, automatically reflows text to keep within width limits. (Should we default this to on? That's probably the more common case.)
2013-12-03 23:28:16 +00:00
cim
774f421455 Add starting save file and some initial framework for the tutorial 2013-12-03 13:33:17 +00:00
cim
91ff0c6647 Fix witchspace entry error for assassins 2013-12-01 12:36:32 +00:00
cim
3fd5ad89b1 Adjust combat odds calculation for bigger fights 2013-11-29 21:06:29 +00:00
cim
694268c95f Fix typo causing errors in comms sending 2013-11-29 18:46:45 +00:00
cim
c1c28ae749 Adjust comms messages to distinguish attack messages a bit 2013-11-28 21:54:00 +00:00
cim
1dd51a6adf Correctly unset wormhole record in ship AIs 2013-11-28 21:00:51 +00:00
cim
2fe4c4318c Fix some interstellar space bugs in AI 2013-11-18 18:04:12 +00:00
cim
4bc2c88604 Add player.*ReputationPrecise
Integer behaviour of *Reputation needed for compatibility
2013-11-15 21:36:35 +00:00
cim
45289bb4a7 Fix populator for missing roles
Temporarily increase level of logging of missing roles
2013-11-11 23:07:53 +00:00
cim
259fbeb87d Remove debug statement. 2013-11-06 21:34:58 +00:00
cim
1ac5406f07 Set allegiance for stations rather than relying on automatic calc.
Rock hermits allegiance varies (consistently per hermit) per system.
2013-11-03 13:36:23 +00:00
cim
42128d6ff2 Police lights now used in combat again 2013-10-24 21:09:57 +01:00
cim
3bda2fd0b6 Fix cloaking device mission for new AIs
(pirate AI won't attack if it doesn't have any free cargo hold, so a pack of three Asp pirates needs a bit of encouragement)
2013-10-20 17:53:08 +01:00
cim
b37cb50804 Primable equipment work - add affinity parameters for equipment.plist
fast_affinity_defensive, fast_affinity_offensive, both boolean. If set and that fast activation slot (defensive = 0, offensive = tab) has nothing in it (or what it had in it is no longer installed), assign that slot. As suggested in comments on db8f3ed

More cleanup of old energy bomb code.
2013-10-20 16:54:01 +01:00
cim
db8f3edea4 Make cloaking device into primable equipment (closes #33)
'tab' and '0' now used as "fast-activate" controls for primable equipment.

Energy bomb OXPs will need a little bit of work to be compatible with this change.
2013-10-19 18:46:05 +01:00
cim
90a2b906aa Correct speed test for carriers slow enough to take shuttles. 2013-10-14 21:08:55 +01:00
cim
27bc2fe620 Parcel contract tweaks
- add text properly to descriptions.plist as pointed out by Poovga
- ensure a couple of contracts always available at Lave for new commanders
2013-10-13 22:10:07 +01:00
cim
656e213beb Prevent impossibly-high skill requirements for contracts. 2013-10-11 22:08:18 +01:00
cim
1945574fb1 Police protection should extend to escape capsules 2013-10-06 17:01:15 +01:00
cim
91309ed90f Fix places where ship scanner_range not used.
Large scanner ranges will still have odd effects because of how checkScanner works, but it should be okay used sparingly.
2013-10-03 20:50:46 +01:00
cim
834080805f No Viper patrols in Feudal/Anarchy - weaker bounty hunters instead. 2013-09-24 21:29:20 +01:00
cim
84d6e28541 Police reactions to suspicious characters
Fix a few bugs
2013-09-19 18:45:25 +01:00
cim
37a0644d1c Make assassins clean (so they can hang around stations)
...but make the behaviour of police when they spot a clean vs clean fight be a little more dependent on the reputation of the combatants.
2013-09-18 21:14:16 +01:00
cim
eb7c006230 Risk levels for passenger contracts 2013-09-17 21:24:23 +01:00
cim
f155222ee2 Add assassin-player role.
Adjust cargo demands for player pirate and NPC pirates a little.
A few other minor adjustments.
2013-09-16 21:27:13 +01:00
cim
c19476ac8e Various adjustments and bugfixes to assassination, parcel contracts 2013-09-15 16:00:26 +01:00
cim
4c733916f2 Variable risk parcel contracts; fix a few bugs elsewhere
Pricing, assassin effects, availability, etc. will need rebalancing
2013-09-14 22:41:27 +01:00
cim
d7b187db22 Merge branch 'master' of github.com:OoliteProject/oolite into steady-state-ecosystem 2013-09-14 17:43:52 +01:00
cim
661af5d9ef Basic comms message for assassins 2013-09-14 17:39:37 +01:00
cim
86505d4356 Initial implementation of assassin NPCs 2013-09-14 13:50:49 +01:00
cim
3360843aae While there's still time, put the new AIs into the right nameprefix 2013-09-13 20:45:48 +01:00
cim
4c6f352736 Allow autospread for missiles (but not the default missiles) 2013-09-13 18:54:14 +01:00
cim
218253d7b0 Some more friendly fire considerations 2013-09-11 18:29:08 +01:00
cim
f51d9a0dac Fix bugs in trader[-smuggler] player role assignment, and tidy up a bit 2013-09-09 20:55:48 +01:00
cim
a3acea0ab3 Now roles are working, pirates can just check if ship can carry cargo, not if it does. 2013-09-08 21:23:00 +01:00
cim
f97bdb7667 Use roles for pirate victims, pirate enemies, friendly fire checks 2013-09-08 17:20:28 +01:00
cim
ea8c9c7b8e Make it possible to translate the Moray Med's name without breaking cargo 2013-09-07 11:09:31 +01:00
cim
1bcee4b7b7 Police ships anti-theft mechanism; traders have slightly better combat response 2013-09-05 20:12:41 +01:00
cim
35da08ae64 ship.damageAssessment() to check damage levels (will do more when NPCs can be damaged)
Also: adjust independent pirate role odds to be more towards small ships, and adjust missile loads of ships to reflect prior action or high value
2013-09-04 22:25:54 +01:00
cim
09c85be7bd Make interceptors need a higher tech level, make cargo ejection faster 2013-09-03 18:22:49 +01:00