Angel's Infinite Ores


Adds infinite ores for the base game, Bobmods, Yuoki Industries, Uranium Power, Nucular, Dark Matter Replicators and the base ores for AngelsRefining. Best used with RSO mod to have infinite ores in the core of regular resource patches. Has config options to change the yield for all infinite resources including oil

Content
3 months ago
0.14 - 1.1
99.0K
Mining

i How to fix localization-override.lua (v 0.6.6)

6 years ago

Hello,

Here is how to fix the error thrown by localization-override.lua, which is commented right now:

You have to remove the extraneous, empty accolades {}, from string initialization

Here are the lines that are changed:

if bobmods and bobmods.plates then
    data.raw["resource"]["angels-ore1"].localised_description={"entity-description.angels-ore1-bob", {}}
    data.raw["resource"]["angels-ore2"].localised_description={"entity-description.angels-ore2-bob", {}}
    data.raw["resource"]["angels-ore3"].localised_description={"entity-description.angels-ore3-bob", {}}
    data.raw["resource"]["angels-ore4"].localised_description={"entity-description.angels-ore4-bob", {}}
    data.raw["resource"]["angels-ore5"].localised_description={"entity-description.angels-ore5-bob"}
    data.raw["resource"]["angels-ore6"].localised_description={"entity-description.angels-ore6-bob"}

    data.raw["item"]["angels-ore1"].localised_description={"entity-description.angels-ore1-bob", {}}
    data.raw["item"]["angels-ore2"].localised_description={"entity-description.angels-ore2-bob", {}}
    data.raw["item"]["angels-ore3"].localised_description={"entity-description.angels-ore3-bob", {}}
    data.raw["item"]["angels-ore4"].localised_description={"entity-description.angels-ore4-bob", {}}
    data.raw["item"]["angels-ore5"].localised_description={"entity-description.angels-ore5-bob"}
    data.raw["item"]["angels-ore6"].localised_description={"entity-description.angels-ore6-bob"}
    if data.raw.resource["y-res1"] then

6 years ago

Here are the changed lines:


if bobmods and bobmods.plates then
    data.raw["resource"]["angels-ore1"].localised_description={"entity-description.angels-ore1-bob"}
    data.raw["resource"]["angels-ore2"].localised_description={"entity-description.angels-ore2-bob"}
    data.raw["resource"]["angels-ore3"].localised_description={"entity-description.angels-ore3-bob"}
    data.raw["resource"]["angels-ore4"].localised_description={"entity-description.angels-ore4-bob"}
    data.raw["resource"]["angels-ore5"].localised_description={"entity-description.angels-ore5-bob"}
    data.raw["resource"]["angels-ore6"].localised_description={"entity-description.angels-ore6-bob"}

    data.raw["item"]["angels-ore1"].localised_description={"entity-description.angels-ore1-bob"}
    data.raw["item"]["angels-ore2"].localised_description={"entity-description.angels-ore2-bob"}
    data.raw["item"]["angels-ore3"].localised_description={"entity-description.angels-ore3-bob"}
    data.raw["item"]["angels-ore4"].localised_description={"entity-description.angels-ore4-bob"}
    data.raw["item"]["angels-ore5"].localised_description={"entity-description.angels-ore5-bob"}
    data.raw["item"]["angels-ore6"].localised_description={"entity-description.angels-ore6-bob"}
    if data.raw.resource["y-res1"] then