That works, copied your code. thank you.charmead wrote:what error are you getting?Skitt wrote:hmm still not working
this is the control.lua I now have.
and the info.jsonCode: Select all
-- reset recipes so changes in the config are working in previously saved games script.on_event(defines.events.on_player_created, function(event) resetRecipes(event) end) function resetRecipes(_event) srPlayer = game.players[_event.player_index] srPlayer.print("Specialized refineries: resetting recipes..") srPlayer.force.reset_recipes() end
Code: Select all
{ "name": "specialized_refineries", "version": "1.0.5", "factorio_version": "0.13", "title": "Specialized Oil Refineries", "author": "Walter, Exclusive-IT.nl", "contact": "https://forums.factorio.com/viewtopic.php?f=97&t=23441", "homepage": "http://www.factoriomods.com/mods/specialized-oil-refineries-not-3-at-once", "description": "Process crude oil into a single product in specialized refineries.", "dependencies": [ "base >= 0.12" ] }
When i tried it just wasnt showing up in game at all