Skip to content

Commit

Permalink
added plugin navy.licenses
Browse files Browse the repository at this point in the history
  • Loading branch information
zuckung committed Feb 17, 2024
1 parent 52a78a4 commit 043ea67
Show file tree
Hide file tree
Showing 7 changed files with 91 additions and 0 deletions.
15 changes: 15 additions & 0 deletions myplugins/navy.licenses/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
### navy.licenses
<br>
<br>
Adds a mission on Stormhold(Alcyone system) which leads you to Geminus(Castor system) to buy the four Navy licenses.<br>
<br>
The mission can get started with 2,5 million credits cash available. You have to pay 50.000 credits for the contact and 2 million for the four licenses.<br>
If you reject the mission, you can restart it on other visits.<br>
You get the following licenses : Navy license, Navy Auxiliary license, Navy Cruiser license, Navy Carrier license.<br>
<br>
<br>
Changelog:<br>
<br>
2024-02-17<br>
initial release<br>

1 change: 1 addition & 0 deletions myplugins/navy.licenses/about.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Adds a mission on Stormhold(Alcyone system) which leads you to Geminus(Castor system) to buy the four Navy licenses. See the readme for details.
4 changes: 4 additions & 0 deletions myplugins/navy.licenses/credits.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
navy.licenses
author:
zuckung
https://github.com/zuckung/endless-sky-plugins
48 changes: 48 additions & 0 deletions myplugins/navy.licenses/data/navy.licenses.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
mission "getNavyLicenses"
name "Get Navy licenses"
description "Travel to <destination> to acquire illegal Navy licences."
source
planet "Stormhold"
destination "Geminus"
to offer
"credits" > 2500000
on offer
conversation
`When you enter Stormhold's spaceport, you can hardly believe your eyes. A Republic Cruiser is parked right in front of you, and it has a pirate logo spray-painted on the hull. You move closer to take a look. A very authoritarian-looking woman is currently scaring up a group of technicians who are taking a break. She notices you admiring her ship and strolls over to you.`
`"Isn't that a beauty?" she asks.`
choice
` "For sure, it is! Must be a great story how you captured it."`
goto captureA
` "A great ship, but don't you have to fight your way through every Republic system you enter?"`
goto captureB
label captureA
`"Oh, i didnt hijack it. I have a license."`
goto captureC
label captureB
`"It would be like this if I had actually hijacked it. But I have a license."`
goto captureC
label captureC
` "You don't look like a member of the Navy. And if you were, you won't be welcome here. So, how?" you ask.`
`She smiles. "I have a contact in the Navy administration on Geminus. It cost me 500,000 credits just to have the one license forged. It is equipped with a secret service seal so that no patrol or shipyard will inspect it more closely. And now I'm saving up to have my contact forge the other three licenses.`
`"If you are interested, I would perhaps arrange a meeting with my contact. Let's say for a small fee of 50,000 credits?"`
choice
` "That sounds fair. I'm interested."`
goto interested
` "No, thanks. Sounds too dangerous for me."`
goto notinterested
label interested
`Ok, great. I'll arrange a meeting with my contact on Geminus. He is risking a lot with a stranger, so he probably would only sell all four licenses in one rush. Keep 2 million credits ready for him. "`
accept
label notinterested
`Ok, maybe you come back later. Have a nice day.`
defer
on accept
payment -50000
on complete
payment -2000000
set "license: Navy"
set "license: Navy Auxiliary"
set "license: Navy Cruiser"
set "license: Navy Carrier"
conversation
`After you have reached the contact from orbit, you meet him in a shady bar. Everything happens pretty quickly. A quick credit transfer, a quick handover of the licenses, and the extremely nervous man disappears. Now it's time to test the licenses. There are some Navy ships for sale in the local ship dock.`
Binary file added myplugins/navy.licenses/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions myplugins/navy.licenses/license
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) [year] [fullname]

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
2 changes: 2 additions & 0 deletions myplugins/navy.licenses/plugin.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
name "navy.licenses"
about "Adds a mission on Stormhold(Alcyone system) which leads you to Geminus(Castor system) to buy the four Navy licenses."

0 comments on commit 043ea67

Please sign in to comment.