diff --git a/FieldTrainingLab.version b/FieldTrainingLab.version index b234887..8c25450 100644 --- a/FieldTrainingLab.version +++ b/FieldTrainingLab.version @@ -13,14 +13,14 @@ { "MAJOR" : 1, "MINOR" : 2, - "PATCH" : 0, + "PATCH" : 1, "BUILD" : 0 }, "KSP_VERSION" : { "MAJOR" : 1, - "MINOR" : 8, - "PATCH" : 1 + "MINOR" : 12, + "PATCH" : 3 }, "KSP_VERSION_MIN" : { @@ -28,12 +28,6 @@ "MINOR" : 8, "PATCH" : 1 }, - "KSP_VERSION_MAX" : - { - "MAJOR" : 1, - "MINOR" : 8, - "PATCH" : 9999 - }, "INSTALL_LOC" : { "NAME" : "FieldTrainingLab", 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 +. diff --git a/GameData/FieldTrainingLab/1.2.1.0.htm b/GameData/FieldTrainingLab/1.2.1.0.htm new file mode 100644 index 0000000..519ea3d --- /dev/null +++ b/GameData/FieldTrainingLab/1.2.1.0.htm @@ -0,0 +1,212 @@ + + +

Field Training Lab Version
+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 #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 <us-en.cfg>
  • +
  • updates #13 - Localization - Master
  • +
  • updates #31 - Code Localization
  • +
  • updates #22 - Simplified Chinese (简体中文) <zh-cn.cfg>
  • +
+

Status

+
    +
  • Issues +
      +
    • closes #9 - Field Training Lab (FTL) 1.2.1.0-release +<EDITION>
    • +
    • 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 - +Localization
    • +
    • #5 - Localization - en-us.cfg (English)
    • +
    • #6 - Localization - pt-br.cfg Brazil
    • +
    • #7 - Localization - zh-cn.cfg - Simplified Chinese
    • +
    • #8 - Update Field Training Laboratory (FTL)
    • +
  • +
+
+

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
  • +
  • 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/FieldTrainingLab/Agencies/Agents.cfg b/GameData/FieldTrainingLab/Agencies/Agents.cfg new file mode 100644 index 0000000..abb67e2 --- /dev/null +++ b/GameData/FieldTrainingLab/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 diff --git a/GameData/FieldTrainingLab/Agencies/FieldTraining-flag_scaled.truecolor b/GameData/FieldTrainingLab/Agencies/FieldTraining-flag_scaled.truecolor new file mode 100644 index 0000000..58e3c4e Binary files /dev/null and b/GameData/FieldTrainingLab/Agencies/FieldTraining-flag_scaled.truecolor differ diff --git a/GameData/FieldTrainingLab/Attributions.htm b/GameData/FieldTrainingLab/Attributions.htm new file mode 100644 index 0000000..9605afc --- /dev/null +++ b/GameData/FieldTrainingLab/Attributions.htm @@ -0,0 +1,67 @@ + + + + +

+

Field Training Lab (FTL)

+

Home

+

Attribution

+

Credits

+ + +

Flag(s)

+ + +

Agency

+ + +

Special Thanks

+ + +

Translations

+
    +
  • English English
  • +
  • Additions and corrections welcome!
  • +
+ +

Art Asset(s)

+ +
+

Testing and Support

+ + + + + + + diff --git a/GameData/FieldTrainingLab/Compatibility/FieldTrainingLab.cfg b/GameData/FieldTrainingLab/Compatibility/FieldTrainingLab.cfg new file mode 100644 index 0000000..9aacae4 --- /dev/null +++ b/GameData/FieldTrainingLab/Compatibility/FieldTrainingLab.cfg @@ -0,0 +1,21 @@ +// FieldTrainingLab.cfg v1.0.0.0 +// Field Training Lab +// created: 21 Sep 19 +// updated: + +// This file: GPLv3 by zer0Kerbal + +@PART[*]:HAS[@MODULE[ModuleScienceLab]]:NEEDS[FieldTrainingLab]:FOR[FieldTrainingLab] +{ + @description ^= :(.)$:$0\n<#6495ED>Field Training Lab. : + + %MODULE[FieldTrainingLab] + { + // 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 // 4600800 + %TrainFactor = 20 + %inSpace = 0.5 + %Landed = 0.25 + } +} diff --git a/GameData/FieldTrainingLab/Compatibility/Kerbalism.cfg b/GameData/FieldTrainingLab/Compatibility/Kerbalism.cfg new file mode 100644 index 0000000..53a01f9 --- /dev/null +++ b/GameData/FieldTrainingLab/Compatibility/Kerbalism.cfg @@ -0,0 +1,21 @@ +// Kerbalism.cfg v1.0.1.0 +// Field Training Lab (FTL) +// created: 05 May 2021 +// updated: 25 Jun 2022 + +// This file: GPLv3 by zer0Kerbal + +@PART[*]:HAS[@MODULE[ModuleScienceLab]]:NEEDS[FeatureScience,FieldTrainingLab]:AFTER[KerbalismDefault] +{ + @description:NEEDS[FieldTrainingLab] ^= :(.)$:$0\n<#6495ED>Field Training Lab. : + + %MODULE[FieldTrainingLab] + { + // 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 + TrainFactor = 20 + inSpace = 0.5 + Landed = 0.25 + } +} \ No newline at end of file diff --git a/GameData/FieldTrainingLab/FieldTrainingLab.version b/GameData/FieldTrainingLab/FieldTrainingLab.version new file mode 100644 index 0000000..8c25450 --- /dev/null +++ b/GameData/FieldTrainingLab/FieldTrainingLab.version @@ -0,0 +1,36 @@ +{ + "NAME" : "Field Training Lab (FTL)", + "URL" : "https://raw.githubusercontent.com/zer0Kerbal/FieldTrainingLab/master/FieldTrainingLab.version", + "DOWNLOAD" : "https://github.com/zer0Kerbal/FieldTrainingLab/releases/latest", + "CHANGE_LOG_URL" : "https://raw.githubusercontent.com/zer0Kerbal/FieldTrainingLab/master/changelog.md", + "GITHUB" : + { + "USERNAME" : "zer0Kerbal", + "REPOSITORY" : "FieldTrainingLab", + "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" : "FieldTrainingLab", + "DIRECTORY" : "FieldTrainingLab" + } +} diff --git a/GameData/FieldTrainingLab/Flags/FieldTraining-flag.png b/GameData/FieldTrainingLab/Flags/FieldTraining-flag.png new file mode 100644 index 0000000..55d74b0 Binary files /dev/null and b/GameData/FieldTrainingLab/Flags/FieldTraining-flag.png differ diff --git a/GameData/FieldTrainingLab/GPLv3.txt b/GameData/FieldTrainingLab/GPLv3.txt new file mode 100644 index 0000000..94a9ed0 --- /dev/null +++ b/GameData/FieldTrainingLab/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 +. diff --git a/GameData/FieldTrainingLab/Localization/en-us.cfg b/GameData/FieldTrainingLab/Localization/en-us.cfg index 50709ca..7b8fa05 100644 --- a/GameData/FieldTrainingLab/Localization/en-us.cfg +++ b/GameData/FieldTrainingLab/Localization/en-us.cfg @@ -1,10 +1,21 @@ +// en-us.cfg v1.0.1.0 +// Field Training Lab (FTL) +// created: 05 Apr 2020 +// updated: 25 Jun 2022 + +// this file: CC BY-SA 4.0 by zer0Kerbal + Localization { en-us { - // Field Training Lab - #FieldTrainingLab_titl = Field Training Lab - #FieldTrainingLab_manu = Kerbalnaut Training Industries, Inc. - #FieldTrainingLab_desc = Train Kerbals using Science Points + // Agencies + #FTL-manu = Kerbalnaut Training Industries, Inc. + #FTL-Agency-titl = Kerbalnaut Training Industries, Inc. + #FTL-Agency-desc = Kerbalnaut Training Industries, Inc. for all your training needs! + + // Field Training Lab + #FTL-titl = Field Training Lab + #FTL-desc = Train Kerbals using Science Points } } \ No newline at end of file diff --git a/GameData/FieldTrainingLab/Localization/quickstart-v1.0.1.1.md b/GameData/FieldTrainingLab/Localization/quickstart.md similarity index 100% rename from GameData/FieldTrainingLab/Localization/quickstart-v1.0.1.1.md rename to GameData/FieldTrainingLab/Localization/quickstart.md diff --git a/GameData/FieldTrainingLab/Localization/readme-v2.1.2.0.md b/GameData/FieldTrainingLab/Localization/readme.md similarity index 100% rename from GameData/FieldTrainingLab/Localization/readme-v2.1.2.0.md rename to GameData/FieldTrainingLab/Localization/readme.md diff --git a/GameData/FieldTrainingLab/Localization/zh-cn.cfg b/GameData/FieldTrainingLab/Localization/zh-cn.cfg new file mode 100644 index 0000000..591c12b --- /dev/null +++ b/GameData/FieldTrainingLab/Localization/zh-cn.cfg @@ -0,0 +1,19 @@ +// zh-cn.cfg v1.0.0.0 +// Field Training Lab (FTL) +// 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 Lab + #FTL-titl = 实战演练实验室 + #FTL-manu = 坎培拉有限公司 + #FTL-desc = 使用科技点数来培训坎巴拉人 + } +} \ No newline at end of file diff --git a/GameData/FieldTrainingLab/ManualInstallation.htm b/GameData/FieldTrainingLab/ManualInstallation.htm new file mode 100644 index 0000000..04a0661 --- /dev/null +++ b/GameData/FieldTrainingLab/ManualInstallation.htm @@ -0,0 +1,99 @@ + + + + +

Field Training Lab (FTL)

+

Home

+

BLURB

+

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 FieldTrainingLab 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/FieldTrainingLab
    • +
  • +
  • Extract the package's FieldTrainingLab/ folder into +your KSP's GameData folder as follows: +
      +
    • <PACKAGE>/FieldTrainingLab --> +<KSP_ROOT>/GameData/ +
        +
      • Overwrite any preexisting folder/file(s).
      • +
    • +
    • you should end up with +<KSP_ROOT>/GameData/FieldTrainingLab
    • +
  • +
+

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/FieldTrainingLab
    • +
  • +
  • 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/FieldTrainingLab
    • +
  • +
+

The +following file layout must be present after installation

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

Dependencies

+ diff --git a/GameData/FieldTrainingLab/Patches/FieldTrainingLab.cfg b/GameData/FieldTrainingLab/Patches/FieldTrainingLab.cfg deleted file mode 100644 index 7888759..0000000 --- a/GameData/FieldTrainingLab/Patches/FieldTrainingLab.cfg +++ /dev/null @@ -1,22 +0,0 @@ -// FieldTrainingLab.cfg v1.0 -// Field Training Lab -// created: 21 Sep 19 -// updated: 21 Sep 19 - -@PART[*]:HAS[@MODULE[ModuleScienceLab]]:FOR[FieldTrainingLab] -{ - @description:NEEDS[FieldTrainingLab] ^= :(.)$:$0\n<#6495ED>Field Training Lab. : - - %MODULE[FieldTrainingLab]:NEEDS[FieldTrainingLab] - { - // 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 // 4600800 - TrainFactor = 20 - inSpace = 0.5 - Landed = 0.25 - } -} - -// CC BY-NC-SA-4.0 -// zer0Kerbal \ No newline at end of file diff --git a/GameData/FieldTrainingLab/Patches/Kerbalism.cfg b/GameData/FieldTrainingLab/Patches/Kerbalism.cfg deleted file mode 100644 index c81e6de..0000000 --- a/GameData/FieldTrainingLab/Patches/Kerbalism.cfg +++ /dev/null @@ -1,22 +0,0 @@ -// Kerbalism.cfg v1.0.0.0 -// Field Training Lab -// created: 05 May 21 -// updated: 05 May 21 - -@PART[*]:HAS[@MODULE[ModuleScienceLab]]:FOR[FieldTrainingLab]:AFTER[zzzKerbalismDefault] -{ - @description:NEEDS[FieldTrainingLab] ^= :(.)$:$0\n<#6495ED>Field Training Lab. : - - %MODULE[FieldTrainingLab]:NEEDS[FieldTrainingLab] - { - // 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 - TrainFactor = 20 - inSpace = 0.5 - Landed = 0.25 - } -} - -// MIT -// zer0Kerbal diff --git a/GameData/FieldTrainingLab/changelog.md b/GameData/FieldTrainingLab/changelog.md new file mode 100644 index 0000000..b52ec2f --- /dev/null +++ b/GameData/FieldTrainingLab/changelog.md @@ -0,0 +1,283 @@ +# Changelog + +| modName | Field Training Lab (FTL) | +| ---------- | ----------------------------------------------------------------- | +| license | GPLv3 | +| author | Efour and zer0Kerbal | +| forum | (https://forum.kerbalspaceprogram.com/index.php?/topic/188841-*/) | +| github | (https://github.com/zer0Kerbal/zer0Kerbal/FieldTrainingLab) | +| curseforge | (https://www.curseforge.com/kerbal/ksp-mods/FieldTrainingLab) | +| spacedock | (https://spacedock.info/mod/971) | +| ckan | FieldTrainingLab | + +## Version 1.2.1.0 - `` 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 Lab (FTL) 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 Laboratory (FTL) + +--- + +## 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 +* [FieldTrainingLab.version] to be avc compliant +* Added + * avc github checker and badge +* Added + * json's + +--- + +## Verison 1.0.3.4.1 - `` edition + +* released Oct 1, 2019 +* for KSP 1.7.x +* removed SimpleLogistics.dll that stowed away. + +--- + +## 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 + * [FieldTrainingLab.cfg] + * now patches all parts with moduleScienceLab + * changed the [TrainingLab] to be [FieldTrainingLab] + * patches reflect this +* Removed + * other patch + +--- + +## Version 1.0.3.3 + +=--- original ---= + +* 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 + +* 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 + +* for Kerbal Space Program 1.2 +* Released on 2016-10-16 + +* Calculating Dead and respawned kerbalnaut + +--- + +## Version 1.0.1.0 + +* for Kerbal Space Program 1.2 +* Released on 2016-10-12 + +* Co-Work with Field Training Facility Mod + +--- + +## Version 1.0.0.0 + +* for Kerbal Space Program 1.2 +* Released on 2016-10-08 + +* No changelog provided + +--- + +## Version 1.0.0.0 + +* for Kerbal Space Program 1.1.3 +* Released on 2016-10-07 + +* No changelog provided + +--- diff --git a/GameData/FieldTrainingLab/readme.htm b/GameData/FieldTrainingLab/readme.htm new file mode 100644 index 0000000..e85c7fa --- /dev/null +++ b/GameData/FieldTrainingLab/readme.htm @@ -0,0 +1,477 @@ + + + + +

KSP version
+Curseforge GitHub SpaceDock CKAN
+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, originally by 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

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
LevelStarsAdditional XPTotal XPscience cost
0☆☆☆☆☆0020 science
1★☆☆☆☆22+40 science
2★★☆☆☆68+120 science
3★★★☆☆816+160 science
4★★★★☆1632+320 science
5★★★★★3264+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)

+
    +
  • 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.
  • +
+FieldTrainingFacility + +
+

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 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 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 Facility addons
  • +
  • Compatibility patches
  • +
  • Have a request? Glad to have them, kindly submit through GitHub.
  • +
+
+
+

Localization

+
+
    +
  • English English
  • +
  • 中文 Simplified Chinese (中文)
  • +
  • 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 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

+

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:

+
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

+ + + + + + + + + + +

https://img.shields.io/badge/License-GPLv3-A42E2B?style=plastic&labelColor=white&logoColor=A42E2B&logo=gnu +"GPLv3"

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

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. KSP Wiki: Experience↩︎

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

  4. +
  5. may work on +other versions (YMMV)↩︎

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

  8. +
+
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 +. diff --git a/MIT.txt b/MIT.txt deleted file mode 100644 index 1e355fb..0000000 --- a/MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) -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. diff --git a/Source/Constants.cs b/Source/Constants.cs deleted file mode 100644 index 4ed3790..0000000 --- a/Source/Constants.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System.Text; - -using FieldTrainingLab; - -public class Constants -{ - public const string MODNAME = "FieldTrainingLab"; - public const string MODTITLE = "Field Training Lab"; - public static readonly string ROOT_PATH = KSPUtil.ApplicationRootPath; - public static readonly string CONFIG_BASE_FOLDER = ROOT_PATH + "GameData/"; - public static string FTL_BASE_FOLDER { get { return CONFIG_BASE_FOLDER + MODNAME + "/"; } } - public static string FTL_NODENAME = MODNAME; - public string FTL_CFG_FILE { get { return FTL_BASE_FOLDER + "PluginData/FTL_Settings.cfg"; } } -} diff --git a/Source/FieldTrainingLab173.csproj b/Source/FieldTrainingLab173.csproj deleted file mode 100644 index d11d521..0000000 --- a/Source/FieldTrainingLab173.csproj +++ /dev/null @@ -1,90 +0,0 @@ - - - - - Debug - AnyCPU - {AD686AF3-DDDC-4991-909F-EAD9C16C469B} - Library - Properties - FieldTrainingLab - FieldTrainingLab - v3.5 - 512 - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - none - true - bin\Release\ - TRACE - prompt - 4 - true - - - - False - - - False - - - - - - - - - - - - - - - - - True - True - AssemblyVersion.tt - - - True - True - Version.tt - - - - - - - - TextTemplatingFileGenerator - AssemblyVersion.cs - - - TextTemplatingFileGenerator - Version.cs - - - - - set textTemplatingPath="$(DevEnvDir)texttransform.exe" -%25textTemplatingPath%25 "$(ProjectDir)Properties\AssemblyVersion.tt" - - - - - start /D $(ProjectDir)..\ /WAIT _deploy.bat $(TargetDir) $(TargetFileName) - if $(ConfigurationName) == Release start /D C:\KSP_DEV\Workspace\FieldTrainingLab /WAIT _buildRelease.bat $(TargetDir) $(TargetFileName) - - - \ No newline at end of file diff --git a/Source/FieldTrainingLab173.sln b/Source/FieldTrainingLab173.sln deleted file mode 100644 index 8c710ed..0000000 --- a/Source/FieldTrainingLab173.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}") = "FieldTrainingLab173", "FieldTrainingLab173.csproj", "{AD686AF3-DDDC-4991-909F-EAD9C16C469B}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SolutionItems", "SolutionItems", "{7B84804D-D321-451A-B023-DE3BC7F8F184}" - ProjectSection(SolutionItems) = preProject - ..\_buildRelease.bat = ..\_buildRelease.bat - ..\_deploy.bat = ..\_deploy.bat - ..\FieldTrainingLab.version = ..\FieldTrainingLab.version - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {AD686AF3-DDDC-4991-909F-EAD9C16C469B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {AD686AF3-DDDC-4991-909F-EAD9C16C469B}.Debug|Any CPU.Build.0 = Debug|Any CPU - {AD686AF3-DDDC-4991-909F-EAD9C16C469B}.Release|Any CPU.ActiveCfg = Release|Any CPU - {AD686AF3-DDDC-4991-909F-EAD9C16C469B}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {0557799F-C16D-4765-963D-E5FB203FD0C9} - EndGlobalSection -EndGlobal diff --git a/Source/FieldTrainingLab181.sln b/Source/FieldTrainingLab181.sln deleted file mode 100644 index b871381..0000000 --- a/Source/FieldTrainingLab181.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}") = "FieldTrainingLab181", "FieldTrainingLab181.csproj", "{AD686AF3-DDDC-4991-909F-EAD9C16C469B}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SolutionItems", "SolutionItems", "{7B84804D-D321-451A-B023-DE3BC7F8F184}" - ProjectSection(SolutionItems) = preProject - ..\_buildRelease.bat = ..\_buildRelease.bat - ..\_deploy.bat = ..\_deploy.bat - ..\FieldTrainingLab.version = ..\FieldTrainingLab.version - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {AD686AF3-DDDC-4991-909F-EAD9C16C469B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {AD686AF3-DDDC-4991-909F-EAD9C16C469B}.Debug|Any CPU.Build.0 = Debug|Any CPU - {AD686AF3-DDDC-4991-909F-EAD9C16C469B}.Release|Any CPU.ActiveCfg = Release|Any CPU - {AD686AF3-DDDC-4991-909F-EAD9C16C469B}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {0557799F-C16D-4765-963D-E5FB203FD0C9} - EndGlobalSection -EndGlobal diff --git a/Source/FieldTrainingLab191.csproj b/Source/FieldTrainingLab191.csproj deleted file mode 100644 index d4c8907..0000000 --- a/Source/FieldTrainingLab191.csproj +++ /dev/null @@ -1,90 +0,0 @@ - - - - - Debug - AnyCPU - {AD686AF3-DDDC-4991-909F-EAD9C16C469B} - Library - Properties - FieldTrainingLab - FieldTrainingLab - v4.8 - 512 - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - none - true - bin\Release\ - TRACE - prompt - 4 - true - - - - False - - - False - - - - - - - - - - - - - - - - - True - True - AssemblyVersion.tt - - - True - True - Version.tt - - - - - - - - TextTemplatingFileGenerator - AssemblyVersion.cs - - - TextTemplatingFileGenerator - Version.cs - - - - - set textTemplatingPath="$(DevEnvDir)texttransform.exe" -%25textTemplatingPath%25 "$(ProjectDir)Properties\AssemblyVersion.tt" - - - - - start /D $(ProjectDir)..\ /WAIT _deploy.bat $(TargetDir) $(TargetFileName) - if $(ConfigurationName) == Release start /D C:\KSP_DEV\Workspace\FieldTrainingLab /WAIT _buildRelease.bat $(TargetDir) $(TargetFileName) - - - \ No newline at end of file diff --git a/Source/FieldTrainingLab191.sln b/Source/FieldTrainingLab191.sln deleted file mode 100644 index 13a7f75..0000000 --- a/Source/FieldTrainingLab191.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}") = "FieldTrainingLab191", "FieldTrainingLab191.csproj", "{AD686AF3-DDDC-4991-909F-EAD9C16C469B}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SolutionItems", "SolutionItems", "{7B84804D-D321-451A-B023-DE3BC7F8F184}" - ProjectSection(SolutionItems) = preProject - ..\_buildRelease.bat = ..\_buildRelease.bat - ..\_deploy.bat = ..\_deploy.bat - ..\FieldTrainingLab.version = ..\FieldTrainingLab.version - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {AD686AF3-DDDC-4991-909F-EAD9C16C469B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {AD686AF3-DDDC-4991-909F-EAD9C16C469B}.Debug|Any CPU.Build.0 = Debug|Any CPU - {AD686AF3-DDDC-4991-909F-EAD9C16C469B}.Release|Any CPU.ActiveCfg = Release|Any CPU - {AD686AF3-DDDC-4991-909F-EAD9C16C469B}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {0557799F-C16D-4765-963D-E5FB203FD0C9} - EndGlobalSection -EndGlobal diff --git a/Source/InstallChecker.cs b/Source/InstallChecker.cs deleted file mode 100644 index facc337..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 FieldTrainingLab -{ - [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 = "FieldTrainingLab"; - internal const string FOLDERNAME = "FieldTrainingLab"; - 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/Logging.cs b/Source/Logging.cs deleted file mode 100644 index 4f60b4d..0000000 --- a/Source/Logging.cs +++ /dev/null @@ -1,104 +0,0 @@ -using System; -using System.Diagnostics; - -namespace FieldTrainingLab - -{ - public static class Log - { - public enum LEVEL - { - OFF = 0, - ERROR = 1, - WARNING = 2, - INFO = 3, - DETAIL = 4, - TRACE = 5 - } - - ; - - public static LEVEL level = LEVEL.INFO; - - public static LEVEL GetLevel() - { - return level; - } - - public static void SetLevel(LEVEL level) - { - UnityEngine.Debug.Log("log level " + level); - Log.level = level; - } - - public static LEVEL GetLogLevel() - { - return level; - } - - private static bool IsLevel(LEVEL level) - { - return level == Log.level; - } - - public static bool IsLogable(LEVEL level) - { - return level <= Log.level; - } - - public static void Trace(String msg) - { - if (IsLogable(LEVEL.TRACE)) - { - UnityEngine.Debug.Log(Constants.MODNAME + ": " + msg); - } - } - - public static void Detail(String msg) - { - if (IsLogable(LEVEL.DETAIL)) - { - UnityEngine.Debug.Log(Constants.MODNAME + ": " + msg); - } - } - - [ConditionalAttribute("DEBUG")] - public static void Info(String msg) - { - if (IsLogable(LEVEL.INFO)) - { - UnityEngine.Debug.Log(Constants.MODNAME + ": " + msg); - } - } - - [ConditionalAttribute("DEBUG")] - public static void Test(String msg) - { - //if (IsLogable(LEVEL.INFO)) - { - UnityEngine.Debug.LogWarning(Constants.MODNAME + " TEST:" + msg); - } - } - - public static void Warning(String msg) - { - if (IsLogable(LEVEL.WARNING)) - { - UnityEngine.Debug.LogWarning(Constants.MODNAME + ": " + msg); - } - } - - public static void Error(String msg) - { - if (IsLogable(LEVEL.ERROR)) - { - UnityEngine.Debug.LogError(Constants.MODNAME + ": " + msg); - } - } - - public static void Exception(Exception e) - { - Log.Error("exception caught: " + e.GetType() + ": " + e.Message); - } - } -} \ No newline at end of file diff --git a/Source/Properties/AssemblyInfo.cs b/Source/Properties/AssemblyInfo.cs deleted file mode 100644 index bc9a02f..0000000 --- a/Source/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Field Training Lab (FTL)")] -[assembly: AssemblyDescription("Train Kerbals using Science Points, for Kerbal Space Program")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Kerbalnaut Training Industries, Inc.")] -[assembly: AssemblyProduct("Field Training Lab")] -[assembly: AssemblyCopyright("Copyright (c) 2016 Efour")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] -[assembly: AssemblyInformationalVersionAttribute("Train Kerbals using Science Points, for Kerbal Space Program")] - -// The following GUID is for the ID of the typelib if this project is exposed to COM - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -//[assembly: AssemblyVersion("1.0.1.0")] -//[assembly: AssemblyFileVersion("1.0.4.0")] 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 b171e1f..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 = "FieldTrainingLab"; - - 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/AssemblyVersion1.cs b/Source/Properties/AssemblyVersion1.cs deleted file mode 100644 index 50ee494..0000000 --- a/Source/Properties/AssemblyVersion1.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.0.3.5")] - [assembly: AssemblyVersion("1.0.3.5")] diff --git a/Source/Properties/Version.cs b/Source/Properties/Version.cs deleted file mode 100644 index bbd0a85..0000000 --- a/Source/Properties/Version.cs +++ /dev/null @@ -1,19 +0,0 @@ - - -// Automatically generated code. Any changes will be lost! -namespace FieldTrainingLab -{ - 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 71a20eb..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 = "FieldTrainingLab"; - 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/changelog.md b/changelog.md index d224d88..307a9fe 100644 --- a/changelog.md +++ b/changelog.md @@ -15,11 +15,76 @@ * 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 - * -* Closed Duplicate Issues + * closes #9 - Field Training Lab (FTL) 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) diff --git a/docs/LegalMumboJumbo/FORUM-01.png b/docs/LegalMumboJumbo/FORUM-01.png new file mode 100644 index 0000000..01daca8 Binary files /dev/null and b/docs/LegalMumboJumbo/FORUM-01.png differ diff --git a/docs/LegalMumboJumbo/FORUM-02.png b/docs/LegalMumboJumbo/FORUM-02.png new file mode 100644 index 0000000..57332b4 Binary files /dev/null and b/docs/LegalMumboJumbo/FORUM-02.png differ diff --git a/docs/LegalMumboJumbo/FORUM-03.png b/docs/LegalMumboJumbo/FORUM-03.png new file mode 100644 index 0000000..d256a17 Binary files /dev/null and b/docs/LegalMumboJumbo/FORUM-03.png differ diff --git a/docs/LegalMumboJumbo/FORUM-04.png b/docs/LegalMumboJumbo/FORUM-04.png new file mode 100644 index 0000000..aa54366 Binary files /dev/null and b/docs/LegalMumboJumbo/FORUM-04.png differ diff --git a/docs/LegalMumboJumbo/license.md b/docs/LegalMumboJumbo/license.md index 5897c42..88607b2 100644 --- a/docs/LegalMumboJumbo/license.md +++ b/docs/LegalMumboJumbo/license.md @@ -1,24 +1,235 @@ -MIT License - -![License MIT](https://img.shields.io/badge/license-MIT-red) - -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. +--- +permalink: /License.html +title: License - GPLv3 +--- + + + [GPLv3 Logo] + +# GNU General Public License version 3 + +OSI Approved License Logo + +License Copyright: Copyright © 2007 Free Software Foundation, Inc. +License License: "Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed." ([www.gnu.org/licenses/gpl-3.0.en.html](https://www.gnu.org/licenses/gpl-3.0.en.html)). +License Contact: Free Software Foundation ([fsf.org](https://fsf.org/)). + +SPDX short identifier: GPL-3.0-only + +Further resources... + + + +------ + +*Begin license text.* + +------ + +**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 + + diff --git a/docs/ReleaseNotes/1.2.1.0.md b/docs/ReleaseNotes/1.2.1.0.md new file mode 100644 index 0000000..bb93d63 --- /dev/null +++ b/docs/ReleaseNotes/1.2.1.0.md @@ -0,0 +1,193 @@ +--- +permalink: /1.2.1.0.html +title: Release Notes v1.2.1.0 +description: Version Release Notes +tags: FieldTrainingLab,release-notes,kerbal,ksp,zer0Kerbal,zedK +layout: page +--- + + + +[![Field Training Lab 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 #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 Lab (FTL) 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 Laboratory (FTL) + +--- + +## 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 +>* ***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/FieldTrainingLab/master/changelog.md "Changelog" +[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/ "Issue Tracker" +[MOD:licns]: https://github.com/zer0Kerbal/FieldTrainingLab/blob/master/LICENSE/ "Repo License" +[MOD:pages]: https://zer0kerbal.github.io/FieldTrainingLab/ "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(FTL)%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/FieldTrainingLab/files/ "Curseforge" +[GITHUB:url]: https://github.com/zer0Kerbal/FieldTrainingLab/ "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+dh2bdvWZJuT12y1bdu2bdu2bbs3AQABlsED+y50lDqLE4pf/Uxe8KO77HFes9hvxu1p3O2Q09LVg0NVjo7Z5U6AvwBSOfivKdQTujOnXNG8hzNhqYSMMHJ+MwWWyTSjNUoP1jWHp1ZNmgB8TMH3Tl33mvoVb8uIj3umyIJLsAmYoCIqUCVMCN5WrW78Qi+AkeaGOkWFk3QbRmIWHpIZSURXDxhJVlJiYZ6kLEgeEjIRCBmxebhCTWlTJNaXLystGysVToPOAFJJjqSPNOXftSVbXPQjxrzVaFNzXvBonWJlonIVTJabAfjZ0Jxufl5GPntEHKjB7PIXtg6eYHywJn3hTdijjXUain94KjfCfg1hM3AZRR4N16VMXBrsDVYDCjOIMmGFsAab8rdY7+kIw0BgtRgL1DKJeuNZdQ9f5RAGGfOQfZxexj7t37RkjNp4rPDIHOJVyPBF+XHKsnQk4SWRBl8Wot74WtkBqidQggbyj2vW1WEFG6JfUZ8UxhVzOmAUdKTYZ3yxR2QwIIAQdA9YgiRBZWyCguiOER9y9IauiyGqR0EayVLiEVwmXmF5+Z2jfohj8i1q8ybRahCBAXZBCBUqLgAACQFzp5M/o5wzCDcCJZEOF9EzggM7NEd18c1Q85gPBldtg6mwB1N+hzyTSFp5jWM+WpCRBEBAjIaUxJI80o3s6vDYJ7gNXuAUfOacvsLvLhNIMaMwh8GccsXjtuiK+wkxZ/kVdOCzoCeAOn+N7H1rU1YT35MgAWY9yD5wMWI7j7G976bSh8LxDx2jI3IJRAnJ+RQQIU7gABnLd3vKSyMAd71mq7HgV3AJ+Sxh5Bz5O0z/gbTiNT8DxQssrrv7Uyx9Y7q6BQVUoIGonF/FfoC/RqwVHlviCRSABDvLaCUfZlz1cNENn6adNTz+AF8v8KWQAFL+QMkpCthFkpvvq7+2/to6AIBhyvPdrUr3g1XwBEJPMeP/98SxWWvs3nHIhgNnsY1RWVyw+Guh5IZLgj9WzPi/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=&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/FieldTrainingLab/master/json/license.json + +[AVCVAL:shd]: https://github.com/zer0Kerbal/FieldTrainingLab/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 diff --git a/docs/ReleaseNotes/index.md b/docs/ReleaseNotes/index.md new file mode 100644 index 0000000..c44c71e --- /dev/null +++ b/docs/ReleaseNotes/index.md @@ -0,0 +1,7 @@ +# ReleaseNotes + +## Categories + + +## Documents +- [1.2.1.0](1.2.1.0.md) \ No newline at end of file diff --git a/docs/changelog.md b/docs/changelog.md index 8f864fb..7564b08 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -29,11 +29,76 @@ CC BY-ND 4.0 by zer0Kerbal * 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 - * -* Closed Duplicate Issues + * closes #9 - Field Training Lab (FTL) 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) diff --git a/docs/index.md b/docs/index.md index 3f86bd9..114e525 100644 --- a/docs/index.md +++ b/docs/index.md @@ -2,6 +2,7 @@ ## Categories - [LegalMumboJumbo](./LegalMumboJumbo/index.md) +- [ReleaseNotes](./ReleaseNotes/index.md) ## Documents - [404](404.md) @@ -10,4 +11,5 @@ - [Localizations](Localizations.md) - [ManualInstallation](ManualInstallation.md) - [Notices](Notices.md) -- [Why-not](Why-not.md) \ No newline at end of file +- [Why-not](Why-not.md) +- [changelog](changelog.md) \ No newline at end of file diff --git a/json/ksp.json b/json/ksp.json index 94c1339..bfb79be 100644 --- a/json/ksp.json +++ b/json/ksp.json @@ -2,7 +2,7 @@ "schemaVersion": 1, "label": "KSP", "labelColor": "black", - "message": "1.8.1", + "message": "1.12.3", "color": "66ccff", "style": "plastic" } diff --git a/json/mod.json b/json/mod.json index 2e4bf46..93279a0 100644 --- a/json/mod.json +++ b/json/mod.json @@ -2,7 +2,7 @@ "schemaVersion": 1, "label": "Field Training Lab", "labelColor": "BADA55", - "message": "1.2.0.0", + "message": "1.2.1.0", "color": "darkgreen", "style": "plastic" } diff --git a/readme.md b/readme.md index 4dbccee..c2d536f 100644 --- a/readme.md +++ b/readme.md @@ -59,7 +59,7 @@ Pay 20 science and your kerbal recieved 1 experience. Once your kerbal has gaine * If leveling up *immediately* is not realistic? * Do you think training needs time to complete? -* then [Field Training Facility][thread:FTF] will be the answer for you. +* 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 @@ -69,7 +69,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)][thread:FTF] and [Field Training Lab (FTL)][thread:FTL] work together when both are installed. +* 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. @@ -206,7 +206,7 @@ or [![CKAN][CKAN:img]][CKAN:url] [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/192742-*/ "FieldTrainingLab Forum Thread" +[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" diff --git a/source/Constants.cs b/source/Constants.cs new file mode 100644 index 0000000..6511781 --- /dev/null +++ b/source/Constants.cs @@ -0,0 +1,33 @@ +/* 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.Text; + +using FieldTrainingLab; + +public class Constants +{ + public const string MODNAME = "FieldTrainingLab"; + public const string MODTITLE = "Field Training Lab"; + public static readonly string ROOT_PATH = KSPUtil.ApplicationRootPath; + public static readonly string CONFIG_BASE_FOLDER = ROOT_PATH + "GameData/"; + public static string FTL_BASE_FOLDER { get { return CONFIG_BASE_FOLDER + MODNAME + "/"; } } + public static string FTL_NODENAME = MODNAME; + public string FTL_CFG_FILE { get { return FTL_BASE_FOLDER + "PluginData/FTL_Settings.cfg"; } } +} diff --git a/Source/FieldTrainingLab181.csproj b/source/FieldTrainingLab.csproj similarity index 52% rename from Source/FieldTrainingLab181.csproj rename to source/FieldTrainingLab.csproj index 1905294..87d3c04 100644 --- a/Source/FieldTrainingLab181.csproj +++ b/source/FieldTrainingLab.csproj @@ -1,43 +1,54 @@  - + Debug AnyCPU {AD686AF3-DDDC-4991-909F-EAD9C16C469B} Library - Properties - FieldTrainingLab + false FieldTrainingLab - v4.8 + + v4.6.1 512 + true + latest + true full false - bin\Debug\ + ..\GameData\FieldTrainingLab\Plugins\ DEBUG;TRACE prompt 4 + false + false + anycpu - none + embedded true - bin\Release\ + ..\GameData\FieldTrainingLab\Plugins\ TRACE prompt 4 - true + false + anycpu + false - + + False + + False - + False - + False @@ -48,17 +59,10 @@ - - - - True - True - AssemblyVersion.tt - True True @@ -66,28 +70,43 @@ - - - - - TextTemplatingFileGenerator - AssemblyVersion.cs - TextTemplatingFileGenerator Version.cs - + + + + + - set textTemplatingPath="$(DevEnvDir)texttransform.exe" -%25textTemplatingPath%25 "$(ProjectDir)Properties\AssemblyVersion.tt" + "$(DevEnvDir)\TextTransform.exe" "$(ProjectDir)Properties\Version.tt" - start /D $(ProjectDir)..\ /WAIT _deploy.bat $(TargetDir) $(TargetFileName) - if $(ConfigurationName) == Release start /D C:\KSP_DEV\Workspace\FieldTrainingLab /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 diff --git a/source/FieldTrainingLab.sln b/source/FieldTrainingLab.sln new file mode 100644 index 0000000..308571e --- /dev/null +++ b/source/FieldTrainingLab.sln @@ -0,0 +1,63 @@ + +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}") = "FieldTrainingLab", "FieldTrainingLab.csproj", "{AD686AF3-DDDC-4991-909F-EAD9C16C469B}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SolutionItems", "SolutionItems", "{7B84804D-D321-451A-B023-DE3BC7F8F184}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {AD686AF3-DDDC-4991-909F-EAD9C16C469B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {AD686AF3-DDDC-4991-909F-EAD9C16C469B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {AD686AF3-DDDC-4991-909F-EAD9C16C469B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {AD686AF3-DDDC-4991-909F-EAD9C16C469B}.Release|Any CPU.Build.0 = Release|Any CPU + 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 = {D3B514B4-8D1F-452C-AED5-8E8BBCB7FE7E} + EndGlobalSection +EndGlobal diff --git a/Source/FieldTrainingLabModule.cs b/source/FieldTrainingLabModule.cs similarity index 82% rename from Source/FieldTrainingLabModule.cs rename to source/FieldTrainingLabModule.cs index 4e66a62..872c837 100644 --- a/Source/FieldTrainingLabModule.cs +++ b/source/FieldTrainingLabModule.cs @@ -1,4 +1,23 @@ -using UnityEngine; +/* 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 UnityEngine; using KSP.Localization; namespace FieldTrainingLab @@ -99,7 +118,7 @@ private void TrainKerbal(int index) { ProtoCrewMember crew = crewArr[index]; - int lastLog = getCrewTrainedLevel(crew); + int lastLog = GetCrewTrainedLevel(crew); if (lastLog == 5) { @@ -107,7 +126,7 @@ private void TrainKerbal(int index) return; } - float SciCost = calculateSciCost(levelUpExpTable[lastLog], crew); + float SciCost = CalculateSciCost(levelUpExpTable[lastLog], crew); if (ResearchAndDevelopment.Instance.Science < SciCost) { ScreenMessages.PostScreenMessage("Insufficient Science Points.\n" + @@ -115,7 +134,7 @@ private void TrainKerbal(int index) return; } ResearchAndDevelopment.Instance.AddScience(-1 * SciCost, TransactionReasons.CrewRecruited); - removeKerbalTrainingExp(crew); + RemoveKerbalTrainingExp(crew); crew.flightLog.AddEntry(new FlightLog.Entry(crew.flightLog.Flight, trainingArr[lastLog+1], "Kerbin")); ScreenMessages.PostScreenMessage(levelNumber[lastLog] + " Training Complete : " + crew.name); @@ -135,10 +154,10 @@ public override void OnUpdate() foreach (ProtoCrewMember crew in part.protoModuleCrew) { if (index >= 8) break; - int lastLog = getCrewTrainedLevel(crew); + int lastLog = GetCrewTrainedLevel(crew); crewArr[index] = crew; - int SciCost = (int) calculateSciCost(levelUpExpTable[lastLog], crew); + int SciCost = (int) CalculateSciCost(levelUpExpTable[lastLog], crew); if (lastLog < 5) Events[eventArr[index]].guiName = "[" + lastLog + "->" + (lastLog + 1) + "] " + crew.name + "[" + SciCost + "p]"; else Events[eventArr[index]].guiName = "[5]" + crew.name; @@ -152,9 +171,9 @@ public override void OnUpdate() #endregion - private int calculateSciCost(float baseValue, ProtoCrewMember crew) + private int CalculateSciCost(float baseValue, ProtoCrewMember crew) { - double calculated = baseValue * TrainFactor * (1 - (getKerbalTrainingExp(crew) / (TimeFactor * baseValue / 64))); + double calculated = baseValue * TrainFactor * (1 - (GetKerbalTrainingExp(crew) / (TimeFactor * baseValue / 64))); int ret = 0; if (this.vessel.mainBody.bodyName == "Kerbin" && this.vessel.LandedOrSplashed) ret = ((int) (calculated + 0.5)); @@ -165,7 +184,7 @@ private int calculateSciCost(float baseValue, ProtoCrewMember crew) return ret; } - private double getKerbalTrainingExp(ProtoCrewMember crew) + private double GetKerbalTrainingExp(ProtoCrewMember crew) { string lastExpStr = "0"; @@ -177,7 +196,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") @@ -187,7 +206,7 @@ private void removeKerbalTrainingExp(ProtoCrewMember crew) crew.flightLog.Entries.Remove(entry); } - private int getCrewTrainedLevel(ProtoCrewMember crew) + private int GetCrewTrainedLevel(ProtoCrewMember crew) { int lastLog = 0; FlightLog totalLog = crew.careerLog.CreateCopy(); @@ -243,14 +262,14 @@ 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("#FieldTrainingLab_manu"); // #FieldTrainingLab_manu = Kerbalnaut Training Industries, Inc. - info += "\n v" + Version.Text; // FTL Version Number text - info += "\n" + Localizer.Format("#FieldTrainingLab_desc"); // #FieldTrainingLab_desc = Train Kerbals using Science Points + info += Localizer.Format("#FTL-manu"); // #FTL-manu = Kerbalnaut Training Industries, Inc. + info += "\n v" + Version.SText; // FTL Version Number text + info += "\n" + Localizer.Format("#FTL-desc"); // #FTL-desc = Train Kerbals using Science Points } // #autoLOC_252004 = ElectricCharge // #FieldTrainingFacility_titl = FieldTrainingFacility - // #FieldTrainingLab_manu = Kerbalnaut Training Industries, Inc. - // #FieldTrainingLab_desc = Train Kerbals using time and Electric Charge + // #FTL-manu = Kerbalnaut Training Industries, Inc. + // #FTL-desc = Train Kerbals using time and Electric Charge return info; } } diff --git a/Source/KACWrapper.cs b/source/KACWrapper.cs similarity index 100% rename from Source/KACWrapper.cs rename to source/KACWrapper.cs diff --git a/source/Properties/AssemblyInfo.cs b/source/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..7498028 --- /dev/null +++ b/source/Properties/AssemblyInfo.cs @@ -0,0 +1,40 @@ +/* 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; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Field Training Lab (FTL)")] +[assembly: AssemblyDescription("Train Kerbals using Science Points, for Kerbal Space Program")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Kerbalnaut Training Industries, Inc.")] +[assembly: AssemblyProduct("Field Training Lab")] +[assembly: AssemblyCopyright("Copyright (c) 2016 Efour (c) 2019, 2022 zer0Kerbal")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] +//[assembly: AssemblyInformationalVersionAttribute("Train Kerbals using Science Points, for Kerbal Space Program")] \ No newline at end of file diff --git a/source/Properties/Version.cs b/source/Properties/Version.cs new file mode 100644 index 0000000..b126ba4 --- /dev/null +++ b/source/Properties/Version.cs @@ -0,0 +1,50 @@ +//14 +// +// 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.14")] +[assembly: AssemblyVersion("1.2.1.0")] +[assembly: AssemblyInformationalVersion("1.2.1")] +[assembly: KSPAssembly("FieldTrainingLab", 1,2,1)] + +namespace FieldTrainingLab +{ + 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 diff --git a/source/Properties/Version.tt b/source/Properties/Version.tt new file mode 100644 index 0000000..bd14f0c --- /dev/null +++ b/source/Properties/Version.tt @@ -0,0 +1,162 @@ +<# +/* + * Version.tt + * 2.0.3.0 +*/ + +/* 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 . +*/ + +#> +<# // 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 = "FieldTrainingLab"; + 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); + } + + 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); + } +#> +//<#=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 #>)] + +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 + "-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 diff --git a/Source/Settings.cs b/source/Settings.cs similarity index 87% rename from Source/Settings.cs rename to source/Settings.cs index d8896a9..e337276 100644 --- a/Source/Settings.cs +++ b/source/Settings.cs @@ -1,4 +1,23 @@ -/*using System; +/* 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; using System.Collections; using System.Collections.Generic; using System.Reflection; @@ -19,8 +38,7 @@ namespace FieldTrainingLab // search for "Mod integration into Stock Settings public class ODFC_Options : GameParameters.CustomParameterNode - { - public override string Title { get { return "[WIP] Field Training Lab Settings"; } } + { public override string Title { get { return "[WIP] Field Training Lab 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"; } }