-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0b2aa6a
commit 77e3a01
Showing
29 changed files
with
2,397 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#Autosave files | ||
*~ | ||
|
||
#build | ||
[Oo]bj/ | ||
[Bb]in/ | ||
packages/ | ||
TestResults/ | ||
|
||
# globs | ||
Makefile.in | ||
*.DS_Store | ||
*.sln.cache | ||
*.suo | ||
*.cache | ||
*.pidb | ||
*.userprefs | ||
*.usertasks | ||
config.log | ||
config.make | ||
config.status | ||
aclocal.m4 | ||
install-sh | ||
autom4te.cache/ | ||
*.user | ||
*.tar.gz | ||
tarballs/ | ||
test-results/ | ||
Thumbs.db | ||
|
||
#Mac bundle stuff | ||
*.dmg | ||
*.app | ||
|
||
#resharper | ||
*_Resharper.* | ||
*.Resharper | ||
|
||
#dotCover | ||
*.dotCover |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
@PART[*]:HAS[!MODULE[ModuleLogistics],@MODULE[ModuleCommand]] | ||
{ | ||
MODULE | ||
{ | ||
name = ModuleLogistics | ||
} | ||
} | ||
|
||
@PART[*]:HAS[!MODULE[ModuleLogistics],@MODULE[KerbalSeat]] | ||
{ | ||
MODULE | ||
{ | ||
name = ModuleLogistics | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
}, | ||
"VERSION" : | ||
{ | ||
"MAJOR" : 1, | ||
"MAJOR" : 2, | ||
"MINOR" : 0, | ||
"PATCH" : 0, | ||
"BUILD" : 0 | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+882 Bytes
GameData/SimpleLogistics/Textures/simple-logistics-icon-toolbar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
# KSP Simple Logistics | ||
Simple resource and power distribution with stock parts. | ||
Simple resource sharing among landed vessels. | ||
|
||
## Requirements | ||
- USI Tools | ||
- Module Manager |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio 2012 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleLogistics", "SimpleLogistics\SimpleLogistics.csproj", "{F6D1573E-A873-4CD9-8ABB-96BE08E12525}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{F6D1573E-A873-4CD9-8ABB-96BE08E12525}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{F6D1573E-A873-4CD9-8ABB-96BE08E12525}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{F6D1573E-A873-4CD9-8ABB-96BE08E12525}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{F6D1573E-A873-4CD9-8ABB-96BE08E12525}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using UnityEngine; | ||
using UnityEngine.UI; | ||
|
||
namespace SimpleLogistics | ||
{ | ||
public class LogisticsModule: PartModule | ||
{ | ||
[KSPField(isPersistant = true, guiName = "Plugged In?", guiActive = true)] | ||
private bool isActive = false; | ||
|
||
public bool IsActive { get { return isActive; } } | ||
|
||
[KSPEvent(guiActive = true, guiName = "Plug into Network")] | ||
private void Toggle() { | ||
isActive = !isActive; | ||
} | ||
|
||
public void Set(bool status) { | ||
isActive = status; | ||
} | ||
|
||
public override string GetInfo() | ||
{ | ||
return "Logistics Module for easy resource sharing."; | ||
} | ||
|
||
public override void OnStart(PartModule.StartState state) { | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
using System.Reflection; | ||
using System.Runtime.CompilerServices; | ||
|
||
// Information about this assembly is defined by the following attributes. | ||
// Change them to the values specific to your project. | ||
|
||
[assembly: AssemblyTitle ("SimpleLogistics")] | ||
[assembly: AssemblyDescription ("Simple Logistics for KSP")] | ||
[assembly: AssemblyConfiguration ("")] | ||
[assembly: AssemblyCompany ("")] | ||
[assembly: AssemblyProduct ("")] | ||
[assembly: AssemblyCopyright ("RealGecko")] | ||
[assembly: AssemblyTrademark ("")] | ||
[assembly: AssemblyCulture ("")] | ||
|
||
// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". | ||
// The form "{Major}.{Minor}.*" will automatically update the build and revision, | ||
// and "{Major}.{Minor}.{Build}.*" will update just the revision. | ||
|
||
[assembly: AssemblyVersion ("2.0.0")] | ||
|
||
// The following attributes are used to specify the signing key for the assembly, | ||
// if desired. See the Mono documentation for more information about signing. | ||
|
||
//[assembly: AssemblyDelaySign(false)] | ||
//[assembly: AssemblyKeyFile("")] | ||
|
Oops, something went wrong.