Giter Site home page Giter Site logo

lilwhitemouse / rimworld-lwm-multi-fuel-requirement Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 629 KB

LWM: Multi Fuel Requirement - a RimWorld helper mod to allow buildings to require 2+ different fuel sources.

License: GNU Lesser General Public License v2.1

C# 100.00%

rimworld-lwm-multi-fuel-requirement's Introduction

RimWorld-LWM-Multi-Fuel-Requirement

LWM: Multi Fuel Requirement - a helper mod for RimWorld that allows other mod authors to create buildings that require two or more fuel sources to work.

For example, you could have a coal-powered paper nano-lathe that continually produces paper hats, and requires both coal AND wood to run. Or maybe a steam power generator that runs on wood and fairy dust. If you can make a building run on one fuel, now you can make it require two!

Use

Put this mod above whatever mod requires the multiple fuels.

Mod Makers

You can either point users towards this mod, or add the Assemblies folder to your own mod. Feel free, have fun, use it as you like. It would be nice if you acknowledged LWM somewhere in your mod.

Mod XML

Instead of having a single comp of <li Class="CompProperties_Refuelable">...etc...</li>, have multiple entires of

<li Class="LWM.Multi_Fuel_Requirement.Properties">...etc1...</li>
<li Class="LWM.Multi_Fuel_Requirement.Properties">...etc2...</li>

Don't mix them.

Known Limitations

  • Launchers: (Pod Launchers, etc): These may not work as expected. If all the fuels burn at the same rate, it might work okay? If this is a big thing for you, I might be able to make it happen? But don't count on it.
  • Target Fuel Level: This goes with Launchers - it might work, especially if everything burns at the same rate and has the same maximum capacity.
  • Explosions: Sometimes things go wrong, and your NanoForge(Hat Maker, whatever) takes some damage and explodes. This IS a RimWorld, after all. Due to limitations in patching, you'll probably get a smaller explosion than all those fuel tpes warrants - only the smallest fuel will blow up. Sorry about that - another limitation of what I can patch. If the code is ever adjusted to make patching easier, I could make bigger explosions.

Code available at: https://github.com/lilwhitemouse/RimWorld-LWM-Multi-Fuel-Requirement

Steam mod is at: https://steamcommunity.com/id/littlewhitemouse/myworkshopfiles/?appid=294100

Any problems, let me know in the forum, on GitHub, or if you get no response, at lilmouse(at)littlewhitemouse.net.

rimworld-lwm-multi-fuel-requirement's People

Contributors

lilwhitemouse avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.