Larger Lamps 2.0 deprecated


Due to internal file changes this is deprecated. please look at https://mods.factorio.com/mod/LargerLamps-2_0

Content
a month ago
2.0
352
Circuit network

i AAI Industry Compat

a month ago

A very low priority suggestion, but it'd be great if the recipes could change to include the glass from AAI Industry when used alongside it, to make it consistent with AAI's change to the vanilla lamp recipe. Probably 2 Glass for the 2x2 Lamps, and 3 for the floor lamp panel.

a month ago

Hi Zerraforn,

It's possible to do. Basically, I add a huge if statement in the code, like:

if mods["ModName"] then
local recipe = data.raw.recipe["your-recipe-name"]
if recipe then
-- Modify the ingredients, results, etc.
ingredients = {
{ type = "item", name = "electronic-circuit", amount = 1 },
{ type = "item", name = "copper-cable", amount = 4 },
{ type = "item", name = "iron-plate", amount = 6 },
}
end
end

However, if AAI changes its version number or something, it won't work anymore, and I would need to update the mod. If you add support for just one mod, that’s fine, but imagine if all mods needed to be supported.

unless there is a way to do this for all mods or not at once i wont do it. even tough i want to

a month ago

A very low priority suggestion, but it'd be great if the recipes could change to include the glass from AAI Industry when used alongside it, to make it consistent with AAI's change to the vanilla lamp recipe. Probably 2 Glass for the 2x2 Lamps, and 3 for the floor lamp panel.

Actually added support in version 0.1.0 on the new mod page, release soonish this week

This thread has been locked.