Skip to content
This repository has been archived by the owner on Sep 7, 2021. It is now read-only.

Commit

Permalink
testing goes outside GameData so I can stop packaging it by accident...
Browse files Browse the repository at this point in the history
  • Loading branch information
Crzyrndm committed Apr 23, 2016
1 parent 9b4de9f commit 2df31aa
Show file tree
Hide file tree
Showing 30 changed files with 196 additions and 81 deletions.
7 changes: 7 additions & 0 deletions FilterExtension/FilterExtensions.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup>
<RunPostBuildEvent>Always</RunPostBuildEvent>
</PropertyGroup>
<ItemGroup>
<Reference Include="Assembly-CSharp">
<HintPath>..\..\..\Desktop\Kerbal Space Program Dev\KSP_Data\Managed\Assembly-CSharp.dll</HintPath>
Expand Down Expand Up @@ -74,6 +77,10 @@
<PropertyGroup>
<PostBuildEvent>set SOURCE="D:\Users\Joshua\GitHub\FilterExtension\GameData"
set DESTINATION="D:\Users\Joshua\Desktop\Kerbal Space Program Dev\GameData"
xcopy %25SOURCE%25 %25DESTINATION%25 /E /C /R /I /K /Y

set SOURCE="D:\Users\Joshua\GitHub\FilterExtension\Testing"
set DESTINATION="D:\Users\Joshua\Desktop\Kerbal Space Program Dev\GameData\000_FilterExtensions Configs\Testing"
xcopy %25SOURCE%25 %25DESTINATION%25 /E /C /R /I /K /Y</PostBuildEvent>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Expand Down
21 changes: 0 additions & 21 deletions GameData/000_FilterExtensions Configs/Testing/ByModuleTitle.cfg

This file was deleted.

20 changes: 0 additions & 20 deletions GameData/000_FilterExtensions Configs/Testing/ByProfile.cfg

This file was deleted.

20 changes: 0 additions & 20 deletions GameData/000_FilterExtensions Configs/Testing/ByResource.cfg

This file was deleted.

20 changes: 0 additions & 20 deletions GameData/000_FilterExtensions Configs/Testing/BySize.cfg

This file was deleted.

Binary file modified GameData/000_FilterExtensions/FilterExtensions.dll
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,25 @@ SUBCATEGORY
}
}

SUBCATEGORY
{
name = By Module Name - !contains(ModuleEnginesFX & ModuleRCS)
FILTER
{
CHECK
{
type = moduleName
value = ModuleEnginesFX, ModuleRCS
contains = false
}
}
}

@CATEGORY[Testing]
{
@SUBCATEGORIES
{
list = By Module Name - ModuleEngines
list = By Module Name - !contains(ModuleEnginesFX & ModuleRCS)
}
}
34 changes: 34 additions & 0 deletions Testing/ByModuleTitle.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
SUBCATEGORY
{
name = By Module Title - Module Engines & Module Parachute
FILTER
{
CHECK
{
type = moduleTitle
value = Engine, Parachute
}
}
}
SUBCATEGORY
{
name = By Module Title 2 - !contains(Module Engines & Module Parachute)
FILTER
{
CHECK
{
type = moduleTitle
value = Engine, Parachute
contains = false
}
}
}

@CATEGORY[Testing]
{
@SUBCATEGORIES
{
list = By Module Title - Module Engines & Module Parachute
list = By Module Title 2 - !contains(Module Engines & Module Parachute)
}
}
File renamed without changes.
File renamed without changes.
35 changes: 35 additions & 0 deletions Testing/ByProfile.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
SUBCATEGORY
{
name = By Profile - mk2
FILTER
{
CHECK
{
type = profile
value = mk2
}
}
}

SUBCATEGORY
{
name = By Profile 2 - !contains(mk2 & mk1)
FILTER
{
CHECK
{
type = profile
value = mk2, mk1
contains = false
}
}
}

@CATEGORY[Testing]
{
@SUBCATEGORIES
{
list = By Profile - mk2
list = By Profile 2 - !contains(mk2 & mk1)
}
}
File renamed without changes.
35 changes: 35 additions & 0 deletions Testing/ByResource.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
SUBCATEGORY
{
name = By Resource - LF
FILTER
{
CHECK
{
type = resource
value = LiquidFuel
}
}
}

SUBCATEGORY
{
name = By Resource 2 - !contains(LF - Ox)
FILTER
{
CHECK
{
type = resource
value = LiquidFuel, Oxidizer
contains = false
}
}
}

@CATEGORY[Testing]
{
@SUBCATEGORIES
{
list = By Resource - LF
list = By Resource 2 - !contains(LF - Ox)
}
}
35 changes: 35 additions & 0 deletions Testing/BySize.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
SUBCATEGORY
{
name = By Size - 1
FILTER
{
CHECK
{
type = size
value = 1
}
}
}

SUBCATEGORY
{
name = By Size 2 - !contains(0-1-3)
FILTER
{
CHECK
{
type = size
value = 0, 1, 3
contains = false
}
}
}

@CATEGORY[Testing]
{
@SUBCATEGORIES
{
list = By Size - 1
list = By Size 2 - !contains(0-1-3)
}
}
File renamed without changes.
35 changes: 35 additions & 0 deletions Testing/ByTag.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
SUBCATEGORY
{
name = By Tag - mk2
FILTER
{
CHECK
{
type = tag
value = mk2
}
}
}

SUBCATEGORY
{
name = By Tag 2 - !contains(mk1 mk2)
FILTER
{
CHECK
{
type = tag
value = mk2, mk1
contains = false
}
}
}

@CATEGORY[Testing]
{
@SUBCATEGORIES
{
list = By Tag - mk2
list = By Tag 2 - !contains(mk1 mk2)
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 2df31aa

Please sign in to comment.