From 9962e6d128a1366e6925498cb24c5f8aa8da4a95 Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Sat, 25 Sep 2021 18:14:46 +0000 Subject: [PATCH 01/60] zh-cn.cfg add simplified Chinese thank you to @JFYoung01 issue #10 localization --- GameData/FieldTrainingFacility/Localization/zh-cn.cfg | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 GameData/FieldTrainingFacility/Localization/zh-cn.cfg diff --git a/GameData/FieldTrainingFacility/Localization/zh-cn.cfg b/GameData/FieldTrainingFacility/Localization/zh-cn.cfg new file mode 100644 index 0000000..0115247 --- /dev/null +++ b/GameData/FieldTrainingFacility/Localization/zh-cn.cfg @@ -0,0 +1,10 @@ +Localization +{ + zh-cn + { + // Field Training Facility + #FieldTrainingFacility_titl = 实战演练设施 + #FieldTrainingFacility_manu = 坎培拉有限公司 + #FieldTrainingFacility_desc = 花费时间和电力来培训坎巴拉人 + } +} \ No newline at end of file From 186c836cdf3c6839d99a7a7e0e50b1d4a64ebfd4 Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 02:59:10 -0500 Subject: [PATCH 02/60] Create Agents.cfg --- GameData/FieldTrainingFacility/Agencies/Agents.cfg | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 GameData/FieldTrainingFacility/Agencies/Agents.cfg diff --git a/GameData/FieldTrainingFacility/Agencies/Agents.cfg b/GameData/FieldTrainingFacility/Agencies/Agents.cfg new file mode 100644 index 0000000..abb67e2 --- /dev/null +++ b/GameData/FieldTrainingFacility/Agencies/Agents.cfg @@ -0,0 +1,12 @@ +AGENT +{ + name = FieldTrainingLab + title = #FTL-Agency-titl + description = #FTL-Agency-desc + + logoURL = FieldTrainingLab/Flags/FieldTraining-flag + logoScaledURL = FieldTrainingLab/Agencies/FieldTraining-flag_scaled + + mentality = Pioneer + mentality = Commercial +} \ No newline at end of file From 556b757fe12c2e01277af5d9ea111a4ae4995591 Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 02:59:15 -0500 Subject: [PATCH 03/60] Create FieldTraining-flag_scaled.truecolor --- .../Agencies/FieldTraining-flag_scaled.truecolor | Bin 0 -> 1036 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 GameData/FieldTrainingFacility/Agencies/FieldTraining-flag_scaled.truecolor diff --git a/GameData/FieldTrainingFacility/Agencies/FieldTraining-flag_scaled.truecolor b/GameData/FieldTrainingFacility/Agencies/FieldTraining-flag_scaled.truecolor new file mode 100644 index 0000000000000000000000000000000000000000..58e3c4e28aa11a041ef40b14181fbe88d33ab57e GIT binary patch literal 1036 zcmV+n1oQieP)_x9Ke6~Wh!e-tY!D=y>oYKZ_dqo*EZYQurW<$t=4F(uv?OqVk}TG*2px1IVp`v zqCz=DLqw&(`eN;a5te2$W^RIFfx$iuMzZ(j?!OPu&C~6id%frLo(B%+p8xazo##2f z^Ss>4bpXOFE>327(E_vpEkFy<0<-`vKnu_Uv;ZwY3y3LMUVAs1n*y00dyIb}%zwZh zv&0Jyn-7`jSu6#tt%1(%_8NJ!8Q$Ayk7<1s-U-`dcC|wIS$oVUZBQMuA>gH_p)zQ% zk+n}kRjEB@Wd+n#*<&h0(6~DJe3w)8E8J*9Kt&1oJkYWx$$8{}P$A@HL1|%UTYAYby52Z!P3t0a=crxO@PuTvRXM zzwIwCfD||QJDtZ7>s2@kj)|I2FYYe1MGg zB68jOhzuYIj|!!vwMq~X?r6v)7@bnl`qyOX3idr zWu~qorG>FMF^gbJJ-A(JevFQ*SaE*hMdqn$b)LQp6O-z5dGY;Ma)8Mx_;jb`xHAHshv9`*xOM}weXzPRej|?+ z!O$?Y?}ZKRaO*Y{J{teaM|!G~dV3Jw{t&iys0A=sptdZl63mDE0NnTk!rNizei;4> z%1h$+t7#SZz0f-V4Vz%!5f~YRnsRfl0J1y}xpWGtuQ7&4>RjZ+-uOehX%%we1hS&o zh%J5?`S!4y>sHK`*O2eKkzBtKE6GKEIF7vDWX+>oV3EZd;9H2K&9lB)me)GI#Dh2;)^*v7?Zv^=vHQl|E+o@qug?#r zBi@IMYX|zDA^mGm3(x|z04+cZ&;qmoEkFy<0 Date: Wed, 29 Jun 2022 02:59:17 -0500 Subject: [PATCH 04/60] Create FieldTraining-flag.png --- .../Flags/FieldTraining-flag.png | Bin 0 -> 13114 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 GameData/FieldTrainingFacility/Flags/FieldTraining-flag.png diff --git a/GameData/FieldTrainingFacility/Flags/FieldTraining-flag.png b/GameData/FieldTrainingFacility/Flags/FieldTraining-flag.png new file mode 100644 index 0000000000000000000000000000000000000000..55d74b08b3e6574fb6ea6ea7513696696bdf2e7b GIT binary patch literal 13114 zcmd6uXH?Tm_wR$K97N$9Ie>IMA_&qXkkC=F&`~;46$mZ#PH2jVDAGwJp@<|PAml(0 z2vtStp#wKp^DC=YQ9Ibzj}}ytprZE0eXd_HWOg%%0hw?@ZD|lLr^h37rD~ z02lQ2?wSDrr&vw4TYsEoeROwz=K=sO1N86Swg{itn061#vPN$1l$T{;%uaKrrM*bI z%iVsqBQ&freq%F~7ECiLAm^w7NuMYuP3q##+CO@!HPc<=&PM(KVX0h2kfc<4(VwU8 z{(I|szJN8~AIZ05EJv7i@KI!d%b%auBJ#awk7kZI^@J`00Ph|?k2(zi{K@hHz{Yz1 z3ysUaZT;@uf1z=UWd^|V5Aa`T#Iei({$M@-jmCc|R{x3lDS$Z3+<&Q;|FQG`+RKc; zx4b z5=BqS_%qQjKP&J#F$owYM&6G*+%P9nrHM0btZyrcJO-%>*(n9^2G~ac`e&*bJU`;j z4W!%&?RDse0qz8bsH(&MABN{G}bh7^(Kc3I&~zH+|_|D z5l2W`x}MBR6|vu{fB3jzfQLCEXfI2KK$>fUTW+wqVOZ}Ap6>PC)!~u*2Y^OBKpioe_+Vz#sapnwck-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O+J;#2AAvC_o#H&;l9fA=UFQnHdD^-*ToJwf-6?CB?qc0 z(0kJP=<{F*a?0LGR;vHtKKz0}574xpm(Rh7r!>e{r7yay(nyo+ zgUgr|rF25|W9p5Spc?QpxP!JF-w`#V+kPf)$L4FTxMxup*2{J*7>~zJ4>ZaywieDfz*k za+#La226^z7^)>ke4I{vjHUTaBWCzgSedPET@x$J(rSE3*f1EEZ}Aby9lfP>`Hb#~ zSWC+cAI`KEO&bfQ9ejFQln%45DUsBf<$2#<3pp7(K6tW~E8Q9P(YE<(;o-(x^7M;H z7z+AL-|xH%O^F+XB(E%&F$X3z?FI8=Z^C`HIE3`WnoNH+B2Ab26JP~tP=U9O|5Xax-I61OTS7v{@_QQl}UFo(t z>*Dxk6cHxgnG#m}priQXfOk$#)5!6!r%WwwQ3Q8EcYc+$T)Osj27dId1i@$b$cS4c zdm`n=4OwW&+*E@UZtKkOvhRsT$bGt`VQ6j*D4b&&FE9Qz|IzQ$^Jwhl|6h*1|KF|z z{1+}l{GSUIms#EY|MNz~mj^7*{=0V>{$KBXTxw+UT;mwE;5jvl`yDU+dnR`)?>ImI EUp(zuPyhe` literal 0 HcmV?d00001 From 514d2943a483566f554b9e2496bc5386113fb69d Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 02:59:20 -0500 Subject: [PATCH 05/60] Create quickstart.md --- .../Localization/quickstart.md | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 GameData/FieldTrainingFacility/Localization/quickstart.md diff --git a/GameData/FieldTrainingFacility/Localization/quickstart.md b/GameData/FieldTrainingFacility/Localization/quickstart.md new file mode 100644 index 0000000..6d84948 --- /dev/null +++ b/GameData/FieldTrainingFacility/Localization/quickstart.md @@ -0,0 +1,45 @@ +--- +permalink: /Quickstart.html +title: Quickstart Guide +--- + + + +## Translation Guide + +If you want to help translate this mod, I greatly appreciate it! Follow this quick guide to get started. + +### How to translate + +To create a translation for your language, make a copy of the file *en_us.cfg* and name +them accordingly to your language: + +* *es-es.cfg* for Spanish +* *es-mx.cfg* for Mexican Spanish +* *ja.cfg* for Japanese +* *ru.cfg* for Russian +* *zh-cn.cfg* for Simplified Chinese + +*Again:* + +* *es-es* for Spanish +* *es-mx* for Mexican Spanish +* *ja* for Japanese +* *ru* for Russian +* *zh-cn* for Simplified Chinese + +### What not to translate + +There are some characters that should not be translated into another language and be kept in the files as is + +1. the tags should not be replaced. Instead the tags in the new language should be appended. +2. control sequences like '\n', '\t' or similar. +3. HTML Tags like `..., ...` or similar + + \ No newline at end of file From 7322ebf994863a26b87003d809ba11a06709ed5e Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 02:59:22 -0500 Subject: [PATCH 06/60] Create readme.md --- .../Localization/readme.md | 170 ++++++++++++++++++ 1 file changed, 170 insertions(+) create mode 100644 GameData/FieldTrainingFacility/Localization/readme.md diff --git a/GameData/FieldTrainingFacility/Localization/readme.md b/GameData/FieldTrainingFacility/Localization/readme.md new file mode 100644 index 0000000..7ef2d52 --- /dev/null +++ b/GameData/FieldTrainingFacility/Localization/readme.md @@ -0,0 +1,170 @@ +--- +permalink: /readme.html +title: Localization and Translation Readme +--- + + + + + +# Translating to your language + +![Languages supported by KSP 1.3: English, Spanish, Chinese, Russian, Japanese](https://i.imgur.com/DbCCJWK.png) + +The 1.3 release of KSP introduces localization, which allows in-game text to be translated to other languages. This allows more people to enjoy the game in their preferred language and enlarges the community. However, it does not happen automatically for mods; by default, a mod will appear in English regardless of the language of the base game. In order to have both the base game and mods available in the same non-English languages, some additional work must be done by the modder. + +Unfortunately, I only speak English, and I maintain this mod for free. This means I cannot create my own translations, and I cannot pay a professional translation service to produce high quality translations. The best I can do on my own is to use Google Translate, which is of dubious value for the terse, idiomatic strings needed in a KSP mod's UI. Instead, I must rely on the expertise of you, the multilingual KSP mod user, to tell me what good translations look like for your language. If you would like to help in this effort, please keep reading to learn how the mod's language files are structured and how to submit translations for use by others. + +Note: Even though you will appear to be editing the project's files, don't worry about making mistakes. GitHub will keep your changes separate from the main files until I have verified that they are OK to use. It is even possible for me to ask questions or request changes before your work is committed to the main files. + +## Languages + +* Supported by Kerbal Space Program as of 1.12.x + * ![English][EN] English + * ![Brasil][BR] Brazilian + * ![中文][CN] Simplified Chinese (中文) + * ![Deutsch][DE] German (Deutsch) + * ![Español][ES]] [Spanish (Español) + * ![Français][FR] French (Français) + * ![Italiano][IT] Italian (Italiano) + * ![日本語][JA] Japanese (日本語) +* Included as well + * ![한국어][KO] Korean (한국어) + * ![Español Mexicano][ME] Mexican Spanish (Español Mexicano) + * ![Dutch][NL] Dutch + * ![Norsk][NO] Norwegian (Norsk) + * ![Polski][PO] Polish (Polski) + * ![Русский][RU] Russian (Русский) + * ![Svenska][SW] Swedish (Svenska) + * ![国语][TW]] Taiwanese (国语) + +## Creating or editing a translation + +It is recommended to make your changes on your own computer at first so you can test them before uploading, especially if you are creating a new translation from scratch. + +1. Install the current release of xxx mod if you have not already +2. Open your `/GameData/xxxMod/Localization` folder on your local disk +3. Look for a file called *lang*.cfg, where *lang* is KSP's name for your locale; as of KSP 1.3, this includes: + +* en-us (English) +* es-es (Spanish) +* ja (Japanese) +* ru (Russian) +* zh-cn (Chinese) + +The remaining steps are different depending on whether the file already exists: + +### If the file exists + +Follow these steps to make improvements to an existing translation: + +4. Edit the file for your language in your favorite text editor +5. Make the changes you wish to see in-game (see the [File format section](#file-format) below for details) +6. Save your changes +7. Remember to [test your changes](#testing)! + +### If the file does not exist + +Follow these steps to start your own translation from scratch: + +4. Make a copy of `en-us.cfg` in the `Localization` folder +5. Rename the file according to the list of languages above +6. Edit the file for your language in your favorite text editor +7. Change the third line from `en-us` to the string for your language (see the [Languages section](#Languages) for details) +8. Translate each string from English to your language (see the [File format section](#file-format) below for details) +9. Save your changes +10. Remember to [test your changes](#testing)! + +### File format + +The middle part of the `cfg` file contains the strings to translate. The format is `name = translation`, where the name is a special string defined by the mod. For example: + + #launchSubtitle = Transfers from <<1>>\n(Launch ~<<2>>) + +Do **not** change the part to the left of the equals sign ("=")! These names must be the same in every language file. + +The part to the right of the equals sign is the string to be used in-game. Most of the text will be shown as-is, but it can contain a few special strings as shown in the [Lingoona grammar module demo](http://lingoona.com/cgi-bin/grammar#l=en&oh=1): + +| String | Purpose | +| ------- | -------------------------------------------------------------------------------------------------------------------------- | +| \n | Line break; try to preserve these based on the original strings to make sure the strings will fit | +| <<1>> | The first substitutable token in the string, will be replaced by a number, name of a planet, etc., depending on the string | +| <<2>> | Second token, and so on | +| <> | The first token, but substituted with a proper article | + +For example, this is a possible translation of the above line into Spanish, courtesy of Google Translate: + + #launchSubtitle = Transferencias desde <<1>>\n(Lanzamiento ~<<2>>) + +### Testing + +It's important to make sure that your changes work correctly. If you use Steam: + +1. [Select the language to use in Steam](https://www.youtube.com/watch?v=iBwYCvQxfeI) +2. Wait for the language pack download to complete +3. Run KSP +4. Use the xxxMod ingame and make sure your changes appear as you intended + +If you do not use Steam, I don't know the steps to choose a language. Contact SQUAD if you can't figure it out. + +## Contributing your translation for others to use + +After you have prepared a `cfg` file for your language and confirmed that it works as you intend, if you are willing to contribute it for redistribution under the xxxModd's license, follow these steps to upload it for inclusion in the main mod distribution: + +1. Log in to [GitHub](https://github.com); you may need to register an account if you do not already have one +2. Navigate to the xxxMod's Localization folder +3. Look for the file you edited + +The remaining steps are different depending on whether the file already exists: + +### If the file exists + +4. Click the file's name to view it +5. Click the [pencil icon](https://help.github.com/assets/images/help/repository/edit-file-edit-button.png) to edit +6. Replace the text with the pasted contents of the file you edited locally +7. **Important**: At the bottom of the page, under Propose file change, type an English description of the changes you have made and the reason you think they should be made. This will help me to confirm that your changes are appropriate. Remember, I do not speak the language in the `cfg` file, so I need you to tell me why your way is better! +6. Click `Propose file change` at the bottom when done + +### If the file does not exist + +4. Click [Create new file](https://help.github.com/assets/images/help/repository/create_new_file.png) to create it +5. Enter the correct file name in the box at the top +6. Paste the contents of the file you edited locally into the big box in the middle +8. Click `Propose new file` at the bottom when done + +### Review + +Once you finish your changes, GitHub will send me a notification that a pull request has been submitted. I will take a look at it within a day or two and attempt to verify that the changes make sense by: + +* Confirming that the file name and the third line of the file match one of the supported locale names +* Viewing each changed string in-game +* Checking Google Translate +* Asking individual human experts +* Requesting help on the KSP forum + +If I have any questions about specific changes you've made, I will add them to the pull request, which should trigger a notification to you. Please try to respond to these in as timely a manner as you can manage. Your pull request may be closed without merging if you do not reply for a long time. + +Once all the questions and comments are resolved to my satisfaction, your changes will be merged into the main files and included in the next release. I will also add your GitHub name to the Acknowledgements section of the README file. + +[EN]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/zed'K/img/EN.png "English" +[BR]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/zed'K/img/BR.png "Português Brasil" +[CN]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/zed'K/img/CH.png "中文" +[DE]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/zed'K/img/DE.png "Deutsch" +[ES]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/zed'K/img/ES.png "Español" +[FR]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/zed'K/img/FR.png "Français" +[IT]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/zed'K/img/IT.png "Italiano" +[JA]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/zed'K/img/JA.png "日本語" +[KO]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/zed'K/img/KO.png "한국어" +[MX]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/zed'K/img/MX.png "Mexicano Español" +[NL]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/zed'K/img/NL.png "Dutch" +[NO]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/zed'K/img/NO.png "Norsk" +[PO]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/zed'K/img/PO.png "Polski" +[RU]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/zed'K/img/RU.png "Русский" +[SW]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/zed'K/img/SW.png "Svenska" +[TW]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/zed'K/img/TW.png "国语" + + From ae59a223885fc6d7aaff1ed71bc38b9189aabb9e Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 03:00:23 -0500 Subject: [PATCH 07/60] Update zh-cn.cfg --- .../Localization/zh-cn.cfg | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/GameData/FieldTrainingFacility/Localization/zh-cn.cfg b/GameData/FieldTrainingFacility/Localization/zh-cn.cfg index 0115247..1ca9a28 100644 --- a/GameData/FieldTrainingFacility/Localization/zh-cn.cfg +++ b/GameData/FieldTrainingFacility/Localization/zh-cn.cfg @@ -1,10 +1,10 @@ -Localization -{ - zh-cn - { - // Field Training Facility - #FieldTrainingFacility_titl = 实战演练设施 - #FieldTrainingFacility_manu = 坎培拉有限公司 - #FieldTrainingFacility_desc = 花费时间和电力来培训坎巴拉人 - } +Localization +{ + zh-cn + { + // Field Training Facility + #FieldTrainingFacility_titl = 实战演练设施 + #FieldTrainingFacility_manu = 坎培拉有限公司 + #FieldTrainingFacility_desc = 花费时间和电力来培训坎巴拉人 + } } \ No newline at end of file From 907342f83d83f66f72c7796217dc47956694a222 Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 03:13:01 -0500 Subject: [PATCH 08/60] Create GPLv3.txt --- GPLv3.txt | 674 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 674 insertions(+) create mode 100644 GPLv3.txt diff --git a/GPLv3.txt b/GPLv3.txt new file mode 100644 index 0000000..94a9ed0 --- /dev/null +++ b/GPLv3.txt @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. From 54b0826e9196083a7bdd8ca195981093cb8e4f28 Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 03:13:03 -0500 Subject: [PATCH 09/60] Update LICENSE --- LICENSE | 695 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 674 insertions(+), 21 deletions(-) diff --git a/LICENSE b/LICENSE index b392927..94a9ed0 100644 --- a/LICENSE +++ b/LICENSE @@ -1,21 +1,674 @@ -MIT License -Copyright (c) 2016 Efour -Copyright (c) 2019,2022 zer0Kerbal - -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. + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. From c1bb2d79125858d169e6d7c2b745a95037ae0e62 Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 03:13:06 -0500 Subject: [PATCH 10/60] Delete MIT.txt --- MIT.txt | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 MIT.txt diff --git a/MIT.txt b/MIT.txt deleted file mode 100644 index b392927..0000000 --- a/MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License -Copyright (c) 2016 Efour -Copyright (c) 2019,2022 zer0Kerbal - -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. From ea0aa5f26c95f6e0ec2b4a1462af2558f792798e Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 19:58:58 -0500 Subject: [PATCH 11/60] Create changelog.md --- changelog.md | 296 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 296 insertions(+) create mode 100644 changelog.md diff --git a/changelog.md b/changelog.md new file mode 100644 index 0000000..330e3bc --- /dev/null +++ b/changelog.md @@ -0,0 +1,296 @@ +# Changelog + +| modName | Field Training Facility (FTF) | +| ---------- | ------------------------------------------------------------------ | +| license | GPLv3 | +| author | Efour and zer0Kerbal | +| forum | (https://forum.kerbalspaceprogram.com/index.php?/topic/188841-*/) | +| github | (/~https://github.com/zer0Kerbal/zer0Kerbal/FieldTrainingFacility) | +| curseforge | (https://www.curseforge.com/kerbal/ksp-mods/FieldTrainingFacility) | +| spacedock | (https://spacedock.info/mod/978) | +| ckan | FieldTrainingFacility | + +## Version 1.2.1.0-release - `` edition + +* 28 Jun 2022 +* For Kerbal Space Program [1.12.x] + +### License + +* Update to GPLv3 + * was Expat/MIT +* closes #32 - Update License to GPLv3 + +### docs/ + +* Add + * [Attribution.md] v1.0.6.0 + * [ManualInstallation.md] v1.1.7.0 + * [404-petunia.md] + * [LegalMumboJumbo.md] v1.0.5.0 + * [Localizations.md] v1.1.3.1 + * [Notices.md] v1.0.0.0 + * [Why-not.md] + * [_config.yml] +* closes #2 - Needs a wiki +* closes #35 - add docs/ + +### Convert Changelog + +* Convert from .cfg to md +* Add missing information for earlier releases +* closes #33 - Convert Changelog + +### Code + +* Recompile for KSP 1.12.3 +* Using .NET 4.6.1 + * remove + * [InstallChecker.cs] + * [AssemblyVersion.tt] + * [Log.cs] + * update [Version.tt]] + +### Compatibility + +* Rename + * Patches to Compatibility +* Update + * licenses + * [Kerbalism.cfg] v1.0.1.0 + * fixes #34 - [Bug 🐞]: Kerbalism.cfg + +### Add + +* Agent +* Flag + * 512x320 + * 64x40 truecolor_scaled + +### Localization + +* Add + * [readme.md] v2.1.2.0 + * [quickstart.md] v1.0.1.1 +* updates #14 - English +* updates #13 - Localization - Master +* updates #31 - Code Localization +* updates #22 - Simplified Chinese (简体中文) + +### Status + +* Issues + * closes #9 - Field Training Facility (FTF) 1.2.1.0-release `` + * closes #10 - 1.2.1.0 Verify Legal Mumbo Jumbo + * closes #11 - 1.2.1.0 Update Documentation + * closes #12 - 1.2.1.0 Update Social Media +* Closes Duplicate Issues + * #1 - Localization + * #4 - :sparkles: **Localization** :sparkles: + * #5 - Localization - en-us.cfg (English) + * #6 - Localization - pt-br.cfg Brazil + * #7 - Localization - zh-cn.cfg - Simplified Chinese + * #8 - Update Field Training Facility (FTF) + +--- + +## Version 1.2.0.0 - `` + +* 05 Apr 2020 +* KSP 1.9.1 +* .NET 4.8 + +### Code + +* update + * Editor GetInfo() to be more informative + * include assembly version in PAW +* Add + * game settings page + * ***disabled for now*** + * game settings page + * global setting to enable/disable PAW color + * option to globally enable/disable + * option: use science and ratio + * option: use reputation and ratio + * option: use funds and ratio + +--- + +## Version = 1.1.0.0 - `` + +* KSP 1.8.1 with .NET 4.8 + +* isn't that enough? :D +* started adding in JoyntMail :D + +--- + +## Version = 1.0.3.5 - ` Plugins/Textures/ + +### Deployment and Backend + +* Update + * [Changelog.cfg] + * to include new Kerbal Changelog features + * [_deploy] + * [_buildRelease] + * [.gitattributes] + * [].gitignore] + * [*Readme.md] + * automated Readme.md -> Readme.htm + * Readme.htm now included in release + * Releases.layout.md +* [CONTRIBUTING.md] now included in repository +* [FieldTrainingFacility.version] to be avc compliant +* Added + * avc github checker and badge +* Added + * json's + +--- + +## Version 1.0.3.4 + +### Adoption by zer0Kerbal + +### Code + +* Added + * PAW grouping (really needed for these mods) + * a blurb in the editor getInfo{} + * [InstallChecker.cs] + +### Compatibility + +* Updated + * [FieldTrainingFacility.cfg] + * now patches all parts with moduleScienceLab + * changed the [TrainingFacility] to be [FieldTrainingFacility] + * patches reflect this +* Removed + * other patch + +--- + +## Version 1.0.3.3 + +=-- ORIGINAL (outdated) --= + +* for Kerbal Space Program 1.6.1 +* Released on 2018-12-21 + +* EFour's last release +* Recompiled 1.6.0 + +--- + +## Version 1.0.3.2 + +* for Kerbal Space Program 1.5.1 +* Released on 2018-10-30 + +* Recompiled for 1.5.1 + +--- + +## Version 1.0.3.1 + +* for Kerbal Space Program 1.3.1 +* Released on 2017-11-27 + +* Recompiled KSP 1.3.1 + +--- + +## Version 1.0.3.0 + +* for Kerbal Space Program 1.2.2 +* Released on 2016-11-03 + +* Recompiled to 1.2.1 + +--- + +## Version 1.0.2.1 + +* for Kerbal Space Program 1.2 +* Released on 2016-10-22 + +* KPBS support + +--- + +## Version 1.0.2.0 + +* for Kerbal Space Program 1.2 +* Released on 2016-10-16 + +* Calculating Dead and respawned kerbalnaut + +--- + +## Version 1.0.1.2 + +* for Kerbal Space Program 1.2 +* Released on 2016-10-12 + +* fixed Message bug + +--- + +## Version 1.0.1.1 + +* for Kerbal Space Program 1.2 +* Released on 2016-10-12 + +* removing unused log +* changed minor EC related bug + +--- + +## Version 1.0.1.0 + +* for Kerbal Space Program 1.2 +* Released on 2016-10-12 + +* Co-Work with Field Training Lab Mod +* Compat patch for 1.2 release +* Tweaked EC consuming method. + +--- + +## Version 1.0.0.1 + +* for Kerbal Space Program 1.2 +* Released on 2016-10-12 + +* No changelog provided + +--- + +## Version 1.0.0.0 + +* for Kerbal Space Program 1.1.3 +* Released on 2016-10-11 + +* No changelog provided + +--- From bad6164b485fc9b1a2e9a3fa951679e2e2e72ed1 Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 19:59:01 -0500 Subject: [PATCH 12/60] Update FieldTrainingFacility.version --- FieldTrainingFacility.version | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/FieldTrainingFacility.version b/FieldTrainingFacility.version index 4398534..62db8ac 100644 --- a/FieldTrainingFacility.version +++ b/FieldTrainingFacility.version @@ -13,27 +13,21 @@ { "MAJOR" : 1, "MINOR" : 2, - "PATCH" : 0, + "PATCH" : 1, "BUILD" : 0 }, "KSP_VERSION" : { "MAJOR" : 1, - "MINOR" : 9, - "PATCH" : 1 + "MINOR" : 12, + "PATCH" : 3 }, "KSP_VERSION_MIN" : { "MAJOR" : 1, - "MINOR" : 9, + "MINOR" : 8, "PATCH" : 1 }, - "KSP_VERSION_MAX" : - { - "MAJOR" : 1, - "MINOR" : 9, - "PATCH" : 9999 - }, "INSTALL_LOC" : { "NAME" : "FieldTrainingFacility", From d06e624166ffe79d5c15ce90a7098fbc46ab7d19 Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 19:59:03 -0500 Subject: [PATCH 13/60] Update readme.md --- readme.md | 515 +++++++++++++++++++++++++++++++++--------------------- 1 file changed, 320 insertions(+), 195 deletions(-) diff --git a/readme.md b/readme.md index a02a05f..b2a0f7c 100644 --- a/readme.md +++ b/readme.md @@ -1,206 +1,331 @@ - - -# Field Training Facility (FTF) -### Adopted by [@zer0Kerbal][LINK:zer0kerbal] with continued support from the community. -#### formerly by [@Efour][LINK:efour] -![Mod Version][shield:mod:latest] -![KSP version][shield:ksp] ![KSP-AVC][shield:kspavc] ![License MIT][shield:license] ![][LOGO:mit] -![SpaceDock][shield:spacedock] ![CKAN][shield:ckan] ![GitHub][shield:github] ![Curseforge][shield:curseforge] -![Code][shield:code] ![Validate AVC .version files][shield:avcvalid] -*** - -This mod provides a training system (school) for your kerbalnauts by adding a Field Training Facility into all science laboratories. - -The Field Training Facility provides a training method that consumes electric charge over time to get a kerbal experience(stars). - -#### Cabin notes: -- You can tweak values by editing the part.cfg or using a ModuleManager patch. -- This module can be added to other crewed parts directly or using a ModuleManager patch. -- The code currently only works with the first eight kerbals in a part. -*** -![Field Training Facility][IMG:hero:1] -If you are in a hurry and just want to 'download' experience into your kerbalnauts then the [Field Training Lab][thread:FTL] will be the answer for you. The Field Training Facility (FTF) consumes Science and Electric Charge in order to train (school) your kerbalnauts. -*** -![Field Training Lab][IMG:hero:0] + + + + +[![FieldTrainingLab][MOD:shd:latest]][MOD:forum] [![KSP version][KSP:shd]][KSP:url] [![License][LIC:shd]][LIC:url] +[![Curseforge][CURSFG:shd]][CURSFG:url] [![GitHub][GITHUB:shd]][GITHUB:url] [![SpaceDock][SPCDCK:shd]][SPCDCK:url] [![CKAN][CKAN:shd]][CKAN:url] +[![Pages][MOD:pages:shd]][MOD:pages] + + + +# Field Training Lab (FTL) + +This mod provides a training system (school) for your kerbalnauts by adding a *Field Training Lab* into all science laboratories. + +*Field Training Lab* provides a training method that consumes science points to earn a kerbal experience (stars). + + + +## By [`zer0Kerbal`][zer0Kerbal], originally by [`Efour`][efour] + +adopted with *express* permission and brought to you by *KerbSimpleCo* + +FieldTrainingLab Hero + + + +Pay 20 science and your kerbal recieved 1 experience. Once your kerbal has gained enough experience, they will level up (max of level 5). ***Must buy one entire level at a time.*** + +### Costs: [^1] + +| Level | Stars | Additional XP | Total XP | science cost | +| :---- | :---- | :-----------: | :------- | :----------: | +| 0 | ☆☆☆☆☆ | 0 | 0 | 20 science | +| 1 | ★☆☆☆☆ | 2 | 2 | +40 science | +| 2 | ★★☆☆☆ | 6 | 8 | +120 science | +| 3 | ★★★☆☆ | 8 | 16 | +160 science | +| 4 | ★★★★☆ | 16 | 32 | +320 science | +| 5 | ★★★★★ | 32 | 64 | +640 science | + +### Training costs will be reduced + +* by 50% when your Field Training Lab is in orbit +* by 75% when your Field Training Lab is on other planet + +FieldTrainingLab Hero + +### Cabin notes + +* You can tweak values by editing the part.cfg or using a ModuleManager patch. +* This module can be added to other crewed parts directly or using a ModuleManager patch. +* The code currently only works with the first eight kerbals in a part. + +--- + +### [Field Training Facility (FTF)][FTF] + +* If leveling up *immediately* is not realistic? +* Do you think training needs time to complete? +* then [Field Training Facility][FTF] will be the answer for you. +* The Field Training Facility (FTF) consumes `Time` and `Electric Charge` in order to train (school) your kerbalnauts. + +FieldTrainingFacility + +--- + ### And you can have both installed -> Now then, someone like me will want to use both. What happens? -#### *Both [Field Training Facility (FTF)][thread:FTF] and [Field Training Facility (FTF)][thread:FTL] work together when you have both of them installed. Result is shown below:* -![Kerbalnaut Field Training][IMG:hero:2] + +* Someone like me will want to use both. What happens? +* Both [Field Training Facility (FTF)][FTF] and [Field Training Lab (FTL)][FTL] work together when both are installed. +* Result is shown below:* + The longer you train with FTF, the less science it costs to level immediately using the FTL. -For example - +For example: + Just using FTL, Level 4 -> Level 5 consumes 640p of Science point. But Level 4(50% with FTF) -> Level 5 consumes just 320p of science point. If 90% with FTF? Just pay 64p of science point or wait some more days. you can get level 5 kerbalnaut. More training means less science points needed, linearly. -#### These two addons can cooperate, If you want one thing, you can install just one mod. If you install both, they will cooperate and your kerbals profit! -*** -### Installation Directions: -- Use CKAN -### Changelog Summary -*See [ChangeLog][MOD:changelog] for full details of mod changes* -*** +#### These two addons can cooperate + +If you want one thing, you can install just one mod. If you install both, they will cooperate and your kerbals profit!! + +--- + +### See More + +* Discussions and news on this mod: See [Discussions][MOD:discu] or [KSP Forums][MOD:forum] +* Changelog Summary for more details of changes : See [ChangeLog][MOD:chlog] +* Known Issues for more details of feature requests and known issues : See [Known Issues][MOD:issue] +* GitHub Pages : See [Pages][MOD:pages] + +--- + +### Youtube review by [`Kottabos Gaming`](https://forum.kerbalspaceprogram.com/index.php?/profile/36583-*/) + +[![Kottabos Field Training Facility](https://img.youtube.com/vi/-_IweZIT7OI/0.jpg)](https://www.youtube.com/watch?v=-_IweZIT7OI) + +### Help Wanted + +> * A logo for this and Field Training Facility addons +> * Compatibility patches +> * Have a request? Glad to have them, kindly submit through [GitHub][MOD:issue]. + +--- + +### Localization + +>* ![English][EN] English +>* ![中文][CN] Simplified Chinese (中文) thank you to [@JFYoung01](/~https://github.com/JFYoung01) +>* ***your translation here*** +> +> HELP WANTED - See the [README in the Localization folder][lreadme] or the [Quickstart Guide][qstart] for instructions for adding or improving translations. [GitHub][GitHub:url] push is the best way to contribute. *Additions and corrections welcome!* + +--- + +### Installation Directions [^2] + +***Use*** + CurseForge/OverWolf App + + + CurseForge/OverWolf App + + +> Whilst I agree CKAN is a great mod for those that can't use zip tools, I take no part, nor am interested in maintaining the CKAN mod metadata for my mods. +> +> Please don't ask me about it but refer to the CKAN mod thread if you are having issues with CKAN or the metadata it maintains. Beware, CKAN *can* really mess up though it tries very, very, *very* hard not to. + +or [![CKAN][CKAN:img]][CKAN:url] + ### Dependencies -- [x] [Kerbal Space Program][KSP:website] [![][shield:ksp]][KSP:website] ***may*** work on other versions (YMMV) -- [x] [Module Manager][thread:mm] [^2] -### Recommends -- [x] [Field Training Facility (FTF)][thread:FTL] -## Suggests -- [x] [On Demand Fuel Cells {ODFC)}][thread:ODFC] -- [x] [Field Training Facility (FTF)][thread:FTF] -- [x] [Docking Port Descriptions(DPD)][thread:DPD] -- [x] [PicoPort Shielded (PPS)][thread:PPS] -- [x] [Transparent Command Pods Repressurized)(TCP)][thread:TCP] -- [x] [Stork Delivery System (SDS)][thread:SDS] -- [x] [Biomatic][thread:BIO] -- [x] [B9 Stock Switches (BSS)]() -- [x] [Oh Scrap!][thread:OHS]: -- [x] [ScrapYard][thread:SYD]: -- [x] [DaMichel's AeroRadial][thread:DAR] -- [x] [DaMichel's CargoBays][thread:DCB] -- [x] [DaMichel's Fuselage][thread:DMF] -- [x] [DaMichel's Spherical Tanks][thread:DST] -- [x] [Stork Delivery System (SDS)][thread:SDS] -- [x] [SimpleLogistics!][thread:SL!] -- [x] [SimpleConstructon!][thread:SC!] -- [x] [Not So SimpleConstructon!][thread:NSSC] + +* [Kerbal Space Program][KSP:url] [![Kerbal Space Program][KSP:shd]][KSP:url] [^3] +* Either [^4] + * [Module Manager][mm] + * [Module Manager /L][mml] + +### Recommends + +* [Field Training Facility (FTF)][FTF] + +### Suggests + +* [GPO (Goo Pumps & Oils') Speed Pump (GPO)][GPO] +* [Kerbal Klinic][NRKK] +* [MoarKerbals (MOAR)][MOAR] +* [On Demand Fuel Cells (ODFC)][ODFC] + ### Supports -- [x] [Kerbal Changelog][thread:kcl] -- [x] [Kerbal Planetary Base Systems][thread:kpbs] -### Conflicts -- [x] none known -### Tags - - training, mod, ksp, plugin, mit, addon -*** -*red box below is a link to forum post on how to get support* -[![How to get support][image:get-support]][thread:getsupport] - -### Youtube Review by [@Kottabos Gaming][LINK:kottabos] -[![][UTUBE:img]][UTUBE:link] -Support [@Kottabos][LINK:kottabos] on [Patreon][LINK:patreon:kottabos] - -### License -#### aka Legal Mumbo Jumbo -Source: [GitHub][MOD:github:repo] -License: ![License MIT][shield:license] ![][LOGO:mit] -> *** All bundled mods are distributed under their own licenses*** -> *** All art assets (textures, models, animations) are distributed under their own licenses*** -### Original -Author: [@EFour][LINK:efour] -[Thread][MOD:original:thread] -[Download][MOD:original:download] -Source: [GitHub][MOD:original:source] -License: ![License MIT][shield:license] ![][LOGO:mit] - -###### v1.0.3.5 original: 11 Aug 2018 0K updated: 21 Mar 2020 zed'K - - -[MOD:license]: /~https://github.com/zer0Kerbal/FieldTrainingFacility/blob/master/LICENSE -[MOD:contributing]: /~https://github.com/zer0Kerbal/FieldTrainingFacility/blob/master/.github/CONTRIBUTING.md -[MOD:issues]: /~https://github.com/zer0Kerbal/FieldTrainingFacility/issues -[MOD:wiki]: /~https://github.com/zer0Kerbal/FieldTrainingFacility/ -[MOD:known]: /~https://github.com/zer0Kerbal/FieldTrainingFacility/wiki/Known-Issues -[MOD:forum]: https://forum.kerbalspaceprogram.com/index.php?/topic/191045-* -[MOD:github:repo]: /~https://github.com/zer0Kerbal/FieldTrainingFacility/ -[MOD:changelog]: https://raw.githubusercontent.com/zer0Kerbal/FieldTrainingFacility/master/Changelog.cfg -[KSP:website]: http://kerbalspaceprogram.com/ - - -[MOD:original:source]: https://spacedock.info/mod/971/Training%20Laboratory/download/1.0.3.3 -[MOD:original:thread]: https://forum.kerbalspaceprogram.com/index.php?/topic/149796-* -[MOD:original:download]: https://spacedock.info/mod/971/Training%20Laboratory/download/1.0.3.3 - - -[LOGO:mit]: https://i.postimg.cc/bvjfsMP5/MIT-17x17.png -[LOGO:gplv3]: https://i.postimg.cc/90kCDs7K/gplv3-48x17.png -[LOGO:ccbysa4]: https://licensebuttons.net/l/by-sa/4.0/80x15.png - -[MOD:rel-github]: /~https://github.com/zer0Kerbal/FieldTrainingFacility/releases/latest "GitHub" -[MOD:rel-spacedock]: http://spacedock.info/mod/971 -[MOD:rel-curseforge]: https://www.curseforge.com/kerbal/ksp-mods/FieldTrainingFacility -[MOD:rel-ckan]: http://forum.kerbalspaceprogram.com/index.php?/topic/90246-* - -[image:rel-github]: https://i.imgur.com/RE4Ppr9.png -[image:rel-spacedock]: https://i.imgur.com/m0a7tn2.png -[image:rel-curseforge]: https://i.postimg.cc/RZNyB5vP/Download-On-Curse.png -[image:get-support]: https://i.postimg.cc/vHP6zmrw/image.png - -[image:rel-ckan]: https://i.postimg.cc/x8XSVg4R/sj507JC.png -[image:changelog]: https://i.postimg.cc/qM9p4V0C/changelog.png -[image:source]: https://i.postimg.cc/tJ8GqW0H/source.png - -[image:rel-github-sm]: https://i.postimg.cc/1XXy5yfD/github.png -[image:rel-spacedock-sm]: https://i.postimg.cc/DZ22Hrhj/spacedock.png -[image:rel-curseforge-sm]: https://i.postimg.cc/ZRVTSWKT/UVVt0OP.png - -[shield:mod:latest]: https://img.shields.io/github/v/release/zer0Kerbal/FieldTrainingFacility?include_prereleases?style=plastic -[shield:mod]: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/zer0Kerbal/FieldTrainingFacility/master/json/mod.json -[shield:ksp]: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/zer0Kerbal/FieldTrainingFacility/master/json/ksp.json -[shield:license]: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/zer0Kerbal/FieldTrainingFacility/master/json/license.json -[shield:code]: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/zer0Kerbal/FieldTrainingFacility/master/json/code.json -[shield:kspavc]: https://img.shields.io/badge/KSP-AVC--supported-brightgreen.svg?style=plastic -[shield:spacedock]: https://img.shields.io/badge/SpaceDock-listed-blue.svg?style=plastic -[shield:ckan]: https://img.shields.io/badge/CKAN-Indexed-blue.svg?style=plastic -[shield:github]: https://img.shields.io/badge/Github-Indexed-blue.svg?style=plastic&logo=github -[shield:curseforge]: https://img.shields.io/badge/CurseForge-listed-blue.svg?style=plastic -[shield:avcvalid]: /~https://github.com/zer0Kerbal/FieldTrainingFacility/workflows/Validate%20AVC%20.version%20files/badge.svg - - -[thread:ODFC]: https://forum.kerbalspaceprogram.com/index.php?/topic/187625-* "On Demand Fuel Cells" -[thread:FTF]: https://forum.kerbalspaceprogram.com/index.php?/topic/188841-* "Field Training Facility" -[thread:FTL]: https://forum.kerbalspaceprogram.com/index.php?/topic/188841-* "Field Training Lab" -[thread:MHH]: https://forum.kerbalspaceprogram.com/index.php?/topic/188246-* "More Hitchhikers" -[thread:TCP]: https://forum.kerbalspaceprogram.com/index.php?/topic/187495-* "Transparent Command Pods" -[thread:NUK]: https://forum.kerbalspaceprogram.com/index.php?/topic/21466-* -[thread:OHS]: https://forum.kerbalspaceprogram.com/index.php?/topic/192360-* "Oh Scrap!" -[thread:SYD]: https://forum.kerbalspaceprogram.com/index.php?/topic/192360-* "ScrapYard" -[thread:DRL]: https:// "DRElite (DRL)" - -[thread:DPD]: /~https://github.com/zer0Kerbal/KGEx/tree/master/GameData/KGEx/DockingPortDescriptions -[thread:PPS]: https://forum.kerbalspaceprogram.com/index.php?/topic/192187-* -[thread:VG0]: http:// "Vanguard" -[thread:PRB]: http:// "ProbiTronics" -[thread:CTN]: http:// "CTN" -[thread:DST]: https://forum.kerbalspaceprogram.com/index.php?/topic/191719-* "DaMichel's Spherical Tanks" -[thread:DMF]: https://forum.kerbalspaceprogram.com/index.php?/topic/191719-* "DaMichel's Fuselage" -[thread:DAR]: https://forum.kerbalspaceprogram.com/index.php?/topic/191719-* "DaMichel's AeroRadial" -[thread:DCB]: https://forum.kerbalspaceprogram.com/index.php?/topic/191719-* "DaMichel's CargoBays" -[thread:SDS]: https://forum.kerbalspaceprogram.com/index.php?/topic/191719-* "Stork Delivery System (SDS)" -[thread:SC!]: https://forum.kerbalspaceprogram.com/index.php?/topic/191424-* "SimpleConstructon!" -[thread:SL!]: https://forum.kerbalspaceprogram.com/index.php?/topic/191045-* "SimpleLogistics!" -[thread:NSSC]: https://forum.kerbalspaceprogram.com/index.php?/topic/191504-* "Not So SimpleConstructon!" -[thread:BIO]: https://forum.kerbalspaceprogram.com/index.php?/topic/191426-* "Biomatic" -[thread:BSS]: http:// "B9 Stock Switches" -[thread:HB!]: http:// "HotBeverages" - -[thread:mm]: http://forum.kerbalspaceprogram.com/index.php?/topic/50533-* "ModuleManager" -[thread:mc]: https://forum.kerbalspaceprogram.com/index.php?/topic/178484-* " " -[thread:kcl]: https://forum.kerbalspaceprogram.com/index.php?/topic/179207-* "Kerbal Change Log" - -[thread:tweakscale]: https://forum.kerbalspaceprogram.com/index.php?/topic/179030-* -[thread:crp]: http://forum.kerbalspaceprogram.com/index.php?/topic/83007-* -[thread:kpbs]: http://forum.kerbalspaceprogram.com/index.php?/topic/133606-1 "Kerbal Planetary Base Systems" -[thread:getsupport]: https://forum.kerbalspaceprogram.com/index.php?/topic/83212-* -[thread:wiki:xp]: https://wiki.kerbalspaceprogram.com/wiki/Experience "KSP WIKI: Experience" -[LINK:zer0Kerbal]: https://forum.kerbalspaceprogram.com/index.php?/profile/190933-zer0kerbal/ -[LINK:efour]: https://forum.kerbalspaceprogram.com/index.php?/profile/152350-efour/ "Efour" -[LINK:orig]: https://forum.kerbalspaceprogram.com/index.php?/profile/152350-efour/ "Efour" - - -[IMG:hero:0]: https://i.imgur.com/VGwKrJn.png "Field Training Lab" -[IMG:hero:1]: https://i.imgur.com/IA449bT.png "Field Training Facility" -[IMG:hero:2]: https://i.imgur.com/FoeIXB6.png "with both Field Training Facility and Lab installed" - -[UTUBE:img]: https://img.youtube.com/vi/-_IweZIT7OI/0.jpg -[UTUBE:link]: https://youtu.be/-_IweZIT7OI "Kottabo Talks Field Training Facility" -[LINK:patreon:kottabos]: https://www.patreon.com/Kottabosgames "Kottabos Games Patreon" -[LINK:kottabos]: https://forum.kerbalspaceprogram.com/index.php?/profile/36583-kottabos/ "Kottabos on KSP Forums" - - -[^1]: *Be Kind: Lithobrake, not jakebrake! Keep your Module Manager up to date* -[^2]: [KSP Wiki: Experience][thread:wiki:xp] + +* [Field Training Facility (FTF)][FTF] +* includes compatibility patches for: + * [Kerbalism][kerb] + * [Kerbal Planetary Base Systems][kpbs] + +

+

red box below is a link to forum post on how to get support

+ +

How to get support

+

Be Kind: Lithobrake, not jakebrake! Keep your Module Manager up to date

+
+ +### Credits and Special Thanks + +* [Efour][efour] for creating these glorious Kerbonaut Training addons! +* see [Attribution.md][MOD:attr] for more comprehensive list + +### Legal Mumbo Jumbo (License *provenance*) + +#### Current (2) - [`zer0Kerbal`][zer0Kerbal] + +> Forum: [Thread][MOD:forum] - Source: [GitHub][GITHUB:url] +> License: [![License][LIC:shd]][LIC:url] ![License][LIC:log] +> +> ##### Disclaimer(s) +> +> ***All bundled mods are distributed under their own licenses*** +> ***All art assets (textures, models, animations, sounds) are distributed under their own licenses*** + +##### see [Notices.md][MOD:notic] for more *legal mumbo jumbo* + +#### Author (1) - Author: [`zer0Kerbal`][zer0Kerbal] + +> Forum: [Thread][MOD:1:thread] - Download: [CurseForge][MOD:1:dnload] - Source: [GitHub][MOD:1:source] +> License: [![License][LIC:1:shd]][LIC:1:url] ![License][LIC:1:log] + +#### Original (0) - Author: [`Efour`][efour] + +> Forum: [Thread][MOD:0:thread] - Download: [Dropbox][MOD:0:dnload] - Source: [Dropbox][MOD:0:source] +> License: [![License][LIC:0:shd]][LIC:0:url] ![License][LIC:0:log] + +--- + +### How to support this and other great mods by [`zer0Kerbal`][zer0Kerbal] + +[![Support][PAYPAL:img]][PAYPAL:url] [![Github Sponsor][GSPONS:img]][GSPONS:url] [![Patreon][PATREON:img]][PATREON:url] [![Buy zer0Kerbal a snack][BMCC:img]][BMCC:url] + + +[MOD:attr]: https://zer0kerbal.github.io/FieldTrainingLab/Attributions "Attribution" +[MOD:chlog]: https://raw.githubusercontent.com/zer0Kerbal/FieldTrainingLab/master/changelog.md "Changelog" +[MOD:contr]: /~https://github.com/zer0Kerbal/.github/blob/master/.github/CONTRIBUTING.md "Contributing" +[MOD:discu]: /~https://github.com/zer0Kerbal/FieldTrainingLab/discussions "Discussions" +[MOD:forum]: https://forum.kerbalspaceprogram.com/index.php?/topic/188841-*/ "FieldTrainingLab Forum Thread" +[MOD:issue]: /~https://github.com/zer0Kerbal/FieldTrainingLab/issues "Issues" +[MOD:licns]: /~https://github.com/zer0Kerbal/FieldTrainingLab/blob/master/LICENSE "Github License" +[MOD:notic]: https://zer0kerbal.github.io/FieldTrainingLab/Notices "GitHub Pages" +[MOD:pages]: https://zer0kerbal.github.io/FieldTrainingLab/ "GitHub Pages" + + +[MOD:shd:latest]: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/zer0Kerbal/FieldTrainingLab/master/json/mod.json + +[CODE:shd]: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/zer0Kerbal/FieldTrainingLab/master/json/code.json + +[MOD:pages:shd]: https://img.shields.io/badge/GitHub-Pages-white?style=plastic&labelColor=9cf&logoColor=181717&logo=github "GitHub IO" + + +[MOD:0:source]: https://spacedock.info/mod/971 "SpaceDock" +[MOD:0:thread]: https://forum.kerbalspaceprogram.com/index.php?/topic/149796-*/ "KSP Forum" +[MOD:0:dnload]: https://spacedock.info/mod/971 "SpaceDock" + +[MOD:1:source]: /~https://github.com/zer0Kerbal/FieldTrainingLab "GitHub" +[MOD:1:thread]: https://forum.kerbalspaceprogram.com/index.php?/topic/149796-*/ "KSP Forum" +[MOD:1:dnload]: https://www.curseforge.com/kerbal/ksp-mods/FieldTrainingLab "CurseForge" + + +[LIC:0:url]: https://mit-license.org/ "Expat-MIT" +[LIC:0:log]: https://i.postimg.cc/bvjfsMP5/MIT-17x17.png "Expat-MIT" +[LIC:0:shd]: https://img.shields.io/badge/License-Expat/MIT-3DA639?labelColor=black&logoColor=3DA639&logo=OpenSourceInitiative&style=plastic "Expat-MIT" + +[LIC:1:url]: https://mit-license.org/ "Expat-MIT" +[LIC:1:log]: https://i.postimg.cc/bvjfsMP5/MIT-17x17.png "Expat-MIT" +[LIC:1:shd]: https://img.shields.io/badge/License-Expat/MIT-3DA639?labelColor=black&logoColor=3DA639&logo=OpenSourceInitiative&style=plastic "Expat-MIT" + + +[LIC:url]: https://www.gnu.org/licenses/gpl-3.0-standalone.html "GPLv3" +[LIC:log]: https://i.postimg.cc/9FrwMgK6/GPL-17x17.png "GPLv3" +[LIC:shd]: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/zer0Kerbal/FieldTrainingLab/master/json/license.json "GPLv3" + + +[CKAN:img]: https://i.postimg.cc/x8XSVg4R/sj507JC.png "CKAN" +[CKAN:url]: http://forum.kerbalspaceprogram.com/index.php?/topic/197082-*/ "CKAN" +[CKAN:shd]: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/zer0Kerbal/FieldTrainingLab/master/json/ckan.json "CKAN" + + +[CURSFG:url]: https://www.curseforge.com/kerbal/ksp-mods/FieldTrainingLab "Curseforge" +[CURSFG:shd]: https://img.shields.io/badge/CurseForge-Link-CCFF00.svg?labelColor=6441A4&style=plastic&logo=curseforge "Curseforge" + +[GITHUB:url]: /~https://github.com/zer0Kerbal/FieldTrainingLab/ "GitHub" +[GITHUB:shd]: https://img.shields.io/badge/Github-Link-CCFF00.svg?labelColor=181717&style=plastic&logo=github "GitHub" + +[SPCDCK:url]: http://spacedock.info/mod/971 "SpaceDock" +[SPCDCK:shd]: https://img.shields.io/badge/SpaceDock-Link-CCFF00.svg?labelColor=181717&style=plastic&logo=data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA1MDAgNTAwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MDAgNTAwOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+Cgkuc3Qwe2ZpbGw6IzFBMUExQTt9Cgkuc3Qxe2ZpbGw6IzA1Nzg5Mzt9Cgkuc3Qye2ZpbGw6IzA3QUNEMjt9Cjwvc3R5bGU+CjxwYXRoIGlkPSJYTUxJRF8xXyIgY2xhc3M9InN0MCIgZD0iTTQwMCwwLjZIMTAwYy01NSwwLTEwMCw0NS0xMDAsMTAwVjQwMGMwLDU1LDQ1LDEwMCwxMDAsMTAwaDMwMGM1NSwwLDEwMC00NSwxMDAtMTAwVjEwMC42CglDNTAwLDQ1LjYsNDU1LDAuNiw0MDAsMC42eiIvPgo8ZyBpZD0iWE1MSURfNl8iPgoJPGcgaWQ9IlhNTElEXzlfIj4KCQk8cGF0aCBpZD0iWE1MSURfMTdfIiBjbGFzcz0ic3QxIiBkPSJNMTgzLjMsMTY1LjljNi40LTMuNiwxNi45LTMuNiwyMy4zLDBMNDY3LjQsMzE0YzYuNCwzLjYsNi40LDkuNiwwLDEzLjJMMjA2LjYsNDc0LjQKCQkJYy02LjQsMy42LTE3LjcsNi42LTI1LDYuNmgtNDQuOGMtNy40LDAtOC4xLTMtMS43LTYuNmwyNjEtMTQ3LjJjNi40LTMuNiw2LjQtOS42LDAtMTMuMkwxNzEsMTg2Yy02LjQtMy42LTYuNC05LjYsMC0xMy4yCgkJCUwxODMuMywxNjUuOXoiLz4KCTwvZz4KCTxnIGlkPSJYTUxJRF84XyI+CgkJPHBhdGggaWQ9IlhNTElEXzE2XyIgY2xhc3M9InN0MiIgZD0iTTMxOC44LDE5Yy03LjQsMC0xOC42LDIuOC0yNSw2LjRMMzMsMTczLjRjLTYuNCwzLjYtNi40LDkuNSwwLDEzLjFsMjYwLjcsMTQ3LjEKCQkJYzYuNCwzLjYsMTYuOSwzLjYsMjMuMywwbDEyLjMtN2M2LjQtMy42LDYuNC05LjUsMC0xMy4ybC0yMjUuMS0xMjdjLTYuNC0zLjYtNi40LTkuNSwwLTEzLjJMMzY1LjYsMjUuNGM2LjQtMy42LDUuNi02LjQtMS43LTYuNAoJCQlIMzE4Ljh6Ii8+Cgk8L2c+CjwvZz4KPC9zdmc+Cg== "SpaceDock" + + +[KSP:url]: https://kerbalspaceprogram.com/ "Kerbal Space Program" +[KSP:shd]: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/zer0Kerbal/FieldTrainingLab/master/json/ksp.json&logo=data:image/webp;base64,UklGRpAGAABXRUJQVlA4TIQGAAAvH8AHEE0obNsGDakwXkT/Q4chj76jn1yYjSR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TnRJzZBRJ8MlI8LmmEXLAdAxsqIYbSDGTt65GfF0cUL6aQQ= "Kerbal Space Program" + + +[FTF]: https://forum.kerbalspaceprogram.com/index.php?/topic/188841-*/ "Field Training Facility" +[FTL]: https://forum.kerbalspaceprogram.com/index.php?/topic/188841-*/ "Field Training Lab" +[GPO]: https://forum.kerbalspaceprogram.com/index.php?/topic/207732-*/ "GPO SpeedPump (GPO)" +[NRKK]: https://forum.kerbalspaceprogram.com/index.php?/topic/208543-*/ "Kerbal Klinic" +[ODFC]: https://forum.kerbalspaceprogram.com/index.php?/topic/187625-*/ "On Demand Fuel Cells" +[MOAR]: https://forum.kerbalspaceprogram.com/index.php?/topic/191525-*/ "MoarKerbals" + +[kerb]: https://forum.kerbalspaceprogram.com/index.php?/topic/190382-*/* "Kerbalism" +[kpbs]: http://forum.kerbalspaceprogram.com/index.php?/topic/133606-*/ "Kerbal Planetary Base Systems" +[mm]: https://forum.kerbalspaceprogram.com/index.php?/topic/50533-*/ "Module Manager" +[mml]: /~https://github.com/net-lisias-ksp/ModuleManager "Module Manager /L" +[wiki:xp]: https://wiki.kerbalspaceprogram.com/wiki/Experience "KSP WIKI: Experience" + + + +[PAYPAL:img]: https://img.shields.io/badge/Buy%20me%20some%20-LFO-BADA55?style=for-the-badge&logo=paypal&labelColor=FFDD00/ "PayPal" +[PAYPAL:url]: https://www.paypal.com/donate?hosted_button_id=DC22YHMEJREKL/ "PayPal" +[PATREON:img]: https://img.shields.io/badge/Patreon%20-Patreonize-FF424D?style=for-the-badge&logo=patreon/ "Patreon" +[PATREON:url]: https://www.patreon.com/bePatron?u=23390503/ "Patreon" +[GSPONS:img]: https://img.shields.io/badge/Github%20-Sponsor-EA4AAA?style=for-the-badge&logo=githubsponsors/ "Github Sponsors" +[GSPONS:url]: /~https://github.com/sponsors/zer0Kerbal/ "Github Sponsors" +[BMCC:img]: https://img.shields.io/badge/Buy%20Me%20a%20-Snack!-FFDD00?style=for-the-badge&logo=buymeacoffee/ "Buy Me A Snack" +[BMCC:url]: https://buymeacoffee.com/zer0Kerbal/ "Buy Me A Snack" + + +[lreadme]: /~https://github.com/zer0Kerbal/zer0Kerbal/blob/master/Localization/readme.md "Localization Readme" +[qstart]: /~https://github.com/zer0Kerbal/zer0Kerbal/blob/master/Localization/quickstart.md "Quickstart" +[EN]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/master/img/EN.png "English" +[BR]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/master/img/BR.png "Português Brasil" +[CN]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/master/img/CH.png "中文" +[DE]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/master/img/DE.png "Deutsch" +[ES]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/master/img/ES.png "Español" +[FR]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/master/img/FR.png "Français" +[IT]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/master/img/IT.png "Italiano" +[JA]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/master/img/JA.png "日本語" +[KO]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/master/img/KO.png "한국어" +[MX]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/master/img/MX.png "Mexicano Español" +[NL]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/master/img/NL.png "Dutch" +[NO]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/master/img/NO.png "Norsk" +[PO]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/master/img/PO.png "Polski" +[RU]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/master/img/RU.png "Русский" +[SW]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/master/img/SW.png "Svenska" +[TR]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/master/img/TR.png "Türk" +[TW]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/master/img/TW.png "国语" + +[curseforge]: https://www.curseforge.com/members/zer0kerbal/projects +[reddit]: https://www.reddit.com/user/zer0Kerbal +[twitch]: https://www.twitch.tv/zer0kerbal +[twitter]: https://twitter.com/zer0Kerbal +[youtube]: https://www.youtube.com/channel/UCp9c8IaK4Gjgfj3O9QxrbDw + +[efour]: https://forum.kerbalspaceprogram.com/index.php?/profile/152350-*/ "Efour" +[zer0Kerbal]: https://forum.kerbalspaceprogram.com/index.php?/profile/190933-*/ "zer0Kerbal" + +--- + +#### Connect with me + +Track progress: issues [here][MOD:issue] and projects [here](/~https://github.com/zer0Kerbal/FieldTrainingLab/projects/) along with **[The Short List](/~https://github.com/users/zer0Kerbal/projects/27)** + +[zer0Kerbal | kerbalspaceprogram.com][zer0Kerbal] [zer0Kerbal | CurseForge][curseforge] [zer0Kerbal | reddit][reddit] [zer0Kerbal | Patreon][PATREON:url] [zer0Kerbal | YouTube][youtube] [zer0Kerbal | Twitch][twitch] [zer0Kerbal | PayPal][PAYPAL:url] [zer0Kerbal | Buy Me a Coffee][BMCC:url] [zer0Kerbal | Twitter][twitter] + + +[^1]: [KSP Wiki: Experience][wiki:xp] +[^2]: this isn't a mod. ;P +[^3]: ***may*** work on other versions (YMMV) +[^4]: *Be Kind: Lithobrake, not jakebrake! Keep your Module Manager up to date!* From a3541ff7c7afe5973bcf7745b6d0f45be57e42fb Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 20:00:58 -0500 Subject: [PATCH 14/60] Update settings.yml --- .github/settings.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/settings.yml b/.github/settings.yml index f3d4db8..c74fc20 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -17,7 +17,7 @@ repository: homepage: https://forum.kerbalspaceprogram.com/index.php?/topic/188841-*/ # A comma-separated list of topics to set on the repository - topics: training,ftf,mod,ksp,kerbal-space-program,stars,experience,kerbal,kerbalspaceprogram,kerbal-space,training-center,ksp-mods,training-lab,kerbal-mods,training-facility,time,electriccharge,training-costs,science-laboratories,kerbal,ksp,kerbal-space-program,zedk + topics: training,ftf,stars,experience,kerbalspaceprogram,training-center,ksp-mods,training-lab,kerbal-mods,training-facility,time,electriccharge,training-costs,science-laboratories,kerbal,ksp,kerbal-space-program,mods,zedk # Labels: define labels for Issues and Pull Requests labels: From d5bfde80184ce11ec631f527dc298c1b21348522 Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 20:14:50 -0500 Subject: [PATCH 15/60] Update readme.md --- readme.md | 102 +++++++++++++++++++++++------------------------------- 1 file changed, 43 insertions(+), 59 deletions(-) diff --git a/readme.md b/readme.md index b2a0f7c..5e15d87 100644 --- a/readme.md +++ b/readme.md @@ -1,21 +1,21 @@ -[![FieldTrainingLab][MOD:shd:latest]][MOD:forum] [![KSP version][KSP:shd]][KSP:url] [![License][LIC:shd]][LIC:url] +[![Field Training Facility][MOD:shd:latest]][MOD:forum] [![KSP version][KSP:shd]][KSP:url] [![License][LIC:shd]][LIC:url] [![Curseforge][CURSFG:shd]][CURSFG:url] [![GitHub][GITHUB:shd]][GITHUB:url] [![SpaceDock][SPCDCK:shd]][SPCDCK:url] [![CKAN][CKAN:shd]][CKAN:url] [![Pages][MOD:pages:shd]][MOD:pages] -# Field Training Lab (FTL) +# Field Training Facility (FTF) -This mod provides a training system (school) for your kerbalnauts by adding a *Field Training Lab* into all science laboratories. +This mod provides a training system (school) for your kerbalnauts by adding a *Field Training Facility* into all science laboratories. -*Field Training Lab* provides a training method that consumes science points to earn a kerbal experience (stars). +*Field Training Facility* provides a training method that consumes electric charge over time to earn a kerbal experience (stars). @@ -23,37 +23,10 @@ This mod provides a training system (school) for your kerbalnauts by adding a *F adopted with *express* permission and brought to you by *KerbSimpleCo* -FieldTrainingLab Hero +FieldTrainingFacility Hero -Pay 20 science and your kerbal recieved 1 experience. Once your kerbal has gained enough experience, they will level up (max of level 5). ***Must buy one entire level at a time.*** - -### Costs: [^1] - -| Level | Stars | Additional XP | Total XP | science cost | -| :---- | :---- | :-----------: | :------- | :----------: | -| 0 | ☆☆☆☆☆ | 0 | 0 | 20 science | -| 1 | ★☆☆☆☆ | 2 | 2 | +40 science | -| 2 | ★★☆☆☆ | 6 | 8 | +120 science | -| 3 | ★★★☆☆ | 8 | 16 | +160 science | -| 4 | ★★★★☆ | 16 | 32 | +320 science | -| 5 | ★★★★★ | 32 | 64 | +640 science | - -### Training costs will be reduced - -* by 50% when your Field Training Lab is in orbit -* by 75% when your Field Training Lab is on other planet - -FieldTrainingLab Hero - -### Cabin notes - -* You can tweak values by editing the part.cfg or using a ModuleManager patch. -* This module can be added to other crewed parts directly or using a ModuleManager patch. -* The code currently only works with the first eight kerbals in a part. - ---- ### [Field Training Facility (FTF)][FTF] @@ -69,7 +42,7 @@ Pay 20 science and your kerbal recieved 1 experience. Once your kerbal has gaine ### And you can have both installed * Someone like me will want to use both. What happens? -* Both [Field Training Facility (FTF)][FTF] and [Field Training Lab (FTL)][FTL] work together when both are installed. +* Both [Field Training Facility (FTF)][FTF] and [Field Training Facility (FTF)][FTL] work together when both are installed. * Result is shown below:* The longer you train with FTF, the less science it costs to level immediately using the FTL. @@ -82,10 +55,22 @@ If 90% with FTF? Just pay 64p of science point or wait some more days. you can g More training means less science points needed, linearly. -#### These two addons can cooperate +#### These two addons cooperate with each other If you want one thing, you can install just one mod. If you install both, they will cooperate and your kerbals profit!! +### Cabin notes + +* You can tweak values by editing the part.cfg or using a ModuleManager patch. +* This module can be added to other crewed parts directly or using a ModuleManager patch. +* The code currently only works with the first eight kerbals in a part. + +--- + +If you are in a hurry and just want to 'download' experience into your kerbalnauts then the [Field Training Lab][FTL] will be the answer for you. The Field Training Facility (FTF) consumes Science and Electric Charge in order to train (school) your kerbalnauts. + +FieldTrainingFacility Hero + --- ### See More @@ -103,7 +88,7 @@ If you want one thing, you can install just one mod. If you install both, they w ### Help Wanted -> * A logo for this and Field Training Facility addons +> * A logo for this and Field Training Lab addons > * Compatibility patches > * Have a request? Glad to have them, kindly submit through [GitHub][MOD:issue]. @@ -154,7 +139,7 @@ or [![CKAN][CKAN:img]][CKAN:url] ### Supports -* [Field Training Facility (FTF)][FTF] +* [Field Training Lab (FTL)][FTL] * includes compatibility patches for: * [Kerbalism][kerb] * [Kerbal Planetary Base Systems][kpbs] @@ -202,31 +187,31 @@ or [![CKAN][CKAN:img]][CKAN:url] [![Support][PAYPAL:img]][PAYPAL:url] [![Github Sponsor][GSPONS:img]][GSPONS:url] [![Patreon][PATREON:img]][PATREON:url] [![Buy zer0Kerbal a snack][BMCC:img]][BMCC:url] -[MOD:attr]: https://zer0kerbal.github.io/FieldTrainingLab/Attributions "Attribution" -[MOD:chlog]: https://raw.githubusercontent.com/zer0Kerbal/FieldTrainingLab/master/changelog.md "Changelog" +[MOD:attr]: https://zer0kerbal.github.io/FieldTrainingFacility/Attributions "Attribution" +[MOD:chlog]: https://raw.githubusercontent.com/zer0Kerbal/FieldTrainingFacility/master/changelog.md "Changelog" [MOD:contr]: /~https://github.com/zer0Kerbal/.github/blob/master/.github/CONTRIBUTING.md "Contributing" -[MOD:discu]: /~https://github.com/zer0Kerbal/FieldTrainingLab/discussions "Discussions" -[MOD:forum]: https://forum.kerbalspaceprogram.com/index.php?/topic/188841-*/ "FieldTrainingLab Forum Thread" -[MOD:issue]: /~https://github.com/zer0Kerbal/FieldTrainingLab/issues "Issues" -[MOD:licns]: /~https://github.com/zer0Kerbal/FieldTrainingLab/blob/master/LICENSE "Github License" -[MOD:notic]: https://zer0kerbal.github.io/FieldTrainingLab/Notices "GitHub Pages" -[MOD:pages]: https://zer0kerbal.github.io/FieldTrainingLab/ "GitHub Pages" +[MOD:discu]: /~https://github.com/zer0Kerbal/FieldTrainingFacility/discussions "Discussions" +[MOD:forum]: https://forum.kerbalspaceprogram.com/index.php?/topic/188841-*/ "FieldTrainingFacility Forum Thread" +[MOD:issue]: /~https://github.com/zer0Kerbal/FieldTrainingFacility/issues "Issues" +[MOD:licns]: /~https://github.com/zer0Kerbal/FieldTrainingFacility/blob/master/LICENSE "Github License" +[MOD:notic]: https://zer0kerbal.github.io/FieldTrainingFacility/Notices "GitHub Pages" +[MOD:pages]: https://zer0kerbal.github.io/FieldTrainingFacility/ "GitHub Pages" -[MOD:shd:latest]: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/zer0Kerbal/FieldTrainingLab/master/json/mod.json +[MOD:shd:latest]: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/zer0Kerbal/FieldTrainingFacility/master/json/mod.json -[CODE:shd]: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/zer0Kerbal/FieldTrainingLab/master/json/code.json +[CODE:shd]: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/zer0Kerbal/FieldTrainingFacility/master/json/code.json [MOD:pages:shd]: https://img.shields.io/badge/GitHub-Pages-white?style=plastic&labelColor=9cf&logoColor=181717&logo=github "GitHub IO" -[MOD:0:source]: https://spacedock.info/mod/971 "SpaceDock" +[MOD:0:source]: https://spacedock.info/mod/978 "SpaceDock" [MOD:0:thread]: https://forum.kerbalspaceprogram.com/index.php?/topic/149796-*/ "KSP Forum" -[MOD:0:dnload]: https://spacedock.info/mod/971 "SpaceDock" +[MOD:0:dnload]: https://spacedock.info/mod/978 "SpaceDock" -[MOD:1:source]: /~https://github.com/zer0Kerbal/FieldTrainingLab "GitHub" +[MOD:1:source]: /~https://github.com/zer0Kerbal/FieldTrainingFacility "GitHub" [MOD:1:thread]: https://forum.kerbalspaceprogram.com/index.php?/topic/149796-*/ "KSP Forum" -[MOD:1:dnload]: https://www.curseforge.com/kerbal/ksp-mods/FieldTrainingLab "CurseForge" +[MOD:1:dnload]: https://www.curseforge.com/kerbal/ksp-mods/FieldTrainingFacility "CurseForge" [LIC:0:url]: https://mit-license.org/ "Expat-MIT" @@ -240,26 +225,26 @@ or [![CKAN][CKAN:img]][CKAN:url] [LIC:url]: https://www.gnu.org/licenses/gpl-3.0-standalone.html "GPLv3" [LIC:log]: https://i.postimg.cc/9FrwMgK6/GPL-17x17.png "GPLv3" -[LIC:shd]: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/zer0Kerbal/FieldTrainingLab/master/json/license.json "GPLv3" +[LIC:shd]: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/zer0Kerbal/FieldTrainingFacility/master/json/license.json "GPLv3" [CKAN:img]: https://i.postimg.cc/x8XSVg4R/sj507JC.png "CKAN" [CKAN:url]: http://forum.kerbalspaceprogram.com/index.php?/topic/197082-*/ "CKAN" -[CKAN:shd]: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/zer0Kerbal/FieldTrainingLab/master/json/ckan.json "CKAN" +[CKAN:shd]: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/zer0Kerbal/FieldTrainingFacility/master/json/ckan.json "CKAN" -[CURSFG:url]: https://www.curseforge.com/kerbal/ksp-mods/FieldTrainingLab "Curseforge" +[CURSFG:url]: https://www.curseforge.com/kerbal/ksp-mods/FieldTrainingFacility "Curseforge" [CURSFG:shd]: https://img.shields.io/badge/CurseForge-Link-CCFF00.svg?labelColor=6441A4&style=plastic&logo=curseforge "Curseforge" -[GITHUB:url]: /~https://github.com/zer0Kerbal/FieldTrainingLab/ "GitHub" +[GITHUB:url]: /~https://github.com/zer0Kerbal/FieldTrainingFacility/ "GitHub" [GITHUB:shd]: https://img.shields.io/badge/Github-Link-CCFF00.svg?labelColor=181717&style=plastic&logo=github "GitHub" -[SPCDCK:url]: http://spacedock.info/mod/971 "SpaceDock" +[SPCDCK:url]: http://spacedock.info/mod/978 "SpaceDock" [SPCDCK:shd]: https://img.shields.io/badge/SpaceDock-Link-CCFF00.svg?labelColor=181717&style=plastic&logo=data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIEls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AtMTMuMkwxNzEsMTg2Yy02LjQtMy42LTYuNC05LjYsMC0xMy4yCgkJCUwxODMuMywxNjUuOXoiLz4KCTwvZz4KCTxnIGlkPSJYTUxJRF84XyI+CgkJPHBhdGggaWQ9IlhNTElEXzE2XyIgY2xhc3M9InN0MiIgZD0iTTMxOC44LDE5Yy03LjQsMC0xOC42LDIuOC0yNSw2LjRMMzMsMTczLjRjLTYuNCwzLjYtNi40LDkuNSwwLDEzLjFsMjYwLjcsMTQ3LjEKCQkJYzYuNCwzLjYsMTYuOSwzLjYsMjMuMywwbDEyLjMtN2M2LjQtMy42LDYuNC05LjUsMC0xMy4ybC0yMjUuMS0xMjdjLTYuNC0zLjYtNi40LTkuNSwwLTEzLjJMMzY1LjYsMjUuNGM2LjQtMy42LDUuNi02LjQtMS43LTYuNAoJCQlIMzE4Ljh6Ii8+Cgk8L2c+CjwvZz4KPC9zdmc+Cg== "SpaceDock" [KSP:url]: https://kerbalspaceprogram.com/ "Kerbal Space Program" -[KSP:shd]: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/zer0Kerbal/FieldTrainingLab/master/json/ksp.json&logo=data:image/webp;base64,UklGRpAGAABXRUJQVlA4TIQGAAAvH8AHEE0obNsGDakwXkT/Q4chj76jn1yYjSRjH6H+6xQqRUkkSc5ckHD+NUUVhx4+RNu2bTTl/3OTVhD6H8u6fF8dDYm40CK7N0CjAxK52rYtjfQRAvGNjbu7V+vuLp2fwhzA6gG4li6de+nuO+4uJBlkwoTA//90kENgtZZs27ZpO2Oufa5vbNsq2Sw6qaa9r3n/kZJTex/wSrFt27o62kuSJNuqrdTa1+/7uLu7uzQZAk0mRN/mAz2CAbi723vvy5WztxxIAAiw+dh2bdvWZJuT12y1bdu2bdu2bbs3AQABlsED+y50lDqLE4pf/Uxe8KO77HFes9hvxu1p3O2Q09LVg0NVjo7Z5U6AvwBSOfivKdQTujOnXNG8hzNhqYSMMHJ+MwWWyTSjNUoP1jWHp1ZNmgB8TMH3Tl33mvoV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F8MCQGjoxSugSFgFMV4LiVwgsn/i+gXZ2FzplAduxnn0/OlW0uqf+M64MRPqzwrl+PnpKQSaXS49Ui7n2/ctFtHtAtiprzxq6WniwESvW5yUG1Xx6/8Hx8NKELwKZK15pV/EvXvm9ZMlx0aKUO98iUPaWvst/n8ZbOmkvGhcOQRWf5zj9dk9cfpad5oHN3Rns/wsuvy2puxz1Ziu96Q7/SOWoROzvNzFo5Z5+1BDej3OjQ/XymEkW9jr0em5g5SdX8VC2gf9xJb/RWCC5bIKWDgWcYf+K9Kje3zbQBh/F448wMLoICeUyJ330nXlPmawiRT/sblG4vWrbErgQaMzYbZcwbhSaNrwH+Tqa04jqrd3JZTvwbFxHFSVMAv5UZdEq+tQUupcis/5+MZNsxk9b8TPa7cMqdzzrh9FtD5v+vPACvJy7nDT69IP/Yx6EywGdTFsD5iU7bqkovJogzTjQm3iFTyp4jV4bjVKdcnv5/JrhokmpnGAIA4D/AXYCfVgoBXnrDkCqqCHRG529HeYB51Jy1z6nlW/gnVmzyxmVHxnQrxXxelcI0yN85udPl+//t2rzKzA+oluPTNjp6qY1PVduFVdo8ya+8E6p8KOZR+bLj6Vju9oi5dar0erTS8Z1x3/IITU3vyDRLiZWBZVH6CbqURTeLptD3pEPIR4W4QlHfTnRJzZBRJ8MlI8LmmEXLAdAxsqIYbSDGTt65GfF0cUL6aQQ= "Kerbal Space Program" +[KSP:shd]: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/zer0Kerbal/FieldTrainingFacility/master/json/ksp.json&logo=data:image/webp;base64,UklGRpAGAABXRUJQVlA4TIQGAAAvH8AHEE0obNsGDakwXkT/Q4chj76jn1yYjSRjH6H+6xQqRUkkSc5ckHD+NUUVhx4+RNu2bTTl/3OTVhD6H8u6fF8dDYm40CK7N0CjAxK52rYtjfQRAvGNjbu7V+vuLp2fwhzA6gG4li6de+nuO+4uJBlkwoTA//90kENgtZZs27ZpO2Oufa5vbNsq2Sw6qaa9r3n/kZJTex/wSrFt27o62kuS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iEk9gPPGLAni3aRlsqlGQ9jP4z9Q/s/xi3dw486abm6Bqi2l3qu9e9tQsdVMdG4zbVYqp5wJcBSA2W6sNmkwxuNk+nw3r4MFi/4EkTAhiRFk70jkqNDiWbDK65OLIn0s0wD/ucAp3XwVSsSNBAqjFUIXwFE0MihZQ6utQYV2oR+tShO7Ad6bswY3xd7qe0VrVxK9ZjueQy4TPnF8MCQGjoxSugSFgFMV4LiVwgsn/i+gXZ2FzplAduxnn0/OlW0uqf+M64MRPqzwrl+PnpKQSaXS49Ui7n2/ctFtHtAtiprzxq6WniwESvW5yUG1Xx6/8Hx8NKELwKZK15pV/EvXvm9ZMlx0aKUO98iUPaWvst/n8ZbOmkvGhcOQRWf5zj9dk9cfpad5oHN3Rns/wsuvy2puxz1Ziu96Q7/SOWoROzvNzFo5Z5+1BDej3OjQ/XymEkW9jr0em5g5SdX8VC2gf9xJb/RWCC5bIKWDgWcYf+K9Kje3zbQBh/F448wMLoICeUyJ330nXlPmawiRT/sblG4vWrbErgQaMzYbZcwbhSaNrwH+Tqa04jqrd3JZTvwbFxHFSVMAv5UZdEq+tQUupcis/5+MZNsxk9b8TPa7cMqdzzrh9FtD5v+vPACvJy7nDT69IP/Yx6EywGdTFsD5iU7bqkovJogzTjQm3iFTyp4jV4bjVKdcnv5/JrhokmpnGAIA4D/AXYCfVgoBXnrDkCqqCHRG529HeYB51Jy1z6nlW/gnVmzyxmVHxnQrxXxelcI0yN85udPl+//t2rzKzA+oluPTNjp6qY1PVduFVdo8ya+8E6p8KOZR+bLj6Vju9oi5dar0erTS8Z1x3/IITU3vyDRLiZWBZVH6CbqURTeLptD3pEPIR4W4QlHfTnRJzZBRJ8MlI8LmmEXLAdAxsqIYbSDGTt65GfF0cUL6aQQ= "Kerbal Space Program" [FTF]: https://forum.kerbalspaceprogram.com/index.php?/topic/188841-*/ "Field Training Facility" @@ -275,7 +260,6 @@ or [![CKAN][CKAN:img]][CKAN:url] [mml]: /~https://github.com/net-lisias-ksp/ModuleManager "Module Manager /L" [wiki:xp]: https://wiki.kerbalspaceprogram.com/wiki/Experience "KSP WIKI: Experience" - [PAYPAL:img]: https://img.shields.io/badge/Buy%20me%20some%20-LFO-BADA55?style=for-the-badge&logo=paypal&labelColor=FFDD00/ "PayPal" [PAYPAL:url]: https://www.paypal.com/donate?hosted_button_id=DC22YHMEJREKL/ "PayPal" @@ -320,7 +304,7 @@ or [![CKAN][CKAN:img]][CKAN:url] #### Connect with me -Track progress: issues [here][MOD:issue] and projects [here](/~https://github.com/zer0Kerbal/FieldTrainingLab/projects/) along with **[The Short List](/~https://github.com/users/zer0Kerbal/projects/27)** +Track progress: issues [here][MOD:issue] and projects [here](/~https://github.com/zer0Kerbal/FieldTrainingFacility/projects/) along with **[The Short List](/~https://github.com/users/zer0Kerbal/projects/27)** [zer0Kerbal | kerbalspaceprogram.com][zer0Kerbal] [zer0Kerbal | CurseForge][curseforge] [zer0Kerbal | reddit][reddit] [zer0Kerbal | Patreon][PATREON:url] [zer0Kerbal | YouTube][youtube] [zer0Kerbal | Twitch][twitch] [zer0Kerbal | PayPal][PAYPAL:url] [zer0Kerbal | Buy Me a Coffee][BMCC:url] [zer0Kerbal | Twitter][twitter] From f221b48ea4d84a929400cee645e9a1c84a1f848c Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 20:36:38 -0500 Subject: [PATCH 16/60] rename Source --> source :file_folder: --- Source/FieldTrainingFacility173.csproj | 99 ------ Source/FieldTrainingFacility173.sln | 32 -- Source/FieldTrainingFacility181.csproj | 99 ------ Source/FieldTrainingFacility181.sln | 32 -- Source/FieldTrainingFacility191.csproj | 101 ------ Source/FieldTrainingFacility191.sln | 25 -- Source/FieldTrainingFacilityModule.cs | 426 ------------------------- Source/InstallChecker.cs | 103 ------ Source/Log.cs | 27 -- Source/Properties/AssemblyInfo.cs | 18 -- Source/Properties/AssemblyVersion.cs | 10 - Source/Properties/AssemblyVersion.tt | 114 ------- Source/Properties/Version.cs | 19 -- Source/Properties/Version.tt | 101 ------ Source/Settings.cs | 180 ----------- Source/UpgradeLog.htm | Bin 29056 -> 0 bytes 16 files changed, 1386 deletions(-) delete mode 100644 Source/FieldTrainingFacility173.csproj delete mode 100644 Source/FieldTrainingFacility173.sln delete mode 100644 Source/FieldTrainingFacility181.csproj delete mode 100644 Source/FieldTrainingFacility181.sln delete mode 100644 Source/FieldTrainingFacility191.csproj delete mode 100644 Source/FieldTrainingFacility191.sln delete mode 100644 Source/FieldTrainingFacilityModule.cs delete mode 100644 Source/InstallChecker.cs delete mode 100644 Source/Log.cs delete mode 100644 Source/Properties/AssemblyInfo.cs delete mode 100644 Source/Properties/AssemblyVersion.cs delete mode 100644 Source/Properties/AssemblyVersion.tt delete mode 100644 Source/Properties/Version.cs delete mode 100644 Source/Properties/Version.tt delete mode 100644 Source/Settings.cs delete mode 100644 Source/UpgradeLog.htm diff --git a/Source/FieldTrainingFacility173.csproj b/Source/FieldTrainingFacility173.csproj deleted file mode 100644 index 308e0e4..0000000 --- a/Source/FieldTrainingFacility173.csproj +++ /dev/null @@ -1,99 +0,0 @@ - - - - - Debug - AnyCPU - {F1E7665D-05FE-4267-85E8-FDA6D510628E} - Library - Properties - FieldTrainingFacility - FieldTrainingFacility - v3.5 - 512 - - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - false - - - none - true - bin\Release\ - TRACE - prompt - 4 - false - - - - False - - - False - - - - - - - - - - - - - - True - True - AssemblyVersion.tt - - - True - True - Version.tt - - - - - - - - TextTemplatingFileGenerator - AssemblyVersion.cs - - - TextTemplatingFileGenerator - Version.cs - - - - - - - - - - - cmd /d C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\texttransform.exe "$(ProjectDir)Properties\Version.tt" - cmd /d C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\texttransform.exe "$(ProjectDir)Properties\AssemblyFileVersion.tt" - - - - start /D $(ProjectDir)..\ /WAIT _deploy.bat $(TargetDir) $(TargetFileName) -if $(ConfigurationName) == Release start /D $(ProjectDir)..\ /WAIT _buildRelease.bat $(TargetDir) $(TargetFileName) - - - \ No newline at end of file diff --git a/Source/FieldTrainingFacility173.sln b/Source/FieldTrainingFacility173.sln deleted file mode 100644 index 379da4e..0000000 --- a/Source/FieldTrainingFacility173.sln +++ /dev/null @@ -1,32 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.29230.47 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FieldTrainingFacility173", "FieldTrainingFacility173.csproj", "{F1E7665D-05FE-4267-85E8-FDA6D510628E}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SolutionItems", "SolutionItems", "{51AF6BFB-F283-4724-872A-697C6B8F28D5}" - ProjectSection(SolutionItems) = preProject - ..\_buildRelease.bat = ..\_buildRelease.bat - ..\_deploy.bat = ..\_deploy.bat - ..\FieldTrainingFacility.version = ..\FieldTrainingFacility.version - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {F1E7665D-05FE-4267-85E8-FDA6D510628E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {F1E7665D-05FE-4267-85E8-FDA6D510628E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {F1E7665D-05FE-4267-85E8-FDA6D510628E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {F1E7665D-05FE-4267-85E8-FDA6D510628E}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {03E764AE-BC2A-4C97-8914-E3E2A36229B4} - EndGlobalSection -EndGlobal diff --git a/Source/FieldTrainingFacility181.csproj b/Source/FieldTrainingFacility181.csproj deleted file mode 100644 index 6aa2a8f..0000000 --- a/Source/FieldTrainingFacility181.csproj +++ /dev/null @@ -1,99 +0,0 @@ - - - - - Debug - AnyCPU - {F1E7665D-05FE-4267-85E8-FDA6D510628E} - Library - Properties - FieldTrainingFacility - FieldTrainingFacility - v4.8 - 512 - - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - false - - - none - true - bin\Release\ - TRACE - prompt - 4 - false - - - - False - - - False - - - - - - - - - - - - - - True - True - AssemblyVersion.tt - - - True - True - Version.tt - - - - - - - - TextTemplatingFileGenerator - AssemblyVersion.cs - - - TextTemplatingFileGenerator - Version.cs - - - - - - - - - - - cmd /d C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\texttransform.exe "$(ProjectDir)Properties\Version.tt" - cmd /d C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\texttransform.exe "$(ProjectDir)Properties\AssemblyFileVersion.tt" - - - - start /D $(ProjectDir)..\ /WAIT _deploy.bat $(TargetDir) $(TargetFileName) -if $(ConfigurationName) == Release start /D $(ProjectDir)..\ /WAIT _buildRelease.bat $(TargetDir) $(TargetFileName) - - - \ No newline at end of file diff --git a/Source/FieldTrainingFacility181.sln b/Source/FieldTrainingFacility181.sln deleted file mode 100644 index 69ecd27..0000000 --- a/Source/FieldTrainingFacility181.sln +++ /dev/null @@ -1,32 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.29230.47 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FieldTrainingFacility181", "FieldTrainingFacility181.csproj", "{F1E7665D-05FE-4267-85E8-FDA6D510628E}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SolutionItems", "SolutionItems", "{51AF6BFB-F283-4724-872A-697C6B8F28D5}" - ProjectSection(SolutionItems) = preProject - ..\buildRelease.bat = ..\buildRelease.bat - ..\deploy.bat = ..\deploy.bat - ..\FieldTrainingFacility.version = ..\FieldTrainingFacility.version - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {F1E7665D-05FE-4267-85E8-FDA6D510628E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {F1E7665D-05FE-4267-85E8-FDA6D510628E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {F1E7665D-05FE-4267-85E8-FDA6D510628E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {F1E7665D-05FE-4267-85E8-FDA6D510628E}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {03E764AE-BC2A-4C97-8914-E3E2A36229B4} - EndGlobalSection -EndGlobal diff --git a/Source/FieldTrainingFacility191.csproj b/Source/FieldTrainingFacility191.csproj deleted file mode 100644 index d2cd9d4..0000000 --- a/Source/FieldTrainingFacility191.csproj +++ /dev/null @@ -1,101 +0,0 @@ - - - - - Debug - AnyCPU - {F1E7665D-05FE-4267-85E8-FDA6D510628E} - Library - Properties - FieldTrainingFacility - FieldTrainingFacility - v4.8 - 512 - - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - none - true - bin\Release\ - TRACE - prompt - 4 - false - - - - False - - - False - - - - - - - - - - - - - - - - True - True - AssemblyVersion.tt - - - True - True - Version.tt - - - - - - - - - TextTemplatingFileGenerator - AssemblyVersion.cs - - - TextTemplatingFileGenerator - Version.cs - - - - - - - - - - - cmd /d C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\texttransform.exe "$(ProjectDir)Properties\Version.tt" - cmd /d C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\texttransform.exe "$(ProjectDir)Properties\AssemblyFileVersion.tt" - - - - start /D $(ProjectDir)..\ /WAIT _deploy.bat $(TargetDir) $(TargetFileName) -if $(ConfigurationName) == Release start /D $(ProjectDir)..\ /WAIT _buildRelease.bat $(TargetDir) $(TargetFileName) - - - \ No newline at end of file diff --git a/Source/FieldTrainingFacility191.sln b/Source/FieldTrainingFacility191.sln deleted file mode 100644 index feb0025..0000000 --- a/Source/FieldTrainingFacility191.sln +++ /dev/null @@ -1,25 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.29806.167 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FieldTrainingFacility191", "FieldTrainingFacility191.csproj", "{F1E7665D-05FE-4267-85E8-FDA6D510628E}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {F1E7665D-05FE-4267-85E8-FDA6D510628E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {F1E7665D-05FE-4267-85E8-FDA6D510628E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {F1E7665D-05FE-4267-85E8-FDA6D510628E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {F1E7665D-05FE-4267-85E8-FDA6D510628E}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {DB3A5793-F99D-49BF-9D41-8392AC3779D3} - EndGlobalSection -EndGlobal diff --git a/Source/FieldTrainingFacilityModule.cs b/Source/FieldTrainingFacilityModule.cs deleted file mode 100644 index 92a3615..0000000 --- a/Source/FieldTrainingFacilityModule.cs +++ /dev/null @@ -1,426 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using UnityEngine; -using KSP; -using KSPAssets; -using KSP.Localization; -using System.Web.UI.WebControls.WebParts; - -namespace FieldTrainingFacility -{ - public class FieldTrainingFacility : PartModule - { - string[] trainingArr = - { - "", - "Training1", - "Training2", - "Training3", - "Training4", - "Training5" - }; - - string[] crewListArr = - { - "BoardKerbal0", - "BoardKerbal1", - "BoardKerbal2", - "BoardKerbal3", - "BoardKerbal4", - "BoardKerbal5", - "BoardKerbal6", - "BoardKerbal7" - }; - - float[] levelUpExpTable = { 2, 6, 8, 16, 32, 0 }; - - string[] levelNumber = { "null", "1st", "2nd", "3rd", "4th", "5th" }; - - ProtoCrewMember[] crewArr = new ProtoCrewMember[8]; - int crewCnt = 0, - maxCrew = 0; - - [KSPField] - public float TimeFactor = 426 * 6 * 60 * 60; // 1Year = 426day, 1day = 6hour, 1hour = 60minutes, 1min = 60sec - - [KSPField] - public float ECFactor = 4; - - [KSPField] - public float SpaceFactor = 4f; - - [KSPField] - public float LandedFactor = 6f; - - [KSPField(isPersistant = true, guiActive = true, guiName = "Training Status", groupName = "Training", groupDisplayName = "Training Facility " + Version.Text, groupStartCollapsed = true)] - public bool TrainingStatus = false; - - [KSPField(isPersistant = true)] - public double LastTimeSigniture = -1; - - [KSPEvent(guiActive = true, guiName = "Start Training", groupName = "Training")] - public void ToggleTraining() - { - if(TrainingStatus == false) - { - TrainingStatus = true; - LastTimeSigniture = Planetarium.GetUniversalTime(); - Events["ToggleTraining"].guiName = "Stop Training"; - } - else stopTraining(); - } - - [KSPField(guiActive = false, groupName = "Training")] - public string BoardKerbal0; - [KSPField(guiActive = false, groupName = "Training")] - public string BoardKerbal1; - [KSPField(guiActive = false, groupName = "Training")] - public string BoardKerbal2; - [KSPField(guiActive = false, groupName = "Training")] - public string BoardKerbal3; - [KSPField(guiActive = false, groupName = "Training")] - public string BoardKerbal4; - [KSPField(guiActive = false, groupName = "Training")] - public string BoardKerbal5; - [KSPField(guiActive = false, groupName = "Training")] - public string BoardKerbal6; - [KSPField(guiActive = false, groupName = "Training")] - public string BoardKerbal7; - - public override void OnLoad(ConfigNode node) - { - base.OnLoad(node); - - if(TrainingStatus == true) Events["ToggleTraining"].guiName = "Stop Training"; - maxCrew = part.CrewCapacity; - } - - public void FixedUpdate() - { - if (TrainingStatus == true) - { - if (consumeEC(crewCnt, TimeWarp.fixedDeltaTime) == false) - { - stopTraining(); - ScreenMessages.PostScreenMessage("Electric Charge Depleted. Stopping Training."); - } - } - - base.OnFixedUpdate(); - } - - public override void OnUpdate() - { - if (TrainingStatus == true) - { - double nowTime = Planetarium.GetUniversalTime(); - string[] expStrArr = new string[8]; - int index = 0; - - foreach (ProtoCrewMember crew in part.protoModuleCrew) - { - if (index >= crewArr.Length) break; - - crewArr[index] = crew; - expStrArr[index] = ""; - - int crewLevel = getCrewTrainedLevel(crew); - if (crewLevel < 5) - { - // calculating exp section - double exp = getKerbalTrainingExp(crew); - exp += calculateExp(vessel, nowTime - LastTimeSigniture); - - // crew leveling section - if (getCrewTrainedLevel(crew) == 0 && exp > TimeFactor * levelUpExpTable[0] / 64) - { - setCrewTrainingLevel(crew, 1); - exp -= TimeFactor * levelUpExpTable[0] / 64; - } - if (getCrewTrainedLevel(crew) == 1 && exp > TimeFactor * levelUpExpTable[1] / 64) - { - setCrewTrainingLevel(crew, 2); - exp -= TimeFactor * levelUpExpTable[1] / 64; - } - if (getCrewTrainedLevel(crew) == 2 && exp > TimeFactor * levelUpExpTable[2] / 64) - { - setCrewTrainingLevel(crew, 3); - exp -= TimeFactor * levelUpExpTable[2] / 64; - } - if (getCrewTrainedLevel(crew) == 3 && exp > TimeFactor * levelUpExpTable[3] / 64) - { - setCrewTrainingLevel(crew, 4); - exp -= TimeFactor * levelUpExpTable[3] / 64; - } - if (getCrewTrainedLevel(crew) == 4 && exp > TimeFactor * levelUpExpTable[4] / 64) - { - setCrewTrainingLevel(crew, 5); - exp -= TimeFactor * levelUpExpTable[4] / 64; - } - - if (getCrewTrainedLevel(crew) < 5) - { - setKerbalTrainingExp(crew, exp); - expStrArr[index] = " (" + (exp * 100 / (TimeFactor * levelUpExpTable[crewLevel] / 64)).ToString("F2") + "%)"; - } - else removeKerbalTrainingExp(crew); - } - - Fields[crewListArr[index]].guiName = "Lv" + getCrewTrainedLevel(crew); - Fields[crewListArr[index]].guiActive = true; - - index++; - } - - // save crew number - crewCnt = index; - - // reset unused spaces - for (; index < crewArr.Length; index++) - { - Fields[crewListArr[index]].guiActive = false; - crewArr[index] = null; - } - - BoardKerbal0 = (crewArr[0] != null ? crewArr[0].name + expStrArr[0] : ""); - BoardKerbal1 = (crewArr[1] != null ? crewArr[1].name + expStrArr[1] : ""); - BoardKerbal2 = (crewArr[2] != null ? crewArr[2].name + expStrArr[2] : ""); - BoardKerbal3 = (crewArr[3] != null ? crewArr[3].name + expStrArr[3] : ""); - BoardKerbal4 = (crewArr[4] != null ? crewArr[4].name + expStrArr[4] : ""); - BoardKerbal5 = (crewArr[5] != null ? crewArr[5].name + expStrArr[5] : ""); - BoardKerbal6 = (crewArr[6] != null ? crewArr[6].name + expStrArr[6] : ""); - BoardKerbal7 = (crewArr[7] != null ? crewArr[7].name + expStrArr[7] : ""); - - LastTimeSigniture = Planetarium.GetUniversalTime(); - } - else - { - string[] expStrArr = new string[8]; - int index = 0; - - foreach (ProtoCrewMember crew in part.protoModuleCrew) - { - if (index >= crewArr.Length) break; - - crewArr[index] = crew; - expStrArr[index] = ""; - - int crewLevel = getCrewTrainedLevel(crew); - if (crewLevel < 5) - { - // calculating exp section - double exp = getKerbalTrainingExp(crew); - - if (getCrewTrainedLevel(crew) < 5) - { - setKerbalTrainingExp(crew, exp); - expStrArr[index] = " (" + (exp * 100 / (TimeFactor * levelUpExpTable[crewLevel] / 64)).ToString("F2") + "%)"; - } - else removeKerbalTrainingExp(crew); - } - - Fields[crewListArr[index]].guiName = "Lv" + getCrewTrainedLevel(crew); - Fields[crewListArr[index]].guiActive = true; - - index++; - } - - // reset unused spaces - for (; index < crewArr.Length; index++) - { - Fields[crewListArr[index]].guiActive = false; - crewArr[index] = null; - } - - BoardKerbal0 = (crewArr[0] != null ? crewArr[0].name + expStrArr[0] : ""); - BoardKerbal1 = (crewArr[1] != null ? crewArr[1].name + expStrArr[1] : ""); - BoardKerbal2 = (crewArr[2] != null ? crewArr[2].name + expStrArr[2] : ""); - BoardKerbal3 = (crewArr[3] != null ? crewArr[3].name + expStrArr[3] : ""); - BoardKerbal4 = (crewArr[4] != null ? crewArr[4].name + expStrArr[4] : ""); - BoardKerbal5 = (crewArr[5] != null ? crewArr[5].name + expStrArr[5] : ""); - BoardKerbal6 = (crewArr[6] != null ? crewArr[6].name + expStrArr[6] : ""); - BoardKerbal7 = (crewArr[7] != null ? crewArr[7].name + expStrArr[7] : ""); - } - - base.OnUpdate(); - } - - private void stopTraining() - { - TrainingStatus = false; - - BoardKerbal0 = ""; - BoardKerbal1 = ""; - BoardKerbal2 = ""; - BoardKerbal3 = ""; - BoardKerbal4 = ""; - BoardKerbal5 = ""; - BoardKerbal6 = ""; - BoardKerbal7 = ""; - - for (int index = 0; index < crewListArr.Length; index++) Fields[crewListArr[index]].guiActive = false; - - Events["ToggleTraining"].guiName = "Start Training"; - } - - private int getCrewTrainedLevel(ProtoCrewMember crew) - { - int lastLog = 0; - FlightLog totalLog = crew.careerLog.CreateCopy(); - totalLog.MergeWith(crew.flightLog.CreateCopy()); - - int deadFlight = -1; - foreach (FlightLog.Entry entry in totalLog.Entries) - { - if (entry.flight <= deadFlight) continue; - if (entry.type == "Die") deadFlight = entry.flight; - } - foreach (FlightLog.Entry entry in totalLog.Entries) - { - if (entry.flight <= deadFlight) continue; - if (lastLog < 1 && entry.type == "Training1") lastLog = 1; - if (lastLog < 2 && entry.type == "Training2") lastLog = 2; - if (lastLog < 3 && entry.type == "Training3") lastLog = 3; - if (lastLog < 4 && entry.type == "Training4") lastLog = 4; - if (lastLog < 5 && entry.type == "Training5") lastLog = 5; - } - - return lastLog; - } - - private void setCrewTrainingLevel(ProtoCrewMember crew, int level) - { - crew.flightLog.AddEntry(new FlightLog.Entry(crew.flightLog.Flight, trainingArr[level], "Kerbin")); - ScreenMessages.PostScreenMessage(levelNumber[level] + " Training Complete : " + crew.name); - } - - private double getKerbalTrainingExp(ProtoCrewMember crew) - { - string lastExpStr = "0"; - - FlightLog totalLog = crew.careerLog.CreateCopy(); - totalLog.MergeWith(crew.flightLog.CreateCopy()); - - int deadFlight = -1; - foreach (FlightLog.Entry entry in totalLog.Entries) - { - if (entry.flight <= deadFlight) continue; - if (entry.type == "Die") deadFlight = entry.flight; - } - - foreach (FlightLog.Entry entry in totalLog.Entries) - { - if (entry.type == "TrainingExp") - { - if (entry.flight <= deadFlight) removeKerbalTrainingExp(crew); - else lastExpStr = entry.target; - } - } - - return double.Parse(lastExpStr); - } - - private void removeKerbalTrainingExp(ProtoCrewMember crew) - { - foreach (FlightLog.Entry entry in crew.careerLog.Entries.ToArray()) - if (entry.type == "TrainingExp") - crew.careerLog.Entries.Remove(entry); - foreach (FlightLog.Entry entry in crew.flightLog.Entries.ToArray()) - if (entry.type == "TrainingExp") - crew.flightLog.Entries.Remove(entry); - } - - private void setKerbalTrainingExp(ProtoCrewMember crew, double exp) - { - removeKerbalTrainingExp(crew); - - crew.flightLog.Entries.Add(new FlightLog.Entry(crew.flightLog.Flight, "TrainingExp", exp.ToString())); - } - - private double calculateExp(Vessel vessel, double elapsed) - { - if (this.vessel.mainBody.bodyName == "Kerbin" && this.vessel.LandedOrSplashed) return elapsed; - else if (this.vessel.LandedOrSplashed) return elapsed * LandedFactor; - else return elapsed * SpaceFactor; - } - - public bool consumeEC(int numCrew, double elapsed) - { - if (CheatOptions.InfiniteElectricity == true) return true; - - double ec = 0; - int tanks = 0; - foreach (Part part in vessel.parts) - { - foreach (PartResource res in part.Resources) - { - if (res.resourceName == "ElectricCharge" && res.amount > 0) - { - ec += res.amount; - tanks++; - } - } - } - - if (tanks == 0 || ec <= 0) return false; - - foreach (Part part in vessel.parts) - { - foreach (PartResource res in part.Resources) - { - if (res.resourceName == "ElectricCharge" && res.amount > 0) res.amount -= numCrew * ECFactor * elapsed / tanks; - if (res.amount < 0) res.amount = 0; - } - } - - return true; - } - - /// Converts consumption rate into /s /m /hour and returns a formate string. - /// The rate. - /// RateString="Rate" - private static string RateString(double rate) - { - // double rate = double.Parse(value.value); - string sfx = "/s"; - if (rate <= 0.004444444f) - { - rate *= 3600; - sfx = "/h"; - } - else if (rate < 0.2666667f) - { - rate *= 60; - sfx = "/m"; - } - // limit decimal places to 10 and add sfx - //return String.Format(FuelRateFormat, Rate, sfx); - return rate.ToString("###.#####") + " EC" + sfx; - } - /// Module information shown in editors - private string info = string.Empty; - - public override string GetInfo() - { - //? this is what is show in the editor - //? As annoying as it is, pre-parsing the config MUST be done here, because this is called during part loading. - //? The config is only fully parsed after everything is fully loaded (which is why it's in OnStart()) - if (info == string.Empty) - { - info += Localizer.Format("#FieldTrainingFacility_manu"); // #FieldTrainingFacility_manu = Kerbalnaut Training Industries, Inc. - info += "\n v" + Version.Text; // FTF Version Number text - info += "\n" + Localizer.Format("#FieldTrainingFacility_desc"); // #FieldTrainingFacility_desc = Train Kerbals using time and Electric Charge - info += "\n\nRequires: \n - " + Localizer.Format("#autoLOC_252004"); // #autoLOC_252004 = ElectricCharge - info += ": \n - Per Crew: " + RateString(ECFactor) + " "; - info += ": \n - Max Crew: " + RateString(maxCrew * ECFactor) + ""; - } - // #autoLOC_252004 = ElectricCharge - // #FieldTrainingFacility_titl = FieldTrainingFacility - // #FieldTrainingFacility_manu = Kerbalnaut Training Industries, Inc. - // #FieldTrainingFacility_desc = Train Kerbals using time and Electric Charge - return info; - } - } -} diff --git a/Source/InstallChecker.cs b/Source/InstallChecker.cs deleted file mode 100644 index 4d46f99..0000000 --- a/Source/InstallChecker.cs +++ /dev/null @@ -1,103 +0,0 @@ -/* - * InstallChecker.cs - * version 2.0.0.0 -*/ - -/** - * Based on the InstallChecker from the Kethane mod for Kerbal Space Program. - * /~https://github.com/Majiir/Kethane/blob/b93b1171ec42b4be6c44b257ad31c7efd7ea1702/Plugin/InstallChecker.cs - * - * Original is (C) Copyright Majiir. - * CC0 Public Domain (http://creativecommons.org/publicdomain/zero/1.0/) - * http://forum.kerbalspaceprogram.com/threads/65395-CompatibilityChecker-Discussion-Thread?p=899895&viewfull=1#post899895 - * - * This file has been modified extensively and is released under the same license. - */ -using System; -using System.IO; -using System.Linq; -using System.Reflection; -using UnityEngine; - -namespace FieldTrainingFacility -{ - [KSPAddon(KSPAddon.Startup.Instantly, true)] - internal class Startup : MonoBehaviour - { - private void Start() - { - string v = "n/a"; - AssemblyTitleAttribute attributes = (AssemblyTitleAttribute)Attribute.GetCustomAttribute(Assembly.GetExecutingAssembly(), typeof(AssemblyTitleAttribute), false); - string title = attributes?.Title; - if (title == null) - { - title = "TitleNotAvailable"; - } - v = Assembly.GetExecutingAssembly().FullName; - if (v == null) - { - v = "VersionNotAvailable"; - } - Debug.Log("[" + title + "] Version " + v); - } - } - - [KSPAddon(KSPAddon.Startup.MainMenu, true)] - internal class InstallChecker : MonoBehaviour - { - internal const string MODNAME = "Field Training Facility"; - internal const string FOLDERNAME = "FieldTrainingFacility"; - internal const string EXPECTEDPATH = FOLDERNAME + "/Plugins"; - - protected void Start() - { - // Search for this mod's DLL existing in the wrong location. This will also detect duplicate copies because only one can be in the right place. - var assemblies = AssemblyLoader.loadedAssemblies.Where(a => a.assembly.GetName().Name == Assembly.GetExecutingAssembly().GetName().Name).Where(a => a.url != EXPECTEDPATH); - if (assemblies.Any()) - { - var badPaths = assemblies.Select(a => a.path).Select(p => Uri.UnescapeDataString(new Uri(Path.GetFullPath(KSPUtil.ApplicationRootPath)).MakeRelativeUri(new Uri(p)).ToString().Replace('/', Path.DirectorySeparatorChar))); - PopupDialog.SpawnPopupDialog - ( - new Vector2(0.5f, 0.5f), - new Vector2(0.5f, 0.5f), - "test", - "Incorrect " + MODNAME + " Installation", - MODNAME + " has been installed incorrectly and will not function properly. All files should be located in KSP/GameData/" + FOLDERNAME + ". Do not move any files from inside that folder.\n\nIncorrect path(s):\n" + String.Join("\n", badPaths.ToArray()), - "OK", - false, - HighLogic.UISkin - ); - Debug.Log("Incorrect " + MODNAME + " Installation: " + MODNAME + " has been installed incorrectly and will not function properly. All files should be located in KSP/GameData/" + EXPECTEDPATH + ". Do not move any files from inside that folder.\n\nIncorrect path(s):\n" + String.Join("\n", badPaths.ToArray()) - - ); - - } - - //// Check for Module Manager - //if (!AssemblyLoader.loadedAssemblies.Any(a => a.assembly.GetName().Name.StartsWith("ModuleManager") && a.url == "")) - //{ - // PopupDialog.SpawnPopupDialog("Missing Module Manager", - // modName + " requires the Module Manager mod in order to function properly.\n\nPlease download from http://forum.kerbalspaceprogram.com/threads/55219 and copy to the KSP/GameData/ directory.", - // "OK", false, HighLogic.Skin); - //} - - CleanupOldVersions(); - } - - /* - * Tries to fix the install if it was installed over the top of a previous version - */ - void CleanupOldVersions() - { - try - { - } - catch (Exception ex) - { - Debug.LogError("-ERROR- " + this.GetType().FullName + "[" + this.GetInstanceID().ToString("X") + "][" + Time.time.ToString("0.00") + "]: " + - "Exception caught while cleaning up old files.\n" + ex.Message + "\n" + ex.StackTrace); - - } - } - } -} \ No newline at end of file diff --git a/Source/Log.cs b/Source/Log.cs deleted file mode 100644 index 375d358..0000000 --- a/Source/Log.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.Linq; -using System.Text; -using UnityEngine; - -namespace FieldTrainingFacility -{ - class Log - { - /// - /// sends the specific message to ingame mail and screen if Debug is defined - /// For debugging use only. - /// - /// The MSG. - /// The parameters. - [ConditionalAttribute("DEBUG")] - internal static void dbg(string msg, params object[] @params) - { - if (0 != @params.Length) msg = string.Format(msg, @params); - ScreenMessages.PostScreenMessage(msg, 1, ScreenMessageStyle.UPPER_CENTER, true); - //Logg.Info(msg); - //? UnityEngine.Debug.Log("[FTL: FieldTrainingFacility] " + msg); - } - } -} diff --git a/Source/Properties/AssemblyInfo.cs b/Source/Properties/AssemblyInfo.cs deleted file mode 100644 index b987d84..0000000 --- a/Source/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -[assembly: AssemblyTitle("Field Training Facility (FTL)")] -[assembly: AssemblyDescription("Train Kerbals using time and Electric Charge for Kerbal Space Program")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Kerbalnaut Training Industries, Inc.")] -[assembly: AssemblyProduct("Field Training Facility (FTL)")] -[assembly: AssemblyCopyright("Copyright © 2016 Efour")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -[assembly: ComVisible(false)] -[assembly: Guid("f1e7665d-05fe-4267-85e8-fda6d510628e")] -[assembly: AssemblyInformationalVersionAttribute("Train Kerbals using time and Electric Charge for Kerbal Space Program")] -// [assembly: AssemblyVersion("1.0.*")] -// [assembly: AssemblyFileVersion("1.0.3.4")] diff --git a/Source/Properties/AssemblyVersion.cs b/Source/Properties/AssemblyVersion.cs deleted file mode 100644 index 648a387..0000000 --- a/Source/Properties/AssemblyVersion.cs +++ /dev/null @@ -1,10 +0,0 @@ - - - // This code was generated by a tool. Any changes made manually will be lost - // the next time this code is regenerated. - // - - using System.Reflection; - - [assembly: AssemblyFileVersion("1.2.0.0")] - [assembly: AssemblyVersion("1.2.0.0")] diff --git a/Source/Properties/AssemblyVersion.tt b/Source/Properties/AssemblyVersion.tt deleted file mode 100644 index 9116941..0000000 --- a/Source/Properties/AssemblyVersion.tt +++ /dev/null @@ -1,114 +0,0 @@ -<# -/* - * AssemblyVersion.tt - * 1.1.0.1 -*/ - - /* This file is licensed under the Do What the F* You Want to Public License ( http://www.wtfpl.net ) - * by zer0Kerbal. - * - * You are allowed to copy, modify and use this file unrestrictedly. :) - */ -#> - -<#@ template debug="false" hostspecific="true" language="C#" #> -<#@ import namespace="System.IO" #> -<#@ output extension=".cs" #> - -<# - - // Instructions - // 1. Add a new Text Template to the project - // 2. Copy this file into the new template - // 3. Update the string: versionfile with the complete path to the .version file - // 4. Remove the following lines from the file AssemblyInfo.cs (usually located in the "Property" folder inside your C# project): - // [assembly: AssemblyVersion("1.0.0.0")] - // [assembly: AssemblyFileVersion("1.0.0.0")] - // 5. Add the following to the PreBuild steps: - // set textTemplatingPath="%CommonProgramFiles(x86)%\Microsoft Shared\TextTemplating\$(VisualStudioVersion)\texttransform.exe" - // - // if %textTemplatingPath%=="\Microsoft Shared\TextTemplating\$(VisualStudioVersion)\texttransform.exe" set textTemplatingPath="%CommonProgramFiles%\Microsoft Shared\TextTemplating\$(VisualStudioVersion)\texttransform.exe" - // - // %textTemplatingPath% "$(ProjectDir)AssemblyFileVersion.tt" - - // - // Update the following with mod name as listed on the .version file - // - string PROJECT_NAME = "FieldTrainingFacility"; - - int major = 0; - int minor = 0; - int build = 0; - int patch = 0; - bool versionSection = false; - - int i = 0; - int i2 = 0; - string s; - - - string versionfile = this.Host.ResolvePath("../../" + PROJECT_NAME + ".version"); - - if (!File.Exists(versionfile)) - { - Write("File: " + versionfile + " missing\n"); - } - - try - { - foreach (var line in File.ReadAllLines(versionfile)) - { - if (line != null) - { - if (!versionSection) - { - if (line.Contains("\"VERSION\"")) - versionSection = true; - } - else - { - if (line.Contains("}")) - versionSection = false; - i = line.IndexOf(":"); - i2 = line.IndexOf(","); - if (i2 == -1) - i2 = line.Length; - if (i >= 0 && i2 >= 0) - { - s = line.Substring(i + 1, i2 - i - 1); - - if (line.Contains("MAJOR")) - Int32.TryParse(s, out major); - - if (line.Contains("MINOR")) - Int32.TryParse(s, out minor); - - if (line.Contains("PATCH")) - Int32.TryParse(s, out patch); - - if (line.Contains("BUILD")) - Int32.TryParse(s, out build); - } - } - } - } - - } - catch - { - major = 1; - minor = 0; - patch = 0; - build = 0; - } - //Write("File done"); - - #> - // This code was generated by a tool. Any changes made manually will be lost - // the next time this code is regenerated. - // - - using System.Reflection; - - [assembly: AssemblyFileVersion("<#= major #>.<#= minor #>.<#= patch #>.<#= build #>")] - [assembly: AssemblyVersion("<#= major #>.<#= minor #>.<#= patch #>.<#= build #>")] diff --git a/Source/Properties/Version.cs b/Source/Properties/Version.cs deleted file mode 100644 index 31462b0..0000000 --- a/Source/Properties/Version.cs +++ /dev/null @@ -1,19 +0,0 @@ - - -// Automatically generated code. Any changes will be lost! -namespace FieldTrainingFacility -{ - public static class Version - { - public const int major = 1; - public const int minor = 2; - public const int patch = 0; - public const int build = 0; - public const string Number = "1.2.0.0"; -#if DEBUG - public const string Text = Number + " DEBUG"; -#else - public const string Text = Number + ""; -#endif - } -} diff --git a/Source/Properties/Version.tt b/Source/Properties/Version.tt deleted file mode 100644 index 76b3558..0000000 --- a/Source/Properties/Version.tt +++ /dev/null @@ -1,101 +0,0 @@ -<# -/* - * Version.tt - * 1.1.0.0 -*/ - -/* This file is licensed under the Do What the F* You Want to Public License ( http://www.wtfpl.net ) - * by LisiasT. http://ksp.lisias.net - * - * You are allowed to copy, modify and use this file unrestrictedly. :) - */ -#> - -<# // from https://docs.microsoft.com/en-us/visualstudio/modeling/walkthrough-generating-code-by-using-text-templates?view=vs-2017 #> -<#@ template debug="false" hostspecific="true" language="C#" #> -<#@ output extension=".cs" #> -<#@ import namespace="System.IO" #> -<# - // - // Update the following with mod name as listed on the .version file - // - string PROJECT_NAME = "FieldTrainingFacility"; - int major = 0; - int minor = 0; - int patch = 0; - int build = 0; - - try - { - string file = this.Host.ResolvePath("../../" + PROJECT_NAME + ".version"); - string text = File.ReadAllText(file); - - { - int i = text.IndexOf("\"VERSION\"", System.StringComparison.Ordinal); - int j = text.IndexOf("}", i + 1, System.StringComparison.Ordinal); - text = text.Substring(i, j-i+1); - } - - try - { - int i = text.IndexOf("\"MAJOR\"", System.StringComparison.Ordinal); - while (!Char.IsNumber(text[i])) ++i; - int j = i; - while (Char.IsNumber(text[j])) ++j; - Int32.TryParse(text.Substring(i,j-i), out major); - } - catch { } - - try - { - int i = text.IndexOf("\"MINOR\"", System.StringComparison.Ordinal); - while (!Char.IsNumber(text[i])) ++i; - int j = i; - while (Char.IsNumber(text[j])) ++j; - Int32.TryParse(text.Substring(i,j-i), out minor); - } - catch { } - - try - { - int i = text.IndexOf("\"PATCH\"", System.StringComparison.Ordinal); - while (!Char.IsNumber(text[i])) ++i; - int j = i; - while (Char.IsNumber(text[j])) ++j; - Int32.TryParse(text.Substring(i,j-i), out patch); - } - catch { } - - try - { - int i = text.IndexOf("\"BUILD\"", System.StringComparison.Ordinal); - while (!Char.IsNumber(text[i])) ++i; - int j = i; - while (Char.IsNumber(text[j])) ++j; - Int32.TryParse(text.Substring(i,j-i), out build); - } - catch { } - } - catch (Exception e) - { - Write("Error: " + e.Message); - } -#> - -// Automatically generated code. Any changes will be lost! -namespace <#= PROJECT_NAME #> -{ - public static class Version - { - public const int major = <#= major #>; - public const int minor = <#= minor #>; - public const int patch = <#= patch #>; - public const int build = <#= build #>; - public const string Number = "<#= major #>.<#= minor #>.<#= patch #>.<#= build #>"; -#if DEBUG - public const string Text = Number + " DEBUG"; -#else - public const string Text = Number + ""; -#endif - } -} diff --git a/Source/Settings.cs b/Source/Settings.cs deleted file mode 100644 index 6574302..0000000 --- a/Source/Settings.cs +++ /dev/null @@ -1,180 +0,0 @@ -/*using System; -using System.Collections; -using System.Collections.Generic; -using System.Reflection; -using UnityEngine; -using KSP.Localization; - -// This will add a tab to the Stock Settings in the Difficulty settings called "On Demand Fuel Cells" -// To use, reference the setting using the following: -// -// HighLogic.CurrentGame.Parameters.CustomParams().needsECtoStart -// -// As it is set up, the option is disabled, so in order to enable it, the player would have -// to deliberately go in and change it -// -namespace FieldTrainingFacility -{ - // http://forum.kerbalspaceprogram.com/index.php?/topic/147576-modders-notes-for-ksp-12/#comment-2754813 - // search for "Mod integration into Stock Settings - - public class ODFC_Options : GameParameters.CustomParameterNode - { - public override string Title { get { return "[WIP] Field Training Facility Settings"; } } - public override GameParameters.GameMode GameMode { get { return GameParameters.GameMode.ANY; } } - public override string Section { get { return "[WIP] Field Training"; } } - public override string DisplaySection { get { return "[WIP] Field Training"; } } - public override int SectionOrder { get { return 2; } } - - - [GameParameters.CustomParameterUI("Enable the Field Training Facility?", - toolTip = "Field Training Facilities are enabled if set to yes.", - newGameOnly = false, - unlockedDuringMission = true)] - public bool enable = true; - - [GameParameters.CustomStringParameterUI("Payment Label", - toolTip = "Science/Reputation/Funds", - autoPersistance = true, - lines = 2, - title = "How would you like to pay for your kerbal training?", - unlockedDuringMission = true)] - public string UIstring = ""; - - /// require science points - /// to gain experience - [GameParameters.CustomParameterUI("Require Science Points to advance", - toolTip = "If enabled, requires expending Science points to gain experience.", - newGameOnly = false, - unlockedDuringMission = true)] - public bool requireSciencePoints = true; - - /// number of science points per - /// experience point - [GameParameters.CustomFloatParameterUI("Science : Experience", - toolTip = "Ratio of Science Points per Experience Point.", - newGameOnly = false, - unlockedDuringMission = true, - minValue = 0.0f, - maxValue = 100.0f, - stepCount = 1)] - public double costScience = 20.0f; - - /// require Reputation - /// to gain experience - [GameParameters.CustomParameterUI("Require Reputation to advance", - toolTip = "If enabled, requires expending Reputation to gain experience.", - newGameOnly = false, - unlockedDuringMission = true)] - public bool requireReputationPoints = false; - - /// number of Reputation per - /// experience point - [GameParameters.CustomFloatParameterUI("Reputation : Experience", - toolTip = "Ratio of Reputation per Experience Point.", - newGameOnly = false, - unlockedDuringMission = true, - minValue = 0.0f, - maxValue = 50.0f)] - public double costReputation = 0.1f; - - /// require Funds - /// to gain experience - [GameParameters.CustomParameterUI("Require Funds to advance", - toolTip = "If enabled, requires expending Funds to gain experience.", - newGameOnly = false, - unlockedDuringMission = true)] - public bool requireFunds = false; - - /// amount of Funds per - /// experience point - [GameParameters.CustomFloatParameterUI("Funds : Experience", - toolTip = "Ratio of Funds per Experience Point.", - newGameOnly = false, - unlockedDuringMission = true, - minValue = 0.0f, - maxValue = 5000.0f, - stepCount = 1)] - public double costFunds = 1000f; - - [GameParameters.CustomParameterUI("KSPMail", - toolTip = "Recieve a colorful Joyntmail announcing graduation to a new rank?.", - newGameOnly = false, - unlockedDuringMission = true)] - public bool KSPMail = true; - - [GameParameters.CustomParameterUI("PAW Color", - toolTip = "allow color coding in Field Training Lab PAW (part action window) / RMB (right menu button).", - newGameOnly = false, - unlockedDuringMission = true)] - public bool coloredPAW = true; - - // If you want to have some of the game settings default to enabled, change - // the "if false" to "if true" and set the values as you like - - -#if true - public override bool HasPresets { get { return true; } } - public override void SetDifficultyPreset(GameParameters.Preset preset) - { - Debug.Log("Setting difficulty preset"); - switch (preset) - { - case GameParameters.Preset.Easy: - enable = true; - requireSciencePoints = true; - requireReputationPoints = false; - requireFunds = false; - costScience = 15; - costFunds = 100; - costReputation = .1; - // autoSwitch = true; - break; - - case GameParameters.Preset.Normal: - enable = true; - requireSciencePoints = true; - requireFunds = true; - requireReputationPoints = false; - costScience = 20; - costFunds = 1000; - costReputation = 1; - // autoSwitch = true; - break; - - case GameParameters.Preset.Moderate: - enable = true; - requireSciencePoints = true; - requireFunds = true; - requireReputationPoints = true; - costScience = 25; - costFunds = 1000; - costReputation = 1.5; - //autoSwitch = true; - break; - - case GameParameters.Preset.Hard: - enable = false; - requireSciencePoints = true; - requireFunds = true; - requireReputationPoints = true; - costScience = 30; - costFunds = 1000; - costReputation = 2.0; - //autoSwitch = false; - break; - } - } - -#else - public override bool HasPresets { get { return false; } } - public override void SetDifficultyPreset(GameParameters.Preset preset) { } -#endif - - public override bool Enabled(MemberInfo member, GameParameters parameters) { return true; } - public override bool Interactible(MemberInfo member, GameParameters parameters) { return true; } - public override IList ValidValues(MemberInfo member) { return null; } - } -} - - */ \ No newline at end of file diff --git a/Source/UpgradeLog.htm b/Source/UpgradeLog.htm deleted file mode 100644 index fb690ec7e1a0fd535ad07d27f0e8c96be9416529..0000000000000000000000000000000000000000 GIT binary patch literal 0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>nHZE{tjR^=2$a1r##raY>18azuM}@F{@H~F6A6cT)@lx>)@reO67j;$17WY z+0xIF{O!@XKm@Dtc3-w2sR2Jm>GO=z5R+O4$7Xo(XKr8KXnXoSGSh1*H-7l8oSo#^^YrNt#ze+ z724geb9<*w-hW4V$bX~g|8VTzP}H|@P=5Q2GTCay_}bwX*0%ls+33CTX*@r;72sp1 zTgvP#0>l1aMXl0zjSsyI`%J%S#(LG-uB}4}PwAf>x7|_y=VE8JDwf7>*4cR2Gv_7Zn^z2ptTcaGL-aEEP zO?z{ktfY1m$)bh0yhv7{=;pe4+lW%li*-z6B+3m}JLZMm1&+$$iOOBqLmXb3gFbgv zhGrYlio2_hs>k3?&`XV@qQl2i{t&$0l9h>b@gcC1`HMD3dt>N9D|P0_w#m_Kq|Ue5 zUw7LQE+7v*t?u{pl;C$YWmz;@;`TA!CS=;YeC@p=b;k?!tNzp0I_Y^eH&HEVzF%q8 zSjwwsVQg))x9)B3_L82pl--W=QX@3@n!I?$E$uu!*FTepUT?7_xwubAT9hQOG%7R; z5Upw7k+fcSTl!=@QSJK=+GG^Rr4h!B(GX&ny!`Ogw_-gXLr(%FL1RRDuyJXdbe9Z- zP10KCJRV_&fBSnI{U6vD6q5h| From 6f35824ad26114ecfc3bb2bc114bf96ec01b4854 Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 20:37:06 -0500 Subject: [PATCH 17/60] rename Source --> source :open_file_folder: --- source/FieldTrainingFacility.csproj | 101 ++++++ source/FieldTrainingFacility.sln | 25 ++ source/FieldTrainingFacilityModule.cs | 426 ++++++++++++++++++++++++++ source/Properties/AssemblyInfo.cs | 18 ++ source/Properties/AssemblyVersion.cs | 10 + source/Properties/AssemblyVersion.tt | 114 +++++++ source/Properties/Version.cs | 19 ++ source/Properties/Version.tt | 101 ++++++ source/Settings.cs | 180 +++++++++++ 9 files changed, 994 insertions(+) create mode 100644 source/FieldTrainingFacility.csproj create mode 100644 source/FieldTrainingFacility.sln create mode 100644 source/FieldTrainingFacilityModule.cs create mode 100644 source/Properties/AssemblyInfo.cs create mode 100644 source/Properties/AssemblyVersion.cs create mode 100644 source/Properties/AssemblyVersion.tt create mode 100644 source/Properties/Version.cs create mode 100644 source/Properties/Version.tt create mode 100644 source/Settings.cs diff --git a/source/FieldTrainingFacility.csproj b/source/FieldTrainingFacility.csproj new file mode 100644 index 0000000..d2cd9d4 --- /dev/null +++ b/source/FieldTrainingFacility.csproj @@ -0,0 +1,101 @@ + + + + + Debug + AnyCPU + {F1E7665D-05FE-4267-85E8-FDA6D510628E} + Library + Properties + FieldTrainingFacility + FieldTrainingFacility + v4.8 + 512 + + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + none + true + bin\Release\ + TRACE + prompt + 4 + false + + + + False + + + False + + + + + + + + + + + + + + + + True + True + AssemblyVersion.tt + + + True + True + Version.tt + + + + + + + + + TextTemplatingFileGenerator + AssemblyVersion.cs + + + TextTemplatingFileGenerator + Version.cs + + + + + + + + + + + cmd /d C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\texttransform.exe "$(ProjectDir)Properties\Version.tt" + cmd /d C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\texttransform.exe "$(ProjectDir)Properties\AssemblyFileVersion.tt" + + + + start /D $(ProjectDir)..\ /WAIT _deploy.bat $(TargetDir) $(TargetFileName) +if $(ConfigurationName) == Release start /D $(ProjectDir)..\ /WAIT _buildRelease.bat $(TargetDir) $(TargetFileName) + + + \ No newline at end of file diff --git a/source/FieldTrainingFacility.sln b/source/FieldTrainingFacility.sln new file mode 100644 index 0000000..feb0025 --- /dev/null +++ b/source/FieldTrainingFacility.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.29806.167 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FieldTrainingFacility191", "FieldTrainingFacility191.csproj", "{F1E7665D-05FE-4267-85E8-FDA6D510628E}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F1E7665D-05FE-4267-85E8-FDA6D510628E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F1E7665D-05FE-4267-85E8-FDA6D510628E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F1E7665D-05FE-4267-85E8-FDA6D510628E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F1E7665D-05FE-4267-85E8-FDA6D510628E}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {DB3A5793-F99D-49BF-9D41-8392AC3779D3} + EndGlobalSection +EndGlobal diff --git a/source/FieldTrainingFacilityModule.cs b/source/FieldTrainingFacilityModule.cs new file mode 100644 index 0000000..92a3615 --- /dev/null +++ b/source/FieldTrainingFacilityModule.cs @@ -0,0 +1,426 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using UnityEngine; +using KSP; +using KSPAssets; +using KSP.Localization; +using System.Web.UI.WebControls.WebParts; + +namespace FieldTrainingFacility +{ + public class FieldTrainingFacility : PartModule + { + string[] trainingArr = + { + "", + "Training1", + "Training2", + "Training3", + "Training4", + "Training5" + }; + + string[] crewListArr = + { + "BoardKerbal0", + "BoardKerbal1", + "BoardKerbal2", + "BoardKerbal3", + "BoardKerbal4", + "BoardKerbal5", + "BoardKerbal6", + "BoardKerbal7" + }; + + float[] levelUpExpTable = { 2, 6, 8, 16, 32, 0 }; + + string[] levelNumber = { "null", "1st", "2nd", "3rd", "4th", "5th" }; + + ProtoCrewMember[] crewArr = new ProtoCrewMember[8]; + int crewCnt = 0, + maxCrew = 0; + + [KSPField] + public float TimeFactor = 426 * 6 * 60 * 60; // 1Year = 426day, 1day = 6hour, 1hour = 60minutes, 1min = 60sec + + [KSPField] + public float ECFactor = 4; + + [KSPField] + public float SpaceFactor = 4f; + + [KSPField] + public float LandedFactor = 6f; + + [KSPField(isPersistant = true, guiActive = true, guiName = "Training Status", groupName = "Training", groupDisplayName = "Training Facility " + Version.Text, groupStartCollapsed = true)] + public bool TrainingStatus = false; + + [KSPField(isPersistant = true)] + public double LastTimeSigniture = -1; + + [KSPEvent(guiActive = true, guiName = "Start Training", groupName = "Training")] + public void ToggleTraining() + { + if(TrainingStatus == false) + { + TrainingStatus = true; + LastTimeSigniture = Planetarium.GetUniversalTime(); + Events["ToggleTraining"].guiName = "Stop Training"; + } + else stopTraining(); + } + + [KSPField(guiActive = false, groupName = "Training")] + public string BoardKerbal0; + [KSPField(guiActive = false, groupName = "Training")] + public string BoardKerbal1; + [KSPField(guiActive = false, groupName = "Training")] + public string BoardKerbal2; + [KSPField(guiActive = false, groupName = "Training")] + public string BoardKerbal3; + [KSPField(guiActive = false, groupName = "Training")] + public string BoardKerbal4; + [KSPField(guiActive = false, groupName = "Training")] + public string BoardKerbal5; + [KSPField(guiActive = false, groupName = "Training")] + public string BoardKerbal6; + [KSPField(guiActive = false, groupName = "Training")] + public string BoardKerbal7; + + public override void OnLoad(ConfigNode node) + { + base.OnLoad(node); + + if(TrainingStatus == true) Events["ToggleTraining"].guiName = "Stop Training"; + maxCrew = part.CrewCapacity; + } + + public void FixedUpdate() + { + if (TrainingStatus == true) + { + if (consumeEC(crewCnt, TimeWarp.fixedDeltaTime) == false) + { + stopTraining(); + ScreenMessages.PostScreenMessage("Electric Charge Depleted. Stopping Training."); + } + } + + base.OnFixedUpdate(); + } + + public override void OnUpdate() + { + if (TrainingStatus == true) + { + double nowTime = Planetarium.GetUniversalTime(); + string[] expStrArr = new string[8]; + int index = 0; + + foreach (ProtoCrewMember crew in part.protoModuleCrew) + { + if (index >= crewArr.Length) break; + + crewArr[index] = crew; + expStrArr[index] = ""; + + int crewLevel = getCrewTrainedLevel(crew); + if (crewLevel < 5) + { + // calculating exp section + double exp = getKerbalTrainingExp(crew); + exp += calculateExp(vessel, nowTime - LastTimeSigniture); + + // crew leveling section + if (getCrewTrainedLevel(crew) == 0 && exp > TimeFactor * levelUpExpTable[0] / 64) + { + setCrewTrainingLevel(crew, 1); + exp -= TimeFactor * levelUpExpTable[0] / 64; + } + if (getCrewTrainedLevel(crew) == 1 && exp > TimeFactor * levelUpExpTable[1] / 64) + { + setCrewTrainingLevel(crew, 2); + exp -= TimeFactor * levelUpExpTable[1] / 64; + } + if (getCrewTrainedLevel(crew) == 2 && exp > TimeFactor * levelUpExpTable[2] / 64) + { + setCrewTrainingLevel(crew, 3); + exp -= TimeFactor * levelUpExpTable[2] / 64; + } + if (getCrewTrainedLevel(crew) == 3 && exp > TimeFactor * levelUpExpTable[3] / 64) + { + setCrewTrainingLevel(crew, 4); + exp -= TimeFactor * levelUpExpTable[3] / 64; + } + if (getCrewTrainedLevel(crew) == 4 && exp > TimeFactor * levelUpExpTable[4] / 64) + { + setCrewTrainingLevel(crew, 5); + exp -= TimeFactor * levelUpExpTable[4] / 64; + } + + if (getCrewTrainedLevel(crew) < 5) + { + setKerbalTrainingExp(crew, exp); + expStrArr[index] = " (" + (exp * 100 / (TimeFactor * levelUpExpTable[crewLevel] / 64)).ToString("F2") + "%)"; + } + else removeKerbalTrainingExp(crew); + } + + Fields[crewListArr[index]].guiName = "Lv" + getCrewTrainedLevel(crew); + Fields[crewListArr[index]].guiActive = true; + + index++; + } + + // save crew number + crewCnt = index; + + // reset unused spaces + for (; index < crewArr.Length; index++) + { + Fields[crewListArr[index]].guiActive = false; + crewArr[index] = null; + } + + BoardKerbal0 = (crewArr[0] != null ? crewArr[0].name + expStrArr[0] : ""); + BoardKerbal1 = (crewArr[1] != null ? crewArr[1].name + expStrArr[1] : ""); + BoardKerbal2 = (crewArr[2] != null ? crewArr[2].name + expStrArr[2] : ""); + BoardKerbal3 = (crewArr[3] != null ? crewArr[3].name + expStrArr[3] : ""); + BoardKerbal4 = (crewArr[4] != null ? crewArr[4].name + expStrArr[4] : ""); + BoardKerbal5 = (crewArr[5] != null ? crewArr[5].name + expStrArr[5] : ""); + BoardKerbal6 = (crewArr[6] != null ? crewArr[6].name + expStrArr[6] : ""); + BoardKerbal7 = (crewArr[7] != null ? crewArr[7].name + expStrArr[7] : ""); + + LastTimeSigniture = Planetarium.GetUniversalTime(); + } + else + { + string[] expStrArr = new string[8]; + int index = 0; + + foreach (ProtoCrewMember crew in part.protoModuleCrew) + { + if (index >= crewArr.Length) break; + + crewArr[index] = crew; + expStrArr[index] = ""; + + int crewLevel = getCrewTrainedLevel(crew); + if (crewLevel < 5) + { + // calculating exp section + double exp = getKerbalTrainingExp(crew); + + if (getCrewTrainedLevel(crew) < 5) + { + setKerbalTrainingExp(crew, exp); + expStrArr[index] = " (" + (exp * 100 / (TimeFactor * levelUpExpTable[crewLevel] / 64)).ToString("F2") + "%)"; + } + else removeKerbalTrainingExp(crew); + } + + Fields[crewListArr[index]].guiName = "Lv" + getCrewTrainedLevel(crew); + Fields[crewListArr[index]].guiActive = true; + + index++; + } + + // reset unused spaces + for (; index < crewArr.Length; index++) + { + Fields[crewListArr[index]].guiActive = false; + crewArr[index] = null; + } + + BoardKerbal0 = (crewArr[0] != null ? crewArr[0].name + expStrArr[0] : ""); + BoardKerbal1 = (crewArr[1] != null ? crewArr[1].name + expStrArr[1] : ""); + BoardKerbal2 = (crewArr[2] != null ? crewArr[2].name + expStrArr[2] : ""); + BoardKerbal3 = (crewArr[3] != null ? crewArr[3].name + expStrArr[3] : ""); + BoardKerbal4 = (crewArr[4] != null ? crewArr[4].name + expStrArr[4] : ""); + BoardKerbal5 = (crewArr[5] != null ? crewArr[5].name + expStrArr[5] : ""); + BoardKerbal6 = (crewArr[6] != null ? crewArr[6].name + expStrArr[6] : ""); + BoardKerbal7 = (crewArr[7] != null ? crewArr[7].name + expStrArr[7] : ""); + } + + base.OnUpdate(); + } + + private void stopTraining() + { + TrainingStatus = false; + + BoardKerbal0 = ""; + BoardKerbal1 = ""; + BoardKerbal2 = ""; + BoardKerbal3 = ""; + BoardKerbal4 = ""; + BoardKerbal5 = ""; + BoardKerbal6 = ""; + BoardKerbal7 = ""; + + for (int index = 0; index < crewListArr.Length; index++) Fields[crewListArr[index]].guiActive = false; + + Events["ToggleTraining"].guiName = "Start Training"; + } + + private int getCrewTrainedLevel(ProtoCrewMember crew) + { + int lastLog = 0; + FlightLog totalLog = crew.careerLog.CreateCopy(); + totalLog.MergeWith(crew.flightLog.CreateCopy()); + + int deadFlight = -1; + foreach (FlightLog.Entry entry in totalLog.Entries) + { + if (entry.flight <= deadFlight) continue; + if (entry.type == "Die") deadFlight = entry.flight; + } + foreach (FlightLog.Entry entry in totalLog.Entries) + { + if (entry.flight <= deadFlight) continue; + if (lastLog < 1 && entry.type == "Training1") lastLog = 1; + if (lastLog < 2 && entry.type == "Training2") lastLog = 2; + if (lastLog < 3 && entry.type == "Training3") lastLog = 3; + if (lastLog < 4 && entry.type == "Training4") lastLog = 4; + if (lastLog < 5 && entry.type == "Training5") lastLog = 5; + } + + return lastLog; + } + + private void setCrewTrainingLevel(ProtoCrewMember crew, int level) + { + crew.flightLog.AddEntry(new FlightLog.Entry(crew.flightLog.Flight, trainingArr[level], "Kerbin")); + ScreenMessages.PostScreenMessage(levelNumber[level] + " Training Complete : " + crew.name); + } + + private double getKerbalTrainingExp(ProtoCrewMember crew) + { + string lastExpStr = "0"; + + FlightLog totalLog = crew.careerLog.CreateCopy(); + totalLog.MergeWith(crew.flightLog.CreateCopy()); + + int deadFlight = -1; + foreach (FlightLog.Entry entry in totalLog.Entries) + { + if (entry.flight <= deadFlight) continue; + if (entry.type == "Die") deadFlight = entry.flight; + } + + foreach (FlightLog.Entry entry in totalLog.Entries) + { + if (entry.type == "TrainingExp") + { + if (entry.flight <= deadFlight) removeKerbalTrainingExp(crew); + else lastExpStr = entry.target; + } + } + + return double.Parse(lastExpStr); + } + + private void removeKerbalTrainingExp(ProtoCrewMember crew) + { + foreach (FlightLog.Entry entry in crew.careerLog.Entries.ToArray()) + if (entry.type == "TrainingExp") + crew.careerLog.Entries.Remove(entry); + foreach (FlightLog.Entry entry in crew.flightLog.Entries.ToArray()) + if (entry.type == "TrainingExp") + crew.flightLog.Entries.Remove(entry); + } + + private void setKerbalTrainingExp(ProtoCrewMember crew, double exp) + { + removeKerbalTrainingExp(crew); + + crew.flightLog.Entries.Add(new FlightLog.Entry(crew.flightLog.Flight, "TrainingExp", exp.ToString())); + } + + private double calculateExp(Vessel vessel, double elapsed) + { + if (this.vessel.mainBody.bodyName == "Kerbin" && this.vessel.LandedOrSplashed) return elapsed; + else if (this.vessel.LandedOrSplashed) return elapsed * LandedFactor; + else return elapsed * SpaceFactor; + } + + public bool consumeEC(int numCrew, double elapsed) + { + if (CheatOptions.InfiniteElectricity == true) return true; + + double ec = 0; + int tanks = 0; + foreach (Part part in vessel.parts) + { + foreach (PartResource res in part.Resources) + { + if (res.resourceName == "ElectricCharge" && res.amount > 0) + { + ec += res.amount; + tanks++; + } + } + } + + if (tanks == 0 || ec <= 0) return false; + + foreach (Part part in vessel.parts) + { + foreach (PartResource res in part.Resources) + { + if (res.resourceName == "ElectricCharge" && res.amount > 0) res.amount -= numCrew * ECFactor * elapsed / tanks; + if (res.amount < 0) res.amount = 0; + } + } + + return true; + } + + /// Converts consumption rate into /s /m /hour and returns a formate string. + /// The rate. + /// RateString="Rate" + private static string RateString(double rate) + { + // double rate = double.Parse(value.value); + string sfx = "/s"; + if (rate <= 0.004444444f) + { + rate *= 3600; + sfx = "/h"; + } + else if (rate < 0.2666667f) + { + rate *= 60; + sfx = "/m"; + } + // limit decimal places to 10 and add sfx + //return String.Format(FuelRateFormat, Rate, sfx); + return rate.ToString("###.#####") + " EC" + sfx; + } + /// Module information shown in editors + private string info = string.Empty; + + public override string GetInfo() + { + //? this is what is show in the editor + //? As annoying as it is, pre-parsing the config MUST be done here, because this is called during part loading. + //? The config is only fully parsed after everything is fully loaded (which is why it's in OnStart()) + if (info == string.Empty) + { + info += Localizer.Format("#FieldTrainingFacility_manu"); // #FieldTrainingFacility_manu = Kerbalnaut Training Industries, Inc. + info += "\n v" + Version.Text; // FTF Version Number text + info += "\n" + Localizer.Format("#FieldTrainingFacility_desc"); // #FieldTrainingFacility_desc = Train Kerbals using time and Electric Charge + info += "\n\nRequires: \n - " + Localizer.Format("#autoLOC_252004"); // #autoLOC_252004 = ElectricCharge + info += ": \n - Per Crew: " + RateString(ECFactor) + " "; + info += ": \n - Max Crew: " + RateString(maxCrew * ECFactor) + ""; + } + // #autoLOC_252004 = ElectricCharge + // #FieldTrainingFacility_titl = FieldTrainingFacility + // #FieldTrainingFacility_manu = Kerbalnaut Training Industries, Inc. + // #FieldTrainingFacility_desc = Train Kerbals using time and Electric Charge + return info; + } + } +} diff --git a/source/Properties/AssemblyInfo.cs b/source/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..b987d84 --- /dev/null +++ b/source/Properties/AssemblyInfo.cs @@ -0,0 +1,18 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +[assembly: AssemblyTitle("Field Training Facility (FTL)")] +[assembly: AssemblyDescription("Train Kerbals using time and Electric Charge for Kerbal Space Program")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Kerbalnaut Training Industries, Inc.")] +[assembly: AssemblyProduct("Field Training Facility (FTL)")] +[assembly: AssemblyCopyright("Copyright © 2016 Efour")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +[assembly: ComVisible(false)] +[assembly: Guid("f1e7665d-05fe-4267-85e8-fda6d510628e")] +[assembly: AssemblyInformationalVersionAttribute("Train Kerbals using time and Electric Charge for Kerbal Space Program")] +// [assembly: AssemblyVersion("1.0.*")] +// [assembly: AssemblyFileVersion("1.0.3.4")] diff --git a/source/Properties/AssemblyVersion.cs b/source/Properties/AssemblyVersion.cs new file mode 100644 index 0000000..648a387 --- /dev/null +++ b/source/Properties/AssemblyVersion.cs @@ -0,0 +1,10 @@ + + + // This code was generated by a tool. Any changes made manually will be lost + // the next time this code is regenerated. + // + + using System.Reflection; + + [assembly: AssemblyFileVersion("1.2.0.0")] + [assembly: AssemblyVersion("1.2.0.0")] diff --git a/source/Properties/AssemblyVersion.tt b/source/Properties/AssemblyVersion.tt new file mode 100644 index 0000000..9116941 --- /dev/null +++ b/source/Properties/AssemblyVersion.tt @@ -0,0 +1,114 @@ +<# +/* + * AssemblyVersion.tt + * 1.1.0.1 +*/ + + /* This file is licensed under the Do What the F* You Want to Public License ( http://www.wtfpl.net ) + * by zer0Kerbal. + * + * You are allowed to copy, modify and use this file unrestrictedly. :) + */ +#> + +<#@ template debug="false" hostspecific="true" language="C#" #> +<#@ import namespace="System.IO" #> +<#@ output extension=".cs" #> + +<# + + // Instructions + // 1. Add a new Text Template to the project + // 2. Copy this file into the new template + // 3. Update the string: versionfile with the complete path to the .version file + // 4. Remove the following lines from the file AssemblyInfo.cs (usually located in the "Property" folder inside your C# project): + // [assembly: AssemblyVersion("1.0.0.0")] + // [assembly: AssemblyFileVersion("1.0.0.0")] + // 5. Add the following to the PreBuild steps: + // set textTemplatingPath="%CommonProgramFiles(x86)%\Microsoft Shared\TextTemplating\$(VisualStudioVersion)\texttransform.exe" + // + // if %textTemplatingPath%=="\Microsoft Shared\TextTemplating\$(VisualStudioVersion)\texttransform.exe" set textTemplatingPath="%CommonProgramFiles%\Microsoft Shared\TextTemplating\$(VisualStudioVersion)\texttransform.exe" + // + // %textTemplatingPath% "$(ProjectDir)AssemblyFileVersion.tt" + + // + // Update the following with mod name as listed on the .version file + // + string PROJECT_NAME = "FieldTrainingFacility"; + + int major = 0; + int minor = 0; + int build = 0; + int patch = 0; + bool versionSection = false; + + int i = 0; + int i2 = 0; + string s; + + + string versionfile = this.Host.ResolvePath("../../" + PROJECT_NAME + ".version"); + + if (!File.Exists(versionfile)) + { + Write("File: " + versionfile + " missing\n"); + } + + try + { + foreach (var line in File.ReadAllLines(versionfile)) + { + if (line != null) + { + if (!versionSection) + { + if (line.Contains("\"VERSION\"")) + versionSection = true; + } + else + { + if (line.Contains("}")) + versionSection = false; + i = line.IndexOf(":"); + i2 = line.IndexOf(","); + if (i2 == -1) + i2 = line.Length; + if (i >= 0 && i2 >= 0) + { + s = line.Substring(i + 1, i2 - i - 1); + + if (line.Contains("MAJOR")) + Int32.TryParse(s, out major); + + if (line.Contains("MINOR")) + Int32.TryParse(s, out minor); + + if (line.Contains("PATCH")) + Int32.TryParse(s, out patch); + + if (line.Contains("BUILD")) + Int32.TryParse(s, out build); + } + } + } + } + + } + catch + { + major = 1; + minor = 0; + patch = 0; + build = 0; + } + //Write("File done"); + + #> + // This code was generated by a tool. Any changes made manually will be lost + // the next time this code is regenerated. + // + + using System.Reflection; + + [assembly: AssemblyFileVersion("<#= major #>.<#= minor #>.<#= patch #>.<#= build #>")] + [assembly: AssemblyVersion("<#= major #>.<#= minor #>.<#= patch #>.<#= build #>")] diff --git a/source/Properties/Version.cs b/source/Properties/Version.cs new file mode 100644 index 0000000..31462b0 --- /dev/null +++ b/source/Properties/Version.cs @@ -0,0 +1,19 @@ + + +// Automatically generated code. Any changes will be lost! +namespace FieldTrainingFacility +{ + public static class Version + { + public const int major = 1; + public const int minor = 2; + public const int patch = 0; + public const int build = 0; + public const string Number = "1.2.0.0"; +#if DEBUG + public const string Text = Number + " DEBUG"; +#else + public const string Text = Number + ""; +#endif + } +} diff --git a/source/Properties/Version.tt b/source/Properties/Version.tt new file mode 100644 index 0000000..76b3558 --- /dev/null +++ b/source/Properties/Version.tt @@ -0,0 +1,101 @@ +<# +/* + * Version.tt + * 1.1.0.0 +*/ + +/* This file is licensed under the Do What the F* You Want to Public License ( http://www.wtfpl.net ) + * by LisiasT. http://ksp.lisias.net + * + * You are allowed to copy, modify and use this file unrestrictedly. :) + */ +#> + +<# // from https://docs.microsoft.com/en-us/visualstudio/modeling/walkthrough-generating-code-by-using-text-templates?view=vs-2017 #> +<#@ template debug="false" hostspecific="true" language="C#" #> +<#@ output extension=".cs" #> +<#@ import namespace="System.IO" #> +<# + // + // Update the following with mod name as listed on the .version file + // + string PROJECT_NAME = "FieldTrainingFacility"; + int major = 0; + int minor = 0; + int patch = 0; + int build = 0; + + try + { + string file = this.Host.ResolvePath("../../" + PROJECT_NAME + ".version"); + string text = File.ReadAllText(file); + + { + int i = text.IndexOf("\"VERSION\"", System.StringComparison.Ordinal); + int j = text.IndexOf("}", i + 1, System.StringComparison.Ordinal); + text = text.Substring(i, j-i+1); + } + + try + { + int i = text.IndexOf("\"MAJOR\"", System.StringComparison.Ordinal); + while (!Char.IsNumber(text[i])) ++i; + int j = i; + while (Char.IsNumber(text[j])) ++j; + Int32.TryParse(text.Substring(i,j-i), out major); + } + catch { } + + try + { + int i = text.IndexOf("\"MINOR\"", System.StringComparison.Ordinal); + while (!Char.IsNumber(text[i])) ++i; + int j = i; + while (Char.IsNumber(text[j])) ++j; + Int32.TryParse(text.Substring(i,j-i), out minor); + } + catch { } + + try + { + int i = text.IndexOf("\"PATCH\"", System.StringComparison.Ordinal); + while (!Char.IsNumber(text[i])) ++i; + int j = i; + while (Char.IsNumber(text[j])) ++j; + Int32.TryParse(text.Substring(i,j-i), out patch); + } + catch { } + + try + { + int i = text.IndexOf("\"BUILD\"", System.StringComparison.Ordinal); + while (!Char.IsNumber(text[i])) ++i; + int j = i; + while (Char.IsNumber(text[j])) ++j; + Int32.TryParse(text.Substring(i,j-i), out build); + } + catch { } + } + catch (Exception e) + { + Write("Error: " + e.Message); + } +#> + +// Automatically generated code. Any changes will be lost! +namespace <#= PROJECT_NAME #> +{ + public static class Version + { + public const int major = <#= major #>; + public const int minor = <#= minor #>; + public const int patch = <#= patch #>; + public const int build = <#= build #>; + public const string Number = "<#= major #>.<#= minor #>.<#= patch #>.<#= build #>"; +#if DEBUG + public const string Text = Number + " DEBUG"; +#else + public const string Text = Number + ""; +#endif + } +} diff --git a/source/Settings.cs b/source/Settings.cs new file mode 100644 index 0000000..6574302 --- /dev/null +++ b/source/Settings.cs @@ -0,0 +1,180 @@ +/*using System; +using System.Collections; +using System.Collections.Generic; +using System.Reflection; +using UnityEngine; +using KSP.Localization; + +// This will add a tab to the Stock Settings in the Difficulty settings called "On Demand Fuel Cells" +// To use, reference the setting using the following: +// +// HighLogic.CurrentGame.Parameters.CustomParams().needsECtoStart +// +// As it is set up, the option is disabled, so in order to enable it, the player would have +// to deliberately go in and change it +// +namespace FieldTrainingFacility +{ + // http://forum.kerbalspaceprogram.com/index.php?/topic/147576-modders-notes-for-ksp-12/#comment-2754813 + // search for "Mod integration into Stock Settings + + public class ODFC_Options : GameParameters.CustomParameterNode + { + public override string Title { get { return "[WIP] Field Training Facility Settings"; } } + public override GameParameters.GameMode GameMode { get { return GameParameters.GameMode.ANY; } } + public override string Section { get { return "[WIP] Field Training"; } } + public override string DisplaySection { get { return "[WIP] Field Training"; } } + public override int SectionOrder { get { return 2; } } + + + [GameParameters.CustomParameterUI("Enable the Field Training Facility?", + toolTip = "Field Training Facilities are enabled if set to yes.", + newGameOnly = false, + unlockedDuringMission = true)] + public bool enable = true; + + [GameParameters.CustomStringParameterUI("Payment Label", + toolTip = "Science/Reputation/Funds", + autoPersistance = true, + lines = 2, + title = "How would you like to pay for your kerbal training?", + unlockedDuringMission = true)] + public string UIstring = ""; + + /// require science points + /// to gain experience + [GameParameters.CustomParameterUI("Require Science Points to advance", + toolTip = "If enabled, requires expending Science points to gain experience.", + newGameOnly = false, + unlockedDuringMission = true)] + public bool requireSciencePoints = true; + + /// number of science points per + /// experience point + [GameParameters.CustomFloatParameterUI("Science : Experience", + toolTip = "Ratio of Science Points per Experience Point.", + newGameOnly = false, + unlockedDuringMission = true, + minValue = 0.0f, + maxValue = 100.0f, + stepCount = 1)] + public double costScience = 20.0f; + + /// require Reputation + /// to gain experience + [GameParameters.CustomParameterUI("Require Reputation to advance", + toolTip = "If enabled, requires expending Reputation to gain experience.", + newGameOnly = false, + unlockedDuringMission = true)] + public bool requireReputationPoints = false; + + /// number of Reputation per + /// experience point + [GameParameters.CustomFloatParameterUI("Reputation : Experience", + toolTip = "Ratio of Reputation per Experience Point.", + newGameOnly = false, + unlockedDuringMission = true, + minValue = 0.0f, + maxValue = 50.0f)] + public double costReputation = 0.1f; + + /// require Funds + /// to gain experience + [GameParameters.CustomParameterUI("Require Funds to advance", + toolTip = "If enabled, requires expending Funds to gain experience.", + newGameOnly = false, + unlockedDuringMission = true)] + public bool requireFunds = false; + + /// amount of Funds per + /// experience point + [GameParameters.CustomFloatParameterUI("Funds : Experience", + toolTip = "Ratio of Funds per Experience Point.", + newGameOnly = false, + unlockedDuringMission = true, + minValue = 0.0f, + maxValue = 5000.0f, + stepCount = 1)] + public double costFunds = 1000f; + + [GameParameters.CustomParameterUI("KSPMail", + toolTip = "Recieve a colorful Joyntmail announcing graduation to a new rank?.", + newGameOnly = false, + unlockedDuringMission = true)] + public bool KSPMail = true; + + [GameParameters.CustomParameterUI("PAW Color", + toolTip = "allow color coding in Field Training Lab PAW (part action window) / RMB (right menu button).", + newGameOnly = false, + unlockedDuringMission = true)] + public bool coloredPAW = true; + + // If you want to have some of the game settings default to enabled, change + // the "if false" to "if true" and set the values as you like + + +#if true + public override bool HasPresets { get { return true; } } + public override void SetDifficultyPreset(GameParameters.Preset preset) + { + Debug.Log("Setting difficulty preset"); + switch (preset) + { + case GameParameters.Preset.Easy: + enable = true; + requireSciencePoints = true; + requireReputationPoints = false; + requireFunds = false; + costScience = 15; + costFunds = 100; + costReputation = .1; + // autoSwitch = true; + break; + + case GameParameters.Preset.Normal: + enable = true; + requireSciencePoints = true; + requireFunds = true; + requireReputationPoints = false; + costScience = 20; + costFunds = 1000; + costReputation = 1; + // autoSwitch = true; + break; + + case GameParameters.Preset.Moderate: + enable = true; + requireSciencePoints = true; + requireFunds = true; + requireReputationPoints = true; + costScience = 25; + costFunds = 1000; + costReputation = 1.5; + //autoSwitch = true; + break; + + case GameParameters.Preset.Hard: + enable = false; + requireSciencePoints = true; + requireFunds = true; + requireReputationPoints = true; + costScience = 30; + costFunds = 1000; + costReputation = 2.0; + //autoSwitch = false; + break; + } + } + +#else + public override bool HasPresets { get { return false; } } + public override void SetDifficultyPreset(GameParameters.Preset preset) { } +#endif + + public override bool Enabled(MemberInfo member, GameParameters parameters) { return true; } + public override bool Interactible(MemberInfo member, GameParameters parameters) { return true; } + public override IList ValidValues(MemberInfo member) { return null; } + } +} + + */ \ No newline at end of file From f25d88e39402c0587cfb24dd71206e556723d8c4 Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 20:47:27 -0500 Subject: [PATCH 18/60] Update FieldTrainingFacility.csproj --- source/FieldTrainingFacility.csproj | 95 ++++++++++++++++------------- 1 file changed, 53 insertions(+), 42 deletions(-) diff --git a/source/FieldTrainingFacility.csproj b/source/FieldTrainingFacility.csproj index d2cd9d4..a31d488 100644 --- a/source/FieldTrainingFacility.csproj +++ b/source/FieldTrainingFacility.csproj @@ -1,41 +1,54 @@  - + Debug AnyCPU {F1E7665D-05FE-4267-85E8-FDA6D510628E} Library - Properties - FieldTrainingFacility + false FieldTrainingFacility - v4.8 + + v4.6.1 512 + true + latest> true full false - bin\Debug\ + ..\GameData\FieldTrainingFacility\Plugins\ DEBUG;TRACE prompt 4 + false + false + anycpu - none + embedded true - bin\Release\ + ..\GameData\FieldTrainingFacility\Plugins\ TRACE prompt 4 false + anycpu + false - + + False + + + False + + False - + False @@ -47,55 +60,53 @@ - - + - - True - True - AssemblyVersion.tt - True True Version.tt - - - - - - TextTemplatingFileGenerator - AssemblyVersion.cs - TextTemplatingFileGenerator Version.cs - - - - - - + + + + + - - cmd /d C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\texttransform.exe "$(ProjectDir)Properties\Version.tt" - cmd /d C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\texttransform.exe "$(ProjectDir)Properties\AssemblyFileVersion.tt" - + "$(DevEnvDir)\TextTransform.exe" "$(ProjectDir)Properties\Version.tt" + - start /D $(ProjectDir)..\ /WAIT _deploy.bat $(TargetDir) $(TargetFileName) -if $(ConfigurationName) == Release start /D $(ProjectDir)..\ /WAIT _buildRelease.bat $(TargetDir) $(TargetFileName) + +set K112=$(K112) +IF "%25K112%25"=="" ( + ECHO Configuration error - K112 not specified in project. + ECHO Either set K100 environment variable + PAUSE + rem GOTO DONE +) +start /D $(ProjectDir)..\ /WAIT _deploy.bat $(TargetDir) $(TargetFileName) +if $(ConfigurationName) == Release start /D $(ProjectDir)..\ /WAIT _buildRelease.bat $(TargetDir) $(TargetFileName) +del $(TargetDir)\*.tmp +:DONE + - + + + + + + + + + + \ No newline at end of file From bb0735904c12a35533553ee5f3d0be5e0d62ada9 Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 20:47:30 -0500 Subject: [PATCH 19/60] Update FieldTrainingFacility.sln --- source/FieldTrainingFacility.sln | 45 ++++++++++++++++++++++++++++---- 1 file changed, 40 insertions(+), 5 deletions(-) diff --git a/source/FieldTrainingFacility.sln b/source/FieldTrainingFacility.sln index feb0025..6f6fc94 100644 --- a/source/FieldTrainingFacility.sln +++ b/source/FieldTrainingFacility.sln @@ -1,9 +1,8 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.29806.167 +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.2.32526.322 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FieldTrainingFacility191", "FieldTrainingFacility191.csproj", "{F1E7665D-05FE-4267-85E8-FDA6D510628E}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FieldTrainingFacility", "FieldTrainingFacility.csproj", "{F1E7665D-05FE-4267-85E8-FDA6D510628E}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -18,6 +17,42 @@ Global EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE + Policies = $0 + $0.TextStylePolicy = $1 + $1.inheritsSet = null + $1.scope = text/x-csharp + $0.CSharpFormattingPolicy = $2 + $2.IndentSwitchBody = True + $2.AnonymousMethodBraceStyle = NextLine + $2.PropertyBraceStyle = NextLine + $2.PropertyGetBraceStyle = NextLine + $2.PropertySetBraceStyle = NextLine + $2.EventBraceStyle = NextLine + $2.EventAddBraceStyle = NextLine + $2.EventRemoveBraceStyle = NextLine + $2.StatementBraceStyle = NextLine + $2.ElseNewLinePlacement = NewLine + $2.CatchNewLinePlacement = NewLine + $2.FinallyNewLinePlacement = NewLine + $2.WhileNewLinePlacement = DoNotCare + $2.ArrayInitializerWrapping = DoNotChange + $2.ArrayInitializerBraceStyle = NextLine + $2.BeforeMethodDeclarationParentheses = False + $2.BeforeMethodCallParentheses = False + $2.BeforeConstructorDeclarationParentheses = False + $2.BeforeDelegateDeclarationParentheses = False + $2.NewParentheses = False + $2.SpacesBeforeBrackets = False + $2.inheritsSet = Mono + $2.inheritsScope = text/x-csharp + $2.scope = text/x-csharp + $0.TextStylePolicy = $3 + $3.inheritsSet = VisualStudio + $3.inheritsScope = text/plain + $3.scope = text/plain + $0.StandardHeader = $4 + $4.Text = + $4.IncludeInNewFiles = True EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {DB3A5793-F99D-49BF-9D41-8392AC3779D3} From 2fad42274419b2f49141593313edf9f00fca71be Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 23:12:07 -0500 Subject: [PATCH 20/60] Update FieldTrainingFacilityModule.cs --- source/FieldTrainingFacilityModule.cs | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/source/FieldTrainingFacilityModule.cs b/source/FieldTrainingFacilityModule.cs index 92a3615..78e27b4 100644 --- a/source/FieldTrainingFacilityModule.cs +++ b/source/FieldTrainingFacilityModule.cs @@ -1,4 +1,23 @@ -using System; +/* Field Training Facility (FTF) + * Kerbals gain experience (stars) using time and electric charge. For Kerbal Space Program. + * Copyright (C) 2016 EFour + * Copyright (C) 2019, 2022 zer0Kerbal (zer0Kerbal at hotmail dot com) + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . +*/ + +using System; using System.Collections.Generic; using System.Linq; using System.Text; From 18b323c63f52347109873e0000941455822b6a49 Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 23:12:10 -0500 Subject: [PATCH 21/60] Update AssemblyInfo.cs --- source/Properties/AssemblyInfo.cs | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/source/Properties/AssemblyInfo.cs b/source/Properties/AssemblyInfo.cs index b987d84..d0fad60 100644 --- a/source/Properties/AssemblyInfo.cs +++ b/source/Properties/AssemblyInfo.cs @@ -1,18 +1,34 @@ -using System.Reflection; +/* Field Training Facility (FTF) + * Kerbals gain experience (stars) using time and electric charge. For Kerbal Space Program. + * Copyright (C) 2016 EFour + * Copyright (C) 2019, 2022 zer0Kerbal (zer0Kerbal at hotmail dot com) + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . +*/ + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -[assembly: AssemblyTitle("Field Training Facility (FTL)")] -[assembly: AssemblyDescription("Train Kerbals using time and Electric Charge for Kerbal Space Program")] +[assembly: AssemblyTitle("Field Training Facility (FTF)")] +[assembly: AssemblyDescription("Train Kerbals using time and Electric Charge, for Kerbal Space Program")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Kerbalnaut Training Industries, Inc.")] [assembly: AssemblyProduct("Field Training Facility (FTL)")] -[assembly: AssemblyCopyright("Copyright © 2016 Efour")] +[assembly: AssemblyCopyright("Copyright (c) 2016 Efour (c) 2019, 2022 zer0Kerbal")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: ComVisible(false)] [assembly: Guid("f1e7665d-05fe-4267-85e8-fda6d510628e")] -[assembly: AssemblyInformationalVersionAttribute("Train Kerbals using time and Electric Charge for Kerbal Space Program")] -// [assembly: AssemblyVersion("1.0.*")] -// [assembly: AssemblyFileVersion("1.0.3.4")] From 887e6633154d6c3893883185219381779558f6af Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 23:12:12 -0500 Subject: [PATCH 22/60] Delete AssemblyVersion.cs --- source/Properties/AssemblyVersion.cs | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 source/Properties/AssemblyVersion.cs diff --git a/source/Properties/AssemblyVersion.cs b/source/Properties/AssemblyVersion.cs deleted file mode 100644 index 648a387..0000000 --- a/source/Properties/AssemblyVersion.cs +++ /dev/null @@ -1,10 +0,0 @@ - - - // This code was generated by a tool. Any changes made manually will be lost - // the next time this code is regenerated. - // - - using System.Reflection; - - [assembly: AssemblyFileVersion("1.2.0.0")] - [assembly: AssemblyVersion("1.2.0.0")] From 4504054e1b6ec92cdad91012a1d7b07cd808eced Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 23:12:15 -0500 Subject: [PATCH 23/60] Delete AssemblyVersion.tt --- source/Properties/AssemblyVersion.tt | 114 --------------------------- 1 file changed, 114 deletions(-) delete mode 100644 source/Properties/AssemblyVersion.tt diff --git a/source/Properties/AssemblyVersion.tt b/source/Properties/AssemblyVersion.tt deleted file mode 100644 index 9116941..0000000 --- a/source/Properties/AssemblyVersion.tt +++ /dev/null @@ -1,114 +0,0 @@ -<# -/* - * AssemblyVersion.tt - * 1.1.0.1 -*/ - - /* This file is licensed under the Do What the F* You Want to Public License ( http://www.wtfpl.net ) - * by zer0Kerbal. - * - * You are allowed to copy, modify and use this file unrestrictedly. :) - */ -#> - -<#@ template debug="false" hostspecific="true" language="C#" #> -<#@ import namespace="System.IO" #> -<#@ output extension=".cs" #> - -<# - - // Instructions - // 1. Add a new Text Template to the project - // 2. Copy this file into the new template - // 3. Update the string: versionfile with the complete path to the .version file - // 4. Remove the following lines from the file AssemblyInfo.cs (usually located in the "Property" folder inside your C# project): - // [assembly: AssemblyVersion("1.0.0.0")] - // [assembly: AssemblyFileVersion("1.0.0.0")] - // 5. Add the following to the PreBuild steps: - // set textTemplatingPath="%CommonProgramFiles(x86)%\Microsoft Shared\TextTemplating\$(VisualStudioVersion)\texttransform.exe" - // - // if %textTemplatingPath%=="\Microsoft Shared\TextTemplating\$(VisualStudioVersion)\texttransform.exe" set textTemplatingPath="%CommonProgramFiles%\Microsoft Shared\TextTemplating\$(VisualStudioVersion)\texttransform.exe" - // - // %textTemplatingPath% "$(ProjectDir)AssemblyFileVersion.tt" - - // - // Update the following with mod name as listed on the .version file - // - string PROJECT_NAME = "FieldTrainingFacility"; - - int major = 0; - int minor = 0; - int build = 0; - int patch = 0; - bool versionSection = false; - - int i = 0; - int i2 = 0; - string s; - - - string versionfile = this.Host.ResolvePath("../../" + PROJECT_NAME + ".version"); - - if (!File.Exists(versionfile)) - { - Write("File: " + versionfile + " missing\n"); - } - - try - { - foreach (var line in File.ReadAllLines(versionfile)) - { - if (line != null) - { - if (!versionSection) - { - if (line.Contains("\"VERSION\"")) - versionSection = true; - } - else - { - if (line.Contains("}")) - versionSection = false; - i = line.IndexOf(":"); - i2 = line.IndexOf(","); - if (i2 == -1) - i2 = line.Length; - if (i >= 0 && i2 >= 0) - { - s = line.Substring(i + 1, i2 - i - 1); - - if (line.Contains("MAJOR")) - Int32.TryParse(s, out major); - - if (line.Contains("MINOR")) - Int32.TryParse(s, out minor); - - if (line.Contains("PATCH")) - Int32.TryParse(s, out patch); - - if (line.Contains("BUILD")) - Int32.TryParse(s, out build); - } - } - } - } - - } - catch - { - major = 1; - minor = 0; - patch = 0; - build = 0; - } - //Write("File done"); - - #> - // This code was generated by a tool. Any changes made manually will be lost - // the next time this code is regenerated. - // - - using System.Reflection; - - [assembly: AssemblyFileVersion("<#= major #>.<#= minor #>.<#= patch #>.<#= build #>")] - [assembly: AssemblyVersion("<#= major #>.<#= minor #>.<#= patch #>.<#= build #>")] From c2ce2f57582012bcc4162963185c8b8ae1392b24 Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 23:12:18 -0500 Subject: [PATCH 24/60] Delete Version.cs --- source/Properties/Version.cs | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 source/Properties/Version.cs diff --git a/source/Properties/Version.cs b/source/Properties/Version.cs deleted file mode 100644 index 31462b0..0000000 --- a/source/Properties/Version.cs +++ /dev/null @@ -1,19 +0,0 @@ - - -// Automatically generated code. Any changes will be lost! -namespace FieldTrainingFacility -{ - public static class Version - { - public const int major = 1; - public const int minor = 2; - public const int patch = 0; - public const int build = 0; - public const string Number = "1.2.0.0"; -#if DEBUG - public const string Text = Number + " DEBUG"; -#else - public const string Text = Number + ""; -#endif - } -} From 63c0f4b110b1602b870c116b5e360bef97ca908b Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 23:12:20 -0500 Subject: [PATCH 25/60] Update Version.tt --- source/Properties/Version.tt | 211 ++++++++++++++++++++++------------- 1 file changed, 136 insertions(+), 75 deletions(-) diff --git a/source/Properties/Version.tt b/source/Properties/Version.tt index 76b3558..78aa69a 100644 --- a/source/Properties/Version.tt +++ b/source/Properties/Version.tt @@ -1,16 +1,29 @@ <# /* * Version.tt - * 1.1.0.0 + * 2.0.3.0 */ -/* This file is licensed under the Do What the F* You Want to Public License ( http://www.wtfpl.net ) - * by LisiasT. http://ksp.lisias.net - * - * You are allowed to copy, modify and use this file unrestrictedly. :) - */ -#> +/* Field Training Facility (FTF) + * Kerbals gain experience (stars) using time and electric charge. For Kerbal Space Program. + * Copyright (C) 2016 EFour + * Copyright (C) 2019, 2022 zer0Kerbal (zer0Kerbal at hotmail dot com) + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . +*/ +#> <# // from https://docs.microsoft.com/en-us/visualstudio/modeling/walkthrough-generating-code-by-using-text-templates?view=vs-2017 #> <#@ template debug="false" hostspecific="true" language="C#" #> <#@ output extension=".cs" #> @@ -19,83 +32,131 @@ // // Update the following with mod name as listed on the .version file // - string PROJECT_NAME = "FieldTrainingFacility"; - int major = 0; - int minor = 0; - int patch = 0; - int build = 0; - - try - { - string file = this.Host.ResolvePath("../../" + PROJECT_NAME + ".version"); - string text = File.ReadAllText(file); + string PROJECT_NAME = "FieldTrainingFacility"; + int major = 0; + int minor = 0; + int patch = 0; + int build = 0; + int revisionNumber; + try + { + //If we cannot find the file, the revision number is set to zero, + //so even if the file doesn't exists the generation will run anyway. + //NOTE: we suppose we're not messing with the generated file + + using(var f = File.OpenText(Host.ResolvePath("Version.cs"))) + { + //We're reading the previous revision number; in order to make the + //code as simple as we can, we're just going to rewrite it on the first row, commented. + //This is not elegant, but it's simple enough and quite effective. + string _st = f.ReadLine().Replace("//",""); + revisionNumber = int.Parse(_st) + 1; + } + }catch{ revisionNumber = 0; } + + try + { + string file = this.Host.ResolvePath("../../" + PROJECT_NAME + ".version"); + string text = File.ReadAllText(file); - { - int i = text.IndexOf("\"VERSION\"", System.StringComparison.Ordinal); - int j = text.IndexOf("}", i + 1, System.StringComparison.Ordinal); - text = text.Substring(i, j-i+1); - } + { + int i = text.IndexOf("\"VERSION\"", System.StringComparison.Ordinal); + int j = text.IndexOf("}", i + 1, System.StringComparison.Ordinal); + text = text.Substring(i, j-i+1); + } - try - { - int i = text.IndexOf("\"MAJOR\"", System.StringComparison.Ordinal); - while (!Char.IsNumber(text[i])) ++i; - int j = i; - while (Char.IsNumber(text[j])) ++j; - Int32.TryParse(text.Substring(i,j-i), out major); - } - catch { } + try + { + int i = text.IndexOf("\"MAJOR\"", System.StringComparison.Ordinal); + while (!Char.IsNumber(text[i])) ++i; + int j = i; + while (Char.IsNumber(text[j])) ++j; + Int32.TryParse(text.Substring(i,j-i), out major); + } + catch { } - try - { - int i = text.IndexOf("\"MINOR\"", System.StringComparison.Ordinal); - while (!Char.IsNumber(text[i])) ++i; - int j = i; - while (Char.IsNumber(text[j])) ++j; - Int32.TryParse(text.Substring(i,j-i), out minor); - } - catch { } + try + { + int i = text.IndexOf("\"MINOR\"", System.StringComparison.Ordinal); + while (!Char.IsNumber(text[i])) ++i; + int j = i; + while (Char.IsNumber(text[j])) ++j; + Int32.TryParse(text.Substring(i,j-i), out minor); + } + catch { } - try - { - int i = text.IndexOf("\"PATCH\"", System.StringComparison.Ordinal); - while (!Char.IsNumber(text[i])) ++i; - int j = i; - while (Char.IsNumber(text[j])) ++j; - Int32.TryParse(text.Substring(i,j-i), out patch); - } - catch { } + try + { + int i = text.IndexOf("\"PATCH\"", System.StringComparison.Ordinal); + while (!Char.IsNumber(text[i])) ++i; + int j = i; + while (Char.IsNumber(text[j])) ++j; + Int32.TryParse(text.Substring(i,j-i), out patch); + } + catch { } - try - { - int i = text.IndexOf("\"BUILD\"", System.StringComparison.Ordinal); - while (!Char.IsNumber(text[i])) ++i; - int j = i; - while (Char.IsNumber(text[j])) ++j; - Int32.TryParse(text.Substring(i,j-i), out build); - } - catch { } - } - catch (Exception e) - { - Write("Error: " + e.Message); - } + try + { + int i = text.IndexOf("\"BUILD\"", System.StringComparison.Ordinal); + while (!Char.IsNumber(text[i])) ++i; + int j = i; + while (Char.IsNumber(text[j])) ++j; + Int32.TryParse(text.Substring(i,j-i), out build); + } + catch { } + } + catch (Exception e) + { + Write("Error: " + e.Message); + } #> +//<#=revisionNumber#> +// +// This code was generated by a tool. Any changes made manually will be lost +// the next time this code is regenerated. +// +/* Field Training Lab (FTL) + * This addon adds a training center in the science laboratory. Paying science points gets kerbals experience. For Kerbal Space Program. + * Copyright (C) 2016 EFour + * Copyright (C) 2019, 2022 zer0Kerbal (zer0Kerbal at hotmail dot com) + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . +*/ + + +using System.Reflection; + +[assembly: AssemblyFileVersion("<#= major #>.<#= minor #>.<#= patch #>.<#= revisionNumber #>")] +[assembly: AssemblyVersion("<#= major #>.<#= minor #>.<#= patch #>.<#= build #>")] +[assembly: AssemblyInformationalVersion("<#= major #>.<#= minor #>.<#= patch #>")] +[assembly: KSPAssembly("<#= PROJECT_NAME #>", <#= major #>,<#= minor #>,<#= patch #>)] -// Automatically generated code. Any changes will be lost! namespace <#= PROJECT_NAME #> { - public static class Version - { - public const int major = <#= major #>; - public const int minor = <#= minor #>; - public const int patch = <#= patch #>; - public const int build = <#= build #>; - public const string Number = "<#= major #>.<#= minor #>.<#= patch #>.<#= build #>"; + public static class Version + { + public const int major = <#= major #>; + public const int minor = <#= minor #>; + public const int patch = <#= patch #>; + public const int build = <#= build #>; + public const string Number = "<#= major #>.<#= minor #>.<#= patch #>.<#= build #>"; #if DEBUG - public const string Text = Number + " DEBUG"; + public const string Text = Number + "-zed'K BETA DEBUG"; + public const string SText = Number + "-zed'K BETA DEBUG"; #else - public const string Text = Number + ""; + public const string Text = Number + "-zed'K"; + public const string SText = Number; #endif - } -} + } +} \ No newline at end of file From e0f22c4f59b91072651f8ff61535766ac4effa97 Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 23:12:22 -0500 Subject: [PATCH 26/60] Update Settings.cs --- source/Settings.cs | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/source/Settings.cs b/source/Settings.cs index 6574302..b59c244 100644 --- a/source/Settings.cs +++ b/source/Settings.cs @@ -1,4 +1,24 @@ -/*using System; +/* Field Training Facility (FTF) + * Kerbals gain experience (stars) using time and electric charge. For Kerbal Space Program. + * Copyright (C) 2016 EFour + * Copyright (C) 2019, 2022 zer0Kerbal (zer0Kerbal at hotmail dot com) + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . +*/ + + +/*using System; using System.Collections; using System.Collections.Generic; using System.Reflection; From 609d89523a18b02e647dfc55a868a988df7f77fd Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 23:12:24 -0500 Subject: [PATCH 27/60] Update changelog.md --- changelog.md | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/changelog.md b/changelog.md index 330e3bc..72b0867 100644 --- a/changelog.md +++ b/changelog.md @@ -10,6 +10,18 @@ | spacedock | (https://spacedock.info/mod/978) | | ckan | FieldTrainingFacility | +* closes #1 - modules info panels for parts in the VAB. +* closes #6 - Suggestion: Change Mod Name to make it more distinct as to what it does. +* updates #22 - Localization - Master +* closes #31 - Simplified Chinese (简体中文) +* closes #23 - English +* updates #40 - Code Localization +* closes #41 - Update License to GPLv3 +* closes #42 - Convert Changelog +* closes #43 - [Bug 🐞]: Kerbalism.cfg +* closes #44 - add docs/ + + ## Version 1.2.1.0-release - `` edition * 28 Jun 2022 @@ -80,10 +92,11 @@ ### Status * Issues - * closes #9 - Field Training Facility (FTF) 1.2.1.0-release `` - * closes #10 - 1.2.1.0 Verify Legal Mumbo Jumbo - * closes #11 - 1.2.1.0 Update Documentation - * closes #12 - 1.2.1.0 Update Social Media + * closes #16 - Update Field Training Facility (FTF) + * closes #18 - Field Training Facility (FTF) 1.2.1.0-release - `` edition + * closes #19 - 1.2.1.0 Verify Legal Mumbo Jumbo + * closes #20 - 1.2.1.0 Update Documentation + * closes #21 - 1.2.1.0 Update Social Media * Closes Duplicate Issues * #1 - Localization * #4 - :sparkles: **Localization** :sparkles: From a94d15aa4522137acbd243b97e6c3244209d5c84 Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 23:23:55 -0500 Subject: [PATCH 28/60] Update changelog.md --- changelog.md | 40 +++++++++++++++------------------------- 1 file changed, 15 insertions(+), 25 deletions(-) diff --git a/changelog.md b/changelog.md index 72b0867..d1936da 100644 --- a/changelog.md +++ b/changelog.md @@ -10,16 +10,6 @@ | spacedock | (https://spacedock.info/mod/978) | | ckan | FieldTrainingFacility | -* closes #1 - modules info panels for parts in the VAB. -* closes #6 - Suggestion: Change Mod Name to make it more distinct as to what it does. -* updates #22 - Localization - Master -* closes #31 - Simplified Chinese (简体中文) -* closes #23 - English -* updates #40 - Code Localization -* closes #41 - Update License to GPLv3 -* closes #42 - Convert Changelog -* closes #43 - [Bug 🐞]: Kerbalism.cfg -* closes #44 - add docs/ ## Version 1.2.1.0-release - `` edition @@ -31,7 +21,7 @@ * Update to GPLv3 * was Expat/MIT -* closes #32 - Update License to GPLv3 +* closes #41 - Update License to GPLv3 ### docs/ @@ -44,14 +34,13 @@ * [Notices.md] v1.0.0.0 * [Why-not.md] * [_config.yml] -* closes #2 - Needs a wiki -* closes #35 - add docs/ +* closes #44 - add docs/ ### Convert Changelog * Convert from .cfg to md * Add missing information for earlier releases -* closes #33 - Convert Changelog +* closes #42 - Convert Changelog ### Code @@ -62,6 +51,7 @@ * [AssemblyVersion.tt] * [Log.cs] * update [Version.tt]] +* closes #1 - modules info panels for parts in the VAB. ### Compatibility @@ -70,7 +60,7 @@ * Update * licenses * [Kerbalism.cfg] v1.0.1.0 - * fixes #34 - [Bug 🐞]: Kerbalism.cfg + * fixes #43 - [Bug 🐞]: Kerbalism.cfg ### Add @@ -84,10 +74,10 @@ * Add * [readme.md] v2.1.2.0 * [quickstart.md] v1.0.1.1 -* updates #14 - English -* updates #13 - Localization - Master -* updates #31 - Code Localization -* updates #22 - Simplified Chinese (简体中文) +* updates #22 - Localization - Master +* closes #23 - English +* closes #31 - Simplified Chinese (简体中文) +* updates #40 - Code Localization ### Status @@ -97,13 +87,13 @@ * closes #19 - 1.2.1.0 Verify Legal Mumbo Jumbo * closes #20 - 1.2.1.0 Update Documentation * closes #21 - 1.2.1.0 Update Social Media + * updates #6 - Suggestion: Change Mod Name to make it more distinct as to what it does. * Closes Duplicate Issues - * #1 - Localization - * #4 - :sparkles: **Localization** :sparkles: - * #5 - Localization - en-us.cfg (English) - * #6 - Localization - pt-br.cfg Brazil - * #7 - Localization - zh-cn.cfg - Simplified Chinese - * #8 - Update Field Training Facility (FTF) + * closes #10 - Localization + * closes #12 - Localization + * closes #13 - Localization - zh-cn.cfg - Simplified Chinese + * closes #14 - Localization - pt-br.cfg Brazil + * closes #15 - Localization - en-us.cfg (English) --- From 35f4a609fddff51489ea6f9fbaf24d89d39a8237 Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 23:29:19 -0500 Subject: [PATCH 29/60] Update changelog.md --- changelog.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/changelog.md b/changelog.md index d1936da..aa99000 100644 --- a/changelog.md +++ b/changelog.md @@ -10,8 +10,6 @@ | spacedock | (https://spacedock.info/mod/978) | | ckan | FieldTrainingFacility | - - ## Version 1.2.1.0-release - `` edition * 28 Jun 2022 @@ -94,6 +92,10 @@ * closes #13 - Localization - zh-cn.cfg - Simplified Chinese * closes #14 - Localization - pt-br.cfg Brazil * closes #15 - Localization - en-us.cfg (English) +* PR's + * #7 - 1.2.0.0 - contributed by zer0Kerbal + * #9 - Kerbalism Compatibility Resolves #8 - contributed by girotobial + * #17 - Simplified chinese localization - contributed by zer0Kerbal --- From 4cab5acdf3b7902fc4dc79bc8b531d178c6989d7 Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 23:39:24 -0500 Subject: [PATCH 30/60] Create Attributions.htm --- .../FieldTrainingFacility/Attributions.htm | 68 +++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 GameData/FieldTrainingFacility/Attributions.htm diff --git a/GameData/FieldTrainingFacility/Attributions.htm b/GameData/FieldTrainingFacility/Attributions.htm new file mode 100644 index 0000000..839ca93 --- /dev/null +++ b/GameData/FieldTrainingFacility/Attributions.htm @@ -0,0 +1,68 @@ + + + + +

+

Field Training Facility (FTF)

+

Home

+

Attribution

+

Credits

+ + +

Flag(s)

+ + +

Agency

+ + +

Special Thanks

+ + +

Translations

+
    +
  • English English
  • +
  • 中文 Simplified Chinese (中文)
  • thank you [@JFYoung01](/~https://github.com/JFYoung01) +
  • Additions and corrections welcome!
  • +
+ +

Art Asset(s)

+ +
+

Testing and Support

+ + + + + + + From d57675eacb8bf59d5031084fa241b5c13518a10e Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 23:39:26 -0500 Subject: [PATCH 31/60] Create changelog.md --- GameData/FieldTrainingFacility/changelog.md | 301 ++++++++++++++++++++ 1 file changed, 301 insertions(+) create mode 100644 GameData/FieldTrainingFacility/changelog.md diff --git a/GameData/FieldTrainingFacility/changelog.md b/GameData/FieldTrainingFacility/changelog.md new file mode 100644 index 0000000..aa99000 --- /dev/null +++ b/GameData/FieldTrainingFacility/changelog.md @@ -0,0 +1,301 @@ +# Changelog + +| modName | Field Training Facility (FTF) | +| ---------- | ------------------------------------------------------------------ | +| license | GPLv3 | +| author | Efour and zer0Kerbal | +| forum | (https://forum.kerbalspaceprogram.com/index.php?/topic/188841-*/) | +| github | (/~https://github.com/zer0Kerbal/zer0Kerbal/FieldTrainingFacility) | +| curseforge | (https://www.curseforge.com/kerbal/ksp-mods/FieldTrainingFacility) | +| spacedock | (https://spacedock.info/mod/978) | +| ckan | FieldTrainingFacility | + +## Version 1.2.1.0-release - `` edition + +* 28 Jun 2022 +* For Kerbal Space Program [1.12.x] + +### License + +* Update to GPLv3 + * was Expat/MIT +* closes #41 - Update License to GPLv3 + +### docs/ + +* Add + * [Attribution.md] v1.0.6.0 + * [ManualInstallation.md] v1.1.7.0 + * [404-petunia.md] + * [LegalMumboJumbo.md] v1.0.5.0 + * [Localizations.md] v1.1.3.1 + * [Notices.md] v1.0.0.0 + * [Why-not.md] + * [_config.yml] +* closes #44 - add docs/ + +### Convert Changelog + +* Convert from .cfg to md +* Add missing information for earlier releases +* closes #42 - Convert Changelog + +### Code + +* Recompile for KSP 1.12.3 +* Using .NET 4.6.1 + * remove + * [InstallChecker.cs] + * [AssemblyVersion.tt] + * [Log.cs] + * update [Version.tt]] +* closes #1 - modules info panels for parts in the VAB. + +### Compatibility + +* Rename + * Patches to Compatibility +* Update + * licenses + * [Kerbalism.cfg] v1.0.1.0 + * fixes #43 - [Bug 🐞]: Kerbalism.cfg + +### Add + +* Agent +* Flag + * 512x320 + * 64x40 truecolor_scaled + +### Localization + +* Add + * [readme.md] v2.1.2.0 + * [quickstart.md] v1.0.1.1 +* updates #22 - Localization - Master +* closes #23 - English +* closes #31 - Simplified Chinese (简体中文) +* updates #40 - Code Localization + +### Status + +* Issues + * closes #16 - Update Field Training Facility (FTF) + * closes #18 - Field Training Facility (FTF) 1.2.1.0-release - `` edition + * closes #19 - 1.2.1.0 Verify Legal Mumbo Jumbo + * closes #20 - 1.2.1.0 Update Documentation + * closes #21 - 1.2.1.0 Update Social Media + * updates #6 - Suggestion: Change Mod Name to make it more distinct as to what it does. +* Closes Duplicate Issues + * closes #10 - Localization + * closes #12 - Localization + * closes #13 - Localization - zh-cn.cfg - Simplified Chinese + * closes #14 - Localization - pt-br.cfg Brazil + * closes #15 - Localization - en-us.cfg (English) +* PR's + * #7 - 1.2.0.0 - contributed by zer0Kerbal + * #9 - Kerbalism Compatibility Resolves #8 - contributed by girotobial + * #17 - Simplified chinese localization - contributed by zer0Kerbal + +--- + +## Version 1.2.0.0 - `` + +* 05 Apr 2020 +* KSP 1.9.1 +* .NET 4.8 + +### Code + +* update + * Editor GetInfo() to be more informative + * include assembly version in PAW +* Add + * game settings page + * ***disabled for now*** + * game settings page + * global setting to enable/disable PAW color + * option to globally enable/disable + * option: use science and ratio + * option: use reputation and ratio + * option: use funds and ratio + +--- + +## Version = 1.1.0.0 - `` + +* KSP 1.8.1 with .NET 4.8 + +* isn't that enough? :D +* started adding in JoyntMail :D + +--- + +## Version = 1.0.3.5 - ` Plugins/Textures/ + +### Deployment and Backend + +* Update + * [Changelog.cfg] + * to include new Kerbal Changelog features + * [_deploy] + * [_buildRelease] + * [.gitattributes] + * [].gitignore] + * [*Readme.md] + * automated Readme.md -> Readme.htm + * Readme.htm now included in release + * Releases.layout.md +* [CONTRIBUTING.md] now included in repository +* [FieldTrainingFacility.version] to be avc compliant +* Added + * avc github checker and badge +* Added + * json's + +--- + +## Version 1.0.3.4 + +### Adoption by zer0Kerbal + +### Code + +* Added + * PAW grouping (really needed for these mods) + * a blurb in the editor getInfo{} + * [InstallChecker.cs] + +### Compatibility + +* Updated + * [FieldTrainingFacility.cfg] + * now patches all parts with moduleScienceLab + * changed the [TrainingFacility] to be [FieldTrainingFacility] + * patches reflect this +* Removed + * other patch + +--- + +## Version 1.0.3.3 + +=-- ORIGINAL (outdated) --= + +* for Kerbal Space Program 1.6.1 +* Released on 2018-12-21 + +* EFour's last release +* Recompiled 1.6.0 + +--- + +## Version 1.0.3.2 + +* for Kerbal Space Program 1.5.1 +* Released on 2018-10-30 + +* Recompiled for 1.5.1 + +--- + +## Version 1.0.3.1 + +* for Kerbal Space Program 1.3.1 +* Released on 2017-11-27 + +* Recompiled KSP 1.3.1 + +--- + +## Version 1.0.3.0 + +* for Kerbal Space Program 1.2.2 +* Released on 2016-11-03 + +* Recompiled to 1.2.1 + +--- + +## Version 1.0.2.1 + +* for Kerbal Space Program 1.2 +* Released on 2016-10-22 + +* KPBS support + +--- + +## Version 1.0.2.0 + +* for Kerbal Space Program 1.2 +* Released on 2016-10-16 + +* Calculating Dead and respawned kerbalnaut + +--- + +## Version 1.0.1.2 + +* for Kerbal Space Program 1.2 +* Released on 2016-10-12 + +* fixed Message bug + +--- + +## Version 1.0.1.1 + +* for Kerbal Space Program 1.2 +* Released on 2016-10-12 + +* removing unused log +* changed minor EC related bug + +--- + +## Version 1.0.1.0 + +* for Kerbal Space Program 1.2 +* Released on 2016-10-12 + +* Co-Work with Field Training Lab Mod +* Compat patch for 1.2 release +* Tweaked EC consuming method. + +--- + +## Version 1.0.0.1 + +* for Kerbal Space Program 1.2 +* Released on 2016-10-12 + +* No changelog provided + +--- + +## Version 1.0.0.0 + +* for Kerbal Space Program 1.1.3 +* Released on 2016-10-11 + +* No changelog provided + +--- From 53ac1666cff63fd059c22e8535e28846852bc39f Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 23:39:29 -0500 Subject: [PATCH 32/60] Create FieldTrainingFacility.version --- .../FieldTrainingFacility.version | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 GameData/FieldTrainingFacility/FieldTrainingFacility.version diff --git a/GameData/FieldTrainingFacility/FieldTrainingFacility.version b/GameData/FieldTrainingFacility/FieldTrainingFacility.version new file mode 100644 index 0000000..62db8ac --- /dev/null +++ b/GameData/FieldTrainingFacility/FieldTrainingFacility.version @@ -0,0 +1,36 @@ +{ + "NAME" : "Field Training Facility (FTF)", + "URL" : "https://raw.githubusercontent.com/zer0Kerbal/FieldTrainingFacility/master/FieldTrainingFacility.version", + "DOWNLOAD" : "/~https://github.com/zer0Kerbal/FieldTrainingFacility/releases/latest", + "CHANGE_LOG_URL" : "https://raw.githubusercontent.com/zer0Kerbal/FieldTrainingFacility/master/changelog.md", + "GITHUB" : + { + "USERNAME" : "zer0Kerbal", + "REPOSITORY" : "FieldTrainingFacility", + "ALLOW_PRE_RELEASE" : false + }, + "VERSION" : + { + "MAJOR" : 1, + "MINOR" : 2, + "PATCH" : 1, + "BUILD" : 0 + }, + "KSP_VERSION" : + { + "MAJOR" : 1, + "MINOR" : 12, + "PATCH" : 3 + }, + "KSP_VERSION_MIN" : + { + "MAJOR" : 1, + "MINOR" : 8, + "PATCH" : 1 + }, + "INSTALL_LOC" : + { + "NAME" : "FieldTrainingFacility", + "DIRECTORY" : "FieldTrainingFacility" + } +} From a8e46b4cf221d00f67e427b4c305f8ecdb17a692 Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 23:39:33 -0500 Subject: [PATCH 33/60] Create ManualInstallation.htm --- .../ManualInstallation.htm | 100 ++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 GameData/FieldTrainingFacility/ManualInstallation.htm diff --git a/GameData/FieldTrainingFacility/ManualInstallation.htm b/GameData/FieldTrainingFacility/ManualInstallation.htm new file mode 100644 index 0000000..d44f9af --- /dev/null +++ b/GameData/FieldTrainingFacility/ManualInstallation.htm @@ -0,0 +1,100 @@ + + + + +

Field Training Facility (FTF)

+

Home

+

This addon provides a Training system for your kerbalnauts by adding +a training center to all science laboratories. Training consumes Time +and Electric Charge. For Kerbal Space Program.

+

Installation Instructions

+

Using CurseForge/OverWolf +app or CKAN

+

You should be all good! (check for latest version on CurseForge)

+

If +Downloaded from CurseForge/OverWolf manual download

+

To install, place the `FieldTrainingFacility folder inside your +Kerbal Space Program's GameData folder:

+
    +
  • REMOVE ANY OLD VERSIONS OF THE PRODUCT BEFORE +INSTALLING, including any other fork: +
      +
    • Delete `<KSP_ROOT>/GameData/FieldTrainingFacility
    • +
  • +
  • Extract the package's FieldTrainingLab/ folder into +your KSP's GameData folder as follows: +
      +
    • <PACKAGE>/FieldTrainingFacility --> <KSP_ROOT>/GameData/` +
        +
      • Overwrite any preexisting folder/file(s).
      • +
    • +
    • you should end up with +`<KSP_ROOT>/GameData/FieldTrainingFacility
    • +
  • +
+

If Downloaded from +SpaceDock / GitHub / other

+

To install, place the GameData folder inside your Kerbal Space +Program folder:

+
    +
  • REMOVE ANY OLD VERSIONS OF THE PRODUCT BEFORE +INSTALLING, including any other fork: +
      +
    • Delete `<KSP_ROOT>/GameData/FieldTrainingFacility
    • +
  • +
  • Extract the package's GameData/ folder into your KSP's +root folder as follows: +
      +
    • <PACKAGE>/GameData/ --> +<KSP_ROOT> +
        +
      • Overwrite any preexisting file.
      • +
    • +
    • you should end up with +`<KSP_ROOT>/GameData/FieldTrainingFacility
    • +
  • +
+

The +following file layout must be present after installation

+
<KSP_ROOT>
+  + [GameData]
+    + [FieldTrainingLab]
+      + [Agencies]
+        ...
+      + [Compatibility]
+        ...
+      + [Contracts]
+        ...
+      + [Flags]
+        ...
+      + [Localization]
+        ...
+      + [Parts]
+        ...
+      + [Plugins]
+        ...
+      * #.#.#.#.htm
+      * changelog.md
+      * GPLv3.txt
+      * readme.htm
+      * FieldTrainingFacility.version
+    ...
+    * [Module Manager][mm] or [Module Manager /L][mml]
+  * KSP.log
+  ...
+

Dependencies

+ From 514e1458bf66ec9abf45cb3c43a2a891262a4a51 Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 23:39:35 -0500 Subject: [PATCH 34/60] Create readme.htm --- GameData/FieldTrainingFacility/readme.htm | 415 ++++++++++++++++++++++ 1 file changed, 415 insertions(+) create mode 100644 GameData/FieldTrainingFacility/readme.htm diff --git a/GameData/FieldTrainingFacility/readme.htm b/GameData/FieldTrainingFacility/readme.htm new file mode 100644 index 0000000..8f860b3 --- /dev/null +++ b/GameData/FieldTrainingFacility/readme.htm @@ -0,0 +1,415 @@ + + + + +

KSP version License
+Curseforge GitHub SpaceDock CKAN
+Pages

+

Field Training Facility (FTF)

+

This mod provides a training system (school) for your kerbalnauts by +adding a Field Training Facility into all science +laboratories.

+

Field Training Facility provides a training method that +consumes electric charge over time to earn kerbal experience +(stars).

+

By zer0Kerbal, originally by Efour

+

adopted with express permission and brought to you by +KerbSimpleCo

+FieldTrainingFacility Hero + +

Field Training Facility (FTF)

+
    +
  • If leveling up immediately is not realistic?
  • +
  • Do you think training needs time to complete?
  • +
  • then Field Training Facility will be the +answer for you.
  • +
  • The Field Training Facility (FTF) consumes Time and +Electric Charge in order to train (school) your +kerbalnauts.
  • +
+Field Training Facility Hero + +
+

And you can have both +installed

+ +

The longer you train with FTF, the less science it costs to level +immediately using the FTL.

+

For example:

+

Just using FTL, Level 4 -> Level 5 consumes 640p of Science point. +But Level 4(50% with FTF) -> Level 5 consumes just 320p of science +point. If 90% with FTF? Just pay 64p of science point or wait some more +days. you can get level 5 kerbalnaut.

+

More training means less science points needed, linearly.

+

These two addons +cooperate with each other

+

If you want one thing, you can install just one mod. If you install +both, they will cooperate and your kerbals profit!!

+

Cabin notes

+
    +
  • You can tweak values by editing the part.cfg or using a +ModuleManager patch.
  • +
  • This module can be added to other crewed parts directly or using a +ModuleManager patch.
  • +
  • The code currently only works with the first eight kerbals in a +part.
  • +
+
+

If you are in a hurry and just want to 'download' experience into +your kerbalnauts then the Field Training Lab will be the answer for +you. The Field Training Facility (FTF) consumes Science and Electric +Charge in order to train (school) your kerbalnauts.

+Field Training Facility Hero + +
+

See More

+
    +
  • Discussions and news on this mod: See Discussions or KSP Forums
  • +
  • Changelog Summary for more details of changes : See ChangeLog
  • +
  • Known Issues for more details of feature requests and known issues : +See Known Issues
  • +
  • GitHub Pages : See Pages
  • +
+
+

Youtube review by Kottabos Gaming

+

+

Help Wanted

+
+
    +
  • A logo for this and Field Training Lab addons
  • +
  • Compatibility patches
  • +
  • Have a request? Glad to have them, kindly submit through GitHub.
  • +
+
+
+

Localization

+
+
    +
  • English English
  • +
  • 中文 Simplified Chinese (中文) thank you to @JFYoung01
  • +
  • your translation here
  • +
+

HELP WANTED - See the README in the Localization folder or the +Quickstart Guide for instructions for adding or +improving translations. GitHub push is the best way to contribute. +Additions and corrections welcome!

+
+
+

Installation Directions 1

+

Use CurseForge/OverWolf App

+ + CurseForge/OverWolf App + + +
+

Whilst I agree CKAN is a great mod for those that can't use zip +tools, I take no part, nor am interested in maintaining the CKAN mod +metadata for my mods.

+

Please don't ask me about it but refer to the CKAN mod thread if you +are having issues with CKAN or the metadata it maintains. Beware, CKAN +can really mess up though it tries very, very, very +hard not to.

+
+

or CKAN

+

Dependencies

+ +

Recommends

+ +

Suggests

+ +

Supports

+ +
+

red box below is a link to forum post on how to get support

+ +

How to get support

+

Be Kind: Lithobrake, not jakebrake! Keep your Module Manager up to date

+
+ +

Credits and Special Thanks

+
    +
  • Efour for creating these glorious Kerbonaut Training +addons!
  • +
  • see Attribution.md for more comprehensive list
  • +
+ +

Current (2) - zer0Kerbal

+
+

Forum: Thread - Source: GitHub
+License: License

+
Disclaimer(s)
+

All bundled mods are distributed under their own +licenses
+All art assets (textures, models, animations, sounds) are +distributed under their own licenses

+
+ +

Author (1) - Author: zer0Kerbal

+
+

Forum: Thread - Download: CurseForge - Source: GitHub
+License: License

+
+

Original (0) - Author: Efour

+
+

Forum: Thread - Download: Dropbox - +Source: Dropbox
+License: License

+
+
+

How to +support this and other great mods by zer0Kerbal

+

Support Github Sponsor Patreon Buy zer0Kerbal a snack

+ + + + + + + + + + + + + + + + + + + + + + +
+

Connect with me

+

Track progress: issues here and projects here +along with The Short +List

+

zer0Kerbal | kerbalspaceprogram.com +zer0Kerbal | CurseForge +zer0Kerbal | reddit +zer0Kerbal | Patreon +zer0Kerbal | YouTube +zer0Kerbal | Twitch +zer0Kerbal | PayPal +zer0Kerbal | Buy Me a Coffee +zer0Kerbal | Twitter

+
+ + +
+
+
    +
  1. this isn't a mod. ;P↩︎

  2. +
  3. may work on +other versions (YMMV)↩︎

  4. +
  5. Be Kind: Lithobrake, not +jakebrake! Keep your Module Manager up to date!↩︎

  6. +
+
From 2d897f384f2b0ff86327c4b52d6d06af6d7093b6 Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 23:39:38 -0500 Subject: [PATCH 35/60] Update FieldTrainingFacility.csproj --- source/FieldTrainingFacility.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/FieldTrainingFacility.csproj b/source/FieldTrainingFacility.csproj index a31d488..9b1ae34 100644 --- a/source/FieldTrainingFacility.csproj +++ b/source/FieldTrainingFacility.csproj @@ -12,7 +12,7 @@ v4.6.1 512 true - latest> + latest From 8ffce77d9223a67415ecefb4e760756e9d00dd2a Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 23:43:15 -0500 Subject: [PATCH 36/60] Update FieldTrainingFacilityModule.cs --- source/FieldTrainingFacilityModule.cs | 87 ++++++++++++++------------- 1 file changed, 44 insertions(+), 43 deletions(-) diff --git a/source/FieldTrainingFacilityModule.cs b/source/FieldTrainingFacilityModule.cs index 78e27b4..5322020 100644 --- a/source/FieldTrainingFacilityModule.cs +++ b/source/FieldTrainingFacilityModule.cs @@ -31,7 +31,7 @@ namespace FieldTrainingFacility { public class FieldTrainingFacility : PartModule { - string[] trainingArr = + readonly string[] trainingArr = { "", "Training1", @@ -41,7 +41,7 @@ public class FieldTrainingFacility : PartModule "Training5" }; - string[] crewListArr = + readonly string[] crewListArr = { "BoardKerbal0", "BoardKerbal1", @@ -53,11 +53,11 @@ public class FieldTrainingFacility : PartModule "BoardKerbal7" }; - float[] levelUpExpTable = { 2, 6, 8, 16, 32, 0 }; + readonly float[] levelUpExpTable = { 2, 6, 8, 16, 32, 0 }; - string[] levelNumber = { "null", "1st", "2nd", "3rd", "4th", "5th" }; + readonly string[] levelNumber = { "null", "1st", "2nd", "3rd", "4th", "5th" }; - ProtoCrewMember[] crewArr = new ProtoCrewMember[8]; + readonly ProtoCrewMember[] crewArr = new ProtoCrewMember[8]; int crewCnt = 0, maxCrew = 0; @@ -73,7 +73,7 @@ public class FieldTrainingFacility : PartModule [KSPField] public float LandedFactor = 6f; - [KSPField(isPersistant = true, guiActive = true, guiName = "Training Status", groupName = "Training", groupDisplayName = "Training Facility " + Version.Text, groupStartCollapsed = true)] + [KSPField(isPersistant = true, guiActive = true, guiName = "Training Status", groupName = "Training", groupDisplayName = "Training Facility " + Version.SText, groupStartCollapsed = true)] public bool TrainingStatus = false; [KSPField(isPersistant = true)] @@ -88,7 +88,7 @@ public void ToggleTraining() LastTimeSigniture = Planetarium.GetUniversalTime(); Events["ToggleTraining"].guiName = "Stop Training"; } - else stopTraining(); + else StopTraining(); } [KSPField(guiActive = false, groupName = "Training")] @@ -120,9 +120,9 @@ public void FixedUpdate() { if (TrainingStatus == true) { - if (consumeEC(crewCnt, TimeWarp.fixedDeltaTime) == false) + if (ConsumeEC(crewCnt, TimeWarp.fixedDeltaTime) == false) { - stopTraining(); + StopTraining(); ScreenMessages.PostScreenMessage("Electric Charge Depleted. Stopping Training."); } } @@ -145,49 +145,49 @@ public override void OnUpdate() crewArr[index] = crew; expStrArr[index] = ""; - int crewLevel = getCrewTrainedLevel(crew); + int crewLevel = GetCrewTrainedLevel(crew); if (crewLevel < 5) { // calculating exp section - double exp = getKerbalTrainingExp(crew); - exp += calculateExp(vessel, nowTime - LastTimeSigniture); + double exp = GetKerbalTrainingExp(crew); + exp += CalculateExp(vessel, nowTime - LastTimeSigniture); // crew leveling section - if (getCrewTrainedLevel(crew) == 0 && exp > TimeFactor * levelUpExpTable[0] / 64) + if (GetCrewTrainedLevel(crew) == 0 && exp > TimeFactor * levelUpExpTable[0] / 64) { - setCrewTrainingLevel(crew, 1); + SetCrewTrainingLevel(crew, 1); exp -= TimeFactor * levelUpExpTable[0] / 64; } - if (getCrewTrainedLevel(crew) == 1 && exp > TimeFactor * levelUpExpTable[1] / 64) + if (GetCrewTrainedLevel(crew) == 1 && exp > TimeFactor * levelUpExpTable[1] / 64) { - setCrewTrainingLevel(crew, 2); + SetCrewTrainingLevel(crew, 2); exp -= TimeFactor * levelUpExpTable[1] / 64; } - if (getCrewTrainedLevel(crew) == 2 && exp > TimeFactor * levelUpExpTable[2] / 64) + if (GetCrewTrainedLevel(crew) == 2 && exp > TimeFactor * levelUpExpTable[2] / 64) { - setCrewTrainingLevel(crew, 3); + SetCrewTrainingLevel(crew, 3); exp -= TimeFactor * levelUpExpTable[2] / 64; } - if (getCrewTrainedLevel(crew) == 3 && exp > TimeFactor * levelUpExpTable[3] / 64) + if (GetCrewTrainedLevel(crew) == 3 && exp > TimeFactor * levelUpExpTable[3] / 64) { - setCrewTrainingLevel(crew, 4); + SetCrewTrainingLevel(crew, 4); exp -= TimeFactor * levelUpExpTable[3] / 64; } - if (getCrewTrainedLevel(crew) == 4 && exp > TimeFactor * levelUpExpTable[4] / 64) + if (GetCrewTrainedLevel(crew) == 4 && exp > TimeFactor * levelUpExpTable[4] / 64) { - setCrewTrainingLevel(crew, 5); + SetCrewTrainingLevel(crew, 5); exp -= TimeFactor * levelUpExpTable[4] / 64; } - if (getCrewTrainedLevel(crew) < 5) + if (GetCrewTrainedLevel(crew) < 5) { - setKerbalTrainingExp(crew, exp); + SetKerbalTrainingExp(crew, exp); expStrArr[index] = " (" + (exp * 100 / (TimeFactor * levelUpExpTable[crewLevel] / 64)).ToString("F2") + "%)"; } - else removeKerbalTrainingExp(crew); + else RemoveKerbalTrainingExp(crew); } - Fields[crewListArr[index]].guiName = "Lv" + getCrewTrainedLevel(crew); + Fields[crewListArr[index]].guiName = "Lv" + GetCrewTrainedLevel(crew); Fields[crewListArr[index]].guiActive = true; index++; @@ -226,21 +226,21 @@ public override void OnUpdate() crewArr[index] = crew; expStrArr[index] = ""; - int crewLevel = getCrewTrainedLevel(crew); + int crewLevel = GetCrewTrainedLevel(crew); if (crewLevel < 5) { // calculating exp section - double exp = getKerbalTrainingExp(crew); + double exp = GetKerbalTrainingExp(crew); - if (getCrewTrainedLevel(crew) < 5) + if (GetCrewTrainedLevel(crew) < 5) { - setKerbalTrainingExp(crew, exp); + SetKerbalTrainingExp(crew, exp); expStrArr[index] = " (" + (exp * 100 / (TimeFactor * levelUpExpTable[crewLevel] / 64)).ToString("F2") + "%)"; } - else removeKerbalTrainingExp(crew); + else RemoveKerbalTrainingExp(crew); } - Fields[crewListArr[index]].guiName = "Lv" + getCrewTrainedLevel(crew); + Fields[crewListArr[index]].guiName = "Lv" + GetCrewTrainedLevel(crew); Fields[crewListArr[index]].guiActive = true; index++; @@ -266,7 +266,7 @@ public override void OnUpdate() base.OnUpdate(); } - private void stopTraining() + private void StopTraining() { TrainingStatus = false; @@ -284,7 +284,8 @@ private void stopTraining() Events["ToggleTraining"].guiName = "Start Training"; } - private int getCrewTrainedLevel(ProtoCrewMember crew) + + private int GetCrewTrainedLevel(ProtoCrewMember crew) { int lastLog = 0; FlightLog totalLog = crew.careerLog.CreateCopy(); @@ -309,13 +310,13 @@ private int getCrewTrainedLevel(ProtoCrewMember crew) return lastLog; } - private void setCrewTrainingLevel(ProtoCrewMember crew, int level) + private void SetCrewTrainingLevel(ProtoCrewMember crew, int level) { crew.flightLog.AddEntry(new FlightLog.Entry(crew.flightLog.Flight, trainingArr[level], "Kerbin")); ScreenMessages.PostScreenMessage(levelNumber[level] + " Training Complete : " + crew.name); } - private double getKerbalTrainingExp(ProtoCrewMember crew) + private double GetKerbalTrainingExp(ProtoCrewMember crew) { string lastExpStr = "0"; @@ -333,7 +334,7 @@ private double getKerbalTrainingExp(ProtoCrewMember crew) { if (entry.type == "TrainingExp") { - if (entry.flight <= deadFlight) removeKerbalTrainingExp(crew); + if (entry.flight <= deadFlight) RemoveKerbalTrainingExp(crew); else lastExpStr = entry.target; } } @@ -341,7 +342,7 @@ private double getKerbalTrainingExp(ProtoCrewMember crew) return double.Parse(lastExpStr); } - private void removeKerbalTrainingExp(ProtoCrewMember crew) + private void RemoveKerbalTrainingExp(ProtoCrewMember crew) { foreach (FlightLog.Entry entry in crew.careerLog.Entries.ToArray()) if (entry.type == "TrainingExp") @@ -351,21 +352,21 @@ private void removeKerbalTrainingExp(ProtoCrewMember crew) crew.flightLog.Entries.Remove(entry); } - private void setKerbalTrainingExp(ProtoCrewMember crew, double exp) + private void SetKerbalTrainingExp(ProtoCrewMember crew, double exp) { - removeKerbalTrainingExp(crew); + RemoveKerbalTrainingExp(crew); crew.flightLog.Entries.Add(new FlightLog.Entry(crew.flightLog.Flight, "TrainingExp", exp.ToString())); } - private double calculateExp(Vessel vessel, double elapsed) + private double CalculateExp(Vessel vessel, double elapsed) { if (this.vessel.mainBody.bodyName == "Kerbin" && this.vessel.LandedOrSplashed) return elapsed; else if (this.vessel.LandedOrSplashed) return elapsed * LandedFactor; else return elapsed * SpaceFactor; } - public bool consumeEC(int numCrew, double elapsed) + public bool ConsumeEC(int numCrew, double elapsed) { if (CheatOptions.InfiniteElectricity == true) return true; @@ -429,7 +430,7 @@ public override string GetInfo() if (info == string.Empty) { info += Localizer.Format("#FieldTrainingFacility_manu"); // #FieldTrainingFacility_manu = Kerbalnaut Training Industries, Inc. - info += "\n v" + Version.Text; // FTF Version Number text + info += "\n v" + Version.SText; // FTF Version Number text info += "\n" + Localizer.Format("#FieldTrainingFacility_desc"); // #FieldTrainingFacility_desc = Train Kerbals using time and Electric Charge info += "\n\nRequires: \n - " + Localizer.Format("#autoLOC_252004"); // #autoLOC_252004 = ElectricCharge info += ": \n - Per Crew: " + RateString(ECFactor) + " "; From 21896604add8d68ead0cbb437ce1c1efe25072c8 Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 23:43:18 -0500 Subject: [PATCH 37/60] Create FieldTrainingLab.csproj --- source/FieldTrainingLab.csproj | 112 +++++++++++++++++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100644 source/FieldTrainingLab.csproj diff --git a/source/FieldTrainingLab.csproj b/source/FieldTrainingLab.csproj new file mode 100644 index 0000000..87d3c04 --- /dev/null +++ b/source/FieldTrainingLab.csproj @@ -0,0 +1,112 @@ + + + + + Debug + AnyCPU + {AD686AF3-DDDC-4991-909F-EAD9C16C469B} + Library + false + FieldTrainingLab + + v4.6.1 + 512 + true + latest + + + + true + full + false + ..\GameData\FieldTrainingLab\Plugins\ + DEBUG;TRACE + prompt + 4 + false + false + anycpu + + + embedded + true + ..\GameData\FieldTrainingLab\Plugins\ + TRACE + prompt + 4 + false + anycpu + false + + + + False + + + False + + + False + + + False + + + + + + + + + + + + + + + True + True + Version.tt + + + + + TextTemplatingFileGenerator + Version.cs + + + + + + + + + "$(DevEnvDir)\TextTransform.exe" "$(ProjectDir)Properties\Version.tt" + + + + +set K112=$(K112) +IF "%25K112%25"=="" ( + ECHO Configuration error - K112 not specified in project. + ECHO Either set K100 environment variable + PAUSE + rem GOTO DONE +) +start /D $(ProjectDir)..\ /WAIT _deploy.bat $(TargetDir) $(TargetFileName) +if $(ConfigurationName) == Release start /D $(ProjectDir)..\ /WAIT _buildRelease.bat $(TargetDir) $(TargetFileName) +del $(TargetDir)\*.tmp +:DONE + + + + + + + + + + + + + \ No newline at end of file From 3b42f612ff7af1f60cbea8d99aa70544dbe54cd2 Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 23:43:21 -0500 Subject: [PATCH 38/60] Create Version.cs --- source/Properties/Version.cs | 50 ++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 source/Properties/Version.cs diff --git a/source/Properties/Version.cs b/source/Properties/Version.cs new file mode 100644 index 0000000..60c204f --- /dev/null +++ b/source/Properties/Version.cs @@ -0,0 +1,50 @@ +//1 +// +// This code was generated by a tool. Any changes made manually will be lost +// the next time this code is regenerated. +// +/* Field Training Lab (FTL) + * This addon adds a training center in the science laboratory. Paying science points gets kerbals experience. For Kerbal Space Program. + * Copyright (C) 2016 EFour + * Copyright (C) 2019, 2022 zer0Kerbal (zer0Kerbal at hotmail dot com) + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . +*/ + + +using System.Reflection; + +[assembly: AssemblyFileVersion("1.2.1.1")] +[assembly: AssemblyVersion("1.2.1.0")] +[assembly: AssemblyInformationalVersion("1.2.1")] +[assembly: KSPAssembly("FieldTrainingFacility", 1,2,1)] + +namespace FieldTrainingFacility +{ + public static class Version + { + public const int major = 1; + public const int minor = 2; + public const int patch = 1; + public const int build = 0; + public const string Number = "1.2.1.0"; +#if DEBUG + public const string Text = Number + "-zed'K BETA DEBUG"; + public const string SText = Number + "-zed'K BETA DEBUG"; +#else + public const string Text = Number + "-zed'K"; + public const string SText = Number; +#endif + } +} \ No newline at end of file From 814669b6882d85d13ccd234fbca98945775d9076 Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 23:43:26 -0500 Subject: [PATCH 39/60] Update changelog.md --- changelog.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index aa99000..6303972 100644 --- a/changelog.md +++ b/changelog.md @@ -48,7 +48,17 @@ * [InstallChecker.cs] * [AssemblyVersion.tt] * [Log.cs] - * update [Version.tt]] + * Add readonly + * string[] trainingArr = + * string[] crewListArr = + * float[] levelUpExpTable = { 2, 6, 8, 16, 32, 0 }; + * string[] levelNumber = { "null", "1st", "2nd", "3rd", "4th", "5th" }; + * ProtoCrewMember[] crewArr = new ProtoCrewMember[8]; + * Change + * Version.Text to Version.SText + * Update + * function name capitalization + * update [Version.tt] * closes #1 - modules info panels for parts in the VAB. ### Compatibility From ad6ec65b99a6dd96411850fa9635b3c6b40d89ac Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 23:45:34 -0500 Subject: [PATCH 40/60] rename Patches --> Compatibility --- GameData/FieldTrainingFacility/1.2.1.0.htm | 226 ++++++++++++++++++ .../FieldTrainingFacility.cfg | 0 .../{Patches => Compatibility}/Kerbalsim.cfg | 0 GameData/FieldTrainingFacility/changelog.md | 12 +- 4 files changed, 237 insertions(+), 1 deletion(-) create mode 100644 GameData/FieldTrainingFacility/1.2.1.0.htm rename GameData/FieldTrainingFacility/{Patches => Compatibility}/FieldTrainingFacility.cfg (100%) rename GameData/FieldTrainingFacility/{Patches => Compatibility}/Kerbalsim.cfg (100%) diff --git a/GameData/FieldTrainingFacility/1.2.1.0.htm b/GameData/FieldTrainingFacility/1.2.1.0.htm new file mode 100644 index 0000000..92d62e8 --- /dev/null +++ b/GameData/FieldTrainingFacility/1.2.1.0.htm @@ -0,0 +1,226 @@ + + +


+KSP version
+ Pages

+

Version +1.2.1.0-release - <Clean Blackboards> edition

+
    +
  • 28 Jun 2022
  • +
  • Release for Kerbal Space Program [KSP 1.12.x]
  • +
+

+DO A CLEAN INSTALL:
DELETE EXISTING INSTALLATION THEN RE-INSTALL

Download from CurseForge

+ +

Changes

+

License

+
    +
  • Update to GPLv3 +
      +
    • was Expat/MIT
    • +
  • +
  • closes #41 - Update License to GPLv3
  • +
+

docs/

+
    +
  • Add +
      +
    • [Attribution.md] v1.0.6.0
    • +
    • [ManualInstallation.md] v1.1.7.0
    • +
    • [404-petunia.md]
    • +
    • [LegalMumboJumbo.md] v1.0.5.0
    • +
    • [Localizations.md] v1.1.3.1
    • +
    • [Notices.md] v1.0.0.0
    • +
    • [Why-not.md]
    • +
    • [_config.yml]
    • +
  • +
  • closes #44 - add docs/
  • +
+

Convert Changelog

+
    +
  • Convert from .cfg to md
  • +
  • Add missing information for earlier releases
  • +
  • closes #42 - Convert Changelog
  • +
+

Code

+
    +
  • Recompile for KSP 1.12.3
  • +
  • Using .NET 4.6.1 +
      +
    • remove +
        +
      • [InstallChecker.cs]
      • +
      • [AssemblyVersion.tt]
      • +
      • [Log.cs]
      • +
    • +
    • update [Version.tt]]
    • +
  • +
  • closes #1 - modules info panels for parts in the VAB.
  • +
+

Compatibility

+
    +
  • Rename +
      +
    • Patches to Compatibility
    • +
  • +
  • Update +
      +
    • licenses
    • +
    • [Kerbalism.cfg] v1.0.1.0 +
        +
      • fixes #43 - [Bug 🐞]: Kerbalism.cfg
      • +
    • +
  • +
+

Add

+
    +
  • Agent
  • +
  • Flag +
      +
    • 512x320
    • +
    • 64x40 truecolor_scaled
    • +
  • +
+

Localization

+
    +
  • Add +
      +
    • [readme.md] v2.1.2.0
    • +
    • [quickstart.md] v1.0.1.1
    • +
  • +
  • updates #22 - Localization - Master
  • +
  • closes #23 - English <us-en.cfg>
  • +
  • closes #31 - Simplified Chinese (简体中文) <zh-cn.cfg>
  • +
  • updates #40 - Code Localization
  • +
+

Status

+
    +
  • Issues +
      +
    • closes #16 - Update Field Training Facility (FTF)
    • +
    • closes #18 - Field Training Facility (FTF) 1.2.1.0-release - +<Clean Blackboards> edition
    • +
    • closes #19 - 1.2.1.0 Verify Legal Mumbo Jumbo
    • +
    • closes #20 - 1.2.1.0 Update Documentation
    • +
    • closes #21 - 1.2.1.0 Update Social Media
    • +
    • updates #6 - Suggestion: Change Mod Name to make it more distinct as +to what it does.
    • +
  • +
  • Closes Duplicate Issues +
      +
    • closes #10 - Localization
    • +
    • closes #12 - Localization
    • +
    • closes #13 - Localization - zh-cn.cfg - Simplified Chinese
    • +
    • closes #14 - Localization - pt-br.cfg Brazil
    • +
    • closes #15 - Localization - en-us.cfg (English)
    • +
  • +
  • PR's +
      +
    • #7 - 1.2.0.0 - contributed by zer0Kerbal
    • +
    • #9 - Kerbalism Compatibility Resolves #8 - contributed by +girotobial
    • +
    • #17 - Simplified chinese localization - contributed by +zer0Kerbal
    • +
  • +
+
+

See More

+
    +
  • Changelog Summary for more details of changes : See ChangeLog
  • +
  • Discussions and news on this mod : See Discussions or KSP Forums
  • +
  • Known Issues for more details of feature requests and known issues : +See Known Issues
  • +
  • GitHub Pages : See Pages
  • +
+

Localization

+
+
    +
  • English English
  • +
  • 中文 Simplified Chinese (中文) thank you to @JFYoung01
  • +
  • your translation here
  • +
+

HELP WANTED - See the README in the Localization folder or the +Quickstart Guide for instructions for adding or +improving translations. GitHub push is the best way to contribute. +Additions and corrections welcome!

+
+
+

red box below is a link to forum post on how to get support

+ +

How to get support

+

Be Kind: Lithobrake, not jakebrake! Keep your Module Manager up to date

+
+ +
+

How to +support this and other great mods by zer0Kerbal

+

Support Patreon Github Sponsor Buy zer0Kerbal a snack

+ + + + + + + + + diff --git a/GameData/FieldTrainingFacility/Patches/FieldTrainingFacility.cfg b/GameData/FieldTrainingFacility/Compatibility/FieldTrainingFacility.cfg similarity index 100% rename from GameData/FieldTrainingFacility/Patches/FieldTrainingFacility.cfg rename to GameData/FieldTrainingFacility/Compatibility/FieldTrainingFacility.cfg diff --git a/GameData/FieldTrainingFacility/Patches/Kerbalsim.cfg b/GameData/FieldTrainingFacility/Compatibility/Kerbalsim.cfg similarity index 100% rename from GameData/FieldTrainingFacility/Patches/Kerbalsim.cfg rename to GameData/FieldTrainingFacility/Compatibility/Kerbalsim.cfg diff --git a/GameData/FieldTrainingFacility/changelog.md b/GameData/FieldTrainingFacility/changelog.md index aa99000..6303972 100644 --- a/GameData/FieldTrainingFacility/changelog.md +++ b/GameData/FieldTrainingFacility/changelog.md @@ -48,7 +48,17 @@ * [InstallChecker.cs] * [AssemblyVersion.tt] * [Log.cs] - * update [Version.tt]] + * Add readonly + * string[] trainingArr = + * string[] crewListArr = + * float[] levelUpExpTable = { 2, 6, 8, 16, 32, 0 }; + * string[] levelNumber = { "null", "1st", "2nd", "3rd", "4th", "5th" }; + * ProtoCrewMember[] crewArr = new ProtoCrewMember[8]; + * Change + * Version.Text to Version.SText + * Update + * function name capitalization + * update [Version.tt] * closes #1 - modules info panels for parts in the VAB. ### Compatibility From 6b596ea499ebed458fe7f68969f96e23e0417a81 Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 23:45:40 -0500 Subject: [PATCH 41/60] Update Version.cs --- source/Properties/Version.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Properties/Version.cs b/source/Properties/Version.cs index 60c204f..02a0f88 100644 --- a/source/Properties/Version.cs +++ b/source/Properties/Version.cs @@ -1,4 +1,4 @@ -//1 +//2 // // This code was generated by a tool. Any changes made manually will be lost // the next time this code is regenerated. @@ -25,7 +25,7 @@ using System.Reflection; -[assembly: AssemblyFileVersion("1.2.1.1")] +[assembly: AssemblyFileVersion("1.2.1.2")] [assembly: AssemblyVersion("1.2.1.0")] [assembly: AssemblyInformationalVersion("1.2.1")] [assembly: KSPAssembly("FieldTrainingFacility", 1,2,1)] From b0d08f4b6de0a74ffb2ee0a406730456378fd5a3 Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 23:45:42 -0500 Subject: [PATCH 42/60] Create GPLv3.txt --- GameData/FieldTrainingFacility/GPLv3.txt | 674 +++++++++++++++++++++++ 1 file changed, 674 insertions(+) create mode 100644 GameData/FieldTrainingFacility/GPLv3.txt diff --git a/GameData/FieldTrainingFacility/GPLv3.txt b/GameData/FieldTrainingFacility/GPLv3.txt new file mode 100644 index 0000000..94a9ed0 --- /dev/null +++ b/GameData/FieldTrainingFacility/GPLv3.txt @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. From aa852f23791fe65fe79d7104d803614c23d2ee7b Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 23:45:44 -0500 Subject: [PATCH 43/60] Create 1.2.1.0.md --- docs/ReleaseNotes/1.2.1.0.md | 199 +++++++++++++++++++++++++++++++++++ 1 file changed, 199 insertions(+) create mode 100644 docs/ReleaseNotes/1.2.1.0.md diff --git a/docs/ReleaseNotes/1.2.1.0.md b/docs/ReleaseNotes/1.2.1.0.md new file mode 100644 index 0000000..f68f955 --- /dev/null +++ b/docs/ReleaseNotes/1.2.1.0.md @@ -0,0 +1,199 @@ +--- +permalink: /1.2.1.0.html +title: Release Notes v1.2.1.0 +description: Version Release Notes +tags: FieldTrainingFacility,release-notes,kerbal,ksp,zer0Kerbal,zedK +layout: page +--- + + + +[![Field Training Facility Version][MOD:shd:stat]][MOD:forum] +[![KSP version][KSP:shd:stat]][KSP:url] [![License][LIC:shd]][LIC:url] +![AVC .version files][AVCVAL:shd] [![Pages][MOD:pages:shd]][MOD:pages] + +# Version 1.2.1.0-release - `` edition + +* 28 Jun 2022 +* Release for Kerbal Space Program [KSP 1.12.x] + +

+DO A CLEAN INSTALL:
DELETE EXISTING INSTALLATION THEN RE-INSTALL

Download from CurseForge

+ +## Changes + +### License + +* Update to GPLv3 + * was Expat/MIT +* closes #41 - Update License to GPLv3 + +### docs/ + +* Add + * [Attribution.md] v1.0.6.0 + * [ManualInstallation.md] v1.1.7.0 + * [404-petunia.md] + * [LegalMumboJumbo.md] v1.0.5.0 + * [Localizations.md] v1.1.3.1 + * [Notices.md] v1.0.0.0 + * [Why-not.md] + * [_config.yml] +* closes #44 - add docs/ + +### Convert Changelog + +* Convert from .cfg to md +* Add missing information for earlier releases +* closes #42 - Convert Changelog + +### Code + +* Recompile for KSP 1.12.3 +* Using .NET 4.6.1 + * remove + * [InstallChecker.cs] + * [AssemblyVersion.tt] + * [Log.cs] + * update [Version.tt]] +* closes #1 - modules info panels for parts in the VAB. + +### Compatibility + +* Rename + * Patches to Compatibility +* Update + * licenses + * [Kerbalism.cfg] v1.0.1.0 + * fixes #43 - [Bug 🐞]: Kerbalism.cfg + +### Add + +* Agent +* Flag + * 512x320 + * 64x40 truecolor_scaled + +### Localization + +* Add + * [readme.md] v2.1.2.0 + * [quickstart.md] v1.0.1.1 +* updates #22 - Localization - Master +* closes #23 - English +* closes #31 - Simplified Chinese (简体中文) +* updates #40 - Code Localization + +### Status + +* Issues + * closes #16 - Update Field Training Facility (FTF) + * closes #18 - Field Training Facility (FTF) 1.2.1.0-release - `` edition + * closes #19 - 1.2.1.0 Verify Legal Mumbo Jumbo + * closes #20 - 1.2.1.0 Update Documentation + * closes #21 - 1.2.1.0 Update Social Media + * updates #6 - Suggestion: Change Mod Name to make it more distinct as to what it does. +* Closes Duplicate Issues + * closes #10 - Localization + * closes #12 - Localization + * closes #13 - Localization - zh-cn.cfg - Simplified Chinese + * closes #14 - Localization - pt-br.cfg Brazil + * closes #15 - Localization - en-us.cfg (English) +* PR's + * #7 - 1.2.0.0 - contributed by zer0Kerbal + * #9 - Kerbalism Compatibility Resolves #8 - contributed by girotobial + * #17 - Simplified chinese localization - contributed by zer0Kerbal + +--- + +## See More + +* Changelog Summary for more details of changes : See [ChangeLog][MOD:chlog] +* Discussions and news on this mod : See [Discussions][MOD:discu] or [KSP Forums][MOD:forum] +* Known Issues for more details of feature requests and known issues : See [Known Issues][MOD:issue] +* GitHub Pages : See [Pages][MOD:pages] + +## Localization + +>* ![English][EN] English +>* ![中文][CN] Simplified Chinese (中文) thank you to [@JFYoung01](/~https://github.com/JFYoung01) +>* ***your translation here*** +> +> HELP WANTED - See the [README in the Localization folder][lreadme] or the [Quickstart Guide][qstart] for instructions for adding or improving translations. [GitHub][GitHub:url] push is the best way to contribute. *Additions and corrections welcome!* + +
+

red box below is a link to forum post on how to get support

+ +

How to get support

+

Be Kind: Lithobrake, not jakebrake! Keep your Module Manager up to date

+
+ +--- + +### How to support this and other great mods by [`zer0Kerbal`][zer0Kerbal] + +[![Support][PAYPAL:img]][PAYPAL:url] [![Patreon][PATREON:img]][PATREON:url] [![Github Sponsor][GSPONS:img]][GSPONS:url] [![Buy zer0Kerbal a snack][BMCC:img]][BMCC:url] + + + + +[MOD:chlog]: https://raw.githubusercontent.com/zer0Kerbal/FieldTrainingFacility/master/changelog.md "Changelog" +[MOD:discu]: /~https://github.com/zer0Kerbal/FieldTrainingFacility/discussions/ "Discussions" +[MOD:forum]: https://forum.kerbalspaceprogram.com/index.php?/topic/188841-*/ "FieldTrainingFacility forum thread" +[MOD:issue]: /~https://github.com/zer0Kerbal/FieldTrainingFacility/issues/ "Issue Tracker" +[MOD:licns]: /~https://github.com/zer0Kerbal/FieldTrainingFacility/blob/master/LICENSE/ "Repo License" +[MOD:pages]: https://zer0kerbal.github.io/FieldTrainingFacility/ "GitHub Pages" +[MOD:pages:shd]: https://img.shields.io/badge/GitHub-Pages-white?style=plastic&labelColor=9cf&logoColor=181717&logo=github/ "GitHub IO" + + +[MOD:shd:stat]: https://img.shields.io/badge/Field%20Training%20Lab%20(FTF)%20-v1.2.1.0--release-BADA55.svg?style=plastic&labelColor=darkgreen/ "1.2.1.0-release" + +[CRSFG:url]: https://www.curseforge.com/kerbal/ksp-mods/FieldTrainingFacility/files/ "Curseforge" +[GITHUB:url]: /~https://github.com/zer0Kerbal/FieldTrainingFacility/ "GitHub" + +[KSP:url]: http://kerbalspaceprogram.com/ "Kerbal Space Program" +[KSP:shd:stat]: https://img.shields.io/badge/KSP-1.12.3-blue.svg?style=plastic&logo=data:image/webp;base64,UklGRpAGAABXRUJQVlA4TIQGAAAvH8AHEE0obNsGDakwXkT/Q4chj76jn1yYjSRjH6H+6xQqRUkkSc5ckHD+NUUVhx4+RNu2bTTl/3OTVhD6H8u6fF8dDYm40CK7N0CjAxK52rYtjfQRAvGNjbu7V+vuLp2fwhzA6gG4li6de+nuO+4uJBlkwoTA//90kENgtZZs27ZpO2Oufa5vbNsq2Sw6qaa9r3n/kZJTex/wSrFt27o62kuSJNuqrdTa1+/7uLu7uzQZAk0mRN/mAz2CAbi723vvy5WztxxIAAiw+d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e9tQsdVMdG4zbVYqp5wJcBSA2W6sNmkwxuNk+nw3r4MFi/4EkTAhiRFk70jkqNDiWbDK65OLIn0s0wD/ucAp3XwVSsSNBAqjFUIXwFE0MihZQ6utQYV2oR+tShO7Ad6bswY3xd7qe0VrVxK9ZjueQy4TPnF8MCQGjoxSugSFgFMV4LiVwgsn/i+gXZ2FzplAduxnn0/OlW0uqf+M64MRPqzwrl+PnpKQSaXS49Ui7n2/ctFtHtAtiprzxq6WniwESvW5yUG1Xx6/8Hx8NKELwKZK15pV/EvXvm9ZMlx0aKUO98iUPaWvst/n8ZbOmkvGhcOQRWf5zj9dk9cfpad5oHN3Rns/wsuvy2puxz1Ziu96Q7/SOWoROzvNzFo5Z5+1BDej3OjQ/XymEkW9jr0em5g5SdX8VC2gf9xJb/RWCC5bIKWDgWcYf+K9Kje3zbQBh/F448wMLoICeUyJ330nXlPmawiRT/sblG4vWrbErgQaMzYbZcwbhSaNrwH+Tqa04jqrd3JZTvwbFxHFSVMAv5UZdEq+tQUupcis/5+MZNsxk9b8TPa7cMqdzzrh9FtD5v+vPACvJy7nDT69IP/Yx6EywGdTFsD5iU7bqkovJogzTjQm3iFTyp4jV4bjVKdcnv5/JrhokmpnGAIA4D/AXYCfVgoBXnrDkCqqCHRG529HeYB51Jy1z6nlW/gnVmzyxmVHxnQrxXxelcI0yN85udPl+//t2rzKzA+oluPTNjp6qY1PVduFVdo8ya+8E6p8KOZR+bLj6Vju9oi5dar0erTS8Z1x3/IITU3vyDRLiZWBZVH6CbqURTeLptD3pEPIR4W4QlHfTnRJzZBRJ8MlI8LmmEXLAdAxsqIYbSDGTt65GfF0cUL6aQQ=&labelColor=black/ "Kerbal Space Program" + + +[LIC:url]: https://www.gnu.org/licenses/gpl-2.0-standalone.html "GPLv2" +[LIC:log]: https://i.postimg.cc/9FrwMgK6/GPL-17x17.png "GPLv2" +[LIC:shd]: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/zer0Kerbal/FieldTrainingFacility/master/json/license.json + +[AVCVAL:shd]: /~https://github.com/zer0Kerbal/FieldTrainingFacility/workflows/Validate%20AVC%20.version%20files/badge.svg?style=plastic&labelColor=black/ + +[PAYPAL:img]: https://img.shields.io/badge/Buy%20me%20some%20-LFO-BADA55?style=for-the-badge&logo=paypal&labelColor=FFDD00 "PayPal" +[PAYPAL:url]: https://www.paypal.com/donate?hosted_button_id=DC22YHMEJREKL "PayPal" +[PATREON:img]: https://img.shields.io/badge/Patreon%20-Patreonize-FF424D?style=for-the-badge&logo=patreon "Patreon" +[PATREON:url]: https://www.patreon.com/bePatron?u=23390503 "Patreon" +[GSPONS:img]: https://img.shields.io/badge/Github%20-Sponsor-EA4AAA?style=for-the-badge&logo=githubsponsors "Github Sponsors" +[GSPONS:url]: /~https://github.com/sponsors/zer0Kerbal "Github Sponsors" +[BMCC:img]: https://img.shields.io/badge/Buy%20Me%20a%20-Snack!-FFDD00?style=for-the-badge&logo=buymeacoffee "Buy Me A Snack" +[BMCC:url]: https://buymeacoffee.com/zer0Kerbal "Buy Me A Snack" +[lreadme]: /~https://github.com/zer0Kerbal/zer0Kerbal/blob/master/Localization/readme.md "Localization Readme" +[qstart]: /~https://github.com/zer0Kerbal/zer0Kerbal/blob/master/Localization/quickstart.md "Quickstart" +[EN]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/master/img/EN.png "English" +[BR]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/master/img/BR.png "Português Brasil" +[CN]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/master/img/CH.png "中文" +[DE]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/master/img/DE.png "Deutsch" +[ES]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/master/img/ES.png "Español" +[FR]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/master/img/FR.png "Français" +[IT]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/master/img/IT.png "Italiano" +[JA]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/master/img/JA.png "日本語" +[KO]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/master/img/KO.png "한국어" +[MX]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/master/img/MX.png "Mexicano Español" +[NL]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/master/img/NL.png "Dutch" +[NO]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/master/img/NO.png "Norsk" +[PO]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/master/img/PO.png "Polski" +[RU]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/master/img/RU.png "Русский" +[SW]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/master/img/SW.png "Svenska" +[TR]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/master/img/TR.png "Türk" +[TW]: https://raw.githubusercontent.com/zer0Kerbal/zer0Kerbal/master/img/TW.png "国语" + +[zer0Kerbal]: https://forum.kerbalspaceprogram.com/index.php?/profile/190933-*/ "zer0Kerbal" + + \ No newline at end of file From b065c5b3da9f4cfcdcb09fdf101d02d01a7b50c0 Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 23:45:46 -0500 Subject: [PATCH 44/60] Create changelog.md --- docs/changelog.md | 325 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 325 insertions(+) create mode 100644 docs/changelog.md diff --git a/docs/changelog.md b/docs/changelog.md new file mode 100644 index 0000000..5788aab --- /dev/null +++ b/docs/changelog.md @@ -0,0 +1,325 @@ +--- +permalink: /Changelog.html +title: The Change Log +description: The Opening Credits, and the closing credits, plus the first of two (or is three) end credit scenes +# layout: bare +tags: changes,changelog,change-log,page,kerbal,ksp,zer0Kerbal,zedK +--- + +# Changelog + +| modName | Field Training Facility (FTF) | +| ---------- | ------------------------------------------------------------------ | +| license | GPLv3 | +| author | Efour and zer0Kerbal | +| forum | (https://forum.kerbalspaceprogram.com/index.php?/topic/188841-*/) | +| github | (/~https://github.com/zer0Kerbal/zer0Kerbal/FieldTrainingFacility) | +| curseforge | (https://www.curseforge.com/kerbal/ksp-mods/FieldTrainingFacility) | +| spacedock | (https://spacedock.info/mod/978) | +| ckan | FieldTrainingFacility | + +## Version 1.2.1.0-release - `` edition + +* 28 Jun 2022 +* For Kerbal Space Program [1.12.x] + +### License + +* Update to GPLv3 + * was Expat/MIT +* closes #41 - Update License to GPLv3 + +### docs/ + +* Add + * [Attribution.md] v1.0.6.0 + * [ManualInstallation.md] v1.1.7.0 + * [404-petunia.md] + * [LegalMumboJumbo.md] v1.0.5.0 + * [Localizations.md] v1.1.3.1 + * [Notices.md] v1.0.0.0 + * [Why-not.md] + * [_config.yml] +* closes #44 - add docs/ + +### Convert Changelog + +* Convert from .cfg to md +* Add missing information for earlier releases +* closes #42 - Convert Changelog + +### Code + +* Recompile for KSP 1.12.3 +* Using .NET 4.6.1 + * remove + * [InstallChecker.cs] + * [AssemblyVersion.tt] + * [Log.cs] + * Add readonly + * string[] trainingArr = + * string[] crewListArr = + * float[] levelUpExpTable = { 2, 6, 8, 16, 32, 0 }; + * string[] levelNumber = { "null", "1st", "2nd", "3rd", "4th", "5th" }; + * ProtoCrewMember[] crewArr = new ProtoCrewMember[8]; + * Change + * Version.Text to Version.SText + * Update + * function name capitalization + * update [Version.tt] +* closes #1 - modules info panels for parts in the VAB. + +### Compatibility + +* Rename + * Patches to Compatibility +* Update + * licenses + * [Kerbalism.cfg] v1.0.1.0 + * fixes #43 - [Bug 🐞]: Kerbalism.cfg + +### Add + +* Agent +* Flag + * 512x320 + * 64x40 truecolor_scaled + +### Localization + +* Add + * [readme.md] v2.1.2.0 + * [quickstart.md] v1.0.1.1 +* updates #22 - Localization - Master +* closes #23 - English +* closes #31 - Simplified Chinese (简体中文) +* updates #40 - Code Localization + +### Status + +* Issues + * closes #16 - Update Field Training Facility (FTF) + * closes #18 - Field Training Facility (FTF) 1.2.1.0-release - `` edition + * closes #19 - 1.2.1.0 Verify Legal Mumbo Jumbo + * closes #20 - 1.2.1.0 Update Documentation + * closes #21 - 1.2.1.0 Update Social Media + * updates #6 - Suggestion: Change Mod Name to make it more distinct as to what it does. +* Closes Duplicate Issues + * closes #10 - Localization + * closes #12 - Localization + * closes #13 - Localization - zh-cn.cfg - Simplified Chinese + * closes #14 - Localization - pt-br.cfg Brazil + * closes #15 - Localization - en-us.cfg (English) +* PR's + * #7 - 1.2.0.0 - contributed by zer0Kerbal + * #9 - Kerbalism Compatibility Resolves #8 - contributed by girotobial + * #17 - Simplified chinese localization - contributed by zer0Kerbal + +--- + +## Version 1.2.0.0 - `` + +* 05 Apr 2020 +* KSP 1.9.1 +* .NET 4.8 + +### Code + +* update + * Editor GetInfo() to be more informative + * include assembly version in PAW +* Add + * game settings page + * ***disabled for now*** + * game settings page + * global setting to enable/disable PAW color + * option to globally enable/disable + * option: use science and ratio + * option: use reputation and ratio + * option: use funds and ratio + +--- + +## Version = 1.1.0.0 - `` + +* KSP 1.8.1 with .NET 4.8 + +* isn't that enough? :D +* started adding in JoyntMail :D + +--- + +## Version = 1.0.3.5 - ` Plugins/Textures/ + +### Deployment and Backend + +* Update + * [Changelog.cfg] + * to include new Kerbal Changelog features + * [_deploy] + * [_buildRelease] + * [.gitattributes] + * [].gitignore] + * [*Readme.md] + * automated Readme.md -> Readme.htm + * Readme.htm now included in release + * Releases.layout.md +* [CONTRIBUTING.md] now included in repository +* [FieldTrainingFacility.version] to be avc compliant +* Added + * avc github checker and badge +* Added + * json's + +--- + +## Version 1.0.3.4 + +### Adoption by zer0Kerbal + +### Code + +* Added + * PAW grouping (really needed for these mods) + * a blurb in the editor getInfo{} + * [InstallChecker.cs] + +### Compatibility + +* Updated + * [FieldTrainingFacility.cfg] + * now patches all parts with moduleScienceLab + * changed the [TrainingFacility] to be [FieldTrainingFacility] + * patches reflect this +* Removed + * other patch + +--- + +## Version 1.0.3.3 + +=-- ORIGINAL (outdated) --= + +* for Kerbal Space Program 1.6.1 +* Released on 2018-12-21 + +* EFour's last release +* Recompiled 1.6.0 + +--- + +## Version 1.0.3.2 + +* for Kerbal Space Program 1.5.1 +* Released on 2018-10-30 + +* Recompiled for 1.5.1 + +--- + +## Version 1.0.3.1 + +* for Kerbal Space Program 1.3.1 +* Released on 2017-11-27 + +* Recompiled KSP 1.3.1 + +--- + +## Version 1.0.3.0 + +* for Kerbal Space Program 1.2.2 +* Released on 2016-11-03 + +* Recompiled to 1.2.1 + +--- + +## Version 1.0.2.1 + +* for Kerbal Space Program 1.2 +* Released on 2016-10-22 + +* KPBS support + +--- + +## Version 1.0.2.0 + +* for Kerbal Space Program 1.2 +* Released on 2016-10-16 + +* Calculating Dead and respawned kerbalnaut + +--- + +## Version 1.0.1.2 + +* for Kerbal Space Program 1.2 +* Released on 2016-10-12 + +* fixed Message bug + +--- + +## Version 1.0.1.1 + +* for Kerbal Space Program 1.2 +* Released on 2016-10-12 + +* removing unused log +* changed minor EC related bug + +--- + +## Version 1.0.1.0 + +* for Kerbal Space Program 1.2 +* Released on 2016-10-12 + +* Co-Work with Field Training Lab Mod +* Compat patch for 1.2 release +* Tweaked EC consuming method. + +--- + +## Version 1.0.0.1 + +* for Kerbal Space Program 1.2 +* Released on 2016-10-12 + +* No changelog provided + +--- + +## Version 1.0.0.0 + +* for Kerbal Space Program 1.1.3 +* Released on 2016-10-11 + +* No changelog provided + +--- From bd56f8d5696e3cdb490ff891b2dce439b2518fc2 Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 23:50:06 -0500 Subject: [PATCH 45/60] Update en-us.cfg --- .../Localization/en-us.cfg | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/GameData/FieldTrainingFacility/Localization/en-us.cfg b/GameData/FieldTrainingFacility/Localization/en-us.cfg index f886057..295f881 100644 --- a/GameData/FieldTrainingFacility/Localization/en-us.cfg +++ b/GameData/FieldTrainingFacility/Localization/en-us.cfg @@ -1,10 +1,21 @@ +// en-us.cfg v1.0.1.0 +// Field Training Facility (FTF) +// created: 05 Apr 2020 +// updated: 25 Jun 2022 + +// this file: CC BY-SA 4.0 by zer0Kerbal + Localization { en-us { - // Field Training Facility - #FieldTrainingFacility_titl = Field Training Facility - #FieldTrainingFacility_manu = Kerbalnaut Training Industries, Inc. - #FieldTrainingFacility_desc = Train Kerbals using time and Electric Charge + // Agencies + #FTF-manu = Kerbalnaut Training Industries, Inc. + #FTF-Agency-titl = Kerbalnaut Training Industries, Inc. + #FTF-Agency-desc = Kerbalnaut Training Industries, Inc. for all your training needs! + + // Field Training Lab + #FTF-titl = Field Training Lab + #FTF-desc = Train Kerbals using time and Electric Charge } } \ No newline at end of file From 33618eacc018ae31eaacfc067591fb9e5c670176 Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 23:50:10 -0500 Subject: [PATCH 46/60] Update zh-cn.cfg --- .../FieldTrainingFacility/Localization/zh-cn.cfg | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/GameData/FieldTrainingFacility/Localization/zh-cn.cfg b/GameData/FieldTrainingFacility/Localization/zh-cn.cfg index 1ca9a28..e864446 100644 --- a/GameData/FieldTrainingFacility/Localization/zh-cn.cfg +++ b/GameData/FieldTrainingFacility/Localization/zh-cn.cfg @@ -1,10 +1,19 @@ +// zh-cn.cfg v1.0.0.0 +// Field Training Facility (FTF) +// created: 05 Apr 2020 +// updated: 25 Jun 2022 + +// Simplified Chinese +// this file: CC BY-SA 4.0 by zer0Kerbal +// thank you to: [@JFYoung01](/~https://github.com/JFYoung01) + Localization { zh-cn { // Field Training Facility - #FieldTrainingFacility_titl = 实战演练设施 - #FieldTrainingFacility_manu = 坎培拉有限公司 - #FieldTrainingFacility_desc = 花费时间和电力来培训坎巴拉人 + #FTF-titl = 实战演练设施 + #FTF-manu = 坎培拉有限公司 + #FTF-desc = 花费时间和电力来培训坎巴拉人 } } \ No newline at end of file From 5adfa7c1a46da02944042adb2c2de7de84e706da Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 23:50:12 -0500 Subject: [PATCH 47/60] Update FieldTrainingFacilityModule.cs --- source/FieldTrainingFacilityModule.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/FieldTrainingFacilityModule.cs b/source/FieldTrainingFacilityModule.cs index 5322020..1e7f184 100644 --- a/source/FieldTrainingFacilityModule.cs +++ b/source/FieldTrainingFacilityModule.cs @@ -429,17 +429,17 @@ public override string GetInfo() //? The config is only fully parsed after everything is fully loaded (which is why it's in OnStart()) if (info == string.Empty) { - info += Localizer.Format("#FieldTrainingFacility_manu"); // #FieldTrainingFacility_manu = Kerbalnaut Training Industries, Inc. + info += Localizer.Format("#FTF-manu"); // #FTF-manu = Kerbalnaut Training Industries, Inc. info += "\n v" + Version.SText; // FTF Version Number text - info += "\n" + Localizer.Format("#FieldTrainingFacility_desc"); // #FieldTrainingFacility_desc = Train Kerbals using time and Electric Charge + info += "\n" + Localizer.Format("#FTF-desc"); // #FTF-desc = Train Kerbals using time and Electric Charge info += "\n\nRequires: \n - " + Localizer.Format("#autoLOC_252004"); // #autoLOC_252004 = ElectricCharge info += ": \n - Per Crew: " + RateString(ECFactor) + " "; info += ": \n - Max Crew: " + RateString(maxCrew * ECFactor) + ""; } // #autoLOC_252004 = ElectricCharge - // #FieldTrainingFacility_titl = FieldTrainingFacility - // #FieldTrainingFacility_manu = Kerbalnaut Training Industries, Inc. - // #FieldTrainingFacility_desc = Train Kerbals using time and Electric Charge + // #FTF-titl = FieldTrainingFacility + // #FTF-manu = Kerbalnaut Training Industries, Inc. + // #FTF-desc = Train Kerbals using time and Electric Charge return info; } } From e1bbdd68a73a90b48f33bd547430cf230d219053 Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 23:59:18 -0500 Subject: [PATCH 48/60] Update changelog.md --- changelog.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index 6303972..a9793f8 100644 --- a/changelog.md +++ b/changelog.md @@ -67,8 +67,10 @@ * Patches to Compatibility * Update * licenses - * [Kerbalism.cfg] v1.0.1.0 + * [Kerbalsim.cfg] to [Kerbalism.cfg] v1.1.1.0 * fixes #43 - [Bug 🐞]: Kerbalism.cfg + * [FieldTrainingFacility.cfg] v1.1.1.0 + * update :NEEDS ### Add From a2cd5d9718bebc341a1ae92b1430cbd94d62f851 Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 23:59:21 -0500 Subject: [PATCH 49/60] Update FieldTrainingFacility.cfg --- .../Compatibility/FieldTrainingFacility.cfg | 29 +++++++++---------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/GameData/FieldTrainingFacility/Compatibility/FieldTrainingFacility.cfg b/GameData/FieldTrainingFacility/Compatibility/FieldTrainingFacility.cfg index 07e4f30..2574ec6 100644 --- a/GameData/FieldTrainingFacility/Compatibility/FieldTrainingFacility.cfg +++ b/GameData/FieldTrainingFacility/Compatibility/FieldTrainingFacility.cfg @@ -1,22 +1,21 @@ -// FieldTrainingFacility.cfg v1.1.0 -// Field Training Facility -// created: 21 Sep 19 -// updated: 2020 04 04 +// FieldTrainingFacility.cfg v1.1.1.0 +// Field Training Facility (FTF) +// created: 21 Sep 2019 +// updated: 28 Jun 2022 -@PART[*]:HAS[@MODULE[ModuleScienceLab]]:FOR[FieldTrainingFacility] +// This file: GPLv3 by zer0Kerbal + +@PART[*]:HAS[@MODULE[ModuleScienceLab]]:NEEDS[FieldTrainingLab]::FOR[FieldTrainingFacility] { - @description:NEEDS[FieldTrainingFacility] ^= :(.)$:$0\n<#6495ED>Field Training Facility. : + @description ^= :(.)$:$0\n<#6495ED>Field Training Facility. : - %MODULE[FieldTrainingFacility]:NEEDS[FieldTrainingFacility] + %MODULE[FieldTrainingFacility] { // Science Cost = TrainingFactor * exp needed * conditions(inSpace, Landed on other planet) // example : landed on minmus, level 4->5 : 20 * 32 * 0.25 = 160 - TimeFactor = 9201600 - ECFactor = 4 - SpaceFactor = 4 - LandedFactor = 6 + %TimeFactor = 9201600 + %ECFactor = 4 + %SpaceFactor = 4 + %LandedFactor = 6 } -} - -// GPLv2 -// zer0Kerbal \ No newline at end of file +} \ No newline at end of file From 81c6d6a0211523a56e9154dc6af53e229f2f634a Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 23:59:24 -0500 Subject: [PATCH 50/60] Create Kerbalism.cfg --- .../Compatibility/Kerbalism.cfg | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 GameData/FieldTrainingFacility/Compatibility/Kerbalism.cfg diff --git a/GameData/FieldTrainingFacility/Compatibility/Kerbalism.cfg b/GameData/FieldTrainingFacility/Compatibility/Kerbalism.cfg new file mode 100644 index 0000000..6c16ab3 --- /dev/null +++ b/GameData/FieldTrainingFacility/Compatibility/Kerbalism.cfg @@ -0,0 +1,22 @@ +// Kerbalism.cfg v1.1.1.0 +// Field Training Facility (FTF) +// created: 18 Aug 2020 +// updated: 28 Jun 2022 + +// This file: GPLv3 by zer0Kerbal +// opensomersault + +@PART[*]:HAS[@MODULE[ModuleScienceLab]]:NEEDS[FeatureScience,FieldTrainingFacility]:AFTER[KerbalismDefault] +{ + @description ^= :(.)$:$0\n<#6495ED>Field Training Facility. : + + %MODULE[FieldTrainingFacility] + { + // Science Cost = TrainingFactor * exp needed * conditions(inSpace, Landed on other planet) + // example : landed on minmus, level 4->5 : 20 * 32 * 0.25 = 160 + TimeFactor = 9201600 + ECFactor = 4 + SpaceFactor = 4 + LandedFactor = 6 + } +} From 837c35f4ab2e032307719bceb0d9cfd98728d2d9 Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 29 Jun 2022 23:59:26 -0500 Subject: [PATCH 51/60] Delete Kerbalsim.cfg --- .../Compatibility/Kerbalsim.cfg | 22 ------------------- 1 file changed, 22 deletions(-) delete mode 100644 GameData/FieldTrainingFacility/Compatibility/Kerbalsim.cfg diff --git a/GameData/FieldTrainingFacility/Compatibility/Kerbalsim.cfg b/GameData/FieldTrainingFacility/Compatibility/Kerbalsim.cfg deleted file mode 100644 index c9d2c6c..0000000 --- a/GameData/FieldTrainingFacility/Compatibility/Kerbalsim.cfg +++ /dev/null @@ -1,22 +0,0 @@ -// Kerbalism.cfg v1.1.0 -// Field Training Facility -// created: 18 Aug 20 -// updated: 2020 08 18 - -@PART[*]:HAS[@MODULE[Laboratory]]:FOR[FieldTrainingFacility]:AFTER[zzzKerbalismDefault] -{ - @description:NEEDS[FieldTrainingFacility] ^= :(.)$:$0\n<#6495ED>Field Training Facility. : - - %MODULE[FieldTrainingFacility]:NEEDS[FieldTrainingFacility] - { - // Science Cost = TrainingFactor * exp needed * conditions(inSpace, Landed on other planet) - // example : landed on minmus, level 4->5 : 20 * 32 * 0.25 = 160 - TimeFactor = 9201600 - ECFactor = 4 - SpaceFactor = 4 - LandedFactor = 6 - } -} - -// MIT -// opensomersault \ No newline at end of file From 40be0f67ca1cdbd575632ebbbd6fc44acb3e4a0f Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Thu, 30 Jun 2022 00:05:28 -0500 Subject: [PATCH 52/60] Update changelog.md --- docs/changelog.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/changelog.md b/docs/changelog.md index 5788aab..75c6fb5 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -81,8 +81,10 @@ CC BY-ND 4.0 by zer0Kerbal * Patches to Compatibility * Update * licenses - * [Kerbalism.cfg] v1.0.1.0 + * [Kerbalsim.cfg] to [Kerbalism.cfg] v1.1.1.0 * fixes #43 - [Bug 🐞]: Kerbalism.cfg + * [FieldTrainingFacility.cfg] v1.1.1.0 + * update :NEEDS ### Add From 60b5fa5c1741f8fc2aad8fd714248c15edcac143 Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Thu, 30 Jun 2022 00:05:30 -0500 Subject: [PATCH 53/60] Update 1.2.1.0.md --- docs/ReleaseNotes/1.2.1.0.md | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/docs/ReleaseNotes/1.2.1.0.md b/docs/ReleaseNotes/1.2.1.0.md index f68f955..8a064eb 100644 --- a/docs/ReleaseNotes/1.2.1.0.md +++ b/docs/ReleaseNotes/1.2.1.0.md @@ -58,7 +58,17 @@ updated: 03 Jun 2022 --> * [InstallChecker.cs] * [AssemblyVersion.tt] * [Log.cs] - * update [Version.tt]] + * Add readonly + * string[] trainingArr = + * string[] crewListArr = + * float[] levelUpExpTable = { 2, 6, 8, 16, 32, 0 }; + * string[] levelNumber = { "null", "1st", "2nd", "3rd", "4th", "5th" }; + * ProtoCrewMember[] crewArr = new ProtoCrewMember[8]; + * Change + * Version.Text to Version.SText + * Update + * function name capitalization + * update [Version.tt] * closes #1 - modules info panels for parts in the VAB. ### Compatibility @@ -67,8 +77,10 @@ updated: 03 Jun 2022 --> * Patches to Compatibility * Update * licenses - * [Kerbalism.cfg] v1.0.1.0 + * [Kerbalsim.cfg] to [Kerbalism.cfg] v1.1.1.0 * fixes #43 - [Bug 🐞]: Kerbalism.cfg + * [FieldTrainingFacility.cfg] v1.1.1.0 + * update :NEEDS ### Add @@ -137,10 +149,6 @@ updated: 03 Jun 2022 --> [![Support][PAYPAL:img]][PAYPAL:url] [![Patreon][PATREON:img]][PATREON:url] [![Github Sponsor][GSPONS:img]][GSPONS:url] [![Buy zer0Kerbal a snack][BMCC:img]][BMCC:url] - - [MOD:chlog]: https://raw.githubusercontent.com/zer0Kerbal/FieldTrainingFacility/master/changelog.md "Changelog" [MOD:discu]: /~https://github.com/zer0Kerbal/FieldTrainingFacility/discussions/ "Discussions" From b8ab35bde7099e6a415b8a21c90c612101248794 Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Thu, 30 Jun 2022 00:05:33 -0500 Subject: [PATCH 54/60] Update changelog.md --- GameData/FieldTrainingFacility/changelog.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/GameData/FieldTrainingFacility/changelog.md b/GameData/FieldTrainingFacility/changelog.md index 6303972..a9793f8 100644 --- a/GameData/FieldTrainingFacility/changelog.md +++ b/GameData/FieldTrainingFacility/changelog.md @@ -67,8 +67,10 @@ * Patches to Compatibility * Update * licenses - * [Kerbalism.cfg] v1.0.1.0 + * [Kerbalsim.cfg] to [Kerbalism.cfg] v1.1.1.0 * fixes #43 - [Bug 🐞]: Kerbalism.cfg + * [FieldTrainingFacility.cfg] v1.1.1.0 + * update :NEEDS ### Add From 12faf19af35a5aaa1c19c26d9d0bd39314844e41 Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Thu, 30 Jun 2022 00:05:35 -0500 Subject: [PATCH 55/60] Update 1.2.1.0.htm --- GameData/FieldTrainingFacility/1.2.1.0.htm | 29 +++++++++++++++++----- 1 file changed, 23 insertions(+), 6 deletions(-) diff --git a/GameData/FieldTrainingFacility/1.2.1.0.htm b/GameData/FieldTrainingFacility/1.2.1.0.htm index 92d62e8..c15153a 100644 --- a/GameData/FieldTrainingFacility/1.2.1.0.htm +++ b/GameData/FieldTrainingFacility/1.2.1.0.htm @@ -74,7 +74,24 @@

Code

  • [AssemblyVersion.tt]
  • [Log.cs]
  • -
  • update [Version.tt]]
  • +
  • Add readonly +
      +
    • string[] trainingArr =
    • +
    • string[] crewListArr =
    • +
    • float[] levelUpExpTable = { 2, 6, 8, 16, 32, 0 };
    • +
    • string[] levelNumber = { "null", "1st", "2nd", "3rd", "4th", "5th" +};
    • +
    • ProtoCrewMember[] crewArr = new ProtoCrewMember[8];
    • +
  • +
  • Change +
      +
    • Version.Text to Version.SText
    • +
  • +
  • Update +
      +
    • function name capitalization
    • +
  • +
  • update [Version.tt]
  • closes #1 - modules info panels for parts in the VAB.
  • @@ -87,10 +104,14 @@

    Compatibility

  • Update
    • licenses
    • -
    • [Kerbalism.cfg] v1.0.1.0 +
    • [Kerbalsim.cfg] to [Kerbalism.cfg] v1.1.1.0
      • fixes #43 - [Bug 🐞]: Kerbalism.cfg
    • +
    • [FieldTrainingFacility.cfg] v1.1.1.0 +
        +
      • update :NEEDS
      • +
  • Add

    @@ -213,10 +234,6 @@

    How to href="https://buymeacoffee.com/zer0Kerbal" title="Buy Me A Snack">Buy zer0Kerbal a snack

    - - From 69755030e790e4bf4a9ce7eed0afc779b07c52d4 Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Thu, 30 Jun 2022 00:05:37 -0500 Subject: [PATCH 56/60] Update FieldTrainingFacility.cfg --- .../Compatibility/FieldTrainingFacility.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GameData/FieldTrainingFacility/Compatibility/FieldTrainingFacility.cfg b/GameData/FieldTrainingFacility/Compatibility/FieldTrainingFacility.cfg index 2574ec6..08878eb 100644 --- a/GameData/FieldTrainingFacility/Compatibility/FieldTrainingFacility.cfg +++ b/GameData/FieldTrainingFacility/Compatibility/FieldTrainingFacility.cfg @@ -5,7 +5,7 @@ // This file: GPLv3 by zer0Kerbal -@PART[*]:HAS[@MODULE[ModuleScienceLab]]:NEEDS[FieldTrainingLab]::FOR[FieldTrainingFacility] +@PART[*]:HAS[@MODULE[ModuleScienceLab]]:NEEDS[FieldTrainingLab]:FOR[FieldTrainingFacility] { @description ^= :(.)$:$0\n<#6495ED>Field Training Facility. : From 7b6e0adb9d9ecf6f313e83d45a2b922d6d55b579 Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Thu, 30 Jun 2022 00:05:39 -0500 Subject: [PATCH 57/60] Update Version.cs --- source/Properties/Version.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Properties/Version.cs b/source/Properties/Version.cs index 02a0f88..b3acdc0 100644 --- a/source/Properties/Version.cs +++ b/source/Properties/Version.cs @@ -1,4 +1,4 @@ -//2 +//3 // // This code was generated by a tool. Any changes made manually will be lost // the next time this code is regenerated. @@ -25,7 +25,7 @@ using System.Reflection; -[assembly: AssemblyFileVersion("1.2.1.2")] +[assembly: AssemblyFileVersion("1.2.1.3")] [assembly: AssemblyVersion("1.2.1.0")] [assembly: AssemblyInformationalVersion("1.2.1")] [assembly: KSPAssembly("FieldTrainingFacility", 1,2,1)] From f8f10bc18fb442dd7becff569c875fe9f1bac40d Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Thu, 30 Jun 2022 00:15:21 -0500 Subject: [PATCH 58/60] Update code.json --- json/code.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/json/code.json b/json/code.json index 86cb951..27eb91a 100644 --- a/json/code.json +++ b/json/code.json @@ -2,7 +2,7 @@ "schemaVersion": 1, "label": "Code", "labelColor": "66ccff", - "message": "'<.NET 3.5'>' '<'Module Manager'>' '<'C# 3.0'>'", + "message": "'<.NET 4.6.1'>' '<'Module Manager'>' '<'C# 6.0'>'", "color": "darkblue", "style": "plastic" } From 55a5f45179d20f7134f4fb8fe681041557a314de Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Thu, 30 Jun 2022 00:15:25 -0500 Subject: [PATCH 59/60] Update ksp.json --- json/ksp.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/json/ksp.json b/json/ksp.json index b13d3f2..bfb79be 100644 --- a/json/ksp.json +++ b/json/ksp.json @@ -2,7 +2,7 @@ "schemaVersion": 1, "label": "KSP", "labelColor": "black", - "message": "1.9.1", + "message": "1.12.3", "color": "66ccff", "style": "plastic" } From c4ab8fd952cdf46987038fb2dbacab95970e07fb Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Thu, 30 Jun 2022 00:15:29 -0500 Subject: [PATCH 60/60] Update mod.json --- json/mod.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/json/mod.json b/json/mod.json index 8593060..4756775 100644 --- a/json/mod.json +++ b/json/mod.json @@ -2,7 +2,7 @@ "schemaVersion": 1, "label": "Field Training Facility", "labelColor": "BADA55", - "message": "1.2.0.0", + "message": "1.2.1.0", "color": "darkgreen", "style": "plastic" }