Skip to content

Commit

Permalink
Version 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Real-Gecko committed Nov 24, 2016
1 parent 0b2aa6a commit 77e3a01
Show file tree
Hide file tree
Showing 29 changed files with 2,397 additions and 65 deletions.
40 changes: 40 additions & 0 deletions .gitignore
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
15 changes: 15 additions & 0 deletions GameData/SimpleLogistics/Patches/CommandLogistics.cfg
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
}
}
16 changes: 0 additions & 16 deletions GameData/SimpleLogistics/Patches/CommandPowerCoupler.cfg

This file was deleted.

7 changes: 0 additions & 7 deletions GameData/SimpleLogistics/Patches/FissionPDU.cfg

This file was deleted.

7 changes: 0 additions & 7 deletions GameData/SimpleLogistics/Patches/GeneratorPDU.cfg

This file was deleted.

7 changes: 0 additions & 7 deletions GameData/SimpleLogistics/Patches/ISRUConsumer.cfg

This file was deleted.

6 changes: 0 additions & 6 deletions GameData/SimpleLogistics/Patches/LfOxWarehouse.cfg

This file was deleted.

6 changes: 0 additions & 6 deletions GameData/SimpleLogistics/Patches/MonoPropWarehouse.cfg

This file was deleted.

6 changes: 0 additions & 6 deletions GameData/SimpleLogistics/Patches/OreTanksWarehouse.cfg

This file was deleted.

7 changes: 0 additions & 7 deletions GameData/SimpleLogistics/Patches/ResourceConverterPDU.cfg

This file was deleted.

Binary file added GameData/SimpleLogistics/SimpleLogistics.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion GameData/SimpleLogistics/SimpleLogistics.version
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"VERSION" :
{
"MAJOR" : 1,
"MAJOR" : 2,
"MINOR" : 0,
"PATCH" : 0,
"BUILD" : 0
Expand Down
Binary file added GameData/SimpleLogistics/Textures/button-back.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.
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 GameData/SimpleLogistics/Textures/window-back.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions README.md
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
17 changes: 17 additions & 0 deletions SimpleLogistics.sln
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
32 changes: 32 additions & 0 deletions SimpleLogistics/LogisticsModule.cs
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) {
}
}
}
27 changes: 27 additions & 0 deletions SimpleLogistics/Properties/AssemblyInfo.cs
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("")]

Loading

0 comments on commit 77e3a01

Please sign in to comment.