In-System Cargo Delivery
This OXP implements new type of in-system activity: in-system cargo delivery :-)
There are two types of cargo delivery missions:
- Special cargo delivery - extra equipment for research stations beyond the limits of pre-planned regular supply.
- Urgent cargo delivery - equipment for recovery from malfunctions and accidents (first-aid kits, auxiliary/backup systems etc).
Both types of cargo is not cargo in common sense - it is 5 ton container installed in cargo bay as equipment unit. It installs after mission selection and removes after arrival to destination port.
Mission selection interface on F4 page (Ship, System & Status Controls) is hidden after start-up. It reveals only after docking with main station!
In-system cargo delivery missions generates for extra planet ports only - not for main planet ports, not for moon ports, not for space stations!
You need a ship with Planet Landing Capability installed and at least 5 tons of free cargo space to accept a mission. Missions will not be offered without satisfying these conditions. You need also at least 250 Cr for the insurance fee to select mission.
The Advanced Space Compass will be very useful for navigation to the destination port, but it is your problem if you hope to be able to navigate by sight without ASC.
Select your mission after arrival at the main station and you can then save to continue later if you wish - mission status will be written to oolite-save file. 250 Cr will be deducted from your cash - this insurance fee will be returned in the event of a successful delivery. You can also load extra cargo for destination port, if you have free cargo space after installing special/urgent cargo unit. Pick mission, load extra cargo, save and run! Start from main station, lock ASC onto destination port and fly to your destination. The destination port is displayed on your manifest screen F5-F5. It is obligatory to perform mission without docking at any outside port. It is not a time-limited mission, but in case of docking with any outside port, the cargo container will be removed and the mission will be failed. In case of hyperjumping to another system, the mission will be failed too! The mission will be rated as successful in the case of a cargo delivery into any port on planet of destination. Land, and receive your payment, your refund and congratulations!
Features and dependences
This package minimum requirement is Oolite 1.82.
- Planetary Compass OXZ (author - Thargoid) is mandatory to generate missions correctly.
- PlanetLand (author - stranger - only available in Russian from Roolite) is recommended, but this OXP compatible with PlanetFall (author Thargoid) too.
- Planetary Systems (author - stranger) is also recommended, but you can use Additional Planets SR (authors Redspear, spara, phkb) instead as you wish. In any case no planets - no missions :-)
Credits
- Thargoid - Planetary Compass.
- Commander Vasig - discussion and testing.
- phkb - code refining and fixing some grammar errors.
- Background image for mission screens taken from BGS (authors P.A.Groove, Phantor Gorth, Thargoid, Svengali and Tricky).
License
This OXP is released under the Creative Commons Attribution - Non-Commercial - Share Alike 3.0 license.
You are free to use and distribute this OXP on non-commercial basis.
Rebundling of this OXP within another distribution is permitted as long as it is unchanged.
Any mods/derivatives of this OXP must be distributed under another names.
The license information (either as this file or merged into a larger one) must be included in the OXP.
Version history
30.01.2019 - Version 0.6.0 Fixed error in handling of repeated mission query. Premium cash displayed in integer numbers. 30.01.2019 - Version 0.5.2 Fixed error in manifest.plist 30.01.2019 - Version 0.5.1 Converted to OXZ 08.08.2018 - Version 0.5.0 Fixed flawed code generating too many urgent missions. Probability of accidents generating urgent missions tweaked. 14.05.2018 - Version 0.4.1 Improvements made by phkb: Condition script for special/urgent cargo unit equipment added. Some grammar errors fixed. Missing “use strict” statement added to CargoDelivery.js 20.04.2018 - Version 0.4 Bug in mission offering condition check fixed. Advanced calculation of payment based on system danger index. Code edited to satisfy OXP Standards recommendations. manifest.plist added. 10.04.2016 - Version 0.3 Obsolete code lines (used on pre-release testing) removed. 07.04.2016 - Version 0.2 Mission generator readjusted. 06.04.2016 - Version 0.1 Initial release - internal testing.