Market Science


Do research by providing the requested items to the market.

Overhaul
1 year, 5 months ago
1.1
478
Circuit network

g Item requested I can't make

1 year, 5 months ago

Currently I need heavy oil barrel.
I do have researched fluid handling, but I don't have researched advanced oil processing yet.

1 year, 5 months ago

I tried a workaround to be able to continue playing by disabling the mod, saving the game, enabling the mod, load the game.
The first thing to research now is of course advanced oil processing, but I'm at 3% and I need a light oil barrel.

1 year, 5 months ago

Ah this is an edge case that probably got introduced in the last version. I'll release a fix today.

1 year, 5 months ago

Thanks

I made a workaround for now by modifying the control.lua and adding a command.
if command.parameter == "generate" then
newOrders(game.get_player(command.player_index).force_index)
UpdateOrdersGUI()
end

1 year, 5 months ago

Not sure if my generate command breaks something, but now I get the following error.

The mod Market Science (0.1.2) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event marketscience::on_nth_tick(60)
Unknown item name: sulfuric-acid
stack traceback:
[C]: in function 'set_signal'
marketscience/control.lua:86: in function 'UpdateSignals'
marketscience/control.lua:230: in function <marketscience/control.lua:198>

So I guess I can better wait for your fix :-)

1 year, 5 months ago

I pushed a fix that should resolve both these issues automatically. If anything is still broken do let me know!

1 year, 5 months ago

Thanks, looks like it works correct again.

New response