codetaylor / pyrotech-1.12

An early game mod with new primitive devices, combustion machines, smelting mechanics, storage options, tools, torches, advancements, and absolutely zero GUIs -- with exception to the substantially complete, mostly illustrated, and charred guidebook.
https://pyrotech.readthedocs.io/en/latest/
Other
52 stars 20 forks source link

Separate list of combustible fuels #404

Open Gliese-832-c opened 2 years ago

Gliese-832-c commented 2 years ago

Intro

I am trying to make a hardcore realism-based modpack. Pyrotech is an amazing mod for this purpose, providing a multitude of blocks, items, and mechanics to help with implementing a convincing early-game progression into the pack. However, it is not perfect.

Issue Description

One of the things I'm trying to do is have a somewhat realistic metallurgy system in the modpack. This includes having to use proper fuels. In real life, wood, for example, doesn't burn hot enough to even melt copper. I want "machines" like the crucible to only be able to use coals or other high-temperature fuels.

What Happens

Right now, Pyrotech's machines (if I may call the various furnaces that) just use the vanilla burn time system.

What You Expect to Happen

I propose a config option that allows modpack authors to use a separate list of fuels. This config option, if set to true, will make it so that when trying to use any of the machines in this mod to burn something, will check another config option that looks something like this:

        S:ALTERNATE_FUELS <
            minecraft:coal;10000
            fuelsmod:fuelitem:3;12345
            *etc.*
         >

It would be a config where you can enter an item and a burn time in ticks to determine a customized list of fuels. As you can see, it would follow a format like modid:itemid:metadata;burndurationinticks. If a metadata value is left out, it will be assumed to be 0.

In fact, what could be done is making it so that each individual machine has a boolean config to make it either use the Vanilla burn time, or this customized burn time. That way, you could run your bread baking oven using wood, but your ore smelting crucible using only coal or better. Technically, each machine could get its own, customized list of fuels, though I would be more than happy if even just one custom fuel list was implemented into the mod.

Script

Not applicable.

Crash Log

Not applicable.

Affected Versions

Primitive-Human commented 2 years ago

The blast furnaces of most mods do something very similar, where they only allow a prespecified list of fuel items to produce steel. If they did not, players would throw in cacti, sugar reeds or any kind of combustible refuse, which wouldn't be good for steel production.