lossycrypt / eradicators-hand-crank-generator

A manual early game generator for factorio
Other
17 stars 5 forks source link

Idea: Click Buffering #3

Open GTrista opened 3 months ago

GTrista commented 3 months ago

I've noticed an annoyance of mistiming my presses, causing me to not crank the generator and either having to click again or just missing it completely. Extremely annoying when you try to crank the generator to the beat of some music.

And I don't want to simply decrease the cooldown because I want to limit myself to a maximum power generation, so that I wouldn't just start using these as my primary power source for any longer but the early game.

Sadly, I have not enough experience in modifying mods in Factorio myself, so I ask you to add button buffering, that remembers, if it has been pressed once recently and cranks the generator when the cooldown is over. Maybe even making it a checkmark on the start-up settings and a setting to say how many frames the buffer checks so you can choose if you want a buffer press so mistiming the generator isn't as annoying.

Also, sorry: I don't know how to change the topic type to not be an "Issue"

GTrista commented 2 weeks ago

I have learned how to mod using your mod... kinda lame that I didn't realize until now that your mod is also a glorified modding tutorial.

Anyways- I modified your mod, but the license you chose doesn't allow me to publish your mod with modifications- so instead I bring the modified mod to you if you are okay with me adding the mod to the Factorio modding hub. I didn't change the info.json in it yet, but I would mention it to be a fork of your mod.

The following changes I made:

So in conclusion, I managed to add the feature I requested for myself, but I can't apply it.

eradicators-hand-crank-generator_2.0.10.zip