Actual Craft Time

Display actual craft times for assemblers, furnaces and rocket silo
3 months ago
0.16 - 0.17
15973

b code for the labs

- 6 months ago

while researching something and clicking on a lab, i get:

error while running event
Actual_Craft_Time::on_gui_opnened (ID83)
LuaTechnology doesn´t contain key ingredients.
stack traceback
Actual_Craft_Time/control.lua:468: In function
<Actual_Craft_time/control.lua:282

- 6 months ago

Hey, I fixed this problem. Change control.lua at line 286.

It should look like this:
if entity and (--add in reactor?
entity.type == "assembling-machine" or
entity.type == "furnace" or
entity.type == "rocket-silo" -- or
--entity.type == "lab" or
--entity.type == "mining-drill"
) then

- 6 months ago

I opened a pull-request on github to fix this.

- 6 months ago

SounLee list mods used and which tech causes the crash?

- 6 months ago
(updated 6 months ago)

Mods:
Liquify Science and Big Lab
Efficient Research
Deadlock´s stacking/crating
Bio Industries

Techs:
all tech, no matter what is being researched. if i click on the lab while research is running (regardless of biglab or vanilla) i´ll get that error.

(downgradet to old version for now)

- 6 months ago
(updated 6 months ago)

sounLee > all tech, no matter what is being researched. if i click on the lab while research is running (regardless of biglab or vanilla) i´ll get that error.
I only got an error with biglab not vanilla. I've made a change so biglab should work in the next version

Kerboros> I opened a pull-request on github to fix this.
Thats not really a 'fix', it is more like turning off features

- 6 months ago

turning off features?

- 6 months ago

well, ok, I turned off the labs and miners. That fixes the crash. :) It might not be the desired result, but it might give you some time to make these functions rock-solid. That's why I just commented out these lines.