This repository has been archived by the owner on Sep 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
unignore testing cfgs, a few fixes to check logic
- Loading branch information
Showing
26 changed files
with
498 additions
and
38 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 |
---|---|---|
|
@@ -196,5 +196,4 @@ FakesAssemblies/ | |
*.opt | ||
|
||
PartDatabase.cfg | ||
Physics.cfg | ||
Testing/ | ||
Physics.cfg |
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
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
20 changes: 20 additions & 0 deletions
20
GameData/000_FilterExtensions Configs/Testing/ByCategory.cfg
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,20 @@ | ||
SUBCATEGORY | ||
{ | ||
name = By Category | ||
FILTER | ||
{ | ||
CHECK | ||
{ | ||
type = category | ||
value = Control | ||
} | ||
} | ||
} | ||
|
||
@CATEGORY[Testing] | ||
{ | ||
@SUBCATEGORIES | ||
{ | ||
list = By Category | ||
} | ||
} |
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,33 @@ | ||
SUBCATEGORY | ||
{ | ||
name = By Check | ||
FILTER | ||
{ | ||
// !(part.Has(Oxidizer) && part.mass > 1) | ||
CHECK | ||
{ | ||
///////////// normally doing !(A && B) or some other combinations is a little awkward/long winded. Check types group checks together to make that simpler | ||
type = check | ||
invert = true | ||
CHECK | ||
{ | ||
type = resource | ||
value = Oxidizer | ||
} | ||
CHECK | ||
{ | ||
type = mass | ||
value = 1 | ||
equality = greaterThan | ||
} | ||
} | ||
} | ||
} | ||
|
||
@CATEGORY[Testing] | ||
{ | ||
@SUBCATEGORIES | ||
{ | ||
list = By Check | ||
} | ||
} |
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,21 @@ | ||
SUBCATEGORY | ||
{ | ||
name = By Cost | ||
FILTER | ||
{ | ||
CHECK | ||
{ | ||
type = cost | ||
value = 100 | ||
equality = lessThan // case insensitive | ||
} | ||
} | ||
} | ||
|
||
@CATEGORY[Testing] | ||
{ | ||
@SUBCATEGORIES | ||
{ | ||
list = By Cost | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
GameData/000_FilterExtensions Configs/Testing/ByCrashTolerance.cfg
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,20 @@ | ||
SUBCATEGORY | ||
{ | ||
name = By Crash Tolerance | ||
FILTER | ||
{ | ||
CHECK | ||
{ | ||
type = crash | ||
value = 6 | ||
} | ||
} | ||
} | ||
|
||
@CATEGORY[Testing] | ||
{ | ||
@SUBCATEGORIES | ||
{ | ||
list = By Crash Tolerance | ||
} | ||
} |
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,20 @@ | ||
SUBCATEGORY | ||
{ | ||
name = By Crew | ||
FILTER | ||
{ | ||
CHECK | ||
{ | ||
type = crew | ||
value = 1 | ||
} | ||
} | ||
} | ||
|
||
@CATEGORY[Testing] | ||
{ | ||
@SUBCATEGORIES | ||
{ | ||
list = By Crew | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
GameData/000_FilterExtensions Configs/Testing/ByCustomUnpurchased.cfg
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,22 @@ | ||
SUBCATEGORY | ||
{ | ||
name = Unpurchased | ||
showUnpurchased = true | ||
FILTER | ||
{ | ||
CHECK | ||
{ | ||
type = custom | ||
value = purchased | ||
invert = true | ||
} | ||
} | ||
} | ||
|
||
@CATEGORY[Testing] | ||
{ | ||
@SUBCATEGORIES | ||
{ | ||
list = Unpurchased | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
GameData/000_FilterExtensions Configs/Testing/ByFolder.cfg
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,20 @@ | ||
SUBCATEGORY | ||
{ | ||
name = By Folder | ||
FILTER | ||
{ | ||
CHECK | ||
{ | ||
type = folder | ||
value = Squad | ||
} | ||
} | ||
} | ||
|
||
@CATEGORY[Testing] | ||
{ | ||
@SUBCATEGORIES | ||
{ | ||
list = By Folder | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
GameData/000_FilterExtensions Configs/Testing/ByFolderNoTemplate.cfg
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,21 @@ | ||
SUBCATEGORY | ||
{ | ||
name = Not Squad | ||
FILTER | ||
{ | ||
CHECK | ||
{ | ||
type = folder | ||
value = Squad | ||
invert = true | ||
} | ||
} | ||
} | ||
|
||
@CATEGORY[Testing] | ||
{ | ||
@SUBCATEGORIES | ||
{ | ||
list = Not Squad, dont template | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
GameData/000_FilterExtensions Configs/Testing/ByManufacturer.cfg
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,20 @@ | ||
SUBCATEGORY | ||
{ | ||
name = By Manufacturer | ||
FILTER | ||
{ | ||
CHECK | ||
{ | ||
type = manufacturer | ||
value = Ionic Symphonic Protonic Electronics | ||
} | ||
} | ||
} | ||
|
||
@CATEGORY[Testing] | ||
{ | ||
@SUBCATEGORIES | ||
{ | ||
list = By Manufacturer | ||
} | ||
} |
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,20 @@ | ||
SUBCATEGORY | ||
{ | ||
name = By Mass | ||
FILTER | ||
{ | ||
CHECK | ||
{ | ||
type = mass // dry mass | ||
value = 0.5 | ||
} | ||
} | ||
} | ||
|
||
@CATEGORY[Testing] | ||
{ | ||
@SUBCATEGORIES | ||
{ | ||
list = By Mass | ||
} | ||
} |
Oops, something went wrong.