User:LCruel: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
m (Creating user page for new user.)
 
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
Hobbyist mod maker from the Netherlands with style
Hobbyist mod maker from the Netherlands with style
Useful links:
* https://wiki.factorio.com/index.php?title=Modding
* https://wiki.factorio.com/index.php?title=Modding_FAQ
* https://wiki.factorio.com/index.php?title=Console
* https://wiki.factorio.com/index.php?title=Prototype_definitions
* http://lua-api.factorio.com/
* http://lua-api.factorio.com/0.12.26/Concepts.html#Command
* http://lua-api.factorio.com/0.12.27/Concepts.html#Command
* https://wiki.factorio.com/index.php?title=Modding_Tutorial
Usefull commands:
* for i, player in ipairs(game.players) do player.force.reset_technologies() end
* Print table /c  for i,ingredient in pairs(game.player.force.recipes["tank"].ingredients) do      game.player.print(ingredient.name .. " - " .. ingredient.amount)  end
* for i, player in ipairs(game.players) do player.force.reset_recipes() end

Latest revision as of 18:12, 5 May 2016

Hobbyist mod maker from the Netherlands with style

Useful links:

Usefull commands:

  • for i, player in ipairs(game.players) do player.force.reset_technologies() end
  • Print table /c for i,ingredient in pairs(game.player.force.recipes["tank"].ingredients) do game.player.print(ingredient.name .. " - " .. ingredient.amount) end
  • for i, player in ipairs(game.players) do player.force.reset_recipes() end