Candide Posted February 28, 2019 Share Posted February 28, 2019 Hi guys, thought I share my first very simple mod I made for myself. I was annoyed of dealing with gases in my drecko ranch. So I removed the condition. Have fun. https://github.com/Truinto/ONI-Modloader-SimpleMods Link to comment https://forums.kleientertainment.com/forums/topic/103396-mods-truinto-mod/ Share on other sites More sharing options...
trevice Posted March 1, 2019 Share Posted March 1, 2019 Very nice to see new mods and modders. Looking forward for your next mods . Just a thing. Be careful because you ScaleGrowAnyGas mod is dependent on ONI-Common and I think you don't warn that in the notes. If you don't use the config files funcionality I advice you to remove the reference from the VS project. Link to comment https://forums.kleientertainment.com/forums/topic/103396-mods-truinto-mod/#findComment-1160483 Share on other sites More sharing options...
Candide Posted March 16, 2019 Author Share Posted March 16, 2019 Thanks. I was busy debugging my current project. It caused me some headache I still can't figure out why I can't define my event delegate: private static readonly EventSystem.IntraObjectHandler<LiquidReservoirSmart> OnStorageChangeDelegate = new EventSystem.IntraObjectHandler<LiquidReservoirSmart>((component, data) => component.OnStorageChange(data)); When I run this code, I get TypeLoadException: Could not load type 'System.Action`2' from assembly. Which is weird, as the code is identical to what is used in the base code and other modder also have this in their source code. Happy for any help. Code is on github. My workaround so far is ISims1000ms. I haven't tested LiquidReservoirSmart much, feel free to give feedback. You find it under Utilities, for some reason it didn't show up for me when I used the "Base" category. Link to comment https://forums.kleientertainment.com/forums/topic/103396-mods-truinto-mod/#findComment-1166077 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.