Skip to content

Commit fccc4ac

Browse files
committed
Initial commit
0 parents  commit fccc4ac

13 files changed

Lines changed: 642 additions & 0 deletions

.gitattributes

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Auto detect text files and perform LF normalization
2+
# http://davidlaing.com/2012/09/19/customise-your-gitattributes-to-become-a-git-ninja/
3+
* text=auto
4+
5+
6+
7+
# Set the default behavior, in case people don't have core.autocrlf set.
8+
* text=auto
9+
10+
# Explicitly declare text files you want to always be normalized and converted
11+
# to native line endings on checkout.
12+
*.c text
13+
*.h text
14+
*.cs diff=csharp
15+
*.csproj text=auto merge=union
16+
*.cfg KSP configs
17+
18+
19+
# Declare files that will always have CRLF line endings on checkout.
20+
*.sln text=auto eol=crlf merge=union
21+
22+
# Denote all files that are truly binary and should not be modified.
23+
*.png binary
24+
*.jpg binary

.github/FUNDING.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# These are supported funding model platforms
2+
3+
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4+
patreon: zer0Kerbal# Replace with a single Patreon username
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: # Replace with a single Ko-fi username
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
otechie: # Replace with a single Otechie username
12+
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

.gitignore

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
# Prerequisites
2+
*.d
3+
4+
# Compiled Object files
5+
*.slo
6+
*.lo
7+
*.o
8+
*.obj
9+
10+
# Precompiled Headers
11+
*.gch
12+
*.pch
13+
14+
# Compiled Dynamic libraries
15+
*.so
16+
*.dylib
17+
*.dll
18+
19+
# Fortran module files
20+
*.mod
21+
*.smod
22+
23+
# Compiled Static libraries
24+
*.lai
25+
*.la
26+
*.a
27+
*.lib
28+
29+
# Executables
30+
*.exe
31+
*.out
32+
*.app
33+
34+
# Archive
35+
*.zip
36+
*.rar
37+
*.7z
38+
*.zip
39+
40+
# Unique
41+
*.atom
42+
43+
# Office
44+
*.xls
45+
*.xlsx
46+
*.psd
47+
*.7z
48+
*.rar
49+
50+
# Working files (copyright and shouldn't be included)
51+
*.dll
52+
*.zip
53+
*.mdb
54+
*.lock
55+
*.ide
56+
*.pdb
57+
*.cache
58+
*.txt
59+
Source/.vs/
60+
*.ide-wal
61+
*.suo
62+
/build/
63+
*.suo
64+
*.user
65+
_ReSharper.*/
66+
*.sdf
67+
bin/
68+
obj/
69+
Debug/
70+
Release/
71+
*.opensdf
72+
*.tlog
73+
*.log
74+
TestResult.xml
75+
*.VisualState.xml
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
@PART[KKAOSS_Science_g]:NEEDS[PlanetaryBaseInc]
2+
{
3+
MODULE
4+
{
5+
name = TrainingLabModule
6+
7+
// Science Cost = TrainingFactor * exp needed * conditions(inSpace, Landed on other planet)
8+
// example : landed on minmus, level 4->5 : 20 * 32 * 0.25 = 160
9+
TrainFactor = 20
10+
inSpace = 0.5
11+
Landed = 0.25
12+
TimeFactor = 9201600
13+
}
14+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
@PART[Large_Crewed_Lab]
2+
{
3+
MODULE
4+
{
5+
name = TrainingLabModule
6+
7+
// Science Cost = TrainingFactor * exp needed * conditions(inSpace, Landed on other planet)
8+
// example : landed on minmus, level 4->5 : 20 * 32 * 0.25 = 160
9+
TrainFactor = 20
10+
inSpace = 0.5
11+
Landed = 0.25
12+
TimeFactor = 9201600
13+
}
14+
}

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2019 zer0Kerbal
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# FieldTrainingLaboratory
2+
This mod adds a training center in the science laboratory. Paying science points gets kerbal experience.

Source/Properties/AssemblyInfo.cs

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
using System.Reflection;
2+
using System.Runtime.CompilerServices;
3+
using System.Runtime.InteropServices;
4+
5+
// General Information about an assembly is controlled through the following
6+
// set of attributes. Change these attribute values to modify the information
7+
// associated with an assembly.
8+
[assembly: AssemblyTitle("Training Lab Module")]
9+
[assembly: AssemblyDescription("Adding Training ability to Lab")]
10+
[assembly: AssemblyConfiguration("")]
11+
[assembly: AssemblyCompany("EfourTech")]
12+
[assembly: AssemblyProduct("TrainingLabModule")]
13+
[assembly: AssemblyCopyright("none")]
14+
[assembly: AssemblyTrademark("")]
15+
[assembly: AssemblyCulture("")]
16+
17+
// Setting ComVisible to false makes the types in this assembly not visible
18+
// to COM components. If you need to access a type in this assembly from
19+
// COM, set the ComVisible attribute to true on that type.
20+
[assembly: ComVisible(false)]
21+
22+
// The following GUID is for the ID of the typelib if this project is exposed to COM
23+
24+
// Version information for an assembly consists of the following four values:
25+
//
26+
// Major Version
27+
// Minor Version
28+
// Build Number
29+
// Revision
30+
//
31+
// You can specify all the values or you can default the Build and Revision Numbers
32+
// by using the '*' as shown below:
33+
// [assembly: AssemblyVersion("1.0.*")]
34+
[assembly: AssemblyVersion("1.0.1.0")]
35+
[assembly: AssemblyFileVersion("1.0.1.0")]

0 commit comments

Comments
 (0)