I want make addon
Posted: Thu Aug 20, 2020 10:52 am
I want make addon angelmods for unused materials like cobalt plate. How can learn make addons for mods. Any idea, tutorial, ide or program suggestion?
Write here ingredients, amounts and result for example.CruWiT wrote: Thu Aug 20, 2020 10:52 am I want make addon angelmods for unused materials like cobalt plate. How can learn make addons for mods. Any idea, tutorial, ide or program suggestion?
For Example I want;darkfrei wrote: Thu Aug 20, 2020 10:58 amWrite here ingredients, amounts and result for example.CruWiT wrote: Thu Aug 20, 2020 10:52 am I want make addon angelmods for unused materials like cobalt plate. How can learn make addons for mods. Any idea, tutorial, ide or program suggestion?
See also https://wiki.factorio.com/Tutorial:Modding_tutorial
I don't know the internal name, press the F5 in the game to get the item's internal name.CruWiT wrote: Thu Aug 20, 2020 12:56 pmFor Example I want;darkfrei wrote: Thu Aug 20, 2020 10:58 amWrite here ingredients, amounts and result for example.CruWiT wrote: Thu Aug 20, 2020 10:52 am I want make addon angelmods for unused materials like cobalt plate. How can learn make addons for mods. Any idea, tutorial, ide or program suggestion?
See also https://wiki.factorio.com/Tutorial:Modding_tutorial
ingredients;
1x phenolic board
1x copper plate
1x tin plate
1x cobalt plate
5x ferric chloride solution
Result;
4x Basic Module Board
How can do this?
Code: Select all
data:extend({
{
name = "my-first-mod-basic-module-board", -- the name of the recipe must be unique
type = "recipe",
ingredients =
{
{"phenolic-board", 1},
{"copper-plate", 1},
{"tin-plate", 1},
{"cobalt-plate", 1},
{"ferric-chloride-solution", 5} -- definition for item, not for fluid!
},
result = "basic-module-board",
result_count = 4
}
})
Use the same internal recipe name as it was before, not unique recipe name anymore; but instead of data.lua it must be in the file data-updates.lua or data-final-fixes.lua.CruWiT wrote: Thu Aug 20, 2020 3:54 pm Thanks but How can override this recipe to old orginal recipe?
Ok. I will try thanks your helps.darkfrei wrote: Fri Aug 21, 2020 8:54 amUse the same internal recipe name as it was before, not unique recipe name anymore; but instead of data.lua it must be in the file data-updates.lua or data-final-fixes.lua.CruWiT wrote: Thu Aug 20, 2020 3:54 pm Thanks but How can override this recipe to old orginal recipe?