roxieceleste / sciencecontainers Goto Github PK
View Code? Open in Web Editor NEWScience Containers to collect all science reports in one go
License: Other
Science Containers to collect all science reports in one go
License: Other
Only other mod is MM.
[ERR 19:12:58.377] AssemblyLoader: Exception loading 'ScienceContainers': System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.
at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool)
at System.Reflection.Assembly.GetTypes () [0x00000] in :0
at AssemblyLoader.LoadAssemblies () [0x00000] in :0
Additional information about this exception:
System.TypeLoadException: Could not load type 'ScienceContainers.CapsuleScienceContainer' from assembly 'ScienceContainers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
System.TypeLoadException: Could not load type 'ScienceContainers.ProbeScienceContainer' from assembly 'ScienceContainers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
System.TypeLoadException: Could not load type 'd__6' from assembly 'ScienceContainers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
System.TypeLoadException: Could not load type '<>c__DisplayClassa' from assembly 'ScienceContainers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
System.TypeLoadException: Could not load type 'd__a' from assembly 'ScienceContainers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
System.TypeLoadException: Could not load type '<>c__DisplayClasse' from assembly 'ScienceContainers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
noticed a low occurrence condition with the MM patch you have right now, if a mod has a ModuleScienceLab part with module command you get a part with 2 CapsuleScienceContainer modules. (since MM applies all the patches in a pass at once)
Reworked the Patch slightly to prevent this.
Note: If you need to be after a specific patch, AFTER[pass name] is used in current MM configs as long as the other guy is playing nice and naming his patches. If he isn't you will be after him anyway since he will run in the main FIRST pass, and if he uses FINAL it wouldn't help anyway since they all run at once.
// Add CapsuleScienceContainer to Command Parts with Stock Science Containers
@PART[*]:HAS[@MODULE[ModuleCommand],@MODULE[ModuleScienceContainer],!MODULE[ProbeScienceCollector],!MODULE[CapsuleScienceCollector]]:FOR[ScienceContainers]
{
MODULE
{
name = CapsuleScienceContainer
}
}
// Add ProbeScienceContainer to Command Parts without Stock Science Containers
@PART[*]:HAS[@MODULE[ModuleCommand],!MODULE[ModuleScienceContainer],!MODULE[ProbeScienceCollector],!MODULE[CapsuleScienceCollector]]:FOR[ScienceContainers]
{
MODULE
{
name = ProbeScienceContainer
}
}
// Add CapsuleScienceContainer to ModuleScienceLab parts with Stock Science Containers and No Command Module
@PART[*]:HAS[@MODULE[ModuleScienceLab],@MODULE[ModuleScienceContainer],!MODULE[ModuleCommand],!MODULE[ProbeScienceCollector],!MODULE[CapsuleScienceCollector]]:FOR[ScienceContainers]
{
MODULE
{
name = CapsuleScienceContainer
}
}
Hope this has been helpful ๐
(ran into the duplicate problem with the roverdude's MKS/OKS Science Labs, since it has modulesciencelab and all the MKS modules have module command as well)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.