Amator Phasma's Coal & Steam (forked)

by ldinc

This mod revisits the early game of Factorio and pushes the electrification a bit further back by extending the Burner-Stage and inserting a new stage: Steam-Stage (buildings will be powered by steam).

Content
8 days ago
1.1 - 2.0
1.51K

b [✓] [0.31.21] Hot Metals with research

4 months ago
(updated 4 months ago)

well, have to reopen this , so... heres the thing, at V0.31.18 steam power tech would research as soon as i got 50 Steel plates, but steel axe tech would not because it requires hot steel plate from "hot metals" and i didnt get them, at V0.31.19+ it went opposite, now hot steel plates would research steel axe research but when it decayed to "vanilla" steel plates, steam power doesnt research for some reason.

i dont even understand why it asks for hot steel plates even before your integration for the "hot metals" mod

EDIT: Already tried take all mods out and just use yours with hot metals but still doesnt work , same thing happends

EDIT2: aparently he has a fuction that changes item triggers for researches that requires items but somehow it only triggers for the steel axe research and not for steam power research

EDIT3: so, im not that much into coding but if my understanding is right "apm.lib.utils.technology.trigger.set.craft_item("steam-power", "steel-plate", 50)" has the following problems!?!?

1st - a) is hardcoded so hotmetals cannot change this
1st - b) its loading before your mod so it doesnt modify your research
1st - c) its lacking integration

2nd - if the item decays it doesnt trigger a crafting event, so steam power doesnt get research

temporary solution is to change versions from recent ( V0.31.19+) to V0.31.18 and back again just to get steam power reseach but if other people uses both of the mods they are gonna get the same problem

best regards and thx for this awesome mod

PS: heres IG screens https://imgur.com/a/gXWdmpn

4 months ago
(updated 4 months ago)

Hi!
1) Why does hot steel plates are required for "steel axe" tech? - Because HotMetals rewrites all occurancy of added items (steel-plate by default added). I don't actually check all update code of HM, but it's seems change entities at least on "data-updates" cycle. Even without apm mods it does it.

Why "steam-power" tech doesn't have "hot-steel-plate" trigger? You are right - the mentioned code by you rewrite it...
The current aplied mod order can be found in log file. For example:
1.355 Loading mod base 2.0.29 (data-updates.lua) 1.367 Loading mod hot-metals 1.2.0 (data-updates.lua) 1.380 Loading mod quality 2.0.29 (data-updates.lua) 1.405 Loading mod yafla 0.1.13 (data-updates.lua) 1.417 Loading mod apm_lib_ldinc 0.31.9 (data-updates.lua) 1.434 Loading mod Smart_Inserters 2.0.14 (data-updates.lua) 1.445 Loading mod space-age 2.0.29 (data-updates.lua) 1.458 Loading mod apm_power_ldinc 0.31.20 (data-updates.lua) 1.479 Loading mod apm_nuclear_ldinc 0.31.5 (data-updates.lua)
HM mod applies changes before apm... so it leads to unexpected trigger =)

2) Spoiled items don't increment tech progress. Checked w\ stable + exp version of game... It's seems to be game bug. I can make report to forum. On my side i can only change trigger item from "steel-plate" to "hot-steel-plate"

4 months ago

Updated with apm_power_0.31.21 version

4 months ago

Bug report on forum

4 months ago

It's not a bug, it's feature (devs about spoilage and research trigger)

4 months ago

well, good to know.

if something like that happends again at least i know

4 months ago

I hope now all is fine )

4 months ago

yep, its working, thx for the fix BTW

New response