content/hifi-public/PlanetDropBundle_v2/scripts/pd_missions.js
Dale Glass 0d14e5a379 Initial data.
Needs a lot of cleanup. Data has been de-duplicated, and where identical copies existed, one of them
has been replaced with a symlink.

Some files have been excluded, such as binaries, installers and debug dumps. Some of that may still
be present.
2022-02-13 18:59:11 +01:00

117 lines
5.8 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// This file defines missions that can happen on the planet
Script.include(["pd_utils.js", "pd_ecoTargets.js"]);
pd_MissionTypes = {
COUNT_ANY: 0, // Scan target# any species
SAMPLE_TARGET: 1, // Scan target# specific species
SCAN: 2, // Go to location and scan
};
pd_MissionScope = {
PERSONAL: 0, // All goals are counted individually
TEAM: 1, // Target counts are shared - not yet implemented
}
// TEMPLATE mission. DO NOT USE DIRECTLY. Duplicate and enhance.
mis_template = {
name: "Brief Name of Mission",
type: pd_MissionTypes.COUNT_ANY,
scope: pd_MissionScope.PERSONAL,
targetEtd: "etd_template",
targetRegion: "NameOfRegionIdentifier",
targetCount: 3,
introText: [],
successText: []
};
// The introText is what will appear in the HUD panel before the missions starts
mis_template.introText.push("Ok. Lots of run-off chemicals from abandoned drilling operations have been leaching into the ground for decades.");
// The successText will appear when the mission goals are achieved, before the next mission starts
mis_template.successText.push("Nice work!");
// END TEMPLATE
// Intro Mission: Scan 3 species of any kind
mis_layOfTheLand = {
name: "Get A Lay of the Land",
type: pd_MissionTypes.COUNT_ANY,
scope: pd_MissionScope.PERSONAL,
targetEtd: null,
targetRegion: null,
targetCount: 3,
introText: [],
successText: []
}
mis_layOfTheLand.introText.push("We're starting with the basics:\n\nSoil and water samples,\nbio-census,\nThat kind of thing.\n\nAt least for now.");
mis_layOfTheLand.introText.push("I trust your equipment didn't get damaged on the trip down there?\n\nRemember your bio-scanner can be toggled on and off with [ m key ].\n\nOnce scanning just move the targeting reticle near objects of interest using the normal steering controls.\nThen use [space bar] to do a scan or take a sample.");
mis_layOfTheLand.introText.push("Remember to toggle out of scanning mode with [ m key ] to continue moving and exploring.");
mis_layOfTheLand.introText.push("The P.E.A has requested three unique samples per scientist so...\n\nExplore the area.\n\nScan anything that looks interesting.\n\nGood luck down there!");
mis_layOfTheLand.successText.push("Nice work! That scan data will be valuable for later research.");
mis_layOfTheLand.successText.push("Lots more to do, of course, to help this planet.\nMight as well get to it.");
// Scan 3 specific species
mis_drekHunt = {
name: "Drek Hunt",
type: pd_MissionTypes.SAMPLE_TARGET,
scope: pd_MissionScope.PERSONAL,
targetEtd: "etd_drek",
targetRegion: null,
targetCount: 3,
introText: [],
successText: []
}
mis_drekHunt.introText.push("Ok. Lots of run-off chemicals from abandoned drilling operations have been leaching into the ground for decades.");
mis_drekHunt.introText.push("Back in the lab were close to having the right chemical recipe that \
will neutralize them but we need some pure samples.");
mis_drekHunt.introText.push("Its particularly bad in sector B373 where youll be taking soil samples.");
mis_drekHunt.introText.push("Most plant life cant grow in this toxic soil but theres one non-native flower species that loves the stuff.");
mis_drekHunt.introText.push("Looking for pools of Drill Residue EK-14.\n\nAlso known as 'DRek'. Acquire 3 samples.");
mis_drekHunt.successText.push("Well done. Doesn't that stuff stink?\nNext mission will be cleaner.\nI promise.");
// River mission
mis_riverWater = {
name: "River Water",
type: pd_MissionTypes.SAMPLE_TARGET,
scope: pd_MissionScope.PERSONAL,
targetEtd: "etd_tamarix",
targetRegion: null,
targetCount: 2,
introText: [],
successText: []
}
mis_riverWater.introText.push("Good work so far, by the way.\n\nWe need to see how the toxins in the river affect native plants.");
mis_riverWater.introText.push("Try to make your way down into the chasm and get close to the river.\n\n\
There should be some native tamarix growing near there. It's got some amazing hydrolic properties but if it can't live...\n");
mis_riverWater.introText.push("...Well...that's very bad.\n\nGet 2 samples in your tanks and come home.");
mis_riverWater.successText.push("Well done.\nI think we can probably get the P.E.A to authorize more complex work soon.");
// Abandoned mine
mis_abandonedMine = {
name: "Abandoned Mine",
type: pd_MissionTypes.SAMPLE_TARGET,
scope: pd_MissionScope.PERSONAL,
targetEtd: "etd_pineapple",
targetRegion: null,
targetCount: 5,
introText: [],
successText: []
}
mis_abandonedMine.introText.push("Remember the Drek you found?");
mis_abandonedMine.introText.push("Apparently the mining operation, or what's left of it, is down there somewhere.\n\
And we need to find it, take some samples, see what kind of long-term affect it's having.");
mis_abandonedMine.introText.push("Look to higher ground. Most cliff mining on Pomona was done higher up so all the toxins\
they pulled out of the rock would run or soak away through the soil.")
mis_abandonedMine.introText.push("They didn't want to poision their workers.");
mis_abandonedMine.introText.push("At least not right away.");
mis_abandonedMine.introText.push("Look for a species called 'Flare Jombush' near there. It's a great indicator of the minerals we're\
expecting to see near an old mining site.");
mis_abandonedMine.introText.push("5 samples should be what we need.");
mis_abandonedMine.successText.push("Excellent.");
mis_abandonedMine.successText.push("Great job! It's time I put in a request with the Pomona Ecological Authority\n\
to up our classification and give us some more challenging work, don't you think?");
mis_abandonedMine.successText.push("Plus, you've earned a little R & R.");
mis_abandonedMine.successText.push("I'll start preflights on the orbital return vessel so you can come back up.");
mis_abandonedMine.successText.push("See you soon.");
mis_abandonedMine.successText.push("Serik out.");
mis_abandonedMine.successText.push("\n\nThank you for playing PlanetDrop.\nMore missions and content to come...");