up
This commit is contained in:
parent
29fb353735
commit
ba0ce3a314
2 changed files with 66 additions and 32 deletions
|
|
@ -20,4 +20,10 @@ function util.get_list()
|
|||
end
|
||||
end
|
||||
|
||||
function util.force_enable_recipe(event, recipe_name)
|
||||
if game.players[event.player_index].force.recipes[recipe_name] then
|
||||
game.players[event.player_index].force.recipes[recipe_name].enabled=true
|
||||
end
|
||||
end
|
||||
|
||||
return util
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue