diff --git a/Bio_Industries_2/Test_Spawn.lua b/Bio_Industries_2/Test_Spawn.lua deleted file mode 100644 index 5280d4e..0000000 --- a/Bio_Industries_2/Test_Spawn.lua +++ /dev/null @@ -1,85 +0,0 @@ ------ Just used for Testing - - -function Test_Spawn() - local surface = game.surfaces['nauvis'] - - surface.create_entity({name = "tree-01", position = {2, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-02", position = {4, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-02-red", position = {6, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-03", position = {8, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-04", position = {10, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-05", position = {12, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-06", position = {14, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-06-brown", position = {16, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-07", position = {18, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-08", position = {20, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-08-brown", position = {22, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-09", position = {24, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-09-brown", position = {26, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-09-red", position = {28, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-desert-a", position = {30, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-desert-b", position = {32, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-desert-c", position = {34, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-desert-d", position = {36, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-desert-e", position = {38, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-desert-f", position = {40, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-desert-g", position = {42, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-desert-h", position = {44, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-desert-i", position = {46, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-desert-j", position = {48, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-desert-k", position = {50, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-desert-l", position = {52, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-desert-m", position = {54, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-desert-n", position = {56, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-dryland-a", position = {58, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-dryland-b", position = {60, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-dryland-c", position = {62, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-dryland-d", position = {64, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-dryland-e", position = {66, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-dryland-f", position = {68, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-dryland-g", position = {70, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-dryland-h", position = {72, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-dryland-i", position = {74, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-dryland-j", position = {76, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-dryland-k", position = {78, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-dryland-l", position = {80, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-dryland-m", position = {82, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-dryland-n", position = {84, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-dryland-o", position = {86, 10}, force = game.forces.player}) - --surface.create_entity({name = "tree-grassland-0", position = {88, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-grassland-a", position = {90, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-grassland-b", position = {92, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-grassland-c", position = {94, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-grassland-d", position = {96, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-grassland-e", position = {98, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-grassland-f", position = {100, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-grassland-g", position = {102, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-grassland-h", position = {104, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-grassland-h2", position = {106, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-grassland-h3", position = {108, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-grassland-i", position = {110, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-grassland-k", position = {112, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-grassland-l", position = {114, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-grassland-m", position = {116, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-grassland-n", position = {118, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-grassland-p", position = {120, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-grassland-q", position = {122, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-snow-a", position = {124, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-volcanic-a", position = {126, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-wetland-a", position = {128, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-wetland-b", position = {130, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-wetland-c", position = {132, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-wetland-d", position = {134, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-wetland-e", position = {136, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-wetland-f", position = {138, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-wetland-g", position = {140, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-wetland-h", position = {142, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-wetland-i", position = {144, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-wetland-j", position = {146, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-wetland-k", position = {148, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-wetland-l", position = {150, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-wetland-m", position = {152, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-wetland-n", position = {154, 10}, force = game.forces.player}) - surface.create_entity({name = "tree-wetland-o", position = {156, 10}, force = game.forces.player}) -end diff --git a/Bio_Industries_2/changelog.txt b/Bio_Industries_2/changelog.txt index 1b97da9..454cfb6 100644 --- a/Bio_Industries_2/changelog.txt +++ b/Bio_Industries_2/changelog.txt @@ -1,4 +1,145 @@ ---------------------------------------------------------------------------------------------------- -Version: 2.0.0 -Date: 05.07.2025 - Initial 2.0 release \ No newline at end of file +--------------------------------------------------------------------------------------------------- +Version: 2.0.26 +Date: 21.10.2025 + Changes: + - Add Brazilian translations (thanks Slondo) +--------------------------------------------------------------------------------------------------- +Version: 2.0.25 +Date: 18.10.2025 + Bug Fixes: + - More mod compatibility fixes +--------------------------------------------------------------------------------------------------- +Version: 2.0.24 +Date: 18.10.2025 + Bug Fixes: + - Krastorio2: Compatibility fixes +--------------------------------------------------------------------------------------------------- +Version: 2.0.23 +Date: 17.10.2025 + Bug Fixes: + - Fixed crash when placing bio gardens + - Match bio garden pollution reduction by the amount of trees equivalent the description states + - Correct typo in internal recipe name to fix the localisation +--------------------------------------------------------------------------------------------------- +Version: 2.0.22 +Date: 16.10.2025 + Bug Fixes: + - Krastorio2: Compatibility fixes +--------------------------------------------------------------------------------------------------- +Version: 2.0.21 +Date: 11.10.2025 + Bug Fixes: + - Krastorio2: Compatibility fixes +--------------------------------------------------------------------------------------------------- +Version: 2.0.20 +Date: 12.09.2025 + Changes: + - Code Clean up + - More Updates to Bob's Compatibility + - Added a few milestones +--------------------------------------------------------------------------------------------------- +Version: 2.0.19 +Date: 11.09.2025 + Bug Fixes: + - Fix Bio Reactor graphic shift when selecting a recipe with 3 fluid inputs. +--------------------------------------------------------------------------------------------------- +Version: 2.0.18 +Date: 10.09.2025 + Bug Fixes: + - Fix crash with Krastorio 2 (Spaced Out) +--------------------------------------------------------------------------------------------------- +Version: 2.0.17 +Date: 10.09.2025 + Changes: + - More Updates to Bob's Compatibility +--------------------------------------------------------------------------------------------------- +Version: 2.0.16 +Date: 09.09.2025 + Bug Fixes: + - Fixed missing fertilizer icon, attempt 2 +--------------------------------------------------------------------------------------------------- +Version: 2.0.15 +Date: 09.09.2025 + Bug Fixes: + - Fixed missing icon "Bio_Industries_2/graphics/icons/fluid_advanced_fertilizer_recipe_64.png not found" +--------------------------------------------------------------------------------------------------- +Version: 2.0.14 +Date: 09.09.2025 + Bug Fixes: + - Fixed missing 'liquid-air' in not playing with Bob's +--------------------------------------------------------------------------------------------------- +Version: 2.0.13 +Date: 09.09.2025 + Changes: + - Updated Rail to remove Decorative when placed + - Updated Bob's Compatibility +--------------------------------------------------------------------------------------------------- +Version: 2.0.12 +Date: 05.09.2025 + Changes: + - Updated Wood Rail Graphic. No more ugly Tint. (Thanks Snouz!) +--------------------------------------------------------------------------------------------------- +Version: 2.0.11 +Date: 04.09.2025 + Bug Fixes: + - Fixed (I hope) Wood Rail +--------------------------------------------------------------------------------------------------- +Version: 2.0.10 +Date: 02.09.2025 + Bug Fixes: + - Fix working visualisations for Bio Nursery +--------------------------------------------------------------------------------------------------- +Version: 2.0.9 +Date: 02.09.2025 + Bug Fixes: + - Fix working visualisations for Bio Farm +--------------------------------------------------------------------------------------------------- +Version: 2.0.8 +Date: 31.08.2025 + Bug Fixes: + - Fix icon path +--------------------------------------------------------------------------------------------------- +Version: 2.0.7 +Date: 31.08.2025 + Bug Fixes: + - Fix file names +--------------------------------------------------------------------------------------------------- +Version: 2.0.6 +Date: 31.08.2025 + Bug Fixes: + - Add missing subgroups (put icons in correct tab) +--------------------------------------------------------------------------------------------------- +Version: 2.0.5 +Date: 31.08.2025 + Bug Fixes: + - Fixed Wood Underground pipe graphic (TheSAguy) + - Fixed Prototype Artillery (TheSAguy) + - Fixed Dart Turret ammo (TheSAguy) + Changes: + - Updated Vanilla Rail Recipe (TheSAguy) + - Added Wooden Rail (TheSAguy) + - Updated some graphics (TheSAguy; BIG thanks to Snouz!) +--------------------------------------------------------------------------------------------------- +Version: 2.0.4 +Date: 28.07.2025 + Bug Fixes: + - Fix Bio Boiler +--------------------------------------------------------------------------------------------------- +Version: 2.0.3 +Date: 13.07.2025 + Bug Fixes: + - Fix several entities +--------------------------------------------------------------------------------------------------- +Version: 2.0.2 +Date: 07.07.2025 + Bug Fixes: + - Fix compatibility with Krastorio2 + Changes: + - Add compatibility with Space Age + - Add compatibility with Krastorio2 Spaced Out +--------------------------------------------------------------------------------------------------- +Version: 2.0.1 +Date: 06.07.2025 + Bug Fixes: + - Fix locales + - Fix Musk floor \ No newline at end of file diff --git a/Bio_Industries_2/common.lua b/Bio_Industries_2/common.lua index 0cbceff..dbd8620 100644 --- a/Bio_Industries_2/common.lua +++ b/Bio_Industries_2/common.lua @@ -1,823 +1,831 @@ -require("util") -local compound_entities = require("prototypes.compound_entities.main_list") - -return function(mod_name) - local common = {} - - ------------------------------------------------------------------------------------ - -- Get mod name and path to mod - common.modName = script and script.mod_name or mod_name - common.modRoot = "__" .. common.modName .. "__" - - - ------------------------------------------------------------------------------------ - -- Greatly improved version check for mods (thanks to eradicator!) - common.Version = {} - do - local V = common.Version - - local function parse_version(vstr) -- string "Major.Minor.Patch" - local err = function() - error('Invalid Version String: <' .. tostring(vstr) .. '>') - end - local r = { vstr:match('^(%d+)%.(%d+)%.(%d+)$') } - - if #r ~= 3 then - err() - end - - for i = 1, 3 do - r[i] = tonumber(r[i]) - end - - return r - end - - V.gtr = function(verA, verB) - local a, b, c = unpack(parse_version(verA)) - local x, y, z = unpack(parse_version(verB)) - return (a > x) or (a == x and b > y) or (a == x and b == y and c > z) - end - local map = { - ['='] = function(A, B) return not (V.gtr(A, B) or V.gtr(B, A)) end, - ['>'] = V.gtr, - ['!='] = function(A, B) return (V.gtr(A, B) or V.gtr(B, A)) end, - ['<='] = function(A, B) return V.gtr(B, A) or (not V.gtr(A, B)) end, - ['>='] = function(A, B) return V.gtr(A, B) or (not V.gtr(B, A)) end, - ['~='] = function(A, B) return (V.gtr(A, B) or V.gtr(B, A)) end, - ['<'] = function(A, B) return V.gtr(B, A) end, - } - - common.check_version = function(mod_name, operator, need_version) - local mod_version = (mods and mods[mod_name]) or (script and script.active_mods[mod_name]) - return map[operator](mod_version, need_version) - end - end - - ------------------------------------------------------------------------------------ - -- Sane values for collision masks - -- Default: {"item-layer", "object-layer", "rail-layer", "floor-layer", "water-tile"} - common.RAIL_BRIDGE_MASK = { "object-layer", "consider-tile-transitions" } - - -- "Transport Drones" removes "object-layer" from rails, so if bridges have only - -- {"object-layer"}, there collision mask will be empty, and they can be built even - -- over cliffs. So we need to add another layer to bridges ("floor-layer"). - -- As of Factorio 1.1.0, rails need to have "rail-layer" in their mask. This will work - -- alright, but isn't available in earlier versions of Factorio, so we will use - -- "floor-layer" there instead. - local need = common.check_version("base", ">=", "1.1.0") and "rail-layer" or "floor-layer" - table.insert(common.RAIL_BRIDGE_MASK, need) - - -- Rails use basically the same mask as rail bridges, ... - common.RAIL_MASK = util.table.deepcopy(common.RAIL_BRIDGE_MASK) - -- ... we just need to add some layers so our rails have the same mask as vanilla rails. - table.insert(common.RAIL_MASK, "item-layer") - table.insert(common.RAIL_MASK, "water-tile") - - - - ------------------------------------------------------------------------------------ - -- Set maximum_wire_distance of Power-to-rail connectors - common.POWER_TO_RAIL_WIRE_DISTANCE = 4 - - - - ------------------------------------------------------------------------------------ - -- List of compound entities - -- Key: name of the base entity - -- tab: name of the global table where data of these entity are stored - -- hidden: table containing the hidden entities needed by this entity - -- (Key: name under which the hidden entity will be stored in the table; - -- Value: name of the entity that should be placed) - common.compound_entities = compound_entities.get_HE_list() - - -- Map the short handles of hidden entities (e.g. "pole") to real prototype types - -- (e.g. "electric-pole") - common.HE_map = compound_entities.HE_map - -- Reverse lookup - common.HE_map_reverse = compound_entities.HE_map_reverse - - ------------------------------------------------------------------------------------ - -- There may be trees for which we don't want to create variations. These patterns - -- are used to build a list of trees we want to ignore. - common.ignore_name_patterns = { - -- Ignore our own trees - "bio%-tree%-.+%-%d", - -- Tree prototypes created by "Robot Tree Farm" or "Tral's Robot Tree Farm" - "rtf%-.+%-%d+", - -- Tree prototypes created by "Industrial Revolution 2" - ".*%-*ir2%-.+", - } - - - -- Get list of tree prototypes that we want to ignore - common.get_tree_ignore_list = function() - local ignore = {} - local trees = game and - prototypes.get_entity_filtered({ { filter = "type", type = "tree" } }) or - data.raw.tree - for tree_name, tree in pairs(trees) do - for p, pattern in ipairs(common.ignore_name_patterns) do - if tree_name:match(pattern) then - ignore[tree_name] = true - break - end - end - end - return ignore - end - - - -- 0.17.42/0.18.09 fixed a bug where musk floor was created for the force "enemy". - -- Because it didn't belong to any player, in map view the electric grid overlay wasn't - -- shown for musk floor. Somebody complained about seeing it now, so starting with version - -- 0.17.45/0.18.13, there is a setting to hide the overlay again. If it is set to "true", - -- a new force will be created that the hidden electric poles of musk floor belong to. - -- (UPDATE: 0.18.29 reversed the setting -- if active, tiles will now be visible in map - -- view, not hidden. The definition of UseMuskForce has been changed accordingly.) - common.MuskForceName = "BI-Musk_floor_general_owner" - common.UseMuskForce = not settings.startup["BI_Show_musk_floor_in_mapview"].value - - - ------------------------------------------------------------------------------------ - -- Enable writing to log file until startup options are set, so debugging output - -- from the start of a game session can be logged. This depends on a locally - -- installed dummy mod to allow debugging output during development without - -- spamming real users. - -- If the "_debug" dummy mod is active, debugging will always be on. If you don't - -- have this dummy mod but want to turn on logging anyway, set the default value - -- to "true"! - local default = false - - common.is_debug = ((mods and mods["_debug"]) or - (script and script.active_mods["_debug"])) and - true or default - - - ------------------------------------------------------------------------------------ - -- DEBUGGING FUNCTIONS -- - ------------------------------------------------------------------------------------ - - - ------------------------------------------------------------------------------------ - -- Output debugging text - common.writeDebug = function(msg, tab, print_line) - local args = {} - -- Use serpent.line instead of serpent.block if this is true! - local line = print_line and - (string.lower(print_line) == "line" or string.lower(print_line) == "l") and - true or false - - if common.is_debug then - if type(tab) ~= "table" then - tab = { tab } - end - local v - for k = 1, #tab do - v = tab[k] - -- NIL - if v == nil then - args[#args + 1] = "NIL" - -- TABLE - elseif type(v) == "table" then - args[#args + 1] = line and serpent.line(table.deepcopy(v)) or - serpent.block(table.deepcopy(v)) - -- OTHER VALUE - else - args[#args + 1] = v - end - end - if #args == 0 then - args[1] = "nil" - end - args.n = #args - - -- Print the message text to log and game - log(string.format(tostring(msg), table.unpack(args))) - - if game then - game.print(string.format(tostring(msg), table.unpack(args))) - end - end - end - - ------------------------------------------------------------------------------------ - -- Simple helper to show a single value with descriptive text - common.show = function(desc, term) - if common.is_debug then - common.writeDebug(tostring(desc) .. ": %s", type(term) == "table" and { term } or term) - end - end - - ------------------------------------------------------------------------------------ - -- Print "entityname (id)" - common.print_name_id = function(entity) - local id - local name = "unknown entity" - - if entity and entity.valid then - -- Stickers don't have an index or unit_number! - id = (entity.type == "sticker" and entity.type) or - entity.unit_number or entity.type - - name = entity.name - end - - return string.format("%s (%s)", name, id or "nil") - end - - ------------------------------------------------------------------------------------ - -- Print "entityname" - common.print_name = function(entity) - return entity and entity.valid and entity.name or "" - end - - - ------------------------------------------------------------------------------------ - -- Throw an error if a wrong argument has been passed to a function - common.arg_err = function(arg, arg_type) - error(string.format( - "Wrong argument! %s is not %s!", - (arg or "nil"), (arg_type and "a valid " .. arg_type or "valid") - ) - ) - end - - ------------------------------------------------------------------------------------ - -- Rudimentary check of the arguments passed to a function - common.check_args = function(arg, arg_type, desc) - if not (arg and type(arg) == arg_type) then - common.arg_err(arg or "nil", desc or arg_type or "nil") - end - end - - - - ------------------------------------------------------------------------------------ - -- MOD SPECIFIC -- - ------------------------------------------------------------------------------------ - - ------------------------------------------------------------------------------------ - -- Are tiles from Alien Biomes available? (Returns true or false) - common.AB_tiles = function() - local ret = false - - if game then - local AB = prototypes.item["fertilizer"].place_as_tile_result.result.name - -- In data stage, place_as_tile is only changed to Alien Biomes tiles if - -- both "vegetation-green-grass-1" and "vegetation-green-grass-3" exist. Therefore, - -- we only need to check for one tile in the control stage. - ret = (AB == "vegetation-green-grass-3") and true or false - else - ret = data.raw.tile["vegetation-green-grass-1"] and - data.raw.tile["vegetation-green-grass-3"] and true or false - end - - return ret - end - - ------------------------------------------------------------------------------------ - -- Function for removing individual entities - common.remove_entity = function(entity) - if entity and entity.valid then - entity.destroy { raise_destroy = true } - end - end - - ------------------------------------------------------------------------------------ - -- Function for removing invalid prototypes from list of compound entities - common.rebuild_compound_entity_list = function() - local f_name = "rebuild_compound_entity_list" - common.writeDebug("Entered function %s()", { f_name }) - - local ret = {} - - for c_name, c_data in pairs(common.compound_entities) do - common.show("base_name", c_name) - common.show("data", c_data) - -- Is the base entity in the game? - if c_data.base and c_data.base.name and prototypes.entity[c_data.base.name] then - -- Make a copy of the compound-entity data - common.writeDebug("%s exists -- copying data", { c_name }) - ret[c_name] = util.table.deepcopy(c_data) - - -- Check hidden entities - for h_key, h_data in pairs(ret[c_name].hidden) do - common.writeDebug("h_key: %s\th_data: %s", { h_key, h_data }) - -- Remove hidden entity if it doesn't exist - if not prototypes.entity[h_data.name] then - common.writeDebug("Removing %s (%s) from list of hidden entities!", { h_data.name, h_key }) - ret[c_name].hidden[h_key] = nil - end - end - - -- Clean table - else - local tab = c_data.tab - if tab then - -- Remove main table from global - common.writeDebug("Removing %s (%s obsolete entries)", { tab, #tab }) - storage[tab] = nil - end - - -- If this compound entity requires additional tables in global, initialize - -- them now! - local related_tables = c_data.add_global_tables - if related_tables then - for t, tab in ipairs(related_tables or {}) do - common.writeDebug("Removing storage[%s] (%s values)", { tab, table_size(storage[tab]) }) - storage[tab] = nil - end - end - - -- If this compound entity requires additional values in global, remove them! - local related_vars = c_data.add_global_values - if related_vars then - for var_name, value in pairs(related_vars or {}) do - common.writeDebug("Removing storage[%s] (was: %s)", - { var_name, var_name and storage[var_name] or "nil" }) - storage[var_name] = nil - end - end - end - end - common.show("ret", ret) - return ret - end - ------------------------------------------------------------------------------------ - -- Function to add all optional values for a compound entity to the table entry. - common.add_optional_data = function(base) - local f_name = "add_optional_data" - common.writeDebug("Entered function %s(%s)", { f_name, common.print_name_id(base) }) - if not (base and base.valid and storage.compound_entities[base.name]) then - common.arg_err(base, "base of a compound entity") - end - - -- Add optional values to global table - local data = storage.compound_entities[base.name] - common.show("data", data) - local tab = data.tab - common.show("tab", tab) - common.show("storage[tab]", storage[tab] or "nil") - - local entry = storage[tab][base.unit_number] - - for k, v in pairs(data.optional or {}) do - if entry[k] then - common.writeDebug("%s already exists: %s", { k, entry[k] }) - else - entry[k] = v - common.writeDebug("Added data to %s: %s = %s", { common.print_name_id(base), k, v }) - end - end - end - - - ------------------------------------------------------------------------------------ - -- Function for removing all parts of invalid compound entities - common.clean_global_compounds_table = function(entity_name) - local f_name = "clean_table" - common.writeDebug("Entered function %s(%s)", { f_name, entity_name or "nil" }) - common.writeDebug("Entries in common.compound_entities[%s]: %s", - { entity_name, table_size(storage.compound_entities[entity_name]) }) - - local entity_table = storage.compound_entities[entity_name] - common.show("entity_table", entity_table and entity_table.tab) - entity_table = entity_table and entity_table.tab and storage[entity_table.tab] - common.writeDebug("entity_table: %s", { entity_table }, "line") - local hidden_entities = storage.compound_entities[entity_name].hidden - common.show("hidden_entities", hidden_entities) - local removed = 0 - -- Scan the whole table - for c, compound in pairs(entity_table) do - common.writeDebug("c: %s\tcompound: %s", { c, compound }) - -- No or invalid base entity! - if not (compound.base and compound.base.valid) then - common.writeDebug("%s (%s) has no valid base entity -- removing entry!", { entity_name, c }) - - for h_name, h_entity in pairs(hidden_entities) do - common.writeDebug("Removing %s (%s)", { h_name, h_entity.name }) - common.remove_entity(compound[h_name]) - end - entity_table[c] = nil - removed = removed + 1 - common.writeDebug("Removed %s %s", { entity_name, c }) - end - end - common.show("Removed entities", removed) - common.show("Pruned list size", table_size(entity_table)) - return removed - end - - - ------------------------------------------------------------------------------------ - -- Function to resore missing parts of compound entities - common.restore_missing_entities = function(entity_name) - local f_name = "restore_missing_entities" - common.writeDebug("Entered function %s(%s)", { f_name, entity_name or "nil" }) - common.writeDebug("storage.compound_entities[%s]: %s entries", - { entity_name, table_size(storage.compound_entities[entity_name]) }) - - local check = storage.compound_entities[entity_name] - local entity_table = check and storage[check.tab] or {} - local hidden_entities = check and check.hidden or {} - - local checked = 0 - local restored = 0 - -- Scan the whole table - for c, compound in pairs(entity_table) do - -- Base entity is valid! - if (compound.base and compound.base.valid) then - common.writeDebug("%s is valid -- checking hidden entities!", { common.print_name_id(compound.base) }) - for h_name, h_entity in pairs(hidden_entities) do - -- Hidden entity is missing - if compound[h_name] and compound[h_name].valid then - common.writeDebug("%s: OK", { h_name }) - else - common.writeDebug("%s: MISSING!", { h_name }) - common.create_entities(entity_table, compound.base, { [h_name] = h_entity.name }) - restored = restored + 1 - common.writeDebug("Created %s (%s) for %s", - { h_name, h_entity.name, common.print_name_id(compound.base) }) - end - end - checked = checked + 1 - end - end - common.writeDebug("Checked %s compound entities", { checked }) - common.writeDebug("Restored %s entities", { restored }) - return { checked = checked, restored = restored } - end - - - ------------------------------------------------------------------------------------ - -- Function to find all unregistered compound entities of a particular type - common.register_in_compound_entity_tab = function(compound_name) - local f_name = "register_in_compound_entity_tab" - common.writeDebug("Entered function %s(%s)", { f_name, compound_name }) - - local cnt = 0 - local h_cnt = 0 - local data = storage.compound_entities[compound_name] - if not data then - common.arg_err(compound_name, "name of a compound entity") - end - - local g_tab = storage[data.tab] - local found, h_found, created - - -- Scan all surfaces - for s, surface in pairs(game.surfaces) do - -- Check the bases of all compound entities on the surface - found = surface.find_entities_filtered({ name = compound_name }) - for b, base in ipairs(found) do - -- Base entity isn't registered yet! - if not g_tab[base.unit_number] then - common.writeDebug("Found unregistered entity: %s!", { common.print_name_id(base) }) - -- Create an entry in the global table - g_tab[base.unit_number] = { base = base } - -- Add optional data to the table, if there are any - common.add_optional_data(base) - - - -- Check if it already has any hidden entities - for h_name, h_data in pairs(data.hidden) do - h_found = surface.find_entities_filtered({ - name = h_data.name, - type = h_data.type, - position = common.offset_position(base.position, h_data.base_offset), - }) - - -- Check for multiple hidden entities of the same type in the same position! - if #h_found > 1 then - local cnt = 0 - for duplicate = 2, #h_found do - h_found[duplicate].destroy({ raise_destroy = true }) - cnt = cnt + 1 - end - common.writeDebug("Removed %s duplicate entities (%s)!", { cnt, h_data.name }) - end - - -- There still is one hidden entity left. Add it to the table! - if next(h_found) then - common.writeDebug("Found %s -- adding it to the table.", { common.print_name_id(base) }) - g_tab[base.unit_number][h_name] = h_found[1] - - -- Create hidden entity! This will automatically add it to the table. - else - created = common.create_entities(g_tab, base, { [h_name] = h_data }) - common.writeDebug("Created hidden %s: %s", - { h_name, created and common.print_name_id(created) or "nil" }) - h_cnt = h_cnt + 1 - end - end - cnt = cnt + 1 - end - end - end - common.writeDebug("Registered %s compound entities and created %s hidden entities", { cnt, h_cnt }) - return cnt - end - - ------------------------------------------------------------------------------------ - -- Function to find all unregistered compound entities - common.find_unregistered_entities = function() - local f_name = "find_unregistered_entities" - common.writeDebug("Entered function %s()", { f_name }) - - local cnt = 0 - for compound_entity, c in pairs(storage.compound_entities) do - cnt = cnt + common.register_in_compound_entity_tab(compound_entity) - end - common.writeDebug("Registered %s compound entities.", { cnt }) - return cnt - end - - ------------------------------------------------------------------------------------ - -- Function to normalize positions - common.normalize_position = function(pos) - if pos and type(pos) == "table" and table_size(pos) == 2 then - local x = pos.x or pos[1] - local y = pos.y or pos[2] - if x and y and type(x) == "number" and type(y) == "number" then - return { x = x, y = y } - end - end - end - - - ------------------------------------------------------------------------------------ - -- Calculate the offset position of a hidden entity - common.offset_position = function(base_pos, offset) - common.check_args(base_pos, "table", "position") - offset = offset or { x = 0, y = 0 } - common.check_args(offset, "table", "position") - - base_pos = common.normalize_position(base_pos) - offset = common.normalize_position(offset) - - common.show("base_pos", base_pos) - common.show("offset", offset) - common.show("new", { x = base_pos.x + offset.x, y = base_pos.y + offset.y }) - return { x = base_pos.x + offset.x, y = base_pos.y + offset.y } - end - - ------------------------------------------------------------------------------------ - -- Check if argument is a valid surface - common.is_surface = function(surface) - local t = type(surface) - surface = (t == "number" or t == "string" and game.surfaces[surface]) or - (t == "table" and surface.object_name and - surface.object_name == "LuaSurface" and surface) - return surface - end - - - ------------------------------------------------------------------------------------ - -- Make hidden entities unminable and indestructible - local function make_unminable(entities) - for e, entity in ipairs(entities or {}) do - if entity.valid then - entity.minable = false - entity.destructible = false - end - end - end - - -------------------------------------------------------------------- - -- Create and register hidden entities - common.create_entities = function(g_table, base_entity, hidden_entities) - local f_name = "create_entities" - common.writeDebug("Entered function %s(%s, %s, %s)", - { f_name, "g_table", base_entity, hidden_entities }) - common.show("#g_table", g_table and table_size(g_table)) - - common.check_args(g_table, "table") - common.check_args(base_entity, "table") - - if not base_entity.valid then - common.arg_err(base_entity, "base entity") - -- A table is required, but it may be empty! (This is needed for the - -- bio gardens, which only have a hidden pole if the "Easy Gardens" - -- setting is enabled.) - elseif not (hidden_entities and type(hidden_entities) == "table") then - common.arg_err(hidden_entities, "array of hidden-entity names") - end - local base_pos = common.normalize_position(base_entity.position) or - common.arg_err(position or "nil", "position") - - local entity, offset, pos - - -- Initialize entry in global table - g_table[base_entity.unit_number] = g_table[base_entity.unit_number] or {} - g_table[base_entity.unit_number].base = base_entity - - -- Create hidden entities - local data - for key, tab in pairs(hidden_entities) do - common.writeDebug("key: %s\tname: %s", { key, tab }) - data = storage.compound_entities[base_entity.name].hidden[key] - common.show("data", data) - entity = base_entity.surface.create_entity({ - name = data.name, - type = data.type, - position = common.offset_position(base_pos, data.base_offset), - force = base_entity.force, - }) - -- Raise the event manually, so we can pass on extra data! - script.raise_event(defines.events.script_raised_built, { - entity = entity, - base_entity = base_entity - }) - - -- Make hidden entity unminable/undestructible - make_unminable({ entity }) - - -- Add hidden entity to global table - g_table[base_entity.unit_number][key] = entity - end - - -- Add optional values to global table - common.add_optional_data(base_entity) - common.writeDebug("g_table[%s]: %s", { base_entity.unit_number, g_table[base_entity.unit_number] }) - end - - - -------------------------------------------------------------------- - -- Make a list of the pole types that Bio gardens may connect to - common.get_garden_pole_connectors = function() - local ret - if common.get_startup_setting("BI_Easy_Bio_Gardens") then - common.writeDebug("\"Easy gardens\": Compiling list of poles they can connect to!") - ret = {} - local poles = prototypes.get_entity_filtered({ - { filter = "type", type = "electric-pole" }, - { - filter = "name", - name = { - -- Poles named here will be ignored! - "bi-rail-power-hidden-pole", - "bi-musk-mat-hidden-pole", - "bi-bio-garden-hidden-pole" - }, - invert = "true", - mode = "and" - } - }) - for p, pole in pairs(poles) do - ret[#ret + 1] = pole.name - end - else - common.writeDebug("\"Easy gardens\": Not active -- nothing to do!") - end - return ret - end - - -------------------------------------------------------------------- - -- Connect hidden poles of Bio gardens! - -- (This function may be called for hidden poles that have not been - -- added to the table yet if the pole has just been built. In this - -- case, we pass on the new pole explicitly!) - common.connect_garden_pole = function(base, new_pole) - local compound_entity = storage.compound_entities["bi-bio-garden"] - local pole = storage[compound_entity.tab][base.unit_number] and - storage[compound_entity.tab][base.unit_number].pole or - new_pole - - if pole and pole.valid and compound_entity.hidden and - compound_entity.hidden.pole and - compound_entity.hidden.pole.name then - local wire_reach = prototypes.entity[compound_entity.hidden.pole.name] and - prototypes.entity[compound_entity.hidden.pole.name].max_wire_distance - if not wire_reach then - error("Prototype for hidden pole of Bio gardens doesn't exist!") - end - - pole.disconnect_neighbour() - - -- Each pole can only have 5 connections. Let's connect to other hidden - -- poles first! - local connected - local neighbours = pole.surface.find_entities_filtered({ - position = pole.position, - radius = wire_reach, - type = "electric-pole", - name = compound_entity.hidden.pole.name - }) - common.writeDebug("Pole %g has %s neighbours", { pole.unit_number, #neighbours - 1 }) - - for n, neighbour in pairs(neighbours or {}) do - if pole ~= neighbour then - connected = pole.connect_neighbour(neighbour) - common.writeDebug("Connected pole %g to %s %g: %s", - { pole.unit_number, neighbour.name, neighbour.unit_number, connected }) - end - end - - - -- Look for other poles around this one - neighbours = pole.surface.find_entities_filtered({ - position = pole.position, - radius = wire_reach, - type = "electric-pole", - name = storage.mod_settings.garden_pole_connectors, - }) - common.writeDebug("Pole %g has %s neighbours", { pole.unit_number, #neighbours }) - for n, neighbour in pairs(neighbours or {}) do - connected = pole.connect_neighbour(neighbour) - common.writeDebug("Connected pole %g to neighbour %s (%g): %s", - { pole.unit_number, neighbour.name, neighbour.unit_number, connected }) - end - end - end - - -------------------------------------------------------------------- - -- Connect hidden poles of powered rails -- this is also used in - -- migration scripts, so make it a function in common.lua! - -- (This function may be called for hidden poles that have not been - -- added to the table yet if the pole has just been built. In this - -- case, we pass on the new pole explicitly!) - common.connect_power_rail = function(base, new_pole) - local pole = storage.bi_power_rail_table[base.unit_number].pole or new_pole - if pole and pole.valid then - -- Remove all copper wires from new pole - pole.disconnect_neighbour() - common.writeDebug("Removed all wires from %s %g", { pole.name, pole.unit_number }) - - -- Look for connecting rails at front and back of the new rail - for s, side in ipairs({ "front", "back" }) do - common.writeDebug("Looking for rails at %s", { side }) - local neighbour - -- Look in all three directions - for d, direction in ipairs({ "left", "straight", "right" }) do - common.writeDebug("Looking for rails in %s direction", { direction }) - neighbour = base.get_connected_rail { - rail_direction = defines.rail_direction[side], - rail_connection_direction = defines.rail_connection_direction[direction] - } - common.writeDebug("Rail %s of %s (%s): %s (%s)", - { direction, base.name, base.unit_number, (neighbour and neighbour.name or "nil"), (neighbour and neighbour.unit_number or "nil") }) - - -- Only make a connection if found rail is a powered rail - -- (We'll know it's the right type if we find it in our table!) - neighbour = neighbour and neighbour.valid and storage.bi_power_rail_table[neighbour.unit_number] - if neighbour and neighbour.pole and neighbour.pole.valid then - pole.connect_neighbour(neighbour.pole) - common.writeDebug("Connected poles!") - end - end - end - - -- Look for Power-rail connectors - local connector = base.surface.find_entities_filtered { - position = base.position, - radius = common.POWER_TO_RAIL_WIRE_DISTANCE, -- maximum_wire_distance of Power-to-rail-connectors - name = "bi-power-to-rail-pole" - } - -- Connect to first Power-rail connector we've found - if connector and next(connector) then - pole.connect_neighbour(connector[1]) - common.writeDebug("Connected " .. pole.name .. " (" .. pole.unit_number .. - ") to " .. connector[1].name .. " (" .. connector[1].unit_number .. ")") - common.writeDebug("Connected %s (%g) to %s (%g)", - { pole.name, pole.unit_number, connector[1].name, connector[1].unit_number }) - end - common.writeDebug("Stored %s (%g) in global table", { base.name, base.unit_number }) - end - end - - - ------------------------------------------------------------------------------------ - -- Get the value of a startup setting - common.get_startup_setting = function(setting_name) - return settings.startup[setting_name] and settings.startup[setting_name].value - end - - - ------------------------------------------------------------------------------------ - -- Add the "icons" property based on the value of "icon" - ------------------------------------------------------------------------------------ - common.BI_add_icons = function() - for tab_name, tab in pairs(data.raw) do - for proto_type_name, proto_type in pairs(data.raw[tab_name] or {}) do - if proto_type.BI_add_icon then - proto_type.icons = { - { - icon = proto_type.icon, - icon_size = proto_type.icon_size, - icon_mipmaps = proto_type.icon_mipmaps - } - } - proto_type.BI_add_icon = nil - common.writeDebug("Added \"icons\" property to data.raw[\"%s\"][\"%s\"]: %s", - { tab_name, proto_type_name, proto_type.icons }, "line") - end - end - end - end - - ------------------------------------------------------------------------------------ - -- END OF FILE - ------------------------------------------------------------------------------------ - return common -end +require("util") +local compound_entities = require("prototypes.compound_entities.main_list") + +return function(mod_name) + local common = {} + + ------------------------------------------------------------------------------------ + -- Get mod name and path to mod + common.modName = script and script.mod_name or mod_name + common.modRoot = "__" .. common.modName .. "__" + + + ------------------------------------------------------------------------------------ + -- Greatly improved version check for mods (thanks to eradicator!) + common.Version = {} + do + local V = common.Version + + local function parse_version(vstr) -- string "Major.Minor.Patch" + local err = function() + error('Invalid Version String: <' .. tostring(vstr) .. '>') + end + local r = { vstr:match('^(%d+)%.(%d+)%.(%d+)$') } + + if #r ~= 3 then + err() + end + + for i = 1, 3 do + r[i] = tonumber(r[i]) + end + + return r + end + + V.gtr = function(verA, verB) + local a, b, c = unpack(parse_version(verA)) + local x, y, z = unpack(parse_version(verB)) + return (a > x) or (a == x and b > y) or (a == x and b == y and c > z) + end + local map = { + ['='] = function(A, B) return not (V.gtr(A, B) or V.gtr(B, A)) end, + ['>'] = V.gtr, + ['!='] = function(A, B) return (V.gtr(A, B) or V.gtr(B, A)) end, + ['<='] = function(A, B) return V.gtr(B, A) or (not V.gtr(A, B)) end, + ['>='] = function(A, B) return V.gtr(A, B) or (not V.gtr(B, A)) end, + ['~='] = function(A, B) return (V.gtr(A, B) or V.gtr(B, A)) end, + ['<'] = function(A, B) return V.gtr(B, A) end, + } + + common.check_version = function(mod_name, operator, need_version) + local mod_version = (mods and mods[mod_name]) or (script and script.active_mods[mod_name]) + return map[operator](mod_version, need_version) + end + end + + ------------------------------------------------------------------------------------ + -- Same values for collision masks + -- Default: {"item-layer", "object-layer", "rail-layer", "floor-layer", "water-tile"} + common.RAIL_BRIDGE_MASK = { "object-layer", "consider-tile-transitions" } + + -- "Transport Drones" removes "object-layer" from rails, so if bridges have only + -- {"object-layer"}, there collision mask will be empty, and they can be built even + -- over cliffs. So we need to add another layer to bridges ("floor-layer"). + -- As of Factorio 1.1.0, rails need to have "rail-layer" in their mask. This will work + -- alright, but isn't available in earlier versions of Factorio, so we will use + -- "floor-layer" there instead. + local need = common.check_version("base", ">=", "1.1.0") and "rail-layer" or "floor-layer" + table.insert(common.RAIL_BRIDGE_MASK, need) + + -- Rails use basically the same mask as rail bridges, ... + common.RAIL_MASK = util.table.deepcopy(common.RAIL_BRIDGE_MASK) + -- ... we just need to add some layers so our rails have the same mask as vanilla rails. + table.insert(common.RAIL_MASK, "item-layer") + table.insert(common.RAIL_MASK, "water-tile") + + + + ------------------------------------------------------------------------------------ + -- Set maximum_wire_distance of Power-to-rail connectors + common.POWER_TO_RAIL_WIRE_DISTANCE = 4 + + + + ------------------------------------------------------------------------------------ + -- List of compound entities + -- Key: name of the base entity + -- tab: name of the global table where data of these entity are stored + -- hidden: table containing the hidden entities needed by this entity + -- (Key: name under which the hidden entity will be stored in the table; + -- Value: name of the entity that should be placed) + common.compound_entities = compound_entities.get_HE_list() + + -- Map the short handles of hidden entities (e.g. "pole") to real prototype types + -- (e.g. "electric-pole") + common.HE_map = compound_entities.HE_map + -- Reverse lookup + common.HE_map_reverse = compound_entities.HE_map_reverse + + ------------------------------------------------------------------------------------ + -- There may be trees for which we don't want to create variations. These patterns + -- are used to build a list of trees we want to ignore. + common.ignore_name_patterns = { + -- Ignore our own trees + "bio%-tree%-.+%-%d", + -- Tree prototypes created by "Robot Tree Farm" or "Tral's Robot Tree Farm" + "rtf%-.+%-%d+", + -- Tree prototypes created by "Industrial Revolution 2" + ".*%-*ir2%-.+", + } + + + -- Get list of tree prototypes that we want to ignore + common.get_tree_ignore_list = function() + local ignore = {} + local trees = game and + prototypes.get_entity_filtered({ { filter = "type", type = "tree" } }) or + data.raw.tree + for tree_name, tree in pairs(trees) do + for p, pattern in ipairs(common.ignore_name_patterns) do + if tree_name:match(pattern) then + ignore[tree_name] = true + break + end + end + end + return ignore + end + + + -- 0.17.42/0.18.09 fixed a bug where musk floor was created for the force "enemy". + -- Because it didn't belong to any player, in map view the electric grid overlay wasn't + -- shown for musk floor. Somebody complained about seeing it now, so starting with version + -- 0.17.45/0.18.13, there is a setting to hide the overlay again. If it is set to "true", + -- a new force will be created that the hidden electric poles of musk floor belong to. + -- (UPDATE: 0.18.29 reversed the setting -- if active, tiles will now be visible in map + -- view, not hidden. The definition of UseMuskForce has been changed accordingly.) + common.MuskForceName = "BI-Musk_floor_general_owner" + common.UseMuskForce = not settings.startup["BI_Show_musk_floor_in_mapview"].value + + + ------------------------------------------------------------------------------------ + -- Enable writing to log file until startup options are set, so debugging output + -- from the start of a game session can be logged. This depends on a locally + -- installed dummy mod to allow debugging output during development without + -- spamming real users. + -- If the "_debug" dummy mod is active, debugging will always be on. If you don't + -- have this dummy mod but want to turn on logging anyway, set the default value + -- to "true"! + local default = false + + common.is_debug = ((mods and mods["_debug"]) or + (script and script.active_mods["_debug"])) and + true or default + + + ------------------------------------------------------------------------------------ + -- DEBUGGING FUNCTIONS -- + ------------------------------------------------------------------------------------ + + + ------------------------------------------------------------------------------------ + -- Output debugging text + common.writeDebug = function(msg, tab, print_line) + local args = {} + -- Use serpent.line instead of serpent.block if this is true! + local line = print_line and + (string.lower(print_line) == "line" or string.lower(print_line) == "l") and + true or false + + if common.is_debug then + if type(tab) ~= "table" then + tab = { tab } + end + local v + for k = 1, #tab do + v = tab[k] + -- NIL + if v == nil then + args[#args + 1] = "NIL" + -- TABLE + elseif type(v) == "table" then + args[#args + 1] = line and serpent.line(table.deepcopy(v)) or + serpent.block(table.deepcopy(v)) + -- OTHER VALUE + else + args[#args + 1] = v + end + end + if #args == 0 then + args[1] = "nil" + end + args.n = #args + + -- Print the message text to log and game + log(string.format(tostring(msg), table.unpack(args))) + + if game then + game.print(string.format(tostring(msg), table.unpack(args))) + end + end + end + + ------------------------------------------------------------------------------------ + -- Simple helper to show a single value with descriptive text + common.show = function(desc, term) + if common.is_debug then + common.writeDebug(tostring(desc) .. ": %s", type(term) == "table" and { term } or term) + end + end + + ------------------------------------------------------------------------------------ + -- Print "entityname (id)" + common.print_name_id = function(entity) + local id + local name = "unknown entity" + + if entity and entity.valid then + -- Stickers don't have an index or unit_number! + id = (entity.type == "sticker" and entity.type) or + entity.unit_number or entity.type + + name = entity.name + end + + return string.format("%s (%s)", name, id or "nil") + end + + ------------------------------------------------------------------------------------ + -- Print "entityname" + common.print_name = function(entity) + return entity and entity.valid and entity.name or "" + end + + + ------------------------------------------------------------------------------------ + -- Throw an error if a wrong argument has been passed to a function + common.arg_err = function(arg, arg_type) + error(string.format( + "Wrong argument! %s is not %s!", + (arg or "nil"), (arg_type and "a valid " .. arg_type or "valid") + ) + ) + end + + ------------------------------------------------------------------------------------ + -- Rudimentary check of the arguments passed to a function + common.check_args = function(arg, arg_type, desc) + if not (arg and type(arg) == arg_type) then + game.print(type(arg) .. " = " .. arg_type) + common.arg_err(arg or "nil", desc or arg_type or "nil") + end + end + + + + ------------------------------------------------------------------------------------ + -- MOD SPECIFIC -- + ------------------------------------------------------------------------------------ + + ------------------------------------------------------------------------------------ + -- Are tiles from Alien Biomes available? (Returns true or false) + common.AB_tiles = function() + local ret = false + + if game then + local AB = prototypes.item["fertilizer"].place_as_tile_result.result.name + -- In data stage, place_as_tile is only changed to Alien Biomes tiles if + -- both "vegetation-green-grass-1" and "vegetation-green-grass-3" exist. Therefore, + -- we only need to check for one tile in the control stage. + ret = (AB == "vegetation-green-grass-3") and true or false + else + ret = data.raw.tile["vegetation-green-grass-1"] and + data.raw.tile["vegetation-green-grass-3"] and true or false + end + + return ret + end + + ------------------------------------------------------------------------------------ + -- Function for removing individual entities + common.remove_entity = function(entity) + if entity and entity.valid then + entity.destroy { raise_destroy = true } + end + end + + ------------------------------------------------------------------------------------ + -- Function for removing invalid prototypes from list of compound entities + common.rebuild_compound_entity_list = function() + local f_name = "rebuild_compound_entity_list" + common.writeDebug("Entered function %s()", { f_name }) + + local ret = {} + + for c_name, c_data in pairs(common.compound_entities) do + common.show("base_name", c_name) + common.show("data", c_data) + -- Is the base entity in the game? + if c_data.base and c_data.base.name and prototypes.entity[c_data.base.name] then + -- Make a copy of the compound-entity data + common.writeDebug("%s exists -- copying data", { c_name }) + ret[c_name] = util.table.deepcopy(c_data) + + -- Check hidden entities + for h_key, h_data in pairs(ret[c_name].hidden) do + common.writeDebug("h_key: %s\th_data: %s", { h_key, h_data }) + -- Remove hidden entity if it doesn't exist + if not prototypes.entity[h_data.name] then + common.writeDebug("Removing %s (%s) from list of hidden entities!", { h_data.name, h_key }) + ret[c_name].hidden[h_key] = nil + end + end + + -- Clean table + else + local tab = c_data.tab + if tab then + -- Remove main table from global + common.writeDebug("Removing %s (%s obsolete entries)", { tab, #tab }) + storage[tab] = nil + end + + -- If this compound entity requires additional tables in global, initialize + -- them now! + local related_tables = c_data.add_global_tables + if related_tables then + for t, tab in ipairs(related_tables or {}) do + common.writeDebug("Removing storage[%s] (%s values)", { tab, table_size(storage[tab]) }) + storage[tab] = nil + end + end + + -- If this compound entity requires additional values in global, remove them! + local related_vars = c_data.add_global_values + if related_vars then + for var_name, value in pairs(related_vars or {}) do + common.writeDebug("Removing storage[%s] (was: %s)", + { var_name, var_name and storage[var_name] or "nil" }) + storage[var_name] = nil + end + end + end + end + common.show("ret", ret) + return ret + end + ------------------------------------------------------------------------------------ + -- Function to add all optional values for a compound entity to the table entry. + common.add_optional_data = function(base) + local f_name = "add_optional_data" + common.writeDebug("Entered function %s(%s)", { f_name, common.print_name_id(base) }) + if not (base and base.valid and storage.compound_entities[base.name]) then + common.arg_err(base, "base of a compound entity") + end + + -- Add optional values to global table + local data = storage.compound_entities[base.name] + common.show("data", data) + local tab = data.tab + common.show("tab", tab) + common.show("storage[tab]", storage[tab] or "nil") + + local entry = storage[tab][base.unit_number] + + for k, v in pairs(data.optional or {}) do + if entry[k] then + common.writeDebug("%s already exists: %s", { k, entry[k] }) + else + entry[k] = v + common.writeDebug("Added data to %s: %s = %s", { common.print_name_id(base), k, v }) + end + end + end + + + ------------------------------------------------------------------------------------ + -- Function for removing all parts of invalid compound entities + common.clean_global_compounds_table = function(entity_name) + local f_name = "clean_table" + common.writeDebug("Entered function %s(%s)", { f_name, entity_name or "nil" }) + common.writeDebug("Entries in common.compound_entities[%s]: %s", + { entity_name, table_size(storage.compound_entities[entity_name]) }) + + local entity_table = storage.compound_entities[entity_name] + common.show("entity_table", entity_table and entity_table.tab) + entity_table = entity_table and entity_table.tab and storage[entity_table.tab] + common.writeDebug("entity_table: %s", { entity_table }, "line") + local hidden_entities = storage.compound_entities[entity_name].hidden + common.show("hidden_entities", hidden_entities) + local removed = 0 + -- Scan the whole table + for c, compound in pairs(entity_table) do + common.writeDebug("c: %s\tcompound: %s", { c, compound }) + -- No or invalid base entity! + if not (compound.base and compound.base.valid) then + common.writeDebug("%s (%s) has no valid base entity -- removing entry!", { entity_name, c }) + + for h_name, h_entity in pairs(hidden_entities) do + common.writeDebug("Removing %s (%s)", { h_name, h_entity.name }) + common.remove_entity(compound[h_name]) + end + entity_table[c] = nil + removed = removed + 1 + common.writeDebug("Removed %s %s", { entity_name, c }) + end + end + common.show("Removed entities", removed) + common.show("Pruned list size", table_size(entity_table)) + return removed + end + + + ------------------------------------------------------------------------------------ + -- Function to resore missing parts of compound entities + common.restore_missing_entities = function(entity_name) + local f_name = "restore_missing_entities" + common.writeDebug("Entered function %s(%s)", { f_name, entity_name or "nil" }) + common.writeDebug("storage.compound_entities[%s]: %s entries", + { entity_name, table_size(storage.compound_entities[entity_name]) }) + + local check = storage.compound_entities[entity_name] + local entity_table = check and storage[check.tab] or {} + local hidden_entities = check and check.hidden or {} + + local checked = 0 + local restored = 0 + -- Scan the whole table + for c, compound in pairs(entity_table) do + -- Base entity is valid! + if (compound.base and compound.base.valid) then + common.writeDebug("%s is valid -- checking hidden entities!", { common.print_name_id(compound.base) }) + for h_name, h_entity in pairs(hidden_entities) do + -- Hidden entity is missing + if compound[h_name] and compound[h_name].valid then + common.writeDebug("%s: OK", { h_name }) + else + common.writeDebug("%s: MISSING!", { h_name }) + common.create_entities(entity_table, compound.base, { [h_name] = h_entity.name }) + restored = restored + 1 + common.writeDebug("Created %s (%s) for %s", + { h_name, h_entity.name, common.print_name_id(compound.base) }) + end + end + checked = checked + 1 + end + end + common.writeDebug("Checked %s compound entities", { checked }) + common.writeDebug("Restored %s entities", { restored }) + return { checked = checked, restored = restored } + end + + + ------------------------------------------------------------------------------------ + -- Function to find all unregistered compound entities of a particular type + common.register_in_compound_entity_tab = function(compound_name) + local f_name = "register_in_compound_entity_tab" + common.writeDebug("Entered function %s(%s)", { f_name, compound_name }) + + local cnt = 0 + local h_cnt = 0 + local data = storage.compound_entities[compound_name] + if not data then + common.arg_err(compound_name, "name of a compound entity") + end + + local g_tab = storage[data.tab] + local found, h_found, created + + -- Scan all surfaces + for s, surface in pairs(game.surfaces) do + -- Check the bases of all compound entities on the surface + found = surface.find_entities_filtered({ name = compound_name }) + for b, base in ipairs(found) do + -- Base entity isn't registered yet! + if not g_tab[base.unit_number] then + common.writeDebug("Found unregistered entity: %s!", { common.print_name_id(base) }) + -- Create an entry in the global table + g_tab[base.unit_number] = { base = base } + -- Add optional data to the table, if there are any + common.add_optional_data(base) + + + -- Check if it already has any hidden entities + for h_name, h_data in pairs(data.hidden) do + h_found = surface.find_entities_filtered({ + name = h_data.name, + type = h_data.type, + position = common.offset_position(base.position, h_data.base_offset), + }) + + -- Check for multiple hidden entities of the same type in the same position! + if #h_found > 1 then + local cnt = 0 + for duplicate = 2, #h_found do + h_found[duplicate].destroy({ raise_destroy = true }) + cnt = cnt + 1 + end + common.writeDebug("Removed %s duplicate entities (%s)!", { cnt, h_data.name }) + end + + -- There still is one hidden entity left. Add it to the table! + if next(h_found) then + common.writeDebug("Found %s -- adding it to the table.", { common.print_name_id(base) }) + g_tab[base.unit_number][h_name] = h_found[1] + + -- Create hidden entity! This will automatically add it to the table. + else + created = common.create_entities(g_tab, base, { [h_name] = h_data }) + common.writeDebug("Created hidden %s: %s", + { h_name, created and common.print_name_id(created) or "nil" }) + h_cnt = h_cnt + 1 + end + end + cnt = cnt + 1 + end + end + end + common.writeDebug("Registered %s compound entities and created %s hidden entities", { cnt, h_cnt }) + return cnt + end + + ------------------------------------------------------------------------------------ + -- Function to find all unregistered compound entities + common.find_unregistered_entities = function() + local f_name = "find_unregistered_entities" + common.writeDebug("Entered function %s()", { f_name }) + + local cnt = 0 + for compound_entity, c in pairs(storage.compound_entities) do + cnt = cnt + common.register_in_compound_entity_tab(compound_entity) + end + common.writeDebug("Registered %s compound entities.", { cnt }) + return cnt + end + + ------------------------------------------------------------------------------------ + -- Function to normalize positions + common.normalize_position = function(pos) + if pos and type(pos) == "table" and table_size(pos) == 2 then + local x = pos.x or pos[1] + local y = pos.y or pos[2] + if x and y and type(x) == "number" and type(y) == "number" then + return { x = x, y = y } + end + end + end + + + ------------------------------------------------------------------------------------ + -- Calculate the offset position of a hidden entity + common.offset_position = function(base_pos, offset) + common.check_args(base_pos, "table", "position") + offset = offset or { x = 0, y = 0 } + common.check_args(offset, "table", "position") + + base_pos = common.normalize_position(base_pos) + offset = common.normalize_position(offset) + + common.show("base_pos", base_pos) + common.show("offset", offset) + common.show("new", { x = base_pos.x + offset.x, y = base_pos.y + offset.y }) + return { x = base_pos.x + offset.x, y = base_pos.y + offset.y } + end + + ------------------------------------------------------------------------------------ + -- Check if argument is a valid surface + common.is_surface = function(surface) + local t = type(surface) + local result = false + if (t == "number" or t == "string") and game.surfaces[surface] and game.surfaces[surface].valid then + result = game.surfaces[surface] + elseif surface and surface.object_name == "LuaSurface" and surface.valid then + result = surface + end + return result + end + + + ------------------------------------------------------------------------------------ + -- Make hidden entities unminable and indestructible + local function make_unminable(entities) + for e, entity in ipairs(entities or {}) do + if entity.valid then + entity.minable = false + entity.destructible = false + end + end + end + + -------------------------------------------------------------------- + -- Create and register hidden entities + common.create_entities = function(g_table, base_entity, hidden_entities) + local f_name = "create_entities" + common.writeDebug("Entered function %s(%s, %s, %s)", + { f_name, "g_table", base_entity, hidden_entities }) + common.show("#g_table", g_table and table_size(g_table)) + + common.check_args(g_table, "table") + common.check_args(base_entity, "userdata") + + if not base_entity.valid then + common.arg_err(base_entity, "base entity") + -- A table is required, but it may be empty! (This is needed for the + -- bio gardens, which only have a hidden pole if the "Easy Gardens" + -- setting is enabled.) + elseif not (hidden_entities and type(hidden_entities) == "table") then + common.arg_err(hidden_entities, "array of hidden-entity names") + end + local base_pos = common.normalize_position(base_entity.position) or + common.arg_err(position or "nil", "position") + + local entity, offset, pos + + -- Initialize entry in global table + g_table[base_entity.unit_number] = g_table[base_entity.unit_number] or {} + g_table[base_entity.unit_number].base = base_entity + + -- Create hidden entities + local data + for key, tab in pairs(hidden_entities) do + common.writeDebug("key: %s\tname: %s", { key, tab }) + data = storage.compound_entities[base_entity.name].hidden[key] + common.show("data", data) + entity = base_entity.surface.create_entity({ + name = data.name, + type = data.type, + position = common.offset_position(base_pos, data.base_offset), + force = base_entity.force, + }) + -- Raise the event manually, so we can pass on extra data! + script.raise_event(defines.events.script_raised_built, { + entity = entity, + base_entity = base_entity + }) + + -- Make hidden entity unminable/undestructible + make_unminable({ entity }) + + -- Add hidden entity to global table + g_table[base_entity.unit_number][key] = entity + end + + -- Add optional values to global table + common.add_optional_data(base_entity) + common.writeDebug("g_table[%s]: %s", { base_entity.unit_number, g_table[base_entity.unit_number] }) + end + + + -------------------------------------------------------------------- + -- Make a list of the pole types that Bio gardens may connect to + common.get_garden_pole_connectors = function() + local ret + if common.get_startup_setting("BI_Easy_Bio_Gardens") then + common.writeDebug("\"Easy gardens\": Compiling list of poles they can connect to!") + ret = {} + local poles = prototypes.get_entity_filtered({ + { filter = "type", type = "electric-pole" }, + { + filter = "name", + name = { + -- Poles named here will be ignored! + "bi-rail-power-hidden-pole", + "bi-musk-mat-hidden-pole", + "bi-bio-garden-hidden-pole" + }, + invert = "true", + mode = "and" + } + }) + for p, pole in pairs(poles) do + ret[#ret + 1] = pole.name + end + else + common.writeDebug("\"Easy gardens\": Not active -- nothing to do!") + end + return ret + end + + -------------------------------------------------------------------- + -- Connect hidden poles of Bio gardens! + -- (This function may be called for hidden poles that have not been + -- added to the table yet if the pole has just been built. In this + -- case, we pass on the new pole explicitly!) + common.connect_garden_pole = function(base, new_pole) + local compound_entity = storage.compound_entities["bi-bio-garden"] + local pole = storage[compound_entity.tab][base.unit_number] and + storage[compound_entity.tab][base.unit_number].pole or + new_pole + + if pole and pole.valid and compound_entity.hidden and + compound_entity.hidden.pole and + compound_entity.hidden.pole.name then + local wire_reach = prototypes.entity[compound_entity.hidden.pole.name] and + prototypes.entity[compound_entity.hidden.pole.name].get_max_wire_distance() + if not wire_reach then + error("Prototype for hidden pole of Bio gardens doesn't exist!") + end + + local wire_connector + for _, connector in pairs(pole.get_wire_connectors()) do + wire_connector = connector + connector.disconnect_all() + end + + -- Each pole can only have 5 connections. Let's connect to other hidden + -- poles first! + local connected + local neighbours = pole.surface.find_entities_filtered({ + position = pole.position, + radius = wire_reach, + type = "electric-pole", + name = compound_entity.hidden.pole.name + }) + common.writeDebug("Pole %g has %s neighbours", { pole.unit_number, #neighbours - 1 }) + + for n, neighbour in pairs(neighbours or {}) do + if pole ~= neighbour then + connected = wire_connector.connect_to(neighbour) + common.writeDebug("Connected pole %g to %s %g: %s", + { pole.unit_number, neighbour.name, neighbour.unit_number, connected }) + end + end + + + -- Look for other poles around this one + neighbours = pole.surface.find_entities_filtered({ + position = pole.position, + radius = wire_reach, + type = "electric-pole", + name = storage.mod_settings.garden_pole_connectors, + }) + common.writeDebug("Pole %g has %s neighbours", { pole.unit_number, #neighbours }) + for n, neighbour in pairs(neighbours or {}) do + connected = wire_connector.connect_to(neighbour) + common.writeDebug("Connected pole %g to neighbour %s (%g): %s", + { pole.unit_number, neighbour.name, neighbour.unit_number, connected }) + end + end + end + + -------------------------------------------------------------------- + -- Connect hidden poles of powered rails -- this is also used in + -- migration scripts, so make it a function in common.lua! + -- (This function may be called for hidden poles that have not been + -- added to the table yet if the pole has just been built. In this + -- case, we pass on the new pole explicitly!) + common.connect_power_rail = function(base, new_pole) + local pole = storage.bi_power_rail_table[base.unit_number].pole or new_pole + if pole and pole.valid then + -- Remove all copper wires from new pole + pole.disconnect_neighbour() + common.writeDebug("Removed all wires from %s %g", { pole.name, pole.unit_number }) + + -- Look for connecting rails at front and back of the new rail + for s, side in ipairs({ "front", "back" }) do + common.writeDebug("Looking for rails at %s", { side }) + local neighbour + -- Look in all three directions + for d, direction in ipairs({ "left", "straight", "right" }) do + common.writeDebug("Looking for rails in %s direction", { direction }) + neighbour = base.get_connected_rail { + rail_direction = defines.rail_direction[side], + rail_connection_direction = defines.rail_connection_direction[direction] + } + common.writeDebug("Rail %s of %s (%s): %s (%s)", + { direction, base.name, base.unit_number, (neighbour and neighbour.name or "nil"), (neighbour and neighbour.unit_number or "nil") }) + + -- Only make a connection if found rail is a powered rail + -- (We'll know it's the right type if we find it in our table!) + neighbour = neighbour and neighbour.valid and storage.bi_power_rail_table[neighbour.unit_number] + if neighbour and neighbour.pole and neighbour.pole.valid then + pole.connect_neighbour(neighbour.pole) + common.writeDebug("Connected poles!") + end + end + end + + -- Look for Power-rail connectors + local connector = base.surface.find_entities_filtered { + position = base.position, + radius = common.POWER_TO_RAIL_WIRE_DISTANCE, -- maximum_wire_distance of Power-to-rail-connectors + name = "bi-power-to-rail-pole" + } + -- Connect to first Power-rail connector we've found + if connector and next(connector) then + pole.connect_neighbour(connector[1]) + common.writeDebug("Connected " .. pole.name .. " (" .. pole.unit_number .. + ") to " .. connector[1].name .. " (" .. connector[1].unit_number .. ")") + common.writeDebug("Connected %s (%g) to %s (%g)", + { pole.name, pole.unit_number, connector[1].name, connector[1].unit_number }) + end + common.writeDebug("Stored %s (%g) in global table", { base.name, base.unit_number }) + end + end + + + ------------------------------------------------------------------------------------ + -- Get the value of a startup setting + common.get_startup_setting = function(setting_name) + return settings.startup[setting_name] and settings.startup[setting_name].value + end + + + ------------------------------------------------------------------------------------ + -- Add the "icons" property based on the value of "icon" + ------------------------------------------------------------------------------------ + common.BI_add_icons = function() + for tab_name, tab in pairs(data.raw) do + for proto_type_name, proto_type in pairs(data.raw[tab_name] or {}) do + if proto_type.BI_add_icon then + proto_type.icons = { + { + icon = proto_type.icon, + icon_size = proto_type.icon_size, + icon_mipmaps = proto_type.icon_mipmaps + } + } + proto_type.BI_add_icon = nil + common.writeDebug("Added \"icons\" property to data.raw[\"%s\"][\"%s\"]: %s", + { tab_name, proto_type_name, proto_type.icons }, "line") + end + end + end + end + + ------------------------------------------------------------------------------------ + -- END OF FILE + ------------------------------------------------------------------------------------ + return common +end diff --git a/Bio_Industries_2/control.lua b/Bio_Industries_2/control.lua index ca5ca88..c9237e1 100644 --- a/Bio_Industries_2/control.lua +++ b/Bio_Industries_2/control.lua @@ -1,1044 +1,1040 @@ -BioInd = require("__" .. script.mod_name .. "__.common")(script.mod_name) -local settings_changed = require("settings_changed") - -if BioInd.get_startup_setting("BI_Enable_gvv_support") then - BioInd.writeDebug("Activating support for gvv!") - require("__gvv__/gvv")() -end - - --- We can't just check if Alien Biomes is active, because we need to know if --- the tiles we need from it exist in the game! To check this, we must call --- game.get_tile_prototypes(), but this will crash in script.on_load(). So, --- let's just declare the variable here and fill it later. -local AlienBiomes - -local Event = require('__kry_stdlib__/stdlib/event/event').set_protected_mode(false) -require ("util") -require ("libs/util_ext") -require ("control_tree") -require ("control_arboretum") - - ----************** Used for Testing ----- ---require ("Test_Spawn") ----************* - - -local function Create_dummy_force() - -- Create dummy force for musk floor if electric grid overlay should NOT be shown in map view - local f = game.create_force(BioInd.MuskForceName) - -- Set new force as neutral to every other force - for name, force in pairs(game.forces) do - if name ~= BioInd.MuskForceName then - f.set_friend(force, false) - f.set_cease_fire(force, true) - end - end - -- New force won't share chart data with any other force - f.share_chart = false - - BioInd.writeDebug("Created force: %s", {game.forces[BioInd.MuskForceName].name}) -end - - --- Generate a look-up table with the names of our trees -local function get_bi_trees() - local list = {} - - local trees = prototypes.get_entity_filtered({{filter = "type", type = "tree"}}) - for tree_name, tree in pairs(trees) do - if tree_name:match("^bio%-tree%-.+%-%d$") then -BioInd.show("Found matching tree", tree_name) - list[tree_name] = true - end - end - - return list -end - - --- Generate a look-up table with the names of tiles that can't be changed by fertilizer -local tile_patterns = { - ".*concrete.*", - ".*stone%-path.*", - "^bi%-solar%-mat$", - "^bi%-wood%-floor$", -} -local function get_fixed_tiles() - local list = {} - - for tile_name, tile in pairs(prototypes.tile) do - for p, pattern in ipairs(tile_patterns) do - if tile_name:match(pattern) then -BioInd.show("Found matching tile", tile_name) - -- If a tile is minable and fertilizer is used on it, we must deduct the mined - -- tiles from the player/robot again! - list[tile_name] = tile.mineable_properties.products or true - end - end - end -BioInd.show("Forbidden tiles", list) - return list -end - - --- Generate a look-up table with recipe ingredients, as other mods may have changed them -local function get_arboretum_recipes() - local list = {} - - local recipes = prototypes.recipe - local name - - for i = 1, 5 do - name = "bi-arboretum-r" .. i - list[name] = {} - list[name].items = {} - list[name].fluids = {} - - for i, ingredient in pairs(recipes[name].ingredients) do - if ingredient.type == "item" then - list[name].items[ingredient.name] = ingredient.amount - else - list[name].fluids[ingredient.name] = ingredient.amount - end - end - end - - BioInd.show("Terraformer recipes", list) - return list -end - - --------------------------------------------------------------------- -local function init() -BioInd.writeDebug("Entered init!") - if BioInd.is_debug then - game.check_prototype_translations() - end - - storage = storage or {} - - -------------------------------------------------------------------- - -- Settings - -------------------------------------------------------------------- - -- Global table for storing the last state of certain mod settings - storage.mod_settings = storage.mod_settings or {} - if BioInd.get_startup_setting("BI_Easy_Bio_Gardens") then - storage.mod_settings.garden_pole_connectors = BioInd.get_garden_pole_connectors() - else - storage.mod_settings.garden_pole_connectors = nil - end - - -- Global table for storing the data of compound entities. They may change between - -- saves (e.g. Bio gardens only need hidden poles when the "Easy gardens" setting - -- is active). - storage.compound_entities = BioInd.rebuild_compound_entity_list() - - - -------------------------------------------------------------------- - -- Tree stuff! - -------------------------------------------------------------------- - storage.bi = storage.bi or {} - storage.bi.tree_growing = storage.bi.tree_growing or {} - for i = 1, 4 do - storage.bi["tree_growing_stage_" .. i] = storage.bi["tree_growing_stage_" .. i] or {} - end - - -- List of tree prototypes created by BI - storage.bi.trees = get_bi_trees() - - -- List of tile prototypes that can't be fertilized - storage.bi.barren_tiles = get_fixed_tiles() - - -------------------------------------------------------------------- - -- Compound entities - -------------------------------------------------------------------- - -- Check what global tables we need for compound entities - local compound_entity_tables = {} - for compound, compound_data in pairs(storage.compound_entities) do - -- BioInd.compound_entities contains entries that point to the same table - -- (e.g. straight/curved rails, or overlay entities), so we just overwrite - -- them to remove duplicates - compound_entity_tables[compound_data.tab] = compound - end -BioInd.show("Need to check these tables in global", compound_entity_tables) - - -- Prepare global tables storing data of compound entities - local result - for compound_tab, compound_name in pairs(compound_entity_tables) do - -- Init table - storage[compound_tab] = storage[compound_tab] or {} - BioInd.writeDebug("Initialized storage[%s] (%s entities stored)", - {compound_name, table_size(storage[compound_tab])}) - -- If this compound entity requires additional tables in global, initialize - -- them now! - local related_tables = storage.compound_entities[compound_name].add_global_tables - if related_tables then - for t, tab in ipairs(related_tables or {}) do - storage[tab] = storage[tab] or {} - BioInd.writeDebug("Initialized storage[%s] (%s values)", {tab, table_size(storage[tab])}) - end - end - -- If this compound entity requires additional values in global, initialize - -- them now! - local related_vars = storage.compound_entities[compound_name].add_global_values - if related_vars then - for var_name, value in pairs(related_vars or {}) do - storage[var_name] = storage[var_name] or value - BioInd.writeDebug("Set storage[%s] to %s", {var_name, storage[var_name]}) - end - end - - -- Clean up global tables (We can skip this for empty tables!) - if next(storage[compound_tab]) then - -- Remove invalid entities - result = BioInd.clean_global_compounds_table(compound_name) - BioInd.writeDebug("Removed %s invalid entries from storage[%s]!", - {result, compound_tab}) - -- Restore missing hidden entities - result = BioInd.restore_missing_entities(compound_name) - BioInd.writeDebug("Checked %s compound entities and restored %s missing hidden entries for storage[\"%s\"]!", - {result.checked, result.restored, compound_tab}) - end - end - -- Search all surfaces for unregistered compound entities - result = BioInd.find_unregistered_entities() - BioInd.writeDebug("Registered %s forgotten entities!", {result}) - - - - -------------------------------------------------------------------- - -- Musk floor - -------------------------------------------------------------------- - storage.bi_musk_floor_table = storage.bi_musk_floor_table or {} - storage.bi_musk_floor_table.tiles = storage.bi_musk_floor_table.tiles or {} - storage.bi_musk_floor_table.forces = storage.bi_musk_floor_table.forces or {} - - - - -------------------------------------------------------------------- - -- Arboretum - -------------------------------------------------------------------- - -- Global table for arboretum radars - storage.bi_arboretum_radar_table = storage.bi_arboretum_radar_table or {} - - -- Global table of ingredients for terraformer recipes - storage.bi_arboretum_recipe_table = get_arboretum_recipes() - - - -------------------------------------------------------------------- - -- Compatibility with other mods - -------------------------------------------------------------------- - storage.compatible = storage.compatible or {} - storage.compatible.AlienBiomes = BioInd.AB_tiles() - - - -- enable researched recipes - for i, force in pairs(game.forces) do - BioInd.writeDebug("Reset technology effects for force %s.", {force.name}) - force.reset_technology_effects() - end - - -- Create dummy force for musk floor if electric grid overlay should NOT be shown in map view - if BioInd.UseMuskForce and not game.forces[BioInd.MuskForceName] then - Create_dummy_force() - end - -end - - --------------------------------------------------------------------- -local function On_Load() - log("Entered On_Load!") - -end - - --------------------------------------------------------------------- -local function On_Config_Change(ConfigurationChangedData) -BioInd.writeDebug("On Configuration changed: %s", {ConfigurationChangedData}) - - - -- Re-initialize global tables etc. - init() - - -- Has setting BI_Show_musk_floor_in_mapview changed? - if ConfigurationChangedData.mod_startup_settings_changed then - settings_changed.musk_floor() - -- Has this been obsoleted by the new init process? Turn it off for now! - end - - -- We've made a list of the tree prototypes that are currently available. Now we - -- need to make sure that the lists of growing trees don't contain removed tree - -- prototypes! (This fix is needed when "Alien Biomes" has been removed; it should - -- work with all other mods that create trees as well.) - local trees = storage.bi.trees - local tab - -- Growing stages - for i = 1, 4 do - tab = storage.bi["tree_growing_stage_" .. i] -BioInd.writeDebug("Number of trees in growing stage %s: %s", {i, table_size(tab)}) - for t = #tab, 1, -1 do - if not trees[tab[t].tree_name] then - BioInd.writeDebug("Removing invalid tree %s (%s)", {t, tab[t].tree_name}) - table.remove(tab, t) - end - end - - -- Removing trees will create gaps in the table, but we need it as a continuous - -- list. (Trees need to be sorted by growing time, and we always look at the - -- tree with index 1 when checking if a tree has completed the growing stage, so - -- lets sort the table after all invalid trees have been removed!) - table.sort(tab, function(a, b) return a.time < b.time end) -BioInd.show("Number of trees in final list", #tab) - end -end - - --------------------------------------------------------------------- ---- Used for some compatibility with Angels Mods -Event.register(defines.events.on_player_joined_game, function(event) - local player = game.players[event.player_index] - local force = player.force - local techs = force.technologies - - if BioInd.get_startup_setting("angels-use-angels-barreling") then - techs['fluid-handling'].researched = false - techs['bi-tech-fertilizer'].reload() - local _t = techs['angels-fluid-barreling'].researched - techs['angels-fluid-barreling'].researched = false - techs['angels-fluid-barreling'].researched = _t - end -end) - - ---------------------------------------------- -Event.register(defines.events.on_trigger_created_entity, function(event) - --- Used for Seed-bomb - local ent = event.entity - local surface = ent.surface - local position = ent.position - - -- 'AlienBiomes' is a bool value -- we don't want to read it again if it's false, - -- but only if it hasn't been set yet! - AlienBiomes = AlienBiomes ~= nil and AlienBiomes or BioInd.AB_tiles() - - -- Basic - if ent.name == "seedling" then - BioInd.writeDebug("Seed Bomb Activated - Basic") - seed_planted_trigger(event) - - -- Standard - elseif ent.name == "seedling-2" then - BioInd.writeDebug("Seed Bomb Activated - Standard") - local currTile = surface.get_tile(position).name - if storage.bi.barren_tiles[currTile] then - BioInd.writeDebug("Can't fertilize %s!", {currTile}) - else - BioInd.writeDebug("Using fertilizer!") - local terrain_name_s = AlienBiomes and "vegetation-green-grass-3" or "grass-3" - surface.set_tiles{{name = terrain_name_s, position = position}} - end - seed_planted_trigger(event) - - -- Advanced - elseif ent.name == "seedling-3" then - BioInd.writeDebug("Seed Bomb Activated - Advanced") - local currTile = surface.get_tile(position).name - if storage.bi.barren_tiles[currTile] then - BioInd.writeDebug("Can't fertilize %s!", {currTile}) - else - BioInd.writeDebug("Using fertilizer!") - local terrain_name_a = AlienBiomes and "vegetation-green-grass-1" or "grass-1" - surface.set_tiles{{name = terrain_name_a, position = position}} - end - seed_planted_trigger(event) - end -end) - --------------------------------------------------------------------- -local function On_Built(event) - BioInd.writeDebug("Entered function On_Built with these data: " .. serpent.block(event)) - local entity = event.created_entity or event.entity - if not (entity and entity.valid) then - BioInd.arg_err(entity or "nil", "entity") - end - - local surface = BioInd.is_surface(entity.surface) or - BioInd.arg_err(entity.surface or "nil", "surface") - local position = BioInd.normalize_position(entity.position) or - BioInd.arg_err(entity.position or "nil", "position") - local force = entity.force - - - -- We can ignore ghosts -- if ghosts are revived, there will be - -- another event that triggers where actual entities are placed! - if entity.name == "entity-ghost" then - BioInd.writeDebug("Built ghost of %s -- return!", {entity.ghost_name}) - return - end - - BioInd.show("Built entity", BioInd.print_name_id(entity)) - - local base_entry = storage.compound_entities[entity.name] - local base = base_entry and entity - - -- We've found a compound entity! - if base then - -- Make sure we work with a copy of the original table! We don't want to - -- remove anything from it for real. - local hidden_entities = util.table.deepcopy(base_entry.hidden) - - BioInd.writeDebug("%s (%s) is a compound entity. Need to create %s", {base.name, base.unit_number, hidden_entities}) -BioInd.show("hidden_entities", hidden_entities) - local new_base - local new_base_name = base_entry.new_base_name - -- If the base entity is only an overlay, we'll replace it with the real base - -- entity and raise an event. The hidden entities will be created in the second - -- pass (triggered by building the final entity). -BioInd.show("base_entry.new_base_name", base_entry.new_base_name) -BioInd.show("base_entry.new_base_name == base.name", base_entry.new_base_name == base.name) -BioInd.show("base_entry.optional", base_entry.optional) - if new_base_name and new_base_name ~= base.name then - new_base = surface.create_entity({ - name = new_base_name, - position = base.position, - direction = base.direction, - force = base.force, - raise_built = true - }) - new_base.health = base.health - BioInd.show("Created final base entity", BioInd.print_name_id(new_base)) - - base.destroy({raise_destroy = true}) - base = new_base - BioInd.writeDebug("Destroyed old base entity!") - - -- Second pass: We've placed the final base entity now, so we can create the - -- the hidden entities! - else -BioInd.writeDebug("Second pass -- creating hidden entities!") -BioInd.show("base_entry", base_entry) - -BioInd.writeDebug("storage[%s]: %s", {base_entry.tab, storage[base_entry.tab]}) -BioInd.show("base.name", base.name) -BioInd.show("base.unit_number", base.unit_number) -BioInd.show("hidden_entities", hidden_entities) - - -- We must call create_entities even if there are no hidden entities (e.g. if - -- the "Easy Gardens" setting is disabled and no hidden poles are required) - -- because the compound entity gets registered there! - BioInd.create_entities(storage[base_entry.tab], base, hidden_entities) - BioInd.writeDebug("Stored %s in table: %s", - {BioInd.print_name_id(base), storage[base_entry.tab][base.unit_number]}) - end - - -- The built entity isn't one of our compound entities. - else -BioInd.writeDebug("%s is not a compound entity!", {BioInd.print_name_id(entity)}) - - -- If one of our hidden entities has been built, we'll have raised this event - -- ourselves and have passed on the base entity. - base = event.base_entity - - local entities = BioInd.compound_entities -BioInd.show("Base entity", BioInd.print_name_id(base)) - - -- The hidden entities are listed with a common handle ("pole", "panel" etc.). We - -- can get it from the reverse-lookup list via the entity type! - local h_key = BioInd.HE_map_reverse[entity.type] - BioInd.show("h_key", h_key or "nil") - - -- Arboretum radar -- we need to add it to the table! - if entity.type == "radar" and - entity.name == entities["bi-arboretum-area"].hidden[h_key].name and base then - storage.bi_arboretum_radar_table[entity.unit_number] = base.unit_number - entity.backer_name = "" - BioInd.writeDebug("Added %s to storage.bi_arboretum_radar_table", {BioInd.print_name_id(entity)}) - - -- Electric poles -- we need to take care that they don't hook up to hidden poles! - elseif entity.type == "electric-pole" then -BioInd.show("entities[\"bi-straight-rail-power\"].hidden[h_key].name", entities["bi-straight-rail-power"].hidden[h_key].name) - local pole = entity - -- Make sure hidden poles of the Bio gardens are connected correctly! - if pole.name == entities["bi-bio-garden"].hidden[h_key].name and base then -BioInd.writeDebug("Bio garden!") - BioInd.connect_garden_pole(base, pole) - BioInd.writeDebug("Connected %s (%s)", {pole.name, pole.unit_number or "nil"}) - - -- Make sure hidden poles for powered rails are connected correctly! - elseif pole.name == entities["bi-straight-rail-power"].hidden[h_key].name and base then -BioInd.writeDebug("Powered rail!") - BioInd.connect_power_rail(base, pole) - BioInd.writeDebug("Connected %s", {BioInd.print_name_id(pole)}) - - -- Do nothing for rail-to-power connectors - elseif pole.name == "bi-power-to-rail-pole" then - BioInd.writeDebug("Nothing to do for %s", {BioInd.print_name_id(pole)}) - - -- Disconnect other poles from hidden poles on powered rails - else -BioInd.writeDebug("Must disconnect!") - for n, neighbour in ipairs(pole.neighbours["copper"] or {}) do - if neighbour.name == entities["bi-straight-rail-power"].hidden[h_key].name then - pole.disconnect_neighbour(neighbour) - BioInd.writeDebug("Disconnected %s from %s", - {BioInd.print_name_id(pole), BioInd.print_name_id(neighbour)}) - end - end - end - - -- A seedling has been planted - elseif entity.name == "seedling" then - seed_planted(event) - BioInd.writeDebug("Planted seedling!") - - -- Something else has been built - else - BioInd.writeDebug("Nothing to do for %s!", {entity.name}) - end - end - BioInd.writeDebug("End of function On_Built") -end - - -local function remove_plants(entity_position, tabl) -BioInd.writeDebug("Entered function remove_plants(%s, %s)", {entity_position or "nil", tabl or "nil"}) - local e = BioInd.normalize_position(entity_position) - if not e then - BioInd.arg_err(entity_position or "nil", "position") - end - BioInd.check_args(tabl, "table") - - local pos - - for k, v in pairs(tabl or {}) do - pos = BioInd.normalize_position(v.position) - if pos and pos.x == e.x and pos.y == e.y then -BioInd.writeDebug("Removing entry %s from table: %s", {k, v}) - table.remove(tabl, k) - break - end - end -end - - --------------------------------------------------------------------- -local function On_Pre_Remove(event) -BioInd.writeDebug("Entered function On_Pre_Remove(%s)", {event}) - local entity = event.entity - - if not (entity and entity.valid) then - BioInd.writeDebug("No valid entity -- nothing to do!") - return - end - - local compound_entity = storage.compound_entities[entity.name] - local base_entry = compound_entity and storage[compound_entity.tab][entity.unit_number] -BioInd.show("entity.name", entity.name) -BioInd.show("entity.unit_number", entity.unit_number) - -BioInd.show("compound_entity", compound_entity) -BioInd.show("base_entry", base_entry) -BioInd.show("compound_entity.tab", compound_entity and compound_entity.tab or "nil") -BioInd.writeDebug("storage[%s]: %s", {compound_entity and compound_entity.tab or "nil", compound_entity and storage[compound_entity.tab] or "nil"}) - - -- Found a compound entity from our list! - if base_entry then -BioInd.writeDebug("Found compound entity %s", - {base_entry.base and BioInd.print_name_id(base_entry.base)}) - - -- Arboretum: Need to separately remove the entry from the radar table - if entity.name == "bi-arboretum" and base_entry.radar and base_entry.radar.valid then - storage.bi_arboretum_radar_table[base_entry.radar.unit_number] = nil -BioInd.show("Removed arboretum radar! Table", storage.bi_arboretum_radar_table) - end - - -- Power rails: Connections must be explicitely removed, otherwise the poles - -- from the remaining rails will automatically connect and bridge the gap in - -- the power supply! - if entity.name:match("bi%-%a+%-rail%-power") and base_entry.pole and base_entry.pole.valid then -BioInd.writeDebug("Before") - BioInd.writeDebug("Disconnecting %s!", {BioInd.print_name_id(base_entry.pole)}) - base_entry.pole.disconnect_neighbour() -BioInd.writeDebug("After") - end - - -- Default: Remove all hidden entities! - for hidden, h_name in pairs(compound_entity.hidden or {}) do -BioInd.show("hidden", hidden) - -BioInd.writeDebug("Removing hidden entity %s", {BioInd.print_name_id(base_entry[hidden])}) - BioInd.remove_entity(base_entry[hidden]) - base_entry[hidden] = nil - end - storage[compound_entity.tab][entity.unit_number] = nil - - -- Rail-to-power: Connections must be explicitely removed, otherwise the poles - -- from the different rail tracks hooked up to this connector will automatically - -- keep the separate power networks connected! - elseif entity.name == "bi-power-to-rail-pole" then - BioInd.writeDebug("Rail-to-power connector has been removed") - entity.disconnect_neighbour() - BioInd.writeDebug("Removed copper wires from %s (%g)", {entity.name, entity.unit_number}) - - -- Removed seedling - elseif entity.name == "seedling" then - BioInd.writeDebug("Seedling has been removed") - remove_plants(entity.position, storage.bi.tree_growing) - - -- Removed tree - elseif entity.type == "tree" and storage.bi.trees[entity.name] then - BioInd.show("Removed tree", entity.name) - - local tree_stage = entity.name:match('^.+%-(%d)$') -BioInd.writeDebug("Removed tree %s (grow stage: %s)", {entity.name, tree_stage or nil}) - if tree_stage then - remove_plants(entity.position, storage.bi["tree_growing_stage_" .. tree_stage]) - else - error(string.format("Tree %s does not have a valid tree_stage: %s", entity.name, tree_stage or "nil")) - end - - -- Removed something else - else - BioInd.writeDebug("%s has been removed -- nothing to do!", {entity.name}) - end -end - - --------------------------------------------------------------------- -local function On_Damage(event) - local f_name = "On_Damage" - BioInd.writeDebug("Entered function %s(%s)", {f_name, event}) - local entity = event.entity - local final_health = event.final_health - - local arb = "bi-arboretum" - local associated - - -- Base was damaged: Find the radar associated with it! - if entity.name == arb then - associated = storage.bi_arboretum_table[entity.unit_number].radar - -- Radar was damaged: Find the base entity! - elseif entity.name == storage.compound_entities[arb].hidden.radar.name then - local base_id = storage.bi_arboretum_radar_table[entity.unit_number] - associated = storage.bi_arboretum_table[base_id].base - end - - if associated and associated.valid then - associated.health = final_health - BioInd.writeDebug("%s was damaged (%s). Reducing health of %s to %s!", { - BioInd.print_name_id(entity), - event.final_damage_amount, - entity.name == arb and "associated radar" or "base", - associated.health - }) - end -end - --------------------------------------------------------------------- -local function On_Death(event) - local f_name = "On_Death" -BioInd.writeDebug("Entered function %s(%s)", {f_name, event}) - - local entity = event.entity - if not entity then - error("Something went wrong -- no entity data!") - end - - if - -- Table checks - storage.compound_entities[entity.name] or - storage.bi.trees[entity.name] or - -- Entity checks - entity.name == storage.compound_entities["bi-arboretum"].hidden.radar.name or - entity.name == "bi-power-to-rail-pole" or - entity.name == "seedling" then - - BioInd.writeDebug("Divert to On_Pre_Remove!") - On_Pre_Remove(event) - else - BioInd.writeDebug("Nothing to do!") - end -end - - --------------------------------------------------------------------- --- Radar stuff --------------------------------------------------------------------- - --- Radar completed a sector scan -local function On_Sector_Scanned(event) - local f_name = "On_Sector_Scanned" - BioInd.writeDebug("Entered function %s(%s)", {f_name, event}) - - ---- Each time a Arboretum-Radar scans a sector ---- - local arboretum = storage.bi_arboretum_radar_table[event.radar.unit_number] - if arboretum then - Get_Arboretum_Recipe(storage.bi_arboretum_table[arboretum], event) - end -end - - --------------------------------------------------------------------- --- Solar Mat stuff --------------------------------------------------------------------- - --------------------------------------------------------------------- --- Solar mat was removed -local function solar_mat_removed(event) - BioInd.writeDebug("Entered solar_mat_removed (\"%s\")", {event}) - - local surface = game.surfaces[event.surface_index] - local tiles = event.tiles - - local pos, x, y - -- tiles contains an array of the old tiles and their position - for t, tile in pairs(tiles) do - if tile.old_tile and tile.old_tile.name == "bi-solar-mat" then - pos = BioInd.normalize_position(tile.position) - x, y = pos.x, pos.y - -BioInd.writeDebug("Looking for hidden entities to remove") - for _, o in pairs(surface.find_entities_filtered{ - name = {'bi-musk-mat-hidden-pole', 'bi-musk-mat-hidden-panel'}, - position = {x + 0.5, y + 0.5} - } or {}) do -BioInd.show("Removing", o.name) - o.destroy() - end - - -- Remove tile from global tables - local force_name = storage.bi_musk_floor_table.tiles and - storage.bi_musk_floor_table.tiles[x] and - storage.bi_musk_floor_table.tiles[x][y] - if force_name then -BioInd.writeDebug("Removing Musk floor tile from tables!") - storage.bi_musk_floor_table.tiles[x][y] = nil - if not next(storage.bi_musk_floor_table.tiles[x]) then - storage.bi_musk_floor_table.tiles[x] = nil - end - - if storage.bi_musk_floor_table.forces[force_name] and - storage.bi_musk_floor_table.forces[force_name][x] then - storage.bi_musk_floor_table.forces[force_name][x][y] = nil - if not next(storage.bi_musk_floor_table.forces[force_name][x]) then - storage.bi_musk_floor_table.forces[force_name][x] = nil - end - end - end - - end - end - - BioInd.writeDebug("bi-solar-mat: removed %g tiles", {table_size(tiles)}) -end - - --------------------------------------------------------------------- --- A solar mat must be placed -local function place_musk_floor(force, position, surface) - BioInd.check_args(force, "string") - position = BioInd.normalize_position(position) or BioInd.arg_err(position, "position") - surface = BioInd.is_surface(surface) or BioInd.arg_err(surface, "surface") - - local x, y = position.x, position.y - local created - for n, name in ipairs({"bi-musk-mat-hidden-pole", "bi-musk-mat-hidden-panel"}) do - created = surface.create_entity({name = name, position = {x + 0.5, y + 0.5}, force = force}) - created.minable = false - created.destructible = false - BioInd.writeDebug("Created %s: %s", {name, created.unit_number}) - end - - -- Add to global tables! - storage.bi_musk_floor_table.tiles[x] = storage.bi_musk_floor_table.tiles[x] or {} - storage.bi_musk_floor_table.tiles[x][y] = force - - storage.bi_musk_floor_table.forces[force] = storage.bi_musk_floor_table.forces[force] or {} - storage.bi_musk_floor_table.forces[force][x] = storage.bi_musk_floor_table.forces[force][x] or {} - storage.bi_musk_floor_table.forces[force][x][y] = true -end - --------------------------------------------------------------------- --- Solar mat was built -local function solar_mat_built(event) -BioInd.show("Entered function \"solar_mat_built\"", event) - -- Called from player, bot and script-raised events, so event may - -- contain "robot" or "player_index" - - local tile = event.tile - local surface = game.surfaces[event.surface_index] - local player = event.player_index and game.players[event.player_index] - local robot = event.robot - local force = (BioInd.UseMuskForce and BioInd.MuskForceName) or - (event.player_index and game.players[event.player_index].force.name) or - (event.robot and event.robot.force.name) or - event.force.name -BioInd.show("Force.name", force) - - -- Item that was used to place the tile - local item = event.item - local old_tiles = event.tiles - - - local position --, x, y - - - -- Musk floor has been built -- create hidden entities! - if tile.name == "bi-solar-mat" then - BioInd.writeDebug("Solar Mat has been built -- must create hidden entities!") -BioInd.show("Tile data", tile ) - - for index, t in pairs(old_tiles or {tile}) do -BioInd.show("Read old_tile inside loop", t) - -- event.tiles will also contain landscape tiles like "grass-1", and it will always - -- contain at least one tile - position = BioInd.normalize_position(t.position) - -- If we got here by a call from script_raised_built, force may be stored - -- with the tile - force = force or t.force -BioInd.show("Got force from tile data", t.force or "false") - BioInd.writeDebug("Building solar mat for force %s at position %s", - {tostring(type(force) == "table" and force.name or force), position}) - - place_musk_floor(force, position, surface) - end - - -- Fertilizer/Advanced fertilizer has been used. Check if the tile was valid - -- (no Musk floor, no wooden floor, no concrete etc.) - elseif item and (item.name == "fertilizer" or item.name == "bi-adv-fertilizer") then - - local restore_tiles = {} - local products, remove_this - - for index, t in pairs(old_tiles or {tile}) do -BioInd.show("index", index) -BioInd.show("t.old_tile.name", t.old_tile.name) - - -- We want to restore removed tiles if nothing is supposed to grow on them! - if storage.bi.barren_tiles[t.old_tile.name] then -BioInd.writeDebug("%s was used on forbidden ground (%s)!", {item.name, t.old_tile.name}) - restore_tiles[#restore_tiles + 1] = {name = t.old_tile.name, position = t.position} - - -- Is that tile minable? - products = storage.bi.barren_tiles[t.old_tile.name] - if type(products) == "table" then - for p, product in ipairs(products) do - remove_this = {name = product.name, count = product.amount} - if player then - BioInd.writeDebug("Removing %s (%s) from player %s", - {product.name, product.amount, player.name}) - player.remove_item(remove_this) - elseif robot then - BioInd.writeDebug("Removing %s (%s) from robot %s", - {product.name, product.amount, robot.unit_number}) - robot.remove_item(remove_this) - end - end - end - end - end -BioInd.show("restore_tiles", restore_tiles) - if restore_tiles then - surface.set_tiles( - restore_tiles, - true, -- correct_tiles - true, -- remove_colliding_entities - true, -- remove_colliding_decoratives - true -- raise_event - ) - end - - -- Some other tile has been built -- check if it replaced musk floor! - else - local test - local removed_tiles = {} - for index, t in pairs(old_tiles or {tile}) do - position = BioInd.normalize_position(t.position) - test = storage.bi_musk_floor_table and - storage.bi_musk_floor_table.tiles and - storage.bi_musk_floor_table.tiles[position.x] and - storage.bi_musk_floor_table.tiles[position.x][position.y] - if test then - removed_tiles[#removed_tiles + 1] = { - old_tile = {name = "bi-solar-mat"}, - position = position - } - end - end - if next(removed_tiles) then - solar_mat_removed({surface_index = event.surface_index, tiles = removed_tiles}) - else - BioInd.writeDebug("%s has been built -- nothing to do!", {tile.name}) - end - end - -end - - --------------------------------------------------------------------- --- A tille has been changed -local function Tile_Changed(event) - local f_name = "Tile_Changed" - BioInd.writeDebug("Entered function %s(%s)", {f_name, event}) - - -- The event gives us only a list of the new tiles that have been placed. - -- So let's check if any Musk floor has been built! - local new_musk_floor_tiles = {} - local old_musk_floor_tiles = {} - local remove_musk_floor_tiles = {} - local pos, old_tile, force - - local tile_force - - for t, tile in ipairs(event.tiles) do -BioInd.show("t", t) - pos = BioInd.normalize_position(tile.position) - tile_force = storage.bi_musk_floor_table.tiles[pos.x] and - storage.bi_musk_floor_table.tiles[pos.x][pos.y] - BioInd.show("Placed tile", tile.name) - - -- Musk floor was placed - if tile.name == "bi-solar-mat" then - BioInd.writeDebug("Musk floor tile was placed!") - new_musk_floor_tiles[#new_musk_floor_tiles + 1] = { - old_tile = { name = tile.name }, - position = pos, - force = tile_force or - BioInd.UseMuskForce and BioInd.MuskForceName or - "neutral" - } - -- Other tile was placed -- by one of our fertilizers? - elseif tile.name:match("^vegetation%-green%-grass%-[13]$") or - tile.name:match("^green%-grass%-[13]$") then - BioInd.writeDebug("Fertilizer was used!") - - -- Fertilizer was used on a Musk floor tile -- restore the tile! -BioInd.show("Musk floor tile in position", tile_force) - if tile_force then - old_musk_floor_tiles[#old_musk_floor_tiles + 1] = { - old_tile = { name = "bi-solar-mat" }, - position = pos, - force = tile_force - } - end - -- Other tile was placed on a Musk floor tile -- remove Musk floor from lists! - elseif tile_force then - remove_musk_floor_tiles[#remove_musk_floor_tiles + 1] = { - old_tile = { name = "bi-solar-mat" }, - position = pos, - } - end - end -BioInd.show("new_musk_floor_tiles", new_musk_floor_tiles) -BioInd.show("old_musk_floor_tiles", old_musk_floor_tiles) -BioInd.show("remove_musk_floor_tiles", remove_musk_floor_tiles) - - if next(new_musk_floor_tiles) then - solar_mat_built({ - surface_index = event.surface_index, - tile = {name = "bi-solar-mat"}, - force = BioInd.MuskForceName, - tiles = new_musk_floor_tiles - }) - end - if next(old_musk_floor_tiles) then - solar_mat_built({ - surface_index = event.surface_index, - tile = {name = "bi-solar-mat"}, - tiles = old_musk_floor_tiles - }) - end - if next(remove_musk_floor_tiles) then - solar_mat_removed({surface_index = event.surface_index, tiles = remove_musk_floor_tiles}) - end - BioInd.show("End of function", f_name) -end - - --------------------------------------------------------------------- - - -Event.register(Event.core_events.configuration_changed, On_Config_Change) -Event.register(Event.core_events.init, init) -Event.register(Event.core_events.load, On_Load) - - -Event.build_events = { - defines.events.on_built_entity, - defines.events.on_robot_built_entity, - defines.events.script_raised_built, - defines.events.script_raised_revive -} -Event.pre_remove_events = { - defines.events.on_pre_player_mined_item, - defines.events.on_robot_pre_mined, - defines.events.on_player_mined_entity, - defines.events.on_robot_mined_entity, -} - Event.death_events = { - defines.events.on_entity_died, - defines.events.script_raised_destroy -} -Event.tile_build_events = { - defines.events.on_player_built_tile, - defines.events.on_robot_built_tile -} -Event.tile_remove_events = { - defines.events.on_player_mined_tile, - defines.events.on_robot_mined_tile -} -Event.tile_script_action = { - defines.events.script_raised_set_tiles -} - -Event.register(Event.build_events, On_Built) -Event.register(Event.pre_remove_events, On_Pre_Remove) -Event.register(Event.death_events, On_Death) -Event.register(Event.tile_build_events, solar_mat_built) -Event.register(Event.tile_remove_events, solar_mat_removed) - - -Event.register(defines.events.on_entity_damaged, On_Damage, function(event) - -- A function is needed for event filtering with stdlib! - local entity = event.entity - - -- Ignore damage without effect (invulnerable/resistant entities) - if event.final_damage_amount ~= 0 and - -- Terraformer/Terraformer radar was damaged - (storage.bi_arboretum_table[entity.unit_number] or - storage.bi_arboretum_radar_table[entity.unit_number]) then - return true - end -end) - --- Radar scan -Event.register(defines.events.on_sector_scanned, On_Sector_Scanned, function(event) - -- A function is needed for event filtering with stdlib! - if event.radar.name == BioInd.compound_entities["bi-arboretum"].hidden.radar.name then - return true - end -end) - --- Tile changed -Event.register(Event.tile_script_action, Tile_Changed) - - ------------------------------------------------------------------------------------- --- FIND LOCAL VARIABLES THAT ARE USED GLOBALLY -- --- (Thanks to eradicator!) -- ------------------------------------------------------------------------------------- -setmetatable(_ENV, { - __newindex = function (self, key, value) --locked_global_write - error('\n\n[ER Global Lock] Forbidden global *write*:\n' - .. serpent.line{key = key or '', value = value or ''} .. '\n') - end, - __index = function (self, key) --locked_global_read - if not (key == "game" or key == "mods" or key == "storage") then - error('\n\n[ER Global Lock] Forbidden global *read*:\n' - .. serpent.line{key = key or ''} .. '\n') - end - end -}) +BioInd = require("__" .. script.mod_name .. "__.common")(script.mod_name) +local settings_changed = require("settings_changed") + +if BioInd.get_startup_setting("BI_Enable_gvv_support") then + BioInd.writeDebug("Activating support for gvv!") + require("__gvv__/gvv")() +end + + +-- We can't just check if Alien Biomes is active, because we need to know if +-- the tiles we need from it exist in the game! To check this, we must call +-- game.get_tile_prototypes(), but this will crash in script.on_load(). So, +-- let's just declare the variable here and fill it later. +local AlienBiomes + +local Event = require('__kry_stdlib__/stdlib/event/event').set_protected_mode(false) +require("util") +require("libs/util_ext") +require("control_tree") +require("control_arboretum") +require("remote") -- milestones + + + +local function Create_dummy_force() + -- Create dummy force for musk floor if electric grid overlay should NOT be shown in map view + local f = game.create_force(BioInd.MuskForceName) + -- Set new force as neutral to every other force + for name, force in pairs(game.forces) do + if name ~= BioInd.MuskForceName then + f.set_friend(force, false) + f.set_cease_fire(force, true) + end + end + -- New force won't share chart data with any other force + f.share_chart = false + + BioInd.writeDebug("Created force: %s", { game.forces[BioInd.MuskForceName].name }) +end + + +-- Generate a look-up table with the names of our trees +local function get_bi_trees() + local list = {} + + local trees = prototypes.get_entity_filtered({ { filter = "type", type = "tree" } }) + for tree_name, tree in pairs(trees) do + if tree_name:match("^bio%-tree%-.+%-%d$") then + BioInd.show("Found matching tree", tree_name) + list[tree_name] = true + end + end + + return list +end + + +-- Generate a look-up table with the names of tiles that can't be changed by fertilizer +local tile_patterns = { + ".*concrete.*", + ".*stone%-path.*", + "^bi%-solar%-mat$", + "^bi%-wood%-floor$", +} +local function get_fixed_tiles() + local list = {} + + for tile_name, tile in pairs(prototypes.tile) do + for p, pattern in ipairs(tile_patterns) do + if tile_name:match(pattern) then + BioInd.show("Found matching tile", tile_name) + -- If a tile is minable and fertilizer is used on it, we must deduct the mined + -- tiles from the player/robot again! + list[tile_name] = tile.mineable_properties.products or true + end + end + end + BioInd.show("Forbidden tiles", list) + return list +end + + +-- Generate a look-up table with recipe ingredients, as other mods may have changed them +local function get_arboretum_recipes() + local list = {} + + local recipes = prototypes.recipe + local name + + for i = 1, 5 do + name = "bi-arboretum-r" .. i + list[name] = {} + list[name].items = {} + list[name].fluids = {} + + for i, ingredient in pairs(recipes[name].ingredients) do + if ingredient.type == "item" then + list[name].items[ingredient.name] = ingredient.amount + else + list[name].fluids[ingredient.name] = ingredient.amount + end + end + end + + BioInd.show("Terraformer recipes", list) + return list +end + + +-------------------------------------------------------------------- +local function init() + BioInd.writeDebug("Entered init!") + if BioInd.is_debug then + game.check_prototype_translations() + end + + storage = storage or {} + + -------------------------------------------------------------------- + -- Settings + -------------------------------------------------------------------- + -- Global table for storing the last state of certain mod settings + storage.mod_settings = storage.mod_settings or {} + if BioInd.get_startup_setting("BI_Easy_Bio_Gardens") then + storage.mod_settings.garden_pole_connectors = BioInd.get_garden_pole_connectors() + else + storage.mod_settings.garden_pole_connectors = nil + end + + -- Global table for storing the data of compound entities. They may change between + -- saves (e.g. Bio gardens only need hidden poles when the "Easy gardens" setting + -- is active). + storage.compound_entities = BioInd.rebuild_compound_entity_list() + + + -------------------------------------------------------------------- + -- Tree stuff! + -------------------------------------------------------------------- + storage.bi = storage.bi or {} + storage.bi.tree_growing = storage.bi.tree_growing or {} + for i = 1, 4 do + storage.bi["tree_growing_stage_" .. i] = storage.bi["tree_growing_stage_" .. i] or {} + end + + -- List of tree prototypes created by BI + storage.bi.trees = get_bi_trees() + + -- List of tile prototypes that can't be fertilized + storage.bi.barren_tiles = get_fixed_tiles() + + -------------------------------------------------------------------- + -- Compound entities + -------------------------------------------------------------------- + -- Check what global tables we need for compound entities + local compound_entity_tables = {} + for compound, compound_data in pairs(storage.compound_entities) do + -- BioInd.compound_entities contains entries that point to the same table + -- (e.g. straight/curved rails, or overlay entities), so we just overwrite + -- them to remove duplicates + compound_entity_tables[compound_data.tab] = compound + end + BioInd.show("Need to check these tables in global", compound_entity_tables) + + -- Prepare global tables storing data of compound entities + local result + for compound_tab, compound_name in pairs(compound_entity_tables) do + -- Init table + storage[compound_tab] = storage[compound_tab] or {} + BioInd.writeDebug("Initialized storage[%s] (%s entities stored)", + { compound_name, table_size(storage[compound_tab]) }) + -- If this compound entity requires additional tables in global, initialize + -- them now! + local related_tables = storage.compound_entities[compound_name].add_global_tables + if related_tables then + for t, tab in ipairs(related_tables or {}) do + storage[tab] = storage[tab] or {} + BioInd.writeDebug("Initialized storage[%s] (%s values)", { tab, table_size(storage[tab]) }) + end + end + -- If this compound entity requires additional values in global, initialize + -- them now! + local related_vars = storage.compound_entities[compound_name].add_global_values + if related_vars then + for var_name, value in pairs(related_vars or {}) do + storage[var_name] = storage[var_name] or value + BioInd.writeDebug("Set storage[%s] to %s", { var_name, storage[var_name] }) + end + end + + -- Clean up global tables (We can skip this for empty tables!) + if next(storage[compound_tab]) then + -- Remove invalid entities + result = BioInd.clean_global_compounds_table(compound_name) + BioInd.writeDebug("Removed %s invalid entries from storage[%s]!", + { result, compound_tab }) + -- Restore missing hidden entities + result = BioInd.restore_missing_entities(compound_name) + BioInd.writeDebug("Checked %s compound entities and restored %s missing hidden entries for storage[\"%s\"]!", + { result.checked, result.restored, compound_tab }) + end + end + -- Search all surfaces for unregistered compound entities + result = BioInd.find_unregistered_entities() + BioInd.writeDebug("Registered %s forgotten entities!", { result }) + + + + -------------------------------------------------------------------- + -- Musk floor + -------------------------------------------------------------------- + storage.bi_musk_floor_table = storage.bi_musk_floor_table or {} + storage.bi_musk_floor_table.tiles = storage.bi_musk_floor_table.tiles or {} + storage.bi_musk_floor_table.forces = storage.bi_musk_floor_table.forces or {} + + + + -------------------------------------------------------------------- + -- Arboretum + -------------------------------------------------------------------- + -- Global table for arboretum radars + storage.bi_arboretum_radar_table = storage.bi_arboretum_radar_table or {} + + -- Global table of ingredients for terraformer recipes + storage.bi_arboretum_recipe_table = get_arboretum_recipes() + + + -------------------------------------------------------------------- + -- Compatibility with other mods + -------------------------------------------------------------------- + storage.compatible = storage.compatible or {} + storage.compatible.AlienBiomes = BioInd.AB_tiles() + + + -- enable researched recipes + for i, force in pairs(game.forces) do + BioInd.writeDebug("Reset technology effects for force %s.", { force.name }) + force.reset_technology_effects() + end + + -- Create dummy force for musk floor if electric grid overlay should NOT be shown in map view + if BioInd.UseMuskForce and not game.forces[BioInd.MuskForceName] then + Create_dummy_force() + end +end + + +-------------------------------------------------------------------- +local function On_Load() + log("Entered On_Load!") +end + + +-------------------------------------------------------------------- +local function On_Config_Change(ConfigurationChangedData) + BioInd.writeDebug("On Configuration changed: %s", { ConfigurationChangedData }) + + + -- Re-initialize global tables etc. + init() + + -- Has setting BI_Show_musk_floor_in_mapview changed? + if ConfigurationChangedData.mod_startup_settings_changed then + settings_changed.musk_floor() + -- Has this been obsoleted by the new init process? Turn it off for now! + end + + -- We've made a list of the tree prototypes that are currently available. Now we + -- need to make sure that the lists of growing trees don't contain removed tree + -- prototypes! (This fix is needed when "Alien Biomes" has been removed; it should + -- work with all other mods that create trees as well.) + local trees = storage.bi.trees + local tab + -- Growing stages + for i = 1, 4 do + tab = storage.bi["tree_growing_stage_" .. i] + BioInd.writeDebug("Number of trees in growing stage %s: %s", { i, table_size(tab) }) + for t = #tab, 1, -1 do + if not trees[tab[t].tree_name] then + BioInd.writeDebug("Removing invalid tree %s (%s)", { t, tab[t].tree_name }) + table.remove(tab, t) + end + end + + -- Removing trees will create gaps in the table, but we need it as a continuous + -- list. (Trees need to be sorted by growing time, and we always look at the + -- tree with index 1 when checking if a tree has completed the growing stage, so + -- lets sort the table after all invalid trees have been removed!) + table.sort(tab, function(a, b) return a.time < b.time end) + BioInd.show("Number of trees in final list", #tab) + end +end + + +-------------------------------------------------------------------- +--- Used for some compatibility with Angels Mods +Event.register(defines.events.on_player_joined_game, function(event) + local player = game.players[event.player_index] + local force = player.force + local techs = force.technologies + + if BioInd.get_startup_setting("angels-use-angels-barreling") then + techs['fluid-handling'].researched = false + techs['bi-tech-fertilizer'].reload() + local _t = techs['angels-fluid-barreling'].researched + techs['angels-fluid-barreling'].researched = false + techs['angels-fluid-barreling'].researched = _t + end +end) + + +--------------------------------------------- +Event.register(defines.events.on_trigger_created_entity, function(event) + --- Used for Seed-bomb + local ent = event.entity + local surface = ent.surface + local position = ent.position + + -- 'AlienBiomes' is a bool value -- we don't want to read it again if it's false, + -- but only if it hasn't been set yet! + AlienBiomes = AlienBiomes ~= nil and AlienBiomes or BioInd.AB_tiles() + + -- Basic + if ent.name == "seedling" then + BioInd.writeDebug("Seed Bomb Activated - Basic") + seed_planted_trigger(event) + + -- Standard + elseif ent.name == "seedling-2" then + BioInd.writeDebug("Seed Bomb Activated - Standard") + local currTile = surface.get_tile(position).name + if storage.bi.barren_tiles[currTile] then + BioInd.writeDebug("Can't fertilize %s!", { currTile }) + else + BioInd.writeDebug("Using fertilizer!") + local terrain_name_s = AlienBiomes and "vegetation-green-grass-3" or "grass-3" + surface.set_tiles { { name = terrain_name_s, position = position } } + end + seed_planted_trigger(event) + + -- Advanced + elseif ent.name == "seedling-3" then + BioInd.writeDebug("Seed Bomb Activated - Advanced") + local currTile = surface.get_tile(position).name + if storage.bi.barren_tiles[currTile] then + BioInd.writeDebug("Can't fertilize %s!", { currTile }) + else + BioInd.writeDebug("Using fertilizer!") + local terrain_name_a = AlienBiomes and "vegetation-green-grass-1" or "grass-1" + surface.set_tiles { { name = terrain_name_a, position = position } } + end + seed_planted_trigger(event) + end +end) + +-------------------------------------------------------------------- +local function On_Built(event) + BioInd.writeDebug("Entered function On_Built with these data: " .. serpent.block(event)) + local entity = event.created_entity or event.entity + if not (entity and entity.valid) then + BioInd.arg_err(entity or "nil", "entity") + end + + local surface = BioInd.is_surface(entity.surface) or + BioInd.arg_err(entity.surface or "nil", "surface") + local position = BioInd.normalize_position(entity.position) or + BioInd.arg_err(entity.position or "nil", "position") + local force = entity.force + + + -- We can ignore ghosts -- if ghosts are revived, there will be + -- another event that triggers where actual entities are placed! + if entity.name == "entity-ghost" then + BioInd.writeDebug("Built ghost of %s -- return!", { entity.ghost_name }) + return + end + + BioInd.show("Built entity", BioInd.print_name_id(entity)) + + local base_entry = storage.compound_entities[entity.name] + local base = base_entry and entity + + -- We've found a compound entity! + if base then + -- Make sure we work with a copy of the original table! We don't want to + -- remove anything from it for real. + local hidden_entities = util.table.deepcopy(base_entry.hidden) + + BioInd.writeDebug("%s (%s) is a compound entity. Need to create %s", + { base.name, base.unit_number, hidden_entities }) + BioInd.show("hidden_entities", hidden_entities) + local new_base + local new_base_name = base_entry.new_base_name + -- If the base entity is only an overlay, we'll replace it with the real base + -- entity and raise an event. The hidden entities will be created in the second + -- pass (triggered by building the final entity). + BioInd.show("base_entry.new_base_name", base_entry.new_base_name) + BioInd.show("base_entry.new_base_name == base.name", base_entry.new_base_name == base.name) + BioInd.show("base_entry.optional", base_entry.optional) + if new_base_name and new_base_name ~= base.name then + new_base = surface.create_entity({ + name = new_base_name, + position = base.position, + direction = base.direction, + force = base.force, + raise_built = true + }) + new_base.health = base.health + BioInd.show("Created final base entity", BioInd.print_name_id(new_base)) + + base.destroy({ raise_destroy = true }) + base = new_base + BioInd.writeDebug("Destroyed old base entity!") + + -- Second pass: We've placed the final base entity now, so we can create the + -- the hidden entities! + else + BioInd.writeDebug("Second pass -- creating hidden entities!") + BioInd.show("base_entry", base_entry) + + BioInd.writeDebug("storage[%s]: %s", { base_entry.tab, storage[base_entry.tab] }) + BioInd.show("base.name", base.name) + BioInd.show("base.unit_number", base.unit_number) + BioInd.show("hidden_entities", hidden_entities) + + -- We must call create_entities even if there are no hidden entities (e.g. if + -- the "Easy Gardens" setting is disabled and no hidden poles are required) + -- because the compound entity gets registered there! + BioInd.create_entities(storage[base_entry.tab], base, hidden_entities) + BioInd.writeDebug("Stored %s in table: %s", + { BioInd.print_name_id(base), storage[base_entry.tab][base.unit_number] }) + end + + -- The built entity isn't one of our compound entities. + else + BioInd.writeDebug("%s is not a compound entity!", { BioInd.print_name_id(entity) }) + + -- If one of our hidden entities has been built, we'll have raised this event + -- ourselves and have passed on the base entity. + base = event.base_entity + + local entities = BioInd.compound_entities + BioInd.show("Base entity", BioInd.print_name_id(base)) + + -- The hidden entities are listed with a common handle ("pole", "panel" etc.). We + -- can get it from the reverse-lookup list via the entity type! + local h_key = BioInd.HE_map_reverse[entity.type] + BioInd.show("h_key", h_key or "nil") + + -- Arboretum radar -- we need to add it to the table! + if entity.type == "radar" and + entity.name == entities["bi-arboretum-area"].hidden[h_key].name and base then + storage.bi_arboretum_radar_table[entity.unit_number] = base.unit_number + entity.backer_name = "" + BioInd.writeDebug("Added %s to storage.bi_arboretum_radar_table", { BioInd.print_name_id(entity) }) + + -- Electric poles -- we need to take care that they don't hook up to hidden poles! + elseif entity.type == "electric-pole" then + local pole = entity + -- Make sure hidden poles of the Bio gardens are connected correctly! + local garden_names = { "bi-bio-garden", "bi-bio-garden-larger", "bi-bio-garden-huge" } + for _, gname in ipairs(garden_names) do + if entities[gname] and pole.name == entities[gname].hidden[h_key].name and base then + BioInd.writeDebug("Bio garden (" .. gname .. ")!") + BioInd.connect_garden_pole(base, pole) + BioInd.writeDebug("Connected %s (%s)", { pole.name, pole.unit_number or "nil" }) + break + end + end + + -- A seedling has been planted + elseif entity.name == "seedling" then + seed_planted(event) + BioInd.writeDebug("Planted seedling!") + + -- Something else has been built + else + BioInd.writeDebug("Nothing to do for %s!", { entity.name }) + end + end + BioInd.writeDebug("End of function On_Built") +end + + +local function remove_plants(entity_position, tabl) + BioInd.writeDebug("Entered function remove_plants(%s, %s)", { entity_position or "nil", tabl or "nil" }) + local e = BioInd.normalize_position(entity_position) + if not e then + BioInd.arg_err(entity_position or "nil", "position") + end + BioInd.check_args(tabl, "table") + + local pos + + for k, v in pairs(tabl or {}) do + pos = BioInd.normalize_position(v.position) + if pos and pos.x == e.x and pos.y == e.y then + BioInd.writeDebug("Removing entry %s from table: %s", { k, v }) + table.remove(tabl, k) + break + end + end +end + + +-------------------------------------------------------------------- +local function On_Pre_Remove(event) + BioInd.writeDebug("Entered function On_Pre_Remove(%s)", { event }) + local entity = event.entity + + if not (entity and entity.valid) then + BioInd.writeDebug("No valid entity -- nothing to do!") + return + end + + local compound_entity = storage.compound_entities[entity.name] + local base_entry = compound_entity and storage[compound_entity.tab][entity.unit_number] + BioInd.show("entity.name", entity.name) + BioInd.show("entity.unit_number", entity.unit_number) + + BioInd.show("compound_entity", compound_entity) + BioInd.show("base_entry", base_entry) + BioInd.show("compound_entity.tab", compound_entity and compound_entity.tab or "nil") + BioInd.writeDebug("storage[%s]: %s", + { compound_entity and compound_entity.tab or "nil", compound_entity and storage[compound_entity.tab] or "nil" }) + + -- Found a compound entity from our list! + if base_entry then + BioInd.writeDebug("Found compound entity %s", + { base_entry.base and BioInd.print_name_id(base_entry.base) }) + + -- Arboretum: Need to separately remove the entry from the radar table + if entity.name == "bi-arboretum" and base_entry.radar and base_entry.radar.valid then + storage.bi_arboretum_radar_table[base_entry.radar.unit_number] = nil + BioInd.show("Removed arboretum radar! Table", storage.bi_arboretum_radar_table) + end + + -- Power rails: Connections must be explicitely removed, otherwise the poles + -- from the remaining rails will automatically connect and bridge the gap in + -- the power supply! + if entity.name:match("bi%-%a+%-rail%-power") and base_entry.pole and base_entry.pole.valid then + BioInd.writeDebug("Before") + BioInd.writeDebug("Disconnecting %s!", { BioInd.print_name_id(base_entry.pole) }) + base_entry.pole.disconnect_neighbour() + BioInd.writeDebug("After") + end + + -- Default: Remove all hidden entities! + for hidden, h_name in pairs(compound_entity.hidden or {}) do + BioInd.show("hidden", hidden) + + BioInd.writeDebug("Removing hidden entity %s", { BioInd.print_name_id(base_entry[hidden]) }) + BioInd.remove_entity(base_entry[hidden]) + base_entry[hidden] = nil + end + storage[compound_entity.tab][entity.unit_number] = nil + + -- Rail-to-power: Connections must be explicitely removed, otherwise the poles + -- from the different rail tracks hooked up to this connector will automatically + -- keep the separate power networks connected! + elseif entity.name == "bi-power-to-rail-pole" then + BioInd.writeDebug("Rail-to-power connector has been removed") + entity.disconnect_neighbour() + BioInd.writeDebug("Removed copper wires from %s (%g)", { entity.name, entity.unit_number }) + + -- Removed seedling + elseif entity.name == "seedling" then + BioInd.writeDebug("Seedling has been removed") + remove_plants(entity.position, storage.bi.tree_growing) + + -- Removed tree + elseif entity.type == "tree" and storage.bi.trees[entity.name] then + BioInd.show("Removed tree", entity.name) + + local tree_stage = entity.name:match('^.+%-(%d)$') + BioInd.writeDebug("Removed tree %s (grow stage: %s)", { entity.name, tree_stage or nil }) + if tree_stage then + remove_plants(entity.position, storage.bi["tree_growing_stage_" .. tree_stage]) + else + error(string.format("Tree %s does not have a valid tree_stage: %s", entity.name, tree_stage or "nil")) + end + + -- Removed something else + else + BioInd.writeDebug("%s has been removed -- nothing to do!", { entity.name }) + end +end + + +-------------------------------------------------------------------- +local function On_Damage(event) + local f_name = "On_Damage" + BioInd.writeDebug("Entered function %s(%s)", { f_name, event }) + local entity = event.entity + local final_health = event.final_health + + local arb = "bi-arboretum" + local associated + + -- Base was damaged: Find the radar associated with it! + if entity.name == arb then + associated = storage.bi_arboretum_table[entity.unit_number].radar + -- Radar was damaged: Find the base entity! + elseif entity.name == storage.compound_entities[arb].hidden.radar.name then + local base_id = storage.bi_arboretum_radar_table[entity.unit_number] + associated = storage.bi_arboretum_table[base_id].base + end + + if associated and associated.valid then + associated.health = final_health + BioInd.writeDebug("%s was damaged (%s). Reducing health of %s to %s!", { + BioInd.print_name_id(entity), + event.final_damage_amount, + entity.name == arb and "associated radar" or "base", + associated.health + }) + end +end + +-------------------------------------------------------------------- +local function On_Death(event) + local f_name = "On_Death" + BioInd.writeDebug("Entered function %s(%s)", { f_name, event }) + + local entity = event.entity + if not entity then + error("Something went wrong -- no entity data!") + end + + if + -- Table checks + storage.compound_entities[entity.name] or + storage.bi.trees[entity.name] or + -- Entity checks + entity.name == storage.compound_entities["bi-arboretum"].hidden.radar.name or + entity.name == "bi-power-to-rail-pole" or + entity.name == "seedling" then + BioInd.writeDebug("Divert to On_Pre_Remove!") + On_Pre_Remove(event) + else + BioInd.writeDebug("Nothing to do!") + end +end + + +-------------------------------------------------------------------- +-- Radar stuff +-------------------------------------------------------------------- + +-- Robust sector scanned handler for Arboretum radar +local function On_Sector_Scanned(event) + -- defensive checks + BioInd.writeDebug("On_Sector_Scanned fired") + --game.print("On_Sector_Scanned fired") + if not (event and event.radar) then return end + local radar = event.radar + if not (radar.valid and radar.unit_number) then return end + + -- Make sure compound-entity data is available before accessing it + local arb_proto = BioInd.compound_entities and BioInd.compound_entities["bi-arboretum"] + if not (arb_proto and arb_proto.hidden and arb_proto.hidden.radar and arb_proto.hidden.radar.name) then + -- not ready yet (init not finished) — bail out safely + return + end + + -- Only handle scans from our arboretum radar type + if radar.name ~= arb_proto.hidden.radar.name then return end + + -- Look up the base arboretum unit_number (stored when the hidden radar was created) + local base_unit_number = storage.bi_arboretum_radar_table and storage.bi_arboretum_radar_table[radar.unit_number] + if not base_unit_number then + -- no mapping found -> nothing to do + return + end + + local arb_table = storage.bi_arboretum_table and storage.bi_arboretum_table[base_unit_number] + if not arb_table then return end + + -- All good: call the arboretum recipe handler + Get_Arboretum_Recipe(arb_table, event) +end + + +-------------------------------------------------------------------- +-- Solar Mat stuff +-------------------------------------------------------------------- + +-------------------------------------------------------------------- +-- Solar mat was removed +local function solar_mat_removed(event) + BioInd.writeDebug("Entered solar_mat_removed (\"%s\")", { event }) + + local surface = game.surfaces[event.surface_index] + local tiles = event.tiles + + local pos, x, y + -- tiles contains an array of the old tiles and their position + for t, tile in pairs(tiles) do + if tile.old_tile and tile.old_tile.name == "bi-solar-mat" then + pos = BioInd.normalize_position(tile.position) + x, y = pos.x, pos.y + + BioInd.writeDebug("Looking for hidden entities to remove") + for _, o in pairs(surface.find_entities_filtered { + name = { 'bi-musk-mat-hidden-pole', 'bi-musk-mat-hidden-panel' }, + position = { x + 0.5, y + 0.5 } + } or {}) do + BioInd.show("Removing", o.name) + o.destroy() + end + + -- Remove tile from global tables + local force_name = storage.bi_musk_floor_table.tiles and + storage.bi_musk_floor_table.tiles[x] and + storage.bi_musk_floor_table.tiles[x][y] + if force_name then + BioInd.writeDebug("Removing Musk floor tile from tables!") + storage.bi_musk_floor_table.tiles[x][y] = nil + if not next(storage.bi_musk_floor_table.tiles[x]) then + storage.bi_musk_floor_table.tiles[x] = nil + end + + if storage.bi_musk_floor_table.forces[force_name] and + storage.bi_musk_floor_table.forces[force_name][x] then + storage.bi_musk_floor_table.forces[force_name][x][y] = nil + if not next(storage.bi_musk_floor_table.forces[force_name][x]) then + storage.bi_musk_floor_table.forces[force_name][x] = nil + end + end + end + end + end + + BioInd.writeDebug("bi-solar-mat: removed %g tiles", { table_size(tiles) }) +end + + +-------------------------------------------------------------------- +-- A solar mat must be placed +local function place_musk_floor(force, position, surface) + BioInd.check_args(force, "string") + position = BioInd.normalize_position(position) or BioInd.arg_err(position, "position") + surface = BioInd.is_surface(surface) or BioInd.arg_err(surface, "surface") + + local x, y = position.x, position.y + local created + for n, name in ipairs({ "bi-musk-mat-hidden-pole", "bi-musk-mat-hidden-panel" }) do + created = surface.create_entity({ name = name, position = { x + 0.5, y + 0.5 }, force = force }) + created.minable = false + created.destructible = false + BioInd.writeDebug("Created %s: %s", { name, created.unit_number }) + end + + -- Add to global tables! + storage.bi_musk_floor_table.tiles[x] = storage.bi_musk_floor_table.tiles[x] or {} + storage.bi_musk_floor_table.tiles[x][y] = force + + storage.bi_musk_floor_table.forces[force] = storage.bi_musk_floor_table.forces[force] or {} + storage.bi_musk_floor_table.forces[force][x] = storage.bi_musk_floor_table.forces[force][x] or {} + storage.bi_musk_floor_table.forces[force][x][y] = true +end + +-------------------------------------------------------------------- +-- Solar mat was built +local function solar_mat_built(event) + BioInd.show("Entered function \"solar_mat_built\"", event) + -- Called from player, bot and script-raised events, so event may + -- contain "robot" or "player_index" + + local tile = event.tile + local surface = game.surfaces[event.surface_index] + local player = event.player_index and game.players[event.player_index] + local robot = event.robot + local force = (BioInd.UseMuskForce and BioInd.MuskForceName) or + (event.player_index and game.players[event.player_index].force.name) or + (event.robot and event.robot.force.name) or + event.force.name + BioInd.show("Force.name", force) + + -- Item that was used to place the tile + local item = event.item + local old_tiles = event.tiles + + + local position --, x, y + + + -- Musk floor has been built -- create hidden entities! + if tile.name == "bi-solar-mat" then + BioInd.writeDebug("Solar Mat has been built -- must create hidden entities!") + BioInd.show("Tile data", tile) + + for index, t in pairs(old_tiles or { tile }) do + BioInd.show("Read old_tile inside loop", t) + -- event.tiles will also contain landscape tiles like "grass-1", and it will always + -- contain at least one tile + position = BioInd.normalize_position(t.position) + -- If we got here by a call from script_raised_built, force may be stored + -- with the tile + force = force or t.force + BioInd.show("Got force from tile data", t.force or "false") + BioInd.writeDebug("Building solar mat for force %s at position %s", + { tostring(type(force) == "table" and force.name or force), position }) + + place_musk_floor(force, position, surface) + end + + -- Fertilizer/Advanced fertilizer has been used. Check if the tile was valid + -- (no Musk floor, no wooden floor, no concrete etc.) + elseif item and (item.name == "fertilizer" or item.name == "bi-adv-fertilizer") then + local restore_tiles = {} + local products, remove_this + + for index, t in pairs(old_tiles or { tile }) do + BioInd.show("index", index) + BioInd.show("t.old_tile.name", t.old_tile.name) + + -- We want to restore removed tiles if nothing is supposed to grow on them! + if storage.bi.barren_tiles[t.old_tile.name] then + BioInd.writeDebug("%s was used on forbidden ground (%s)!", { item.name, t.old_tile.name }) + restore_tiles[#restore_tiles + 1] = { name = t.old_tile.name, position = t.position } + + -- Is that tile minable? + products = storage.bi.barren_tiles[t.old_tile.name] + if type(products) == "table" then + for p, product in ipairs(products) do + remove_this = { name = product.name, count = product.amount } + if player then + BioInd.writeDebug("Removing %s (%s) from player %s", + { product.name, product.amount, player.name }) + player.remove_item(remove_this) + elseif robot then + BioInd.writeDebug("Removing %s (%s) from robot %s", + { product.name, product.amount, robot.unit_number }) + robot.remove_item(remove_this) + end + end + end + end + end + BioInd.show("restore_tiles", restore_tiles) + if restore_tiles then + surface.set_tiles( + restore_tiles, + true, -- correct_tiles + true, -- remove_colliding_entities + true, -- remove_colliding_decoratives + true -- raise_event + ) + end + + -- Some other tile has been built -- check if it replaced musk floor! + else + local test + local removed_tiles = {} + for index, t in pairs(old_tiles or { tile }) do + position = BioInd.normalize_position(t.position) + test = storage.bi_musk_floor_table and + storage.bi_musk_floor_table.tiles and + storage.bi_musk_floor_table.tiles[position.x] and + storage.bi_musk_floor_table.tiles[position.x][position.y] + if test then + removed_tiles[#removed_tiles + 1] = { + old_tile = { name = "bi-solar-mat" }, + position = position + } + end + end + if next(removed_tiles) then + solar_mat_removed({ surface_index = event.surface_index, tiles = removed_tiles }) + else + BioInd.writeDebug("%s has been built -- nothing to do!", { tile.name }) + end + end +end + + +-------------------------------------------------------------------- +-- A tille has been changed +local function Tile_Changed(event) + local f_name = "Tile_Changed" + BioInd.writeDebug("Entered function %s(%s)", { f_name, event }) + + -- The event gives us only a list of the new tiles that have been placed. + -- So let's check if any Musk floor has been built! + local new_musk_floor_tiles = {} + local old_musk_floor_tiles = {} + local remove_musk_floor_tiles = {} + local pos, old_tile, force + + local tile_force + + for t, tile in ipairs(event.tiles) do + BioInd.show("t", t) + pos = BioInd.normalize_position(tile.position) + tile_force = storage.bi_musk_floor_table.tiles[pos.x] and + storage.bi_musk_floor_table.tiles[pos.x][pos.y] + BioInd.show("Placed tile", tile.name) + + -- Musk floor was placed + if tile.name == "bi-solar-mat" then + BioInd.writeDebug("Musk floor tile was placed!") + new_musk_floor_tiles[#new_musk_floor_tiles + 1] = { + old_tile = { name = tile.name }, + position = pos, + force = tile_force or + BioInd.UseMuskForce and BioInd.MuskForceName or + "neutral" + } + -- Other tile was placed -- by one of our fertilizers? + elseif tile.name:match("^vegetation%-green%-grass%-[13]$") or + tile.name:match("^green%-grass%-[13]$") then + BioInd.writeDebug("Fertilizer was used!") + + -- Fertilizer was used on a Musk floor tile -- restore the tile! + BioInd.show("Musk floor tile in position", tile_force) + if tile_force then + old_musk_floor_tiles[#old_musk_floor_tiles + 1] = { + old_tile = { name = "bi-solar-mat" }, + position = pos, + force = tile_force + } + end + -- Other tile was placed on a Musk floor tile -- remove Musk floor from lists! + elseif tile_force then + remove_musk_floor_tiles[#remove_musk_floor_tiles + 1] = { + old_tile = { name = "bi-solar-mat" }, + position = pos, + } + end + end + BioInd.show("new_musk_floor_tiles", new_musk_floor_tiles) + BioInd.show("old_musk_floor_tiles", old_musk_floor_tiles) + BioInd.show("remove_musk_floor_tiles", remove_musk_floor_tiles) + + if next(new_musk_floor_tiles) then + solar_mat_built({ + surface_index = event.surface_index, + tile = { name = "bi-solar-mat" }, + force = BioInd.MuskForceName, + tiles = new_musk_floor_tiles + }) + end + if next(old_musk_floor_tiles) then + solar_mat_built({ + surface_index = event.surface_index, + tile = { name = "bi-solar-mat" }, + tiles = old_musk_floor_tiles + }) + end + if next(remove_musk_floor_tiles) then + solar_mat_removed({ surface_index = event.surface_index, tiles = remove_musk_floor_tiles }) + end + BioInd.show("End of function", f_name) +end + + +-------------------------------------------------------------------- + + +Event.register(Event.core_events.configuration_changed, On_Config_Change) +Event.register(Event.core_events.init, init) +Event.register(Event.core_events.load, On_Load) + + +Event.build_events = { + defines.events.on_built_entity, + defines.events.on_robot_built_entity, + defines.events.script_raised_built, + defines.events.script_raised_revive +} +Event.pre_remove_events = { + defines.events.on_pre_player_mined_item, + defines.events.on_robot_pre_mined, + defines.events.on_player_mined_entity, + defines.events.on_robot_mined_entity, +} +Event.death_events = { + defines.events.on_entity_died, + defines.events.script_raised_destroy +} +Event.tile_build_events = { + defines.events.on_player_built_tile, + defines.events.on_robot_built_tile +} +Event.tile_remove_events = { + defines.events.on_player_mined_tile, + defines.events.on_robot_mined_tile +} +Event.tile_script_action = { + defines.events.script_raised_set_tiles +} + +Event.register(Event.build_events, On_Built) +Event.register(Event.pre_remove_events, On_Pre_Remove) +Event.register(Event.death_events, On_Death) +Event.register(Event.tile_build_events, solar_mat_built) +Event.register(Event.tile_remove_events, solar_mat_removed) + + +Event.register(defines.events.on_entity_damaged, On_Damage, function(event) + -- A function is needed for event filtering with stdlib! + local entity = event.entity + + -- Ignore damage without effect (invulnerable/resistant entities) + if event.final_damage_amount ~= 0 and + -- Terraformer/Terraformer radar was damaged + (storage.bi_arboretum_table[entity.unit_number] or + storage.bi_arboretum_radar_table[entity.unit_number]) then + return true + end +end) + +-- Radar scan +Event.register(defines.events.on_sector_scanned, On_Sector_Scanned, function(event) + -- A function is needed for event filtering with stdlib! + if event.radar.name == BioInd.compound_entities["bi-arboretum"].hidden.radar.name then + return true + end +end) + +-- Tile changed +Event.register(Event.tile_script_action, Tile_Changed) + + +------------------------------------------------------------------------------------ +-- FIND LOCAL VARIABLES THAT ARE USED GLOBALLY -- +-- (Thanks to eradicator!) -- +------------------------------------------------------------------------------------ +setmetatable(_ENV, { + __newindex = function(self, key, value) --locked_global_write + error('\n\n[ER Global Lock] Forbidden global *write*:\n' + .. serpent.line { key = key or '', value = value or '' } .. '\n') + end, + __index = function(self, key) --locked_global_read + if not (key == "game" or key == "mods" or key == "storage") then + error('\n\n[ER Global Lock] Forbidden global *read*:\n' + .. serpent.line { key = key or '' } .. '\n') + end + end +}) diff --git a/Bio_Industries_2/control_arboretum.lua b/Bio_Industries_2/control_arboretum.lua index eeab587..570d71d 100644 --- a/Bio_Industries_2/control_arboretum.lua +++ b/Bio_Industries_2/control_arboretum.lua @@ -1,261 +1,302 @@ - -BioInd.writeDebug("Entered control_arboretum.lua") - ----Arboretum Stuff - -local Event = require('__kry_stdlib__/stdlib/event/event').set_protected_mode(false) - --- If a recipe with NORMAL FERTILIZER is used, don't fertilize tiles set have "true" --- set! (Fertile tiles set to true in this table can't be made more fertile with --- normal fertilizer, and nothing should grow on the other tiles.) -local Terrain_Check_1 = { - ["grass-1"] = true, -- Fertility: 100% - ["grass-3"] = true, -- Fertility: 85% - ["vegetation-green-grass-1"] = true, -- Fertility: 100% - ["vegetation-green-grass-3"] = true, -- Fertility: 85% -} - --- If a recipe with ADVANCED FERTILIZER is used, don't fertilize tiles set have "true" set! --- (Fertile tiles in this table can't be made more fertile, and nothing should grow on the --- the others tiles!) -local Terrain_Check_2 = { - ["grass-1"] = true, -- Fertility: 100% - ["vegetation-green-grass-1"] = true, -- Fertility: 100% -} - -local plant_radius = 75 - --- Different tiles are used if AlienBiomes is active -local AB, terrain_name_g1, terrain_name_g3 - --- OmniFluid replaces all fluids with items, so the arboretum won't have a fluidbox! - - -local function get_new_position(pos) - pos = BioInd.normalize_position(pos) or BioInd.arg_err("nil", position) - local xxx = math.random(-plant_radius, plant_radius) - local yyy = math.random(-plant_radius, plant_radius) - - return {x = pos.x + xxx, y = pos.y + yyy} -end - - --- Check that all ingredients are available! -local function check_ingredients(arboretum) - local recipe = arboretum.get_recipe() - local need = recipe and storage.bi_arboretum_recipe_table[recipe.name] - - local function check(need, have) - for name, amount in pairs(need or {}) do - if not (have and have[name]) or (have[name] < amount) then - BioInd.writeDebug("Missing ingredient %s (have %s of %s)", {name, have[name] or 0, amount}) - return false - end - end - return true - end - - local inventory = arboretum.get_inventory(defines.inventory.assembling_machine_input) - return need and - check(need.items, inventory and inventory.get_contents()) and - check(need.fluids, arboretum.get_fluid_contents()) and - {ingredients = need, name = recipe.name} or nil -end - - -local function consume_ingredients(arboretum, need) - local inventory = arboretum.get_inventory(defines.inventory.assembling_machine_input) - for item, i in pairs(need.items or {}) do - inventory.remove({name = item, count = i}) -BioInd.writeDebug("Removed %s (%s)", {item, i}) - end -BioInd.show("Inventory", inventory.get_contents() or "nil") - - for fluid, f in pairs(need.fluids or {}) do - arboretum.remove_fluid({name = fluid, amount = f}) -BioInd.writeDebug("Removed %s (%s)", {fluid, f}) - end -BioInd.show("Fluid contents", arboretum.get_fluid_contents() or "nil") -end - - -local function set_tile(current, target, surface, position) - if current ~= target then - surface.set_tiles( - {{name = target, position = position}}, - true, -- correct_tiles - true, -- remove_colliding_entities - true, -- remove_colliding_decoratives - true -- raise_event - ) - end -end - -function Get_Arboretum_Recipe(ArboretumTable, event) - BioInd.writeDebug("Entered function Get_Arboretum_Recipe(%s, %s)", {ArboretumTable, event}) - if not ArboretumTable then - BioInd.writeDebug("%s is not a valid ArboretumTable. Leaving immediately!") - return - end - - local arboretum = ArboretumTable.base - local new_position, currentTilename - local pos, surface, Inventory, stack - - -- 'AlienBiomes' is a bool value -- we don't want to read it again if it's false, - -- but only if it hasn't been set yet! - AB = storage.compatible.AlienBiomes - terrain_name_g1 = terrain_name_g1 or (AB and "vegetation-green-grass-1" or "grass-1") - terrain_name_g3 = terrain_name_g3 or (AB and "vegetation-green-grass-3" or "grass-3") - - - local check = check_ingredients(arboretum) - local ingredients, recipe_name - if check then - ingredients, recipe_name = check.ingredients, check.name - end - - if ingredients then - local create_seedling, new_plant - pos = BioInd.normalize_position(arboretum.position) or - BioInd.arg_err("nil", "position") - surface = arboretum.surface - - -- Just plant a tree and hope the ground is fertile! - if recipe_name == "bi-arboretum-r1" then - BioInd.writeDebug(tostring(recipe_name) .. ": Just plant a tree") - - --- 10 attempts to find a random spot to plant a tree and/or change terrain - for k = 1, 10 do - new_position = get_new_position(pos) - new_plant = { - name= "seedling", - position = new_position, - force = "neutral" - } - - if surface.can_place_entity(new_plant) then - consume_ingredients(arboretum, ingredients) - create_seedling = surface.create_entity(new_plant) - seed_planted_arboretum(event, create_seedling) - --- After sucessfully planting a tree, break out of the loop. - break - else - BioInd.writeDebug("Can't plant here (attempt %s)", k) - end - end - -- Fertilize the ground with normal fertilizer. Ignore tiles listed in Terrain_Check_1! - elseif recipe_name == "bi-arboretum-r2" then - BioInd.writeDebug(tostring(recipe_name) .. ": Just change terrain to grass-3 (basic)") - - for k = 1, 10 do --- 10 attempts to find a random spot to plant a tree and / or change terrain - new_position = get_new_position(pos) - currentTilename = surface.get_tile(new_position.x, new_position.y).name - - -- We need to fertilize the ground! - if Bi_Industries.fertility[currentTilename] and not Terrain_Check_1[currentTilename] then - consume_ingredients(arboretum, ingredients) - BioInd.writeDebug("%s: Changing terrain from %s to %s (%s)", - {k, currentTilename or "unknown tile", - terrain_name_g3, serpent.line(new_position)}) - set_tile(currentTilename, terrain_name_g3, surface, new_position) - --- After sucessfully changing the terrain, break out of the loop. - break - else - BioInd.writeDebug("%s: Can't change terrain (%s)", - {k, currentTilename or "unknown tile"}) - end - end - -- Fertilize the ground with advanced fertilizer. Ignore tiles listed in Terrain_Check_2! - elseif recipe_name == "bi-arboretum-r3" then - BioInd.writeDebug(tostring(recipe_name) .. ": Just change terrain to grass-1 (advanced)") - - for k = 1, 10 do --- 10 attempts to find a random spot to plant a tree and / or change terrain - new_position = get_new_position(pos) - currentTilename = surface.get_tile(new_position.x, new_position.y).name - - if Bi_Industries.fertility[currentTilename] and currentTilename ~= terrain_name_g1 then - consume_ingredients(arboretum, ingredients) - BioInd.writeDebug("%s: Changing terrain from %s to %s (%s)", - {k, currentTilename or "unknown tile", - terrain_name_g1, serpent.line(new_position)}) - set_tile(currentTilename, terrain_name_g1, surface, new_position) - --- After sucessfully changing the terrain, break out of the loop. - break - else - BioInd.writeDebug("%s: Can't change terrain (%s)", - {k, currentTilename or "unknown tile"}) - end - end - -- Fertilize the ground with normal fertilizer. Ignore tiles listed in Terrain_Check_1! - -- Also plant a tree. - elseif recipe_name == "bi-arboretum-r4" then - BioInd.writeDebug(tostring(recipe_name) .. ": Plant Tree AND change the terrain to grass-3 (basic)") - - for k = 1, 10 do --- 10 attempts to find a random spot to plant a tree and / or change terrain - new_position = get_new_position(pos) - currentTilename = surface.get_tile(new_position.x, new_position.y).name - new_plant = { - name= "seedling", - position = new_position, - force = "neutral" - } - - -- Test to see if we can plant - if surface.can_place_entity(new_plant) and Bi_Industries.fertility[currentTilename] then - consume_ingredients(arboretum, ingredients) - -- Refund fertilizer -- no need to waste it on fertile ground! - if Terrain_Check_1[currentTilename] then - arboretum.insert({name = "fertilizer", count = ingredients.items.fertilizer}) - BioInd.writeDebug("Refunded fertilizer!") - end - - set_tile(currentTilename, terrain_name_g3, surface, new_position) - create_seedling = surface.create_entity(new_plant) - seed_planted_arboretum(event, create_seedling) - --- After sucessfully planting a tree or changing the terrain, break out of the loop. - break - else - BioInd.writeDebug("%s: Can't change terrain and plant a tree (%s)", - {k, currentTilename or "unknown tile"}) - end - end - -- Fertilize the ground with advanced fertilizer. Ignore tiles listed in Terrain_Check_2! - -- Also plant a tree. - elseif recipe_name == "bi-arboretum-r5" then - BioInd.writeDebug(tostring(recipe_name) .. ": Plant Tree and change the terrain to grass-1 (advanced)") - - for k = 1, 10 do --- 10 attempts to find a random spot to plant a tree and / or change terrain - new_position = get_new_position(pos) - currentTilename = surface.get_tile(new_position.x, new_position.y).name - new_plant = { - name= "seedling", - position = new_position, - force = "neutral" - } - - if surface.can_place_entity(new_plant) and Bi_Industries.fertility[currentTilename] then - consume_ingredients(arboretum, ingredients) - -- Refund fertilizer -- no need to waste it on fertile ground! - if Terrain_Check_2[currentTilename] then - arboretum.insert({ - name = "bi-adv-fertilizer", count = ingredients.items["bi-adv-fertilizer"] - }) - BioInd.writeDebug("Refunded advanced fertilizer!") - end - - set_tile(currentTilename, terrain_name_g1, surface, new_position) - create_seedling = surface.create_entity(new_plant) - seed_planted_arboretum (event, create_seedling) - --- After sucessfully planting a tree or changing the terrain, break out of the loop. - break - else - BioInd.writeDebug("%s: Can't change terrain and plant a tree (%s)", - {k, currentTilename or "unknown tile"}) - end - end - else - BioInd.writeDebug("Terraformer has no recipe!") - end - end -end +BioInd.writeDebug("Entered control_arboretum.lua") + +---Arboretum Stuff + +local Event = require('__kry_stdlib__/stdlib/event/event').set_protected_mode(false) + +-- If a recipe with NORMAL FERTILIZER is used, don't fertilize tiles set have "true" +-- set! (Fertile tiles set to true in this table can't be made more fertile with +-- normal fertilizer, and nothing should grow on the other tiles.) +local Terrain_Check_1 = { + ["grass-1"] = true, -- Fertility: 100% + ["grass-3"] = true, -- Fertility: 85% + ["vegetation-green-grass-1"] = true, -- Fertility: 100% + ["vegetation-green-grass-3"] = true, -- Fertility: 85% +} + +-- If a recipe with ADVANCED FERTILIZER is used, don't fertilize tiles set have "true" set! +-- (Fertile tiles in this table can't be made more fertile, and nothing should grow on the +-- the others tiles!) +local Terrain_Check_2 = { + ["grass-1"] = true, -- Fertility: 100% + ["vegetation-green-grass-1"] = true, -- Fertility: 100% +} + +local plant_radius = 75 + +-- Different tiles are used if AlienBiomes is active +local AB, terrain_name_g1, terrain_name_g3 + +-- OmniFluid replaces all fluids with items, so the arboretum won't have a fluidbox! + + +local function get_new_position(pos) + pos = BioInd.normalize_position(pos) or BioInd.arg_err("nil", position) + local xxx = math.random(-plant_radius, plant_radius) + local yyy = math.random(-plant_radius, plant_radius) + + return { x = pos.x + xxx, y = pos.y + yyy } +end + + +-- Check that all ingredients are available! +local function check_ingredients(arboretum) + local recipe = arboretum.get_recipe() + if not recipe then + --game.print("No recipe set on arboretum") + return nil + end + --game.print("Recipe name: " .. recipe.name) + local need = storage.bi_arboretum_recipe_table[recipe.name] + if not need then + --game.print("No recipe data found for " .. recipe.name) + return nil + end + + local function check(need, have) + for name, amount in pairs(need or {}) do + if not (have and have[name]) or (have[name] < amount) then + --game.print("Missing ingredient " .. name .. " (have " .. (have[name] or 0) .. " of " .. amount .. ")") + return false + end + end + return true + end + + local inventory = arboretum.get_inventory(defines.inventory.assembling_machine_input) + local inv_contents_raw = inventory and inventory.get_contents() or {} + + -- Check if inv_contents_raw is a map or list, convert if needed + local function is_map(t) + if type(t) ~= "table" then return false end + for k, v in pairs(t) do + if type(k) ~= "string" or type(v) ~= "number" then + return false + end + end + return true + end + + local inv_contents + if is_map(inv_contents_raw) then + inv_contents = inv_contents_raw + else + -- Convert list of item stacks to map + inv_contents = {} + for _, item in pairs(inv_contents_raw) do + inv_contents[item.name] = (inv_contents[item.name] or 0) + item.count + end + end + + local fluid_contents = arboretum.get_fluid_contents() or {} + + --game.print("Inventory contents (map): " .. serpent.line(inv_contents)) + --game.print("Fluid contents: " .. serpent.line(fluid_contents)) + + return need and + check(need.items, inv_contents) and + check(need.fluids, fluid_contents) and + { ingredients = need, name = recipe.name } or nil +end + + +local function consume_ingredients(arboretum, need) + local inventory = arboretum.get_inventory(defines.inventory.assembling_machine_input) + for item, i in pairs(need.items or {}) do + inventory.remove({ name = item, count = i }) + BioInd.writeDebug("Removed %s (%s)", { item, i }) + end + BioInd.show("Inventory", inventory.get_contents() or "nil") + + for fluid, f in pairs(need.fluids or {}) do + arboretum.remove_fluid({ name = fluid, amount = f }) + BioInd.writeDebug("Removed %s (%s)", { fluid, f }) + end + BioInd.show("Fluid contents", arboretum.get_fluid_contents() or "nil") +end + + +local function set_tile(current, target, surface, position) + if current ~= target then + surface.set_tiles( + { { name = target, position = position } }, + true, -- correct_tiles + true, -- remove_colliding_entities + true, -- remove_colliding_decoratives + true -- raise_event + ) + end +end + +function Get_Arboretum_Recipe(ArboretumTable, event) + BioInd.writeDebug("Entered function Get_Arboretum_Recipe(%s, %s)", { ArboretumTable, event }) + if not ArboretumTable then + BioInd.writeDebug("%s is not a valid ArboretumTable. Leaving immediately!") + return + end + + local arboretum = ArboretumTable.base + local new_position, currentTilename + local pos, surface, Inventory, stack + + -- 'AlienBiomes' is a bool value -- we don't want to read it again if it's false, + -- but only if it hasn't been set yet! + AB = storage.compatible.AlienBiomes + terrain_name_g1 = terrain_name_g1 or (AB and "vegetation-green-grass-1" or "grass-1") + terrain_name_g3 = terrain_name_g3 or (AB and "vegetation-green-grass-3" or "grass-3") + + + local check = check_ingredients(arboretum) + local ingredients, recipe_name + if check then + --game.print("There are ingredients") + ingredients, recipe_name = check.ingredients, check.name + else + --game.print("No ingredients") + end + + if ingredients then + + local create_seedling, new_plant + pos = BioInd.normalize_position(arboretum.position) or + BioInd.arg_err("nil", "position") + surface = arboretum.surface + + -- Just plant a tree and hope the ground is fertile! + if recipe_name == "bi-arboretum-r1" then + BioInd.writeDebug(tostring(recipe_name) .. ": Just plant a tree") + + --- 10 attempts to find a random spot to plant a tree and/or change terrain + for k = 1, 10 do + new_position = get_new_position(pos) + new_plant = { + name = "seedling", + position = new_position, + force = "neutral" + } + + if surface.can_place_entity(new_plant) then + consume_ingredients(arboretum, ingredients) + create_seedling = surface.create_entity(new_plant) + seed_planted_arboretum(event, create_seedling) + --- After sucessfully planting a tree, break out of the loop. + break + else + BioInd.writeDebug("Can't plant here (attempt %s)", k) + end + end + -- Fertilize the ground with normal fertilizer. Ignore tiles listed in Terrain_Check_1! + elseif recipe_name == "bi-arboretum-r2" then + BioInd.writeDebug(tostring(recipe_name) .. ": Just change terrain to grass-3 (basic)") + + for k = 1, 10 do --- 10 attempts to find a random spot to plant a tree and / or change terrain + new_position = get_new_position(pos) + currentTilename = surface.get_tile(new_position.x, new_position.y).name + + -- We need to fertilize the ground! + if Bi_Industries.fertility[currentTilename] and not Terrain_Check_1[currentTilename] then + consume_ingredients(arboretum, ingredients) + BioInd.writeDebug("%s: Changing terrain from %s to %s (%s)", + { k, currentTilename or "unknown tile", + terrain_name_g3, serpent.line(new_position) }) + set_tile(currentTilename, terrain_name_g3, surface, new_position) + --- After sucessfully changing the terrain, break out of the loop. + break + else + BioInd.writeDebug("%s: Can't change terrain (%s)", + { k, currentTilename or "unknown tile" }) + end + end + -- Fertilize the ground with advanced fertilizer. Ignore tiles listed in Terrain_Check_2! + elseif recipe_name == "bi-arboretum-r3" then + BioInd.writeDebug(tostring(recipe_name) .. ": Just change terrain to grass-1 (advanced)") + + for k = 1, 10 do --- 10 attempts to find a random spot to plant a tree and / or change terrain + new_position = get_new_position(pos) + currentTilename = surface.get_tile(new_position.x, new_position.y).name + + if Bi_Industries.fertility[currentTilename] and currentTilename ~= terrain_name_g1 then + consume_ingredients(arboretum, ingredients) + BioInd.writeDebug("%s: Changing terrain from %s to %s (%s)", + { k, currentTilename or "unknown tile", + terrain_name_g1, serpent.line(new_position) }) + set_tile(currentTilename, terrain_name_g1, surface, new_position) + --- After sucessfully changing the terrain, break out of the loop. + break + else + BioInd.writeDebug("%s: Can't change terrain (%s)", + { k, currentTilename or "unknown tile" }) + end + end + -- Fertilize the ground with normal fertilizer. Ignore tiles listed in Terrain_Check_1! + -- Also plant a tree. + elseif recipe_name == "bi-arboretum-r4" then + BioInd.writeDebug(tostring(recipe_name) .. ": Plant Tree AND change the terrain to grass-3 (basic)") + + for k = 1, 10 do --- 10 attempts to find a random spot to plant a tree and / or change terrain + new_position = get_new_position(pos) + currentTilename = surface.get_tile(new_position.x, new_position.y).name + new_plant = { + name = "seedling", + position = new_position, + force = "neutral" + } + + -- Test to see if we can plant + if surface.can_place_entity(new_plant) and Bi_Industries.fertility[currentTilename] then + consume_ingredients(arboretum, ingredients) + -- Refund fertilizer -- no need to waste it on fertile ground! + if Terrain_Check_1[currentTilename] then + arboretum.insert({ name = "fertilizer", count = ingredients.items.fertilizer }) + BioInd.writeDebug("Refunded fertilizer!") + end + + set_tile(currentTilename, terrain_name_g3, surface, new_position) + create_seedling = surface.create_entity(new_plant) + seed_planted_arboretum(event, create_seedling) + --- After sucessfully planting a tree or changing the terrain, break out of the loop. + break + else + BioInd.writeDebug("%s: Can't change terrain and plant a tree (%s)", + { k, currentTilename or "unknown tile" }) + end + end + -- Fertilize the ground with advanced fertilizer. Ignore tiles listed in Terrain_Check_2! + -- Also plant a tree. + elseif recipe_name == "bi-arboretum-r5" then + BioInd.writeDebug(tostring(recipe_name) .. ": Plant Tree and change the terrain to grass-1 (advanced)") + + for k = 1, 10 do --- 10 attempts to find a random spot to plant a tree and / or change terrain + new_position = get_new_position(pos) + currentTilename = surface.get_tile(new_position.x, new_position.y).name + new_plant = { + name = "seedling", + position = new_position, + force = "neutral" + } + + if surface.can_place_entity(new_plant) and Bi_Industries.fertility[currentTilename] then + consume_ingredients(arboretum, ingredients) + -- Refund fertilizer -- no need to waste it on fertile ground! + if Terrain_Check_2[currentTilename] then + arboretum.insert({ + name = "bi-adv-fertilizer", count = ingredients.items["bi-adv-fertilizer"] + }) + BioInd.writeDebug("Refunded advanced fertilizer!") + end + + set_tile(currentTilename, terrain_name_g1, surface, new_position) + create_seedling = surface.create_entity(new_plant) + seed_planted_arboretum(event, create_seedling) + --- After sucessfully planting a tree or changing the terrain, break out of the loop. + break + else + BioInd.writeDebug("%s: Can't change terrain and plant a tree (%s)", + { k, currentTilename or "unknown tile" }) + end + end + else + BioInd.writeDebug("Terraformer has no recipe!") + end + end +end diff --git a/Bio_Industries_2/control_tree.lua b/Bio_Industries_2/control_tree.lua index 6ead187..9b7a045 100644 --- a/Bio_Industries_2/control_tree.lua +++ b/Bio_Industries_2/control_tree.lua @@ -1,657 +1,652 @@ - --- All tree Growing stuff -local Event = require('__kry_stdlib__/stdlib/event/event').set_protected_mode(true) - -local terrains = require("libs/trees-and-terrains") - -Bi_Industries = {} - -Bi_Industries.fertility = { - ["vegetation-green-grass-1"] = 100, - ["grass-1"] = 100, - ["grass-3"] = 85, - ["grass-2"] = 70, - ["grass-4"] = 60, - ["red-desert-0"] = 50, - ["dirt-3"] = 40, - ["dirt-5"] = 37, - ["dirt-6"] = 34, - ["dirt-7"] = 31, - ["dirt-4"] = 28, - ["dry-dirt"] = 25, - ["dirt-2"] = 22, - ["dirt-1"] = 19, - ["red-desert-2"] = 16, - ["red-desert-3"] = 13, - ["sand-3"] = 10, - ["sand-2"] = 7, - ["sand-1"] = 4, - ["red-desert-1"] = 1, - ["frozen-snow-0"] = 1, - ["frozen-snow-1"] = 1, - ["frozen-snow-2"] = 1, - ["frozen-snow-3"] = 1, - ["frozen-snow-4"] = 1, - ["frozen-snow-5"] = 1, - ["frozen-snow-6"] = 1, - ["frozen-snow-7"] = 1, - ["frozen-snow-8"] = 1, - ["frozen-snow-9"] = 1, - ["mineral-aubergine-dirt-1"] = 45, - ["mineral-aubergine-dirt-2"] = 45, - ["mineral-aubergine-dirt-3"] = 25, - ["mineral-aubergine-dirt-4"] = 25, - ["mineral-aubergine-dirt-5"] = 25, - ["mineral-aubergine-dirt-6"] = 25, - ["mineral-aubergine-dirt-7"] = 25, - ["mineral-aubergine-dirt-8"] = 25, - ["mineral-aubergine-dirt-9"] = 25, - ["mineral-aubergine-sand-1"] = 15, - ["mineral-aubergine-sand-2"] = 15, - ["mineral-aubergine-sand-3"] = 10, - ["mineral-beige-dirt-1"] = 45, - ["mineral-beige-dirt-2"] = 45, - ["mineral-beige-dirt-3"] = 25, - ["mineral-beige-dirt-4"] = 25, - ["mineral-beige-dirt-5"] = 25, - ["mineral-beige-dirt-6"] = 25, - ["mineral-beige-dirt-7"] = 25, - ["mineral-beige-dirt-8"] = 25, - ["mineral-beige-dirt-9"] = 25, - ["mineral-beige-sand-1"] = 10, - ["mineral-beige-sand-2"] = 10, - ["mineral-beige-sand-3"] = 10, - ["mineral-black-dirt-1"] = 45, - ["mineral-black-dirt-2"] = 45, - ["mineral-black-dirt-3"] = 25, - ["mineral-black-dirt-4"] = 25, - ["mineral-black-dirt-5"] = 25, - ["mineral-black-dirt-6"] = 25, - ["mineral-black-dirt-7"] = 25, - ["mineral-black-dirt-8"] = 25, - ["mineral-black-dirt-9"] = 25, - ["mineral-black-sand-1"] = 10, - ["mineral-black-sand-2"] = 10, - ["mineral-black-sand-3"] = 10, - ["mineral-brown-dirt-1"] = 25, - ["mineral-brown-dirt-2"] = 25, - ["mineral-brown-dirt-3"] = 25, - ["mineral-brown-dirt-4"] = 25, - ["mineral-brown-dirt-5"] = 25, - ["mineral-brown-dirt-6"] = 25, - ["mineral-brown-dirt-7"] = 25, - ["mineral-brown-dirt-8"] = 25, - ["mineral-brown-dirt-9"] = 25, - ["mineral-brown-sand-1"] = 10, - ["mineral-brown-sand-2"] = 10, - ["mineral-brown-sand-3"] = 10, - ["mineral-cream-dirt-1"] = 25, - ["mineral-cream-dirt-2"] = 25, - ["mineral-cream-dirt-3"] = 25, - ["mineral-cream-dirt-4"] = 25, - ["mineral-cream-dirt-5"] = 25, - ["mineral-cream-dirt-6"] = 25, - ["mineral-cream-dirt-7"] = 25, - ["mineral-cream-dirt-8"] = 25, - ["mineral-cream-dirt-9"] = 25, - ["mineral-cream-sand-1"] = 10, - ["mineral-cream-sand-2"] = 10, - ["mineral-cream-sand-3"] = 10, - ["mineral-dustyrose-dirt-1"] = 25, - ["mineral-dustyrose-dirt-2"] = 25, - ["mineral-dustyrose-dirt-3"] = 25, - ["mineral-dustyrose-dirt-4"] = 25, - ["mineral-dustyrose-dirt-5"] = 25, - ["mineral-dustyrose-dirt-6"] = 25, - ["mineral-dustyrose-dirt-7"] = 25, - ["mineral-dustyrose-dirt-8"] = 25, - ["mineral-dustyrose-dirt-9"] = 25, - ["mineral-dustyrose-sand-1"] = 10, - ["mineral-dustyrose-sand-2"] = 10, - ["mineral-dustyrose-sand-3"] = 10, - ["mineral-grey-dirt-1"] = 25, - ["mineral-grey-dirt-2"] = 25, - ["mineral-grey-dirt-3"] = 25, - ["mineral-grey-dirt-4"] = 25, - ["mineral-grey-dirt-5"] = 25, - ["mineral-grey-dirt-6"] = 25, - ["mineral-grey-dirt-7"] = 25, - ["mineral-grey-dirt-8"] = 25, - ["mineral-grey-dirt-9"] = 25, - ["mineral-grey-sand-1"] = 10, - ["mineral-grey-sand-2"] = 10, - ["mineral-grey-sand-3"] = 10, - ["mineral-purple-dirt-1"] = 25, - ["mineral-purple-dirt-2"] = 25, - ["mineral-purple-dirt-3"] = 25, - ["mineral-purple-dirt-4"] = 25, - ["mineral-purple-dirt-5"] = 25, - ["mineral-purple-dirt-6"] = 25, - ["mineral-purple-dirt-7"] = 25, - ["mineral-purple-dirt-8"] = 25, - ["mineral-purple-dirt-9"] = 25, - ["mineral-purple-sand-1"] = 10, - ["mineral-purple-sand-2"] = 10, - ["mineral-purple-sand-3"] = 10, - ["mineral-red-dirt-1"] = 25, - ["mineral-red-dirt-2"] = 25, - ["mineral-red-dirt-3"] = 25, - ["mineral-red-dirt-4"] = 25, - ["mineral-red-dirt-5"] = 25, - ["mineral-red-dirt-6"] = 25, - ["mineral-red-dirt-7"] = 25, - ["mineral-red-dirt-8"] = 25, - ["mineral-red-dirt-9"] = 25, - ["mineral-red-sand-1"] = 10, - ["mineral-red-sand-2"] = 10, - ["mineral-red-sand-3"] = 10, - ["mineral-tan-dirt-1"] = 25, - ["mineral-tan-dirt-2"] = 25, - ["mineral-tan-dirt-3"] = 25, - ["mineral-tan-dirt-4"] = 25, - ["mineral-tan-dirt-5"] = 25, - ["mineral-tan-dirt-6"] = 25, - ["mineral-tan-dirt-7"] = 25, - ["mineral-tan-dirt-8"] = 25, - ["mineral-tan-dirt-9"] = 25, - ["mineral-tan-sand-1"] = 10, - ["mineral-tan-sand-2"] = 10, - ["mineral-tan-sand-3"] = 10, - ["mineral-violet-dirt-1"] = 25, - ["mineral-violet-dirt-2"] = 25, - ["mineral-violet-dirt-3"] = 25, - ["mineral-violet-dirt-4"] = 25, - ["mineral-violet-dirt-5"] = 25, - ["mineral-violet-dirt-6"] = 25, - ["mineral-violet-dirt-7"] = 25, - ["mineral-violet-dirt-8"] = 25, - ["mineral-violet-dirt-9"] = 25, - ["mineral-violet-sand-1"] = 10, - ["mineral-violet-sand-2"] = 10, - ["mineral-violet-sand-3"] = 10, - ["mineral-white-dirt-1"] = 25, - ["mineral-white-dirt-2"] = 25, - ["mineral-white-dirt-3"] = 25, - ["mineral-white-dirt-4"] = 25, - ["mineral-white-dirt-5"] = 25, - ["mineral-white-dirt-6"] = 25, - ["mineral-white-dirt-7"] = 25, - ["mineral-white-dirt-8"] = 25, - ["mineral-white-dirt-9"] = 25, - ["mineral-white-sand-1"] = 10, - ["mineral-white-sand-2"] = 10, - ["mineral-white-sand-3"] = 10, - ["vegetation-blue-grass-1"] = 70, - ["vegetation-blue-grass-2"] = 70, - ["vegetation-green-grass-2"] = 75, - ["vegetation-green-grass-3"] = 85, - ["vegetation-green-grass-4"] = 70, - ["vegetation-mauve-grass-1"] = 70, - ["vegetation-mauve-grass-2"] = 70, - ["vegetation-olive-grass-1"] = 70, - ["vegetation-olive-grass-2"] = 70, - ["vegetation-orange-grass-1"] = 70, - ["vegetation-orange-grass-2"] = 70, - ["vegetation-purple-grass-1"] = 70, - ["vegetation-purple-grass-2"] = 70, - ["vegetation-red-grass-1"] = 70, - ["vegetation-red-grass-2"] = 70, - ["vegetation-turquoise-grass-1"] = 70, - ["vegetation-turquoise-grass-2"] = 70, - ["vegetation-violet-grass-1"] = 70, - ["vegetation-violet-grass-2"] = 70, - ["vegetation-yellow-grass-1"] = 70, - ["vegetation-yellow-grass-2"] = 70, - ["volcanic-blue-heat-1"] = 1, - ["volcanic-blue-heat-2"] = 1, - ["volcanic-blue-heat-3"] = 1, - ["volcanic-blue-heat-4"] = 1, - ["volcanic-green-heat-1"] = 1, - ["volcanic-green-heat-2"] = 1, - ["volcanic-green-heat-3"] = 1, - ["volcanic-green-heat-4"] = 1, - ["volcanic-orange-heat-1"] = 1, - ["volcanic-orange-heat-2"] = 1, - ["volcanic-orange-heat-3"] = 1, - ["volcanic-orange-heat-4"] = 1, - ["volcanic-purple-heat-1"] = 1, - ["volcanic-purple-heat-2"] = 1, - ["volcanic-purple-heat-3"] = 1, - ["volcanic-purple-heat-4"] = 1, - ["landfill"] = 1, -} - - - - --- If we get passed on a tile_name, we can skip getting the tile at position! -local function get_tile_fertility(surface, position, tile_name) - surface = BioInd.is_surface(surface) or BioInd.arg_err(surface or "nil", "surface") - position = BioInd.normalize_position(position) or BioInd.arg_err(position or "nil", "position") - - tile_name = tile_name or surface.get_tile(position.x, position.y).name - - local fertility = Bi_Industries.fertility[tile_name] - - return fertility and {fertility = fertility, key = "fertilizer"} or - {fertility = 1, key = "default"} -end - - -local function plant_tree(tabl, tree, create_entity) - BioInd.check_args(tabl, "table") - BioInd.check_args(tree, "table") - BioInd.check_args(tree.time, "number", "time") - -- tree.tree_name is only required if we really want to create a tree, - -- not if we just want to add a table entry! - if create_entity then - BioInd.check_args(tree.tree_name, "string", "tree_name") - end - - if not (tree.position and BioInd.normalize_position(tree.position)) then - BioInd.arg_err(tree.position or "nil", "position") - elseif not (tree.surface and BioInd.is_surface(tree.surface)) then - BioInd.arg_err(tree.surface or "nil", "surface") - end - - local grow_until_tick = tree.time -BioInd.show("grow_until_tick", grow_until_tick) - tabl[grow_until_tick] = tabl[grow_until_tick] or {} - - -- Update table - table.insert(tabl[grow_until_tick], tree) -BioInd.writeDebug("Added tree to table!") - - -- Plant the new tree - if create_entity then - tree.surface.create_entity({ - name = tree.tree_name, - position = tree.position, - force = "neutral" - }) - end -end - --- t_base, t_penalty: numbers; seedbomb: Boolean -local function plant_seed(event, t_base, t_penalty, seedbomb) - for a, arg in pairs({ - {arg = event, type = "table"}, - {arg = t_base, type = "number"}, - {arg = t_penalty, type = "number"} - }) do - BioInd.check_args(arg.arg, arg.type, arg.desc) - end - -BioInd.show("event", event) -BioInd.show("t_base", t_base) -BioInd.show("t_penalty", t_penalty) -BioInd.show("seedbomb", seedbomb) - -- Seed Planted (Put the seedling in the table) - local entity = event.entity or event.created_entity or - BioInd.arg_err("nil", "entity") - local surface = BioInd.is_surface(entity.surface) or - BioInd.arg_err(entity.surface or "nil", "surface") - local pos = BioInd.normalize_position(entity.position) or - BioInd.arg_err(entity.position or "nil", "position") - - -- Minimum will always be 1 - local fertility = get_tile_fertility(surface, pos).fertility - - -- Things will grow faster on fertile than on barren tiles - -- (No penalty for tiles with maximum fertility) - local grow_time = math.max(1, math.random(t_base) + t_penalty - (40 * fertility)) - local tree_data = { - position = pos, - time = event.tick + grow_time, - surface = surface, - seed_bomb = seedbomb - } - plant_tree(storage.bi.tree_growing, tree_data, false) -end - -function seed_planted(event) - plant_seed(event, 1000, 4000, false) -end - -function seed_planted_trigger(event) - plant_seed(event, 2000, 6000, true) -end - -function seed_planted_arboretum(event, entity) - event.created_entity = entity - plant_seed(event, 2000, 6000, false) -end - - -function summ_weight(tabl) - local summ = 0 - for i, tree_weights in pairs(tabl or {}) do - if (type(tree_weights) == "table") and tree_weights.weight then - summ = summ + tree_weights.weight - end - end - return summ -end - -function tree_from_max_index_tabl(max_index, tabl) - BioInd.check_args(max_index, "number") - - local rnd_index = math.random(max_index) - for tree_name, tree_weights in pairs(tabl or {}) do - if (type(tree_weights) == "table") and tree_weights.weight then - rnd_index = rnd_index - tree_weights.weight - if rnd_index <= 0 then - return tree_name - end - end - end - return nil -end - -local function random_tree(tile_name) -BioInd.show("[random_tree] tile_name", tile_name) - if terrains[tile_name] then - local trees_table = terrains[tile_name] - local max_index = summ_weight(trees_table) - BioInd.writeDebug("Found %s in table terrains.\tmax_index: %s", - {tile_name, max_index}) - return tree_from_max_index_tabl(max_index, trees_table) - end -end - - --- Settings used for the different grow stages -local stage_settings = { - [1] = { - fertilizer = {max = 1500, penalty = 3000, factor = 30}, - default = {max = 1500, penalty = 6000, factor = 30}, - }, - [2] = { - fertilizer = {max = 1000, penalty = 2000, factor = 20}, - default = {max = 1500, penalty = 6000, factor = 30}, - }, - [3] = { - fertilizer = {max = 1000, penalty = 2000, factor = 20}, - default = {max = 1500, penalty = 6000, factor = 30}, - }, -} - -local function Grow_tree_first_stage(first_stage_table, event) - BioInd.check_args(first_stage_table, "table") - BioInd.check_args(event, "table") - local surface = BioInd.is_surface(first_stage_table.surface) or - BioInd.arg_err(first_stage_table.surface or "nil", "surface") - local position = BioInd.normalize_position(first_stage_table.position) or - BioInd.arg_err(first_stage_table.position or "nil", "position") - local seed_bomb = first_stage_table.seed_bomb - - local tree = surface.find_entity("seedling", position) - local tree2 = surface.find_entity("seedling-2", position) - local tree3 = surface.find_entity("seedling-3", position) - BioInd.writeDebug("tree: %s\ttree2: %s\ttree3: %s", - {tree and tree.valid and tree.name or "nil", - tree2 and tree2.valid and tree2.name or "nil", - tree3 and tree3.valid and tree3.name or "nil"}) - - local tile_name = surface.get_tile(position).name - - -- fertility will be 1 if terrain type is not listed above, so very small chance to grow. - local f = get_tile_fertility(surface, position, tile_name) - local fertility, key = f.fertility, f.key -BioInd.show("fertility", fertility) -BioInd.show("key", key) - -- Random value. Tree will grow if this value is smaller than the 'Fertility' value - local growth_chance = math.random(100) - - local tree_name, can_be_placed - if tree or tree2 or tree3 then -BioInd.writeDebug("Found a seedling!") - tree_name = random_tree(tile_name) - end -BioInd.show("tree_name", tree_name) - - - if tree then - BioInd.writeDebug("Have tree") - if tree.valid then - tree.destroy() - BioInd.writeDebug("Destroyed tree!") - end - - if tree_name and key == "fertilizer" and not seed_bomb then - -- Depending on Terrain, choose tree type & Convert seedling into a tree - BioInd.writeDebug("Fertilizer and no seed bomb: New tree can grow!") - -- Grow the new tree - can_be_placed = surface.can_place_entity({ - name = tree_name, position = position, force = "neutral" - }) -BioInd.show("can_be_placed", can_be_placed) -BioInd.show("growth_chance", growth_chance) -BioInd.show("fertility", fertility) -BioInd.show(growth_chance.." <= ("..fertility.." + 5)", growth_chance <= (fertility + 5)) - - if can_be_placed and growth_chance <= (fertility + 5) then - BioInd.writeDebug("Can be placed etc!") - -- Trees will grow faster on Fertile than on barren tiles - local grow_time = math.max(1, math.random(2000) + 4000 - (40 * fertility)) -BioInd.show("grow_time", grow_time) - - local stage_1_tree_name = "bio-tree-"..tree_name.."-1" - if not (prototypes.item[stage_1_tree_name] or - prototypes.entity[stage_1_tree_name]) then - stage_1_tree_name = tree_name - end -BioInd.writeDebug("stage_1_tree_name: %s", {stage_1_tree_name}) - - local tree_data = { - tree_name = stage_1_tree_name, - final_tree = tree_name, - position = position, - time = event.tick + grow_time, - surface = surface - } - plant_tree(storage.bi.tree_growing_stage_1, tree_data, true) - end - end - end - - --- Seed Bomb Code -BioInd.show("tree_name", tree_name) -BioInd.show("tree2", tree2) -BioInd.show("tree3", tree3) - - if seed_bomb then - BioInd.writeDebug("Seed bomb was used!") - if tree2 and tree2.valid then - tree2.destroy() - BioInd.writeDebug("Removed tree2!") - end - if tree3 and tree3.valid then - tree3.destroy() - BioInd.writeDebug("Removed tree3!") - end - - --- Depending on Terrain, choose tree type & Convert seedling into a tree -BioInd.show("key", key) - if key == "fertilizer" then - BioInd.writeDebug("Got Tile") - if tree_name then - BioInd.writeDebug("Found Tree: %s", {tree_name}) - local new_tree = {name = tree_name, position = position, force = "neutral"} - can_be_placed = surface.can_place_entity(new_tree) -BioInd.show("can_be_placed", can_be_placed) -BioInd.show("growth_chance", growth_chance) -BioInd.show("fertility", fertility) -BioInd.show("growth_chance <= fertility", growth_chance <= fertility) - if can_be_placed and growth_chance <= fertility then - surface.create_entity(new_tree) - BioInd.writeDebug("Created new tree!") - end - else - BioInd.writeDebug("Tree not Found") - end - else - BioInd.writeDebug("Tile not Found") - end - end -end - -local function Grow_tree_last_stage(last_stage_table) - BioInd.check_args(last_stage_table, "table") - BioInd.check_args(last_stage_table.tree_name, "string", "tree_name") - BioInd.check_args(last_stage_table.final_tree, "string", "final_tree") - - local surface = BioInd.is_surface(last_stage_table.surface) or - BioInd.arg_err(last_stage_table.surface or "nil", "surface") - local position = BioInd.normalize_position(last_stage_table.position) or - BioInd.arg_err(last_stage_table.position or "nil", "position") - - local tree_name = last_stage_table.tree_name - local final_tree = last_stage_table.final_tree - - local tree = tree_name and surface.find_entity(tree_name, position) - - - if tree then - tree.destroy() - - -- fertility will be 1 if terrain type not listed above, so very small change to grow. - local f = get_tile_fertility(surface, position) - local fertility, key = f.fertility, f.key - - -- Random value. Tree will grow if this value is smaller than the 'Fertility' value - local growth_chance = math.random(100) - - --- Convert growing tree to fully grown tree - if (key == "fertilizer" or growth_chance <= fertility) then - - -- Grow the new tree - BioInd.writeDebug("Final Tree Name: %s", {final_tree}) - surface.create_entity({ - name = final_tree, - position = position, - force = "neutral" - }) - end - end -end - - -local function Grow_tree_stage(stage_table, stage) -BioInd.writeDebug("Entered function Grow_tree_stage(%s, %s)", {stage_table, stage}) - BioInd.check_args(stage_table, "table") - BioInd.check_args(stage, "number") - - if stage == 4 then - Grow_tree_last_stage(stage_table) - else - for a, arg in pairs({ - {arg = stage_table.tree_name, type = "string", desc = "tree_name"}, - {arg = stage_table.final_tree, type = "string", desc = "final_tree"}, - {arg = stage_table.time, type = "number", desc = "time"}, - }) do - BioInd.check_args(arg.arg, arg.type, arg.desc) - end - - local tree_name = stage_table.tree_name - local final_tree = stage_table.final_tree - local time_planted = stage_table.time - - local surface = BioInd.is_surface(stage_table.surface) or - BioInd.arg_err(stage_table.surface or "nil", "surface") - local position = BioInd.normalize_position(stage_table.position) or - BioInd.arg_err(stage_table.position or "nil", "position") - - - - local tree = tree_name and surface.find_entity(tree_name, position) - - if tree then - tree.destroy() - - local next_stage = stage + 1 - --- Depending on Terrain, choose tree type & Convert seedling into a tree - local f = get_tile_fertility(surface, position) - local fertility, key = f.fertility, f.key - - local next_stage_tree_name = "bio-tree-"..final_tree.."-"..next_stage - if not (prototypes.item[next_stage_tree_name] or - prototypes.entity[next_stage_tree_name]) then - next_stage_tree_name = final_tree - BioInd.writeDebug("Next stage %g: Prototype did not exist", {next_stage}) - else - BioInd.writeDebug("Next stage %g: %s", {next_stage, next_stage_tree_name}) - end - - local can_be_placed = surface.can_place_entity{ - name = next_stage_tree_name, - position = position, - force = "neutral" - } - - if can_be_placed then - - if next_stage_tree_name == final_tree then - BioInd.writeDebug("Tree reached final stage, don't insert") - surface.create_entity({ - name = final_tree, - position = position, - force = "neutral" - }) - else - -- Trees will grow faster on fertile than on barren tiles! - local s = stage_settings[stage][key] - local grow_time = math.max(1, math.random(s.max) + s.penalty - (s.factor * fertility)) - - local tree_data = { - tree_name = next_stage_tree_name, - final_tree = final_tree, - position = position, - time = time_planted + grow_time, - surface = surface - } - plant_tree(storage.bi["tree_growing_stage_"..next_stage], tree_data, true) - end - end - - else - BioInd.writeDebug("Did not find that tree I was looking for...") - end - end -end - - ----- Growing Tree ---Event.register(-12, function(event) -Event.register(defines.events.on_tick, function(event) - if storage.bi.tree_growing_stage_1 == nil then - for i = 1, 4 do - storage.bi["tree_growing_stage_"..i] = storage.bi["tree_growing_stage_"..i] or {} - end - end - - local tick = event.tick - - if storage.bi.tree_growing[tick] then - for t, tree_data in pairs(storage.bi.tree_growing[tick]) do - BioInd.writeDebug("Trying to move tree %s to first grow stage!", {t}) - Grow_tree_first_stage(tree_data, event) - end - BioInd.writeDebug("Removing storage.bi.tree_growing[%s]!", {tick}) - storage.bi.tree_growing[tick] = nil - end - - local stage_table - for stage = 1, 4 do - stage_table = storage.bi["tree_growing_stage_"..stage] - if stage_table[tick] then - for t, tree_data in pairs(stage_table[tick]) do - BioInd.writeDebug("Moving tree %s to next grow stage!", {t}) - Grow_tree_stage(tree_data, stage) - end - BioInd.writeDebug("Removing storage.bi.tree_growing_stage_%s[%s]!", - {stage, tick}) - stage_table[tick] = nil - end - end -end) +-- All tree Growing stuff +local Event = require('__kry_stdlib__/stdlib/event/event').set_protected_mode(true) + +local terrains = require("libs/trees-and-terrains") + +Bi_Industries = {} + +Bi_Industries.fertility = { + ["vegetation-green-grass-1"] = 100, + ["grass-1"] = 100, + ["grass-3"] = 85, + ["grass-2"] = 70, + ["grass-4"] = 60, + ["red-desert-0"] = 50, + ["dirt-3"] = 40, + ["dirt-5"] = 37, + ["dirt-6"] = 34, + ["dirt-7"] = 31, + ["dirt-4"] = 28, + ["dry-dirt"] = 25, + ["dirt-2"] = 22, + ["dirt-1"] = 19, + ["red-desert-2"] = 16, + ["red-desert-3"] = 13, + ["sand-3"] = 10, + ["sand-2"] = 7, + ["sand-1"] = 4, + ["red-desert-1"] = 1, + ["frozen-snow-0"] = 1, + ["frozen-snow-1"] = 1, + ["frozen-snow-2"] = 1, + ["frozen-snow-3"] = 1, + ["frozen-snow-4"] = 1, + ["frozen-snow-5"] = 1, + ["frozen-snow-6"] = 1, + ["frozen-snow-7"] = 1, + ["frozen-snow-8"] = 1, + ["frozen-snow-9"] = 1, + ["mineral-aubergine-dirt-1"] = 45, + ["mineral-aubergine-dirt-2"] = 45, + ["mineral-aubergine-dirt-3"] = 25, + ["mineral-aubergine-dirt-4"] = 25, + ["mineral-aubergine-dirt-5"] = 25, + ["mineral-aubergine-dirt-6"] = 25, + ["mineral-aubergine-dirt-7"] = 25, + ["mineral-aubergine-dirt-8"] = 25, + ["mineral-aubergine-dirt-9"] = 25, + ["mineral-aubergine-sand-1"] = 15, + ["mineral-aubergine-sand-2"] = 15, + ["mineral-aubergine-sand-3"] = 10, + ["mineral-beige-dirt-1"] = 45, + ["mineral-beige-dirt-2"] = 45, + ["mineral-beige-dirt-3"] = 25, + ["mineral-beige-dirt-4"] = 25, + ["mineral-beige-dirt-5"] = 25, + ["mineral-beige-dirt-6"] = 25, + ["mineral-beige-dirt-7"] = 25, + ["mineral-beige-dirt-8"] = 25, + ["mineral-beige-dirt-9"] = 25, + ["mineral-beige-sand-1"] = 10, + ["mineral-beige-sand-2"] = 10, + ["mineral-beige-sand-3"] = 10, + ["mineral-black-dirt-1"] = 45, + ["mineral-black-dirt-2"] = 45, + ["mineral-black-dirt-3"] = 25, + ["mineral-black-dirt-4"] = 25, + ["mineral-black-dirt-5"] = 25, + ["mineral-black-dirt-6"] = 25, + ["mineral-black-dirt-7"] = 25, + ["mineral-black-dirt-8"] = 25, + ["mineral-black-dirt-9"] = 25, + ["mineral-black-sand-1"] = 10, + ["mineral-black-sand-2"] = 10, + ["mineral-black-sand-3"] = 10, + ["mineral-brown-dirt-1"] = 25, + ["mineral-brown-dirt-2"] = 25, + ["mineral-brown-dirt-3"] = 25, + ["mineral-brown-dirt-4"] = 25, + ["mineral-brown-dirt-5"] = 25, + ["mineral-brown-dirt-6"] = 25, + ["mineral-brown-dirt-7"] = 25, + ["mineral-brown-dirt-8"] = 25, + ["mineral-brown-dirt-9"] = 25, + ["mineral-brown-sand-1"] = 10, + ["mineral-brown-sand-2"] = 10, + ["mineral-brown-sand-3"] = 10, + ["mineral-cream-dirt-1"] = 25, + ["mineral-cream-dirt-2"] = 25, + ["mineral-cream-dirt-3"] = 25, + ["mineral-cream-dirt-4"] = 25, + ["mineral-cream-dirt-5"] = 25, + ["mineral-cream-dirt-6"] = 25, + ["mineral-cream-dirt-7"] = 25, + ["mineral-cream-dirt-8"] = 25, + ["mineral-cream-dirt-9"] = 25, + ["mineral-cream-sand-1"] = 10, + ["mineral-cream-sand-2"] = 10, + ["mineral-cream-sand-3"] = 10, + ["mineral-dustyrose-dirt-1"] = 25, + ["mineral-dustyrose-dirt-2"] = 25, + ["mineral-dustyrose-dirt-3"] = 25, + ["mineral-dustyrose-dirt-4"] = 25, + ["mineral-dustyrose-dirt-5"] = 25, + ["mineral-dustyrose-dirt-6"] = 25, + ["mineral-dustyrose-dirt-7"] = 25, + ["mineral-dustyrose-dirt-8"] = 25, + ["mineral-dustyrose-dirt-9"] = 25, + ["mineral-dustyrose-sand-1"] = 10, + ["mineral-dustyrose-sand-2"] = 10, + ["mineral-dustyrose-sand-3"] = 10, + ["mineral-grey-dirt-1"] = 25, + ["mineral-grey-dirt-2"] = 25, + ["mineral-grey-dirt-3"] = 25, + ["mineral-grey-dirt-4"] = 25, + ["mineral-grey-dirt-5"] = 25, + ["mineral-grey-dirt-6"] = 25, + ["mineral-grey-dirt-7"] = 25, + ["mineral-grey-dirt-8"] = 25, + ["mineral-grey-dirt-9"] = 25, + ["mineral-grey-sand-1"] = 10, + ["mineral-grey-sand-2"] = 10, + ["mineral-grey-sand-3"] = 10, + ["mineral-purple-dirt-1"] = 25, + ["mineral-purple-dirt-2"] = 25, + ["mineral-purple-dirt-3"] = 25, + ["mineral-purple-dirt-4"] = 25, + ["mineral-purple-dirt-5"] = 25, + ["mineral-purple-dirt-6"] = 25, + ["mineral-purple-dirt-7"] = 25, + ["mineral-purple-dirt-8"] = 25, + ["mineral-purple-dirt-9"] = 25, + ["mineral-purple-sand-1"] = 10, + ["mineral-purple-sand-2"] = 10, + ["mineral-purple-sand-3"] = 10, + ["mineral-red-dirt-1"] = 25, + ["mineral-red-dirt-2"] = 25, + ["mineral-red-dirt-3"] = 25, + ["mineral-red-dirt-4"] = 25, + ["mineral-red-dirt-5"] = 25, + ["mineral-red-dirt-6"] = 25, + ["mineral-red-dirt-7"] = 25, + ["mineral-red-dirt-8"] = 25, + ["mineral-red-dirt-9"] = 25, + ["mineral-red-sand-1"] = 10, + ["mineral-red-sand-2"] = 10, + ["mineral-red-sand-3"] = 10, + ["mineral-tan-dirt-1"] = 25, + ["mineral-tan-dirt-2"] = 25, + ["mineral-tan-dirt-3"] = 25, + ["mineral-tan-dirt-4"] = 25, + ["mineral-tan-dirt-5"] = 25, + ["mineral-tan-dirt-6"] = 25, + ["mineral-tan-dirt-7"] = 25, + ["mineral-tan-dirt-8"] = 25, + ["mineral-tan-dirt-9"] = 25, + ["mineral-tan-sand-1"] = 10, + ["mineral-tan-sand-2"] = 10, + ["mineral-tan-sand-3"] = 10, + ["mineral-violet-dirt-1"] = 25, + ["mineral-violet-dirt-2"] = 25, + ["mineral-violet-dirt-3"] = 25, + ["mineral-violet-dirt-4"] = 25, + ["mineral-violet-dirt-5"] = 25, + ["mineral-violet-dirt-6"] = 25, + ["mineral-violet-dirt-7"] = 25, + ["mineral-violet-dirt-8"] = 25, + ["mineral-violet-dirt-9"] = 25, + ["mineral-violet-sand-1"] = 10, + ["mineral-violet-sand-2"] = 10, + ["mineral-violet-sand-3"] = 10, + ["mineral-white-dirt-1"] = 25, + ["mineral-white-dirt-2"] = 25, + ["mineral-white-dirt-3"] = 25, + ["mineral-white-dirt-4"] = 25, + ["mineral-white-dirt-5"] = 25, + ["mineral-white-dirt-6"] = 25, + ["mineral-white-dirt-7"] = 25, + ["mineral-white-dirt-8"] = 25, + ["mineral-white-dirt-9"] = 25, + ["mineral-white-sand-1"] = 10, + ["mineral-white-sand-2"] = 10, + ["mineral-white-sand-3"] = 10, + ["vegetation-blue-grass-1"] = 70, + ["vegetation-blue-grass-2"] = 70, + ["vegetation-green-grass-2"] = 75, + ["vegetation-green-grass-3"] = 85, + ["vegetation-green-grass-4"] = 70, + ["vegetation-mauve-grass-1"] = 70, + ["vegetation-mauve-grass-2"] = 70, + ["vegetation-olive-grass-1"] = 70, + ["vegetation-olive-grass-2"] = 70, + ["vegetation-orange-grass-1"] = 70, + ["vegetation-orange-grass-2"] = 70, + ["vegetation-purple-grass-1"] = 70, + ["vegetation-purple-grass-2"] = 70, + ["vegetation-red-grass-1"] = 70, + ["vegetation-red-grass-2"] = 70, + ["vegetation-turquoise-grass-1"] = 70, + ["vegetation-turquoise-grass-2"] = 70, + ["vegetation-violet-grass-1"] = 70, + ["vegetation-violet-grass-2"] = 70, + ["vegetation-yellow-grass-1"] = 70, + ["vegetation-yellow-grass-2"] = 70, + ["volcanic-blue-heat-1"] = 1, + ["volcanic-blue-heat-2"] = 1, + ["volcanic-blue-heat-3"] = 1, + ["volcanic-blue-heat-4"] = 1, + ["volcanic-green-heat-1"] = 1, + ["volcanic-green-heat-2"] = 1, + ["volcanic-green-heat-3"] = 1, + ["volcanic-green-heat-4"] = 1, + ["volcanic-orange-heat-1"] = 1, + ["volcanic-orange-heat-2"] = 1, + ["volcanic-orange-heat-3"] = 1, + ["volcanic-orange-heat-4"] = 1, + ["volcanic-purple-heat-1"] = 1, + ["volcanic-purple-heat-2"] = 1, + ["volcanic-purple-heat-3"] = 1, + ["volcanic-purple-heat-4"] = 1, + ["landfill"] = 1, +} + + + + +-- If we get passed on a tile_name, we can skip getting the tile at position! +local function get_tile_fertility(surface, position, tile_name) + surface = BioInd.is_surface(surface) or BioInd.arg_err(surface or "nil", "surface") + position = BioInd.normalize_position(position) or BioInd.arg_err(position or "nil", "position") + + tile_name = tile_name or surface.get_tile(position.x, position.y).name + + local fertility = Bi_Industries.fertility[tile_name] + + return fertility and { fertility = fertility, key = "fertilizer" } or + { fertility = 1, key = "default" } +end + + +local function plant_tree(tabl, tree, create_entity) + BioInd.check_args(tabl, "table") + BioInd.check_args(tree, "table") + BioInd.check_args(tree.time, "number", "time") + -- tree.tree_name is only required if we really want to create a tree, + -- not if we just want to add a table entry! + if create_entity then + BioInd.check_args(tree.tree_name, "string", "tree_name") + end + + if not (tree.position and BioInd.normalize_position(tree.position)) then + BioInd.arg_err(tree.position or "nil", "position") + elseif not (tree.surface and BioInd.is_surface(tree.surface)) then + BioInd.arg_err(tree.surface or "nil", "surface") + end + + local grow_until_tick = tree.time + BioInd.show("grow_until_tick", grow_until_tick) + tabl[grow_until_tick] = tabl[grow_until_tick] or {} + + -- Update table + table.insert(tabl[grow_until_tick], tree) + BioInd.writeDebug("Added tree to table!") + + -- Plant the new tree + if create_entity then + tree.surface.create_entity({ + name = tree.tree_name, + position = tree.position, + force = "neutral" + }) + end +end + +-- t_base, t_penalty: numbers; seedbomb: Boolean +local function plant_seed(event, t_base, t_penalty, seedbomb) + for a, arg in pairs({ + { arg = event, type = "table" }, + { arg = t_base, type = "number" }, + { arg = t_penalty, type = "number" } + }) do + BioInd.check_args(arg.arg, arg.type, arg.desc) + end + + BioInd.show("event", event) + BioInd.show("t_base", t_base) + BioInd.show("t_penalty", t_penalty) + BioInd.show("seedbomb", seedbomb) + -- Seed Planted (Put the seedling in the table) + local entity = event.entity or event.created_entity or + BioInd.arg_err("nil", "entity") + local surface = BioInd.is_surface(entity.surface) or + BioInd.arg_err(entity.surface or "nil", "surface") + local pos = BioInd.normalize_position(entity.position) or + BioInd.arg_err(entity.position or "nil", "position") + + -- Minimum will always be 1 + local fertility = get_tile_fertility(surface, pos).fertility + + -- Things will grow faster on fertile than on barren tiles + -- (No penalty for tiles with maximum fertility) + local grow_time = math.max(1, math.random(t_base) + t_penalty - (40 * fertility)) + local tree_data = { + position = pos, + time = event.tick + grow_time, + surface = surface, + seed_bomb = seedbomb + } + plant_tree(storage.bi.tree_growing, tree_data, false) +end + +function seed_planted(event) + plant_seed(event, 1000, 4000, false) +end + +function seed_planted_trigger(event) + plant_seed(event, 2000, 6000, true) +end + +function seed_planted_arboretum(event, entity) + event.created_entity = entity + plant_seed(event, 2000, 6000, false) +end + +function summ_weight(tabl) + local summ = 0 + for i, tree_weights in pairs(tabl or {}) do + if (type(tree_weights) == "table") and tree_weights.weight then + summ = summ + tree_weights.weight + end + end + return summ +end + +function tree_from_max_index_tabl(max_index, tabl) + BioInd.check_args(max_index, "number") + + local rnd_index = math.random(max_index) + for tree_name, tree_weights in pairs(tabl or {}) do + if (type(tree_weights) == "table") and tree_weights.weight then + rnd_index = rnd_index - tree_weights.weight + if rnd_index <= 0 then + return tree_name + end + end + end + return nil +end + +local function random_tree(tile_name) + BioInd.show("[random_tree] tile_name", tile_name) + if terrains[tile_name] then + local trees_table = terrains[tile_name] + local max_index = summ_weight(trees_table) + BioInd.writeDebug("Found %s in table terrains.\tmax_index: %s", + { tile_name, max_index }) + return tree_from_max_index_tabl(max_index, trees_table) + end +end + + +-- Settings used for the different grow stages +local stage_settings = { + [1] = { + fertilizer = { max = 1500, penalty = 3000, factor = 30 }, + default = { max = 1500, penalty = 6000, factor = 30 }, + }, + [2] = { + fertilizer = { max = 1000, penalty = 2000, factor = 20 }, + default = { max = 1500, penalty = 6000, factor = 30 }, + }, + [3] = { + fertilizer = { max = 1000, penalty = 2000, factor = 20 }, + default = { max = 1500, penalty = 6000, factor = 30 }, + }, +} + +local function Grow_tree_first_stage(first_stage_table, event) + BioInd.check_args(first_stage_table, "table") + BioInd.check_args(event, "table") + local surface = BioInd.is_surface(first_stage_table.surface) or + BioInd.arg_err(first_stage_table.surface or "nil", "surface") + local position = BioInd.normalize_position(first_stage_table.position) or + BioInd.arg_err(first_stage_table.position or "nil", "position") + local seed_bomb = first_stage_table.seed_bomb + + local tree = surface.find_entity("seedling", position) + local tree2 = surface.find_entity("seedling-2", position) + local tree3 = surface.find_entity("seedling-3", position) + BioInd.writeDebug("tree: %s\ttree2: %s\ttree3: %s", + { tree and tree.valid and tree.name or "nil", + tree2 and tree2.valid and tree2.name or "nil", + tree3 and tree3.valid and tree3.name or "nil" }) + + local tile_name = surface.get_tile(position).name + + -- fertility will be 1 if terrain type is not listed above, so very small chance to grow. + local f = get_tile_fertility(surface, position, tile_name) + local fertility, key = f.fertility, f.key + BioInd.show("fertility", fertility) + BioInd.show("key", key) + -- Random value. Tree will grow if this value is smaller than the 'Fertility' value + local growth_chance = math.random(100) + + local tree_name, can_be_placed + if tree or tree2 or tree3 then + BioInd.writeDebug("Found a seedling!") + tree_name = random_tree(tile_name) + end + BioInd.show("tree_name", tree_name) + + + if tree then + BioInd.writeDebug("Have tree") + if tree.valid then + tree.destroy() + BioInd.writeDebug("Destroyed tree!") + end + + if tree_name and key == "fertilizer" and not seed_bomb then + -- Depending on Terrain, choose tree type & Convert seedling into a tree + BioInd.writeDebug("Fertilizer and no seed bomb: New tree can grow!") + -- Grow the new tree + can_be_placed = surface.can_place_entity({ + name = tree_name, position = position, force = "neutral" + }) + BioInd.show("can_be_placed", can_be_placed) + BioInd.show("growth_chance", growth_chance) + BioInd.show("fertility", fertility) + BioInd.show(growth_chance .. " <= (" .. fertility .. " + 5)", growth_chance <= (fertility + 5)) + + if can_be_placed and growth_chance <= (fertility + 5) then + BioInd.writeDebug("Can be placed etc!") + -- Trees will grow faster on Fertile than on barren tiles + local grow_time = math.max(1, math.random(2000) + 4000 - (40 * fertility)) + BioInd.show("grow_time", grow_time) + + local stage_1_tree_name = "bio-tree-" .. tree_name .. "-1" + if not (prototypes.item[stage_1_tree_name] or + prototypes.entity[stage_1_tree_name]) then + stage_1_tree_name = tree_name + end + BioInd.writeDebug("stage_1_tree_name: %s", { stage_1_tree_name }) + + local tree_data = { + tree_name = stage_1_tree_name, + final_tree = tree_name, + position = position, + time = event.tick + grow_time, + surface = surface + } + plant_tree(storage.bi.tree_growing_stage_1, tree_data, true) + end + end + end + + --- Seed Bomb Code + BioInd.show("tree_name", tree_name) + BioInd.show("tree2", tree2) + BioInd.show("tree3", tree3) + + if seed_bomb then + BioInd.writeDebug("Seed bomb was used!") + if tree2 and tree2.valid then + tree2.destroy() + BioInd.writeDebug("Removed tree2!") + end + if tree3 and tree3.valid then + tree3.destroy() + BioInd.writeDebug("Removed tree3!") + end + + --- Depending on Terrain, choose tree type & Convert seedling into a tree + BioInd.show("key", key) + if key == "fertilizer" then + BioInd.writeDebug("Got Tile") + if tree_name then + BioInd.writeDebug("Found Tree: %s", { tree_name }) + local new_tree = { name = tree_name, position = position, force = "neutral" } + can_be_placed = surface.can_place_entity(new_tree) + BioInd.show("can_be_placed", can_be_placed) + BioInd.show("growth_chance", growth_chance) + BioInd.show("fertility", fertility) + BioInd.show("growth_chance <= fertility", growth_chance <= fertility) + if can_be_placed and growth_chance <= fertility then + surface.create_entity(new_tree) + BioInd.writeDebug("Created new tree!") + end + else + BioInd.writeDebug("Tree not Found") + end + else + BioInd.writeDebug("Tile not Found") + end + end +end + +local function Grow_tree_last_stage(last_stage_table) + BioInd.check_args(last_stage_table, "table") + BioInd.check_args(last_stage_table.tree_name, "string", "tree_name") + BioInd.check_args(last_stage_table.final_tree, "string", "final_tree") + + local surface = BioInd.is_surface(last_stage_table.surface) or + BioInd.arg_err(last_stage_table.surface or "nil", "surface") + local position = BioInd.normalize_position(last_stage_table.position) or + BioInd.arg_err(last_stage_table.position or "nil", "position") + + local tree_name = last_stage_table.tree_name + local final_tree = last_stage_table.final_tree + + local tree = tree_name and surface.find_entity(tree_name, position) + + + if tree then + tree.destroy() + + -- fertility will be 1 if terrain type not listed above, so very small change to grow. + local f = get_tile_fertility(surface, position) + local fertility, key = f.fertility, f.key + + -- Random value. Tree will grow if this value is smaller than the 'Fertility' value + local growth_chance = math.random(100) + + --- Convert growing tree to fully grown tree + if (key == "fertilizer" or growth_chance <= fertility) then + -- Grow the new tree + BioInd.writeDebug("Final Tree Name: %s", { final_tree }) + surface.create_entity({ + name = final_tree, + position = position, + force = "neutral" + }) + end + end +end + + +local function Grow_tree_stage(stage_table, stage) + BioInd.writeDebug("Entered function Grow_tree_stage(%s, %s)", { stage_table, stage }) + BioInd.check_args(stage_table, "table") + BioInd.check_args(stage, "number") + + if stage == 4 then + Grow_tree_last_stage(stage_table) + else + for a, arg in pairs({ + { arg = stage_table.tree_name, type = "string", desc = "tree_name" }, + { arg = stage_table.final_tree, type = "string", desc = "final_tree" }, + { arg = stage_table.time, type = "number", desc = "time" }, + }) do + BioInd.check_args(arg.arg, arg.type, arg.desc) + end + + local tree_name = stage_table.tree_name + local final_tree = stage_table.final_tree + local time_planted = stage_table.time + + local surface = BioInd.is_surface(stage_table.surface) or + BioInd.arg_err(stage_table.surface or "nil", "surface") + local position = BioInd.normalize_position(stage_table.position) or + BioInd.arg_err(stage_table.position or "nil", "position") + + + + local tree = tree_name and surface.find_entity(tree_name, position) + + if tree then + tree.destroy() + + local next_stage = stage + 1 + --- Depending on Terrain, choose tree type & Convert seedling into a tree + local f = get_tile_fertility(surface, position) + local fertility, key = f.fertility, f.key + + local next_stage_tree_name = "bio-tree-" .. final_tree .. "-" .. next_stage + if not (prototypes.item[next_stage_tree_name] or + prototypes.entity[next_stage_tree_name]) then + next_stage_tree_name = final_tree + BioInd.writeDebug("Next stage %g: Prototype did not exist", { next_stage }) + else + BioInd.writeDebug("Next stage %g: %s", { next_stage, next_stage_tree_name }) + end + + local can_be_placed = surface.can_place_entity { + name = next_stage_tree_name, + position = position, + force = "neutral" + } + + if can_be_placed then + if next_stage_tree_name == final_tree then + BioInd.writeDebug("Tree reached final stage, don't insert") + surface.create_entity({ + name = final_tree, + position = position, + force = "neutral" + }) + else + -- Trees will grow faster on fertile than on barren tiles! + local s = stage_settings[stage][key] + local grow_time = math.max(1, math.random(s.max) + s.penalty - (s.factor * fertility)) + + local tree_data = { + tree_name = next_stage_tree_name, + final_tree = final_tree, + position = position, + time = time_planted + grow_time, + surface = surface + } + plant_tree(storage.bi["tree_growing_stage_" .. next_stage], tree_data, true) + end + end + else + BioInd.writeDebug("Did not find that tree I was looking for...") + end + end +end + + +---- Growing Tree +--Event.register(-12, function(event) +Event.register(defines.events.on_tick, function(event) + if storage.bi.tree_growing_stage_1 == nil then + for i = 1, 4 do + storage.bi["tree_growing_stage_" .. i] = storage.bi["tree_growing_stage_" .. i] or {} + end + end + + local tick = event.tick + + if storage.bi.tree_growing[tick] then + for t, tree_data in pairs(storage.bi.tree_growing[tick]) do + BioInd.writeDebug("Trying to move tree %s to first grow stage!", { t }) + Grow_tree_first_stage(tree_data, event) + end + BioInd.writeDebug("Removing storage.bi.tree_growing[%s]!", { tick }) + storage.bi.tree_growing[tick] = nil + end + + local stage_table + for stage = 1, 4 do + stage_table = storage.bi["tree_growing_stage_" .. stage] + if stage_table[tick] then + for t, tree_data in pairs(stage_table[tick]) do + BioInd.writeDebug("Moving tree %s to next grow stage!", { t }) + Grow_tree_stage(tree_data, stage) + end + BioInd.writeDebug("Removing storage.bi.tree_growing_stage_%s[%s]!", + { stage, tick }) + stage_table[tick] = nil + end + end +end) diff --git a/Bio_Industries_2/data-final-fixes.lua b/Bio_Industries_2/data-final-fixes.lua index afb654b..8c658d3 100644 --- a/Bio_Industries_2/data-final-fixes.lua +++ b/Bio_Industries_2/data-final-fixes.lua @@ -1,448 +1,465 @@ -local BioInd = require('common')('Bio_Industries_2') -local ICONPATH = "__Bio_Industries_2__/graphics/icons/" - --- If OwnlyMe's or Tral'a "Robot Tree Farm" mods are active, they will create variatons --- of our variations of tree prototypes. Remove them! -local ignore_trees = BioInd.get_tree_ignore_list() -local removed = 0 - -for name, _ in pairs(ignore_trees or {}) do - if name:match("rtf%-bio%-tree%-.+%-%d-%d+") then - data.raw.tree[name] = nil - ignore_trees[name] = nil - removed = removed + 1 - BioInd.show("Removed tree prototype", name) - end -end -BioInd.writeDebug("Removed %g tree prototypes. Number of trees to ignore now: %g", {removed, table_size(ignore_trees)}) - -BI.Settings.BI_Game_Tweaks_Emissions_Multiplier = settings.startup["BI_Game_Tweaks_Emissions_Multiplier"].value - ----- Game Tweaks ---- Tree -if BI.Settings.BI_Game_Tweaks_Tree then - - local new_results = { - { - type = "item", - name = "wood", - amount_min = 1, - amount_max = 6 - } - } - - for tree_name, tree in pairs(data.raw["tree"] or {}) do - if tree.minable and not ignore_trees[tree_name] then -BioInd.writeDebug("Tree name: %s\tminable.result: %s\tminable.count: %s", {tree.name, (tree.minable and tree.minable.result or "nil"), (tree.minable and tree.minable.count or "nil")}, "line") -BioInd.writeDebug("Tree name: %s\tminable.results: %s", {tree.name, (tree.minable and tree.minable.results or "nil")}, "line") - --CHECK FOR SINGLE RESULTS - -- mining.result may be set although mining.results exists (mining.result - -- will be ignored in that case; happens, for example with IR2's rubber - -- trees). In this case, overwriting mining.results with the data from - -- mining.result could break other mods (e.g. IR2's rubber trees should - -- yield "rubber-wood" instead of "wood"). - if tree.minable.result and not tree.minable.results then - BioInd.writeDebug("Tree has minable.result") - --CHECK FOR VANILLA TREES WOOD x 4 - if tree.minable.result == "wood" and tree.minable.count == 4 then - BioInd.writeDebug("Changing wood yield of %s to random value.", {tree.name}) - tree.minable.mining_particle = "wooden-particle" - tree.minable.mining_time = 1.5 - tree.minable.results = new_results - -- CONVERT RESULT TO RESULTS - else - BioInd.writeDebug("Converting tree.minable.result to tree.minable.results!") - tree.minable.mining_particle = "wooden-particle" - tree.minable.results = { - { - type = "item", - name = tree.minable.result, - amount = tree.minable.count, - } - } - end - --CHECK FOR RESULTS TABLE - elseif tree.minable.results then - BioInd.writeDebug("Checking minable.results!") - for r, result in pairs(tree.minable.results) do - --CHECK FOR RESULT WOOD x 4 - if result.name == "wood" and result.amount == 4 then - BioInd.writeDebug("Changing result %s: %s", {r, result}, "line") - result.amount = nil - result.amount_min = 1 - result.amount_max = 6 - end - end - tree.minable.result = nil - tree.minable.count = nil - -- NEITHER RESULT NOR RESULTS EXIST -- CREATE RESULTS! - else - BioInd.writeDebug("Creating minable.results!") - tree.minable.results = new_results - end - BioInd.writeDebug("New minable.results: %s", - {tree.minable and tree.minable.results or "nil"}, "line") - else - BioInd.writeDebug("Won't change results of %s!", {tree.name}) - end - end -end - - ----- Game Tweaks ---- Player (Changed for 0.18.34/1.1.4!) -if BI.Settings.BI_Game_Tweaks_Player then - -- There may be more than one character in the game! Here's a list of - -- the character prototype names or patterns matching character prototype - -- names we want to ignore. - local blacklist = { - ------------------------------------------------------------------------------------ - -- Known dummies -- - ------------------------------------------------------------------------------------ - -- Autodrive - "autodrive-passenger", - -- AAI Programmable Vehicles - "^.+%-_%-driver$", - -- Minime - "minime_character_dummy", - -- Water Turret (currently the dummies are not characters -- but things may change!) - "^WT%-.+%-dummy$", - ------------------------------------------------------------------------------------ - -- Other characters -- - ------------------------------------------------------------------------------------ - -- Bob's Classes and Multiple characters mod - "^.*bob%-character%-.+$", - } - - local whitelist = { - -- Default character - "^character$", - -- Characters compatible with Minime - "^.*skin.*$", - } - - local tweaks = { - loot_pickup_distance = 5, -- default 2 - build_distance = 20, -- Vanilla 6 - drop_item_distance = 20, -- Vanilla 6 - reach_distance = 20, -- Vanilla 6 - item_pickup_distance = 6, -- Vanilla 1 - reach_resource_distance = 6, -- Vanilla 2.7 - } - - local found, ignore - for char_name, character in pairs(data.raw.character) do -BioInd.show("Checking character", char_name) - found = false - - for w, w_pattern in ipairs(whitelist) do - if char_name == w_pattern or char_name:match(w_pattern) then - ignore = false -BioInd.show("Found whitelisted character name", char_name) - for b, b_pattern in ipairs(blacklist) do - - if char_name == b_pattern or char_name:match(b_pattern) then -BioInd.writeDebug("%s is on the ignore list!", char_name) - -- Mark character as found - ignore = true - break - end - end - if not ignore then - found = true - break - end - end - if found then - break - end - end - - -- Apply tweaks - if found then - for tweak_name, tweak in pairs(tweaks) do - if character[tweak_name] < tweak then -BioInd.writeDebug("Changing %s from %s to %s", {tweak_name, character[tweak_name], tweak}) - character[tweak_name] = tweak - end - end - end - end -end - - --- Moved to data-updates.lua for 0.18.34/1.1.4! - - ----- Game Tweaks ---- Production science pack recipe -if data.raw.recipe["bi-production-science-pack"] then - BI_Functions.lib.allow_productivity("bi-production-science-pack") - thxbob.lib.tech.add_recipe_unlock("production-science-pack", "bi-production-science-pack") - BioInd.writeDebug("Unlock for recipe \"bi-production-science-pack\" added.") -end - ----- Game Tweaks ---- Bots -if BI.Settings.BI_Game_Tweaks_Bot then - -- Logistic & Construction bots can't catch fire or be mined - local function immunify(bot) - -- Changed for 0.18.34/1.1.4! - local can_insert = true - bot.flags = bot.flags or {} - bot.resistances = bot.resistances or {} - for f, flag in pairs(bot.flags) do - if flag == "not-flammable" then - can_insert = false - break - end - end - if can_insert then - table.insert(bot.flags, "not-flammable") - BioInd.writeDebug("Added flag \"not-flammable\" to %s", {bot.name}) - end - - can_insert = true - for r, resistance in pairs(bot.resistances) do - if resistance.type == "fire" and resistance.percent ~= 100 then - BioInd.writeDebug("Change resistance against \"fire\" from %s to 100 %% for %s", {resistance.percent or "nil", bot.name}) - bot.resistances[r] = {type = "fire", percent = 100} - can_insert = false - break - end - end - if can_insert then - table.insert(bot.resistances, {type = "fire", percent = 100}) - BioInd.writeDebug("Added resistance against \"fire\" to %s", {bot.name}) - end - - bot.minable = nil - BioInd.writeDebug("Made %s unminable", {bot.name}) - end - - --catches modded bots too - for _, bot in pairs(data.raw['construction-robot']) do - immunify(bot) - end - - for _, bot in pairs(data.raw['logistic-robot']) do - immunify(bot) - end -end - - ----- Game Tweaks stack size ---- -if BI.Settings.BI_Game_Tweaks_Stack_Size then - -- Changed for 0.18.34/1.1.4 - local tweaks = { - ["wood"] = {value = 400, se_limit = 200}, - ["stone"] = {value = 400, se_limit = 50}, - ["stone-crushed"] = {value = 800, se_limit = 200}, - ["concrete"] = {value = 400, se_limit = 200}, - ["slag"] = {value = 800, se_limit = 200}, - } - local item - local five_dim = BioInd.get_startup_setting("5d-change-stack") - - for tweak_name, tweak in pairs(tweaks) do - item = data.raw.item[tweak_name] - if item then - -- Only adjust stack_size if 5Dim sets multiplier of 1 or is not active! - if item.stack_size < tweak.value and (five_dim == 1 or not five_dim) then - BioInd.writeDebug("Changing stacksize of %s from %s to %s", - {item.name, item.stack_size, tweak.value}) - item.stack_size = tweak.value - end - if mods["space-exploration"] then - item.stack_size = math.min(tweak.se_limit, item.stack_size) -BioInd.show("Adjusted stack_size on account of SE", item.stack_size ) - end - end - end -end - - ---- Update fuel_emissions_multiplier values -if BI.Settings.BI_Game_Tweaks_Emissions_Multiplier then - for item, factor in pairs({ - ["pellet-coke"] = 0.80, - ["enriched-fuel"] = 0.90, - ["solid-fuel"] = 1.00, - ["solid-carbon"] = 1.05, - ["carbon"] = 1.05, - ["wood-bricks"] = 1.20, - ["rocket-fuel"] = 1.20, - ["bi-seed"] = 1.30, - ["seedling"] = 1.30, - ["bi-wooden-pole-big"] = 1.30, - ["bi-wooden-pole-huge"] = 1.30, - ["bi-wooden-fence"] = 1.30, - ["bi-wood-pipe"] = 1.30, - ["bi-wood-pipe-to-ground"] = 1.30, - ["bi-wooden-chest-large"] = 1.30, - ["bi-wooden-chest-huge"] = 1.30, - ["bi-wooden-chest-giga"] = 1.30, - ["bi-ash"] = 1.30, - ["ash"] = 1.30, - ["wood-charcoal"] = 1.25, - ["cellulose-fiber"] = 1.40, - ["bi-woodpulp"] = 1.40, - ["solid-coke"] = 1.40, - ["wood-pellets"] = 1.40, - ["coal-crushed"] = 1.50, - ["wood"] = 1.60, - ["coal"] = 2.00, - -- Removed in 0.17.48/0.18.16 - }) do - BI_Functions.lib.fuel_emissions_multiplier_update(item, factor) - end -end - - - - --- Make vanilla and Bio boilers exchangeable -if BI.Settings.BI_Bio_Fuel then - local boiler = data.raw["boiler"]["boiler"] - local boiler_group = boiler.fast_replaceable_group or "boiler" - - boiler.fast_replaceable_group = boiler_group - data.raw["boiler"]["bi-bio-boiler"].fast_replaceable_group = boiler_group -end - - - - -if mods["Krastorio2"] then - -- Krastorio² needs much more wood than usually provided by Bio Industries. If Krastorio² is - -- active, BI should produce much more wood/wood pulp. For better baĺancing, our recipes should - -- also be changed to require more wood/wood pulp as ingredients. - -- Recipes for making wood should also use/produce more seeds, seedlings, and water. It shouldn't - -- be necessary to increase the input of ash and fertilizer in these recipes as they already - -- require more wood/wood pulp. - local update = { - "wood", "bi-woodpulp", - "bi-seed", "seedling", "water", - } - for _, recipe in pairs(data.raw.recipe) do - BioInd.writeDebug("Recipe has \"mod\" property: %s", {recipe.mod and true or false}) - if recipe.mod == "Bio_Industries_2" then - krastorio.recipes.multiplyIngredients(recipe.name, update, 4) - krastorio.recipes.multiplyProducts(recipe.name, update, 4) - BioInd.writeDebug("Changed ingredients for %s: %s", {recipe and recipe.name or "nil", recipe and recipe.ingredients or "nil"}) - BioInd.writeDebug("Changed results for %s: %s", {recipe and recipe.name or "nil", recipe and recipe.results or "nil"}) - end - end -end - - - - --- Make sure fertilizers have the "place_as_tile" property! -local AlienBiomes = data.raw.tile["vegetation-green-grass-3"] and - data.raw.tile["vegetation-green-grass-1"] and true or false - --- We've already set place_as_tile. If it doesn't exist, our fertilizer definition has --- been overwritten by some other mod, so we restore icons and localization and add --- place_as_tile again! -local fertilizer = data.raw.item["fertilizer"] -if not fertilizer.place_as_tile then - fertilizer.place_as_tile = { - result = AlienBiomes and "vegetation-green-grass-3" or "grass-3", - condition_size = 1, - condition = { layers = { water_tile = true }} - } - fertilizer.icon = ICONPATH .. "fertilizer_64.png" - fertilizer.icon_size = 64 - fertilizer.icons = { - { - icon = ICONPATH .. "fertilizer_64.png", - icon_size = 64, - } - } - fertilizer.localised_name = {"BI-item-name.fertilizer"} - fertilizer.localised_description = {"BI-item-description.fertilizer"} -end - -data.raw.item["bi-adv-fertilizer"].place_as_tile = { - result = AlienBiomes and "vegetation-green-grass-1" or "grass-1", - condition_size = 1, - condition = { layers = { water_tile = true }} -} - -if mods["pycoalprocessing"] and BI.Settings.BI_Bio_Fuel then - -- Bio_Fuel/recipe.lua:30: {type = "item", name = "bi-ash", amount = 15} - thxbob.lib.recipe.remove_result ("bi-basic-gas-processing", "bi-ash") - thxbob.lib.recipe.add_result("bi-basic-gas-processing", { - type = "item", - name = "ash", - amount = 15 - }) -end - - --- Moved to data-updates.lua for 0.18.34/1.1.4! - - ---- If Space Exploration Mod is installed. -if mods["space-exploration"] then - -- Space Exploration Mod likes Stack Sizes to be 200 max. - -- Changed in 1.1.11 - local tweaks = { - ["bi-solar-mat"] = 400, - ["bi-seed"] = 800, - ["seedling"] = 400, - ["bi-woodpulp"] = 800, - ["bi-ash"] = 400, - ["wood-charcoal"] = 400, - ["pellet-coke"] = 400, - ["stone-crushed"] = 400, - } - local item - - for tweak_name, tweak in pairs(tweaks) do - item = data.raw.item[tweak_name] - if item and item.stack_size then - item.stack_size = 200 - end - end - - if not mods["Natural_Evolution_Buildings"] then - - local ammo_tweaks = { - ["bi-dart-magazine-basic"] = 400, - ["bi-dart-magazine-standard"] = 400, - ["bi-dart-magazine-enhanced"] = 400, - ["bi-dart-magazine-poison"] = 400, - } - local item - - for tweak_name, tweak in pairs(ammo_tweaks) do - item = data.raw.ammo[tweak_name] - item.stack_size = 200 - end - end -end - -if BI.Settings.Bio_Cannon then - local default_target_masks = data.raw["utility-constants"].default.default_trigger_target_mask_by_type - default_target_masks["unit-spawner"] = default_target_masks["unit-spawner"] or {"common"} -- everything should have "common", unless there is specific reason not to - table.insert(default_target_masks["unit-spawner"], "Bio_Cannon_Ammo") - - for w, worm in pairs(data.raw.turret) do - worm.trigger_target_mask = worm.trigger_target_mask or default_target_masks["turret"] or {"common"} - table.insert(worm.trigger_target_mask, "Bio_Cannon_Ammo") - end -end - ------------------------------------------------------------------------------------- --- Add icons to our prototypes -BioInd.BI_add_icons() - - ----TESTING! - - -for k, v in pairs(data.raw) do - for t, p in pairs(v) do - if p.se_allow_in_space then - BioInd.writeDebug("%s (%s) can be built in space!", {p.name, t}) - end - end -end +local BioInd = require('common')('Bio_Industries_2') +local ICONPATH = "__Bio_Industries_2__/graphics/icons/" + +-- If OwnlyMe's or Tral'a "Robot Tree Farm" mods are active, they will create variatons +-- of our variations of tree prototypes. Remove them! +local ignore_trees = BioInd.get_tree_ignore_list() +local removed = 0 + +for name, _ in pairs(ignore_trees or {}) do + if name:match("rtf%-bio%-tree%-.+%-%d-%d+") then + data.raw.tree[name] = nil + ignore_trees[name] = nil + removed = removed + 1 + BioInd.show("Removed tree prototype", name) + end +end +BioInd.writeDebug("Removed %g tree prototypes. Number of trees to ignore now: %g", { removed, table_size(ignore_trees) }) + +BI.Settings.BI_Game_Tweaks_Emissions_Multiplier = settings.startup["BI_Game_Tweaks_Emissions_Multiplier"].value + +---- Game Tweaks ---- Tree +if BI.Settings.BI_Game_Tweaks_Tree then + local new_results = { + { + type = "item", + name = "wood", + amount_min = 1, + amount_max = 6 + } + } + + for tree_name, tree in pairs(data.raw["tree"] or {}) do + if tree.minable and not ignore_trees[tree_name] then + BioInd.writeDebug("Tree name: %s\tminable.result: %s\tminable.count: %s", + { tree.name, (tree.minable and tree.minable.result or "nil"), (tree.minable and tree.minable.count or "nil") }, + "line") + BioInd.writeDebug("Tree name: %s\tminable.results: %s", + { tree.name, (tree.minable and tree.minable.results or "nil") }, "line") + --CHECK FOR SINGLE RESULTS + -- mining.result may be set although mining.results exists (mining.result + -- will be ignored in that case; happens, for example with IR2's rubber + -- trees). In this case, overwriting mining.results with the data from + -- mining.result could break other mods (e.g. IR2's rubber trees should + -- yield "rubber-wood" instead of "wood"). + if tree.minable.result and not tree.minable.results then + BioInd.writeDebug("Tree has minable.result") + --CHECK FOR VANILLA TREES WOOD x 4 + if tree.minable.result == "wood" and tree.minable.count == 4 then + BioInd.writeDebug("Changing wood yield of %s to random value.", { tree.name }) + tree.minable.mining_particle = "wooden-particle" + tree.minable.mining_time = 1.5 + tree.minable.results = new_results + -- CONVERT RESULT TO RESULTS + else + BioInd.writeDebug("Converting tree.minable.result to tree.minable.results!") + tree.minable.mining_particle = "wooden-particle" + tree.minable.results = { + { + type = "item", + name = tree.minable.result, + amount = tree.minable.count, + } + } + end + --CHECK FOR RESULTS TABLE + elseif tree.minable.results then + BioInd.writeDebug("Checking minable.results!") + for r, result in pairs(tree.minable.results) do + --CHECK FOR RESULT WOOD x 4 + if result.name == "wood" and result.amount == 4 then + BioInd.writeDebug("Changing result %s: %s", { r, result }, "line") + result.amount = nil + result.amount_min = 1 + result.amount_max = 6 + end + end + tree.minable.result = nil + tree.minable.count = nil + -- NEITHER RESULT NOR RESULTS EXIST -- CREATE RESULTS! + else + BioInd.writeDebug("Creating minable.results!") + tree.minable.results = new_results + end + BioInd.writeDebug("New minable.results: %s", + { tree.minable and tree.minable.results or "nil" }, "line") + else + BioInd.writeDebug("Won't change results of %s!", { tree.name }) + end + end +end + + +---- Game Tweaks ---- Player (Changed for 0.18.34/1.1.4!) +if BI.Settings.BI_Game_Tweaks_Player then + -- There may be more than one character in the game! Here's a list of + -- the character prototype names or patterns matching character prototype + -- names we want to ignore. + local blacklist = { + ------------------------------------------------------------------------------------ + -- Known dummies -- + ------------------------------------------------------------------------------------ + -- Autodrive + "autodrive-passenger", + -- AAI Programmable Vehicles + "^.+%-_%-driver$", + -- Minime + "minime_character_dummy", + -- Water Turret (currently the dummies are not characters -- but things may change!) + "^WT%-.+%-dummy$", + ------------------------------------------------------------------------------------ + -- Other characters -- + ------------------------------------------------------------------------------------ + -- Bob's Classes and Multiple characters mod + "^.*bob%-character%-.+$", + } + + local whitelist = { + -- Default character + "^character$", + -- Characters compatible with Minime + "^.*skin.*$", + } + + local tweaks = { + loot_pickup_distance = 5, -- default 2 + build_distance = 20, -- Vanilla 6 + drop_item_distance = 20, -- Vanilla 6 + reach_distance = 20, -- Vanilla 6 + item_pickup_distance = 6, -- Vanilla 1 + reach_resource_distance = 6, -- Vanilla 2.7 + } + + local found, ignore + for char_name, character in pairs(data.raw.character) do + BioInd.show("Checking character", char_name) + found = false + + for w, w_pattern in ipairs(whitelist) do + if char_name == w_pattern or char_name:match(w_pattern) then + ignore = false + BioInd.show("Found whitelisted character name", char_name) + for b, b_pattern in ipairs(blacklist) do + if char_name == b_pattern or char_name:match(b_pattern) then + BioInd.writeDebug("%s is on the ignore list!", char_name) + -- Mark character as found + ignore = true + break + end + end + if not ignore then + found = true + break + end + end + if found then + break + end + end + + -- Apply tweaks + if found then + for tweak_name, tweak in pairs(tweaks) do + if character[tweak_name] < tweak then + BioInd.writeDebug("Changing %s from %s to %s", { tweak_name, character[tweak_name], tweak }) + character[tweak_name] = tweak + end + end + end + end +end + + + +---- Game Tweaks ---- Production science pack recipe +if data.raw.recipe["bi-production-science-pack"] then + BI_Functions.lib.allow_productivity("bi-production-science-pack") + thxbob.lib.tech.add_recipe_unlock("production-science-pack", "bi-production-science-pack") + BioInd.writeDebug("Unlock for recipe \"bi-production-science-pack\" added.") +end + +---- Game Tweaks ---- Bots +if BI.Settings.BI_Game_Tweaks_Bot then + -- Logistic & Construction bots can't catch fire or be mined + local function immunify(bot) + local can_insert = true + bot.flags = bot.flags or {} + bot.resistances = bot.resistances or {} + for f, flag in pairs(bot.flags) do + if flag == "not-flammable" then + can_insert = false + break + end + end + if can_insert then + table.insert(bot.flags, "not-flammable") + BioInd.writeDebug("Added flag \"not-flammable\" to %s", { bot.name }) + end + + can_insert = true + for r, resistance in pairs(bot.resistances) do + if resistance.type == "fire" and resistance.percent ~= 100 then + BioInd.writeDebug("Change resistance against \"fire\" from %s to 100 %% for %s", + { resistance.percent or "nil", bot.name }) + bot.resistances[r] = { type = "fire", percent = 100 } + can_insert = false + break + end + end + if can_insert then + table.insert(bot.resistances, { type = "fire", percent = 100 }) + BioInd.writeDebug("Added resistance against \"fire\" to %s", { bot.name }) + end + + bot.minable = nil + BioInd.writeDebug("Made %s unminable", { bot.name }) + end + + --catches modded bots too + for _, bot in pairs(data.raw['construction-robot']) do + immunify(bot) + end + + for _, bot in pairs(data.raw['logistic-robot']) do + immunify(bot) + end +end + + +---- Game Tweaks stack size ---- +if BI.Settings.BI_Game_Tweaks_Stack_Size then + -- Changed for 0.18.34/1.1.4 + local tweaks = { + ["wood"] = { value = 400, se_limit = 200 }, + ["stone"] = { value = 400, se_limit = 50 }, + ["stone-crushed"] = { value = 800, se_limit = 200 }, + ["concrete"] = { value = 400, se_limit = 200 }, + ["slag"] = { value = 800, se_limit = 200 }, + } + local item + local five_dim = BioInd.get_startup_setting("5d-change-stack") + + for tweak_name, tweak in pairs(tweaks) do + item = data.raw.item[tweak_name] + if item then + -- Only adjust stack_size if 5Dim sets multiplier of 1 or is not active! + if item.stack_size < tweak.value and (five_dim == 1 or not five_dim) then + BioInd.writeDebug("Changing stacksize of %s from %s to %s", + { item.name, item.stack_size, tweak.value }) + item.stack_size = tweak.value + end + if mods["space-exploration"] then + item.stack_size = math.min(tweak.se_limit, item.stack_size) + BioInd.show("Adjusted stack_size on account of SE", item.stack_size) + end + end + end +end + + +--- Update fuel_emissions_multiplier values +if BI.Settings.BI_Game_Tweaks_Emissions_Multiplier then + for item, factor in pairs({ + ["pellet-coke"] = 0.80, + ["enriched-fuel"] = 0.90, + ["solid-fuel"] = 1.00, + ["solid-carbon"] = 1.05, + ["carbon"] = 1.05, + ["bob-carbon"] = 1.05, + ["wood-bricks"] = 1.10, + ["rocket-fuel"] = 1.20, + ["bi-seed"] = 1.30, + ["tree-seed"] = 1.30, + ["seedling"] = 1.30, + ["bi-wooden-pole-big"] = 1.30, + ["bi-wooden-pole-huge"] = 1.30, + ["bi-wooden-fence"] = 1.30, + ["bi-wood-pipe"] = 1.30, + ["bi-wood-pipe-to-ground"] = 1.30, + ["bi-wooden-chest-large"] = 1.30, + ["bi-wooden-chest-huge"] = 1.30, + ["bi-wooden-chest-giga"] = 1.30, + ["bi-ash"] = 1.30, + ["ash"] = 1.30, + ["wood-charcoal"] = 1.25, + ["cellulose-fiber"] = 1.40, + ["bi-woodpulp"] = 1.40, + ["solid-coke"] = 1.40, + ["wood-pellets"] = 1.40, + ["coal-crushed"] = 1.50, + ["wood"] = 1.60, + ["coal"] = 2.00, + }) do + BI_Functions.lib.fuel_emissions_multiplier_update(item, factor) + end +end + + + + +-- Make vanilla and Bio boilers exchangeable +if BI.Settings.BI_Bio_Fuel then + local boiler = data.raw["boiler"]["boiler"] + local boiler_group = boiler.fast_replaceable_group or "boiler" + + boiler.fast_replaceable_group = boiler_group + data.raw["boiler"]["bi-bio-boiler"].fast_replaceable_group = boiler_group +end + + + + +if mods["Krastorio2"] or mods["Krastorio2-spaced-out"] then + -- Krastorio² needs much more wood than usually provided by Bio Industries. If Krastorio² is + -- active, BI should produce much more wood/wood pulp. For better baĺancing, our recipes should + -- also be changed to require more wood/wood pulp as ingredients. + -- Recipes for making wood should also use/produce more seeds, seedlings, and water. It shouldn't + -- be necessary to increase the input of ash and fertilizer in these recipes as they already + -- require more wood/wood pulp. + local update = { + "wood", "bi-woodpulp", + "bi-seed", "tree-seed","seedling", "water" + } + local multiply = function(items) + for _, item in pairs(items) do + for _, updateItem in pairs(update) do + if item.name == updateItem then + if item.amount then + item.amount = item.amount * 4 + end + if item.amount_min then + item.amount_min = item.amount_min * 4 + end + if item.amount_max then + item.amount_max = item.amount_max * 4 + end + end + end + end + end + for _, recipe in pairs(data.raw.recipe) do + BioInd.writeDebug("Recipe has \"mod\" property: %s", { recipe.mod and true or false }) + if recipe.mod == "Bio_Industries_2" then + multiply(recipe.ingredients) + multiply(recipe.results) + BioInd.writeDebug("Changed ingredients for %s: %s", + { recipe and recipe.name or "nil", recipe and recipe.ingredients or "nil" }) + BioInd.writeDebug("Changed results for %s: %s", + { recipe and recipe.name or "nil", recipe and recipe.results or "nil" }) + end + end +end + + + + +-- Make sure fertilizers have the "place_as_tile" property! +local AlienBiomes = data.raw.tile["vegetation-green-grass-3"] and + data.raw.tile["vegetation-green-grass-1"] and true or false + +-- We've already set place_as_tile. If it doesn't exist, our fertilizer definition has +-- been overwritten by some other mod, so we restore icons and localization and add +-- place_as_tile again! +local fertilizer = data.raw.item["fertilizer"] +if not fertilizer.place_as_tile then + fertilizer.place_as_tile = { + result = AlienBiomes and "vegetation-green-grass-3" or "grass-3", + condition_size = 1, + condition = { layers = { water_tile = true } } + } + fertilizer.icon = ICONPATH .. "fertilizer.png" + fertilizer.icon_size = 64 + fertilizer.icons = { + { + icon = ICONPATH .. "fertilizer.png", + icon_size = 64, + } + } + fertilizer.localised_name = { "BI-item-name.fertilizer" } + fertilizer.localised_description = { "BI-item-description.fertilizer" } +end + +data.raw.item["bi-adv-fertilizer"].place_as_tile = { + result = AlienBiomes and "vegetation-green-grass-1" or "grass-1", + condition_size = 1, + condition = { layers = { water_tile = true } } +} + +if mods["pycoalprocessing"] and BI.Settings.BI_Bio_Fuel then + -- Bio_Fuel/recipe.lua:30: {type = "item", name = "bi-ash", amount = 15} + thxbob.lib.recipe.remove_result("bi-basic-gas-processing", "bi-ash") + thxbob.lib.recipe.add_result("bi-basic-gas-processing", { + type = "item", + name = "ash", + amount = 15 + }) +end + + +--- If Space Exploration Mod is installed. +if mods["space-exploration"] then + -- Space Exploration Mod likes Stack Sizes to be 200 max. + -- Changed in 1.1.11 + local tweaks = { + ["bi-solar-mat"] = 400, + ["bi-seed"] = 800, + ["tree-seed"] = 800, + ["seedling"] = 400, + ["bi-woodpulp"] = 800, + ["bi-ash"] = 400, + ["wood-charcoal"] = 400, + ["pellet-coke"] = 400, + ["stone-crushed"] = 400, + } + local item + + for tweak_name, tweak in pairs(tweaks) do + item = data.raw.item[tweak_name] + if item and item.stack_size then + item.stack_size = 200 + end + end + + if not mods["Natural_Evolution_Buildings"] then + local ammo_tweaks = { + ["bi-dart-magazine-basic"] = 400, + ["bi-dart-magazine-standard"] = 400, + ["bi-dart-magazine-enhanced"] = 400, + ["bi-dart-magazine-poison"] = 400, + } + local item + + for tweak_name, tweak in pairs(ammo_tweaks) do + item = data.raw.ammo[tweak_name] + item.stack_size = 200 + end + end +end + +if BI.Settings.Bio_Cannon then + local default_target_masks = data.raw["utility-constants"].default.default_trigger_target_mask_by_type + default_target_masks["unit-spawner"] = default_target_masks["unit-spawner"] or + { "common" } -- everything should have "common", unless there is specific reason not to + table.insert(default_target_masks["unit-spawner"], "Bio_Cannon_Ammo") + + for w, worm in pairs(data.raw.turret) do + worm.trigger_target_mask = worm.trigger_target_mask or default_target_masks["turret"] or { "common" } + table.insert(worm.trigger_target_mask, "Bio_Cannon_Ammo") + end +end + +------------------------------------------------------------------------------------ +-- Add icons to our prototypes +BioInd.BI_add_icons() + + +---TESTING! + + +for k, v in pairs(data.raw) do + for t, p in pairs(v) do + if p.se_allow_in_space then + BioInd.writeDebug("%s (%s) can be built in space!", { p.name, t }) + end + end +end diff --git a/Bio_Industries_2/data-updates.lua b/Bio_Industries_2/data-updates.lua index 4fc6804..99dd0a5 100644 --- a/Bio_Industries_2/data-updates.lua +++ b/Bio_Industries_2/data-updates.lua @@ -1,690 +1,967 @@ -local BioInd = require('common')('Bio_Industries_2') - -for var, name in pairs({ - Bio_Cannon = "BI_Bio_Cannon", - BI_Bio_Fuel = "BI_Bio_Fuel", - BI_Easy_Bio_Gardens = "BI_Easy_Bio_Gardens", - BI_Game_Tweaks_Stack_Size = "BI_Game_Tweaks_Stack_Size", - BI_Game_Tweaks_Recipe = "BI_Game_Tweaks_Recipe", - BI_Game_Tweaks_Tree = "BI_Game_Tweaks_Tree", - BI_Game_Tweaks_Player = "BI_Game_Tweaks_Player", - BI_Game_Tweaks_Disassemble = "BI_Game_Tweaks_Disassemble", - BI_Game_Tweaks_Bot = "BI_Game_Tweaks_Bot", - BI_Solar_Additions = "BI_Solar_Additions", -}) do - BI.Settings[var] = BioInd.get_startup_setting(name) -end - - -BioInd.show("BI.Settings.BI_Easy_Bio_Gardens", BI.Settings.BI_Easy_Bio_Gardens) -local ICONPATH = "__Bio_Industries_2__/graphics/icons/" - -----Update the Wood Pipe Images -require("prototypes.Wood_Products.pipes") - --- Damage Bonus to Ammo --- Don't duplicate what NE does -if not mods["Natural_Evolution_Buildings"] then - thxbob.lib.tech.add_recipe_unlock ("military", "bi-dart-magazine-standard") - thxbob.lib.tech.add_recipe_unlock ("military-2", "bi-dart-magazine-enhanced") - thxbob.lib.tech.add_recipe_unlock ("military-3", "bi-dart-magazine-poison") -end - -require("prototypes.Bio_Turret.technology-updates") -require("prototypes.Bio_Cannon.technology-updates") - -if not mods["Natural_Evolution_Buildings"] and BI.Settings.Bio_Cannon then - -- add Prototype Artillery as pre req for artillery - thxbob.lib.tech.add_prerequisite("artillery", "bi-tech-bio-cannon") -end - - ---- Move Stone Crusher up in tech tree -thxbob.lib.tech.add_recipe_unlock("steel-processing", "bi-stone-crusher") -thxbob.lib.tech.add_recipe_unlock("steel-processing", "bi-crushed-stone-1") - --- Unlock recipes for Crushed Stone from concrete/hazard concrete -thxbob.lib.tech.add_recipe_unlock("advanced-material-processing-2", "bi-crushed-stone-2") -thxbob.lib.tech.add_recipe_unlock("advanced-material-processing-2", "bi-crushed-stone-3") -thxbob.lib.tech.add_recipe_unlock("advanced-material-processing-2", "bi-crushed-stone-4") -thxbob.lib.tech.add_recipe_unlock("advanced-material-processing-2", "bi-crushed-stone-5") - --- Add Wooden Chests -thxbob.lib.tech.add_recipe_unlock("logistics", "bi-wooden-chest-large") -thxbob.lib.tech.add_recipe_unlock("logistics-2", "bi-wooden-chest-huge") -thxbob.lib.tech.add_recipe_unlock("logistics-3", "bi-wooden-chest-giga") - --- Add Big and Huge electric poles to tech tree - - thxbob.lib.tech.add_recipe_unlock ("logistics", "bi-wooden-pole-big") - thxbob.lib.tech.add_recipe_unlock ("electric-energy-distribution-2", "bi-wooden-pole-huge") - ---- Wood Floors --- Make wood placeable only if Dectorio isn't installed. Should leave existing flooring intact. -if not mods["Dectorio"] then - data.raw.item["wood"].place_as_tile = { - result = "bi-wood-floor", - condition_size = 4, - condition = { layers = { water_tile = true }} - } -end - - ---- Make it so that the Base game tile "grass" can't be placed in blueprints ---- New as of 0.16 -for _, tile in ipairs{"grass-1", "grass-2", "grass-3", "grass-4"} do - BI_Functions.lib.remove_from_blueprint(tile) -end - -if mods["alien-biomes"] then - BioInd.writeDebug("Removing AB tiles from blueprints") - local patterns = { - "frozen%-snow%-%d", - "mineral%-aubergine%-dirt%-%d", - "mineral%-aubergine%-sand%-%d", - "mineral%-beige%-dirt%-%d", - "mineral%-beige%-sand%-%d", - "mineral%-black%-dirt%-%d", - "mineral%-black%-sand%-%d", - "mineral%-brown%-dirt%-%d", - "mineral%-brown%-sand%-%d", - "mineral%-cream%-dirt%-%d", - "mineral%-cream%-sand%-%d", - "mineral%-dustyrose%-dirt%-%d", - "mineral%-dustyrose%-sand%-%d", - "mineral%-grey%-dirt%-%d", - "mineral%-grey%-sand%-%d", - "mineral%-purple%-dirt%-%d", - "mineral%-purple%-sand%-%d", - "mineral%-red%-dirt%-%d", - "mineral%-red%-sand%-%d", - "mineral%-tan%-dirt%-%d", - "mineral%-tan%-sand%-%d", - "mineral%-violet%-dirt%-%d", - "mineral%-violet%-sand%-%d", - "mineral%-white%-dirt%-%d", - "mineral%-white%-sand%-%d", - "vegetation%-blue%-grass%-%d", - "vegetation%-green%-grass%-%d", - "vegetation%-mauve%-grass%-%d", - "vegetation%-olive%-grass%-%d", - "vegetation%-orange%-grass%-%d", - "vegetation%-purple%-grass%-%d", - "vegetation%-red%-grass%-%d", - "vegetation%-turquoise%-grass%-%d", - "vegetation%-violet%-grass%-%d", - "vegetation%-yellow%-grass%-%d", - "volcanic%-blue%-heat%-%d", - "volcanic%-green%-heat%-%d", - "volcanic%-orange%-heat%-%d", - "volcanic%-purple%-heat%-%d", - } - for tile_name, tile in pairs(data.raw.tile) do - for p, pattern in ipairs(patterns) do - if tile_name:match(pattern) then - BI_Functions.lib.remove_from_blueprint(tile) - break - end - end - end -end - ---- Adds Solar Farm, Solar Plant, Musk Floor, Bio Accumulator and Substation to Tech tree -if BI.Settings.BI_Solar_Additions then - if data.raw.technology["bob-solar-energy-2"] then - thxbob.lib.tech.add_recipe_unlock("bob-electric-energy-accumulators-3", "bi-bio-accumulator") - thxbob.lib.tech.add_recipe_unlock("electric-energy-distribution-2", "bi-large-substation") - thxbob.lib.tech.add_recipe_unlock("bob-solar-energy-2", "bi-bio-solar-farm") - thxbob.lib.tech.add_recipe_unlock("bob-solar-energy-2", "bi-solar-boiler-hidden-panel") - else - thxbob.lib.tech.add_recipe_unlock("electric-energy-accumulators", "bi-bio-accumulator") - thxbob.lib.tech.add_recipe_unlock("electric-energy-distribution-2", "bi-large-substation") - thxbob.lib.tech.add_recipe_unlock("solar-energy", "bi-bio-solar-farm") - thxbob.lib.tech.add_recipe_unlock("solar-energy", "bi-solar-boiler-hidden-panel") - end - - if data.raw.technology["bob-solar-energy-3"] then - thxbob.lib.tech.add_recipe_unlock("bob-solar-energy-3", "bi-solar-mat") - else - thxbob.lib.tech.add_recipe_unlock("solar-energy", "bi-solar-mat") - end - - --- Electric redo if Bob' Electric - -- Huge Electric Pole - if data.raw.item["tinned-copper-cable"] then - thxbob.lib.recipe.remove_ingredient("bi-wooden-pole-huge", "wood") - thxbob.lib.recipe.add_new_ingredient("bi-wooden-pole-huge", { - type = "item", - name = "tinned-copper-cable", - amount = 15} - ) - end - - -- Solar Farm - if data.raw.item["solar-panel-large"] then - thxbob.lib.recipe.remove_ingredient("bi-bio-solar-farm", "solar-panel") - thxbob.lib.recipe.add_new_ingredient("bi-bio-solar-farm", { - type = "item", - name = "solar-panel-large", - amount = 30} - ) - end - - -- Huge Sub Station - if data.raw.item["substation-3"] then - thxbob.lib.recipe.remove_ingredient("bi-large-substation", "substation") - thxbob.lib.recipe.add_new_ingredient("bi-large-substation", { - type = "item", - name = "substation-3", - amount = 6} - ) - end - - if data.raw.item["electrum-alloy"] then - thxbob.lib.recipe.remove_ingredient("bi-large-substation", "steel-plate") - thxbob.lib.recipe.add_new_ingredient("bi-large-substation", { - type = "item", - name = "electrum-alloy", - amount = 10} - ) - end - - -- Huge Accumulator - if data.raw.item["large-accumulator-2"] then - thxbob.lib.recipe.remove_ingredient("bi-bio-accumulator", "accumulator") - thxbob.lib.recipe.add_new_ingredient("bi-bio-accumulator", { - type = "item", - name = "large-accumulator", - amount = 30} - ) - end - - if data.raw.item["aluminium-plate"] then - thxbob.lib.recipe.remove_ingredient("bi-bio-accumulator", "copper-cable") - thxbob.lib.recipe.add_new_ingredient("bi-bio-accumulator", { - type = "item", - name = "aluminium-plate", - amount = 50} - ) - end - - -- Solar Mat - if data.raw.item["aluminium-plate"] then - thxbob.lib.recipe.remove_ingredient("bi-solar-mat", "steel-plate") - thxbob.lib.recipe.add_new_ingredient("bi-solar-mat", { - type = "item", - name = "aluminium-plate", - amount = 1} - ) - end - - if data.raw.item["silicon-wafer"] then - thxbob.lib.recipe.remove_ingredient("bi-solar-mat", "copper-cable") - thxbob.lib.recipe.add_new_ingredient("bi-solar-mat", { - type = "item", - name = "silicon-wafer", - amount = 4} - ) - end - - -- Solar Boiler / Plant - if data.raw.item["angels-electric-boiler"] then - thxbob.lib.recipe.remove_ingredient("bi-solar-boiler-hidden-panel", "boiler") - thxbob.lib.recipe.add_new_ingredient("bi-solar-boiler-hidden-panel", { - type = "item", - name = "angels-electric-boiler", - amount = 1} - ) - end -end - -require("prototypes.Bio_Farm.compatible_recipes") -- Bob and Angels mesh -require("prototypes.Bio_Farm.technology2") - --- Replace fertilizer/advanced fertilizer + water with fluid fertilizers in Bio garden recipes! -BioInd.show("data-updates.lua -- BI.Settings.BI_Easy_Bio_Gardens", BI.Settings.BI_Easy_Bio_Gardens) -if BI.Settings.BI_Easy_Bio_Gardens then - BioInd.writeDebug("Must create fluid fertilizers!") - require("prototypes.Bio_Garden.fluid_fertilizer") -end - - --- Blacklist bioreactor in Assembler Pipe Passthrough -if mods["assembler-pipe-passthrough"] then - appmod.blacklist['bi-bio-reactor'] = true -end - --- Adds Bio recipes -if BI.Settings.BI_Bio_Fuel then - thxbob.lib.tech.add_recipe_unlock("bi-tech-advanced-biotechnology", "bi-cellulose-1") - thxbob.lib.tech.add_recipe_unlock("bi-tech-advanced-biotechnology", "bi-cellulose-2") - - -- Remove unlock for biomass-1 and add it again so all biomass recipes are next to each - -- other in the preview of technology unlocks! - thxbob.lib.tech.remove_recipe_unlock("bi-tech-advanced-biotechnology", "bi-biomass-1") - for u, unlock in ipairs({ - "bi-biomass-1", "bi-biomass-2", "bi-biomass-3", - "bi-battery", - "bi-biomass-conversion-1", "bi-biomass-conversion-2", "bi-biomass-conversion-3", "bi-biomass-conversion-4", - "bi-acid", "bi-bio-boiler" - }) do - thxbob.lib.tech.add_recipe_unlock("bi-tech-advanced-biotechnology", unlock) - end - - -- Added for 0.17.49/0.18.17 (changed for 0.18.29) - thxbob.lib.tech.add_recipe_unlock("bi-tech-coal-processing-2", "bi-basic-gas-processing") - - - if mods["angelspetrochem"] then - thxbob.lib.tech.add_recipe_unlock("bi-tech-advanced-biotechnology", "bi-sulfur-angels") - else - thxbob.lib.tech.add_recipe_unlock("bi-tech-advanced-biotechnology", "bi-sulfur") - end - else - thxbob.lib.recipe.add_new_ingredient("bi-adv-fertilizer-1", {type = "item", name = "fertilizer", amount = 50}) - thxbob.lib.recipe.remove_ingredient ("bi-adv-fertilizer-2", "fertilizer") - thxbob.lib.recipe.add_new_ingredient("bi-adv-fertilizer-2", {type = "item", name = "fertilizer", amount = 30}) -end - - ---- if the Alien Artifact is in the game, use it for some recipes -if data.raw.item["alien-artifact"] then - --- Advanced fertilizer will use Alien Artifact - thxbob.lib.recipe.remove_ingredient("bi-adv-fertilizer-1", "bi-biomass") - thxbob.lib.recipe.add_new_ingredient("bi-adv-fertilizer-1", { - type = "item", - name = "alien-artifact", - amount = 5} - ) - thxbob.lib.tech.add_recipe_unlock("bi-tech-advanced-biotechnology", "bi-adv-fertilizer-1") -end - - -------- Adds a Mk3 recipe for wood if you're playing with Natural Evolution Buildings -if mods["Natural_Evolution_Buildings"] then - thxbob.lib.recipe.remove_ingredient("bi-adv-fertilizer-1", "bi-biomass") - thxbob.lib.recipe.remove_ingredient("bi-adv-fertilizer-1", "alien-artifact") - thxbob.lib.recipe.add_new_ingredient("bi-adv-fertilizer-1", { - type = "fluid", - name = "NE_enhanced-nutrient-solution", - amount = 50} - ) -end - - ------------- Support for Bob's Greenhouse -if data.raw["item"]["bob-greenhouse"] then - data.raw["item"]["seedling"].place_result = "seedling" - data.raw["item"]["seedling"].icon = ICONPATH .. "Seedling.png" - data.raw["item"]["seedling"].icon_size = 64 - data.raw["item"]["fertilizer"].icon = ICONPATH .. "fertilizer.png" - data.raw["item"]["fertilizer"].icon_size = 64 - - data.raw["item"]["fertilizer"].place_as_tile = { - result = BioInd.AB_tiles() and "vegetation-green-grass-3" or "grass-3", - condition_size = 1, - condition = { layers = { water_tile = true }} - } -end - - -if settings.startup["angels-use-angels-barreling"] and settings.startup["angels-use-angels-barreling"].value then - data.raw.technology["bi-tech-fertilizer"].prerequisites = { - "bi-tech-bio-farming", - -- AND ( - "water-treatment", -- sulfur - -- OR - "angels-fluid-barreling", -- barreling (needed 'water-treatment' as prerequisites) - -- ) - } -end - - ------ Angels Merge ---- -if mods["angelspetrochem"] then - data.raw.item["pellet-coke"].icon = "__angelspetrochem__/graphics/icons/pellet-coke.png" - data.raw.item["pellet-coke"].icon_size = 32 - data.raw.item["pellet-coke"].fuel_acceleration_multiplier = 1.1 - data.raw.item["pellet-coke"].fuel_top_speed_multiplier = 1.2 - - data.raw.recipe["pellet-coke"].category = "biofarm-mod-smelting" - thxbob.lib.tech.remove_recipe_unlock ("angels-coal-processing-2", "pellet-coke") - thxbob.lib.tech.add_recipe_unlock("angels-coal-cracking", "pellet-coke") -end - - -if data.raw.item["ash"] and mods["pycoalprocessing"] then - thxbob.lib.recipe.replace_ingredient ("bi-fertilizer-2", "bi-ash", "ash") - - if mods["angelsrefining"] then - thxbob.lib.recipe.replace_ingredient ("bi-slag-slurry", "bi-ash", "ash") - end - - thxbob.lib.recipe.replace_ingredient ("bi-seed-2", "bi-ash", "ash") - thxbob.lib.recipe.replace_ingredient ("bi-seedling-2", "bi-ash", "ash") - thxbob.lib.recipe.replace_ingredient ("bi-logs-2", "bi-ash", "ash") - - data.raw.recipe["bi-ash-1"].result = "ash" - data.raw.recipe["bi-ash-2"].result = "ash" - - thxbob.lib.recipe.replace_ingredient ("bi-stone-brick", "bi-ash", "ash") - thxbob.lib.recipe.replace_ingredient ("bi-fertilizer-1", "bi-ash", "ash") - - if BI.Settings.BI_Bio_Fuel then - thxbob.lib.recipe.replace_ingredient ("bi-biomass-3", "bi-ash", "ash") - thxbob.lib.recipe.replace_ingredient ("bi-sulfur", "bi-ash", "ash") - thxbob.lib.recipe.replace_ingredient ("bi-sulfur-angels", "bi-ash", "ash") - - data.raw.recipe["bi-sulfur"].icon = ICONPATH .. "py_bio_sulfur.png" - data.raw.recipe["bi-sulfur"].icon_size = 64 - end - - data.raw.item["bi-ash"] = nil - data.raw.recipe["bi-ash-1"].icon = "__pycoalprocessinggraphics__/graphics/icons/ash.png" - data.raw.recipe["bi-ash-1"].icon_size = 32 - data.raw.recipe["bi-ash-2"].icon = "__pycoalprocessinggraphics__/graphics/icons/ash.png" - data.raw.recipe["bi-ash-2"].icon_size = 32 - - -- Use ash icon from pycoalprocessing in icons of recipes using ash - data.raw.recipe["bi-seed-2"].icon = ICONPATH .. "py_bio_seed2.png" - data.raw.recipe["bi-seed-2"].icon_size = 64 - data.raw.recipe["bi-seedling-2"].icon = ICONPATH .. "py_Seedling2.png" - data.raw.recipe["bi-seedling-2"].icon_size = 64 - data.raw.recipe["bi-logs-2"].icon = ICONPATH .. "py_raw-wood-mk2.png" - data.raw.recipe["bi-logs-2"].icon_size = 64 - data.raw.recipe["bi-ash-1"].icon = ICONPATH .. "py_ash_raw-wood.png" - data.raw.recipe["bi-ash-1"].icon_size = 64 - data.raw.recipe["bi-ash-2"].icon = ICONPATH .. "py_ash_woodpulp.png" - data.raw.recipe["bi-ash-2"].icon_size = 64 - data.raw.recipe["bi-stone-brick"].icon = ICONPATH .. "py_bi_stone_brick.png" - data.raw.recipe["bi-stone-brick"].icon_size = 64 - end - ------ If Bob's bobrevamp, then ---- -if mods["bobrevamp"] then - thxbob.lib.tech.remove_recipe_unlock ("bi-tech-coal-processing-1", "bi-solid-fuel") - thxbob.lib.tech.add_recipe_unlock("solid-fuel", "bi-solid-fuel") -end - ------ If Simple Silicon is active, add solar cell to Musk floor (solar mat) recipe -if mods["SimpleSilicon"] then - thxbob.lib.recipe.add_new_ingredient("bi-solar-mat", { - type = "item", - name = "SiSi-solar-cell", - amount = 1 - }) -end - - --- We may need liquid air and nitrogen -- but not if any of the following mods is active! - - - local ICONPATH = BioInd.modRoot .. "/graphics/icons/" - - -- We only want to create nitrogen if it doesn't exist yet. We then also need to create - -- liquid air. - if not data.raw.fluid["nitrogen"] then - data:extend({ - { - type = "fluid", - name = "nitrogen", - icon = ICONPATH .. "nitrogen.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "nitrogen.png", - icon_size = 64, - icon_mipmaps = 1, - } - }, - default_temperature = 25, - gas_temperature = -210, - max_temperature = 100, - heat_capacity = "1kJ", - base_color = {r = 0.0, g = 0.0, b = 1.0}, - flow_color = {r = 0.0, g = 0.0, b = 1.0}, - pressure_to_speed_ratio = 0.4, - flow_to_energy_ratio = 0.59, - order = "a[fluid]-b[nitrogen]" - }, - }) - BioInd.writeDebug("Made recipe for \"nitrogen\".") - - if not data.raw.fluid["liquid-air"] then - data:extend({ - { - type = "fluid", - name = "liquid-air", - icon = ICONPATH .. "liquid-air.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "liquid-air.png", - icon_size = 64, - icon_mipmaps = 1, - } - }, - default_temperature = 25, - gas_temperature = -100, - max_temperature = 100, - heat_capacity = "1kJ", - base_color = {r = 0, g = 0, b = 0}, - flow_color = {r = 0.5, g = 1.0, b = 1.0}, - pressure_to_speed_ratio = 0.4, - flow_to_energy_ratio = 0.59, - order = "a[fluid]-b[liquid-air]" - }, - }) - BioInd.writeDebug("Made recipe for \"liquid-air\".") - end - - -- Recipes for "bi-liquid-air" and "bi-nitrogen" aren't needed! - else - -- Remove recipe unlocks - thxbob.lib.tech.remove_recipe_unlock("bi-tech-fertilizer", "bi-liquid-air") - thxbob.lib.tech.remove_recipe_unlock("bi-tech-fertilizer", "bi-nitrogen") - BioInd.writeDebug("Removed recipe unlocks for \"bi-liquid-air\" and \"bi-nitrogen\"") - - -- Replace liquid air with oxygen (from Krastorio/K2) in recipes for Algae Biomass 2 and 3 - if data.raw.fluid.oxygen then - thxbob.lib.recipe.replace_ingredient("bi-biomass-2", "liquid-air", "oxygen") - thxbob.lib.recipe.replace_ingredient("bi-biomass-3", "liquid-air", "oxygen") - BioInd.writeDebug("Replaced \"liquid-air\" with \"oxygen\" in recipes \"bi-biomass-2\" and \"bi-biomass-3\"") - -- Perhaps there is no oxygen? But there's nitrogen for sure, so we fall back to that! - elseif data.raw.fluid.nitrogen then - thxbob.lib.recipe.replace_ingredient("bi-biomass-2", "liquid-air", "nitrogen") - thxbob.lib.recipe.replace_ingredient("bi-biomass-3", "liquid-air", "nitrogen") - BioInd.writeDebug("Replaced \"liquid-air\" with \"nitrogen\" in recipes \"bi-biomass-2\" and \"bi-biomass-3\"") - end - - -- Remove recipes for these fluids - data.raw.recipe["bi-liquid-air"] = nil - data.raw.recipe["bi-nitrogen"] = nil - BioInd.writeDebug("Removed recipes for \"nitrogen\" and \"liquid air\".") - end - --- Moved here from data-final-fixes.lua for 0.18.34/1.1.4! (Fixes https://mods.factorio.com/mod/Bio_Industries/discussion/5ff570bd916993002371332a) ----- Game Tweaks ---- Recipes -if BI.Settings.BI_Game_Tweaks_Recipe then - --- Concrete Recipe Tweak - thxbob.lib.recipe.remove_ingredient("concrete", "iron-ore") - thxbob.lib.recipe.add_new_ingredient("concrete", {type = "item", name = "iron-stick", amount = 2}) - - --- Stone Wall - thxbob.lib.recipe.add_new_ingredient("stone-wall", {type = "item", name = "iron-stick", amount = 1}) - - --- Rail (Remove Stone and Add Crushed Stone) - if data.raw.item["stone-crushed"] then - thxbob.lib.recipe.remove_ingredient("rail", "stone") - thxbob.lib.recipe.add_new_ingredient("rail", {type = "item", name = "stone-crushed", amount = 6}) - thxbob.lib.recipe.remove_ingredient("bi-rail-wood", "stone") - thxbob.lib.recipe.add_new_ingredient("bi-rail-wood", {type = "item", name = "stone-crushed", amount = 6}) - end - - -- vanilla rail recipe update - thxbob.lib.recipe.add_new_ingredient("rail", {type = "item", name = "concrete", amount = 6}) -end - - - --- Moved here from data-final-fixes.lua for 0.18.34/1.1.4! ----- Game Tweaks ---- Disassemble Recipes -require("prototypes.Bio_Tweaks.recipe") -if BI.Settings.BI_Game_Tweaks_Disassemble then - for recipe, tech in pairs({ - ["bi-burner-mining-drill-disassemble"] = "automation-2", - ["bi-burner-inserter-disassemble"] = "automation-2", - ["bi-long-handed-inserter-disassemble"] = "automation-2", - ["bi-stone-furnace-disassemble"] = "automation-2", - ["bi-steel-furnace-disassemble"] = "advanced-material-processing", - }) do - thxbob.lib.tech.add_recipe_unlock(tech, recipe) - end - -end - ---- Enable Productivity in Recipes -for recipe, r in pairs(data.raw.recipe) do - for p, pattern in ipairs({ - "bi%-acid", - "bi%-battery", - "bi%-biomass%-%d", - "bi%-biomass%-conversion%-%d", - "bi%-cellulose%-%d", - "bi%-crushed%-stone%-%d", - "bi%-liquid%-air", - "bi%-logs%-%d", - "bi%-nitrogen", - "bi%-plastic%-%d", - "bi%-press%-wood", - "bi%-resin%-pulp", - "bi%-resin%-wood", - "bi%-seed%-%d", - "bi%-seedling%-%d", - "bi%-stone%-brick", - "bi%-sulfur", - "bi%-sulfur%-angels", - "bi%-wood%-from%-pulp", - "bi%-woodpulp", - -- Added for 0.17.49/0.18.17 - "bi%-basic%-gas%-processing", - }) do - if recipe:match(pattern) then - BI_Functions.lib.allow_productivity(recipe) - break - end - end -end - - ------------------------------------------------------------------------------------- --- Add resistances to our hidden entities ------------------------------------------------------------------------------------- --- Make resistances for each damage type -local resistances = {} -for damage, d in pairs(data.raw["damage-type"]) do - resistances[#resistances + 1] = { - type = damage, - percent = 100 - } -end - --- Add resistances to prototypes --- (h_type is not guaranteed to be a prototype type -- it's the short handle that we --- use compound_entities.hidden!) -local h_type -for h_key, h_names in pairs(BI.hidden_entities.types) do - h_type = BioInd.HE_map[h_key] - for h_name, h in pairs(h_names) do - data.raw[h_type][h_name].resistances = resistances - BioInd.writeDebug("Added resistances to %s (%s): %s", - {h_name, h_type, data.raw[h_type][h_name].resistances}) - end -end - --- Adjust resistances for radar of the terraformers. Unlike the other hidden parts --- of compound entities, this one is visible, and should suffer the same as the base --- when it gets hurt. (Also, damaging the radar will damage the base entity as well.) -local compound = BioInd.compound_entities["bi-arboretum"] -local b = compound.base -local r = compound.hidden.radar -if b and r then - local resistances = data.raw[b.type][b.name].resistances - if resistances then - data.raw[r.type][r.name].resistances = util.table.deepcopy(resistances) - BioInd.writeDebug("Copied resistances from %s to %s!", {b.name, r.name}) - end -end ------------------------------------------------------------------------------------- --- Omnifluid will be confused by our bi-solar-boiler (the compound boiler + solar --- plant entity). Let's blacklist it if the mod is active! -BioInd.show("Omnifluid is active", mods["omnimatter_fluid"] or "false") -BioInd.show("forbidden_boilers", forbidden_boilers) - -if mods["omnimatter_fluid"] then - forbidden_boilers = forbidden_boilers or {} - forbidden_boilers["bi-solar-boiler"] = true -end -BioInd.writeDebug("OMNIFLUID Test! forbidden_boilers = %s", {forbidden_boilers}) - - ------------------------------------------------------------------------------------- --- If the Py-Suite is installed, we move our coal-processing unlocks to their techs! -local check, set -if mods["pyrawores"] then - -- Are all techs there? - check = true - for i = 1, 3 do - if not data.raw.technology["coal-mk0" .. i] then - check = false - break - end - end - - if check then - set = true - local unlocks = require("prototypes.Bio_Farm.coal_processing") - for i = 1, 3 do - for u, unlock in ipairs(unlocks[i]) do - thxbob.lib.tech.add_recipe_unlock("coal-mk0" .. i, unlock.recipe) -BioInd.writeDebug("Added recipe %s to unlocks of %s", {unlock.recipe, "coal-mk0" .. i}) - end - end - end -end --- PyRawOres has priority! -if mods["pycoalprocessing"] and not set then - -- Are all techs there? - check = true - for i = 1, 3 do - if not data.raw.technology["coal-processing-" .. i] then - check = false - break - end - end - - if check then - set = true - local unlocks = require("prototypes.Bio_Farm.coal_processing") - for i = 1, 3 do - for u, unlock in ipairs(unlocks[i]) do - thxbob.lib.tech.add_recipe_unlock("coal-processing-" .. i, unlock.recipe) -BioInd.writeDebug("Added recipe %s to unlocks of %s", {unlock.recipe, "coal-processing-" .. i}) - end - end - end -end -if set then - for i = 1, 3 do - data.raw.technology["bi-tech-coal-processing-" .. i] = nil -BioInd.writeDebug("Removed technology " .. "bi-tech-coal-processing-" .. i) - end -end - --- Compatibility with Industrial Revolution -require("prototypes.Industrial_Revolution") - - ------------------------------------------------------------------------------------- --- Add icons to our prototypes -BioInd.BI_add_icons() +local BioInd = require('common')('Bio_Industries_2') + + +for var, name in pairs({ + Bio_Cannon = "BI_Bio_Cannon", + BI_Bio_Fuel = "BI_Bio_Fuel", + BI_Easy_Bio_Gardens = "BI_Easy_Bio_Gardens", + BI_Game_Tweaks_Stack_Size = "BI_Game_Tweaks_Stack_Size", + BI_Game_Tweaks_Recipe = "BI_Game_Tweaks_Recipe", + BI_Game_Tweaks_Tree = "BI_Game_Tweaks_Tree", + BI_Game_Tweaks_Player = "BI_Game_Tweaks_Player", + BI_Game_Tweaks_Disassemble = "BI_Game_Tweaks_Disassemble", + BI_Game_Tweaks_Bot = "BI_Game_Tweaks_Bot", + BI_Solar_Additions = "BI_Solar_Additions", +}) do + BI.Settings[var] = BioInd.get_startup_setting(name) +end + + +BioInd.show("BI.Settings.BI_Easy_Bio_Gardens", BI.Settings.BI_Easy_Bio_Gardens) +local ICONPATH = "__Bio_Industries_2__/graphics/icons/" +local ICONPATH = BioInd.modRoot .. "/graphics/icons/" +local ICONPATH_E = BioInd.modRoot .. "/graphics/icons/entity/" +local ICONPATH_PY = "__Bio_Industries_2__/graphics/icons/mod_py/" +local ICONPATH_BA = BioInd.modRoot .. "/graphics/icons/mod_bobangels/" + +----Update the Wood Pipe Images +require("prototypes.Wood_Products.pipes") + +-- Damage Bonus to Ammo +-- Don't duplicate what NE does +if not mods["Natural_Evolution_Buildings"] then + thxbob.lib.tech.add_recipe_unlock("military", "bi-dart-magazine-standard") + thxbob.lib.tech.add_recipe_unlock("military-2", "bi-dart-magazine-enhanced") + thxbob.lib.tech.add_recipe_unlock("military-3", "bi-dart-magazine-poison") +end + +require("prototypes.Bio_Turret.technology-updates") +require("prototypes.Bio_Cannon.technology-updates") + +if not mods["Natural_Evolution_Buildings"] and BI.Settings.Bio_Cannon then + -- add Prototype Artillery as pre req for artillery + thxbob.lib.tech.add_prerequisite("artillery", "bi-tech-bio-cannon") +end + + +--- Move Stone Crusher up in tech tree +thxbob.lib.tech.add_recipe_unlock("steel-processing", "bi-stone-crusher") +thxbob.lib.tech.add_recipe_unlock("steel-processing", "bi-crushed-stone-1") + +-- Unlock recipes for Crushed Stone from concrete/hazard concrete +thxbob.lib.tech.add_recipe_unlock("advanced-material-processing-2", "bi-crushed-stone-2") +thxbob.lib.tech.add_recipe_unlock("advanced-material-processing-2", "bi-crushed-stone-3") +thxbob.lib.tech.add_recipe_unlock("advanced-material-processing-2", "bi-crushed-stone-4") +thxbob.lib.tech.add_recipe_unlock("advanced-material-processing-2", "bi-crushed-stone-5") + +-- Add Wooden Chests +thxbob.lib.tech.add_recipe_unlock("logistics", "bi-wooden-chest-large") +thxbob.lib.tech.add_recipe_unlock("logistics-2", "bi-wooden-chest-huge") +thxbob.lib.tech.add_recipe_unlock("logistics-3", "bi-wooden-chest-giga") + +-- Add Big and Huge electric poles to tech tree + +thxbob.lib.tech.add_recipe_unlock("logistics", "bi-wooden-pole-big") +thxbob.lib.tech.add_recipe_unlock("electric-energy-distribution-2", "bi-wooden-pole-huge") + +--- Wood Floors +-- Make wood placeable only if Dectorio isn't installed. Should leave existing flooring intact. +if not mods["Dectorio"] then + data.raw.item["wood"].place_as_tile = { + result = "bi-wood-floor", + condition_size = 4, + condition = { layers = { water_tile = true } } + } +end + + +--- Make it so that the Base game tile "grass" can't be placed in blueprints +--- New as of 0.16 +for _, tile in ipairs { "grass-1", "grass-2", "grass-3", "grass-4" } do + BI_Functions.lib.remove_from_blueprint(tile) +end + +if mods["alien-biomes"] then + BioInd.writeDebug("Removing AB tiles from blueprints") + local patterns = { + "frozen%-snow%-%d", + "mineral%-aubergine%-dirt%-%d", + "mineral%-aubergine%-sand%-%d", + "mineral%-beige%-dirt%-%d", + "mineral%-beige%-sand%-%d", + "mineral%-black%-dirt%-%d", + "mineral%-black%-sand%-%d", + "mineral%-brown%-dirt%-%d", + "mineral%-brown%-sand%-%d", + "mineral%-cream%-dirt%-%d", + "mineral%-cream%-sand%-%d", + "mineral%-dustyrose%-dirt%-%d", + "mineral%-dustyrose%-sand%-%d", + "mineral%-grey%-dirt%-%d", + "mineral%-grey%-sand%-%d", + "mineral%-purple%-dirt%-%d", + "mineral%-purple%-sand%-%d", + "mineral%-red%-dirt%-%d", + "mineral%-red%-sand%-%d", + "mineral%-tan%-dirt%-%d", + "mineral%-tan%-sand%-%d", + "mineral%-violet%-dirt%-%d", + "mineral%-violet%-sand%-%d", + "mineral%-white%-dirt%-%d", + "mineral%-white%-sand%-%d", + "vegetation%-blue%-grass%-%d", + "vegetation%-green%-grass%-%d", + "vegetation%-mauve%-grass%-%d", + "vegetation%-olive%-grass%-%d", + "vegetation%-orange%-grass%-%d", + "vegetation%-purple%-grass%-%d", + "vegetation%-red%-grass%-%d", + "vegetation%-turquoise%-grass%-%d", + "vegetation%-violet%-grass%-%d", + "vegetation%-yellow%-grass%-%d", + "volcanic%-blue%-heat%-%d", + "volcanic%-green%-heat%-%d", + "volcanic%-orange%-heat%-%d", + "volcanic%-purple%-heat%-%d", + } + for tile_name, tile in pairs(data.raw.tile) do + for p, pattern in ipairs(patterns) do + if tile_name:match(pattern) then + BI_Functions.lib.remove_from_blueprint(tile) + break + end + end + end +end + +--- Adds Solar Farm, Solar Plant, Musk Floor, Bio Accumulator and Substation to Tech tree +if BI.Settings.BI_Solar_Additions then + if data.raw.technology["bob-solar-energy-2"] then + thxbob.lib.tech.add_recipe_unlock("bob-electric-energy-accumulators-2", "bi-bio-accumulator") + thxbob.lib.tech.add_recipe_unlock("electric-energy-distribution-2", "bi-large-substation") + thxbob.lib.tech.add_recipe_unlock("bob-solar-energy-2", "bi-bio-solar-farm") + thxbob.lib.tech.add_recipe_unlock("bob-solar-energy-2", "bi-solar-boiler-hidden-panel") + else + thxbob.lib.tech.add_recipe_unlock("electric-energy-accumulators", "bi-bio-accumulator") + thxbob.lib.tech.add_recipe_unlock("electric-energy-distribution-2", "bi-large-substation") + thxbob.lib.tech.add_recipe_unlock("solar-energy", "bi-bio-solar-farm") + thxbob.lib.tech.add_recipe_unlock("solar-energy", "bi-solar-boiler-hidden-panel") + end + + if data.raw.technology["bob-solar-energy-3"] then + thxbob.lib.tech.add_recipe_unlock("bob-solar-energy-3", "bi-solar-mat") + else + thxbob.lib.tech.add_recipe_unlock("solar-energy", "bi-solar-mat") + end + + --- Electric redo if Bob' Electric + -- Huge Electric Pole + if data.raw.item["bob-tinned-copper-cable"] then + thxbob.lib.recipe.remove_ingredient("bi-wooden-pole-huge", "wood") + thxbob.lib.recipe.add_new_ingredient("bi-wooden-pole-huge", { + type = "item", + name = "bob-tinned-copper-cable", + amount = 15 + } + ) + end + + -- Solar Farm + if data.raw.item["bob-solar-panel-2"] then + thxbob.lib.recipe.remove_ingredient("bi-bio-solar-farm", "solar-panel") + thxbob.lib.recipe.add_new_ingredient("bi-bio-solar-farm", { + type = "item", + name = "bob-solar-panel-2", + amount = 30 + } + ) + end + + -- Huge Sub Station + if data.raw.item["bob-substation-3"] then + thxbob.lib.recipe.remove_ingredient("bi-large-substation", "substation") + thxbob.lib.recipe.add_new_ingredient("bi-large-substation", { + type = "item", + name = "bob-substation-3", + amount = 6 + } + ) + thxbob.lib.recipe.remove_ingredient("bi-large-substation", "steel-plate") + thxbob.lib.recipe.add_new_ingredient("bi-large-substation", { + type = "item", + name = "bi-wooden-pole-huge", + amount = 6 + } + ) + end + + if data.raw.item["electrum-alloy"] then + thxbob.lib.recipe.remove_ingredient("bi-large-substation", "steel-plate") + thxbob.lib.recipe.add_new_ingredient("bi-large-substation", { + type = "item", + name = "electrum-alloy", + amount = 10 + } + ) + end + + -- Huge Accumulator + if data.raw.item["large-accumulator-2"] then + thxbob.lib.recipe.remove_ingredient("bi-bio-accumulator", "accumulator") + thxbob.lib.recipe.add_new_ingredient("bi-bio-accumulator", { + type = "item", + name = "large-accumulator", + amount = 30 + } + ) + end + + if data.raw.item["bob-aluminium-plate"] then + thxbob.lib.recipe.remove_ingredient("bi-bio-accumulator", "copper-cable") + thxbob.lib.recipe.add_new_ingredient("bi-bio-accumulator", { + type = "item", + name = "bob-aluminium-plate", + amount = 50 + } + ) + end + + -- Solar Mat + if data.raw.item["bob-aluminium-plate"] then + thxbob.lib.recipe.remove_ingredient("bi-solar-mat", "steel-plate") + thxbob.lib.recipe.add_new_ingredient("bi-solar-mat", { + type = "item", + name = "bob-aluminium-plate", + amount = 1 + } + ) + end + + if data.raw.item["bob-silicon-wafer"] then + thxbob.lib.recipe.remove_ingredient("bi-solar-mat", "copper-cable") + thxbob.lib.recipe.add_new_ingredient("bi-solar-mat", { + type = "item", + name = "bob-silicon-wafer", + amount = 4 + } + ) + end + + -- Solar Boiler / Plant + if data.raw.item["angels-electric-boiler"] then + thxbob.lib.recipe.remove_ingredient("bi-solar-boiler-hidden-panel", "boiler") + thxbob.lib.recipe.add_new_ingredient("bi-solar-boiler-hidden-panel", { + type = "item", + name = "angels-electric-boiler", + amount = 1 + } + ) + end +end + +require("prototypes.Bio_Farm.compatible_recipes") -- Bob and Angels mesh +require("prototypes.Bio_Farm.technology2") + + +-- Replace fertilizer/advanced fertilizer + water with fluid fertilizers in Bio garden recipes! +BioInd.show("data-updates.lua -- BI.Settings.BI_Easy_Bio_Gardens", BI.Settings.BI_Easy_Bio_Gardens) +if BI.Settings.BI_Easy_Bio_Gardens then + BioInd.writeDebug("Must create fluid fertilizers!") + require("prototypes.Bio_Garden.fluid_fertilizer") +end + + +-- Blacklist bioreactor in Assembler Pipe Passthrough +if mods["assembler-pipe-passthrough"] then + appmod.blacklist['bi-bio-reactor'] = true +end + +-- Adds Bio recipes +if BI.Settings.BI_Bio_Fuel then + thxbob.lib.tech.add_recipe_unlock("bi-tech-advanced-biotechnology", "bi-cellulose-1") + thxbob.lib.tech.add_recipe_unlock("bi-tech-advanced-biotechnology", "bi-cellulose-2") + + -- Remove unlock for biomass-1 and add it again so all biomass recipes are next to each + -- other in the preview of technology unlocks! + thxbob.lib.tech.remove_recipe_unlock("bi-tech-advanced-biotechnology", "bi-biomass-1") + for u, unlock in ipairs({ + "bi-biomass-1", "bi-biomass-2", "bi-biomass-3", + "bi-battery", + "bi-biomass-conversion-1", "bi-biomass-conversion-2", "bi-biomass-conversion-3", "bi-biomass-conversion-4", + "bi-acid", "bi-bio-boiler" + }) do + thxbob.lib.tech.add_recipe_unlock("bi-tech-advanced-biotechnology", unlock) + end + + -- Added for 0.17.49/0.18.17 (changed for 0.18.29) + thxbob.lib.tech.add_recipe_unlock("bi-tech-coal-processing-2", "bi-basic-gas-processing") + + + if mods["angelspetrochem"] then + thxbob.lib.tech.add_recipe_unlock("bi-tech-advanced-biotechnology", "bi-sulfur-angels") + else + thxbob.lib.tech.add_recipe_unlock("bi-tech-advanced-biotechnology", "bi-sulfur") + end +else + thxbob.lib.recipe.add_new_ingredient("bi-adv-fertilizer-1", { type = "item", name = "fertilizer", amount = 50 }) + thxbob.lib.recipe.remove_ingredient("bi-adv-fertilizer-2", "fertilizer") + thxbob.lib.recipe.add_new_ingredient("bi-adv-fertilizer-2", { type = "item", name = "fertilizer", amount = 30 }) +end + + +--- if the Alien Artifact is in the game, use it for some recipes +if data.raw.item["alien-artifact"] then + --- Advanced fertilizer will use Alien Artifact + thxbob.lib.recipe.remove_ingredient("bi-adv-fertilizer-1", "bi-biomass") + thxbob.lib.recipe.add_new_ingredient("bi-adv-fertilizer-1", { + type = "item", + name = "alien-artifact", + amount = 5 + } + ) + thxbob.lib.tech.add_recipe_unlock("bi-tech-advanced-biotechnology", "bi-adv-fertilizer-1") +end + + +------- Adds a Mk3 recipe for wood if you're playing with Natural Evolution Buildings +if mods["Natural_Evolution_Buildings"] then + thxbob.lib.recipe.remove_ingredient("bi-adv-fertilizer-1", "bi-biomass") + thxbob.lib.recipe.remove_ingredient("bi-adv-fertilizer-1", "alien-artifact") + thxbob.lib.recipe.add_new_ingredient("bi-adv-fertilizer-1", { + type = "fluid", + name = "NE_enhanced-nutrient-solution", + amount = 50 + } + ) +end + + +if settings.startup["angels-use-angels-barreling"] and settings.startup["angels-use-angels-barreling"].value then + data.raw.technology["bi-tech-fertilizer"].prerequisites = { + "bi-tech-bio-farming", + -- AND ( + "water-treatment", -- sulfur + -- OR + "angels-fluid-barreling", -- barreling (needed 'water-treatment' as prerequisites) + -- ) + } +end + + +----- Angels Merge ---- +if mods["angelspetrochem"] then + data.raw.item["pellet-coke"].icon = "__angelspetrochem__/graphics/icons/pellet-coke.png" + data.raw.item["pellet-coke"].icon_size = 32 + data.raw.item["pellet-coke"].fuel_acceleration_multiplier = 1.1 + data.raw.item["pellet-coke"].fuel_top_speed_multiplier = 1.2 + + data.raw.recipe["pellet-coke"].category = "biofarm-mod-smelting" + thxbob.lib.tech.remove_recipe_unlock("angels-coal-processing-2", "pellet-coke") + thxbob.lib.tech.add_recipe_unlock("angels-coal-cracking", "pellet-coke") +end + + +if data.raw.item["ash"] and mods["pycoalprocessing"] then + thxbob.lib.recipe.replace_ingredient("bi-fertilizer-2", "bi-ash", "ash") + + if mods["angelsrefining"] then + thxbob.lib.recipe.replace_ingredient("bi-slag-slurry", "bi-ash", "ash") + end + + thxbob.lib.recipe.replace_ingredient("bi-seed-2", "bi-ash", "ash") + thxbob.lib.recipe.replace_ingredient("bi-seedling-2", "bi-ash", "ash") + thxbob.lib.recipe.replace_ingredient("bi-logs-2", "bi-ash", "ash") + + data.raw.recipe["bi-ash-1"].result = "ash" + data.raw.recipe["bi-ash-2"].result = "ash" + + thxbob.lib.recipe.replace_ingredient("bi-stone-brick", "bi-ash", "ash") + thxbob.lib.recipe.replace_ingredient("bi-fertilizer-1", "bi-ash", "ash") + + if BI.Settings.BI_Bio_Fuel then + thxbob.lib.recipe.replace_ingredient("bi-biomass-3", "bi-ash", "ash") + thxbob.lib.recipe.replace_ingredient("bi-sulfur", "bi-ash", "ash") + thxbob.lib.recipe.replace_ingredient("bi-sulfur-angels", "bi-ash", "ash") + + data.raw.recipe["bi-sulfur"].icon = ICONPATH_PY .. "py_bio_sulfur.png" + data.raw.recipe["bi-sulfur"].icon_size = 64 + end + + data.raw.item["bi-ash"] = nil + data.raw.recipe["bi-ash-1"].icon = "__pycoalprocessinggraphics__/graphics/icons/ash.png" + data.raw.recipe["bi-ash-1"].icon_size = 32 + data.raw.recipe["bi-ash-2"].icon = "__pycoalprocessinggraphics__/graphics/icons/ash.png" + data.raw.recipe["bi-ash-2"].icon_size = 32 + + -- Use ash icon from pycoalprocessing in icons of recipes using ash + data.raw.recipe["bi-seed-2"].icon = ICONPATH_PY .. "py_bio_seed2.png" + data.raw.recipe["bi-seed-2"].icon_size = 64 + data.raw.recipe["bi-seedling-2"].icon = ICONPATH_PY .. "py_Seedling2.png" + data.raw.recipe["bi-seedling-2"].icon_size = 64 + data.raw.recipe["bi-logs-2"].icon = ICONPATH_PY .. "py_raw-wood-mk2.png" + data.raw.recipe["bi-logs-2"].icon_size = 64 + data.raw.recipe["bi-ash-1"].icon = ICONPATH_PY .. "py_ash_raw-wood.png" + data.raw.recipe["bi-ash-1"].icon_size = 64 + data.raw.recipe["bi-ash-2"].icon = ICONPATH_PY .. "py_ash_woodpulp.png" + data.raw.recipe["bi-ash-2"].icon_size = 64 + data.raw.recipe["bi-stone-brick"].icon = ICONPATH_PY .. "py_bi_stone_brick.png" + data.raw.recipe["bi-stone-brick"].icon_size = 64 +end + +----- If Bob's bobrevamp, then ---- +if mods["bobrevamp"] then + thxbob.lib.tech.remove_recipe_unlock("bi-tech-coal-processing-1", "bi-solid-fuel") + thxbob.lib.tech.add_recipe_unlock("solid-fuel", "bi-solid-fuel") +end + +----- If Simple Silicon is active, add solar cell to Musk floor (solar mat) recipe +if mods["SimpleSilicon"] then + thxbob.lib.recipe.add_new_ingredient("bi-solar-mat", { + type = "item", + name = "SiSi-solar-cell", + amount = 1 + }) +end + + +-- We may need liquid air and nitrogen -- but not if any of the following mods is active! + +-- We only want to create nitrogen if it doesn't exist yet. We then also need to create +-- liquid air. + +if not data.raw.fluid["nitrogen"] and not data.raw.fluid["kr-nitrogen"] then + data:extend({ + { + type = "fluid", + name = "nitrogen", + icon = ICONPATH .. "nitrogen.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "nitrogen.png", + icon_size = 64, + icon_mipmaps = 1, + } + }, + default_temperature = 25, + gas_temperature = -210, + max_temperature = 100, + heat_capacity = "1kJ", + base_color = { r = 0.0, g = 0.0, b = 1.0 }, + flow_color = { r = 0.0, g = 0.0, b = 1.0 }, + pressure_to_speed_ratio = 0.4, + flow_to_energy_ratio = 0.59, + subgroup = "bio-bio-farm-intermediate-product", + order = "ab" + }, + }) + BioInd.writeDebug("Made recipe for \"nitrogen\".") + + if not data.raw.fluid["liquid-air"] then + data:extend({ + { + type = "fluid", + name = "liquid-air", + icon = ICONPATH .. "liquid-air.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "liquid-air.png", + icon_size = 64, + icon_mipmaps = 1, + } + }, + default_temperature = 25, + gas_temperature = -100, + max_temperature = 100, + heat_capacity = "1kJ", + base_color = { r = 0, g = 0, b = 0 }, + flow_color = { r = 0.5, g = 1.0, b = 1.0 }, + pressure_to_speed_ratio = 0.4, + flow_to_energy_ratio = 0.59, + subgroup = "bio-bio-farm-intermediate-product", + order = "aa" + }, + }) + BioInd.writeDebug("Made recipe for \"liquid-air\".") + end + + -- Recipes for "bi-liquid-air" and "bi-nitrogen" aren't needed! +else + local oxygen = data.raw.fluid["kr-oxygen"] and "kr-oxygen" or "oxygen" + local nitrogen = data.raw.fluid["kr-nitrogen"] and "kr-nitrogen" or "nitrogen" + + -- Remove recipe unlocks + thxbob.lib.tech.remove_recipe_unlock("bi-tech-fertilizer", "bi-liquid-air") + thxbob.lib.tech.remove_recipe_unlock("bi-tech-fertilizer", "bi-nitrogen") + BioInd.writeDebug("Removed recipe unlocks for \"bi-liquid-air\" and \"bi-nitrogen\"") + + -- Replace liquid air with oxygen (from Krastorio/K2) in recipes for Algae Biomass 2 and 3 + if data.raw.fluid[oxygen] then + thxbob.lib.recipe.replace_ingredient("bi-biomass-2", "liquid-air", oxygen) + thxbob.lib.recipe.replace_ingredient("bi-biomass-3", "liquid-air", oxygen) + BioInd.writeDebug("Replaced \"liquid-air\" with \"oxygen\" in recipes \"bi-biomass-2\" and \"bi-biomass-3\"") + -- Perhaps there is no oxygen? But there's nitrogen for sure, so we fall back to that! + elseif data.raw.fluid[nitrogen] then + thxbob.lib.recipe.replace_ingredient("bi-biomass-2", "liquid-air", nitrogen) + thxbob.lib.recipe.replace_ingredient("bi-biomass-3", "liquid-air", nitrogen) + BioInd.writeDebug("Replaced \"liquid-air\" with \"nitrogen\" in recipes \"bi-biomass-2\" and \"bi-biomass-3\"") + end + + -- Remove recipes for these fluids + data.raw.recipe["bi-liquid-air"] = nil + data.raw.recipe["bi-nitrogen"] = nil + BioInd.writeDebug("Removed recipes for \"nitrogen\" and \"liquid air\".") +end + + + -- Replace nitrogen (BI) with bob-nitrogen (Bob's) in recipe "bi-nitrogen" +if data.raw.fluid["bob-nitrogen"] then + local nitrogen = data.raw.fluid["kr-nitrogen"] and "kr-nitrogen" or "nitrogen" + thxbob.lib.recipe.remove_result("bi-nitrogen", nitrogen) + thxbob.lib.recipe.add_result("bi-nitrogen", { + type = "fluid", + name = "bob-nitrogen", + amount = 40 + }) + + thxbob.lib.recipe.replace_ingredient("bi-fertilizer-1", nitrogen, "bob-nitrogen") + thxbob.lib.recipe.replace_ingredient("bi-fertilizer-2", nitrogen, "bob-nitrogen") + + BioInd.writeDebug("Update nitrogen compatibility for Bob's") + +end + +-- Replace liquid-air (BI) with bob-liquid-air (Bob's) in recipe "bi-liquid-air" +if data.raw.fluid["bob-liquid-air"] then + + thxbob.lib.recipe.remove_result("bi-liquid-air", "liquid-air") + thxbob.lib.recipe.add_result("bi-liquid-air", { + type = "fluid", + name = "bob-liquid-air", + amount = 100 + }) + + thxbob.lib.recipe.replace_ingredient("bi-nitrogen", "liquid-air", "bob-liquid-air") + thxbob.lib.recipe.replace_ingredient("bi-biomass-2", "liquid-air", "bob-liquid-air") + thxbob.lib.recipe.replace_ingredient("bi-biomass-3", "liquid-air", "bob-liquid-air") + + BioInd.writeDebug("Update liquid-air compatibility for Bob's") + +end + +------------ Support for Bob's Greenhouse +-- Replace bob-fertiliser (Bob's) with fertilizer (BI) in recipe "bob-fertiliser" +if data.raw["item"]["bob-greenhouse"] then + + data.raw["item"]["bob-fertiliser"].icon = ICONPATH .. "fertilizer.png" + data.raw["item"]["bob-fertiliser"].icon_size = 64 + data.raw["recipe"]["bob-fertiliser"].icon = ICONPATH .. "fertilizer.png" + data.raw["recipe"]["bob-fertiliser"].icon_size = 64 + + thxbob.lib.recipe.remove_result("bob-fertiliser", "bob-fertiliser") + thxbob.lib.recipe.add_result("bob-fertiliser", { + type = "item", + name = "fertilizer", + amount = 1 + }) + + + thxbob.lib.recipe.replace_ingredient("bob-advanced-greenhouse-cycle", "bob-fertiliser", "fertilizer") + + data.raw["item"]["bob-fertiliser"].place_as_tile = { + result = BioInd.AB_tiles() and "vegetation-green-grass-3" or "grass-3", + condition_size = 1, + condition = { layers = { water_tile = true } } + } + + + data.raw["item"]["bob-seedling"].place_result = "seedling" + data.raw["item"]["bob-seedling"].icon = ICONPATH .. "Seedling.png" + data.raw["item"]["bob-seedling"].icon_size = 64 + data.raw["recipe"]["bob-seedling"].icon = ICONPATH .. "Seedling.png" + data.raw["recipe"]["bob-seedling"].icon_size = 64 + data.raw["recipe"]["bob-seedling"].main_product = "seedling" + + + thxbob.lib.recipe.replace_ingredient("bob-basic-greenhouse-cycle", "bob-seedling", "seedling") + thxbob.lib.recipe.replace_ingredient("bob-advanced-greenhouse-cycle", "bob-seedling", "seedling") + thxbob.lib.recipe.remove_result("bob-seedling", "bob-seedling") + thxbob.lib.recipe.add_result("bob-seedling", { + type = "item", + name = "seedling", + amount_min = 1, + amount_max = 6 + }) + + + BioInd.writeDebug("Update fertiliser compatibility for Bob's") + +end + + + -- Replace Bob's Resin with BI Resin +if data.raw.item["bob-resin"] then + + if data.raw.recipe["bob-resin-wood"] then + thxbob.lib.recipe.remove_result("bob-resin-wood", "bob-resin") + thxbob.lib.recipe.add_result("bob-resin-wood", { + type = "item", + name = "resin", + amount = 1 + }) + BioInd.writeDebug("Replace Bob's Resin with BI Resin in Recipe 'bob-resin-wood'") + end + + if data.raw.recipe["bob-resin-oil"] then + thxbob.lib.recipe.remove_result("bob-resin-oil", "bob-resin") + thxbob.lib.recipe.add_result("bob-resin-oil", { + type = "item", + name = "resin", + amount = 1 + }) + BioInd.writeDebug("Replace Bob's Resin with BI Resin in Recipe 'bob-resin-oil'") + end + + if data.raw.recipe["bob-rubber"] then + data.raw.recipe["bob-rubber"].icon = ICONPATH_BA .. "rubber.png" + data.raw.recipe["bob-rubber"].icon_size = 32 + thxbob.lib.recipe.replace_ingredient("bob-rubber", "bob-resin", "resin") + BioInd.writeDebug("Replace Bob's Resin with BI Resin in Recipe 'bob-rubber'") + end + + if data.raw.recipe["bob-phenolic-board"] then + thxbob.lib.recipe.replace_ingredient("bob-phenolic-board", "bob-resin", "resin") + BioInd.writeDebug("Replace Bob's Resin with BI Resin in Recipe 'bob-phenolic-board'") + end + + if data.raw.recipe["bob-solder"] then + thxbob.lib.recipe.replace_ingredient("bob-solder", "bob-resin", "resin") + BioInd.writeDebug("Replace Bob's Resin with BI Resin in Recipe 'bob-solder'") + end + + +end + +--- Updaet seeds to work with Space Age if present. + +if data.raw.item["tree-seed"] then + + --data.raw.item["bi-seed"] = nil -- We can remove BI's seed, since it won't be used. + data.raw.item["bi-seed"].plant_result = "tree-plant" + data.raw.item["bi-seed"].place_result = "tree-plant" + data.raw.item["tree-seed"].stack_size = 200 -- Update tree seed stack size + + thxbob.lib.recipe.remove_result("bi-seed-1", "bi-seed") + thxbob.lib.recipe.add_result("bi-seed-1", { + type = "item", + name = "tree-seed", + amount_min = 30, + amount_max = 50 + }) + thxbob.lib.recipe.remove_result("bi-seed-2", "bi-seed") + thxbob.lib.recipe.add_result("bi-seed-2", { + type = "item", + name = "tree-seed", + amount_min = 40, + amount_max = 60 + }) + thxbob.lib.recipe.remove_result("bi-seed-3", "bi-seed") + thxbob.lib.recipe.add_result("bi-seed-3", { + type = "item", + name = "tree-seed", + amount_min = 50, + amount_max = 70 + }) + thxbob.lib.recipe.remove_result("bi-seed-4", "bi-seed") + thxbob.lib.recipe.add_result("bi-seed-4", { + type = "item", + name = "tree-seed", + amount_min = 60, + amount_max = 100 + }) + + thxbob.lib.recipe.replace_ingredient("bi-seed-1", "bi-seed", "tree-seed") + thxbob.lib.recipe.replace_ingredient("bi-seed-2", "bi-seed", "tree-seed") + thxbob.lib.recipe.replace_ingredient("bi-seed-3", "bi-seed", "tree-seed") + thxbob.lib.recipe.replace_ingredient("bi-seed-4", "bi-seed", "tree-seed") + thxbob.lib.recipe.replace_ingredient("bi-seedling-1", "bi-seed", "tree-seed") + thxbob.lib.recipe.replace_ingredient("bi-seedling-2", "bi-seed", "tree-seed") + thxbob.lib.recipe.replace_ingredient("bi-seedling-3", "bi-seed", "tree-seed") + thxbob.lib.recipe.replace_ingredient("bi-seedling-4", "bi-seed", "tree-seed") + thxbob.lib.recipe.replace_ingredient("bi-seed-bomb-basic", "bi-seed", "tree-seed") + thxbob.lib.recipe.replace_ingredient("bi-seed-bomb-standard", "bi-seed", "tree-seed") + thxbob.lib.recipe.replace_ingredient("bi-seed-bomb-advanced", "bi-seed", "tree-seed") + + if data.raw.recipe["bi-seed-bomb-basic-recycling"] then + + thxbob.lib.recipe.remove_result("bi-seed-bomb-basic-recycling", "bi-seed") + thxbob.lib.recipe.add_result("bi-seed-bomb-basic-recycling", { + type = "item", + name = "tree-seed", + amount = 100, + }) + + end + + if data.raw.recipe["bi-seed-bomb-standard-recycling"] then + + thxbob.lib.recipe.remove_result("bi-seed-bomb-standard-recycling", "bi-seed") + thxbob.lib.recipe.add_result("bi-seed-bomb-standard-recycling", { + type = "item", + name = "tree-seed", + amount = 100, + }) + + end + + if data.raw.recipe["bi-seed-bomb-advanced-recycling"] then + + thxbob.lib.recipe.remove_result("bi-seed-bomb-advanced-recycling", "bi-seed") + thxbob.lib.recipe.add_result("bi-seed-bomb-advanced-recycling", { + type = "item", + name = "tree-seed", + amount = 100, + }) + + end + + if data.raw.item["tree-plant"] then + bobmods.lib.recipe.update_recycling_recipe({ + "bi-seed-bomb-basic", + "bi-seed-bomb-standard", + "bi-seed-bomb-advanced", + }) + end + + BioInd.writeDebug("Replace BI's Seed with Space Age Tree-seed") + +end + +-- Moved here from data-final-fixes.lua for 0.18.34/1.1.4! (Fixes https://mods.factorio.com/mod/Bio_Industries/discussion/5ff570bd916993002371332a) +---- Game Tweaks ---- Recipes +if BI.Settings.BI_Game_Tweaks_Recipe then + --- Concrete Recipe Tweak + thxbob.lib.recipe.remove_ingredient("concrete", "iron-ore") + thxbob.lib.recipe.add_new_ingredient("concrete", { type = "item", name = "iron-stick", amount = 2 }) + + --- Stone Wall + thxbob.lib.recipe.add_new_ingredient("stone-wall", { type = "item", name = "iron-stick", amount = 1 }) + + --- Rail Stuff + --(Remove Stone and Add Crushed Stone) + if data.raw.item["stone-crushed"] then + thxbob.lib.recipe.remove_ingredient("rail", "stone") + thxbob.lib.recipe.add_new_ingredient("rail", { type = "item", name = "stone-crushed", amount = 6 }) + thxbob.lib.recipe.remove_ingredient("bi-rail-wood", "stone") + thxbob.lib.recipe.add_new_ingredient("bi-rail-wood", { type = "item", name = "stone-crushed", amount = 6 }) + end + + -- vanilla rail update + --- Recipe + thxbob.lib.recipe.remove_ingredient("rail", "iron-stick") + thxbob.lib.recipe.add_new_ingredient("rail", { type = "item", name = "concrete", amount = 2 }) + data.raw["legacy-straight-rail"]["legacy-straight-rail"].icon = ICONPATH_E .. "rail-concrete.png" + data.raw["straight-rail"]["straight-rail"].icon = ICONPATH_E .. "rail-concrete.png" + +--- Wood Rail added to Tech + thxbob.lib.tech.add_recipe_unlock("railway", "bi-rail-wood") + thxbob.lib.tech.add_recipe_unlock("railway", "bi-rail-wood-to-concrete") + + --- Update Vanilla Images - Look more like concrete + require("prototypes.Wood_Products.rail-pictures-vanilla") + data.raw["straight-rail"]["straight-rail"].pictures = new_rail_pictures_vanilla("straight") + data.raw["half-diagonal-rail"]["half-diagonal-rail"].pictures = new_rail_pictures_vanilla("half-diagonal") + data.raw["curved-rail-a"]["curved-rail-a"].pictures = new_rail_pictures_vanilla("curved-a") + data.raw["curved-rail-b"]["curved-rail-b"].pictures = new_rail_pictures_vanilla("curved-b") + --- remnants + data.raw["rail-remnants"]["straight-rail-remnants"].pictures = new_rail_remnants_pictures_vanilla("straight") + data.raw["rail-remnants"]["half-diagonal-rail-remnants"].pictures = new_rail_remnants_pictures_vanilla("half-diagonal") + data.raw["rail-remnants"]["curved-rail-a-remnants"].pictures = new_rail_remnants_pictures_vanilla("curved-a") + data.raw["rail-remnants"]["curved-rail-b-remnants"].pictures = new_rail_remnants_pictures_vanilla("curved-b") + --- Let me try and remove decoratives at the same time + data.raw["rail-planner"]["rail"].remove_decoratives = "true" + data.raw["straight-rail"]["straight-rail"].remove_decoratives = "true" + data.raw["half-diagonal-rail"]["half-diagonal-rail"].remove_decoratives = "true" + data.raw["curved-rail-a"]["curved-rail-a"].remove_decoratives = "true" + data.raw["curved-rail-b"]["curved-rail-b"].remove_decoratives = "true" + data.raw["rail-planner"]["rail"].removes_soft_decoratives = true + data.raw["straight-rail"]["straight-rail"].removes_soft_decoratives = true + data.raw["half-diagonal-rail"]["half-diagonal-rail"].removes_soft_decoratives = true + data.raw["curved-rail-a"]["curved-rail-a"].removes_soft_decoratives = true + data.raw["curved-rail-b"]["curved-rail-b"].removes_soft_decoratives = true + + data.raw["rail-planner"]["bi-rail-wood"].remove_decoratives = "true" + data.raw["straight-rail"]["bi-straight-rail-wood"].remove_decoratives = "true" + data.raw["half-diagonal-rail"]["bi-half-diagonal-rail-wood"].remove_decoratives = "true" + data.raw["curved-rail-a"]["bi-curved-rail-a-wood"].remove_decoratives = "true" + data.raw["curved-rail-b"]["bi-curved-rail-b-wood"].remove_decoratives = "true" + data.raw["rail-planner"]["bi-rail-wood"].removes_soft_decoratives = true + data.raw["straight-rail"]["bi-straight-rail-wood"].removes_soft_decoratives = true + data.raw["half-diagonal-rail"]["bi-half-diagonal-rail-wood"].removes_soft_decoratives = true + data.raw["curved-rail-a"]["bi-curved-rail-a-wood"].removes_soft_decoratives = true + data.raw["curved-rail-b"]["bi-curved-rail-b-wood"].removes_soft_decoratives = true +end + + + +-- Moved here from data-final-fixes.lua for 0.18.34/1.1.4! +---- Game Tweaks ---- Disassemble Recipes +require("prototypes.Bio_Tweaks.recipe") +if BI.Settings.BI_Game_Tweaks_Disassemble then + for recipe, tech in pairs({ + ["bi-burner-mining-drill-disassemble"] = "automation-2", + ["bi-burner-inserter-disassemble"] = "automation-2", + ["bi-long-handed-inserter-disassemble"] = "automation-2", + ["bi-stone-furnace-disassemble"] = "automation-2", + ["bi-steel-furnace-disassemble"] = "advanced-material-processing", + }) do + thxbob.lib.tech.add_recipe_unlock(tech, recipe) + end +end + +--- Enable Productivity in Recipes +for recipe, r in pairs(data.raw.recipe) do + for p, pattern in ipairs({ + "bi%-acid", + "bi%-battery", + "bi%-biomass%-%d", + "bi%-biomass%-conversion%-%d", + "bi%-cellulose%-%d", + "bi%-crushed%-stone%-%d", + "bi%-liquid%-air", + "bi%-logs%-%d", + "bi%-nitrogen", + "bi%-plastic%-%d", + "bi%-press%-wood", + "bi%-resin%-pulp", + "bi%-resin%-wood", + "bi%-seed%-%d", + "bi%-seedling%-%d", + "bi%-stone%-brick", + "bi%-sulfur", + "bi%-sulfur%-angels", + "bi%-wood%-from%-pulp", + "bi%-woodpulp", + -- Added for 0.17.49/0.18.17 + "bi%-basic%-gas%-processing", + }) do + if recipe:match(pattern) then + BI_Functions.lib.allow_productivity(recipe) + break + end + end +end + + +------------------------------------------------------------------------------------ +-- Add resistances to our hidden entities +------------------------------------------------------------------------------------ +-- Make resistances for each damage type +local resistances = {} +for damage, d in pairs(data.raw["damage-type"]) do + resistances[#resistances + 1] = { + type = damage, + percent = 100 + } +end + +-- Add resistances to prototypes +-- (h_type is not guaranteed to be a prototype type -- it's the short handle that we +-- use compound_entities.hidden!) +local h_type +for h_key, h_names in pairs(BI.hidden_entities.types) do + h_type = BioInd.HE_map[h_key] + for h_name, h in pairs(h_names) do + data.raw[h_type][h_name].resistances = resistances + BioInd.writeDebug("Added resistances to %s (%s): %s", + { h_name, h_type, data.raw[h_type][h_name].resistances }) + end +end + +-- Adjust resistances for radar of the terraformers. Unlike the other hidden parts +-- of compound entities, this one is visible, and should suffer the same as the base +-- when it gets hurt. (Also, damaging the radar will damage the base entity as well.) +local compound = BioInd.compound_entities["bi-arboretum"] +local b = compound.base +local r = compound.hidden.radar +if b and r then + local resistances = data.raw[b.type][b.name].resistances + if resistances then + data.raw[r.type][r.name].resistances = util.table.deepcopy(resistances) + BioInd.writeDebug("Copied resistances from %s to %s!", { b.name, r.name }) + end +end +------------------------------------------------------------------------------------ +-- Omnifluid will be confused by our bi-solar-boiler (the compound boiler + solar +-- plant entity). Let's blacklist it if the mod is active! +BioInd.show("Omnifluid is active", mods["omnimatter_fluid"] or "false") +BioInd.show("forbidden_boilers", forbidden_boilers) + +if mods["omnimatter_fluid"] then + forbidden_boilers = forbidden_boilers or {} + forbidden_boilers["bi-solar-boiler"] = true +end +BioInd.writeDebug("OMNIFLUID Test! forbidden_boilers = %s", { forbidden_boilers }) + + +------------------------------------------------------------------------------------ +-- If the Py-Suite is installed, we move our coal-processing unlocks to their techs! +local check, set +if mods["pyrawores"] then + -- Are all techs there? + check = true + for i = 1, 3 do + if not data.raw.technology["coal-mk0" .. i] then + check = false + break + end + end + + if check then + set = true + local unlocks = require("prototypes.Bio_Farm.coal_processing") + for i = 1, 3 do + for u, unlock in ipairs(unlocks[i]) do + thxbob.lib.tech.add_recipe_unlock("coal-mk0" .. i, unlock.recipe) + BioInd.writeDebug("Added recipe %s to unlocks of %s", { unlock.recipe, "coal-mk0" .. i }) + end + end + end +end +-- PyRawOres has priority! +if mods["pycoalprocessing"] and not set then + -- Are all techs there? + check = true + for i = 1, 3 do + if not data.raw.technology["coal-processing-" .. i] then + check = false + break + end + end + + if check then + set = true + local unlocks = require("prototypes.Bio_Farm.coal_processing") + for i = 1, 3 do + for u, unlock in ipairs(unlocks[i]) do + thxbob.lib.tech.add_recipe_unlock("coal-processing-" .. i, unlock.recipe) + BioInd.writeDebug("Added recipe %s to unlocks of %s", { unlock.recipe, "coal-processing-" .. i }) + end + end + end +end +if set then + for i = 1, 3 do + data.raw.technology["bi-tech-coal-processing-" .. i] = nil + BioInd.writeDebug("Removed technology " .. "bi-tech-coal-processing-" .. i) + end +end + +-- Compatibility with Industrial Revolution +--require("prototypes.Industrial_Revolution") + + +------------------------------------------------------------------------------------ +-- Add icons to our prototypes +BioInd.BI_add_icons() diff --git a/Bio_Industries_2/data.lua b/Bio_Industries_2/data.lua index 1bfc6b9..9ca4147 100644 --- a/Bio_Industries_2/data.lua +++ b/Bio_Industries_2/data.lua @@ -1,126 +1,123 @@ -local BioInd = require('common')('Bio_Industries_2') - -if not BI then BI = {} end -if not BI.Settings then BI.Settings = {} end - -if not BI_Functions then BI_Functions = {} end -if not BI_Functions.lib then BI_Functions.lib = {} end - -if not thxbob then thxbob = {} end -if not thxbob.lib then thxbob.lib = {} end - -for var, name in pairs({ - Bio_Cannon = "BI_Bio_Cannon", - BI_Bio_Fuel = "BI_Bio_Fuel", - BI_Easy_Bio_Gardens = "BI_Easy_Bio_Gardens", - BI_Bigger_Wooden_Chests = "BI_Bigger_Wooden_Chests", - BI_Game_Tweaks_Stack_Size = "BI_Game_Tweaks_Stack_Size", - BI_Game_Tweaks_Recipe = "BI_Game_Tweaks_Recipe", - BI_Game_Tweaks_Tree = "BI_Game_Tweaks_Tree", - BI_Game_Tweaks_Small_Tree_Collisionbox = "BI_Game_Tweaks_Small_Tree_Collisionbox", - BI_Game_Tweaks_Player = "BI_Game_Tweaks_Player", - BI_Game_Tweaks_Disassemble = "BI_Game_Tweaks_Disassemble", - BI_Game_Tweaks_Bot = "BI_Game_Tweaks_Bot", - BI_Solar_Additions = "BI_Solar_Additions" -}) do - BI.Settings[var] = BioInd.get_startup_setting(name) -end - ---- Help Files -require ("libs.item-functions") -- From Bob's Libary -require ("libs.recipe-functions") -- From Bob's Libary -require ("libs.technology-functions") -- From Bob's Libary -require ("libs.functions") -- From Bob's Libary -require ("libs.category-functions") -- From Bob's Libary -require ("libs.bi_functions") -- Functions - -require ("prototypes.category") - - - - ---- Bio Farm -require ("prototypes.Bio_Farm.entities") -require ("prototypes.Bio_Farm.item") -require ("prototypes.Bio_Farm.recipe") -require ("prototypes.Bio_Farm.liquids") -require ("prototypes.Bio_Farm.recipe-categories") -require ("prototypes.Bio_Farm.pipeConnectors") -require ("prototypes.Bio_Farm.technology") -require ("prototypes.Bio_Farm.tree_entities") - --- Bio Garden -require ("prototypes.Bio_Garden.entities") -require ("prototypes.Bio_Garden.item") -require ("prototypes.Bio_Garden.recipe") -require ("prototypes.Bio_Garden.recipe-categories") - - ---- Bio Solar Farm -require ("prototypes.Bio_Solar_Farm.entities") -require ("prototypes.Bio_Solar_Farm.item") -require ("prototypes.Bio_Solar_Farm.recipe") - - ---- Wood Products -require ("prototypes.Wood_Products.entities") -require ("prototypes.Wood_Products.item") -require ("prototypes.Wood_Products.recipe") -require ("prototypes.Wood_Products.containers-entities") -require ("prototypes.Wood_Products.containers-item") -require ("prototypes.Wood_Products.containers-recipe") - - -if not mods["Natural_Evolution_Buildings"] then - --- Dart Turret (Bio turret) - require ("prototypes.Bio_Turret.item-group") - require ("prototypes.Bio_Turret.damage-type") - require ("prototypes.Bio_Turret.item") - require ("prototypes.Bio_Turret.recipe") - require ("prototypes.Bio_Turret.entity") - - ---- Bio Cannon - - - -- Items Groups - require ("prototypes.Bio_Cannon.item-group") - - -- Cannon - require ("prototypes.Bio_Cannon.item") - require ("prototypes.Bio_Cannon.recipe") - require ("prototypes.Bio_Cannon.entity") - require ("prototypes.Bio_Cannon.technology") - - -- Projectiles - require ("prototypes.Bio_Cannon.projectiles-item") - require ("prototypes.Bio_Cannon.projectiles-recipe") - require ("prototypes.Bio_Cannon.projectiles-entity") - -end - ----- Add Bio Fuel & Plastic, etc. -require("prototypes.Bio_Fuel.item") -require("prototypes.Bio_Fuel.recipe") -require("prototypes.Bio_Fuel.entities") -require("prototypes.Bio_Fuel.technology") - - - --- Create the hidden entities (Moved here so we can be sure the base --- entities already exist and their properties can be read.) -require("prototypes.compound_entities.hidden_entities") - - ------------------------------------------------------------------------------------- --- Alien Biomes will degrade tiles to "landfill" if more than 255 tiles are defined --- in the game. We can register the musk-floor tiles with Alien Biomes so it will --- try to prioritize the tiles if they exist. -alien_biomes_priority_tiles = alien_biomes_priority_tiles or {} -table.insert(alien_biomes_priority_tiles, "bi-solar-mat") - - - ------------------------------------------------------------------------------------- --- Add icons to our prototypes -BioInd.BI_add_icons() +local BioInd = require('common')('Bio_Industries_2') + +if not BI then BI = {} end +if not BI.Settings then BI.Settings = {} end + +if not BI_Functions then BI_Functions = {} end +if not BI_Functions.lib then BI_Functions.lib = {} end + +if not thxbob then thxbob = {} end +if not thxbob.lib then thxbob.lib = {} end + +for var, name in pairs({ + Bio_Cannon = "BI_Bio_Cannon", + BI_Bio_Fuel = "BI_Bio_Fuel", + BI_Easy_Bio_Gardens = "BI_Easy_Bio_Gardens", + BI_Bigger_Wooden_Chests = "BI_Bigger_Wooden_Chests", + BI_Game_Tweaks_Stack_Size = "BI_Game_Tweaks_Stack_Size", + BI_Game_Tweaks_Recipe = "BI_Game_Tweaks_Recipe", + BI_Game_Tweaks_Tree = "BI_Game_Tweaks_Tree", + BI_Game_Tweaks_Small_Tree_Collisionbox = "BI_Game_Tweaks_Small_Tree_Collisionbox", + BI_Game_Tweaks_Player = "BI_Game_Tweaks_Player", + BI_Game_Tweaks_Disassemble = "BI_Game_Tweaks_Disassemble", + BI_Game_Tweaks_Bot = "BI_Game_Tweaks_Bot", + BI_Solar_Additions = "BI_Solar_Additions" +}) do + BI.Settings[var] = BioInd.get_startup_setting(name) +end + + +--- Help Files +require("libs.functions") -- From Bob's Libary +require("libs.error-functions") -- From Bob's Libary +require("libs.item-functions") -- From Bob's Libary +require("libs.recipe-functions") -- From Bob's Libary +require("libs.technology-functions") -- From Bob's Libary +require("libs.category-functions") -- From Bob's Libary +require("libs.bi_functions") -- Functions +require("prototypes.category") + + + + +--- Bio Farm +require("prototypes.Bio_Farm.entities") +require("prototypes.Bio_Farm.item") +require("prototypes.Bio_Farm.recipe") +require("prototypes.Bio_Farm.liquids") +require("prototypes.Bio_Farm.recipe-categories") +require("prototypes.Bio_Farm.technology") +require("prototypes.Bio_Farm.tree_entities") + +-- Bio Garden +require("prototypes.Bio_Garden.entities") +require("prototypes.Bio_Garden.item") +require("prototypes.Bio_Garden.recipe") +require("prototypes.Bio_Garden.recipe-categories") + + +--- Bio Solar Farm +require("prototypes.Bio_Solar_Farm.entities") +require("prototypes.Bio_Solar_Farm.item") +require("prototypes.Bio_Solar_Farm.recipe") + + +--- Wood Products +require("prototypes.Wood_Products.entities") +require("prototypes.Wood_Products.item") +require("prototypes.Wood_Products.recipe") +require("prototypes.Wood_Products.containers-entities") +require("prototypes.Wood_Products.containers-item") +require("prototypes.Wood_Products.containers-recipe") +require("prototypes.Wood_Products.rail") + + +if not mods["Natural_Evolution_Buildings"] then + --- Dart Turret (Bio turret) + require("prototypes.Bio_Turret.item-group") + require("prototypes.Bio_Turret.damage-type") + require("prototypes.Bio_Turret.item") + require("prototypes.Bio_Turret.recipe") + require("prototypes.Bio_Turret.entity") + + --- Bio Cannon + -- Items Groups + require("prototypes.Bio_Cannon.item-group") + + -- Cannon + require("prototypes.Bio_Cannon.item") + require("prototypes.Bio_Cannon.recipe") + require("prototypes.Bio_Cannon.entity") + require("prototypes.Bio_Cannon.technology") + + -- Projectiles + require("prototypes.Bio_Cannon.projectiles-item") + require("prototypes.Bio_Cannon.projectiles-recipe") + require("prototypes.Bio_Cannon.projectiles-entity") +end + +---- Add Bio Fuel & Plastic, etc. +require("prototypes.Bio_Fuel.item") +require("prototypes.Bio_Fuel.recipe") +require("prototypes.Bio_Fuel.entities") +require("prototypes.Bio_Fuel.technology") + + + +-- Create the hidden entities (Moved here so we can be sure the base +-- entities already exist and their properties can be read.) +require("prototypes.compound_entities.hidden_entities") + + +------------------------------------------------------------------------------------ +-- Alien Biomes will degrade tiles to "landfill" if more than 255 tiles are defined +-- in the game. We can register the musk-floor tiles with Alien Biomes so it will +-- try to prioritize the tiles if they exist. +alien_biomes_priority_tiles = alien_biomes_priority_tiles or {} +table.insert(alien_biomes_priority_tiles, "bi-solar-mat") + + + +------------------------------------------------------------------------------------ +-- Add icons to our prototypes +BioInd.BI_add_icons() diff --git a/Bio_Industries_2/graphics/entities/bio_accumulator/bi_large_accumulator.png b/Bio_Industries_2/graphics/entities/bio_accumulator/bi_large_accumulator.png new file mode 100644 index 0000000..ff2a7b3 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_accumulator/bi_large_accumulator.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_accumulator/bi_large_accumulator_anim_charge.png b/Bio_Industries_2/graphics/entities/bio_accumulator/bi_large_accumulator_anim_charge.png new file mode 100644 index 0000000..e484121 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_accumulator/bi_large_accumulator_anim_charge.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_accumulator/bi_large_accumulator_anim_discharge.png b/Bio_Industries_2/graphics/entities/bio_accumulator/bi_large_accumulator_anim_discharge.png new file mode 100644 index 0000000..42d620c Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_accumulator/bi_large_accumulator_anim_discharge.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_accumulator/bi_large_accumulator_shadow.png b/Bio_Industries_2/graphics/entities/bio_accumulator/bi_large_accumulator_shadow.png new file mode 100644 index 0000000..16e8ae8 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_accumulator/bi_large_accumulator_shadow.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_accumulator/big-bi_large_accumulator_reflection.png b/Bio_Industries_2/graphics/entities/bio_accumulator/big-bi_large_accumulator_reflection.png new file mode 100644 index 0000000..5a2c760 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_accumulator/big-bi_large_accumulator_reflection.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_boiler/boiler-E-idle.png b/Bio_Industries_2/graphics/entities/bio_boiler/boiler-E-idle.png new file mode 100644 index 0000000..7695ea7 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_boiler/boiler-E-idle.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_boiler/boiler-N-idle.png b/Bio_Industries_2/graphics/entities/bio_boiler/boiler-N-idle.png new file mode 100644 index 0000000..9c6454c Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_boiler/boiler-N-idle.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_boiler/boiler-S-idle.png b/Bio_Industries_2/graphics/entities/bio_boiler/boiler-S-idle.png new file mode 100644 index 0000000..db142a0 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_boiler/boiler-S-idle.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_boiler/boiler-W-idle.png b/Bio_Industries_2/graphics/entities/bio_boiler/boiler-W-idle.png new file mode 100644 index 0000000..7a58dc0 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_boiler/boiler-W-idle.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_cokery/cokery_anim.png b/Bio_Industries_2/graphics/entities/bio_cokery/cokery_anim.png new file mode 100644 index 0000000..42c4caa Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_cokery/cokery_anim.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_cokery/cokery_idle.png b/Bio_Industries_2/graphics/entities/bio_cokery/cokery_idle.png new file mode 100644 index 0000000..c998e23 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_cokery/cokery_idle.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_cokery/cokery_shadow.png b/Bio_Industries_2/graphics/entities/bio_cokery/cokery_shadow.png new file mode 100644 index 0000000..374995e Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_cokery/cokery_shadow.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_farm/bio_farm.png b/Bio_Industries_2/graphics/entities/bio_farm/bio_farm.png new file mode 100644 index 0000000..d4a761d Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_farm/bio_farm.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_farm/bio_farm_light.png b/Bio_Industries_2/graphics/entities/bio_farm/bio_farm_light.png new file mode 100644 index 0000000..c93275e Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_farm/bio_farm_light.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_farm/bio_farm_shadow.png b/Bio_Industries_2/graphics/entities/bio_farm/bio_farm_shadow.png new file mode 100644 index 0000000..3150204 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_farm/bio_farm_shadow.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_farm/biofarm_pipes/bio_farm-pipe-E.png b/Bio_Industries_2/graphics/entities/bio_farm/biofarm_pipes/bio_farm-pipe-E.png new file mode 100644 index 0000000..2e200ea Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_farm/biofarm_pipes/bio_farm-pipe-E.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_farm/biofarm_pipes/bio_farm-pipe-S.png b/Bio_Industries_2/graphics/entities/bio_farm/biofarm_pipes/bio_farm-pipe-S.png new file mode 100644 index 0000000..b57c891 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_farm/biofarm_pipes/bio_farm-pipe-S.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_farm/biofarm_pipes/bio_farm-pipe-W.png b/Bio_Industries_2/graphics/entities/bio_farm/biofarm_pipes/bio_farm-pipe-W.png new file mode 100644 index 0000000..5a40d64 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_farm/biofarm_pipes/bio_farm-pipe-W.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_garden/assembling-machine-3-pipe-E.png b/Bio_Industries_2/graphics/entities/bio_garden/assembling-machine-3-pipe-E.png new file mode 100644 index 0000000..5be2a22 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_garden/assembling-machine-3-pipe-E.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_garden/assembling-machine-3-pipe-S.png b/Bio_Industries_2/graphics/entities/bio_garden/assembling-machine-3-pipe-S.png new file mode 100644 index 0000000..d85618b Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_garden/assembling-machine-3-pipe-S.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_garden/assembling-machine-3-pipe-W.png b/Bio_Industries_2/graphics/entities/bio_garden/assembling-machine-3-pipe-W.png new file mode 100644 index 0000000..4857a0d Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_garden/assembling-machine-3-pipe-W.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_garden/bio_garden_anim_light.png b/Bio_Industries_2/graphics/entities/bio_garden/bio_garden_anim_light.png new file mode 100644 index 0000000..afb0011 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_garden/bio_garden_anim_light.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_garden/bio_garden_anim_trees.png b/Bio_Industries_2/graphics/entities/bio_garden/bio_garden_anim_trees.png new file mode 100644 index 0000000..dac23e6 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_garden/bio_garden_anim_trees.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_garden/bio_garden_huge.png b/Bio_Industries_2/graphics/entities/bio_garden/bio_garden_huge.png new file mode 100644 index 0000000..0083548 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_garden/bio_garden_huge.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_garden/bio_garden_huge_shadow.png b/Bio_Industries_2/graphics/entities/bio_garden/bio_garden_huge_shadow.png new file mode 100644 index 0000000..b17198d Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_garden/bio_garden_huge_shadow.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_garden/bio_garden_huge_turbine_anim.png b/Bio_Industries_2/graphics/entities/bio_garden/bio_garden_huge_turbine_anim.png new file mode 100644 index 0000000..8404aac Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_garden/bio_garden_huge_turbine_anim.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_garden/bio_garden_large.png b/Bio_Industries_2/graphics/entities/bio_garden/bio_garden_large.png new file mode 100644 index 0000000..b5799bc Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_garden/bio_garden_large.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_garden/bio_garden_large_light.png b/Bio_Industries_2/graphics/entities/bio_garden/bio_garden_large_light.png new file mode 100644 index 0000000..544a26b Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_garden/bio_garden_large_light.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_garden/bio_garden_large_shadow.png b/Bio_Industries_2/graphics/entities/bio_garden/bio_garden_large_shadow.png new file mode 100644 index 0000000..32cff3c Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_garden/bio_garden_large_shadow.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_garden/bio_garden_shadow.png b/Bio_Industries_2/graphics/entities/bio_garden/bio_garden_shadow.png new file mode 100644 index 0000000..f5ec862 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_garden/bio_garden_shadow.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_garden/hr-assembling-machine-3-pipe-E.png b/Bio_Industries_2/graphics/entities/bio_garden/hr-assembling-machine-3-pipe-E.png new file mode 100644 index 0000000..fb37d17 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_garden/hr-assembling-machine-3-pipe-E.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_garden/hr-assembling-machine-3-pipe-S.png b/Bio_Industries_2/graphics/entities/bio_garden/hr-assembling-machine-3-pipe-S.png new file mode 100644 index 0000000..1c4090b Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_garden/hr-assembling-machine-3-pipe-S.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_garden/hr-assembling-machine-3-pipe-W.png b/Bio_Industries_2/graphics/entities/bio_garden/hr-assembling-machine-3-pipe-W.png new file mode 100644 index 0000000..d84143f Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_garden/hr-assembling-machine-3-pipe-W.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_greenhouse/bio_greenhouse.png b/Bio_Industries_2/graphics/entities/bio_greenhouse/bio_greenhouse.png new file mode 100644 index 0000000..8a41cc1 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_greenhouse/bio_greenhouse.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_greenhouse/bio_greenhouse_light_anim.png b/Bio_Industries_2/graphics/entities/bio_greenhouse/bio_greenhouse_light_anim.png new file mode 100644 index 0000000..e790672 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_greenhouse/bio_greenhouse_light_anim.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_greenhouse/bio_greenhouse_shadow.png b/Bio_Industries_2/graphics/entities/bio_greenhouse/bio_greenhouse_shadow.png new file mode 100644 index 0000000..ad2cb39 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_greenhouse/bio_greenhouse_shadow.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_greenhouse/biogreenhouse_pipes/assembling-machine-3-pipe-E.png b/Bio_Industries_2/graphics/entities/bio_greenhouse/biogreenhouse_pipes/assembling-machine-3-pipe-E.png new file mode 100644 index 0000000..ec130e2 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_greenhouse/biogreenhouse_pipes/assembling-machine-3-pipe-E.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_greenhouse/biogreenhouse_pipes/assembling-machine-3-pipe-N-exp.png b/Bio_Industries_2/graphics/entities/bio_greenhouse/biogreenhouse_pipes/assembling-machine-3-pipe-N-exp.png new file mode 100644 index 0000000..0e6453f Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_greenhouse/biogreenhouse_pipes/assembling-machine-3-pipe-N-exp.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_greenhouse/biogreenhouse_pipes/assembling-machine-3-pipe-S.png b/Bio_Industries_2/graphics/entities/bio_greenhouse/biogreenhouse_pipes/assembling-machine-3-pipe-S.png new file mode 100644 index 0000000..ef05934 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_greenhouse/biogreenhouse_pipes/assembling-machine-3-pipe-S.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_greenhouse/biogreenhouse_pipes/assembling-machine-3-pipe-W.png b/Bio_Industries_2/graphics/entities/bio_greenhouse/biogreenhouse_pipes/assembling-machine-3-pipe-W.png new file mode 100644 index 0000000..cf57a30 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_greenhouse/biogreenhouse_pipes/assembling-machine-3-pipe-W.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_musk_floor/solarfloor.png b/Bio_Industries_2/graphics/entities/bio_musk_floor/solarfloor.png new file mode 100644 index 0000000..a236b3b Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_musk_floor/solarfloor.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_musk_floor/solarfloor_inner-corner-mask.png b/Bio_Industries_2/graphics/entities/bio_musk_floor/solarfloor_inner-corner-mask.png new file mode 100644 index 0000000..024d7d0 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_musk_floor/solarfloor_inner-corner-mask.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_musk_floor/solarfloor_inner-corner.png b/Bio_Industries_2/graphics/entities/bio_musk_floor/solarfloor_inner-corner.png new file mode 100644 index 0000000..ef21358 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_musk_floor/solarfloor_inner-corner.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_musk_floor/solarfloor_o-mask.png b/Bio_Industries_2/graphics/entities/bio_musk_floor/solarfloor_o-mask.png new file mode 100644 index 0000000..fee4da1 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_musk_floor/solarfloor_o-mask.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_musk_floor/solarfloor_o.png b/Bio_Industries_2/graphics/entities/bio_musk_floor/solarfloor_o.png new file mode 100644 index 0000000..bcb9ffa Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_musk_floor/solarfloor_o.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_musk_floor/solarfloor_outer-corner-mask.png b/Bio_Industries_2/graphics/entities/bio_musk_floor/solarfloor_outer-corner-mask.png new file mode 100644 index 0000000..cd3803c Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_musk_floor/solarfloor_outer-corner-mask.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_musk_floor/solarfloor_outer-corner.png b/Bio_Industries_2/graphics/entities/bio_musk_floor/solarfloor_outer-corner.png new file mode 100644 index 0000000..b386083 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_musk_floor/solarfloor_outer-corner.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_musk_floor/solarfloor_side-mask.png b/Bio_Industries_2/graphics/entities/bio_musk_floor/solarfloor_side-mask.png new file mode 100644 index 0000000..b3bf9d7 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_musk_floor/solarfloor_side-mask.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_musk_floor/solarfloor_side.png b/Bio_Industries_2/graphics/entities/bio_musk_floor/solarfloor_side.png new file mode 100644 index 0000000..c786811 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_musk_floor/solarfloor_side.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_musk_floor/solarfloor_u-mask.png b/Bio_Industries_2/graphics/entities/bio_musk_floor/solarfloor_u-mask.png new file mode 100644 index 0000000..d51d71d Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_musk_floor/solarfloor_u-mask.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_musk_floor/solarfloor_u.png b/Bio_Industries_2/graphics/entities/bio_musk_floor/solarfloor_u.png new file mode 100644 index 0000000..3160a5a Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_musk_floor/solarfloor_u.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_reactor/bioreactor_anim.png b/Bio_Industries_2/graphics/entities/bio_reactor/bioreactor_anim.png new file mode 100644 index 0000000..5192b2e Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_reactor/bioreactor_anim.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_reactor/bioreactor_idle.png b/Bio_Industries_2/graphics/entities/bio_reactor/bioreactor_idle.png new file mode 100644 index 0000000..ffd92c2 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_reactor/bioreactor_idle.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_reactor/bioreactor_shadow.png b/Bio_Industries_2/graphics/entities/bio_reactor/bioreactor_shadow.png new file mode 100644 index 0000000..0c9a68e Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_reactor/bioreactor_shadow.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_reactor/pipes/bioreactor-pipe-e.png b/Bio_Industries_2/graphics/entities/bio_reactor/pipes/bioreactor-pipe-e.png new file mode 100644 index 0000000..53a6e38 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_reactor/pipes/bioreactor-pipe-e.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_reactor/pipes/bioreactor-pipe-s.png b/Bio_Industries_2/graphics/entities/bio_reactor/pipes/bioreactor-pipe-s.png new file mode 100644 index 0000000..df32b61 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_reactor/pipes/bioreactor-pipe-s.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_reactor/pipes/bioreactor-pipe-w.png b/Bio_Industries_2/graphics/entities/bio_reactor/pipes/bioreactor-pipe-w.png new file mode 100644 index 0000000..8c72efb Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_reactor/pipes/bioreactor-pipe-w.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_solar_boiler/bio_Solar_Boiler.png b/Bio_Industries_2/graphics/entities/bio_solar_boiler/bio_Solar_Boiler.png new file mode 100644 index 0000000..086fe28 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_solar_boiler/bio_Solar_Boiler.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_solar_boiler/bio_Solar_Boiler_light.png b/Bio_Industries_2/graphics/entities/bio_solar_boiler/bio_Solar_Boiler_light.png new file mode 100644 index 0000000..59cd10c Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_solar_boiler/bio_Solar_Boiler_light.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_solar_boiler/bio_Solar_Boiler_shadow.png b/Bio_Industries_2/graphics/entities/bio_solar_boiler/bio_Solar_Boiler_shadow.png new file mode 100644 index 0000000..b5f355e Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_solar_boiler/bio_Solar_Boiler_shadow.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_solar_farm/Bio_Solar_Boiler.png b/Bio_Industries_2/graphics/entities/bio_solar_farm/Bio_Solar_Boiler.png deleted file mode 100644 index 5ab7410..0000000 Binary files a/Bio_Industries_2/graphics/entities/bio_solar_farm/Bio_Solar_Boiler.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/bio_solar_farm/Bio_Solar_Boiler_on.png b/Bio_Industries_2/graphics/entities/bio_solar_farm/Bio_Solar_Boiler_on.png deleted file mode 100644 index 8f277ed..0000000 Binary files a/Bio_Industries_2/graphics/entities/bio_solar_farm/Bio_Solar_Boiler_on.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/bio_solar_farm/Bio_Solar_Farm_Off.png b/Bio_Industries_2/graphics/entities/bio_solar_farm/Bio_Solar_Farm_Off.png deleted file mode 100644 index 02a7c31..0000000 Binary files a/Bio_Industries_2/graphics/entities/bio_solar_farm/Bio_Solar_Farm_Off.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/bio_solar_farm/Bio_Solar_Farm_Off_alt.png b/Bio_Industries_2/graphics/entities/bio_solar_farm/Bio_Solar_Farm_Off_alt.png deleted file mode 100644 index 4bc79b2..0000000 Binary files a/Bio_Industries_2/graphics/entities/bio_solar_farm/Bio_Solar_Farm_Off_alt.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/bio_solar_farm/Bio_Solar_Farm_On.png b/Bio_Industries_2/graphics/entities/bio_solar_farm/Bio_Solar_Farm_On.png deleted file mode 100644 index 91767e5..0000000 Binary files a/Bio_Industries_2/graphics/entities/bio_solar_farm/Bio_Solar_Farm_On.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/bio_solar_farm/Bio_Solar_Farm_On_alt_old.png b/Bio_Industries_2/graphics/entities/bio_solar_farm/Bio_Solar_Farm_On_alt_old.png deleted file mode 100644 index 1efa2f8..0000000 Binary files a/Bio_Industries_2/graphics/entities/bio_solar_farm/Bio_Solar_Farm_On_alt_old.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/bio_solar_farm/LargeAccumulatorAnimated.png b/Bio_Industries_2/graphics/entities/bio_solar_farm/LargeAccumulatorAnimated.png deleted file mode 100644 index 2287a01..0000000 Binary files a/Bio_Industries_2/graphics/entities/bio_solar_farm/LargeAccumulatorAnimated.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/bio_solar_farm/bi_LargeAccumulator.png b/Bio_Industries_2/graphics/entities/bio_solar_farm/bi_LargeAccumulator.png deleted file mode 100644 index 72806b1..0000000 Binary files a/Bio_Industries_2/graphics/entities/bio_solar_farm/bi_LargeAccumulator.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/bio_solar_farm/bi_LargeAccumulatorAnimated.png b/Bio_Industries_2/graphics/entities/bio_solar_farm/bi_LargeAccumulatorAnimated.png deleted file mode 100644 index 0c5497b..0000000 Binary files a/Bio_Industries_2/graphics/entities/bio_solar_farm/bi_LargeAccumulatorAnimated.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/bio_solar_farm/bi_LargeSubstation.png b/Bio_Industries_2/graphics/entities/bio_solar_farm/bi_LargeSubstation.png deleted file mode 100644 index e81cb4c..0000000 Binary files a/Bio_Industries_2/graphics/entities/bio_solar_farm/bi_LargeSubstation.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/bio_solar_farm/bi_LargeSubstation_Old.png b/Bio_Industries_2/graphics/entities/bio_solar_farm/bi_LargeSubstation_Old.png deleted file mode 100644 index dc69e31..0000000 Binary files a/Bio_Industries_2/graphics/entities/bio_solar_farm/bi_LargeSubstation_Old.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/bio_solar_farm/bio_Solar_Farm.png b/Bio_Industries_2/graphics/entities/bio_solar_farm/bio_Solar_Farm.png new file mode 100644 index 0000000..d4b2cb3 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_solar_farm/bio_Solar_Farm.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_solar_farm/bio_Solar_Farm_shadow.png b/Bio_Industries_2/graphics/entities/bio_solar_farm/bio_Solar_Farm_shadow.png new file mode 100644 index 0000000..29f3fd4 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_solar_farm/bio_Solar_Farm_shadow.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_solar_farm/solar-inner-corner.png b/Bio_Industries_2/graphics/entities/bio_solar_farm/solar-inner-corner.png deleted file mode 100644 index 78802e0..0000000 Binary files a/Bio_Industries_2/graphics/entities/bio_solar_farm/solar-inner-corner.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/bio_solar_farm/solar-o.png b/Bio_Industries_2/graphics/entities/bio_solar_farm/solar-o.png deleted file mode 100644 index 6291f11..0000000 Binary files a/Bio_Industries_2/graphics/entities/bio_solar_farm/solar-o.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/bio_solar_farm/solar-outer-corner.png b/Bio_Industries_2/graphics/entities/bio_solar_farm/solar-outer-corner.png deleted file mode 100644 index c68bd03..0000000 Binary files a/Bio_Industries_2/graphics/entities/bio_solar_farm/solar-outer-corner.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/bio_solar_farm/solar-side.png b/Bio_Industries_2/graphics/entities/bio_solar_farm/solar-side.png deleted file mode 100644 index c630a88..0000000 Binary files a/Bio_Industries_2/graphics/entities/bio_solar_farm/solar-side.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/bio_solar_farm/solar-u.png b/Bio_Industries_2/graphics/entities/bio_solar_farm/solar-u.png deleted file mode 100644 index 13492a4..0000000 Binary files a/Bio_Industries_2/graphics/entities/bio_solar_farm/solar-u.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/bio_solar_farm/solar1.png b/Bio_Industries_2/graphics/entities/bio_solar_farm/solar1.png deleted file mode 100644 index 127c305..0000000 Binary files a/Bio_Industries_2/graphics/entities/bio_solar_farm/solar1.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/bio_solar_farm/solar1x.png b/Bio_Industries_2/graphics/entities/bio_solar_farm/solar1x.png deleted file mode 100644 index 0e931f0..0000000 Binary files a/Bio_Industries_2/graphics/entities/bio_solar_farm/solar1x.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/bio_solar_farm/solar2.png b/Bio_Industries_2/graphics/entities/bio_solar_farm/solar2.png deleted file mode 100644 index c865e1e..0000000 Binary files a/Bio_Industries_2/graphics/entities/bio_solar_farm/solar2.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/bio_stone_crusher/stone_crusher_anim.png b/Bio_Industries_2/graphics/entities/bio_stone_crusher/stone_crusher_anim.png new file mode 100644 index 0000000..c559516 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_stone_crusher/stone_crusher_anim.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_stone_crusher/stone_crusher_off.png b/Bio_Industries_2/graphics/entities/bio_stone_crusher/stone_crusher_off.png new file mode 100644 index 0000000..44c024e Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_stone_crusher/stone_crusher_off.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_stone_crusher/stone_crusher_shadow.png b/Bio_Industries_2/graphics/entities/bio_stone_crusher/stone_crusher_shadow.png new file mode 100644 index 0000000..c416a8d Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_stone_crusher/stone_crusher_shadow.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_substation/bio_substation.png b/Bio_Industries_2/graphics/entities/bio_substation/bio_substation.png new file mode 100644 index 0000000..5616ead Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_substation/bio_substation.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_substation/bio_substation_shadow.png b/Bio_Industries_2/graphics/entities/bio_substation/bio_substation_shadow.png new file mode 100644 index 0000000..d99a5bb Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_substation/bio_substation_shadow.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_terraformer/arboretum.png b/Bio_Industries_2/graphics/entities/bio_terraformer/arboretum.png new file mode 100644 index 0000000..e4e7709 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_terraformer/arboretum.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_terraformer/arboretum_light.png b/Bio_Industries_2/graphics/entities/bio_terraformer/arboretum_light.png new file mode 100644 index 0000000..f9b044f Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_terraformer/arboretum_light.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_terraformer/arboretum_radar_anim.png b/Bio_Industries_2/graphics/entities/bio_terraformer/arboretum_radar_anim.png new file mode 100644 index 0000000..6a5702f Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_terraformer/arboretum_radar_anim.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_terraformer/arboretum_shadow.png b/Bio_Industries_2/graphics/entities/bio_terraformer/arboretum_shadow.png new file mode 100644 index 0000000..3d66dc2 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/bio_terraformer/arboretum_shadow.png differ diff --git a/Bio_Industries_2/graphics/entities/bio_turret/bio_turret.png b/Bio_Industries_2/graphics/entities/bio_turret/bio_turret.png index 4870a77..c0f404d 100644 Binary files a/Bio_Industries_2/graphics/entities/bio_turret/bio_turret.png and b/Bio_Industries_2/graphics/entities/bio_turret/bio_turret.png differ diff --git a/Bio_Industries_2/graphics/entities/biofarm/Bio_Farm_Idle.png b/Bio_Industries_2/graphics/entities/biofarm/Bio_Farm_Idle.png deleted file mode 100644 index a914d79..0000000 Binary files a/Bio_Industries_2/graphics/entities/biofarm/Bio_Farm_Idle.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/biofarm/Bio_Farm_Idle_alt.png b/Bio_Industries_2/graphics/entities/biofarm/Bio_Farm_Idle_alt.png deleted file mode 100644 index 341c20c..0000000 Binary files a/Bio_Industries_2/graphics/entities/biofarm/Bio_Farm_Idle_alt.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/biofarm/Bio_Farm_Working.png b/Bio_Industries_2/graphics/entities/biofarm/Bio_Farm_Working.png deleted file mode 100644 index dc258e0..0000000 Binary files a/Bio_Industries_2/graphics/entities/biofarm/Bio_Farm_Working.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/biofarm/Bio_Farm_Working_alt.png b/Bio_Industries_2/graphics/entities/biofarm/Bio_Farm_Working_alt.png deleted file mode 100644 index 75d69c7..0000000 Binary files a/Bio_Industries_2/graphics/entities/biofarm/Bio_Farm_Working_alt.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/biofarm/bio_greenhouse.png b/Bio_Industries_2/graphics/entities/biofarm/bio_greenhouse.png deleted file mode 100644 index 451bdbe..0000000 Binary files a/Bio_Industries_2/graphics/entities/biofarm/bio_greenhouse.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/biofarm/bio_greenhouse_off.png b/Bio_Industries_2/graphics/entities/biofarm/bio_greenhouse_off.png deleted file mode 100644 index 4929795..0000000 Binary files a/Bio_Industries_2/graphics/entities/biofarm/bio_greenhouse_off.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/biofarm/bio_greenhouse_on.png b/Bio_Industries_2/graphics/entities/biofarm/bio_greenhouse_on.png deleted file mode 100644 index 2908b5c..0000000 Binary files a/Bio_Industries_2/graphics/entities/biofarm/bio_greenhouse_on.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/biofarm/bio_greenhouse_x.png b/Bio_Industries_2/graphics/entities/biofarm/bio_greenhouse_x.png deleted file mode 100644 index be1e772..0000000 Binary files a/Bio_Industries_2/graphics/entities/biofarm/bio_greenhouse_x.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/biofarm/pipe_connections/Bio_Farm-pipe-E_l.png b/Bio_Industries_2/graphics/entities/biofarm/pipe_connections/Bio_Farm-pipe-E_l.png deleted file mode 100644 index b88fcdf..0000000 Binary files a/Bio_Industries_2/graphics/entities/biofarm/pipe_connections/Bio_Farm-pipe-E_l.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/biofarm/pipe_connections/Bio_Farm-pipe-E_r.png b/Bio_Industries_2/graphics/entities/biofarm/pipe_connections/Bio_Farm-pipe-E_r.png deleted file mode 100644 index befc747..0000000 Binary files a/Bio_Industries_2/graphics/entities/biofarm/pipe_connections/Bio_Farm-pipe-E_r.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/biofarm/pipe_connections/Bio_Farm-pipe-N_l.png b/Bio_Industries_2/graphics/entities/biofarm/pipe_connections/Bio_Farm-pipe-N_l.png deleted file mode 100644 index fc348f0..0000000 Binary files a/Bio_Industries_2/graphics/entities/biofarm/pipe_connections/Bio_Farm-pipe-N_l.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/biofarm/pipe_connections/Bio_Farm-pipe-N_r.png b/Bio_Industries_2/graphics/entities/biofarm/pipe_connections/Bio_Farm-pipe-N_r.png deleted file mode 100644 index 42f3876..0000000 Binary files a/Bio_Industries_2/graphics/entities/biofarm/pipe_connections/Bio_Farm-pipe-N_r.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/biofarm/pipe_connections/Bio_Farm-pipe-S_l.png b/Bio_Industries_2/graphics/entities/biofarm/pipe_connections/Bio_Farm-pipe-S_l.png deleted file mode 100644 index 278aa54..0000000 Binary files a/Bio_Industries_2/graphics/entities/biofarm/pipe_connections/Bio_Farm-pipe-S_l.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/biofarm/pipe_connections/Bio_Farm-pipe-S_r.png b/Bio_Industries_2/graphics/entities/biofarm/pipe_connections/Bio_Farm-pipe-S_r.png deleted file mode 100644 index af3491c..0000000 Binary files a/Bio_Industries_2/graphics/entities/biofarm/pipe_connections/Bio_Farm-pipe-S_r.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/biofarm/pipe_connections/Bio_Farm-pipe-W_l.png b/Bio_Industries_2/graphics/entities/biofarm/pipe_connections/Bio_Farm-pipe-W_l.png deleted file mode 100644 index 3b246d3..0000000 Binary files a/Bio_Industries_2/graphics/entities/biofarm/pipe_connections/Bio_Farm-pipe-W_l.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/biofarm/pipe_connections/Bio_Farm-pipe-W_r.png b/Bio_Industries_2/graphics/entities/biofarm/pipe_connections/Bio_Farm-pipe-W_r.png deleted file mode 100644 index e6e00ed..0000000 Binary files a/Bio_Industries_2/graphics/entities/biofarm/pipe_connections/Bio_Farm-pipe-W_r.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/biofarm/pipe_connections/x/Bio_Farm-pipe-E.png b/Bio_Industries_2/graphics/entities/biofarm/pipe_connections/x/Bio_Farm-pipe-E.png deleted file mode 100644 index bc6a3db..0000000 Binary files a/Bio_Industries_2/graphics/entities/biofarm/pipe_connections/x/Bio_Farm-pipe-E.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/biofarm/pipe_connections/x/Bio_Farm-pipe-N.png b/Bio_Industries_2/graphics/entities/biofarm/pipe_connections/x/Bio_Farm-pipe-N.png deleted file mode 100644 index 42d4b33..0000000 Binary files a/Bio_Industries_2/graphics/entities/biofarm/pipe_connections/x/Bio_Farm-pipe-N.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/biofarm/pipe_connections/x/Bio_Farm-pipe-S.png b/Bio_Industries_2/graphics/entities/biofarm/pipe_connections/x/Bio_Farm-pipe-S.png deleted file mode 100644 index bd66ea1..0000000 Binary files a/Bio_Industries_2/graphics/entities/biofarm/pipe_connections/x/Bio_Farm-pipe-S.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/biofarm/pipe_connections/x/Bio_Farm-pipe-W.png b/Bio_Industries_2/graphics/entities/biofarm/pipe_connections/x/Bio_Farm-pipe-W.png deleted file mode 100644 index c48bd8c..0000000 Binary files a/Bio_Industries_2/graphics/entities/biofarm/pipe_connections/x/Bio_Farm-pipe-W.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/biogarden/bio_garden_x.png b/Bio_Industries_2/graphics/entities/biogarden/bio_garden_x.png deleted file mode 100644 index ef39292..0000000 Binary files a/Bio_Industries_2/graphics/entities/biogarden/bio_garden_x.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/bioreactor/bioreactor.png b/Bio_Industries_2/graphics/entities/bioreactor/bioreactor.png deleted file mode 100644 index 0ccdf29..0000000 Binary files a/Bio_Industries_2/graphics/entities/bioreactor/bioreactor.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/bioreactor/pipe-east.png b/Bio_Industries_2/graphics/entities/bioreactor/pipe-east.png deleted file mode 100644 index 829f23e..0000000 Binary files a/Bio_Industries_2/graphics/entities/bioreactor/pipe-east.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/bioreactor/pipe-south.png b/Bio_Industries_2/graphics/entities/bioreactor/pipe-south.png deleted file mode 100644 index 03bf04c..0000000 Binary files a/Bio_Industries_2/graphics/entities/bioreactor/pipe-south.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/bioreactor/pipe-west.png b/Bio_Industries_2/graphics/entities/bioreactor/pipe-west.png deleted file mode 100644 index f8d44f1..0000000 Binary files a/Bio_Industries_2/graphics/entities/bioreactor/pipe-west.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-01.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-01.png index 9296ebd..2b127c4 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-01.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-01.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-02.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-02.png index a4f7cb4..4f54b64 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-02.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-02.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-03.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-03.png index bc2b747..65dae70 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-03.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-03.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-04.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-04.png index 3e8ff8d..7a4aeb8 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-04.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-04.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-05.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-05.png index 473112b..8fc6c29 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-05.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-05.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-06.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-06.png index da6491a..5afded5 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-06.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-06.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-07.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-07.png index 9ac3ccd..0d24718 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-07.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-07.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-08.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-08.png index 4bd00ff..250a8cc 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-08.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-08.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-09.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-09.png index 98c02f7..0ab3422 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-09.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-09.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-10.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-10.png index 940b8ef..2320279 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-10.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-10.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-11.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-11.png index 8b8b73c..444657a 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-11.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-11.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-12.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-12.png index 33d6739..95c40e6 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-12.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-12.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-13.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-13.png index 8cbb9a5..17368b2 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-13.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-13.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-14.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-14.png index 3caba33..9864a42 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-14.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-14.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-15.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-15.png index 7c7da9e..a9829be 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-15.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-15.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-16.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-16.png index 6bf9d2d..49cc103 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-16.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-16.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-17.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-17.png index 6fb0637..587eb03 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-17.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-17.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-18.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-18.png index 68910dd..7234681 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-18.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-18.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-19.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-19.png index e8389f3..07181fb 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-19.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-19.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-20.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-20.png index c102635..afed4c7 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-20.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-20.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-21.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-21.png index 54727be..ed0e324 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-21.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-21.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-22.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-22.png index 689ad87..9baf196 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-22.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-22.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-23.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-23.png index b6ed1c4..df958fe 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-23.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-23.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-24.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-24.png index dd146fd..efb5da8 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-24.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-24.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-25.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-25.png index 6ab232e..503c795 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-25.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-25.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-26.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-26.png index 32a117a..b5db2d1 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-26.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-26.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-27.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-27.png index 5632d8b..5dda286 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-27.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-27.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-28.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-28.png index 9e599aa..c88a0b0 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-28.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-28.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-29.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-29.png index 33157d2..aef7e39 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-29.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-29.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-01.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-01.png index 3f83343..a297450 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-01.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-01.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-02.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-02.png index d6f939b..c105a8e 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-02.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-02.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-03.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-03.png index f205e93..42b77c6 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-03.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-03.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-04.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-04.png index 5743c3a..87ba90a 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-04.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-04.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-05.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-05.png index a71fb63..2389b4d 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-05.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-05.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-06.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-06.png index a2139b1..f08090a 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-06.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-06.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-07.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-07.png index 9e3ee2b..7fbdf40 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-07.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-07.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-08.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-08.png index d1cf2e7..a42e023 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-08.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-08.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-09.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-09.png index c0d9764..868ad89 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-09.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-09.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-10.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-10.png index 8ce400e..167eead 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-10.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-10.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-11.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-11.png index 9ce6ca6..c934e82 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-11.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-11.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-12.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-12.png index a828908..5959605 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-12.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-12.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-13.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-13.png index 359b0f9..3494435 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-13.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-13.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-14.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-14.png index cfc887f..6a8c219 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-14.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-14.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-15.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-15.png index ca3afb8..d362df4 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-15.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-15.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-16.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-16.png index 1fceb9b..d9e74aa 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-16.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-16.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-17.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-17.png index 1ddff55..3c822f2 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-17.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-17.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-18.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-18.png index b269c9e..6b5d244 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-18.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-18.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-19.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-19.png index 1afa206..57d5fb1 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-19.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-19.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-20.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-20.png index 4221467..132e839 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-20.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-20.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-21.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-21.png index 3043cca..3665a92 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-21.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-21.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-22.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-22.png index 5dcb466..6dae9b6 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-22.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-22.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-23.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-23.png index 8845d3b..666dfa9 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-23.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-23.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-24.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-24.png index bd7c548..d489c3f 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-24.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-24.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-25.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-25.png index d6b8fa1..9d08add 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-25.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-25.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-26.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-26.png index 335cab7..468ef46 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-26.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-26.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-27.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-27.png index ebe3f8b..9cbbcda 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-27.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-27.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-28.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-28.png index 958c94d..9f18609 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-28.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-28.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-29.png b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-29.png index b2ea348..8983453 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-29.png and b/Bio_Industries_2/graphics/entities/branch-particle/branch-particle-shadow-29.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-01.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-01.png index 2eeb389..a055c1d 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-01.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-01.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-02.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-02.png index 3e9bd14..05a18de 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-02.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-02.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-03.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-03.png index 8d21e90..5d4e374 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-03.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-03.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-04.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-04.png index 49d5ddb..17dea46 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-04.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-04.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-05.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-05.png index 05c57b1..46ce5fb 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-05.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-05.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-06.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-06.png index a5485b4..80c8d13 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-06.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-06.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-07.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-07.png index 514bd7c..1ca079e 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-07.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-07.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-08.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-08.png index e10235d..60851b5 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-08.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-08.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-09.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-09.png index 0474f0d..5763634 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-09.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-09.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-10.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-10.png index 37697b0..db5829a 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-10.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-10.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-11.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-11.png index 1f108fd..b491072 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-11.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-11.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-12.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-12.png index d982475..5947169 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-12.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-12.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-13.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-13.png index cb768da..6e7e8c6 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-13.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-13.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-14.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-14.png index 783e74e..fee529c 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-14.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-14.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-15.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-15.png index f43239c..34a87f4 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-15.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-15.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-16.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-16.png index 1702223..02b4d5d 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-16.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-16.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-17.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-17.png index 0b31004..7f40910 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-17.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-17.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-18.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-18.png index 9081e9b..28878aa 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-18.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-18.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-19.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-19.png index 567642a..bc858eb 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-19.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-19.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-20.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-20.png index 733f5b8..4800eab 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-20.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-20.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-21.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-21.png index beb57ce..e980813 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-21.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-21.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-22.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-22.png index d21c567..361ac56 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-22.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-22.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-23.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-23.png index 049cf01..7c47da7 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-23.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-23.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-24.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-24.png index f3ca3bf..a533695 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-24.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-24.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-25.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-25.png index b469b3e..a31c0a3 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-25.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-25.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-26.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-26.png index 0bc30bf..02de86a 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-26.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-26.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-27.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-27.png index e6fd35b..0416b26 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-27.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-27.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-28.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-28.png index 2be589d..d1103ec 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-28.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-28.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-29.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-29.png index b6efdef..8a2ba76 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-29.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-29.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-01.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-01.png index cd0c683..2e47189 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-01.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-01.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-02.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-02.png index 0be650a..2607d6e 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-02.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-02.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-03.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-03.png index 521fe10..f508b3c 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-03.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-03.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-04.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-04.png index 880c539..e4beba1 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-04.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-04.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-05.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-05.png index 154e16d..6f8c7b4 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-05.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-05.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-06.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-06.png index ff546eb..cc4eefc 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-06.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-06.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-07.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-07.png index 8d94e53..5990c3b 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-07.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-07.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-08.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-08.png index 071eb2c..5ffb7c1 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-08.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-08.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-09.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-09.png index 9b24c62..6e19895 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-09.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-09.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-10.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-10.png index d26db87..0cc29c6 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-10.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-10.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-11.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-11.png index fce5bba..a77a327 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-11.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-11.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-12.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-12.png index 1818b2f..76f0a41 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-12.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-12.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-13.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-13.png index 6b5d70d..3a1ad1f 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-13.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-13.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-14.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-14.png index af1d0e3..95a8b62 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-14.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-14.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-15.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-15.png index 29ee90e..4e94f47 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-15.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-15.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-16.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-16.png index 1e18476..de92dd6 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-16.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-16.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-17.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-17.png index 247b20d..137588e 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-17.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-17.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-18.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-18.png index c5f6b21..7449c90 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-18.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-18.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-19.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-19.png index aa94663..deb0c01 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-19.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-19.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-20.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-20.png index e2f6d7a..f7e7d93 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-20.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-20.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-21.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-21.png index 8093ee6..59e5656 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-21.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-21.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-22.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-22.png index ecb47f1..4724731 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-22.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-22.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-23.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-23.png index 19d081d..30acef3 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-23.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-23.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-24.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-24.png index 16f4e62..245a347 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-24.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-24.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-25.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-25.png index a8ee926..1271450 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-25.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-25.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-26.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-26.png index 722a2c9..925b868 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-26.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-26.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-27.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-27.png index b14a220..5de24b6 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-27.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-27.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-28.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-28.png index 5d15047..57e31ef 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-28.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-28.png differ diff --git a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-29.png b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-29.png index dd212fc..709e9f4 100644 Binary files a/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-29.png and b/Bio_Industries_2/graphics/entities/branch-particle/hr-branch-particle-shadow-29.png differ diff --git a/Bio_Industries_2/graphics/entities/cokery/cokery-idle.png b/Bio_Industries_2/graphics/entities/cokery/cokery-idle.png deleted file mode 100644 index 765f841..0000000 Binary files a/Bio_Industries_2/graphics/entities/cokery/cokery-idle.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/cokery/cokery_sheet.png b/Bio_Industries_2/graphics/entities/cokery/cokery_sheet.png deleted file mode 100644 index baf2200..0000000 Binary files a/Bio_Industries_2/graphics/entities/cokery/cokery_sheet.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-01-shadow.png b/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-01-shadow.png index 4699e54..48567e8 100644 Binary files a/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-01-shadow.png and b/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-01-shadow.png differ diff --git a/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-01.png b/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-01.png index 850a49a..ac690b5 100644 Binary files a/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-01.png and b/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-01.png differ diff --git a/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-02-shadow.png b/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-02-shadow.png index 66a5eb5..73de01f 100644 Binary files a/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-02-shadow.png and b/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-02-shadow.png differ diff --git a/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-03-shadow.png b/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-03-shadow.png index 8bfb569..fe3d9ff 100644 Binary files a/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-03-shadow.png and b/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-03-shadow.png differ diff --git a/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-04-shadow.png b/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-04-shadow.png index 480b709..721be18 100644 Binary files a/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-04-shadow.png and b/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-04-shadow.png differ diff --git a/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-04.png b/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-04.png index 9bf85d8..27636c4 100644 Binary files a/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-04.png and b/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-04.png differ diff --git a/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-05-shadow.png b/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-05-shadow.png index a916c00..96e240c 100644 Binary files a/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-05-shadow.png and b/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-05-shadow.png differ diff --git a/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-06-shadow.png b/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-06-shadow.png index 3e43355..2c31861 100644 Binary files a/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-06-shadow.png and b/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-06-shadow.png differ diff --git a/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-06.png b/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-06.png index 017954b..5df8dd3 100644 Binary files a/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-06.png and b/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-06.png differ diff --git a/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-07-shadow.png b/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-07-shadow.png index 17b971d..58cac9b 100644 Binary files a/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-07-shadow.png and b/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-07-shadow.png differ diff --git a/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-08-shadow.png b/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-08-shadow.png index 950e88c..6dec497 100644 Binary files a/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-08-shadow.png and b/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-08-shadow.png differ diff --git a/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-08.png b/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-08.png index c482432..ada1dc3 100644 Binary files a/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-08.png and b/Bio_Industries_2/graphics/entities/leaf-particle/leaf-particle-08.png differ diff --git a/Bio_Industries_2/graphics/entities/remnants/arboretum_remnant.png b/Bio_Industries_2/graphics/entities/remnants/arboretum_remnant.png new file mode 100644 index 0000000..23b29a5 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/remnants/arboretum_remnant.png differ diff --git a/Bio_Industries_2/graphics/entities/remnants/bi_large_accumulator_remnant.png b/Bio_Industries_2/graphics/entities/remnants/bi_large_accumulator_remnant.png new file mode 100644 index 0000000..0dd8bdb Binary files /dev/null and b/Bio_Industries_2/graphics/entities/remnants/bi_large_accumulator_remnant.png differ diff --git a/Bio_Industries_2/graphics/entities/remnants/big-wooden-pole_remnant.png b/Bio_Industries_2/graphics/entities/remnants/big-wooden-pole_remnant.png new file mode 100644 index 0000000..50c082f Binary files /dev/null and b/Bio_Industries_2/graphics/entities/remnants/big-wooden-pole_remnant.png differ diff --git a/Bio_Industries_2/graphics/entities/remnants/bio_cannon_remnant.png b/Bio_Industries_2/graphics/entities/remnants/bio_cannon_remnant.png index ee0cdaa..f2a9d4e 100644 Binary files a/Bio_Industries_2/graphics/entities/remnants/bio_cannon_remnant.png and b/Bio_Industries_2/graphics/entities/remnants/bio_cannon_remnant.png differ diff --git a/Bio_Industries_2/graphics/entities/remnants/bio_farm_remnant.png b/Bio_Industries_2/graphics/entities/remnants/bio_farm_remnant.png new file mode 100644 index 0000000..9d9b5f5 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/remnants/bio_farm_remnant.png differ diff --git a/Bio_Industries_2/graphics/entities/remnants/bio_garden_huge_remnant.png b/Bio_Industries_2/graphics/entities/remnants/bio_garden_huge_remnant.png new file mode 100644 index 0000000..6fe5804 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/remnants/bio_garden_huge_remnant.png differ diff --git a/Bio_Industries_2/graphics/entities/remnants/bio_garden_large_remnant.png b/Bio_Industries_2/graphics/entities/remnants/bio_garden_large_remnant.png new file mode 100644 index 0000000..fc61747 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/remnants/bio_garden_large_remnant.png differ diff --git a/Bio_Industries_2/graphics/entities/remnants/bio_garden_remnant.png b/Bio_Industries_2/graphics/entities/remnants/bio_garden_remnant.png new file mode 100644 index 0000000..29c60af Binary files /dev/null and b/Bio_Industries_2/graphics/entities/remnants/bio_garden_remnant.png differ diff --git a/Bio_Industries_2/graphics/entities/remnants/bio_greenhouse_remnant.png b/Bio_Industries_2/graphics/entities/remnants/bio_greenhouse_remnant.png new file mode 100644 index 0000000..8042b44 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/remnants/bio_greenhouse_remnant.png differ diff --git a/Bio_Industries_2/graphics/entities/remnants/bio_solar_boiler_remnant.png b/Bio_Industries_2/graphics/entities/remnants/bio_solar_boiler_remnant.png new file mode 100644 index 0000000..2d8c65b Binary files /dev/null and b/Bio_Industries_2/graphics/entities/remnants/bio_solar_boiler_remnant.png differ diff --git a/Bio_Industries_2/graphics/entities/remnants/bio_solar_farm_remnant.png b/Bio_Industries_2/graphics/entities/remnants/bio_solar_farm_remnant.png new file mode 100644 index 0000000..639a7a4 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/remnants/bio_solar_farm_remnant.png differ diff --git a/Bio_Industries_2/graphics/entities/remnants/bio_turret_remnant.png b/Bio_Industries_2/graphics/entities/remnants/bio_turret_remnant.png new file mode 100644 index 0000000..8093899 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/remnants/bio_turret_remnant.png differ diff --git a/Bio_Industries_2/graphics/entities/remnants/bioreactor_remnant.png b/Bio_Industries_2/graphics/entities/remnants/bioreactor_remnant.png new file mode 100644 index 0000000..953fe6f Binary files /dev/null and b/Bio_Industries_2/graphics/entities/remnants/bioreactor_remnant.png differ diff --git a/Bio_Industries_2/graphics/entities/remnants/cokery_remnant.png b/Bio_Industries_2/graphics/entities/remnants/cokery_remnant.png new file mode 100644 index 0000000..154d0c3 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/remnants/cokery_remnant.png differ diff --git a/Bio_Industries_2/graphics/entities/remnants/giga_wooden_chest_remnant.png b/Bio_Industries_2/graphics/entities/remnants/giga_wooden_chest_remnant.png new file mode 100644 index 0000000..99bc69c Binary files /dev/null and b/Bio_Industries_2/graphics/entities/remnants/giga_wooden_chest_remnant.png differ diff --git a/Bio_Industries_2/graphics/entities/remnants/hr_bio_cannon_remnant.png b/Bio_Industries_2/graphics/entities/remnants/hr_bio_cannon_remnant.png deleted file mode 100644 index f2a9d4e..0000000 Binary files a/Bio_Industries_2/graphics/entities/remnants/hr_bio_cannon_remnant.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/remnants/huge_wooden_chest_remnant.png b/Bio_Industries_2/graphics/entities/remnants/huge_wooden_chest_remnant.png new file mode 100644 index 0000000..9c43502 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/remnants/huge_wooden_chest_remnant.png differ diff --git a/Bio_Industries_2/graphics/entities/remnants/huge_wooden_pole_remnant.png b/Bio_Industries_2/graphics/entities/remnants/huge_wooden_pole_remnant.png new file mode 100644 index 0000000..0c3ca77 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/remnants/huge_wooden_pole_remnant.png differ diff --git a/Bio_Industries_2/graphics/entities/remnants/large_substation_remnant.png b/Bio_Industries_2/graphics/entities/remnants/large_substation_remnant.png new file mode 100644 index 0000000..56d8eb5 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/remnants/large_substation_remnant.png differ diff --git a/Bio_Industries_2/graphics/entities/remnants/large_wooden_chest_remnant.png b/Bio_Industries_2/graphics/entities/remnants/large_wooden_chest_remnant.png new file mode 100644 index 0000000..10e3602 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/remnants/large_wooden_chest_remnant.png differ diff --git a/Bio_Industries_2/graphics/entities/remnants/stone_crusher_remnant.png b/Bio_Industries_2/graphics/entities/remnants/stone_crusher_remnant.png new file mode 100644 index 0000000..eb813bd Binary files /dev/null and b/Bio_Industries_2/graphics/entities/remnants/stone_crusher_remnant.png differ diff --git a/Bio_Industries_2/graphics/entities/remnants/wooden_fence_remnant.png b/Bio_Industries_2/graphics/entities/remnants/wooden_fence_remnant.png new file mode 100644 index 0000000..713d3bc Binary files /dev/null and b/Bio_Industries_2/graphics/entities/remnants/wooden_fence_remnant.png differ diff --git a/Bio_Industries_2/graphics/entities/remnants/woodpipe_remnant.png b/Bio_Industries_2/graphics/entities/remnants/woodpipe_remnant.png new file mode 100644 index 0000000..713d3bc Binary files /dev/null and b/Bio_Industries_2/graphics/entities/remnants/woodpipe_remnant.png differ diff --git a/Bio_Industries_2/graphics/entities/small-lamp/light-on-patch.png b/Bio_Industries_2/graphics/entities/small-lamp/light-on-patch.png deleted file mode 100644 index 41c2221..0000000 Binary files a/Bio_Industries_2/graphics/entities/small-lamp/light-on-patch.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/stone-crusher/stone-crusher-anim.png b/Bio_Industries_2/graphics/entities/stone-crusher/stone-crusher-anim.png deleted file mode 100644 index 7c34767..0000000 Binary files a/Bio_Industries_2/graphics/entities/stone-crusher/stone-crusher-anim.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/stone-crusher/stone-crusher-off-anim.png b/Bio_Industries_2/graphics/entities/stone-crusher/stone-crusher-off-anim.png deleted file mode 100644 index e0ba4a8..0000000 Binary files a/Bio_Industries_2/graphics/entities/stone-crusher/stone-crusher-off-anim.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/stone-crusher/stone-crusher.png b/Bio_Industries_2/graphics/entities/stone-crusher/stone-crusher.png deleted file mode 100644 index b815559..0000000 Binary files a/Bio_Industries_2/graphics/entities/stone-crusher/stone-crusher.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/stone-crusher/stone_crusher_anim.png b/Bio_Industries_2/graphics/entities/stone-crusher/stone_crusher_anim.png deleted file mode 100644 index 3c5057d..0000000 Binary files a/Bio_Industries_2/graphics/entities/stone-crusher/stone_crusher_anim.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/entities/wood_products/giga_wooden_chest.png b/Bio_Industries_2/graphics/entities/wood_products/giga_wooden_chest.png index 6ef25c4..0ad85e7 100644 Binary files a/Bio_Industries_2/graphics/entities/wood_products/giga_wooden_chest.png and b/Bio_Industries_2/graphics/entities/wood_products/giga_wooden_chest.png differ diff --git a/Bio_Industries_2/graphics/entities/wood_products/giga_wooden_chest_shadow.png b/Bio_Industries_2/graphics/entities/wood_products/giga_wooden_chest_shadow.png new file mode 100644 index 0000000..9550951 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/wood_products/giga_wooden_chest_shadow.png differ diff --git a/Bio_Industries_2/graphics/entities/wood_products/huge_wooden_chest.png b/Bio_Industries_2/graphics/entities/wood_products/huge_wooden_chest.png index 535c450..3aac0f7 100644 Binary files a/Bio_Industries_2/graphics/entities/wood_products/huge_wooden_chest.png and b/Bio_Industries_2/graphics/entities/wood_products/huge_wooden_chest.png differ diff --git a/Bio_Industries_2/graphics/entities/wood_products/huge_wooden_chest_shadow.png b/Bio_Industries_2/graphics/entities/wood_products/huge_wooden_chest_shadow.png new file mode 100644 index 0000000..5b86d44 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/wood_products/huge_wooden_chest_shadow.png differ diff --git a/Bio_Industries_2/graphics/entities/wood_products/large_wooden_chest.png b/Bio_Industries_2/graphics/entities/wood_products/large_wooden_chest.png index a32a75e..a03066b 100644 Binary files a/Bio_Industries_2/graphics/entities/wood_products/large_wooden_chest.png and b/Bio_Industries_2/graphics/entities/wood_products/large_wooden_chest.png differ diff --git a/Bio_Industries_2/graphics/entities/wood_products/large_wooden_chest_shadow.png b/Bio_Industries_2/graphics/entities/wood_products/large_wooden_chest_shadow.png new file mode 100644 index 0000000..900e218 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/wood_products/large_wooden_chest_shadow.png differ diff --git a/Bio_Industries_2/graphics/entities/wood_products/rails/new_rail/rail-remnants-ties-concrete.png b/Bio_Industries_2/graphics/entities/wood_products/rails/new_rail/rail-remnants-ties-concrete.png new file mode 100644 index 0000000..9329ab1 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/wood_products/rails/new_rail/rail-remnants-ties-concrete.png differ diff --git a/Bio_Industries_2/graphics/entities/wood_products/rails/new_rail/rail-remnants-ties-wood.png b/Bio_Industries_2/graphics/entities/wood_products/rails/new_rail/rail-remnants-ties-wood.png new file mode 100644 index 0000000..3bd8aca Binary files /dev/null and b/Bio_Industries_2/graphics/entities/wood_products/rails/new_rail/rail-remnants-ties-wood.png differ diff --git a/Bio_Industries_2/graphics/entities/wood_products/rails/new_rail/rail-ties-concrete.png b/Bio_Industries_2/graphics/entities/wood_products/rails/new_rail/rail-ties-concrete.png new file mode 100644 index 0000000..8cf3f39 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/wood_products/rails/new_rail/rail-ties-concrete.png differ diff --git a/Bio_Industries_2/graphics/entities/wood_products/rails/new_rail/rail-ties-wood.png b/Bio_Industries_2/graphics/entities/wood_products/rails/new_rail/rail-ties-wood.png new file mode 100644 index 0000000..9f7f181 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/wood_products/rails/new_rail/rail-ties-wood.png differ diff --git a/Bio_Industries_2/graphics/entities/wood_products/wood_floor/hr_woodfloor_inner-corner-mask.png b/Bio_Industries_2/graphics/entities/wood_products/wood_floor/hr_woodfloor_inner-corner-mask.png new file mode 100644 index 0000000..765ac42 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/wood_products/wood_floor/hr_woodfloor_inner-corner-mask.png differ diff --git a/Bio_Industries_2/graphics/entities/wood_products/wood_floor/hr_woodfloor_o-mask.png b/Bio_Industries_2/graphics/entities/wood_products/wood_floor/hr_woodfloor_o-mask.png new file mode 100644 index 0000000..3863476 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/wood_products/wood_floor/hr_woodfloor_o-mask.png differ diff --git a/Bio_Industries_2/graphics/entities/wood_products/wood_floor/hr_woodfloor_o.png b/Bio_Industries_2/graphics/entities/wood_products/wood_floor/hr_woodfloor_o.png new file mode 100644 index 0000000..1c8f0bf Binary files /dev/null and b/Bio_Industries_2/graphics/entities/wood_products/wood_floor/hr_woodfloor_o.png differ diff --git a/Bio_Industries_2/graphics/entities/wood_products/wood_floor/hr_woodfloor_outer-corner-mask.png b/Bio_Industries_2/graphics/entities/wood_products/wood_floor/hr_woodfloor_outer-corner-mask.png new file mode 100644 index 0000000..3b0acfd Binary files /dev/null and b/Bio_Industries_2/graphics/entities/wood_products/wood_floor/hr_woodfloor_outer-corner-mask.png differ diff --git a/Bio_Industries_2/graphics/entities/wood_products/wood_floor/hr_woodfloor_side-mask.png b/Bio_Industries_2/graphics/entities/wood_products/wood_floor/hr_woodfloor_side-mask.png new file mode 100644 index 0000000..662627f Binary files /dev/null and b/Bio_Industries_2/graphics/entities/wood_products/wood_floor/hr_woodfloor_side-mask.png differ diff --git a/Bio_Industries_2/graphics/entities/wood_products/wood_floor/hr_woodfloor_u-mask.png b/Bio_Industries_2/graphics/entities/wood_products/wood_floor/hr_woodfloor_u-mask.png new file mode 100644 index 0000000..58f2ad7 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/wood_products/wood_floor/hr_woodfloor_u-mask.png differ diff --git a/Bio_Industries_2/graphics/entities/wood_products/wood_floor/woodfloor.png b/Bio_Industries_2/graphics/entities/wood_products/wood_floor/woodfloor.png new file mode 100644 index 0000000..9b4a8bf Binary files /dev/null and b/Bio_Industries_2/graphics/entities/wood_products/wood_floor/woodfloor.png differ diff --git a/Bio_Industries_2/graphics/entities/wood_products/wood_floor/woodfloor_inner-corner.png b/Bio_Industries_2/graphics/entities/wood_products/wood_floor/woodfloor_inner-corner.png new file mode 100644 index 0000000..4b0e1b0 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/wood_products/wood_floor/woodfloor_inner-corner.png differ diff --git a/Bio_Industries_2/graphics/entities/wood_products/wood_floor/woodfloor_outer-corner.png b/Bio_Industries_2/graphics/entities/wood_products/wood_floor/woodfloor_outer-corner.png new file mode 100644 index 0000000..414bba3 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/wood_products/wood_floor/woodfloor_outer-corner.png differ diff --git a/Bio_Industries_2/graphics/entities/wood_products/wood_floor/woodfloor_side.png b/Bio_Industries_2/graphics/entities/wood_products/wood_floor/woodfloor_side.png new file mode 100644 index 0000000..979af68 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/wood_products/wood_floor/woodfloor_side.png differ diff --git a/Bio_Industries_2/graphics/entities/wood_products/wood_floor/woodfloor_u.png b/Bio_Industries_2/graphics/entities/wood_products/wood_floor/woodfloor_u.png new file mode 100644 index 0000000..d805b17 Binary files /dev/null and b/Bio_Industries_2/graphics/entities/wood_products/wood_floor/woodfloor_u.png differ diff --git a/Bio_Industries_2/graphics/entities/wood_products/wood_pipe/hq_pipe_sheet.png b/Bio_Industries_2/graphics/entities/wood_products/wood_pipe/hq_pipe_sheet.png index f7f6a72..0503dd1 100644 Binary files a/Bio_Industries_2/graphics/entities/wood_products/wood_pipe/hq_pipe_sheet.png and b/Bio_Industries_2/graphics/entities/wood_products/wood_pipe/hq_pipe_sheet.png differ diff --git a/Bio_Industries_2/graphics/entities/wood_products/wood_pipe/lq_pipe_sheet.png b/Bio_Industries_2/graphics/entities/wood_products/wood_pipe/lq_pipe_sheet.png index 2837929..4be35d1 100644 Binary files a/Bio_Industries_2/graphics/entities/wood_products/wood_pipe/lq_pipe_sheet.png and b/Bio_Industries_2/graphics/entities/wood_products/wood_pipe/lq_pipe_sheet.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-01.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-01.png index 184edc6..826e65b 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-01.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-01.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-02.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-02.png index 04e4510..1284735 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-02.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-02.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-03.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-03.png index 3fe5842..4ec4435 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-03.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-03.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-04.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-04.png index 60e2043..e5f0005 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-04.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-04.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-05.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-05.png index 0c7ccf9..b6a0db4 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-05.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-05.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-06.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-06.png index e7108ff..34571a3 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-06.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-06.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-07.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-07.png index 6cb6b54..565a1ea 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-07.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-07.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-08.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-08.png index 1e945ea..1680593 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-08.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-08.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-09.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-09.png index b50caab..cf365b2 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-09.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-09.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-10.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-10.png index a92be4e..f9577a7 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-10.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-10.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-11.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-11.png index 754ef36..bf8d724 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-11.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-11.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-12.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-12.png index fab0922..66e9a66 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-12.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-12.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-13.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-13.png index 170f425..ccdce62 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-13.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-13.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-14.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-14.png index ae6b436..19b5379 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-14.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-14.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-15.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-15.png index ca63804..73458ec 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-15.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-15.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-16.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-16.png index d63bbb4..d7f24af 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-16.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-16.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-17.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-17.png index 1cd3cf7..36aef2a 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-17.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-17.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-18.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-18.png index 76f7a76..ca3dc88 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-18.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-18.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-19.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-19.png index b37b874..b7b940a 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-19.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-19.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-20.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-20.png index cdb37c4..68f82e2 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-20.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-20.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-21.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-21.png index 77365d6..c8a5378 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-21.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-21.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-22.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-22.png index a2992eb..856d648 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-22.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-22.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-23.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-23.png index dca2004..731c4e8 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-23.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-23.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-24.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-24.png index 7f6bc45..e2ebeb4 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-24.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-24.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-25.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-25.png index 222f577..542138f 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-25.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-25.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-01.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-01.png index aae0be6..7455a65 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-01.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-01.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-02.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-02.png index f19a655..78db69a 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-02.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-02.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-03.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-03.png index 6e58f83..a0256b4 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-03.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-03.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-04.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-04.png index 262125c..0479e66 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-04.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-04.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-05.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-05.png index 48aeb26..7d953fd 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-05.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-05.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-06.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-06.png index b870c48..bf180b9 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-06.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-06.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-07.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-07.png index 7fc7fd0..4523c51 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-07.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-07.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-08.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-08.png index 7fd59de..c387ef5 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-08.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-08.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-09.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-09.png index 673023e..436cdd2 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-09.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-09.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-10.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-10.png index 052b7f7..f217b9d 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-10.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-10.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-11.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-11.png index 71a0383..6d2759b 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-11.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-11.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-12.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-12.png index a50c3e7..11eb6a6 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-12.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-12.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-13.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-13.png index 51fab9a..2e2a729 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-13.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-13.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-14.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-14.png index 678d326..201613f 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-14.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-14.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-15.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-15.png index 3db8415..a76c43e 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-15.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-15.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-16.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-16.png index 59a018d..51937dd 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-16.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-16.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-17.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-17.png index 8a3b9b0..9f2e289 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-17.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-17.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-18.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-18.png index f3096d5..c3d0bf8 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-18.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-18.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-19.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-19.png index 52a37ca..5ea9e9e 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-19.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-19.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-20.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-20.png index 6f9c422..fb0e183 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-20.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-20.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-21.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-21.png index 002384b..edec301 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-21.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-21.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-22.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-22.png index 803afd2..b8a5fd9 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-22.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-22.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-23.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-23.png index da99f94..7a3ca00 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-23.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-23.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-24.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-24.png index a0c2b6a..d9f26fc 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-24.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-24.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-25.png b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-25.png index 21818fd..4736098 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-25.png and b/Bio_Industries_2/graphics/entities/wooden-particle/hr-wooden-particle-shadow-25.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-01.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-01.png index 3905425..bb0addf 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-01.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-01.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-02.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-02.png index 5265b7d..34c459f 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-02.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-02.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-03.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-03.png index 665b873..adb0091 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-03.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-03.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-04.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-04.png index d0670f9..3e8da60 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-04.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-04.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-05.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-05.png index 8e4c37e..c22707e 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-05.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-05.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-06.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-06.png index 80b14c9..803278d 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-06.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-06.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-07.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-07.png index 3d69ef3..c782605 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-07.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-07.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-08.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-08.png index e045e35..7f31bcf 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-08.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-08.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-09.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-09.png index ff4e273..ff44971 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-09.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-09.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-10.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-10.png index 4eb7aa5..00946a8 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-10.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-10.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-11.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-11.png index 3cb2b32..032074c 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-11.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-11.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-12.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-12.png index 412220a..0506f37 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-12.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-12.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-13.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-13.png index 53059e0..6bd338d 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-13.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-13.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-14.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-14.png index 456e7ad..b099058 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-14.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-14.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-15.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-15.png index 54aea9b..764c720 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-15.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-15.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-16.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-16.png index 303fa44..d3b7558 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-16.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-16.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-17.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-17.png index 65b2eed..fdced3d 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-17.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-17.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-18.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-18.png index 039bd2f..b1e2ca3 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-18.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-18.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-19.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-19.png index 7556685..8768c5e 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-19.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-19.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-20.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-20.png index 29e0f74..4b78b73 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-20.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-20.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-21.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-21.png index ec64d41..3ea9daa 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-21.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-21.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-22.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-22.png index 30b88dc..5f76aa5 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-22.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-22.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-23.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-23.png index 0ebe654..53198dd 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-23.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-23.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-24.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-24.png index a549593..91d6aa4 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-24.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-24.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-25.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-25.png index bdfdeb0..6c8ed13 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-25.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-25.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-3.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-3.png index ee850f7..cfe9666 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-3.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-3.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-4.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-4.png index b0c05b2..00e9f47 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-4.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-4.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-01.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-01.png index a24c1cd..f93813a 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-01.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-01.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-02.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-02.png index f07ef9a..a7323e3 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-02.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-02.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-03.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-03.png index 7274513..a990af6 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-03.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-03.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-04.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-04.png index 7a09b87..58956d5 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-04.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-04.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-05.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-05.png index 7830853..0edf69a 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-05.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-05.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-06.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-06.png index 1edc1a5..3c07a46 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-06.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-06.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-07.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-07.png index b7897cb..807d369 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-07.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-07.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-08.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-08.png index 5895685..6b7b5a2 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-08.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-08.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-09.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-09.png index af541b5..3b90dce 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-09.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-09.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-10.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-10.png index 202aa3f..1eb7d3a 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-10.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-10.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-11.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-11.png index 9fabd15..99ef0c1 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-11.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-11.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-12.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-12.png index d8a5e9b..ab166e4 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-12.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-12.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-13.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-13.png index 5cf843d..c5a089e 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-13.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-13.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-14.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-14.png index f80b89c..1aad2b8 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-14.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-14.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-15.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-15.png index d49306f..f1e0ea3 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-15.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-15.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-16.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-16.png index e96b495..213ed02 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-16.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-16.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-17.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-17.png index e71bad6..63329b9 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-17.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-17.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-18.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-18.png index 56420d7..a4202e6 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-18.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-18.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-19.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-19.png index 875076d..f45ffb0 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-19.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-19.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-20.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-20.png index 8e8f4af..b9d28db 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-20.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-20.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-21.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-21.png index 1cae7f8..bf5f50a 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-21.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-21.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-22.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-22.png index 855260d..8530033 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-22.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-22.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-23.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-23.png index 807b6ac..2aa561d 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-23.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-23.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-24.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-24.png index b51e9ea..cccc3c3 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-24.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-24.png differ diff --git a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-25.png b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-25.png index ca8acbb..be9c37a 100644 Binary files a/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-25.png and b/Bio_Industries_2/graphics/entities/wooden-particle/wooden-particle-shadow-25.png differ diff --git a/Bio_Industries_2/graphics/icons/Clean_Air2.png b/Bio_Industries_2/graphics/icons/Clean_Air2.png index 0c8b837..04ff2e4 100644 Binary files a/Bio_Industries_2/graphics/icons/Clean_Air2.png and b/Bio_Industries_2/graphics/icons/Clean_Air2.png differ diff --git a/Bio_Industries_2/graphics/icons/Fuel_Brick.png b/Bio_Industries_2/graphics/icons/Fuel_Brick.png index b06eb47..433491a 100644 Binary files a/Bio_Industries_2/graphics/icons/Fuel_Brick.png and b/Bio_Industries_2/graphics/icons/Fuel_Brick.png differ diff --git a/Bio_Industries_2/graphics/icons/Seed_bomb_icon_a.png b/Bio_Industries_2/graphics/icons/Seed_bomb_icon_a.png deleted file mode 100644 index c4b7f4c..0000000 Binary files a/Bio_Industries_2/graphics/icons/Seed_bomb_icon_a.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/Seed_bomb_icon_b.png b/Bio_Industries_2/graphics/icons/Seed_bomb_icon_b.png deleted file mode 100644 index 602be90..0000000 Binary files a/Bio_Industries_2/graphics/icons/Seed_bomb_icon_b.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/Seed_bomb_icon_s.png b/Bio_Industries_2/graphics/icons/Seed_bomb_icon_s.png deleted file mode 100644 index bb9adcb..0000000 Binary files a/Bio_Industries_2/graphics/icons/Seed_bomb_icon_s.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/Seedling.png b/Bio_Industries_2/graphics/icons/Seedling.png index 3141480..f317eea 100644 Binary files a/Bio_Industries_2/graphics/icons/Seedling.png and b/Bio_Industries_2/graphics/icons/Seedling.png differ diff --git a/Bio_Industries_2/graphics/icons/Seedling1.png b/Bio_Industries_2/graphics/icons/Seedling1.png index 279dde4..f317eea 100644 Binary files a/Bio_Industries_2/graphics/icons/Seedling1.png and b/Bio_Industries_2/graphics/icons/Seedling1.png differ diff --git a/Bio_Industries_2/graphics/icons/Seedling2.png b/Bio_Industries_2/graphics/icons/Seedling2.png index 9f1ab4d..4a5c4d5 100644 Binary files a/Bio_Industries_2/graphics/icons/Seedling2.png and b/Bio_Industries_2/graphics/icons/Seedling2.png differ diff --git a/Bio_Industries_2/graphics/icons/Seedling3.png b/Bio_Industries_2/graphics/icons/Seedling3.png index 468bf1e..d5b8d15 100644 Binary files a/Bio_Industries_2/graphics/icons/Seedling3.png and b/Bio_Industries_2/graphics/icons/Seedling3.png differ diff --git a/Bio_Industries_2/graphics/icons/Seedling4.png b/Bio_Industries_2/graphics/icons/Seedling4.png index 9639877..c4bd0e1 100644 Binary files a/Bio_Industries_2/graphics/icons/Seedling4.png and b/Bio_Industries_2/graphics/icons/Seedling4.png differ diff --git a/Bio_Industries_2/graphics/icons/Seedling_a.png b/Bio_Industries_2/graphics/icons/Seedling_a.png index 56becb2..77dd572 100644 Binary files a/Bio_Industries_2/graphics/icons/Seedling_a.png and b/Bio_Industries_2/graphics/icons/Seedling_a.png differ diff --git a/Bio_Industries_2/graphics/icons/Seedling_b.png b/Bio_Industries_2/graphics/icons/Seedling_b.png index 72a93a4..136ca3b 100644 Binary files a/Bio_Industries_2/graphics/icons/Seedling_b.png and b/Bio_Industries_2/graphics/icons/Seedling_b.png differ diff --git a/Bio_Industries_2/graphics/icons/Woodpulp_raw-wood.png b/Bio_Industries_2/graphics/icons/Woodpulp_raw-wood.png index e963697..157b5c8 100644 Binary files a/Bio_Industries_2/graphics/icons/Woodpulp_raw-wood.png and b/Bio_Industries_2/graphics/icons/Woodpulp_raw-wood.png differ diff --git a/Bio_Industries_2/graphics/icons/ash-recipes/py_Seedling2.png b/Bio_Industries_2/graphics/icons/ash-recipes/py_Seedling2.png deleted file mode 100644 index efdbf13..0000000 Binary files a/Bio_Industries_2/graphics/icons/ash-recipes/py_Seedling2.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/ash-recipes/py_ash_raw-wood.png b/Bio_Industries_2/graphics/icons/ash-recipes/py_ash_raw-wood.png deleted file mode 100644 index caad3ca..0000000 Binary files a/Bio_Industries_2/graphics/icons/ash-recipes/py_ash_raw-wood.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/ash-recipes/py_ash_woodpulp.png b/Bio_Industries_2/graphics/icons/ash-recipes/py_ash_woodpulp.png deleted file mode 100644 index 2378cbe..0000000 Binary files a/Bio_Industries_2/graphics/icons/ash-recipes/py_ash_woodpulp.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/ash-recipes/py_bi_stone_brick.png b/Bio_Industries_2/graphics/icons/ash-recipes/py_bi_stone_brick.png deleted file mode 100644 index ce7ca94..0000000 Binary files a/Bio_Industries_2/graphics/icons/ash-recipes/py_bi_stone_brick.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/ash-recipes/py_bio_seed2.png b/Bio_Industries_2/graphics/icons/ash-recipes/py_bio_seed2.png deleted file mode 100644 index 62ab8f2..0000000 Binary files a/Bio_Industries_2/graphics/icons/ash-recipes/py_bio_seed2.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/ash-recipes/py_bio_sulfur.png b/Bio_Industries_2/graphics/icons/ash-recipes/py_bio_sulfur.png deleted file mode 100644 index 1b3c7ef..0000000 Binary files a/Bio_Industries_2/graphics/icons/ash-recipes/py_bio_sulfur.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/ash-recipes/py_raw-wood-mk2.png b/Bio_Industries_2/graphics/icons/ash-recipes/py_raw-wood-mk2.png deleted file mode 100644 index 7475060..0000000 Binary files a/Bio_Industries_2/graphics/icons/ash-recipes/py_raw-wood-mk2.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/ash.png b/Bio_Industries_2/graphics/icons/ash.png index 37fe5b8..35c6a54 100644 Binary files a/Bio_Industries_2/graphics/icons/ash.png and b/Bio_Industries_2/graphics/icons/ash.png differ diff --git a/Bio_Industries_2/graphics/icons/ash_64.png b/Bio_Industries_2/graphics/icons/ash_64.png deleted file mode 100644 index 37fe5b8..0000000 Binary files a/Bio_Industries_2/graphics/icons/ash_64.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/ash_raw-wood.png b/Bio_Industries_2/graphics/icons/ash_raw-wood.png index 504e0de..4e825dc 100644 Binary files a/Bio_Industries_2/graphics/icons/ash_raw-wood.png and b/Bio_Industries_2/graphics/icons/ash_raw-wood.png differ diff --git a/Bio_Industries_2/graphics/icons/ash_woodpulp.png b/Bio_Industries_2/graphics/icons/ash_woodpulp.png index 09e8f00..7d9d21c 100644 Binary files a/Bio_Industries_2/graphics/icons/ash_woodpulp.png and b/Bio_Industries_2/graphics/icons/ash_woodpulp.png differ diff --git a/Bio_Industries_2/graphics/icons/basic_dart_icon.png b/Bio_Industries_2/graphics/icons/basic_dart_icon.png deleted file mode 100644 index 9299513..0000000 Binary files a/Bio_Industries_2/graphics/icons/basic_dart_icon.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/bi_basic_gas_processing.png b/Bio_Industries_2/graphics/icons/bi_basic_gas_processing.png index dd44fe7..58e557f 100644 Binary files a/Bio_Industries_2/graphics/icons/bi_basic_gas_processing.png and b/Bio_Industries_2/graphics/icons/bi_basic_gas_processing.png differ diff --git a/Bio_Industries_2/graphics/icons/bi_basic_gas_processing_angels.png b/Bio_Industries_2/graphics/icons/bi_basic_gas_processing_angels.png deleted file mode 100644 index 049223b..0000000 Binary files a/Bio_Industries_2/graphics/icons/bi_basic_gas_processing_angels.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/bi_change_0.png b/Bio_Industries_2/graphics/icons/bi_change_0.png new file mode 100644 index 0000000..40a5ac3 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/bi_change_0.png differ diff --git a/Bio_Industries_2/graphics/icons/bi_change_1.png b/Bio_Industries_2/graphics/icons/bi_change_1.png index cf55d25..3beaa40 100644 Binary files a/Bio_Industries_2/graphics/icons/bi_change_1.png and b/Bio_Industries_2/graphics/icons/bi_change_1.png differ diff --git a/Bio_Industries_2/graphics/icons/bi_change_2.png b/Bio_Industries_2/graphics/icons/bi_change_2.png index b735410..9e66213 100644 Binary files a/Bio_Industries_2/graphics/icons/bi_change_2.png and b/Bio_Industries_2/graphics/icons/bi_change_2.png differ diff --git a/Bio_Industries_2/graphics/icons/bi_change_plant_1.png b/Bio_Industries_2/graphics/icons/bi_change_plant_1.png index a669a21..9cf9f53 100644 Binary files a/Bio_Industries_2/graphics/icons/bi_change_plant_1.png and b/Bio_Industries_2/graphics/icons/bi_change_plant_1.png differ diff --git a/Bio_Industries_2/graphics/icons/bi_change_plant_2.png b/Bio_Industries_2/graphics/icons/bi_change_plant_2.png index 868ef39..a569d6e 100644 Binary files a/Bio_Industries_2/graphics/icons/bi_change_plant_2.png and b/Bio_Industries_2/graphics/icons/bi_change_plant_2.png differ diff --git a/Bio_Industries_2/graphics/icons/bi_dart_rifle_icon.png b/Bio_Industries_2/graphics/icons/bi_dart_rifle_icon.png deleted file mode 100644 index 678d265..0000000 Binary files a/Bio_Industries_2/graphics/icons/bi_dart_rifle_icon.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/bi_mineralized_sulfuric.png b/Bio_Industries_2/graphics/icons/bi_mineralized_sulfuric.png deleted file mode 100644 index 9db4ade..0000000 Binary files a/Bio_Industries_2/graphics/icons/bi_mineralized_sulfuric.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/bi_resin.png b/Bio_Industries_2/graphics/icons/bi_resin.png index e4bc205..9327022 100644 Binary files a/Bio_Industries_2/graphics/icons/bi_resin.png and b/Bio_Industries_2/graphics/icons/bi_resin.png differ diff --git a/Bio_Industries_2/graphics/icons/bi_resin_pulp.png b/Bio_Industries_2/graphics/icons/bi_resin_pulp.png index 16a1ba2..81bdcad 100644 Binary files a/Bio_Industries_2/graphics/icons/bi_resin_pulp.png and b/Bio_Industries_2/graphics/icons/bi_resin_pulp.png differ diff --git a/Bio_Industries_2/graphics/icons/bi_resin_wood.png b/Bio_Industries_2/graphics/icons/bi_resin_wood.png index 4d80708..1694b5e 100644 Binary files a/Bio_Industries_2/graphics/icons/bi_resin_wood.png and b/Bio_Industries_2/graphics/icons/bi_resin_wood.png differ diff --git a/Bio_Industries_2/graphics/icons/bi_slurry.png b/Bio_Industries_2/graphics/icons/bi_slurry.png deleted file mode 100644 index bb19cd4..0000000 Binary files a/Bio_Industries_2/graphics/icons/bi_slurry.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/bi_solid_fuel_wood_brick.png b/Bio_Industries_2/graphics/icons/bi_solid_fuel_wood_brick.png index c337706..754ce0d 100644 Binary files a/Bio_Industries_2/graphics/icons/bi_solid_fuel_wood_brick.png and b/Bio_Industries_2/graphics/icons/bi_solid_fuel_wood_brick.png differ diff --git a/Bio_Industries_2/graphics/icons/bi_stone_brick.png b/Bio_Industries_2/graphics/icons/bi_stone_brick.png index 949453a..97337af 100644 Binary files a/Bio_Industries_2/graphics/icons/bi_stone_brick.png and b/Bio_Industries_2/graphics/icons/bi_stone_brick.png differ diff --git a/Bio_Industries_2/graphics/icons/bi_wooden_board.png b/Bio_Industries_2/graphics/icons/bi_wooden_board.png deleted file mode 100644 index cd66413..0000000 Binary files a/Bio_Industries_2/graphics/icons/bi_wooden_board.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/bi_wooden_board_shiny.png b/Bio_Industries_2/graphics/icons/bi_wooden_board_shiny.png deleted file mode 100644 index dfd68be..0000000 Binary files a/Bio_Industries_2/graphics/icons/bi_wooden_board_shiny.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/bio_acid.png b/Bio_Industries_2/graphics/icons/bio_acid.png index 250da27..057159c 100644 Binary files a/Bio_Industries_2/graphics/icons/bio_acid.png and b/Bio_Industries_2/graphics/icons/bio_acid.png differ diff --git a/Bio_Industries_2/graphics/icons/bio_battery.png b/Bio_Industries_2/graphics/icons/bio_battery.png index c4a6f35..613a112 100644 Binary files a/Bio_Industries_2/graphics/icons/bio_battery.png and b/Bio_Industries_2/graphics/icons/bio_battery.png differ diff --git a/Bio_Industries_2/graphics/icons/bio_conversion_1.png b/Bio_Industries_2/graphics/icons/bio_conversion_1.png index 43d2681..be4a50e 100644 Binary files a/Bio_Industries_2/graphics/icons/bio_conversion_1.png and b/Bio_Industries_2/graphics/icons/bio_conversion_1.png differ diff --git a/Bio_Industries_2/graphics/icons/bio_conversion_2.png b/Bio_Industries_2/graphics/icons/bio_conversion_2.png index b4620b1..db45b9f 100644 Binary files a/Bio_Industries_2/graphics/icons/bio_conversion_2.png and b/Bio_Industries_2/graphics/icons/bio_conversion_2.png differ diff --git a/Bio_Industries_2/graphics/icons/bio_conversion_2_angels.png b/Bio_Industries_2/graphics/icons/bio_conversion_2_angels.png deleted file mode 100644 index d8b1761..0000000 Binary files a/Bio_Industries_2/graphics/icons/bio_conversion_2_angels.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/bio_conversion_3.png b/Bio_Industries_2/graphics/icons/bio_conversion_3.png index ba9fba2..36e4fed 100644 Binary files a/Bio_Industries_2/graphics/icons/bio_conversion_3.png and b/Bio_Industries_2/graphics/icons/bio_conversion_3.png differ diff --git a/Bio_Industries_2/graphics/icons/bio_conversion_4.png b/Bio_Industries_2/graphics/icons/bio_conversion_4.png index 6b42c6a..4866466 100644 Binary files a/Bio_Industries_2/graphics/icons/bio_conversion_4.png and b/Bio_Industries_2/graphics/icons/bio_conversion_4.png differ diff --git a/Bio_Industries_2/graphics/icons/bio_seed.png b/Bio_Industries_2/graphics/icons/bio_seed.png index c8f74c8..bec410d 100644 Binary files a/Bio_Industries_2/graphics/icons/bio_seed.png and b/Bio_Industries_2/graphics/icons/bio_seed.png differ diff --git a/Bio_Industries_2/graphics/icons/bio_seed1.png b/Bio_Industries_2/graphics/icons/bio_seed1.png index 7d0f7c6..bec410d 100644 Binary files a/Bio_Industries_2/graphics/icons/bio_seed1.png and b/Bio_Industries_2/graphics/icons/bio_seed1.png differ diff --git a/Bio_Industries_2/graphics/icons/bio_seed2.png b/Bio_Industries_2/graphics/icons/bio_seed2.png index fd7ddbf..42dfdc9 100644 Binary files a/Bio_Industries_2/graphics/icons/bio_seed2.png and b/Bio_Industries_2/graphics/icons/bio_seed2.png differ diff --git a/Bio_Industries_2/graphics/icons/bio_seed3.png b/Bio_Industries_2/graphics/icons/bio_seed3.png index e594e6b..3875952 100644 Binary files a/Bio_Industries_2/graphics/icons/bio_seed3.png and b/Bio_Industries_2/graphics/icons/bio_seed3.png differ diff --git a/Bio_Industries_2/graphics/icons/bio_seed4.png b/Bio_Industries_2/graphics/icons/bio_seed4.png index 55cf5b8..0091093 100644 Binary files a/Bio_Industries_2/graphics/icons/bio_seed4.png and b/Bio_Industries_2/graphics/icons/bio_seed4.png differ diff --git a/Bio_Industries_2/graphics/icons/bio_sulfur.png b/Bio_Industries_2/graphics/icons/bio_sulfur.png index b25b126..a79028a 100644 Binary files a/Bio_Industries_2/graphics/icons/bio_sulfur.png and b/Bio_Industries_2/graphics/icons/bio_sulfur.png differ diff --git a/Bio_Industries_2/graphics/icons/biomass.png b/Bio_Industries_2/graphics/icons/biomass.png index f7dd399..3ab2e57 100644 Binary files a/Bio_Industries_2/graphics/icons/biomass.png and b/Bio_Industries_2/graphics/icons/biomass.png differ diff --git a/Bio_Industries_2/graphics/icons/biomass_1.png b/Bio_Industries_2/graphics/icons/biomass_1.png index 48e92dd..3ab2e57 100644 Binary files a/Bio_Industries_2/graphics/icons/biomass_1.png and b/Bio_Industries_2/graphics/icons/biomass_1.png differ diff --git a/Bio_Industries_2/graphics/icons/biomass_2.png b/Bio_Industries_2/graphics/icons/biomass_2.png index 18cc8fd..4918166 100644 Binary files a/Bio_Industries_2/graphics/icons/biomass_2.png and b/Bio_Industries_2/graphics/icons/biomass_2.png differ diff --git a/Bio_Industries_2/graphics/icons/biomass_3.png b/Bio_Industries_2/graphics/icons/biomass_3.png index be1e8dd..1c6aaf4 100644 Binary files a/Bio_Industries_2/graphics/icons/biomass_3.png and b/Bio_Industries_2/graphics/icons/biomass_3.png differ diff --git a/Bio_Industries_2/graphics/icons/cellulose.png b/Bio_Industries_2/graphics/icons/cellulose.png index 8a0ed13..2f9d620 100644 Binary files a/Bio_Industries_2/graphics/icons/cellulose.png and b/Bio_Industries_2/graphics/icons/cellulose.png differ diff --git a/Bio_Industries_2/graphics/icons/cellulose_2.png b/Bio_Industries_2/graphics/icons/cellulose_2.png index b8f1270..f0aeaba 100644 Binary files a/Bio_Industries_2/graphics/icons/cellulose_2.png and b/Bio_Industries_2/graphics/icons/cellulose_2.png differ diff --git a/Bio_Industries_2/graphics/icons/charcoal.png b/Bio_Industries_2/graphics/icons/charcoal.png index 9f1fc85..1b24125 100644 Binary files a/Bio_Industries_2/graphics/icons/charcoal.png and b/Bio_Industries_2/graphics/icons/charcoal.png differ diff --git a/Bio_Industries_2/graphics/icons/charcoal_pellets.png b/Bio_Industries_2/graphics/icons/charcoal_pellets.png deleted file mode 100644 index 4501d73..0000000 Binary files a/Bio_Industries_2/graphics/icons/charcoal_pellets.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/charcoal_raw-wood.png b/Bio_Industries_2/graphics/icons/charcoal_raw-wood.png index 0dafa98..d9e920c 100644 Binary files a/Bio_Industries_2/graphics/icons/charcoal_raw-wood.png and b/Bio_Industries_2/graphics/icons/charcoal_raw-wood.png differ diff --git a/Bio_Industries_2/graphics/icons/charcoal_woodpulp.png b/Bio_Industries_2/graphics/icons/charcoal_woodpulp.png index 20728cc..a244156 100644 Binary files a/Bio_Industries_2/graphics/icons/charcoal_woodpulp.png and b/Bio_Industries_2/graphics/icons/charcoal_woodpulp.png differ diff --git a/Bio_Industries_2/graphics/icons/clean-air_mk1.png b/Bio_Industries_2/graphics/icons/clean-air_mk1.png index 39b3b1f..a16de3c 100644 Binary files a/Bio_Industries_2/graphics/icons/clean-air_mk1.png and b/Bio_Industries_2/graphics/icons/clean-air_mk1.png differ diff --git a/Bio_Industries_2/graphics/icons/clean-air_mk2.png b/Bio_Industries_2/graphics/icons/clean-air_mk2.png index 178bcd8..e76efdb 100644 Binary files a/Bio_Industries_2/graphics/icons/clean-air_mk2.png and b/Bio_Industries_2/graphics/icons/clean-air_mk2.png differ diff --git a/Bio_Industries_2/graphics/icons/coal.png b/Bio_Industries_2/graphics/icons/coal.png new file mode 100644 index 0000000..0a1fe92 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/coal.png differ diff --git a/Bio_Industries_2/graphics/icons/coal_mk2.png b/Bio_Industries_2/graphics/icons/coal_mk2.png index f75d12e..277ad79 100644 Binary files a/Bio_Industries_2/graphics/icons/coal_mk2.png and b/Bio_Industries_2/graphics/icons/coal_mk2.png differ diff --git a/Bio_Industries_2/graphics/icons/crushed-stone-concrete.png b/Bio_Industries_2/graphics/icons/crushed-stone-concrete.png index a7e5139..6391644 100644 Binary files a/Bio_Industries_2/graphics/icons/crushed-stone-concrete.png and b/Bio_Industries_2/graphics/icons/crushed-stone-concrete.png differ diff --git a/Bio_Industries_2/graphics/icons/crushed-stone-hazard-concrete.png b/Bio_Industries_2/graphics/icons/crushed-stone-hazard-concrete.png index 10bd670..7e3ab57 100644 Binary files a/Bio_Industries_2/graphics/icons/crushed-stone-hazard-concrete.png and b/Bio_Industries_2/graphics/icons/crushed-stone-hazard-concrete.png differ diff --git a/Bio_Industries_2/graphics/icons/crushed-stone-refined-concrete.png b/Bio_Industries_2/graphics/icons/crushed-stone-refined-concrete.png index 7d30e18..e145212 100644 Binary files a/Bio_Industries_2/graphics/icons/crushed-stone-refined-concrete.png and b/Bio_Industries_2/graphics/icons/crushed-stone-refined-concrete.png differ diff --git a/Bio_Industries_2/graphics/icons/crushed-stone-refined-hazard-concrete.png b/Bio_Industries_2/graphics/icons/crushed-stone-refined-hazard-concrete.png index 1c0eb17..2ac8e24 100644 Binary files a/Bio_Industries_2/graphics/icons/crushed-stone-refined-hazard-concrete.png and b/Bio_Industries_2/graphics/icons/crushed-stone-refined-hazard-concrete.png differ diff --git a/Bio_Industries_2/graphics/icons/crushed-stone-stone.png b/Bio_Industries_2/graphics/icons/crushed-stone-stone.png index fe7fedd..0924611 100644 Binary files a/Bio_Industries_2/graphics/icons/crushed-stone-stone.png and b/Bio_Industries_2/graphics/icons/crushed-stone-stone.png differ diff --git a/Bio_Industries_2/graphics/icons/crushed-stone.png b/Bio_Industries_2/graphics/icons/crushed-stone.png index 81f548c..f318fd6 100644 Binary files a/Bio_Industries_2/graphics/icons/crushed-stone.png and b/Bio_Industries_2/graphics/icons/crushed-stone.png differ diff --git a/Bio_Industries_2/graphics/icons/disassemble_burner-mining-drill.png b/Bio_Industries_2/graphics/icons/disassemble_burner-mining-drill.png new file mode 100644 index 0000000..11631ce Binary files /dev/null and b/Bio_Industries_2/graphics/icons/disassemble_burner-mining-drill.png differ diff --git a/Bio_Industries_2/graphics/icons/disassemble_burner_inserter.png b/Bio_Industries_2/graphics/icons/disassemble_burner_inserter.png new file mode 100644 index 0000000..cc5eace Binary files /dev/null and b/Bio_Industries_2/graphics/icons/disassemble_burner_inserter.png differ diff --git a/Bio_Industries_2/graphics/icons/disassemble_burnering-drill.png b/Bio_Industries_2/graphics/icons/disassemble_burnering-drill.png new file mode 100644 index 0000000..cb3d09c Binary files /dev/null and b/Bio_Industries_2/graphics/icons/disassemble_burnering-drill.png differ diff --git a/Bio_Industries_2/graphics/icons/disassemble_long_handed_inserter.png b/Bio_Industries_2/graphics/icons/disassemble_long_handed_inserter.png new file mode 100644 index 0000000..03f5cbc Binary files /dev/null and b/Bio_Industries_2/graphics/icons/disassemble_long_handed_inserter.png differ diff --git a/Bio_Industries_2/graphics/icons/disassemble_steel-furnace.png b/Bio_Industries_2/graphics/icons/disassemble_steel-furnace.png new file mode 100644 index 0000000..efa60ed Binary files /dev/null and b/Bio_Industries_2/graphics/icons/disassemble_steel-furnace.png differ diff --git a/Bio_Industries_2/graphics/icons/disassemble_stone_furnace.png b/Bio_Industries_2/graphics/icons/disassemble_stone_furnace.png new file mode 100644 index 0000000..9023078 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/disassemble_stone_furnace.png differ diff --git a/Bio_Industries_2/graphics/icons/enhanced_dart_icon.png b/Bio_Industries_2/graphics/icons/enhanced_dart_icon.png deleted file mode 100644 index e240098..0000000 Binary files a/Bio_Industries_2/graphics/icons/enhanced_dart_icon.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/entity/arboretum_Icon.png b/Bio_Industries_2/graphics/icons/entity/arboretum_Icon.png new file mode 100644 index 0000000..9699098 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/entity/arboretum_Icon.png differ diff --git a/Bio_Industries_2/graphics/icons/entity/arboretum_radar_icon.png b/Bio_Industries_2/graphics/icons/entity/arboretum_radar_icon.png new file mode 100644 index 0000000..f302520 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/entity/arboretum_radar_icon.png differ diff --git a/Bio_Industries_2/graphics/icons/entity/bi_LargeAccumulator.png b/Bio_Industries_2/graphics/icons/entity/bi_LargeAccumulator.png new file mode 100644 index 0000000..fba3b82 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/entity/bi_LargeAccumulator.png differ diff --git a/Bio_Industries_2/graphics/icons/entity/bi_LargeSubstation_icon.png b/Bio_Industries_2/graphics/icons/entity/bi_LargeSubstation_icon.png new file mode 100644 index 0000000..8fe9443 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/entity/bi_LargeSubstation_icon.png differ diff --git a/Bio_Industries_2/graphics/icons/entity/big-wooden-pole.png b/Bio_Industries_2/graphics/icons/entity/big-wooden-pole.png new file mode 100644 index 0000000..00b688c Binary files /dev/null and b/Bio_Industries_2/graphics/icons/entity/big-wooden-pole.png differ diff --git a/Bio_Industries_2/graphics/icons/entity/bio_Farm_Cabeling.png b/Bio_Industries_2/graphics/icons/entity/bio_Farm_Cabeling.png new file mode 100644 index 0000000..7600381 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/entity/bio_Farm_Cabeling.png differ diff --git a/Bio_Industries_2/graphics/icons/entity/bio_Farm_Icon.png b/Bio_Industries_2/graphics/icons/entity/bio_Farm_Icon.png new file mode 100644 index 0000000..b69beaa Binary files /dev/null and b/Bio_Industries_2/graphics/icons/entity/bio_Farm_Icon.png differ diff --git a/Bio_Industries_2/graphics/icons/entity/bio_Farm_Lamp.png b/Bio_Industries_2/graphics/icons/entity/bio_Farm_Lamp.png new file mode 100644 index 0000000..3038263 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/entity/bio_Farm_Lamp.png differ diff --git a/Bio_Industries_2/graphics/icons/entity/bio_Farm_Solar.png b/Bio_Industries_2/graphics/icons/entity/bio_Farm_Solar.png new file mode 100644 index 0000000..a4efab2 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/entity/bio_Farm_Solar.png differ diff --git a/Bio_Industries_2/graphics/icons/entity/bio_Solar_Boiler_Icon.png b/Bio_Industries_2/graphics/icons/entity/bio_Solar_Boiler_Icon.png new file mode 100644 index 0000000..3cbc6c1 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/entity/bio_Solar_Boiler_Icon.png differ diff --git a/Bio_Industries_2/graphics/icons/entity/bio_Solar_Farm_Icon.png b/Bio_Industries_2/graphics/icons/entity/bio_Solar_Farm_Icon.png new file mode 100644 index 0000000..90ae41b Binary files /dev/null and b/Bio_Industries_2/graphics/icons/entity/bio_Solar_Farm_Icon.png differ diff --git a/Bio_Industries_2/graphics/icons/entity/bio_boiler.png b/Bio_Industries_2/graphics/icons/entity/bio_boiler.png new file mode 100644 index 0000000..58f8cb9 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/entity/bio_boiler.png differ diff --git a/Bio_Industries_2/graphics/icons/entity/bio_garden_huge_icon.png b/Bio_Industries_2/graphics/icons/entity/bio_garden_huge_icon.png new file mode 100644 index 0000000..6d93318 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/entity/bio_garden_huge_icon.png differ diff --git a/Bio_Industries_2/graphics/icons/entity/bio_garden_icon.png b/Bio_Industries_2/graphics/icons/entity/bio_garden_icon.png new file mode 100644 index 0000000..6e31f73 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/entity/bio_garden_icon.png differ diff --git a/Bio_Industries_2/graphics/icons/entity/bio_garden_large_icon.png b/Bio_Industries_2/graphics/icons/entity/bio_garden_large_icon.png new file mode 100644 index 0000000..5571aa5 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/entity/bio_garden_large_icon.png differ diff --git a/Bio_Industries_2/graphics/icons/entity/bio_greenhouse.png b/Bio_Industries_2/graphics/icons/entity/bio_greenhouse.png new file mode 100644 index 0000000..746daf5 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/entity/bio_greenhouse.png differ diff --git a/Bio_Industries_2/graphics/icons/entity/bio_turret_icon.png b/Bio_Industries_2/graphics/icons/entity/bio_turret_icon.png new file mode 100644 index 0000000..6bead72 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/entity/bio_turret_icon.png differ diff --git a/Bio_Industries_2/graphics/icons/entity/biocannon_icon.png b/Bio_Industries_2/graphics/icons/entity/biocannon_icon.png new file mode 100644 index 0000000..82b5fa1 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/entity/biocannon_icon.png differ diff --git a/Bio_Industries_2/graphics/icons/entity/bioreactor.png b/Bio_Industries_2/graphics/icons/entity/bioreactor.png new file mode 100644 index 0000000..dc9c337 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/entity/bioreactor.png differ diff --git a/Bio_Industries_2/graphics/icons/entity/cokery.png b/Bio_Industries_2/graphics/icons/entity/cokery.png new file mode 100644 index 0000000..790ce3e Binary files /dev/null and b/Bio_Industries_2/graphics/icons/entity/cokery.png differ diff --git a/Bio_Industries_2/graphics/icons/entity/curved-rail-concrete.png b/Bio_Industries_2/graphics/icons/entity/curved-rail-concrete.png new file mode 100644 index 0000000..b7a9eb0 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/entity/curved-rail-concrete.png differ diff --git a/Bio_Industries_2/graphics/icons/entity/curved-rail-wood.png b/Bio_Industries_2/graphics/icons/entity/curved-rail-wood.png new file mode 100644 index 0000000..c5215f1 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/entity/curved-rail-wood.png differ diff --git a/Bio_Industries_2/graphics/icons/entity/electric-to-rail.png b/Bio_Industries_2/graphics/icons/entity/electric-to-rail.png new file mode 100644 index 0000000..bf8e321 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/entity/electric-to-rail.png differ diff --git a/Bio_Industries_2/graphics/icons/entity/giga_wooden_chest_icon.png b/Bio_Industries_2/graphics/icons/entity/giga_wooden_chest_icon.png new file mode 100644 index 0000000..6858867 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/entity/giga_wooden_chest_icon.png differ diff --git a/Bio_Industries_2/graphics/icons/entity/huge-wooden-pole.png b/Bio_Industries_2/graphics/icons/entity/huge-wooden-pole.png new file mode 100644 index 0000000..403b06a Binary files /dev/null and b/Bio_Industries_2/graphics/icons/entity/huge-wooden-pole.png differ diff --git a/Bio_Industries_2/graphics/icons/entity/huge_wooden_chest_icon.png b/Bio_Industries_2/graphics/icons/entity/huge_wooden_chest_icon.png new file mode 100644 index 0000000..cd050c5 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/entity/huge_wooden_chest_icon.png differ diff --git a/Bio_Industries_2/graphics/icons/entity/large_wooden_chest_icon.png b/Bio_Industries_2/graphics/icons/entity/large_wooden_chest_icon.png new file mode 100644 index 0000000..f4d9d0c Binary files /dev/null and b/Bio_Industries_2/graphics/icons/entity/large_wooden_chest_icon.png differ diff --git a/Bio_Industries_2/graphics/icons/entity/pipe-to-ground-wood.png b/Bio_Industries_2/graphics/icons/entity/pipe-to-ground-wood.png new file mode 100644 index 0000000..c3f0f1e Binary files /dev/null and b/Bio_Industries_2/graphics/icons/entity/pipe-to-ground-wood.png differ diff --git a/Bio_Industries_2/graphics/icons/entity/rail-concrete-power.png b/Bio_Industries_2/graphics/icons/entity/rail-concrete-power.png new file mode 100644 index 0000000..f879ad2 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/entity/rail-concrete-power.png differ diff --git a/Bio_Industries_2/graphics/icons/entity/rail-concrete.png b/Bio_Industries_2/graphics/icons/entity/rail-concrete.png new file mode 100644 index 0000000..cfc703b Binary files /dev/null and b/Bio_Industries_2/graphics/icons/entity/rail-concrete.png differ diff --git a/Bio_Industries_2/graphics/icons/entity/rail-wood-bridge.png b/Bio_Industries_2/graphics/icons/entity/rail-wood-bridge.png new file mode 100644 index 0000000..1ee7a7d Binary files /dev/null and b/Bio_Industries_2/graphics/icons/entity/rail-wood-bridge.png differ diff --git a/Bio_Industries_2/graphics/icons/entity/rail-wood-to-concrete.png b/Bio_Industries_2/graphics/icons/entity/rail-wood-to-concrete.png new file mode 100644 index 0000000..66e854f Binary files /dev/null and b/Bio_Industries_2/graphics/icons/entity/rail-wood-to-concrete.png differ diff --git a/Bio_Industries_2/graphics/icons/entity/rail-wood.png b/Bio_Industries_2/graphics/icons/entity/rail-wood.png new file mode 100644 index 0000000..64e889f Binary files /dev/null and b/Bio_Industries_2/graphics/icons/entity/rail-wood.png differ diff --git a/Bio_Industries_2/graphics/icons/entity/solar-mat.png b/Bio_Industries_2/graphics/icons/entity/solar-mat.png new file mode 100644 index 0000000..b323b06 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/entity/solar-mat.png differ diff --git a/Bio_Industries_2/graphics/icons/entity/stone_crusher.png b/Bio_Industries_2/graphics/icons/entity/stone_crusher.png new file mode 100644 index 0000000..5d79f7e Binary files /dev/null and b/Bio_Industries_2/graphics/icons/entity/stone_crusher.png differ diff --git a/Bio_Industries_2/graphics/icons/entity/straight-rail-concrete.png b/Bio_Industries_2/graphics/icons/entity/straight-rail-concrete.png new file mode 100644 index 0000000..cfc703b Binary files /dev/null and b/Bio_Industries_2/graphics/icons/entity/straight-rail-concrete.png differ diff --git a/Bio_Industries_2/graphics/icons/entity/straight-rail-wood.png b/Bio_Industries_2/graphics/icons/entity/straight-rail-wood.png new file mode 100644 index 0000000..64e889f Binary files /dev/null and b/Bio_Industries_2/graphics/icons/entity/straight-rail-wood.png differ diff --git a/Bio_Industries_2/graphics/icons/entity/wood_pipe.png b/Bio_Industries_2/graphics/icons/entity/wood_pipe.png new file mode 100644 index 0000000..63c24c1 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/entity/wood_pipe.png differ diff --git a/Bio_Industries_2/graphics/icons/entity/wooden-fence.png b/Bio_Industries_2/graphics/icons/entity/wooden-fence.png new file mode 100644 index 0000000..f5b6e56 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/entity/wooden-fence.png differ diff --git a/Bio_Industries_2/graphics/icons/fertilizer.png b/Bio_Industries_2/graphics/icons/fertilizer.png index 063f9b1..c9f7096 100644 Binary files a/Bio_Industries_2/graphics/icons/fertilizer.png and b/Bio_Industries_2/graphics/icons/fertilizer.png differ diff --git a/Bio_Industries_2/graphics/icons/fertilizer_advanced.png b/Bio_Industries_2/graphics/icons/fertilizer_advanced.png new file mode 100644 index 0000000..19cba52 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/fertilizer_advanced.png differ diff --git a/Bio_Industries_2/graphics/icons/fertilizer_sodium_hydroxide.png b/Bio_Industries_2/graphics/icons/fertilizer_sodium_hydroxide.png deleted file mode 100644 index 08c978a..0000000 Binary files a/Bio_Industries_2/graphics/icons/fertilizer_sodium_hydroxide.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/fertilizer_solid_sodium_hydroxide.png b/Bio_Industries_2/graphics/icons/fertilizer_solid_sodium_hydroxide.png deleted file mode 100644 index c54ae5e..0000000 Binary files a/Bio_Industries_2/graphics/icons/fertilizer_solid_sodium_hydroxide.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/fertilizer_sulfur.png b/Bio_Industries_2/graphics/icons/fertilizer_sulfur.png index 14ab8fa..470e5d5 100644 Binary files a/Bio_Industries_2/graphics/icons/fertilizer_sulfur.png and b/Bio_Industries_2/graphics/icons/fertilizer_sulfur.png differ diff --git a/Bio_Industries_2/graphics/icons/fluid_advanced_fertilizer.png b/Bio_Industries_2/graphics/icons/fluid_advanced_fertilizer.png new file mode 100644 index 0000000..a2c61c5 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/fluid_advanced_fertilizer.png differ diff --git a/Bio_Industries_2/graphics/icons/fluid_advanced_fertilizer_64.png b/Bio_Industries_2/graphics/icons/fluid_advanced_fertilizer_64.png index 76ff8e4..a2c61c5 100644 Binary files a/Bio_Industries_2/graphics/icons/fluid_advanced_fertilizer_64.png and b/Bio_Industries_2/graphics/icons/fluid_advanced_fertilizer_64.png differ diff --git a/Bio_Industries_2/graphics/icons/fluid_advanced_fertilizer_recipe.png b/Bio_Industries_2/graphics/icons/fluid_advanced_fertilizer_recipe.png new file mode 100644 index 0000000..a2c61c5 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/fluid_advanced_fertilizer_recipe.png differ diff --git a/Bio_Industries_2/graphics/icons/fluid_advanced_fertilizer_recipe_64.png b/Bio_Industries_2/graphics/icons/fluid_advanced_fertilizer_recipe_64.png deleted file mode 100644 index 2237f21..0000000 Binary files a/Bio_Industries_2/graphics/icons/fluid_advanced_fertilizer_recipe_64.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/fluid_fertilizer.png b/Bio_Industries_2/graphics/icons/fluid_fertilizer.png new file mode 100644 index 0000000..146acc9 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/fluid_fertilizer.png differ diff --git a/Bio_Industries_2/graphics/icons/fluid_fertilizer_64.png b/Bio_Industries_2/graphics/icons/fluid_fertilizer_64.png index c7f6bbf..146acc9 100644 Binary files a/Bio_Industries_2/graphics/icons/fluid_fertilizer_64.png and b/Bio_Industries_2/graphics/icons/fluid_fertilizer_64.png differ diff --git a/Bio_Industries_2/graphics/icons/liquid-air.png b/Bio_Industries_2/graphics/icons/liquid-air.png index f7eeedb..cfa6962 100644 Binary files a/Bio_Industries_2/graphics/icons/liquid-air.png and b/Bio_Industries_2/graphics/icons/liquid-air.png differ diff --git a/Bio_Industries_2/graphics/icons/mips/Ash_1.png b/Bio_Industries_2/graphics/icons/mips/Ash_1.png deleted file mode 100644 index c895dfc..0000000 Binary files a/Bio_Industries_2/graphics/icons/mips/Ash_1.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/mips/Ash_2.png b/Bio_Industries_2/graphics/icons/mips/Ash_2.png deleted file mode 100644 index 90d4fc5..0000000 Binary files a/Bio_Industries_2/graphics/icons/mips/Ash_2.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/mips/Ash_3.png b/Bio_Industries_2/graphics/icons/mips/Ash_3.png deleted file mode 100644 index deb2c5b..0000000 Binary files a/Bio_Industries_2/graphics/icons/mips/Ash_3.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/mips/Ash_4.png b/Bio_Industries_2/graphics/icons/mips/Ash_4.png deleted file mode 100644 index 6789685..0000000 Binary files a/Bio_Industries_2/graphics/icons/mips/Ash_4.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/mips/Charcoal_1.png b/Bio_Industries_2/graphics/icons/mips/Charcoal_1.png deleted file mode 100644 index 0c816a4..0000000 Binary files a/Bio_Industries_2/graphics/icons/mips/Charcoal_1.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/mips/Charcoal_2.png b/Bio_Industries_2/graphics/icons/mips/Charcoal_2.png deleted file mode 100644 index be1e391..0000000 Binary files a/Bio_Industries_2/graphics/icons/mips/Charcoal_2.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/mips/Charcoal_3.png b/Bio_Industries_2/graphics/icons/mips/Charcoal_3.png deleted file mode 100644 index 3ac772c..0000000 Binary files a/Bio_Industries_2/graphics/icons/mips/Charcoal_3.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/mips/Charcoal_4.png b/Bio_Industries_2/graphics/icons/mips/Charcoal_4.png deleted file mode 100644 index 67ef3e5..0000000 Binary files a/Bio_Industries_2/graphics/icons/mips/Charcoal_4.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/mips/Crush_1.png b/Bio_Industries_2/graphics/icons/mips/Crush_1.png deleted file mode 100644 index 2018d64..0000000 Binary files a/Bio_Industries_2/graphics/icons/mips/Crush_1.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/mips/Crush_2.png b/Bio_Industries_2/graphics/icons/mips/Crush_2.png deleted file mode 100644 index d381596..0000000 Binary files a/Bio_Industries_2/graphics/icons/mips/Crush_2.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/mips/Crush_3.png b/Bio_Industries_2/graphics/icons/mips/Crush_3.png deleted file mode 100644 index 4414cc7..0000000 Binary files a/Bio_Industries_2/graphics/icons/mips/Crush_3.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/mips/Crush_4.png b/Bio_Industries_2/graphics/icons/mips/Crush_4.png deleted file mode 100644 index 37c11b7..0000000 Binary files a/Bio_Industries_2/graphics/icons/mips/Crush_4.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/mips/Seedling_1.png b/Bio_Industries_2/graphics/icons/mips/Seedling_1.png deleted file mode 100644 index 38440fa..0000000 Binary files a/Bio_Industries_2/graphics/icons/mips/Seedling_1.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/mips/Seedling_2.png b/Bio_Industries_2/graphics/icons/mips/Seedling_2.png deleted file mode 100644 index 4b5ff3b..0000000 Binary files a/Bio_Industries_2/graphics/icons/mips/Seedling_2.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/mips/Seedling_3.png b/Bio_Industries_2/graphics/icons/mips/Seedling_3.png deleted file mode 100644 index 4d76d61..0000000 Binary files a/Bio_Industries_2/graphics/icons/mips/Seedling_3.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/mips/Seedling_4.png b/Bio_Industries_2/graphics/icons/mips/Seedling_4.png deleted file mode 100644 index 600515c..0000000 Binary files a/Bio_Industries_2/graphics/icons/mips/Seedling_4.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/mips/Seedling_5.png b/Bio_Industries_2/graphics/icons/mips/Seedling_5.png deleted file mode 100644 index 0cdf499..0000000 Binary files a/Bio_Industries_2/graphics/icons/mips/Seedling_5.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/mips/Seedling_6.png b/Bio_Industries_2/graphics/icons/mips/Seedling_6.png deleted file mode 100644 index ce039f6..0000000 Binary files a/Bio_Industries_2/graphics/icons/mips/Seedling_6.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/mips/Seedling_7.png b/Bio_Industries_2/graphics/icons/mips/Seedling_7.png deleted file mode 100644 index 56becb2..0000000 Binary files a/Bio_Industries_2/graphics/icons/mips/Seedling_7.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/mips/Seedling_8.png b/Bio_Industries_2/graphics/icons/mips/Seedling_8.png deleted file mode 100644 index 72a93a4..0000000 Binary files a/Bio_Industries_2/graphics/icons/mips/Seedling_8.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/mips/Seedling_9.png b/Bio_Industries_2/graphics/icons/mips/Seedling_9.png deleted file mode 100644 index 3141480..0000000 Binary files a/Bio_Industries_2/graphics/icons/mips/Seedling_9.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/mips/Woodpulp_1.png b/Bio_Industries_2/graphics/icons/mips/Woodpulp_1.png deleted file mode 100644 index b4fa21d..0000000 Binary files a/Bio_Industries_2/graphics/icons/mips/Woodpulp_1.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/mips/Woodpulp_2.png b/Bio_Industries_2/graphics/icons/mips/Woodpulp_2.png deleted file mode 100644 index a32890a..0000000 Binary files a/Bio_Industries_2/graphics/icons/mips/Woodpulp_2.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/mips/Woodpulp_3.png b/Bio_Industries_2/graphics/icons/mips/Woodpulp_3.png deleted file mode 100644 index 435c6cf..0000000 Binary files a/Bio_Industries_2/graphics/icons/mips/Woodpulp_3.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/mips/Woodpulp_4.png b/Bio_Industries_2/graphics/icons/mips/Woodpulp_4.png deleted file mode 100644 index fae84df..0000000 Binary files a/Bio_Industries_2/graphics/icons/mips/Woodpulp_4.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/mips/ash_1.png b/Bio_Industries_2/graphics/icons/mips/ash_1.png new file mode 100644 index 0000000..0900876 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mips/ash_1.png differ diff --git a/Bio_Industries_2/graphics/icons/mips/ash_2.png b/Bio_Industries_2/graphics/icons/mips/ash_2.png new file mode 100644 index 0000000..9ebc270 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mips/ash_2.png differ diff --git a/Bio_Industries_2/graphics/icons/mips/ash_3.png b/Bio_Industries_2/graphics/icons/mips/ash_3.png new file mode 100644 index 0000000..3dd3a41 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mips/ash_3.png differ diff --git a/Bio_Industries_2/graphics/icons/mips/ash_4.png b/Bio_Industries_2/graphics/icons/mips/ash_4.png new file mode 100644 index 0000000..87cc444 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mips/ash_4.png differ diff --git a/Bio_Industries_2/graphics/icons/mips/bio_seed_1.png b/Bio_Industries_2/graphics/icons/mips/bio_seed_1.png index 9ed5eba..cc39989 100644 Binary files a/Bio_Industries_2/graphics/icons/mips/bio_seed_1.png and b/Bio_Industries_2/graphics/icons/mips/bio_seed_1.png differ diff --git a/Bio_Industries_2/graphics/icons/mips/bio_seed_2.png b/Bio_Industries_2/graphics/icons/mips/bio_seed_2.png index 79e5688..60aa46b 100644 Binary files a/Bio_Industries_2/graphics/icons/mips/bio_seed_2.png and b/Bio_Industries_2/graphics/icons/mips/bio_seed_2.png differ diff --git a/Bio_Industries_2/graphics/icons/mips/bio_seed_3.png b/Bio_Industries_2/graphics/icons/mips/bio_seed_3.png index 4be7e79..3a80491 100644 Binary files a/Bio_Industries_2/graphics/icons/mips/bio_seed_3.png and b/Bio_Industries_2/graphics/icons/mips/bio_seed_3.png differ diff --git a/Bio_Industries_2/graphics/icons/mips/bio_seed_4.png b/Bio_Industries_2/graphics/icons/mips/bio_seed_4.png index c8f74c8..5be8bb7 100644 Binary files a/Bio_Industries_2/graphics/icons/mips/bio_seed_4.png and b/Bio_Industries_2/graphics/icons/mips/bio_seed_4.png differ diff --git a/Bio_Industries_2/graphics/icons/mips/charcoal_1.png b/Bio_Industries_2/graphics/icons/mips/charcoal_1.png new file mode 100644 index 0000000..30b386f Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mips/charcoal_1.png differ diff --git a/Bio_Industries_2/graphics/icons/mips/charcoal_2.png b/Bio_Industries_2/graphics/icons/mips/charcoal_2.png new file mode 100644 index 0000000..0fb965b Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mips/charcoal_2.png differ diff --git a/Bio_Industries_2/graphics/icons/mips/charcoal_3.png b/Bio_Industries_2/graphics/icons/mips/charcoal_3.png new file mode 100644 index 0000000..6c191a0 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mips/charcoal_3.png differ diff --git a/Bio_Industries_2/graphics/icons/mips/charcoal_4.png b/Bio_Industries_2/graphics/icons/mips/charcoal_4.png new file mode 100644 index 0000000..d590140 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mips/charcoal_4.png differ diff --git a/Bio_Industries_2/graphics/icons/mips/crush_1.png b/Bio_Industries_2/graphics/icons/mips/crush_1.png new file mode 100644 index 0000000..bfc86bb Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mips/crush_1.png differ diff --git a/Bio_Industries_2/graphics/icons/mips/crush_2.png b/Bio_Industries_2/graphics/icons/mips/crush_2.png new file mode 100644 index 0000000..45f7262 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mips/crush_2.png differ diff --git a/Bio_Industries_2/graphics/icons/mips/crush_3.png b/Bio_Industries_2/graphics/icons/mips/crush_3.png new file mode 100644 index 0000000..e7ea9d9 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mips/crush_3.png differ diff --git a/Bio_Industries_2/graphics/icons/mips/crush_4.png b/Bio_Industries_2/graphics/icons/mips/crush_4.png new file mode 100644 index 0000000..4ac65fa Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mips/crush_4.png differ diff --git a/Bio_Industries_2/graphics/icons/mips/Resin_1.png b/Bio_Industries_2/graphics/icons/mips/resin_1.png similarity index 100% rename from Bio_Industries_2/graphics/icons/mips/Resin_1.png rename to Bio_Industries_2/graphics/icons/mips/resin_1.png diff --git a/Bio_Industries_2/graphics/icons/mips/Resin_2.png b/Bio_Industries_2/graphics/icons/mips/resin_2.png similarity index 100% rename from Bio_Industries_2/graphics/icons/mips/Resin_2.png rename to Bio_Industries_2/graphics/icons/mips/resin_2.png diff --git a/Bio_Industries_2/graphics/icons/mips/Resin_3.png b/Bio_Industries_2/graphics/icons/mips/resin_3.png similarity index 100% rename from Bio_Industries_2/graphics/icons/mips/Resin_3.png rename to Bio_Industries_2/graphics/icons/mips/resin_3.png diff --git a/Bio_Industries_2/graphics/icons/mips/Resin_4.png b/Bio_Industries_2/graphics/icons/mips/resin_4.png similarity index 100% rename from Bio_Industries_2/graphics/icons/mips/Resin_4.png rename to Bio_Industries_2/graphics/icons/mips/resin_4.png diff --git a/Bio_Industries_2/graphics/icons/mips/seedling_1.png b/Bio_Industries_2/graphics/icons/mips/seedling_1.png new file mode 100644 index 0000000..27ba1e3 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mips/seedling_1.png differ diff --git a/Bio_Industries_2/graphics/icons/mips/seedling_2.png b/Bio_Industries_2/graphics/icons/mips/seedling_2.png new file mode 100644 index 0000000..d6011ba Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mips/seedling_2.png differ diff --git a/Bio_Industries_2/graphics/icons/mips/seedling_3.png b/Bio_Industries_2/graphics/icons/mips/seedling_3.png new file mode 100644 index 0000000..311b4d9 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mips/seedling_3.png differ diff --git a/Bio_Industries_2/graphics/icons/mips/seedling_4.png b/Bio_Industries_2/graphics/icons/mips/seedling_4.png new file mode 100644 index 0000000..b62c5e8 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mips/seedling_4.png differ diff --git a/Bio_Industries_2/graphics/icons/mips/seedling_5.png b/Bio_Industries_2/graphics/icons/mips/seedling_5.png new file mode 100644 index 0000000..bac99ca Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mips/seedling_5.png differ diff --git a/Bio_Industries_2/graphics/icons/mips/seedling_6.png b/Bio_Industries_2/graphics/icons/mips/seedling_6.png new file mode 100644 index 0000000..49334f7 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mips/seedling_6.png differ diff --git a/Bio_Industries_2/graphics/icons/mips/seedling_7.png b/Bio_Industries_2/graphics/icons/mips/seedling_7.png new file mode 100644 index 0000000..6073673 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mips/seedling_7.png differ diff --git a/Bio_Industries_2/graphics/icons/mips/seedling_8.png b/Bio_Industries_2/graphics/icons/mips/seedling_8.png new file mode 100644 index 0000000..9b8bd43 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mips/seedling_8.png differ diff --git a/Bio_Industries_2/graphics/icons/mips/seedling_9.png b/Bio_Industries_2/graphics/icons/mips/seedling_9.png new file mode 100644 index 0000000..d7cbf08 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mips/seedling_9.png differ diff --git a/Bio_Industries_2/graphics/icons/mips/woodpulp_1.png b/Bio_Industries_2/graphics/icons/mips/woodpulp_1.png new file mode 100644 index 0000000..b394928 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mips/woodpulp_1.png differ diff --git a/Bio_Industries_2/graphics/icons/mips/woodpulp_2.png b/Bio_Industries_2/graphics/icons/mips/woodpulp_2.png new file mode 100644 index 0000000..e13671f Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mips/woodpulp_2.png differ diff --git a/Bio_Industries_2/graphics/icons/mips/woodpulp_3.png b/Bio_Industries_2/graphics/icons/mips/woodpulp_3.png new file mode 100644 index 0000000..78ca0f5 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mips/woodpulp_3.png differ diff --git a/Bio_Industries_2/graphics/icons/mips/woodpulp_4.png b/Bio_Industries_2/graphics/icons/mips/woodpulp_4.png new file mode 100644 index 0000000..3eb6b39 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mips/woodpulp_4.png differ diff --git a/Bio_Industries_2/graphics/icons/mod_aai/sand-aai.png b/Bio_Industries_2/graphics/icons/mod_aai/sand-aai.png new file mode 100644 index 0000000..7ea9266 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mod_aai/sand-aai.png differ diff --git a/Bio_Industries_2/graphics/icons/mod_bobangels/bi_basic_gas_processing_angels.png b/Bio_Industries_2/graphics/icons/mod_bobangels/bi_basic_gas_processing_angels.png new file mode 100644 index 0000000..7f8cd86 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mod_bobangels/bi_basic_gas_processing_angels.png differ diff --git a/Bio_Industries_2/graphics/icons/mod_bobangels/bi_mineralized_sulfuric.png b/Bio_Industries_2/graphics/icons/mod_bobangels/bi_mineralized_sulfuric.png new file mode 100644 index 0000000..185861e Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mod_bobangels/bi_mineralized_sulfuric.png differ diff --git a/Bio_Industries_2/graphics/icons/mod_bobangels/bi_slurry.png b/Bio_Industries_2/graphics/icons/mod_bobangels/bi_slurry.png new file mode 100644 index 0000000..472850c Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mod_bobangels/bi_slurry.png differ diff --git a/Bio_Industries_2/graphics/icons/mod_bobangels/bi_wooden_board.png b/Bio_Industries_2/graphics/icons/mod_bobangels/bi_wooden_board.png new file mode 100644 index 0000000..00e6522 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mod_bobangels/bi_wooden_board.png differ diff --git a/Bio_Industries_2/graphics/icons/mod_bobangels/bi_wooden_board_shiny.png b/Bio_Industries_2/graphics/icons/mod_bobangels/bi_wooden_board_shiny.png new file mode 100644 index 0000000..ad498a3 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mod_bobangels/bi_wooden_board_shiny.png differ diff --git a/Bio_Industries_2/graphics/icons/mod_bobangels/bio_conversion_2_angels.png b/Bio_Industries_2/graphics/icons/mod_bobangels/bio_conversion_2_angels.png new file mode 100644 index 0000000..8eab6b3 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mod_bobangels/bio_conversion_2_angels.png differ diff --git a/Bio_Industries_2/graphics/icons/mod_bobangels/charcoal_pellets.png b/Bio_Industries_2/graphics/icons/mod_bobangels/charcoal_pellets.png new file mode 100644 index 0000000..26b7a31 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mod_bobangels/charcoal_pellets.png differ diff --git a/Bio_Industries_2/graphics/icons/mod_bobangels/fertilizer_sodium_hydroxide.png b/Bio_Industries_2/graphics/icons/mod_bobangels/fertilizer_sodium_hydroxide.png new file mode 100644 index 0000000..b974be0 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mod_bobangels/fertilizer_sodium_hydroxide.png differ diff --git a/Bio_Industries_2/graphics/icons/mod_bobangels/fertilizer_solid_sodium_hydroxide.png b/Bio_Industries_2/graphics/icons/mod_bobangels/fertilizer_solid_sodium_hydroxide.png new file mode 100644 index 0000000..2db545d Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mod_bobangels/fertilizer_solid_sodium_hydroxide.png differ diff --git a/Bio_Industries_2/graphics/icons/mod_bobangels/liquid-air.png b/Bio_Industries_2/graphics/icons/mod_bobangels/liquid-air.png new file mode 100644 index 0000000..eb88c9a Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mod_bobangels/liquid-air.png differ diff --git a/Bio_Industries_2/graphics/icons/mod_bobangels/pellet_coke_1.png b/Bio_Industries_2/graphics/icons/mod_bobangels/pellet_coke_1.png new file mode 100644 index 0000000..6cd0d6c Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mod_bobangels/pellet_coke_1.png differ diff --git a/Bio_Industries_2/graphics/icons/mod_bobangels/pellet_coke_a.png b/Bio_Industries_2/graphics/icons/mod_bobangels/pellet_coke_a.png new file mode 100644 index 0000000..05070f1 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mod_bobangels/pellet_coke_a.png differ diff --git a/Bio_Industries_2/graphics/icons/mod_bobangels/pellet_coke_b.png b/Bio_Industries_2/graphics/icons/mod_bobangels/pellet_coke_b.png new file mode 100644 index 0000000..ffb4218 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mod_bobangels/pellet_coke_b.png differ diff --git a/Bio_Industries_2/graphics/icons/mod_bobangels/pellet_coke_c.png b/Bio_Industries_2/graphics/icons/mod_bobangels/pellet_coke_c.png new file mode 100644 index 0000000..ab3945a Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mod_bobangels/pellet_coke_c.png differ diff --git a/Bio_Industries_2/graphics/icons/mod_bobangels/rubber.png b/Bio_Industries_2/graphics/icons/mod_bobangels/rubber.png new file mode 100644 index 0000000..560e775 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mod_bobangels/rubber.png differ diff --git a/Bio_Industries_2/graphics/icons/mod_krastorio/sand-Krastorio.png b/Bio_Industries_2/graphics/icons/mod_krastorio/sand-Krastorio.png new file mode 100644 index 0000000..9fcfbc8 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mod_krastorio/sand-Krastorio.png differ diff --git a/Bio_Industries_2/graphics/icons/mod_py/py_ash_raw-wood.png b/Bio_Industries_2/graphics/icons/mod_py/py_ash_raw-wood.png new file mode 100644 index 0000000..9be8829 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mod_py/py_ash_raw-wood.png differ diff --git a/Bio_Industries_2/graphics/icons/mod_py/py_ash_woodpulp.png b/Bio_Industries_2/graphics/icons/mod_py/py_ash_woodpulp.png new file mode 100644 index 0000000..e9eedd0 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mod_py/py_ash_woodpulp.png differ diff --git a/Bio_Industries_2/graphics/icons/mod_py/py_bi_stone_brick.png b/Bio_Industries_2/graphics/icons/mod_py/py_bi_stone_brick.png new file mode 100644 index 0000000..99b84f8 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mod_py/py_bi_stone_brick.png differ diff --git a/Bio_Industries_2/graphics/icons/mod_py/py_bio_seed2.png b/Bio_Industries_2/graphics/icons/mod_py/py_bio_seed2.png new file mode 100644 index 0000000..5f8a14a Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mod_py/py_bio_seed2.png differ diff --git a/Bio_Industries_2/graphics/icons/py_bio_sulfur.png b/Bio_Industries_2/graphics/icons/mod_py/py_bio_sulfur.png similarity index 100% rename from Bio_Industries_2/graphics/icons/py_bio_sulfur.png rename to Bio_Industries_2/graphics/icons/mod_py/py_bio_sulfur.png diff --git a/Bio_Industries_2/graphics/icons/mod_py/py_raw-wood-mk2.png b/Bio_Industries_2/graphics/icons/mod_py/py_raw-wood-mk2.png new file mode 100644 index 0000000..65e86e6 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mod_py/py_raw-wood-mk2.png differ diff --git a/Bio_Industries_2/graphics/icons/mod_py/py_seedling2.png b/Bio_Industries_2/graphics/icons/mod_py/py_seedling2.png new file mode 100644 index 0000000..1a42e4b Binary files /dev/null and b/Bio_Industries_2/graphics/icons/mod_py/py_seedling2.png differ diff --git a/Bio_Industries_2/graphics/icons/new/battery.png b/Bio_Industries_2/graphics/icons/new/battery.png deleted file mode 100644 index 716b2fa..0000000 Binary files a/Bio_Industries_2/graphics/icons/new/battery.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/new/biomass.png b/Bio_Industries_2/graphics/icons/new/biomass.png deleted file mode 100644 index f7dd399..0000000 Binary files a/Bio_Industries_2/graphics/icons/new/biomass.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/nitrogen.png b/Bio_Industries_2/graphics/icons/nitrogen.png index 41bbaef..a014828 100644 Binary files a/Bio_Industries_2/graphics/icons/nitrogen.png and b/Bio_Industries_2/graphics/icons/nitrogen.png differ diff --git a/Bio_Industries_2/graphics/icons/Arboretum_Icon.png b/Bio_Industries_2/graphics/icons/old/Arboretum_Icon.png similarity index 100% rename from Bio_Industries_2/graphics/icons/Arboretum_Icon.png rename to Bio_Industries_2/graphics/icons/old/Arboretum_Icon.png diff --git a/Bio_Industries_2/graphics/icons/Arboretum_Icon_64.png b/Bio_Industries_2/graphics/icons/old/Arboretum_Icon_64.png similarity index 100% rename from Bio_Industries_2/graphics/icons/Arboretum_Icon_64.png rename to Bio_Industries_2/graphics/icons/old/Arboretum_Icon_64.png diff --git a/Bio_Industries_2/graphics/icons/Bio_Farm_Cabeling.png b/Bio_Industries_2/graphics/icons/old/Bio_Farm_Cabeling.png similarity index 100% rename from Bio_Industries_2/graphics/icons/Bio_Farm_Cabeling.png rename to Bio_Industries_2/graphics/icons/old/Bio_Farm_Cabeling.png diff --git a/Bio_Industries_2/graphics/icons/Bio_Farm_Icon.png b/Bio_Industries_2/graphics/icons/old/Bio_Farm_Icon.png similarity index 100% rename from Bio_Industries_2/graphics/icons/Bio_Farm_Icon.png rename to Bio_Industries_2/graphics/icons/old/Bio_Farm_Icon.png diff --git a/Bio_Industries_2/graphics/icons/Bio_Farm_Icon_64.png b/Bio_Industries_2/graphics/icons/old/Bio_Farm_Icon_64.png similarity index 100% rename from Bio_Industries_2/graphics/icons/Bio_Farm_Icon_64.png rename to Bio_Industries_2/graphics/icons/old/Bio_Farm_Icon_64.png diff --git a/Bio_Industries_2/graphics/icons/Bio_Farm_Lamp.png b/Bio_Industries_2/graphics/icons/old/Bio_Farm_Lamp.png similarity index 100% rename from Bio_Industries_2/graphics/icons/Bio_Farm_Lamp.png rename to Bio_Industries_2/graphics/icons/old/Bio_Farm_Lamp.png diff --git a/Bio_Industries_2/graphics/icons/Bio_Farm_Solar.png b/Bio_Industries_2/graphics/icons/old/Bio_Farm_Solar.png similarity index 100% rename from Bio_Industries_2/graphics/icons/Bio_Farm_Solar.png rename to Bio_Industries_2/graphics/icons/old/Bio_Farm_Solar.png diff --git a/Bio_Industries_2/graphics/icons/Bio_Solar_Boiler_64.png b/Bio_Industries_2/graphics/icons/old/Bio_Solar_Boiler_64.png similarity index 100% rename from Bio_Industries_2/graphics/icons/Bio_Solar_Boiler_64.png rename to Bio_Industries_2/graphics/icons/old/Bio_Solar_Boiler_64.png diff --git a/Bio_Industries_2/graphics/icons/Bio_Solar_Boiler_Boiler_Icon.png b/Bio_Industries_2/graphics/icons/old/Bio_Solar_Boiler_Boiler_Icon.png similarity index 100% rename from Bio_Industries_2/graphics/icons/Bio_Solar_Boiler_Boiler_Icon.png rename to Bio_Industries_2/graphics/icons/old/Bio_Solar_Boiler_Boiler_Icon.png diff --git a/Bio_Industries_2/graphics/icons/Bio_Solar_Boiler_Icon.png b/Bio_Industries_2/graphics/icons/old/Bio_Solar_Boiler_Icon.png similarity index 100% rename from Bio_Industries_2/graphics/icons/Bio_Solar_Boiler_Icon.png rename to Bio_Industries_2/graphics/icons/old/Bio_Solar_Boiler_Icon.png diff --git a/Bio_Industries_2/graphics/icons/Bio_Solar_Boiler_Panel_Icon.png b/Bio_Industries_2/graphics/icons/old/Bio_Solar_Boiler_Panel_Icon.png similarity index 100% rename from Bio_Industries_2/graphics/icons/Bio_Solar_Boiler_Panel_Icon.png rename to Bio_Industries_2/graphics/icons/old/Bio_Solar_Boiler_Panel_Icon.png diff --git a/Bio_Industries_2/graphics/icons/Bio_Solar_Farm_64.png b/Bio_Industries_2/graphics/icons/old/Bio_Solar_Farm_64.png similarity index 100% rename from Bio_Industries_2/graphics/icons/Bio_Solar_Farm_64.png rename to Bio_Industries_2/graphics/icons/old/Bio_Solar_Farm_64.png diff --git a/Bio_Industries_2/graphics/icons/Bio_Solar_Farm_Icon.png b/Bio_Industries_2/graphics/icons/old/Bio_Solar_Farm_Icon.png similarity index 100% rename from Bio_Industries_2/graphics/icons/Bio_Solar_Farm_Icon.png rename to Bio_Industries_2/graphics/icons/old/Bio_Solar_Farm_Icon.png diff --git a/Bio_Industries_2/graphics/icons/advanced_fertilizer.png b/Bio_Industries_2/graphics/icons/old/advanced_fertilizer.png similarity index 100% rename from Bio_Industries_2/graphics/icons/advanced_fertilizer.png rename to Bio_Industries_2/graphics/icons/old/advanced_fertilizer.png diff --git a/Bio_Industries_2/graphics/icons/advanced_fertilizer_64.png b/Bio_Industries_2/graphics/icons/old/advanced_fertilizer_64.png similarity index 100% rename from Bio_Industries_2/graphics/icons/advanced_fertilizer_64.png rename to Bio_Industries_2/graphics/icons/old/advanced_fertilizer_64.png diff --git a/Bio_Industries_2/graphics/icons/bi_LargeAccumulator.png b/Bio_Industries_2/graphics/icons/old/bi_LargeAccumulator.png similarity index 100% rename from Bio_Industries_2/graphics/icons/bi_LargeAccumulator.png rename to Bio_Industries_2/graphics/icons/old/bi_LargeAccumulator.png diff --git a/Bio_Industries_2/graphics/icons/bi_LargeAccumulator_64.png b/Bio_Industries_2/graphics/icons/old/bi_LargeAccumulator_64.png similarity index 100% rename from Bio_Industries_2/graphics/icons/bi_LargeAccumulator_64.png rename to Bio_Industries_2/graphics/icons/old/bi_LargeAccumulator_64.png diff --git a/Bio_Industries_2/graphics/icons/bi_LargeSubstation_64.png b/Bio_Industries_2/graphics/icons/old/bi_LargeSubstation_64.png similarity index 100% rename from Bio_Industries_2/graphics/icons/bi_LargeSubstation_64.png rename to Bio_Industries_2/graphics/icons/old/bi_LargeSubstation_64.png diff --git a/Bio_Industries_2/graphics/icons/bi_LargeSubstation_icon.png b/Bio_Industries_2/graphics/icons/old/bi_LargeSubstation_icon.png similarity index 100% rename from Bio_Industries_2/graphics/icons/bi_LargeSubstation_icon.png rename to Bio_Industries_2/graphics/icons/old/bi_LargeSubstation_icon.png diff --git a/Bio_Industries_2/graphics/icons/bi_wood_resin_pulp.png b/Bio_Industries_2/graphics/icons/old/bi_wood_resin_pulp.png similarity index 100% rename from Bio_Industries_2/graphics/icons/bi_wood_resin_pulp.png rename to Bio_Industries_2/graphics/icons/old/bi_wood_resin_pulp.png diff --git a/Bio_Industries_2/graphics/icons/big-wooden-pole.png b/Bio_Industries_2/graphics/icons/old/big-wooden-pole.png similarity index 100% rename from Bio_Industries_2/graphics/icons/big-wooden-pole.png rename to Bio_Industries_2/graphics/icons/old/big-wooden-pole.png diff --git a/Bio_Industries_2/graphics/icons/big-wooden-pole_64.png b/Bio_Industries_2/graphics/icons/old/big-wooden-pole_64.png similarity index 100% rename from Bio_Industries_2/graphics/icons/big-wooden-pole_64.png rename to Bio_Industries_2/graphics/icons/old/big-wooden-pole_64.png diff --git a/Bio_Industries_2/graphics/icons/bio_boiler.png b/Bio_Industries_2/graphics/icons/old/bio_boiler.png similarity index 100% rename from Bio_Industries_2/graphics/icons/bio_boiler.png rename to Bio_Industries_2/graphics/icons/old/bio_boiler.png diff --git a/Bio_Industries_2/graphics/icons/bio_garden_64.png b/Bio_Industries_2/graphics/icons/old/bio_garden_64.png similarity index 100% rename from Bio_Industries_2/graphics/icons/bio_garden_64.png rename to Bio_Industries_2/graphics/icons/old/bio_garden_64.png diff --git a/Bio_Industries_2/graphics/icons/bio_garden_icon.png b/Bio_Industries_2/graphics/icons/old/bio_garden_icon.png similarity index 100% rename from Bio_Industries_2/graphics/icons/bio_garden_icon.png rename to Bio_Industries_2/graphics/icons/old/bio_garden_icon.png diff --git a/Bio_Industries_2/graphics/icons/bio_greenhouse.png b/Bio_Industries_2/graphics/icons/old/bio_greenhouse.png similarity index 100% rename from Bio_Industries_2/graphics/icons/bio_greenhouse.png rename to Bio_Industries_2/graphics/icons/old/bio_greenhouse.png diff --git a/Bio_Industries_2/graphics/icons/bio_greenhouse_64.png b/Bio_Industries_2/graphics/icons/old/bio_greenhouse_64.png similarity index 100% rename from Bio_Industries_2/graphics/icons/bio_greenhouse_64.png rename to Bio_Industries_2/graphics/icons/old/bio_greenhouse_64.png diff --git a/Bio_Industries_2/graphics/icons/bio_turret_icon.png b/Bio_Industries_2/graphics/icons/old/bio_turret_icon.png similarity index 100% rename from Bio_Industries_2/graphics/icons/bio_turret_icon.png rename to Bio_Industries_2/graphics/icons/old/bio_turret_icon.png diff --git a/Bio_Industries_2/graphics/icons/bio_turret_icon_64.png b/Bio_Industries_2/graphics/icons/old/bio_turret_icon_64.png similarity index 100% rename from Bio_Industries_2/graphics/icons/bio_turret_icon_64.png rename to Bio_Industries_2/graphics/icons/old/bio_turret_icon_64.png diff --git a/Bio_Industries_2/graphics/icons/biocannon_icon.png b/Bio_Industries_2/graphics/icons/old/biocannon_icon.png similarity index 100% rename from Bio_Industries_2/graphics/icons/biocannon_icon.png rename to Bio_Industries_2/graphics/icons/old/biocannon_icon.png diff --git a/Bio_Industries_2/graphics/icons/biocannon_icon_64.png b/Bio_Industries_2/graphics/icons/old/biocannon_icon_64.png similarity index 100% rename from Bio_Industries_2/graphics/icons/biocannon_icon_64.png rename to Bio_Industries_2/graphics/icons/old/biocannon_icon_64.png diff --git a/Bio_Industries_2/graphics/icons/bioreactor.png b/Bio_Industries_2/graphics/icons/old/bioreactor.png similarity index 100% rename from Bio_Industries_2/graphics/icons/bioreactor.png rename to Bio_Industries_2/graphics/icons/old/bioreactor.png diff --git a/Bio_Industries_2/graphics/icons/bioreactor_64.png b/Bio_Industries_2/graphics/icons/old/bioreactor_64.png similarity index 100% rename from Bio_Industries_2/graphics/icons/bioreactor_64.png rename to Bio_Industries_2/graphics/icons/old/bioreactor_64.png diff --git a/Bio_Industries_2/graphics/icons/cokery.png b/Bio_Industries_2/graphics/icons/old/cokery.png similarity index 100% rename from Bio_Industries_2/graphics/icons/cokery.png rename to Bio_Industries_2/graphics/icons/old/cokery.png diff --git a/Bio_Industries_2/graphics/icons/cokery_64.png b/Bio_Industries_2/graphics/icons/old/cokery_64.png similarity index 100% rename from Bio_Industries_2/graphics/icons/cokery_64.png rename to Bio_Industries_2/graphics/icons/old/cokery_64.png diff --git a/Bio_Industries_2/graphics/icons/cokery_alt.png b/Bio_Industries_2/graphics/icons/old/cokery_alt.png similarity index 100% rename from Bio_Industries_2/graphics/icons/cokery_alt.png rename to Bio_Industries_2/graphics/icons/old/cokery_alt.png diff --git a/Bio_Industries_2/graphics/icons/curved-rail-concrete.png b/Bio_Industries_2/graphics/icons/old/curved-rail-concrete.png similarity index 100% rename from Bio_Industries_2/graphics/icons/curved-rail-concrete.png rename to Bio_Industries_2/graphics/icons/old/curved-rail-concrete.png diff --git a/Bio_Industries_2/graphics/icons/curved-rail-wood.png b/Bio_Industries_2/graphics/icons/old/curved-rail-wood.png similarity index 100% rename from Bio_Industries_2/graphics/icons/curved-rail-wood.png rename to Bio_Industries_2/graphics/icons/old/curved-rail-wood.png diff --git a/Bio_Industries_2/graphics/icons/fertilizer_64.png b/Bio_Industries_2/graphics/icons/old/fertilizer_64.png similarity index 100% rename from Bio_Industries_2/graphics/icons/fertilizer_64.png rename to Bio_Industries_2/graphics/icons/old/fertilizer_64.png diff --git a/Bio_Industries_2/graphics/icons/old/fertilizer_sulfur.png b/Bio_Industries_2/graphics/icons/old/fertilizer_sulfur.png new file mode 100644 index 0000000..14ab8fa Binary files /dev/null and b/Bio_Industries_2/graphics/icons/old/fertilizer_sulfur.png differ diff --git a/Bio_Industries_2/graphics/icons/old/fluid_advanced_fertilizer_64.png b/Bio_Industries_2/graphics/icons/old/fluid_advanced_fertilizer_64.png new file mode 100644 index 0000000..76ff8e4 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/old/fluid_advanced_fertilizer_64.png differ diff --git a/Bio_Industries_2/graphics/icons/fluid_fertilizer_recipe_64.png b/Bio_Industries_2/graphics/icons/old/fluid_fertilizer_recipe_64.png similarity index 100% rename from Bio_Industries_2/graphics/icons/fluid_fertilizer_recipe_64.png rename to Bio_Industries_2/graphics/icons/old/fluid_fertilizer_recipe_64.png diff --git a/Bio_Industries_2/graphics/icons/giga_wooden_chest_64.png b/Bio_Industries_2/graphics/icons/old/giga_wooden_chest_64.png similarity index 100% rename from Bio_Industries_2/graphics/icons/giga_wooden_chest_64.png rename to Bio_Industries_2/graphics/icons/old/giga_wooden_chest_64.png diff --git a/Bio_Industries_2/graphics/icons/giga_wooden_chest_icon.png b/Bio_Industries_2/graphics/icons/old/giga_wooden_chest_icon.png similarity index 100% rename from Bio_Industries_2/graphics/icons/giga_wooden_chest_icon.png rename to Bio_Industries_2/graphics/icons/old/giga_wooden_chest_icon.png diff --git a/Bio_Industries_2/graphics/icons/huge-wooden-pole.png b/Bio_Industries_2/graphics/icons/old/huge-wooden-pole.png similarity index 100% rename from Bio_Industries_2/graphics/icons/huge-wooden-pole.png rename to Bio_Industries_2/graphics/icons/old/huge-wooden-pole.png diff --git a/Bio_Industries_2/graphics/icons/huge-wooden-pole_64.png b/Bio_Industries_2/graphics/icons/old/huge-wooden-pole_64.png similarity index 100% rename from Bio_Industries_2/graphics/icons/huge-wooden-pole_64.png rename to Bio_Industries_2/graphics/icons/old/huge-wooden-pole_64.png diff --git a/Bio_Industries_2/graphics/icons/huge_wooden_chest_64.png b/Bio_Industries_2/graphics/icons/old/huge_wooden_chest_64.png similarity index 100% rename from Bio_Industries_2/graphics/icons/huge_wooden_chest_64.png rename to Bio_Industries_2/graphics/icons/old/huge_wooden_chest_64.png diff --git a/Bio_Industries_2/graphics/icons/huge_wooden_chest_icon.png b/Bio_Industries_2/graphics/icons/old/huge_wooden_chest_icon.png similarity index 100% rename from Bio_Industries_2/graphics/icons/huge_wooden_chest_icon.png rename to Bio_Industries_2/graphics/icons/old/huge_wooden_chest_icon.png diff --git a/Bio_Industries_2/graphics/icons/large_wooden_chest_64.png b/Bio_Industries_2/graphics/icons/old/large_wooden_chest_64.png similarity index 100% rename from Bio_Industries_2/graphics/icons/large_wooden_chest_64.png rename to Bio_Industries_2/graphics/icons/old/large_wooden_chest_64.png diff --git a/Bio_Industries_2/graphics/icons/large_wooden_chest_icon.png b/Bio_Industries_2/graphics/icons/old/large_wooden_chest_icon.png similarity index 100% rename from Bio_Industries_2/graphics/icons/large_wooden_chest_icon.png rename to Bio_Industries_2/graphics/icons/old/large_wooden_chest_icon.png diff --git a/Bio_Industries_2/graphics/icons/pipe-to-ground-wood.png b/Bio_Industries_2/graphics/icons/old/pipe-to-ground-wood.png similarity index 100% rename from Bio_Industries_2/graphics/icons/pipe-to-ground-wood.png rename to Bio_Industries_2/graphics/icons/old/pipe-to-ground-wood.png diff --git a/Bio_Industries_2/graphics/icons/old/plastic_bar_1.png b/Bio_Industries_2/graphics/icons/old/plastic_bar_1.png new file mode 100644 index 0000000..0e41055 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/old/plastic_bar_1.png differ diff --git a/Bio_Industries_2/graphics/icons/rail-wood.png b/Bio_Industries_2/graphics/icons/old/rail-wood.png similarity index 100% rename from Bio_Industries_2/graphics/icons/rail-wood.png rename to Bio_Industries_2/graphics/icons/old/rail-wood.png diff --git a/Bio_Industries_2/graphics/icons/solar-mat.png b/Bio_Industries_2/graphics/icons/old/solar-mat.png similarity index 100% rename from Bio_Industries_2/graphics/icons/solar-mat.png rename to Bio_Industries_2/graphics/icons/old/solar-mat.png diff --git a/Bio_Industries_2/graphics/icons/stone_crusher.png b/Bio_Industries_2/graphics/icons/old/stone_crusher.png similarity index 100% rename from Bio_Industries_2/graphics/icons/stone_crusher.png rename to Bio_Industries_2/graphics/icons/old/stone_crusher.png diff --git a/Bio_Industries_2/graphics/icons/stone_crusher_64.png b/Bio_Industries_2/graphics/icons/old/stone_crusher_64.png similarity index 100% rename from Bio_Industries_2/graphics/icons/stone_crusher_64.png rename to Bio_Industries_2/graphics/icons/old/stone_crusher_64.png diff --git a/Bio_Industries_2/graphics/icons/straight-rail-concrete.png b/Bio_Industries_2/graphics/icons/old/straight-rail-concrete.png similarity index 100% rename from Bio_Industries_2/graphics/icons/straight-rail-concrete.png rename to Bio_Industries_2/graphics/icons/old/straight-rail-concrete.png diff --git a/Bio_Industries_2/graphics/icons/straight-rail-wood.png b/Bio_Industries_2/graphics/icons/old/straight-rail-wood.png similarity index 100% rename from Bio_Industries_2/graphics/icons/straight-rail-wood.png rename to Bio_Industries_2/graphics/icons/old/straight-rail-wood.png diff --git a/Bio_Industries_2/graphics/icons/wood_pipe.png b/Bio_Industries_2/graphics/icons/old/wood_pipe.png similarity index 100% rename from Bio_Industries_2/graphics/icons/wood_pipe.png rename to Bio_Industries_2/graphics/icons/old/wood_pipe.png diff --git a/Bio_Industries_2/graphics/icons/wood_pipe_alt.png b/Bio_Industries_2/graphics/icons/old/wood_pipe_alt.png similarity index 100% rename from Bio_Industries_2/graphics/icons/wood_pipe_alt.png rename to Bio_Industries_2/graphics/icons/old/wood_pipe_alt.png diff --git a/Bio_Industries_2/graphics/icons/wooden-fence.png b/Bio_Industries_2/graphics/icons/old/wooden-fence.png similarity index 100% rename from Bio_Industries_2/graphics/icons/wooden-fence.png rename to Bio_Industries_2/graphics/icons/old/wooden-fence.png diff --git a/Bio_Industries_2/graphics/icons/woodrail_64.png b/Bio_Industries_2/graphics/icons/old/woodrail_64.png similarity index 100% rename from Bio_Industries_2/graphics/icons/woodrail_64.png rename to Bio_Industries_2/graphics/icons/old/woodrail_64.png diff --git a/Bio_Industries_2/graphics/icons/pellet_coke.png b/Bio_Industries_2/graphics/icons/pellet_coke.png new file mode 100644 index 0000000..d0f43c2 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/pellet_coke.png differ diff --git a/Bio_Industries_2/graphics/icons/pellet_coke_1.png b/Bio_Industries_2/graphics/icons/pellet_coke_1.png deleted file mode 100644 index a2ee820..0000000 Binary files a/Bio_Industries_2/graphics/icons/pellet_coke_1.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/pellet_coke_a.png b/Bio_Industries_2/graphics/icons/pellet_coke_a.png deleted file mode 100644 index 8190064..0000000 Binary files a/Bio_Industries_2/graphics/icons/pellet_coke_a.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/pellet_coke_b.png b/Bio_Industries_2/graphics/icons/pellet_coke_b.png deleted file mode 100644 index dc76058..0000000 Binary files a/Bio_Industries_2/graphics/icons/pellet_coke_b.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/pellet_coke_c.png b/Bio_Industries_2/graphics/icons/pellet_coke_c.png deleted file mode 100644 index 4c51595..0000000 Binary files a/Bio_Industries_2/graphics/icons/pellet_coke_c.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/pellet_coke_coal.png b/Bio_Industries_2/graphics/icons/pellet_coke_coal.png index ff51630..5e05abf 100644 Binary files a/Bio_Industries_2/graphics/icons/pellet_coke_coal.png and b/Bio_Industries_2/graphics/icons/pellet_coke_coal.png differ diff --git a/Bio_Industries_2/graphics/icons/pellet_coke_solid.png b/Bio_Industries_2/graphics/icons/pellet_coke_solid.png index a5012f1..b1ad11a 100644 Binary files a/Bio_Industries_2/graphics/icons/pellet_coke_solid.png and b/Bio_Industries_2/graphics/icons/pellet_coke_solid.png differ diff --git a/Bio_Industries_2/graphics/icons/plastic_bar_1.png b/Bio_Industries_2/graphics/icons/plastic_bar_1.png index 45ef7f4..8119eac 100644 Binary files a/Bio_Industries_2/graphics/icons/plastic_bar_1.png and b/Bio_Industries_2/graphics/icons/plastic_bar_1.png differ diff --git a/Bio_Industries_2/graphics/icons/plastic_bar_2.png b/Bio_Industries_2/graphics/icons/plastic_bar_2.png index a85368e..219fbb6 100644 Binary files a/Bio_Industries_2/graphics/icons/plastic_bar_2.png and b/Bio_Industries_2/graphics/icons/plastic_bar_2.png differ diff --git a/Bio_Industries_2/graphics/icons/poison_dart_icon.png b/Bio_Industries_2/graphics/icons/poison_dart_icon.png deleted file mode 100644 index 434f9b8..0000000 Binary files a/Bio_Industries_2/graphics/icons/poison_dart_icon.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/py_Seedling2.png b/Bio_Industries_2/graphics/icons/py_Seedling2.png deleted file mode 100644 index 69a442a..0000000 Binary files a/Bio_Industries_2/graphics/icons/py_Seedling2.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/py_ash_raw-wood.png b/Bio_Industries_2/graphics/icons/py_ash_raw-wood.png deleted file mode 100644 index de47b1d..0000000 Binary files a/Bio_Industries_2/graphics/icons/py_ash_raw-wood.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/py_ash_woodpulp.png b/Bio_Industries_2/graphics/icons/py_ash_woodpulp.png deleted file mode 100644 index ab218cf..0000000 Binary files a/Bio_Industries_2/graphics/icons/py_ash_woodpulp.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/py_bi_stone_brick.png b/Bio_Industries_2/graphics/icons/py_bi_stone_brick.png deleted file mode 100644 index 19a33cf..0000000 Binary files a/Bio_Industries_2/graphics/icons/py_bi_stone_brick.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/py_bio_seed2.png b/Bio_Industries_2/graphics/icons/py_bio_seed2.png deleted file mode 100644 index f51e716..0000000 Binary files a/Bio_Industries_2/graphics/icons/py_bio_seed2.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/py_raw-wood-mk2.png b/Bio_Industries_2/graphics/icons/py_raw-wood-mk2.png deleted file mode 100644 index 56cf51f..0000000 Binary files a/Bio_Industries_2/graphics/icons/py_raw-wood-mk2.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/raw-wood-mk1.png b/Bio_Industries_2/graphics/icons/raw-wood-mk1.png index 6f5138b..0dbe497 100644 Binary files a/Bio_Industries_2/graphics/icons/raw-wood-mk1.png and b/Bio_Industries_2/graphics/icons/raw-wood-mk1.png differ diff --git a/Bio_Industries_2/graphics/icons/raw-wood-mk2.png b/Bio_Industries_2/graphics/icons/raw-wood-mk2.png index 5b58026..cac2c54 100644 Binary files a/Bio_Industries_2/graphics/icons/raw-wood-mk2.png and b/Bio_Industries_2/graphics/icons/raw-wood-mk2.png differ diff --git a/Bio_Industries_2/graphics/icons/raw-wood-mk3.png b/Bio_Industries_2/graphics/icons/raw-wood-mk3.png index 7e81927..32b711e 100644 Binary files a/Bio_Industries_2/graphics/icons/raw-wood-mk3.png and b/Bio_Industries_2/graphics/icons/raw-wood-mk3.png differ diff --git a/Bio_Industries_2/graphics/icons/raw-wood-mk4.png b/Bio_Industries_2/graphics/icons/raw-wood-mk4.png index dc67c79..0b5e82a 100644 Binary files a/Bio_Industries_2/graphics/icons/raw-wood-mk4.png and b/Bio_Industries_2/graphics/icons/raw-wood-mk4.png differ diff --git a/Bio_Industries_2/graphics/icons/standard_dart_icon.png b/Bio_Industries_2/graphics/icons/standard_dart_icon.png deleted file mode 100644 index 528123e..0000000 Binary files a/Bio_Industries_2/graphics/icons/standard_dart_icon.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/icons/tree-seed-1.png b/Bio_Industries_2/graphics/icons/tree-seed-1.png new file mode 100644 index 0000000..3866f0f Binary files /dev/null and b/Bio_Industries_2/graphics/icons/tree-seed-1.png differ diff --git a/Bio_Industries_2/graphics/icons/tree-seed-2.png b/Bio_Industries_2/graphics/icons/tree-seed-2.png new file mode 100644 index 0000000..7af15ac Binary files /dev/null and b/Bio_Industries_2/graphics/icons/tree-seed-2.png differ diff --git a/Bio_Industries_2/graphics/icons/tree-seed-3.png b/Bio_Industries_2/graphics/icons/tree-seed-3.png new file mode 100644 index 0000000..56c306d Binary files /dev/null and b/Bio_Industries_2/graphics/icons/tree-seed-3.png differ diff --git a/Bio_Industries_2/graphics/icons/tree-seed-4.png b/Bio_Industries_2/graphics/icons/tree-seed-4.png new file mode 100644 index 0000000..6f1b122 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/tree-seed-4.png differ diff --git a/Bio_Industries_2/graphics/icons/weapon/basic_dart_icon.png b/Bio_Industries_2/graphics/icons/weapons/basic_dart_icon.png similarity index 100% rename from Bio_Industries_2/graphics/icons/weapon/basic_dart_icon.png rename to Bio_Industries_2/graphics/icons/weapons/basic_dart_icon.png diff --git a/Bio_Industries_2/graphics/icons/weapon/bi_dart_rifle_icon.png b/Bio_Industries_2/graphics/icons/weapons/bi_dart_rifle_icon.png similarity index 100% rename from Bio_Industries_2/graphics/icons/weapon/bi_dart_rifle_icon.png rename to Bio_Industries_2/graphics/icons/weapons/bi_dart_rifle_icon.png diff --git a/Bio_Industries_2/graphics/icons/weapon/bio_cannon_ammo-shadow.png b/Bio_Industries_2/graphics/icons/weapons/bio_cannon_ammo-shadow.png similarity index 100% rename from Bio_Industries_2/graphics/icons/weapon/bio_cannon_ammo-shadow.png rename to Bio_Industries_2/graphics/icons/weapons/bio_cannon_ammo-shadow.png diff --git a/Bio_Industries_2/graphics/icons/weapon/bio_cannon_basic_ammo_icon.png b/Bio_Industries_2/graphics/icons/weapons/bio_cannon_basic_ammo_icon.png similarity index 100% rename from Bio_Industries_2/graphics/icons/weapon/bio_cannon_basic_ammo_icon.png rename to Bio_Industries_2/graphics/icons/weapons/bio_cannon_basic_ammo_icon.png diff --git a/Bio_Industries_2/graphics/icons/weapon/bio_cannon_poison_ammo_icon.png b/Bio_Industries_2/graphics/icons/weapons/bio_cannon_poison_ammo_icon.png similarity index 100% rename from Bio_Industries_2/graphics/icons/weapon/bio_cannon_poison_ammo_icon.png rename to Bio_Industries_2/graphics/icons/weapons/bio_cannon_poison_ammo_icon.png diff --git a/Bio_Industries_2/graphics/icons/weapon/bio_cannon_proto_ammo_icon.png b/Bio_Industries_2/graphics/icons/weapons/bio_cannon_proto_ammo_icon.png similarity index 100% rename from Bio_Industries_2/graphics/icons/weapon/bio_cannon_proto_ammo_icon.png rename to Bio_Industries_2/graphics/icons/weapons/bio_cannon_proto_ammo_icon.png diff --git a/Bio_Industries_2/graphics/icons/weapons/bio_turret_icon.png b/Bio_Industries_2/graphics/icons/weapons/bio_turret_icon.png new file mode 100644 index 0000000..8c06802 Binary files /dev/null and b/Bio_Industries_2/graphics/icons/weapons/bio_turret_icon.png differ diff --git a/Bio_Industries_2/graphics/icons/weapons/bio_turret_icon_64.png b/Bio_Industries_2/graphics/icons/weapons/bio_turret_icon_64.png new file mode 100644 index 0000000..703054e Binary files /dev/null and b/Bio_Industries_2/graphics/icons/weapons/bio_turret_icon_64.png differ diff --git a/Bio_Industries_2/graphics/icons/weapons/biocannon_icon.png b/Bio_Industries_2/graphics/icons/weapons/biocannon_icon.png new file mode 100644 index 0000000..aeb0a4b Binary files /dev/null and b/Bio_Industries_2/graphics/icons/weapons/biocannon_icon.png differ diff --git a/Bio_Industries_2/graphics/icons/weapons/biocannon_icon_64.png b/Bio_Industries_2/graphics/icons/weapons/biocannon_icon_64.png new file mode 100644 index 0000000..749492b Binary files /dev/null and b/Bio_Industries_2/graphics/icons/weapons/biocannon_icon_64.png differ diff --git a/Bio_Industries_2/graphics/icons/weapon/enhanced_dart_icon.png b/Bio_Industries_2/graphics/icons/weapons/enhanced_dart_icon.png similarity index 100% rename from Bio_Industries_2/graphics/icons/weapon/enhanced_dart_icon.png rename to Bio_Industries_2/graphics/icons/weapons/enhanced_dart_icon.png diff --git a/Bio_Industries_2/graphics/icons/weapon/poison_dart_icon.png b/Bio_Industries_2/graphics/icons/weapons/poison_dart_icon.png similarity index 100% rename from Bio_Industries_2/graphics/icons/weapon/poison_dart_icon.png rename to Bio_Industries_2/graphics/icons/weapons/poison_dart_icon.png diff --git a/Bio_Industries_2/graphics/icons/weapon/seed_bomb_icon_a.png b/Bio_Industries_2/graphics/icons/weapons/seed_bomb_icon_a.png similarity index 100% rename from Bio_Industries_2/graphics/icons/weapon/seed_bomb_icon_a.png rename to Bio_Industries_2/graphics/icons/weapons/seed_bomb_icon_a.png diff --git a/Bio_Industries_2/graphics/icons/weapon/seed_bomb_icon_b.png b/Bio_Industries_2/graphics/icons/weapons/seed_bomb_icon_b.png similarity index 100% rename from Bio_Industries_2/graphics/icons/weapon/seed_bomb_icon_b.png rename to Bio_Industries_2/graphics/icons/weapons/seed_bomb_icon_b.png diff --git a/Bio_Industries_2/graphics/icons/weapon/seed_bomb_icon_s.png b/Bio_Industries_2/graphics/icons/weapons/seed_bomb_icon_s.png similarity index 100% rename from Bio_Industries_2/graphics/icons/weapon/seed_bomb_icon_s.png rename to Bio_Industries_2/graphics/icons/weapons/seed_bomb_icon_s.png diff --git a/Bio_Industries_2/graphics/icons/weapon/standard_dart_icon.png b/Bio_Industries_2/graphics/icons/weapons/standard_dart_icon.png similarity index 100% rename from Bio_Industries_2/graphics/icons/weapon/standard_dart_icon.png rename to Bio_Industries_2/graphics/icons/weapons/standard_dart_icon.png diff --git a/Bio_Industries_2/graphics/icons/wood_from_pulp.png b/Bio_Industries_2/graphics/icons/wood_from_pulp.png index ad505b3..7d918a5 100644 Binary files a/Bio_Industries_2/graphics/icons/wood_from_pulp.png and b/Bio_Industries_2/graphics/icons/wood_from_pulp.png differ diff --git a/Bio_Industries_2/graphics/icons/woodpulp_64.png b/Bio_Industries_2/graphics/icons/woodpulp_64.png index 262bbc3..157b5c8 100644 Binary files a/Bio_Industries_2/graphics/icons/woodpulp_64.png and b/Bio_Industries_2/graphics/icons/woodpulp_64.png differ diff --git a/Bio_Industries_2/graphics/renamed_files.txt b/Bio_Industries_2/graphics/renamed_files.txt deleted file mode 100644 index 70ef7ca..0000000 --- a/Bio_Industries_2/graphics/renamed_files.txt +++ /dev/null @@ -1,9 +0,0 @@ -Icons: -====== -cokery.png bi_cokery.png -stone_crusher.png bi_stone_crusher.png -liquid-air.png bi_liquid_air.png -liquid-nitrogen.png bi_liquid_nitrogen.png - -bi-recipe-battery bi-battery - diff --git a/Bio_Industries_2/graphics/technology/Basic_Petroleum_Gas_Processing.png b/Bio_Industries_2/graphics/technology/Basic_Petroleum_Gas_Processing.png deleted file mode 100644 index dd44fe7..0000000 Binary files a/Bio_Industries_2/graphics/technology/Basic_Petroleum_Gas_Processing.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/technology/BioIndustries_itemgroup.png b/Bio_Industries_2/graphics/technology/BioIndustries_itemgroup.png new file mode 100644 index 0000000..a08a69f Binary files /dev/null and b/Bio_Industries_2/graphics/technology/BioIndustries_itemgroup.png differ diff --git a/Bio_Industries_2/graphics/technology/Bio_Farm_Tech_128.png b/Bio_Industries_2/graphics/technology/Bio_Farm_Tech_128.png deleted file mode 100644 index 1b3ca69..0000000 Binary files a/Bio_Industries_2/graphics/technology/Bio_Farm_Tech_128.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/technology/Biomass_128.png b/Bio_Industries_2/graphics/technology/Biomass_128.png deleted file mode 100644 index e78f038..0000000 Binary files a/Bio_Industries_2/graphics/technology/Biomass_128.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/technology/Cellulose_128.png b/Bio_Industries_2/graphics/technology/Cellulose_128.png deleted file mode 100644 index 3ca6961..0000000 Binary files a/Bio_Industries_2/graphics/technology/Cellulose_128.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/technology/Coal_128.png b/Bio_Industries_2/graphics/technology/Coal_128.png deleted file mode 100644 index 6f1fc13..0000000 Binary files a/Bio_Industries_2/graphics/technology/Coal_128.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/technology/Fertilizer_128.png b/Bio_Industries_2/graphics/technology/Fertilizer_128.png deleted file mode 100644 index 4ee6965..0000000 Binary files a/Bio_Industries_2/graphics/technology/Fertilizer_128.png and /dev/null differ diff --git a/Bio_Industries_2/graphics/technology/bi-tech-bio-farming.png b/Bio_Industries_2/graphics/technology/bi-tech-bio-farming.png new file mode 100644 index 0000000..77e527b Binary files /dev/null and b/Bio_Industries_2/graphics/technology/bi-tech-bio-farming.png differ diff --git a/Bio_Industries_2/graphics/technology/bi-tech-biomass.png b/Bio_Industries_2/graphics/technology/bi-tech-biomass.png new file mode 100644 index 0000000..e63932e Binary files /dev/null and b/Bio_Industries_2/graphics/technology/bi-tech-biomass.png differ diff --git a/Bio_Industries_2/graphics/technology/bi-tech-cellulose.png b/Bio_Industries_2/graphics/technology/bi-tech-cellulose.png new file mode 100644 index 0000000..3be4b36 Binary files /dev/null and b/Bio_Industries_2/graphics/technology/bi-tech-cellulose.png differ diff --git a/Bio_Industries_2/graphics/technology/bi-tech-coal-processing-1.png b/Bio_Industries_2/graphics/technology/bi-tech-coal-processing-1.png new file mode 100644 index 0000000..984a84c Binary files /dev/null and b/Bio_Industries_2/graphics/technology/bi-tech-coal-processing-1.png differ diff --git a/Bio_Industries_2/graphics/technology/bi-tech-coal-processing-2.png b/Bio_Industries_2/graphics/technology/bi-tech-coal-processing-2.png new file mode 100644 index 0000000..984a84c Binary files /dev/null and b/Bio_Industries_2/graphics/technology/bi-tech-coal-processing-2.png differ diff --git a/Bio_Industries_2/graphics/technology/bi-tech-coal-processing-3.png b/Bio_Industries_2/graphics/technology/bi-tech-coal-processing-3.png new file mode 100644 index 0000000..984a84c Binary files /dev/null and b/Bio_Industries_2/graphics/technology/bi-tech-coal-processing-3.png differ diff --git a/Bio_Industries_2/graphics/technology/bi-tech-fertilizer.png b/Bio_Industries_2/graphics/technology/bi-tech-fertilizer.png new file mode 100644 index 0000000..832c9ae Binary files /dev/null and b/Bio_Industries_2/graphics/technology/bi-tech-fertilizer.png differ diff --git a/Bio_Industries_2/info.json b/Bio_Industries_2/info.json index 0da98cf..c56a238 100644 --- a/Bio_Industries_2/info.json +++ b/Bio_Industries_2/info.json @@ -1,20 +1,22 @@ -{ - "name": "Bio_Industries_2", - "version": "2.0.0", - "factorio_version": "2.0", - "title": "Bio Industries", - "author": "cackling fiend", - "homepage": "https://discord.gg/5bevXf5W", - "description": "Provides useful buildings and items, like the Bio Farm for growing trees. Solar Farm and Large Accumulator to make your electric setup easier. Bio Fuel section to produce organic plastic and batteries. Lots of New Wood Products, like the big electric pole, wooden pipes, dart turret. Plant trees using seedlings. Change terrain from deserts to grasslands using Fertilizer - helps trees grow better. And a lot more… Please visit the homepage on the forums for more information and feedback.", - "dependencies": [ - "base >= 2.0.55", - "? space-age", - "kry_stdlib >= 2.0.6", - "? alien-biomes", - "? Krastorio2", - "(?) angelspetrochem", - "(?) Transport_Drones", - "(?) Natural_Evolution_Buildings", - "(?) Natural_Evolution_Enemies" - ] -} +{ + "name": "Bio_Industries_2", + "version": "2.0.26", + "factorio_version": "2.0", + "title": "Bio Industries", + "author": "TheSAguy - Had a few Ideas, Pi-C (Programming Genius), Snouz (Graphics Wizard), Cackling Fiend - Conversion to F2.0", + "contact": "vvwmisc@hotmail.com", + "homepage": "https://forums.factorio.com/viewtopic.php?f=93&t=17548", + "description": "Provides useful buildings and items, like the Bio Farm for growing trees. Solar Farm and Large Accumulator to make your electric setup easier. Bio Fuel section to produce organic plastic and batteries. Lots of New Wood Products, like the big electric pole, wooden pipes, dart turret. Plant trees using seedlings. Change terrain from deserts to grasslands using Fertilizer - helps trees grow better. And a lot more… Please visit the homepage on the forums for more information and feedback.", + "dependencies": [ + "base >= 2.0.55", + "? space-age", + "kry_stdlib >= 2.0.6", + "? alien-biomes", + "? Krastorio2", + "? Krastorio2-spaced-out", + "(?) angelspetrochem", + "(?) Transport_Drones", + "(?) Natural_Evolution_Buildings", + "(?) Natural_Evolution_Enemies" + ] +} diff --git a/Bio_Industries_2/libs/bi_functions.lua b/Bio_Industries_2/libs/bi_functions.lua index fa90165..3d289f1 100644 --- a/Bio_Industries_2/libs/bi_functions.lua +++ b/Bio_Industries_2/libs/bi_functions.lua @@ -1,25 +1,25 @@ - -function BI_Functions.lib.allow_productivity(recipe_name) - if data.raw.recipe[recipe_name] then - for i, module in pairs(data.raw.module) do - if module.limitation and module.effect.productivity then - table.insert(module.limitation, recipe_name) - end - end - end -end - - -function BI_Functions.lib.remove_from_blueprint(check_tile) - if data.raw.tile[check_tile] then - data.raw.tile[check_tile].can_be_part_of_blueprint = false - end -end - - -function BI_Functions.lib.fuel_emissions_multiplier_update(item2update, value) - local target = data.raw.item[item2update] - if target and target.fuel_value then - target.fuel_emissions_multiplier = value - end -end + +function BI_Functions.lib.allow_productivity(recipe_name) + if data.raw.recipe[recipe_name] then + for i, module in pairs(data.raw.module) do + if module.limitation and module.effect.productivity then + table.insert(module.limitation, recipe_name) + end + end + end +end + + +function BI_Functions.lib.remove_from_blueprint(check_tile) + if data.raw.tile[check_tile] then + data.raw.tile[check_tile].can_be_part_of_blueprint = false + end +end + + +function BI_Functions.lib.fuel_emissions_multiplier_update(item2update, value) + local target = data.raw.item[item2update] + if target and target.fuel_value then + target.fuel_emissions_multiplier = value + end +end diff --git a/Bio_Industries_2/libs/category-functions.lua b/Bio_Industries_2/libs/category-functions.lua index 9b955d3..4ced9cf 100644 --- a/Bio_Industries_2/libs/category-functions.lua +++ b/Bio_Industries_2/libs/category-functions.lua @@ -1,7 +1,8 @@ local BioInd = require('common')('Bio_Industries_2') -if not thxbob.lib.machine then thxbob.lib.machine = {} end - +if not thxbob.lib.machine then + thxbob.lib.machine = {} +end function thxbob.lib.machine.has_category(machine, category_in) local hasit = false @@ -18,13 +19,13 @@ end function thxbob.lib.machine.add_category(machine, category) if machine and data.raw["recipe-category"][category] then if not machine.crafting_categories then - machine.crafting_categories = {category} + machine.crafting_categories = { category } elseif not thxbob.lib.machine.has_category(machine, category) then table.insert(machine.crafting_categories, category) end else if not data.raw["recipe-category"][category] then - BioInd.writeDebug("Crafting category %s does not exist.", {category}) + log("Crafting category " .. category .. " does not exist.") end end end @@ -36,10 +37,10 @@ function thxbob.lib.machine.if_add_category(machine, category, category_to_add) end else if not data.raw["recipe-category"][category] then - BioInd.writeDebug("Crafting category %s does not exist.", {category}) + log("Crafting category " .. category .. " does not exist.") end if not data.raw["recipe-category"][category_to_add] then - BioInd.writeDebug("Crafting category %s does not exist.", {category_to_add}) + log("Crafting category " .. category_to_add .. " does not exist.") end end end @@ -51,15 +52,14 @@ function thxbob.lib.machine.type_if_add_category(machine_type, category, categor end else if not data.raw["recipe-category"][category] then - BioInd.writeDebug("Crafting category %s does not exist.", {category}) + log("Crafting category " .. category .. " does not exist.") end if not data.raw["recipe-category"][category_to_add] then - BioInd.writeDebug("Crafting category %s does not exist.", {category_to_add}) + log("Crafting category " .. category_to_add .. " does not exist.") end end end - function thxbob.lib.machine.has_resource_category(machine, category_in) local hasit = false if machine and machine.resource_categories then @@ -75,13 +75,13 @@ end function thxbob.lib.machine.add_resource_category(machine, category) if machine and data.raw["resource-category"][category] then if not machine.resource_categories then - machine.resource_categories = {category} + machine.resource_categories = { category } elseif not thxbob.lib.machine.has_resource_category(machine, category) then table.insert(machine.resource_categories, category) end else if not data.raw["resource-category"][category] then - BioInd.writeDebug("Resource category %s does not exist.", {category}) + log("Resource category " .. category .. " does not exist.") end end end @@ -93,10 +93,10 @@ function thxbob.lib.machine.if_add_resource_category(machine, category, category end else if not data.raw["resource-category"][category] then - BioInd.writeDebug("Resource category %s does not exist.", {category}) + log("Resource category " .. category .. " does not exist.") end if not data.raw["resource-category"][category_to_add] then - BioInd.writeDebug("Resource category %s does not exist.", {category_to_add}) + log("Resource category " .. category_to_add .. " does not exist.") end end end @@ -108,10 +108,23 @@ function thxbob.lib.machine.type_if_add_resource_category(machine_type, category end else if not data.raw["resource-category"][category] then - BioInd.writeDebug("Resource category %s does not exist.", {category}) + log(debug.traceback()) + log("Resource category " .. category .. " does not exist.") end if not data.raw["resource-category"][category_to_add] then - BioInd.writeDebug("Resource category %s does not exist.", {category_to_add}) + log(debug.traceback()) + log("Resource category " .. category_to_add .. " does not exist.") + end + end +end + +function thxbob.lib.machine.copy_categories_from(machine_type, from_name, to_name) + local from_machine = data.raw[machine_type][from_name] + local to_machine = data.raw[machine_type][to_name] + + if from_machine and to_machine then + for _, category in pairs(from_machine.crafting_categories) do + thxbob.lib.machine.add_category(to_machine, category) end end end diff --git a/Bio_Industries_2/libs/error-functions.lua b/Bio_Industries_2/libs/error-functions.lua new file mode 100644 index 0000000..889c6b5 --- /dev/null +++ b/Bio_Industries_2/libs/error-functions.lua @@ -0,0 +1,154 @@ +local BioInd = require('common')('Bio_Industries_2') + +if not thxbob.lib.error then + thxbob.lib.error = {} +end + +function thxbob.lib.error.technology(technology, name, desc) + if name == nil then + name = "Technology" + end + if desc == nil then + desc = name + end + if technology == nil then + log(name .. " variable not passed") + elseif type(technology) == "table" then + log(name .. " variable is a table.") + elseif not (type(technology) == "string") then + log(name .. " variable not a string.") + elseif not data.raw.technology[technology] then + log(desc .. " " .. technology .. " does not exist.") + end +end + +function thxbob.lib.error.recipe(recipe, name, desc) + if name == nil then + name = "Recipe" + end + if desc == nil then + desc = name + end + if recipe == nil then + log(name .. " variable not passed") + elseif type(recipe) == "table" then + log(name .. " variable is a table.") + elseif not (type(recipe) == "string") then + log(name .. " variable not a string.") + elseif not data.raw.recipe[recipe] then + log(desc .. " " .. recipe .. " does not exist.") + end +end + +function thxbob.lib.error.resource(resource, name, desc) + if name == nil then + name = "Resource" + end + if desc == nil then + desc = name + end + if resource == nil then + log(name .. " variable not passed") + elseif type(resource) == "table" then + log(name .. " variable is a table.") + elseif not (type(resource) == "string") then + log(name .. " variable not a string.") + elseif not data.raw.resource[resource] then + log(desc .. " " .. resource .. " does not exist.") + end +end + +function thxbob.lib.error.item(item, name) + if name == nil then + name = "Item" + end + if item == nil then + log(name .. " variable not passed") + elseif type(item) == "table" then + log(name .. " variable is a table.") + elseif not (type(item) == "string") then + log(name .. " variable not a string.") + else + local item_type = thxbob.lib.item.get_type(item) + if not item_type then + log(name .. " " .. item .. " not a valid item of any type.") + end + end +end + +function thxbob.lib.error.item_of_type(item, item_type_in, name) + if name == nil then + name = "Item" + end + if item == nil then + log(name .. " variable not passed") + elseif type(item) == "table" then + log(name .. " variable is a table.") + elseif not (type(item) == "string") then + log(name .. " variable not a string.") + else + local item_type = thxbob.lib.item.get_type(item) + if not item_type then + log(name .. " " .. item .. " does not exist.") + elseif item_type ~= item_type_in then + log(name .. " " .. item .. " is of type: " .. item_type .. ", expected: " .. item_type_in) + end + end +end + +function thxbob.lib.error.ingredient(ingredient, name) + if name == nil then + name = "Ingredient" + end + if ingredient == nil then + log(name .. " variable not passed") + elseif not (type(ingredient == "table")) then + log(name .. " variable not a table") + elseif not (type(ingredient.name) == "string") then + log(name .. ".name variable not a string.") + elseif thxbob.lib.item.get_type(ingredient.name) == nil then + log(name .. ".name not a valid item of any type.") + end + if not (type(ingredient.amount) == "number") then + log(name .. ".amount variable not a number.") + end + if not (ingredient.type == "item" or ingredient.type == "fluid") then + log(name .. ".type not a valid ingredient item type") + end +end + +function thxbob.lib.error.result(result, name) + if name == nil then + name = "Result" + end + if result == nil then + log(name .. " variable not passed") + return + elseif not (type(result == "table")) then + log(name .. " variable not a table") + elseif not (type(result.name) == "string") then + log(name .. ".name variable not a string.") + elseif thxbob.lib.item.get_type(result.name) == nil then + log(name .. ".name not a valid item of any type.") + end + if result.amount then + if type(result.amount) == "number" then + log(name .. ".amount variable not a number.") + end + elseif result.amount_min and result.amount_max then + if not (type(result.amount_min) == "number") then + log(name .. ".amount_min variable not a number.") + end + if not (type(result.amount_max) == "number") then + log(name .. ".amount_max variable not a number.") + end + end + if result.probability then + if not (type(result.probability) == "number") then + log(name .. ".probability not a number") + end + end + if not (result.type == "item" or result.type == "fluid") then + log(name .. ".type not a valid result item type") + end +end diff --git a/Bio_Industries_2/libs/functions.lua b/Bio_Industries_2/libs/functions.lua index f192d31..9c39f42 100644 --- a/Bio_Industries_2/libs/functions.lua +++ b/Bio_Industries_2/libs/functions.lua @@ -1,6 +1,5 @@ local BioInd = require('common')('Bio_Industries_2') - -- Merges table2's contents into table1. function thxbob.lib.table_merge(table1, table2) for index, value in pairs(table2) do @@ -16,65 +15,66 @@ function thxbob.lib.table_merge(table1, table2) end end - --- Converts recipe.result to recipe.results! -function thxbob.lib.result_check(object) -BioInd.show("Entered function result_check", object) +function thxbob.lib.minable_result_check(object) if object then - object.results = object.results or {} - - if object.result then - local item = thxbob.lib.item.basic_item({name = object.result}) -BioInd.show("item", item) - if object.result_count then - item.amount = object.result_count - object.result_count = nil - end - -BioInd.show("object.result", object.result) - thxbob.lib.item.add_new(object.results, item) -BioInd.show("object.results after add_new", object.results) - - if object.ingredients then -- It's a recipe - if not object.main_product then - if object.icon or object.subgroup or object.order or item.type ~= "item" then -- if we already have one, add the rest -BioInd.writeDebug("data.raw[%s][%s]: %s", {item.type, object.result, data.raw[item.type][object.result] or "nil"}) - if (not object.icon) and data.raw[item.type][object.result] and - data.raw[item.type][object.result].icon then - object.icon = data.raw[item.type][object.result].icon - object.icon_size = data.raw[item.type][object.result].icon_size - -- Make sure objects also have an icons definition - elseif not object.icons and data.raw[item.type][object.result] and - data.raw[item.type][object.result].icons and - -- Don't assume that an icon already exists, - -- it could be set later on! - data.raw[item.type][object.result].icon then - object.icons = { - {icon = data.raw[item.type][object.result].icon, icon_size = 64} - } - end - if not object.subgroup and data.raw[item.type][object.result] and - data.raw[item.type][object.result].subgroup then - object.subgroup = data.raw[item.type][object.result].subgroup - end - if not object.order and data.raw[item.type][object.result] and - data.raw[item.type][object.result].order then - object.order = data.raw[item.type][object.result].order - end - else -- otherwise just use main_product as a cheap way to set them all. - object.main_product = object.result - end - end - end - object.result = nil + if object.results == nil then + object.results = {} end + if object.result then + local item = thxbob.lib.item.ingredient({ type = "item", name = object.result, amount = 1 }) + if object.count then + item.amount = object.count + object.count = nil + end + thxbob.lib.item.add_new(object.results, item) + + object.result = nil + end else - BioInd.writeDebug("%s does not exist.", {object}) + log(object .. " does not exist.") end end - function thxbob.lib.belt_speed_ips(ips) - return ips * 1/480 + return ips * 1 / 480 +end + +--Inserts the new item into the table only if it doesn't already exist. (Index optional. Designed to insert strings only.) +function thxbob.lib.safe_insert(array, new_item, index) + local addit = true + for i, item in pairs(array) do + if item == new_item then + addit = false + end + end + if addit then + if index then + table.insert(array, index, new_item) + else + table.insert(array, new_item) + end + end +end + +--takes an item/fluid/entity(maybe even recipe) and returns a complete icons array. +--if it has no icons= tag, it builds one from icon and icon_size. +--Example use thxbob.lib.icons_from_item(data.raw.item.wood) +function thxbob.lib.icons_from_item(item) + if item and type(item) == "table" then + local icons = {} + if item.icons then + icons = item.icons + elseif item.icon then + icons = { { icon = item.icon, icon_size = item.icon_size or 64 } } + else + icons = nil + log(debug.traceback()) + log(item.name .. " has no valid icons.") + end + return icons + end + log(debug.traceback()) + log("object does not exist.") + return nil end diff --git a/Bio_Industries_2/libs/item-functions.lua b/Bio_Industries_2/libs/item-functions.lua index 2bf0b14..d3983c4 100644 --- a/Bio_Industries_2/libs/item-functions.lua +++ b/Bio_Industries_2/libs/item-functions.lua @@ -1,178 +1,363 @@ local BioInd = require('common')('Bio_Industries_2') -if not thxbob.lib.item then thxbob.lib.item = {} end +if not thxbob.lib.item then + thxbob.lib.item = {} +end -function thxbob.lib.item.get_type(name) - local item_types = { - "ammo", - "armor", - "capsule", - "fluid", - "gun", - "item", - "module", - "tool", - "item-with-entity-data" - } +function thxbob.lib.item.get_type(name) --returns actual item type local item_type = nil - for i, type_name in pairs(item_types) do - if data.raw[type_name][name] then item_type = type_name end + if type(name) == "string" then + for type_name, _ in pairs(defines.prototypes["item"]) do + if data.raw[type_name] and data.raw[type_name][name] then + item_type = type_name + end + end + if data.raw.fluid and data.raw.fluid[name] then + item_type = "fluid" + end + else + log("Item name is not a string") end return item_type end -function thxbob.lib.item.get_basic_type(name) +function thxbob.lib.item.get_basic_type(name) --returns fluid for fluid, item for all other types. + local item_type = thxbob.lib.item.get_type(name) + if not (item_type == "fluid" or item_type == nil) then + item_type = "item" + end + return item_type +end + +function thxbob.lib.item.get_basic_type_simple(name) --assumes type is item, even if the item doesn't exist local item_type = "item" - if data.raw.fluid[name] then item_type = "fluid" end + if data.raw.fluid[name] then + item_type = "fluid" + end return item_type end - -function thxbob.lib.item.basic_item(inputs) +function thxbob.lib.item.ingredient_simple(inputs) --doesn't care if the item actually exists or not, returns if a valid ingredient structure can be determined. local item = {} - if inputs.name then - item.name = inputs.name - else - item.name = inputs[1] - end - - if inputs.amount then - item.amount = inputs.amount - else - if inputs[2] then - item.amount = inputs[2] - end - end - if not item.amount then - item.amount = 1 - end - - if inputs.type then - item.type = inputs.type - else - item.type = thxbob.lib.item.get_basic_type(item.name) - end - - if item.type == "item" then - if item.amount > 0 and item.amount < 1 then - item.amount = 1 + if type(inputs) == "table" then + if inputs.name and type(inputs.name) == "string" then + item.name = inputs.name else - item.amount = math.floor(item.amount) + log(debug.traceback()) + log("Unable to determine an ingredient name") + return nil end - end - return item + if inputs.amount and type(inputs.amount) == "number" then + item.amount = inputs.amount + else + log(debug.traceback()) + log("Unable to determine an ingredient amount") + return nil + end + + if inputs.type then + item.type = inputs.type + else + log(debug.traceback()) + log("Unable to determine an ingredient type") + return nil + end + + if item.type == "item" then + if type(item.amount) ~= "number" or item.amount < 1 then + item.amount = 1 + else + item.amount = math.floor(item.amount) + end + end + if item.type == "fluid" then + item.temperature = inputs.temperature + item.minimum_temperature = inputs.minimum_temperature + item.maximum_temperature = inputs.maximum_temperature + item.fluidbox_index = inputs.fluidbox_index + item.fluidbox_multiplier = inputs.fluidbox_multiplier + end + + item.ignored_by_stats = inputs.ignored_by_stats + + return item + else + log(debug.traceback()) + thxbob.lib.error.ingredient(item) + return nil + end end -function thxbob.lib.item.item(inputs) +function thxbob.lib.item.ingredient(inputs) --returns a valid ingredient only if the item exists. + local item = thxbob.lib.item.ingredient_simple(inputs) + if item then + return item + else + if inputs and inputs.name then + log(inputs.name) + end + log(debug.traceback()) + thxbob.lib.error.ingredient(inputs) + return nil + end +end + +--Same as ingredient, but has support for amount_min, amount_max and probability +function thxbob.lib.item.result_simple(inputs) local item = {} - if inputs.name then - item.name = inputs.name - else - item.name = inputs[1] - end - - if inputs.amount then - item.amount = inputs.amount - else - if inputs[2] then - item.amount = inputs[2] + if type(inputs) == "table" then + if inputs.name and type(inputs.name) == "string" then + item.name = inputs.name + else + log(debug.traceback()) + log("Unable to determine a result name") + return nil end - end - if not item.amount then - if inputs.amount_min and inputs.amount_max then + + if inputs.amount and type(inputs.amount) == "number" then + item.amount = inputs.amount + elseif inputs.amount_min and inputs.amount_max then item.amount_min = inputs.amount_min item.amount_max = inputs.amount_max else - item.amount = 1 + log(debug.traceback()) + log("Unable to determine a result amount") + return nil end - end - if inputs.probability then item.probability = inputs.probability end - if inputs.type then - item.type = inputs.type + if inputs.probability then + item.probability = inputs.probability + end + + if inputs.type then + item.type = inputs.type + else + item.type = thxbob.lib.item.get_basic_type_simple(item.name) + end + + if item.type == "item" then + if item.amount then + if type(item.amount) ~= "number" or item.amount < 1 then + item.amount = 1 + else + item.amount = math.floor(item.amount) + end + end + if item.amount_min then + if type(item.amount_min) ~= "number" or item.amount_min < 1 then + item.amount_min = 0 + else + item.amount_min = math.floor(item.amount_min) + end + end + if item.amount_max then + if type(item.amount_max) ~= "number" or item.amount_max < 1 then + item.amount_max = 1 + else + item.amount_max = math.ceil(item.amount_max) + end + end + end + if item.type == "fluid" then + item.fluidbox_index = inputs.fluidbox_index + item.temperature = inputs.temperature + else + item.extra_count_fraction = inputs.extra_count_fraction + item.percent_spoiled = inputs.percent_spoiled + end + + item.ignored_by_stats = inputs.ignored_by_stats + item.ignored_by_productivity = inputs.ignored_by_productivity + item.show_details_in_recipe_tooltip = inputs.show_details_in_recipe_tooltip + end + + if + type(item.name) == "string" + and (type(item.amount) == "number" or (type(item.amount_min) == "number" and type(item.amount_max) == "number")) + and (item.probability == nil or type(item.probability) == "number") + and (item.type == "item" or item.type == "fluid") + then + return item else - item.type = thxbob.lib.item.get_basic_type(item.name) + log(debug.traceback()) + thxbob.lib.error.result(item) + return nil end - - return item end +function thxbob.lib.item.result(inputs) --returns a valid result only if the item exists. + local item = thxbob.lib.item.result_simple(inputs) + if item then + return item + else + if inputs and inputs.name then + log(inputs.name) + end + log(debug.traceback()) + thxbob.lib.error.result(inputs) + return nil + end +end function thxbob.lib.item.combine(item1_in, item2_in) local item = {} - local item1 = thxbob.lib.item.item(item1_in) - local item2 = thxbob.lib.item.item(item2_in) + local item1 = thxbob.lib.item.result(item1_in) + local item2 = thxbob.lib.item.result(item2_in) - item.name = item1.name - item.type = item1.type + if item1 and item2 then + item.name = item1.name + item.type = item1.type - if item1.amount and item2.amount then - item.amount = item1.amount + item2.amount - elseif item1.amount_min and item1.amount_max and item2.amount_min and item2.amount_max then - item.amount_min = item1.amount_min + item2.amount_min - item.amount_max = item1.amount_max + item2.amount_max - else - if item1.amount_min and item1.amount_max and item2.amount then + if item1.amount and item2.amount then + item.amount = item1.amount + item2.amount + elseif item1.amount_min and item1.amount_max and item2.amount_min and item2.amount_max then + item.amount_min = item1.amount_min + item2.amount_min + item.amount_max = item1.amount_max + item2.amount_max + elseif item1.amount_min and item1.amount_max and item2.amount then item.amount_min = item1.amount_min + item2.amount item.amount_max = item1.amount_max + item2.amount elseif item1.amount and item2.amount_min and item2.amount_max then item.amount_min = item1.amount + item2.amount_min item.amount_max = item1.amount + item2.amount_max end - end - if item1.probability and item2.probability then - item.probability = (item1.probability + item2.probability) / 2 - elseif item1.probability then - item.probability = (item1.probability + 1) / 2 - elseif item2.probability then - item.probability = (item2.probability + 1) / 2 - end + if item1.probability and item2.probability then + item.probability = (item1.probability + item2.probability) / 2 + elseif item1.probability then + item.probability = (item1.probability + 1) / 2 + elseif item2.probability then + item.probability = (item2.probability + 1) / 2 + end - return item + if item1.ignored_by_productivity and item2.ignored_by_productivity then + item.ignored_by_productivity = item1.ignored_by_productivity + item2.ignored_by_productivity + elseif item1.ignored_by_productivity then + item.ignored_by_productivity = item1.ignored_by_productivity + elseif item2.ignored_by_productivity then + item.ignored_by_productivity = item2.ignored_by_productivity + end + + if item1.ignored_by_stats and item2.ignored_by_stats then + item.ignored_by_stats = item1.ignored_by_stats + item2.ignored_by_stats + elseif item1.ignored_by_stats then + item.ignored_by_stats = item1.ignored_by_stats + elseif item2.ignored_by_stats then + item.ignored_by_stats = item2.ignored_by_stats + end + + item.fluidbox_index = item1.fluidbox_index or item2.fluidbox_index + + return item + else + return nil + end end - function thxbob.lib.item.add(list, item_in) --increments amount if exists - local item = thxbob.lib.item.item(item_in) - local addit = true - for i, object in pairs(list) do - if object[1] == item.name or object.name == item.name then - addit = false - list[i] = thxbob.lib.item.combine(object, item) + local item = thxbob.lib.item.result(item_in) + if type(list) == "table" and item then + local addit = true + for i, object in pairs(list) do + if object.name == item.name then + addit = false + list[i] = thxbob.lib.item.combine(object, item) + end + end + if addit then + table.insert(list, item) end end - if addit then table.insert(list, item) end end function thxbob.lib.item.add_new(list, item_in) --ignores if exists - local item = thxbob.lib.item.item(item_in) - local addit = true - for i, object in pairs(list) do - if item.name == thxbob.lib.item.basic_item(object).name then addit = false end - end - if addit then - table.insert(list, item) + local item = thxbob.lib.item.result(item_in) + if type(list) == "table" and item then + local addit = true + for i, object in pairs(list) do + local basic_object = thxbob.lib.item.result(object) + if basic_object and item.name == basic_object.name then + addit = false + end + end + if addit then + table.insert(list, item) + end end end function thxbob.lib.item.remove(list, item) - for i, object in ipairs(list) do - if object[1] == item or object.name == item then - table.remove(list, i) + if type(list) == "table" and type(item) == "string" then + for i, object in ipairs(list) do + if object.name == item then + table.remove(list, i) + end end + else + log(debug.traceback()) + thxbob.lib.error.item(item) end end function thxbob.lib.item.set(list, item_in) - local item = thxbob.lib.item.item(item_in) - for i, object in pairs(list) do - if object[1] == item.name or object.name == item.name then - list[i] = item + local item = thxbob.lib.item.result(item_in) + if type(list) == "table" and item then + local addit = true + for i, object in pairs(list) do + if object.name == item.name then + list[i] = item + addit = false + end + end + if addit then + table.insert(list, item) end end end + +function thxbob.lib.item.hide(item_name) + if type(item_name) == "string" then + local item = data.raw.item[item_name] or data.raw.fluid[item_name] + if item then + item.hidden = true + end + else + log(debug.traceback()) + thxbob.lib.error.item(item_name) + end +end + +function thxbob.lib.item.hide_entity(type_name, entity_name) + if type(type_name) == "string" and type(entity_name) == "string" then + local entities = data.raw[type_name] + if entities then + local entity = entities[entity_name] + if entity then + entity.hidden = true + end + end + else + log(debug.traceback()) + thxbob.lib.error.item(entity_name) + end +end + +function thxbob.lib.item.set_subgroup(item_name, subgroup) + if type(item_name) == "string" and type(subgroup) == "string" then + local item = data.raw.item[item_name] + if item then + item.subgroup = subgroup + else + item = data.raw.fluid[item_name] + if item then + item.subgroup = subgroup + end + end + else + log(debug.traceback()) + thxbob.lib.error.item(item_name) + end +end diff --git a/Bio_Industries_2/libs/recipe-functions.lua b/Bio_Industries_2/libs/recipe-functions.lua index 60fc1c0..4825276 100644 --- a/Bio_Industries_2/libs/recipe-functions.lua +++ b/Bio_Industries_2/libs/recipe-functions.lua @@ -1,163 +1,560 @@ local BioInd = require('common')('Bio_Industries_2') -if not thxbob.lib.recipe then thxbob.lib.recipe = {} end - - -function thxbob.lib.recipe.replace_ingredient(recipe, old, new) - local retval = false - if data.raw.recipe[recipe] and thxbob.lib.item.get_type(new) then - - local amount = 0 - if data.raw.recipe[recipe].ingredients then - for i, ingredient in pairs(data.raw.recipe[recipe].ingredients) do - local item = thxbob.lib.item.basic_item(ingredient) - if item.name == old then - amount = item.amount + amount - end - end - if amount > 0 then - if thxbob.lib.item.get_type(old) == "fluid" and thxbob.lib.item.get_type(new) == "item" then - amount = math.ceil(amount / 10) - end - if thxbob.lib.item.get_type(old) == "item" and thxbob.lib.item.get_type(new) == "fluid" then - amount = amount * 10 - end - thxbob.lib.recipe.remove_ingredient(recipe, old) - thxbob.lib.recipe.add_ingredient(recipe, {new, amount}) - return true - else - return false - end - end - else - if not data.raw.recipe[recipe] then - BioInd.writeDebug("Recipe %s does not exist.", {recipe}) - end - if not thxbob.lib.item.get_type(new) then - BioInd.writeDebug("Ingredient %s does not exist.", {new}) - end - end - - return retval +if not thxbob.lib.recipe then + thxbob.lib.recipe = {} end +local function quantity_convertion(amount, old, new) + if thxbob.lib.item.get_type(old) == "fluid" and thxbob.lib.item.get_type(new) == "item" then + amount = math.ceil(amount / 10) + end + if thxbob.lib.item.get_type(old) == "item" and thxbob.lib.item.get_type(new) == "fluid" then + amount = amount * 10 + end + return amount +end + +local function get_old_quantity(ingredients, old) + local amount = 0 + for i, ingredient in pairs(ingredients) do + local item = thxbob.lib.item.ingredient_simple(ingredient) + if item then + if item.name == old then + amount = item.amount + amount + end + else + log("recipe contains an invalid ingredient") + end + end + return amount +end + +local function replace_ingredient(ingredients, old, new, new_type) + local amount = get_old_quantity(ingredients, old) + if amount > 0 then + amount = quantity_convertion(amount, old, new) + thxbob.lib.item.remove(ingredients, old) + thxbob.lib.item.add(ingredients, { type = new_type, name = new, amount = amount }) + return true + end + return false +end + +function thxbob.lib.recipe.replace_ingredient(recipe, old, new) + if type(recipe) == "string" and type(old) == "string" and type(new) == "string" and data.raw.recipe[recipe] then + local retval = false + local new_type = thxbob.lib.item.get_type(new) + + if new_type and data.raw.recipe[recipe].ingredients then + new_type = new_type == "fluid" and "fluid" or "item" + if replace_ingredient(data.raw.recipe[recipe].ingredients, old, new, new_type) then + retval = true + end + end + + return retval + else + log(debug.traceback()) + thxbob.lib.error.recipe(recipe) + thxbob.lib.error.item(old) + thxbob.lib.error.item(new) + return false + end +end function thxbob.lib.recipe.replace_ingredient_in_all(old, new) - if thxbob.lib.item.get_basic_type(new) then + if type(old) == "string" and type(new) == "string" and thxbob.lib.item.get_type(new) then for i, recipe in pairs(data.raw.recipe) do thxbob.lib.recipe.replace_ingredient(recipe.name, old, new) end else - BioInd.writeDebug("Ingredient %s does not exist.", {new}) + log(debug.traceback()) + thxbob.lib.error.item(old) + thxbob.lib.error.item(new) end end - function thxbob.lib.recipe.remove_ingredient(recipe, item) - if data.raw.recipe[recipe] then + if type(recipe) == "string" and type(item) == "string" and data.raw.recipe[recipe] then if data.raw.recipe[recipe].ingredients then thxbob.lib.item.remove(data.raw.recipe[recipe].ingredients, item) end - else - BioInd.writeDebug("Recipe %s does not exist.", {recipe}) + log(debug.traceback()) + thxbob.lib.error.recipe(recipe) + thxbob.lib.error.item(item) end end - -function thxbob.lib.recipe.add_new_ingredient(recipe, item) - if data.raw.recipe[recipe] and thxbob.lib.item.get_type(thxbob.lib.item.basic_item(item).name) then +function thxbob.lib.recipe.clear_ingredients(recipe) + if type(recipe) == "string" and data.raw.recipe[recipe] then if data.raw.recipe[recipe].ingredients then - thxbob.lib.item.add_new(data.raw.recipe[recipe].ingredients, thxbob.lib.item.basic_item(item)) + data.raw.recipe[recipe].ingredients = {} end - else - if not data.raw.recipe[recipe] then - BioInd.writeDebug("Recipe %s does not exist.", {recipe}) - end - if not thxbob.lib.item.get_type(item) then - BioInd.writeDebug("Ingredient %s does not exist.", {thxbob.lib.item.basic_item(item).name}) - end + log(debug.traceback()) + thxbob.lib.error.recipe(recipe) end end -function thxbob.lib.recipe.add_ingredient(recipe, item) - if data.raw.recipe[recipe] and thxbob.lib.item.get_type(thxbob.lib.item.basic_item(item).name) then +function thxbob.lib.recipe.add_new_ingredient(recipe, item_in) + local item = thxbob.lib.item.ingredient(item_in) + if + type(recipe) == "string" + and data.raw.recipe[recipe] + and item + and type(item) == "table" + and thxbob.lib.item.get_type(item.name) + then if data.raw.recipe[recipe].ingredients then - thxbob.lib.item.add(data.raw.recipe[recipe].ingredients, thxbob.lib.item.basic_item(item)) + thxbob.lib.item.add_new(data.raw.recipe[recipe].ingredients, item) end - else - if not data.raw.recipe[recipe] then - BioInd.writeDebug("Recipe %s does not exist.", {recipe}) - end - if not thxbob.lib.item.get_basic_type(thxbob.lib.item.basic_item(item).name) then - BioInd.writeDebug("Ingredient %s does not exist.", {thxbob.lib.item.basic_item(item).name}) + if not (type(recipe) == "string" and data.raw.recipe[recipe]) then + log(debug.traceback()) + thxbob.lib.error.recipe(recipe) end end end -function thxbob.lib.recipe.set_ingredient(recipe, item) - if data.raw.recipe[recipe] and thxbob.lib.item.get_type(thxbob.lib.item.basic_item(item).name) then +function thxbob.lib.recipe.add_ingredient(recipe, item_in) + local item = thxbob.lib.item.ingredient(item_in) + if + type(recipe) == "string" + and data.raw.recipe[recipe] + and item + and type(item) == "table" + and thxbob.lib.item.get_type(item.name) + then if data.raw.recipe[recipe].ingredients then - thxbob.lib.item.set(data.raw.recipe[recipe].ingredients, thxbob.lib.item.basic_item(item)) + thxbob.lib.item.add(data.raw.recipe[recipe].ingredients, item) end - else - if not data.raw.recipe[recipe] then - BioInd.writeDebug("Recipe %s does not exist.", {recipe}) - end - if not thxbob.lib.item.get_basic_type(thxbob.lib.item.basic_item(item).name) then - BioInd.writeDebug("Ingredient %s does not exist.", {thxbob.lib.item.basic_item(item).name}) + if not (type(recipe) == "string" and data.raw.recipe[recipe]) then + log(debug.traceback()) + thxbob.lib.error.recipe(recipe) end end end +function thxbob.lib.recipe.add_ingredients(recipe, ingredients) + if type(recipe) == "string" and data.raw.recipe[recipe] and type(ingredients) == "table" then + for i, ingredient in pairs(ingredients) do + thxbob.lib.recipe.add_ingredient(recipe, ingredient) + end + else + log(debug.traceback()) + thxbob.lib.error.recipe(recipe) + end +end -function thxbob.lib.recipe.add_result(recipe, item) - if data.raw.recipe[recipe] and thxbob.lib.item.get_type(thxbob.lib.item.basic_item(item).name) then - if data.raw.recipe[recipe].result or data.raw.recipe[recipe].results then - thxbob.lib.result_check(data.raw.recipe[recipe]) +function thxbob.lib.recipe.set_ingredient(recipe, item_in) + local item = thxbob.lib.item.ingredient(item_in) + if + type(recipe) == "string" + and data.raw.recipe[recipe] + and item + and type(item) == "table" + and thxbob.lib.item.get_type(item.name) + then + if data.raw.recipe[recipe].ingredients then + thxbob.lib.item.set(data.raw.recipe[recipe].ingredients, item) + end + else + if not (type(recipe) == "string" and data.raw.recipe[recipe]) then + log(debug.traceback()) + thxbob.lib.error.recipe(recipe) + end + end +end + +function thxbob.lib.recipe.set_ingredients(recipe, ingredients) + if type(recipe) == "string" and data.raw.recipe[recipe] and type(ingredients) == "table" then + thxbob.lib.recipe.clear_ingredients(recipe) + thxbob.lib.recipe.add_ingredients(recipe, ingredients) + else + log(debug.traceback()) + thxbob.lib.error.recipe(recipe) + end +end + +function thxbob.lib.recipe.add_result(recipe, item_in) + local item = thxbob.lib.item.result(item_in) + if + type(recipe) == "string" + and data.raw.recipe[recipe] + and item + and type(item) == "table" + and thxbob.lib.item.get_type(item.name) + then + if data.raw.recipe[recipe].results then thxbob.lib.item.add(data.raw.recipe[recipe].results, item) end - else - if not data.raw.recipe[recipe] then - BioInd.writeDebug("Recipe %s does not exist.", {recipe}) - end - if not thxbob.lib.item.get_basic_type(thxbob.lib.item.basic_item(item).name) then - BioInd.writeDebug("Item %s does not exist.", {thxbob.lib.item.basic_item(item).name}) + if not (type(recipe) == "string" and data.raw.recipe[recipe]) then + log(debug.traceback()) + thxbob.lib.error.recipe(recipe) end end end -function thxbob.lib.recipe.set_result(recipe, item) - if data.raw.recipe[recipe] and thxbob.lib.item.get_type(thxbob.lib.item.basic_item(item).name) then - if data.raw.recipe[recipe].result or data.raw.recipe[recipe].results then - thxbob.lib.result_check(data.raw.recipe[recipe]) +function thxbob.lib.recipe.set_result(recipe, item_in) + local item = thxbob.lib.item.result(item_in) + if + type(recipe) == "string" + and data.raw.recipe[recipe] + and item + and type(item) == "table" + and thxbob.lib.item.get_type(item.name) + then + if data.raw.recipe[recipe].results then thxbob.lib.item.set(data.raw.recipe[recipe].results, item) end - else - if not data.raw.recipe[recipe] then - BioInd.writeDebug("Recipe %s does not exist.", {recipe}) - end - if not thxbob.lib.item.get_basic_type(thxbob.lib.item.basic_item(item).name) then - BioInd.writeDebug("Item %s does not exist.", {thxbob.lib.item.basic_item(item).name}) + if not (type(recipe) == "string" and data.raw.recipe[recipe]) then + log(debug.traceback()) + thxbob.lib.error.recipe(recipe) end end end function thxbob.lib.recipe.remove_result(recipe, item) -local f_name = "remove_result" -BioInd.writeDebug("Entered function %s(%s, %s)", {f_name, recipe, item}) - if data.raw.recipe[recipe] then - if data.raw.recipe[recipe].result or data.raw.recipe[recipe].results then - thxbob.lib.result_check(data.raw.recipe[recipe]) + if type(recipe) == "string" and type(item) == "string" and data.raw.recipe[recipe] then + if data.raw.recipe[recipe].results then thxbob.lib.item.remove(data.raw.recipe[recipe].results, item) end - else - BioInd.writeDebug("Recipe %s does not exist.", {recipe}) + log(debug.traceback()) + thxbob.lib.error.recipe(recipe) + thxbob.lib.error.item(item) end -end \ No newline at end of file +end + +function thxbob.lib.recipe.enabled(recipe, bool) + if type(recipe) == "string" and type(bool) == "boolean" and data.raw.recipe[recipe] then + data.raw.recipe[recipe].enabled = bool or false + else + log(debug.traceback()) + thxbob.lib.error.recipe(recipe) + if not (type(bool) == "boolean") then + log("Variable Bool is missing or not of type Boolean") + end + end +end + +function thxbob.lib.recipe.hide(recipe) + if type(recipe) == "string" and data.raw.recipe[recipe] then + local prototype = data.raw.recipe[recipe] + prototype.hidden = true + prototype.enabled = false + else + log(debug.traceback()) + thxbob.lib.error.recipe(recipe) + end +end + +function thxbob.lib.recipe.set_energy_required(recipe, time) + if type(recipe) == "string" and type(time) == "number" and data.raw.recipe[recipe] then + data.raw.recipe[recipe].energy_required = time + else + log(debug.traceback()) + thxbob.lib.error.recipe(recipe) + if not (type(time) == "number") then + log("Variable Time is missing or not of type Number") + end + end +end + +local function duplicate_ingredient_check(recipe_name, ingredients) + local new_ingredients = {} + local items = {} + local rebuild = false + for i, ingredient in ipairs(ingredients) do + local item = thxbob.lib.item.ingredient(ingredient) + if item then -- duplicate value + if items[item.name] then + rebuild = true + log("Duplicate item " .. item.name .. " found on recipe " .. recipe_name .. ".") + else + items[item.name] = true + thxbob.lib.item.add(new_ingredients, ingredient) + end + else --invalid value + rebuild = true + log("Invalid item found on recipe " .. recipe_name .. ".") + end + end + if rebuild == true then + return new_ingredients + end +end + +local function duplicate_ingredient_check_full(recipe) + if type(recipe) == "string" and data.raw.recipe[recipe] then + if data.raw.recipe[recipe].ingredients then + local ingredients = duplicate_ingredient_check(recipe, data.raw.recipe[recipe].ingredients) + if ingredients then + data.raw.recipe[recipe].ingredients = ingredients + end + end + else + log(debug.traceback()) + thxbob.lib.error.recipe(recipe) + end +end + +function thxbob.lib.recipe.ingredients_cleanup() + log("Running recipe ingredients cleanup...") + for recipe_name, recipe in pairs(data.raw.recipe) do + duplicate_ingredient_check_full(recipe_name) + end +end + +function thxbob.lib.recipe.set_subgroup(recipe_name, subgroup) + if type(recipe_name) == "string" and type(subgroup) == "string" then + local recipe = data.raw.recipe[recipe_name] + if recipe then + recipe.subgroup = subgroup + end + else + log(debug.traceback()) + thxbob.lib.error.recipe(recipe_name) + end +end + +function thxbob.lib.recipe.set_category(recipe_name, category) + if type(recipe_name) == "string" and type(category) == "string" then + local recipe = data.raw.recipe[recipe_name] + if recipe then + recipe.category = category + end + else + log(debug.traceback()) + thxbob.lib.error.recipe(recipe_name) + end +end + +function thxbob.lib.recipe.allow_productivity(recipe_name) + if type(recipe_name) == "string" then + local recipe = data.raw.recipe[recipe_name] + if recipe then + recipe.allow_productivity = true + end + else + log(debug.traceback()) + thxbob.lib.error.recipe(recipe_name) + end +end + +function thxbob.lib.recipe.disallow_productivity(recipe_name) + if type(recipe_name) == "string" then + local recipe = data.raw.recipe[recipe_name] + if recipe then + recipe.allow_productivity = false + end + else + log(debug.traceback()) + thxbob.lib.error.recipe(recipe_name) + end +end + +function thxbob.lib.recipe.add_additional_category(recipe_name, category_name) + local recipe = data.raw.recipe[recipe_name] + local category = data.raw["recipe-category"][category_name] + if recipe and category then + recipe.additional_categories = recipe.additional_categories or {} + thxbob.lib.safe_insert(recipe.additional_categories, category_name) + end +end + +if mods["quality"] then + function thxbob.lib.recipe.update_recycling_recipe_icon(recipe_name, icon_name, size) + --Does not handle multiple icons + local target_recipe = data.raw.recipe[recipe_name] + local image_size = size or 64 + if type(icon_name) == "string" then + if target_recipe then + target_recipe.icons[2].icon = icon_name + target_recipe.icons[2].icon_size = image_size + target_recipe.icons[2].scale = 0.4 / (image_size / 64) + else + log(debug.traceback()) + log("Recycling recipe " .. recipe_name .. " not found") + end + else + log(debug.traceback()) + log("Invalid icon input") + end + end + + function thxbob.lib.recipe.update_recycling_recipe_single(recipe_name, replace_icon) + --Requires that the target recycling recipe's prefix is the same as the source used for recipe_name + if type(recipe_name) == "string" then + local target_recipe_name = recipe_name .. "-recycling" + local source_recipe = data.raw.recipe[recipe_name] + local target_recipe = data.raw.recipe[target_recipe_name] + if source_recipe then + if target_recipe then + local new_time = source_recipe.energy_required or 0.5 + target_recipe.energy_required = new_time / 16 + target_recipe.results = {} + local source_output_amount = 1 + for i, source_results in pairs(source_recipe.results) do + if source_results.name == recipe_name then + source_output_amount = source_results.amount + end + end + for i, outputs in pairs(source_recipe.ingredients) do + if source_recipe.ingredients[i].type == "item" then + table.insert(target_recipe.results, { + type = "item", + name = source_recipe.ingredients[i].name, + amount = source_recipe.ingredients[i].amount / source_output_amount / 4, + extra_count_fraction = source_recipe.ingredients[i].amount / source_output_amount % 4 / 4, + }) + end + end + + --Tries to find replacement icon if item of same name exists. If not, icon replacement will have do be done manually if desired. + if replace_icon == true then + local item_type = thxbob.lib.item.get_type(recipe_name) + local recipe_icon = target_recipe.icons[2].icon + local recipe_icon_size = target_recipe.icons[2].icon_size or 64 + if item_type and data.raw[item_type][recipe_name] then + if data.raw[item_type][recipe_name].icon then + recipe_icon = data.raw[item_type][recipe_name].icon + recipe_icon_size = data.raw[item_type][recipe_name].icon_size or 64 + thxbob.lib.recipe.update_recycling_recipe_icon(target_recipe_name, recipe_icon, recipe_icon_size) + elseif data.raw[item_type][recipe_name].icons then + target_recipe.icons = { { icon = "__quality__/graphics/icons/recycling.png" } } + for i, icon_replacement in pairs(data.raw[item_type][recipe_name].icons) do + local image_size = icon_replacement.icon_size or 64 + local image_scale = icon_replacement.scale or 1 + table.insert(target_recipe.icons, { + icon = icon_replacement.icon, + icon_size = image_size, + scale = 0.4 * image_scale / (image_size / 64), + shift = util.mul_shift(icon_replacement.shift, 0.8), + tint = icon_replacement.tint, + }) + end + table.insert(target_recipe.icons, { icon = "__quality__/graphics/icons/recycling-top.png" }) + end + end + end + else + log(debug.traceback()) + log("Recycling recipe " .. target_recipe_name .. " not found") + end + else + log(debug.traceback()) + thxbob.lib.error.recipe(recipe_name) + end + else + log(debug.traceback()) + thxbob.lib.error.recipe(recipe_name) + end + end + + function thxbob.lib.recipe.update_recycling_recipe(recipe_name) + if type(recipe_name) == "string" then + thxbob.lib.recipe.update_recycling_recipe_single(recipe_name, true) + end + if type(recipe_name) == "table" then + for i, single_recipe in pairs(recipe_name) do + thxbob.lib.recipe.update_recycling_recipe_single(single_recipe, true) + end + end + end + + function thxbob.lib.recipe.update_recycling_recipe_from_recipe(recycling_recipe, desired_recipe, replace_icon) + if + type(recycling_recipe) == "string" + and data.raw.recipe[recycling_recipe] + and string.sub(data.raw.recipe[recycling_recipe].name, -10) == "-recycling" + then + if type(desired_recipe) == "string" and data.raw.recipe[desired_recipe] then + local item_name = string.sub(recycling_recipe, 1, -11) + local target_recipe = data.raw.recipe[recycling_recipe] + local source_recipe = data.raw.recipe[desired_recipe] + local new_time = source_recipe.energy_required or 0.5 + target_recipe.energy_required = new_time / 16 + target_recipe.results = {} + local source_output_amount = 1 + for i, source_results in pairs(source_recipe.results) do + if source_results.name == item_name then + source_output_amount = source_results.amount + end + end + for i, outputs in pairs(source_recipe.ingredients) do + if source_recipe.ingredients[i].type == "item" then + table.insert(target_recipe.results, { + type = "item", + name = source_recipe.ingredients[i].name, + amount = source_recipe.ingredients[i].amount / source_output_amount / 4, + extra_count_fraction = source_recipe.ingredients[i].amount / source_output_amount % 4 / 4, + }) + end + end + + if replace_icon == true then + local item_type = thxbob.lib.item.get_type(item_name) + local recipe_icon = target_recipe.icons[2].icon + local recipe_icon_size = target_recipe.icons[2].icon_size or 64 + if item_type and data.raw[item_type][item_name] then + if data.raw[item_type][item_name].icon then + recipe_icon = data.raw[item_type][item_name].icon + recipe_icon_size = data.raw[item_type][item_name].icon_size or 64 + thxbob.lib.recipe.update_recycling_recipe_icon(recycling_recipe, recipe_icon, recipe_icon_size) + elseif data.raw[item_type][item_name].icons then + target_recipe.icons = { { icon = "__quality__/graphics/icons/recycling.png" } } + for i, icon_replacement in pairs(data.raw[item_type][item_name].icons) do + local image_size = icon_replacement.icon_size or 64 + local image_scale = icon_replacement.scale or 1 + table.insert(target_recipe.icons, { + icon = icon_replacement.icon, + icon_size = image_size, + scale = 0.4 * image_scale / (image_size / 64), + shift = util.mul_shift(icon_replacement.shift, 0.8), + tint = icon_replacement.tint, + }) + end + table.insert(target_recipe.icons, { icon = "__quality__/graphics/icons/recycling-top.png" }) + end + end + end + else + log(debug.traceback()) + thxbob.lib.error.recipe(desired_recipe) + end + else + log(debug.traceback()) + thxbob.lib.error.recipe(recycling_recipe) + end + end +else + function thxbob.lib.recipe.update_recycling_recipe_icon() + log(debug.traceback()) + log("Improper function call. Cannot update recycling without Quality mod.") + end + + function thxbob.lib.recipe.update_recycling_recipe_single() + log(debug.traceback()) + log("Improper function call. Cannot update recycling without Quality mod.") + end + + function thxbob.lib.recipe.update_recycling_recipe() + log(debug.traceback()) + log("Improper function call. Cannot update recycling without Quality mod.") + end + + function thxbob.lib.recipe.update_recycling_recipe_to_self_recipe() + log(debug.traceback()) + log("Improper function call. Cannot update recycling without Quality mod.") + end + + function thxbob.lib.recipe.update_recycling_recipe_from_recipe() + log(debug.traceback()) + log("Improper function call. Cannot update recycling without Quality mod.") + end +end diff --git a/Bio_Industries_2/libs/technology-functions.lua b/Bio_Industries_2/libs/technology-functions.lua index e3e3a15..1534cf1 100644 --- a/Bio_Industries_2/libs/technology-functions.lua +++ b/Bio_Industries_2/libs/technology-functions.lua @@ -1,173 +1,419 @@ local BioInd = require('common')('Bio_Industries_2') -if not thxbob.lib.tech then thxbob.lib.tech = {} end +if not thxbob.lib.tech then + thxbob.lib.tech = {} +end - -function thxbob.lib.tech.replace_science_pack(technology, old, new) - if data.raw.technology[technology] and data.raw.tool[new] then - local doit = false - local amount = 0 - for i, ingredient in pairs(data.raw.technology[technology].unit.ingredients) do - if ingredient[1] == old then - doit = true - amount = ingredient[2] + amount - end - if ingredient.name == old then - doit = true - amount = ingredient.amount + amount +local function add_new_science_pack(technology, pack, amount) + if technology.unit and technology.unit.ingredients then + local addit = true + for i, ingredient in pairs(technology.unit.ingredients) do + if ingredient[1] == pack then + addit = false end end - if doit then - thxbob.lib.tech.remove_science_pack(technology, old) - thxbob.lib.tech.add_science_pack(technology, new, amount) - end - else - if not data.raw.technology[technology] then - BioInd.writeDebug("Technology %s does not exist.", {technology}) - end - if not data.raw.tool[new] then - BioInd.writeDebug("Science pack %s does not exist.", {new}) + if addit then + table.insert(technology.unit.ingredients, { pack, amount }) end end end -function thxbob.lib.tech.add_new_science_pack(technology, pack, amount) - if data.raw.technology[technology] and data.raw.tool[pack] then +local function add_science_pack(technology, pack, amount) + if technology.unit and technology.unit.ingredients then local addit = true - for i, ingredient in pairs(data.raw.technology[technology].unit.ingredients) do - if ingredient[1] == pack or ingredient.name == pack then addit = false end - end - if addit then table.insert(data.raw.technology[technology].unit.ingredients, {pack, amount}) end - else - if not data.raw.technology[technology] then - BioInd.writeDebug("Technology %s does not exist.", {technology}) - end - if not data.raw.tool[pack] then - BioInd.writeDebug("Science pack %s does not exist.", {pack}) - end - end -end - -function thxbob.lib.tech.add_science_pack(technology, pack, amount) - if data.raw.technology[technology] and data.raw.tool[pack] then - local addit = true - for i, ingredient in pairs(data.raw.technology[technology].unit.ingredients) do + for i, ingredient in pairs(technology.unit.ingredients) do if ingredient[1] == pack then addit = false ingredient[2] = ingredient[2] + amount end - if ingredient.name == pack then - addit = false - ingredient.amount = ingredient.amount + amount - end end if addit then - table.insert(data.raw.technology[technology].unit.ingredients, {pack, amount}) + table.insert(technology.unit.ingredients, { pack, amount }) + end + end +end + +local function remove_science_pack(technology, pack) + if technology.unit and technology.unit.ingredients then + for i, ingredient in pairs(technology.unit.ingredients) do + if ingredient[1] == pack then + table.remove(technology.unit.ingredients, i) + end + end + end +end + +local function replace_science_pack(technology, old, new) + if technology.unit and technology.unit.ingredients then + local doit = false + local amount = 0 + for i, ingredient in pairs(technology.unit.ingredients) do + if ingredient[1] == old then + doit = true + amount = ingredient[2] + amount + end + end + if doit then + remove_science_pack(technology, old) + add_science_pack(technology, new, amount) + end + end +end + +function thxbob.lib.tech.replace_science_pack(technology, old, new) + if + type(technology) == "string" + and type(old) == "string" + and type(new) == "string" + and data.raw.technology[technology] + -- data.raw.tool[old] and + and data.raw.tool[new] + then + if data.raw.technology[technology].unit then + replace_science_pack(data.raw.technology[technology], old, new) end else - if not data.raw.technology[technology] then - BioInd.writeDebug("Technology " .. tostring(technology) .. " does not exist.") + log(debug.traceback()) + thxbob.lib.error.technology(technology) + thxbob.lib.error.item_of_type(old, "tool", "Old science pack") + thxbob.lib.error.item_of_type(new, "tool", "New science pack") + end +end + +function thxbob.lib.tech.add_new_science_pack(technology, pack, amount) + if + type(technology) == "string" + and type(pack) == "string" + and type(amount) == "number" + and data.raw.technology[technology] + and data.raw.tool[pack] + then + if data.raw.technology[technology].unit then + add_new_science_pack(data.raw.technology[technology], pack, amount) end - if not data.raw.tool[pack] then - BioInd.writeDebug("Science pack %s does not exist.", {pack}) + else + log(debug.traceback()) + thxbob.lib.error.technology(technology) + thxbob.lib.error.item_of_type(pack, "tool", "Science pack") + end +end + +function thxbob.lib.tech.add_science_pack(technology, pack, amount) + if + type(technology) == "string" + and type(pack) == "string" + and type(amount) == "number" + and data.raw.technology[technology] + and data.raw.tool[pack] + then + if data.raw.technology[technology].unit then + add_science_pack(data.raw.technology[technology], pack, amount) end + else + log(debug.traceback()) + thxbob.lib.error.technology(technology) + thxbob.lib.error.item_of_type(pack, "tool", "Science pack") + end +end + +function thxbob.lib.tech.add_science_packs(technology, science_packs) + if type(technology) == "string" and type(science_packs) == "table" then + for i, science_pack in pairs(science_packs) do + if + type(science_pack) == "table" + and type(science_pack[1]) == "string" + and data.raw.tool[science_pack[1]] + and type(science_pack[2]) == "number" + then + thxbob.lib.tech.add_science_pack(technology, science_pack[1], science_pack[2]) + end + end + else + log(debug.traceback()) + thxbob.lib.error.technology(technology) end end function thxbob.lib.tech.remove_science_pack(technology, pack) - if data.raw.technology[technology] then - for i, ingredient in pairs(data.raw.technology[technology].unit.ingredients) do - if ingredient[1] == pack or ingredient.name == pack then - table.remove(data.raw.technology[technology].unit.ingredients, i) - end + if type(technology) == "string" and type(pack) == "string" and data.raw.technology[technology] then + if data.raw.technology[technology].unit then + remove_science_pack(data.raw.technology[technology], pack) end else - BioInd.writeDebug("Technology %s does not exist.", {technology}) + log(debug.traceback()) + thxbob.lib.error.technology(technology) end end +function thxbob.lib.tech.clear_science_packs(technology) + if type(technology) == "string" and data.raw.technology[technology] then + if data.raw.technology[technology].unit then + data.raw.technology[technology].unit.ingredients = {} + end + else + log(debug.traceback()) + thxbob.lib.error.technology(technology) + end +end + +function thxbob.lib.tech.set_science_packs(technology, science_packs) + if type(technology) == "string" and data.raw.technology[technology] and type(science_packs) == "table" then + thxbob.lib.tech.clear_science_packs(technology) + thxbob.lib.tech.add_science_packs(technology, science_packs) + else + log(debug.traceback()) + thxbob.lib.error.technology(technology) + end +end + +function thxbob.lib.tech.set_science_pack_count(technology, count) + if type(technology) == "string" and data.raw.technology[technology] then + local prototype = data.raw.technology[technology] + if prototype.unit then + prototype.unit.count = count + end + else + log(debug.traceback()) + thxbob.lib.error.technology(technology) + end +end + +local function has_recipe_unlock(technology, recipe) + if technology.effects then + for i, effect in pairs(technology.effects) do + if effect.type == "unlock-recipe" and effect.recipe == recipe then + return true + end + end + end + return false +end + +local function add_recipe_unlock(technology, recipe) + local addit = true + if not technology.effects then + technology.effects = {} + end + for i, effect in pairs(technology.effects) do + if effect.type == "unlock-recipe" and effect.recipe == recipe then + addit = false + end + end + if addit then + table.insert(technology.effects, { type = "unlock-recipe", recipe = recipe }) + end +end + +local function remove_recipe_unlock(technology, recipe) + if technology.effects then + for i, effect in pairs(technology.effects) do + if effect.type == "unlock-recipe" and effect.recipe == recipe then + table.remove(technology.effects, i) + end + end + end +end + +function thxbob.lib.tech.has_recipe_unlock(technology, recipe) + if + type(technology) == "string" + and type(recipe) == "string" + and data.raw.technology[technology] + and data.raw.recipe[recipe] + then + local hasit = false + hasit = has_recipe_unlock(data.raw.technology[technology], recipe) + + return hasit + else + log(debug.traceback()) + thxbob.lib.error.technology(technology) + thxbob.lib.error.recipe(recipe) + return false + end +end function thxbob.lib.tech.add_recipe_unlock(technology, recipe) - if data.raw.technology[technology] and data.raw.recipe[recipe] then - local addit = true - if not data.raw.technology[technology].effects then - data.raw.technology[technology].effects = {} - end - for i, effect in pairs(data.raw.technology[technology].effects) do - if effect.type == "unlock-recipe" and effect.recipe == recipe then addit = false end - end - if addit then table.insert(data.raw.technology[technology].effects, {type = "unlock-recipe", recipe = recipe}) end + if + type(technology) == "string" + and type(recipe) == "string" + and data.raw.technology[technology] + and data.raw.recipe[recipe] + then + add_recipe_unlock(data.raw.technology[technology], recipe) else - if not data.raw.technology[technology] then - BioInd.writeDebug("Technology %s does not exist.", {technology}) - end - if not data.raw.recipe[recipe] then - BioInd.writeDebug("Recipe %s does not exist.", {recipe}) - end + log(debug.traceback()) + thxbob.lib.error.technology(technology) + thxbob.lib.error.recipe(recipe) end end function thxbob.lib.tech.remove_recipe_unlock(technology, recipe) - if data.raw.technology[technology] and data.raw.technology[technology].effects then - for i, effect in pairs(data.raw.technology[technology].effects) do - if effect.type == "unlock-recipe" and effect.recipe == recipe then - table.remove(data.raw.technology[technology].effects, i) + if + type(technology) == "string" + and type(recipe) == "string" + and data.raw.technology[technology] + -- data.raw.recipe[recipe] --don't check to see if something we're removing exists. + then + remove_recipe_unlock(data.raw.technology[technology], recipe) + else + log(debug.traceback()) + thxbob.lib.error.technology(technology) + thxbob.lib.error.recipe(recipe) + end +end + +local function add_prerequisite(technology, prerequisite) + local addit = true + if technology.prerequisites then + for i, check in ipairs(technology.prerequisites) do + if check == prerequisite then + addit = false end end else - if not data.raw.technology[technology] then - BioInd.writeDebug("Technology %s does not exist.", {technology}) + technology.prerequisites = {} + end + if addit then + table.insert(technology.prerequisites, prerequisite) + end +end + +local function remove_prerequisite(technology, prerequisite) + if technology.prerequisites then + for i, check in ipairs(technology.prerequisites) do + if check == prerequisite then + table.remove(technology.prerequisites, i) + end + end + end +end + +local function replace_prerequisite(technology, old, new) + if technology.prerequisites then + for i, prerequisite in ipairs(technology.prerequisites) do + if prerequisite == old then + remove_prerequisite(technology, old) + add_prerequisite(technology, new) + end end end end function thxbob.lib.tech.replace_prerequisite(technology, old, new) - if data.raw.technology[technology] and data.raw.technology[new] then - for i, prerequisite in ipairs(data.raw.technology[technology].prerequisites) do - if prerequisite == old then - thxbob.lib.tech.remove_prerequisite(technology, old) - thxbob.lib.tech.add_prerequisite(technology, new) - end - end + if + type(technology) == "string" + and type(old) == "string" + and type(new) == "string" + and data.raw.technology[technology] + -- data.raw.technology[old] and + and data.raw.technology[new] + then + replace_prerequisite(data.raw.technology[technology], old, new) else - if not data.raw.technology[technology] then - BioInd.writeDebug("Technology %s does not exist.", {technology}) - end - if not data.raw.technology[new] then - BioInd.writeDebug("Technology %s does not exist.", {new}) - end + log(debug.traceback()) + thxbob.lib.error.technology(technology) + thxbob.lib.error.technology(old, "Old prerequisite", "Old prerequisite technology") + thxbob.lib.error.technology(new, "New prerequisite", "New prerequisite technology") end end function thxbob.lib.tech.add_prerequisite(technology, prerequisite) - if data.raw.technology[technology] and data.raw.technology[prerequisite] then - local addit = true - if data.raw.technology[technology].prerequisites then - for i, check in ipairs(data.raw.technology[technology].prerequisites) do - if check == prerequisite then addit = false end - end - else - data.raw.technology[technology].prerequisites = {} - end - if addit then table.insert(data.raw.technology[technology].prerequisites, prerequisite) end + if + type(technology) == "string" + and type(prerequisite) == "string" + and data.raw.technology[technology] + and data.raw.technology[prerequisite] + then + add_prerequisite(data.raw.technology[technology], prerequisite) else - if not data.raw.technology[technology] then - BioInd.writeDebug("Technology %s does not exist.", {technology}) - end - if not data.raw.technology[prerequisite] then - BioInd.writeDebug("Technology %s does not exist.", {prerequisite}) - end + log(debug.traceback()) + thxbob.lib.error.technology(technology) + thxbob.lib.error.technology(prerequisite, "Prerequisite", "Prerequisite technology") end end function thxbob.lib.tech.remove_prerequisite(technology, prerequisite) - if data.raw.technology[technology] then - for i, check in ipairs(data.raw.technology[technology].prerequisites) do - if check == prerequisite then - table.remove(data.raw.technology[technology].prerequisites, i) + if + type(technology) == "string" + and type(prerequisite) == "string" + and data.raw.technology[technology] + -- data.raw.technology[prerequisite] + then + remove_prerequisite(data.raw.technology[technology], prerequisite) + else + log(debug.traceback()) + thxbob.lib.error.technology(technology) + thxbob.lib.error.technology(prerequisite, "Prerequisite", "Prerequisite technology") + end +end + +function thxbob.lib.tech.hide(technology_name) + if type(technology_name) == "string" and data.raw.technology[technology_name] then + local technology = data.raw.technology[technology_name] + technology.hidden = true + technology.enabled = false + else + log(debug.traceback()) + thxbob.lib.error.technology(technology_name) + end +end + +function thxbob.lib.tech.ignore_tech_cost_multiplier(technology_name, ignore) + if type(technology_name) == "string" and type(ignore) == "boolean" then + local technology = data.raw.technology[technology_name] + if technology then + technology.ignore_tech_cost_multiplier = ignore + end + else + log(debug.traceback()) + thxbob.lib.error.technology(technology_name) + end +end + +function thxbob.lib.tech.technology_icon_constant(technology_icon, constant_icon, x, y) + local scale = 0.5 + local xshift = x or 64 + local yshift = y or 64 + if type(technology_icon) == "table" and technology_icon.icon and technology_icon.icon_size then + local icons = { + technology_icon, + { + icon = constant_icon, + icon_size = 128, + scale = scale, + shift = { xshift * scale, yshift * scale }, + }, + } + return icons + else + log(debug.traceback()) + log(technology_icon .. " not given in required table format") + end +end + +function thxbob.lib.tech.technology_line_icon_constant(technology_line, first, last, technology_icon, constant_icon) + local scale = 0.5 + if type(technology_icon) == "table" and technology_icon.icon and technology_icon.icon_size then + for i = first, last do + local tech_name = technology_line .. "-" .. i + if data.raw.technology[tech_name] then + data.raw.technology[tech_name].icons = { + technology_icon, + { + icon = constant_icon, + icon_size = 128, + scale = scale, + shift = { 64 * scale, 64 * scale }, + }, + } + else + log(debug.traceback()) + thxbob.lib.error.technology(tech_name) end end else - BioInd.writeDebug("Technology %s does not exist.", {technology}) + log(debug.traceback()) + log(technology_icon .. " not given in required table format") end end diff --git a/Bio_Industries_2/libs/trees-and-terrains.lua b/Bio_Industries_2/libs/trees-and-terrains.lua index 547dc89..d032fda 100644 --- a/Bio_Industries_2/libs/trees-and-terrains.lua +++ b/Bio_Industries_2/libs/trees-and-terrains.lua @@ -1,20077 +1,20077 @@ - -local terrains = {} - - -terrains["vegetation-green-grass-2"] = { - name = "vegetation-green-grass-2", - ["tree-desert-h"] = { - tile_name = "vegetation-green-grass-2", - tree_name = "tree-desert-h", - weight = 2 - }, - ["tree-desert-i"] = { - tile_name = "vegetation-green-grass-2", - tree_name = "tree-desert-i", - weight = 3 - }, - ["tree-dryland-e"] = { - tile_name = "vegetation-green-grass-2", - tree_name = "tree-dryland-e", - weight = 206 - }, - ["tree-dryland-g"] = { - tile_name = "vegetation-green-grass-2", - tree_name = "tree-dryland-g", - weight = 52 - }, - ["tree-dryland-h"] = { - tile_name = "vegetation-green-grass-2", - tree_name = "tree-dryland-h", - weight = 113 - }, - ["tree-dryland-j"] = { - tile_name = "vegetation-green-grass-2", - tree_name = "tree-dryland-j", - weight = 43 - }, - ["tree-dryland-k"] = { - tile_name = "vegetation-green-grass-2", - tree_name = "tree-dryland-k", - weight = 596 - }, - ["tree-dryland-l"] = { - tile_name = "vegetation-green-grass-2", - tree_name = "tree-dryland-l", - weight = 1179 - }, - ["tree-dryland-m"] = { - tile_name = "vegetation-green-grass-2", - tree_name = "tree-dryland-m", - weight = 7 - }, - ["tree-grassland-b"] = { - tile_name = "vegetation-green-grass-2", - tree_name = "tree-grassland-b", - weight = 496 - }, - ["tree-grassland-c"] = { - tile_name = "vegetation-green-grass-2", - tree_name = "tree-grassland-c", - weight = 1702 - }, - ["tree-grassland-d"] = { - tile_name = "vegetation-green-grass-2", - tree_name = "tree-grassland-d", - weight = 170 - }, - ["tree-grassland-e"] = { - tile_name = "vegetation-green-grass-2", - tree_name = "tree-grassland-e", - weight = 114 - }, - ["tree-grassland-f"] = { - tile_name = "vegetation-green-grass-2", - tree_name = "tree-grassland-f", - weight = 728 - }, - ["tree-grassland-g"] = { - tile_name = "vegetation-green-grass-2", - tree_name = "tree-grassland-g", - weight = 128178 - }, - ["tree-grassland-h"] = { - tile_name = "vegetation-green-grass-2", - tree_name = "tree-grassland-h", - weight = 77174 - }, - ["tree-grassland-h2"] = { - tile_name = "vegetation-green-grass-2", - tree_name = "tree-grassland-h2", - weight = 461 - }, - ["tree-grassland-h3"] = { - tile_name = "vegetation-green-grass-2", - tree_name = "tree-grassland-h3", - weight = 115 - }, - ["tree-grassland-i"] = { - tile_name = "vegetation-green-grass-2", - tree_name = "tree-grassland-i", - weight = 2348 - }, - ["tree-grassland-k"] = { - tile_name = "vegetation-green-grass-2", - tree_name = "tree-grassland-k", - weight = 16418 - }, - ["tree-grassland-l"] = { - tile_name = "vegetation-green-grass-2", - tree_name = "tree-grassland-l", - weight = 87434 - }, - ["tree-grassland-m"] = { - tile_name = "vegetation-green-grass-2", - tree_name = "tree-grassland-m", - weight = 188 - }, - ["tree-grassland-n"] = { - tile_name = "vegetation-green-grass-2", - tree_name = "tree-grassland-n", - weight = 36938 - }, - ["tree-grassland-p"] = { - tile_name = "vegetation-green-grass-2", - tree_name = "tree-grassland-p", - weight = 611 - }, - ["tree-wetland-b"] = { - tile_name = "vegetation-green-grass-2", - tree_name = "tree-wetland-b", - weight = 1647 - }, - ["tree-wetland-c"] = { - tile_name = "vegetation-green-grass-2", - tree_name = "tree-wetland-c", - weight = 48 - }, - ["tree-wetland-d"] = { - tile_name = "vegetation-green-grass-2", - tree_name = "tree-wetland-d", - weight = 76729 - }, - ["tree-wetland-e"] = { - tile_name = "vegetation-green-grass-2", - tree_name = "tree-wetland-e", - weight = 218471 - }, - ["tree-wetland-f"] = { - tile_name = "vegetation-green-grass-2", - tree_name = "tree-wetland-f", - weight = 21 - }, - ["tree-wetland-g"] = { - tile_name = "vegetation-green-grass-2", - tree_name = "tree-wetland-g", - weight = 2618 - }, - ["tree-wetland-h"] = { - tile_name = "vegetation-green-grass-2", - tree_name = "tree-wetland-h", - weight = 1837 - }, - ["tree-wetland-i"] = { - tile_name = "vegetation-green-grass-2", - tree_name = "tree-wetland-i", - weight = 295 - }, - ["tree-wetland-j"] = { - tile_name = "vegetation-green-grass-2", - tree_name = "tree-wetland-j", - weight = 35231 - }, - ["tree-wetland-k"] = { - tile_name = "vegetation-green-grass-2", - tree_name = "tree-wetland-k", - weight = 82588 - }, - ["tree-wetland-l"] = { - tile_name = "vegetation-green-grass-2", - tree_name = "tree-wetland-l", - weight = 689 - }, - ["tree-wetland-m"] = { - tile_name = "vegetation-green-grass-2", - tree_name = "tree-wetland-m", - weight = 315 - }, - ["tree-wetland-n"] = { - tile_name = "vegetation-green-grass-2", - tree_name = "tree-wetland-n", - weight = 749 - }, - ["tree-wetland-o"] = { - tile_name = "vegetation-green-grass-2", - tree_name = "tree-wetland-o", - weight = 943 - } -} -terrains["vegetation-green-grass-4"] = { - name = "vegetation-green-grass-4", - ["tree-desert-f"] = { - tile_name = "vegetation-green-grass-4", - tree_name = "tree-desert-f", - weight = 3 - }, - ["tree-dryland-e"] = { - tile_name = "vegetation-green-grass-4", - tree_name = "tree-dryland-e", - weight = 158 - }, - ["tree-dryland-g"] = { - tile_name = "vegetation-green-grass-4", - tree_name = "tree-dryland-g", - weight = 2 - }, - ["tree-dryland-h"] = { - tile_name = "vegetation-green-grass-4", - tree_name = "tree-dryland-h", - weight = 30 - }, - ["tree-dryland-j"] = { - tile_name = "vegetation-green-grass-4", - tree_name = "tree-dryland-j", - weight = 8 - }, - ["tree-dryland-k"] = { - tile_name = "vegetation-green-grass-4", - tree_name = "tree-dryland-k", - weight = 86 - }, - ["tree-dryland-l"] = { - tile_name = "vegetation-green-grass-4", - tree_name = "tree-dryland-l", - weight = 197 - }, - ["tree-dryland-m"] = { - tile_name = "vegetation-green-grass-4", - tree_name = "tree-dryland-m", - weight = 7 - }, - ["tree-grassland-b"] = { - tile_name = "vegetation-green-grass-4", - tree_name = "tree-grassland-b", - weight = 164 - }, - ["tree-grassland-c"] = { - tile_name = "vegetation-green-grass-4", - tree_name = "tree-grassland-c", - weight = 497 - }, - ["tree-grassland-d"] = { - tile_name = "vegetation-green-grass-4", - tree_name = "tree-grassland-d", - weight = 48 - }, - ["tree-grassland-e"] = { - tile_name = "vegetation-green-grass-4", - tree_name = "tree-grassland-e", - weight = 25 - }, - ["tree-grassland-f"] = { - tile_name = "vegetation-green-grass-4", - tree_name = "tree-grassland-f", - weight = 260 - }, - ["tree-grassland-g"] = { - tile_name = "vegetation-green-grass-4", - tree_name = "tree-grassland-g", - weight = 42054 - }, - ["tree-grassland-h"] = { - tile_name = "vegetation-green-grass-4", - tree_name = "tree-grassland-h", - weight = 30744 - }, - ["tree-grassland-h2"] = { - tile_name = "vegetation-green-grass-4", - tree_name = "tree-grassland-h2", - weight = 117 - }, - ["tree-grassland-h3"] = { - tile_name = "vegetation-green-grass-4", - tree_name = "tree-grassland-h3", - weight = 38 - }, - ["tree-grassland-i"] = { - tile_name = "vegetation-green-grass-4", - tree_name = "tree-grassland-i", - weight = 606 - }, - ["tree-grassland-k"] = { - tile_name = "vegetation-green-grass-4", - tree_name = "tree-grassland-k", - weight = 2667 - }, - ["tree-grassland-l"] = { - tile_name = "vegetation-green-grass-4", - tree_name = "tree-grassland-l", - weight = 22365 - }, - ["tree-grassland-m"] = { - tile_name = "vegetation-green-grass-4", - tree_name = "tree-grassland-m", - weight = 26 - }, - ["tree-grassland-n"] = { - tile_name = "vegetation-green-grass-4", - tree_name = "tree-grassland-n", - weight = 10137 - }, - ["tree-grassland-p"] = { - tile_name = "vegetation-green-grass-4", - tree_name = "tree-grassland-p", - weight = 182 - }, - ["tree-wetland-b"] = { - tile_name = "vegetation-green-grass-4", - tree_name = "tree-wetland-b", - weight = 575 - }, - ["tree-wetland-c"] = { - tile_name = "vegetation-green-grass-4", - tree_name = "tree-wetland-c", - weight = 10 - }, - ["tree-wetland-d"] = { - tile_name = "vegetation-green-grass-4", - tree_name = "tree-wetland-d", - weight = 31558 - }, - ["tree-wetland-e"] = { - tile_name = "vegetation-green-grass-4", - tree_name = "tree-wetland-e", - weight = 57035 - }, - ["tree-wetland-f"] = { - tile_name = "vegetation-green-grass-4", - tree_name = "tree-wetland-f", - weight = 6 - }, - ["tree-wetland-g"] = { - tile_name = "vegetation-green-grass-4", - tree_name = "tree-wetland-g", - weight = 765 - }, - ["tree-wetland-h"] = { - tile_name = "vegetation-green-grass-4", - tree_name = "tree-wetland-h", - weight = 364 - }, - ["tree-wetland-i"] = { - tile_name = "vegetation-green-grass-4", - tree_name = "tree-wetland-i", - weight = 44 - }, - ["tree-wetland-j"] = { - tile_name = "vegetation-green-grass-4", - tree_name = "tree-wetland-j", - weight = 7926 - }, - ["tree-wetland-k"] = { - tile_name = "vegetation-green-grass-4", - tree_name = "tree-wetland-k", - weight = 29873 - }, - ["tree-wetland-l"] = { - tile_name = "vegetation-green-grass-4", - tree_name = "tree-wetland-l", - weight = 172 - }, - ["tree-wetland-m"] = { - tile_name = "vegetation-green-grass-4", - tree_name = "tree-wetland-m", - weight = 151 - }, - ["tree-wetland-n"] = { - tile_name = "vegetation-green-grass-4", - tree_name = "tree-wetland-n", - weight = 130 - }, - ["tree-wetland-o"] = { - tile_name = "vegetation-green-grass-4", - tree_name = "tree-wetland-o", - weight = 286 - } -} -terrains["vegetation-mauve-grass-2"] = { - name = "vegetation-mauve-grass-2", - ["tree-dryland-l"] = { - tile_name = "vegetation-mauve-grass-2", - tree_name = "tree-dryland-l", - weight = 115 - }, - ["tree-dryland-m"] = { - tile_name = "vegetation-mauve-grass-2", - tree_name = "tree-dryland-m", - weight = 334 - }, - ["tree-grassland-d"] = { - tile_name = "vegetation-mauve-grass-2", - tree_name = "tree-grassland-d", - weight = 311 - }, - ["tree-grassland-e"] = { - tile_name = "vegetation-mauve-grass-2", - tree_name = "tree-grassland-e", - weight = 40 - }, - ["tree-grassland-g"] = { - tile_name = "vegetation-mauve-grass-2", - tree_name = "tree-grassland-g", - weight = 43 - }, - ["tree-grassland-h"] = { - tile_name = "vegetation-mauve-grass-2", - tree_name = "tree-grassland-h", - weight = 491 - }, - ["tree-grassland-h2"] = { - tile_name = "vegetation-mauve-grass-2", - tree_name = "tree-grassland-h2", - weight = 111 - }, - ["tree-grassland-h3"] = { - tile_name = "vegetation-mauve-grass-2", - tree_name = "tree-grassland-h3", - weight = 289 - }, - ["tree-grassland-i"] = { - tile_name = "vegetation-mauve-grass-2", - tree_name = "tree-grassland-i", - weight = 6233 - }, - ["tree-grassland-k"] = { - tile_name = "vegetation-mauve-grass-2", - tree_name = "tree-grassland-k", - weight = 399 - }, - ["tree-grassland-l"] = { - tile_name = "vegetation-mauve-grass-2", - tree_name = "tree-grassland-l", - weight = 179 - }, - ["tree-grassland-m"] = { - tile_name = "vegetation-mauve-grass-2", - tree_name = "tree-grassland-m", - weight = 11537 - }, - ["tree-grassland-n"] = { - tile_name = "vegetation-mauve-grass-2", - tree_name = "tree-grassland-n", - weight = 56 - }, - ["tree-wetland-c"] = { - tile_name = "vegetation-mauve-grass-2", - tree_name = "tree-wetland-c", - weight = 256 - }, - ["tree-wetland-d"] = { - tile_name = "vegetation-mauve-grass-2", - tree_name = "tree-wetland-d", - weight = 59 - }, - ["tree-wetland-e"] = { - tile_name = "vegetation-mauve-grass-2", - tree_name = "tree-wetland-e", - weight = 3474 - }, - ["tree-wetland-f"] = { - tile_name = "vegetation-mauve-grass-2", - tree_name = "tree-wetland-f", - weight = 109 - }, - ["tree-wetland-h"] = { - tile_name = "vegetation-mauve-grass-2", - tree_name = "tree-wetland-h", - weight = 208 - }, - ["tree-wetland-i"] = { - tile_name = "vegetation-mauve-grass-2", - tree_name = "tree-wetland-i", - weight = 23 - }, - ["tree-wetland-j"] = { - tile_name = "vegetation-mauve-grass-2", - tree_name = "tree-wetland-j", - weight = 620 - }, - ["tree-wetland-k"] = { - tile_name = "vegetation-mauve-grass-2", - tree_name = "tree-wetland-k", - weight = 40240 - }, - ["tree-wetland-l"] = { - tile_name = "vegetation-mauve-grass-2", - tree_name = "tree-wetland-l", - weight = 16352 - }, - ["tree-wetland-m"] = { - tile_name = "vegetation-mauve-grass-2", - tree_name = "tree-wetland-m", - weight = 87 - }, - ["tree-wetland-o"] = { - tile_name = "vegetation-mauve-grass-2", - tree_name = "tree-wetland-o", - weight = 405 - } -} -terrains["vegetation-green-grass-1"] = { - name = "vegetation-green-grass-1", - ["tree-desert-f"] = { - tile_name = "vegetation-green-grass-1", - tree_name = "tree-desert-f", - weight = 2 - }, - ["tree-desert-h"] = { - tile_name = "vegetation-green-grass-1", - tree_name = "tree-desert-h", - weight = 2 - }, - ["tree-desert-i"] = { - tile_name = "vegetation-green-grass-1", - tree_name = "tree-desert-i", - weight = 2 - }, - ["tree-dryland-e"] = { - tile_name = "vegetation-green-grass-1", - tree_name = "tree-dryland-e", - weight = 99 - }, - ["tree-dryland-g"] = { - tile_name = "vegetation-green-grass-1", - tree_name = "tree-dryland-g", - weight = 8 - }, - ["tree-dryland-h"] = { - tile_name = "vegetation-green-grass-1", - tree_name = "tree-dryland-h", - weight = 130 - }, - ["tree-dryland-j"] = { - tile_name = "vegetation-green-grass-1", - tree_name = "tree-dryland-j", - weight = 63 - }, - ["tree-dryland-k"] = { - tile_name = "vegetation-green-grass-1", - tree_name = "tree-dryland-k", - weight = 817 - }, - ["tree-dryland-l"] = { - tile_name = "vegetation-green-grass-1", - tree_name = "tree-dryland-l", - weight = 1568 - }, - ["tree-dryland-m"] = { - tile_name = "vegetation-green-grass-1", - tree_name = "tree-dryland-m", - weight = 15 - }, - ["tree-grassland-b"] = { - tile_name = "vegetation-green-grass-1", - tree_name = "tree-grassland-b", - weight = 925 - }, - ["tree-grassland-c"] = { - tile_name = "vegetation-green-grass-1", - tree_name = "tree-grassland-c", - weight = 3050 - }, - ["tree-grassland-d"] = { - tile_name = "vegetation-green-grass-1", - tree_name = "tree-grassland-d", - weight = 329 - }, - ["tree-grassland-e"] = { - tile_name = "vegetation-green-grass-1", - tree_name = "tree-grassland-e", - weight = 256 - }, - ["tree-grassland-f"] = { - tile_name = "vegetation-green-grass-1", - tree_name = "tree-grassland-f", - weight = 1486 - }, - ["tree-grassland-g"] = { - tile_name = "vegetation-green-grass-1", - tree_name = "tree-grassland-g", - weight = 233551 - }, - ["tree-grassland-h"] = { - tile_name = "vegetation-green-grass-1", - tree_name = "tree-grassland-h", - weight = 157690 - }, - ["tree-grassland-h2"] = { - tile_name = "vegetation-green-grass-1", - tree_name = "tree-grassland-h2", - weight = 808 - }, - ["tree-grassland-h3"] = { - tile_name = "vegetation-green-grass-1", - tree_name = "tree-grassland-h3", - weight = 171 - }, - ["tree-grassland-i"] = { - tile_name = "vegetation-green-grass-1", - tree_name = "tree-grassland-i", - weight = 4758 - }, - ["tree-grassland-k"] = { - tile_name = "vegetation-green-grass-1", - tree_name = "tree-grassland-k", - weight = 28573 - }, - ["tree-grassland-l"] = { - tile_name = "vegetation-green-grass-1", - tree_name = "tree-grassland-l", - weight = 165778 - }, - ["tree-grassland-m"] = { - tile_name = "vegetation-green-grass-1", - tree_name = "tree-grassland-m", - weight = 155 - }, - ["tree-grassland-n"] = { - tile_name = "vegetation-green-grass-1", - tree_name = "tree-grassland-n", - weight = 55828 - }, - ["tree-grassland-p"] = { - tile_name = "vegetation-green-grass-1", - tree_name = "tree-grassland-p", - weight = 1232 - }, - ["tree-wetland-b"] = { - tile_name = "vegetation-green-grass-1", - tree_name = "tree-wetland-b", - weight = 2951 - }, - ["tree-wetland-c"] = { - tile_name = "vegetation-green-grass-1", - tree_name = "tree-wetland-c", - weight = 24 - }, - ["tree-wetland-d"] = { - tile_name = "vegetation-green-grass-1", - tree_name = "tree-wetland-d", - weight = 145682 - }, - ["tree-wetland-e"] = { - tile_name = "vegetation-green-grass-1", - tree_name = "tree-wetland-e", - weight = 384640 - }, - ["tree-wetland-f"] = { - tile_name = "vegetation-green-grass-1", - tree_name = "tree-wetland-f", - weight = 10 - }, - ["tree-wetland-g"] = { - tile_name = "vegetation-green-grass-1", - tree_name = "tree-wetland-g", - weight = 3712 - }, - ["tree-wetland-h"] = { - tile_name = "vegetation-green-grass-1", - tree_name = "tree-wetland-h", - weight = 2945 - }, - ["tree-wetland-i"] = { - tile_name = "vegetation-green-grass-1", - tree_name = "tree-wetland-i", - weight = 364 - }, - ["tree-wetland-j"] = { - tile_name = "vegetation-green-grass-1", - tree_name = "tree-wetland-j", - weight = 50003 - }, - ["tree-wetland-k"] = { - tile_name = "vegetation-green-grass-1", - tree_name = "tree-wetland-k", - weight = 131060 - }, - ["tree-wetland-l"] = { - tile_name = "vegetation-green-grass-1", - tree_name = "tree-wetland-l", - weight = 942 - }, - ["tree-wetland-m"] = { - tile_name = "vegetation-green-grass-1", - tree_name = "tree-wetland-m", - weight = 312 - }, - ["tree-wetland-n"] = { - tile_name = "vegetation-green-grass-1", - tree_name = "tree-wetland-n", - weight = 607 - }, - ["tree-wetland-o"] = { - tile_name = "vegetation-green-grass-1", - tree_name = "tree-wetland-o", - weight = 1114 - } -} -terrains["vegetation-purple-grass-1"] = { - name = "vegetation-purple-grass-1", - ["tree-desert-h"] = { - tile_name = "vegetation-purple-grass-1", - tree_name = "tree-desert-h", - weight = 2 - }, - ["tree-dryland-h"] = { - tile_name = "vegetation-purple-grass-1", - tree_name = "tree-dryland-h", - weight = 328 - }, - ["tree-dryland-i"] = { - tile_name = "vegetation-purple-grass-1", - tree_name = "tree-dryland-i", - weight = 3 - }, - ["tree-dryland-l"] = { - tile_name = "vegetation-purple-grass-1", - tree_name = "tree-dryland-l", - weight = 8 - }, - ["tree-dryland-m"] = { - tile_name = "vegetation-purple-grass-1", - tree_name = "tree-dryland-m", - weight = 34 - }, - ["tree-grassland-a"] = { - tile_name = "vegetation-purple-grass-1", - tree_name = "tree-grassland-a", - weight = 5 - }, - ["tree-grassland-c"] = { - tile_name = "vegetation-purple-grass-1", - tree_name = "tree-grassland-c", - weight = 17 - }, - ["tree-grassland-d"] = { - tile_name = "vegetation-purple-grass-1", - tree_name = "tree-grassland-d", - weight = 578 - }, - ["tree-grassland-e"] = { - tile_name = "vegetation-purple-grass-1", - tree_name = "tree-grassland-e", - weight = 511 - }, - ["tree-grassland-f"] = { - tile_name = "vegetation-purple-grass-1", - tree_name = "tree-grassland-f", - weight = 3 - }, - ["tree-grassland-g"] = { - tile_name = "vegetation-purple-grass-1", - tree_name = "tree-grassland-g", - weight = 215 - }, - ["tree-grassland-h"] = { - tile_name = "vegetation-purple-grass-1", - tree_name = "tree-grassland-h", - weight = 1115 - }, - ["tree-grassland-h2"] = { - tile_name = "vegetation-purple-grass-1", - tree_name = "tree-grassland-h2", - weight = 724 - }, - ["tree-grassland-h3"] = { - tile_name = "vegetation-purple-grass-1", - tree_name = "tree-grassland-h3", - weight = 2 - }, - ["tree-grassland-i"] = { - tile_name = "vegetation-purple-grass-1", - tree_name = "tree-grassland-i", - weight = 8020 - }, - ["tree-grassland-k"] = { - tile_name = "vegetation-purple-grass-1", - tree_name = "tree-grassland-k", - weight = 2 - }, - ["tree-grassland-l"] = { - tile_name = "vegetation-purple-grass-1", - tree_name = "tree-grassland-l", - weight = 3 - }, - ["tree-grassland-m"] = { - tile_name = "vegetation-purple-grass-1", - tree_name = "tree-grassland-m", - weight = 26 - }, - ["tree-wetland-c"] = { - tile_name = "vegetation-purple-grass-1", - tree_name = "tree-wetland-c", - weight = 18 - }, - ["tree-wetland-d"] = { - tile_name = "vegetation-purple-grass-1", - tree_name = "tree-wetland-d", - weight = 2 - }, - ["tree-wetland-e"] = { - tile_name = "vegetation-purple-grass-1", - tree_name = "tree-wetland-e", - weight = 2644 - }, - ["tree-wetland-f"] = { - tile_name = "vegetation-purple-grass-1", - tree_name = "tree-wetland-f", - weight = 10 - }, - ["tree-wetland-h"] = { - tile_name = "vegetation-purple-grass-1", - tree_name = "tree-wetland-h", - weight = 10 - }, - ["tree-wetland-k"] = { - tile_name = "vegetation-purple-grass-1", - tree_name = "tree-wetland-k", - weight = 52 - }, - ["tree-wetland-l"] = { - tile_name = "vegetation-purple-grass-1", - tree_name = "tree-wetland-l", - weight = 7 - }, - ["tree-wetland-o"] = { - tile_name = "vegetation-purple-grass-1", - tree_name = "tree-wetland-o", - weight = 5 - } -} -terrains["vegetation-mauve-grass-1"] = { - name = "vegetation-mauve-grass-1", - ["tree-dryland-h"] = { - tile_name = "vegetation-mauve-grass-1", - tree_name = "tree-dryland-h", - weight = 2 - }, - ["tree-dryland-l"] = { - tile_name = "vegetation-mauve-grass-1", - tree_name = "tree-dryland-l", - weight = 256 - }, - ["tree-dryland-m"] = { - tile_name = "vegetation-mauve-grass-1", - tree_name = "tree-dryland-m", - weight = 525 - }, - ["tree-dryland-o"] = { - tile_name = "vegetation-mauve-grass-1", - tree_name = "tree-dryland-o", - weight = 3 - }, - ["tree-grassland-c"] = { - tile_name = "vegetation-mauve-grass-1", - tree_name = "tree-grassland-c", - weight = 2 - }, - ["tree-grassland-d"] = { - tile_name = "vegetation-mauve-grass-1", - tree_name = "tree-grassland-d", - weight = 319 - }, - ["tree-grassland-e"] = { - tile_name = "vegetation-mauve-grass-1", - tree_name = "tree-grassland-e", - weight = 92 - }, - ["tree-grassland-g"] = { - tile_name = "vegetation-mauve-grass-1", - tree_name = "tree-grassland-g", - weight = 6 - }, - ["tree-grassland-h"] = { - tile_name = "vegetation-mauve-grass-1", - tree_name = "tree-grassland-h", - weight = 895 - }, - ["tree-grassland-h2"] = { - tile_name = "vegetation-mauve-grass-1", - tree_name = "tree-grassland-h2", - weight = 39 - }, - ["tree-grassland-h3"] = { - tile_name = "vegetation-mauve-grass-1", - tree_name = "tree-grassland-h3", - weight = 545 - }, - ["tree-grassland-i"] = { - tile_name = "vegetation-mauve-grass-1", - tree_name = "tree-grassland-i", - weight = 11278 - }, - ["tree-grassland-k"] = { - tile_name = "vegetation-mauve-grass-1", - tree_name = "tree-grassland-k", - weight = 499 - }, - ["tree-grassland-l"] = { - tile_name = "vegetation-mauve-grass-1", - tree_name = "tree-grassland-l", - weight = 188 - }, - ["tree-grassland-m"] = { - tile_name = "vegetation-mauve-grass-1", - tree_name = "tree-grassland-m", - weight = 17910 - }, - ["tree-grassland-n"] = { - tile_name = "vegetation-mauve-grass-1", - tree_name = "tree-grassland-n", - weight = 103 - }, - ["tree-wetland-c"] = { - tile_name = "vegetation-mauve-grass-1", - tree_name = "tree-wetland-c", - weight = 509 - }, - ["tree-wetland-d"] = { - tile_name = "vegetation-mauve-grass-1", - tree_name = "tree-wetland-d", - weight = 108 - }, - ["tree-wetland-e"] = { - tile_name = "vegetation-mauve-grass-1", - tree_name = "tree-wetland-e", - weight = 7703 - }, - ["tree-wetland-f"] = { - tile_name = "vegetation-mauve-grass-1", - tree_name = "tree-wetland-f", - weight = 245 - }, - ["tree-wetland-h"] = { - tile_name = "vegetation-mauve-grass-1", - tree_name = "tree-wetland-h", - weight = 394 - }, - ["tree-wetland-i"] = { - tile_name = "vegetation-mauve-grass-1", - tree_name = "tree-wetland-i", - weight = 71 - }, - ["tree-wetland-j"] = { - tile_name = "vegetation-mauve-grass-1", - tree_name = "tree-wetland-j", - weight = 447 - }, - ["tree-wetland-k"] = { - tile_name = "vegetation-mauve-grass-1", - tree_name = "tree-wetland-k", - weight = 68141 - }, - ["tree-wetland-l"] = { - tile_name = "vegetation-mauve-grass-1", - tree_name = "tree-wetland-l", - weight = 25595 - }, - ["tree-wetland-m"] = { - tile_name = "vegetation-mauve-grass-1", - tree_name = "tree-wetland-m", - weight = 115 - }, - ["tree-wetland-o"] = { - tile_name = "vegetation-mauve-grass-1", - tree_name = "tree-wetland-o", - weight = 729 - } -} -terrains["vegetation-green-grass-3"] = { - name = "vegetation-green-grass-3", - ["tree-desert-h"] = { - tile_name = "vegetation-green-grass-3", - tree_name = "tree-desert-h", - weight = 2 - }, - ["tree-dryland-e"] = { - tile_name = "vegetation-green-grass-3", - tree_name = "tree-dryland-e", - weight = 24 - }, - ["tree-dryland-g"] = { - tile_name = "vegetation-green-grass-3", - tree_name = "tree-dryland-g", - weight = 5 - }, - ["tree-dryland-h"] = { - tile_name = "vegetation-green-grass-3", - tree_name = "tree-dryland-h", - weight = 37 - }, - ["tree-dryland-j"] = { - tile_name = "vegetation-green-grass-3", - tree_name = "tree-dryland-j", - weight = 37 - }, - ["tree-dryland-k"] = { - tile_name = "vegetation-green-grass-3", - tree_name = "tree-dryland-k", - weight = 213 - }, - ["tree-dryland-l"] = { - tile_name = "vegetation-green-grass-3", - tree_name = "tree-dryland-l", - weight = 360 - }, - ["tree-dryland-m"] = { - tile_name = "vegetation-green-grass-3", - tree_name = "tree-dryland-m", - weight = 3 - }, - ["tree-grassland-b"] = { - tile_name = "vegetation-green-grass-3", - tree_name = "tree-grassland-b", - weight = 322 - }, - ["tree-grassland-c"] = { - tile_name = "vegetation-green-grass-3", - tree_name = "tree-grassland-c", - weight = 1093 - }, - ["tree-grassland-d"] = { - tile_name = "vegetation-green-grass-3", - tree_name = "tree-grassland-d", - weight = 105 - }, - ["tree-grassland-e"] = { - tile_name = "vegetation-green-grass-3", - tree_name = "tree-grassland-e", - weight = 225 - }, - ["tree-grassland-f"] = { - tile_name = "vegetation-green-grass-3", - tree_name = "tree-grassland-f", - weight = 535 - }, - ["tree-grassland-g"] = { - tile_name = "vegetation-green-grass-3", - tree_name = "tree-grassland-g", - weight = 75960 - }, - ["tree-grassland-h"] = { - tile_name = "vegetation-green-grass-3", - tree_name = "tree-grassland-h", - weight = 47696 - }, - ["tree-grassland-h2"] = { - tile_name = "vegetation-green-grass-3", - tree_name = "tree-grassland-h2", - weight = 504 - }, - ["tree-grassland-h3"] = { - tile_name = "vegetation-green-grass-3", - tree_name = "tree-grassland-h3", - weight = 355 - }, - ["tree-grassland-i"] = { - tile_name = "vegetation-green-grass-3", - tree_name = "tree-grassland-i", - weight = 1447 - }, - ["tree-grassland-k"] = { - tile_name = "vegetation-green-grass-3", - tree_name = "tree-grassland-k", - weight = 8625 - }, - ["tree-grassland-l"] = { - tile_name = "vegetation-green-grass-3", - tree_name = "tree-grassland-l", - weight = 49431 - }, - ["tree-grassland-m"] = { - tile_name = "vegetation-green-grass-3", - tree_name = "tree-grassland-m", - weight = 127 - }, - ["tree-grassland-n"] = { - tile_name = "vegetation-green-grass-3", - tree_name = "tree-grassland-n", - weight = 22749 - }, - ["tree-grassland-p"] = { - tile_name = "vegetation-green-grass-3", - tree_name = "tree-grassland-p", - weight = 471 - }, - ["tree-wetland-b"] = { - tile_name = "vegetation-green-grass-3", - tree_name = "tree-wetland-b", - weight = 1006 - }, - ["tree-wetland-c"] = { - tile_name = "vegetation-green-grass-3", - tree_name = "tree-wetland-c", - weight = 37 - }, - ["tree-wetland-d"] = { - tile_name = "vegetation-green-grass-3", - tree_name = "tree-wetland-d", - weight = 43066 - }, - ["tree-wetland-e"] = { - tile_name = "vegetation-green-grass-3", - tree_name = "tree-wetland-e", - weight = 130003 - }, - ["tree-wetland-f"] = { - tile_name = "vegetation-green-grass-3", - tree_name = "tree-wetland-f", - weight = 6 - }, - ["tree-wetland-g"] = { - tile_name = "vegetation-green-grass-3", - tree_name = "tree-wetland-g", - weight = 1560 - }, - ["tree-wetland-h"] = { - tile_name = "vegetation-green-grass-3", - tree_name = "tree-wetland-h", - weight = 743 - }, - ["tree-wetland-i"] = { - tile_name = "vegetation-green-grass-3", - tree_name = "tree-wetland-i", - weight = 191 - }, - ["tree-wetland-j"] = { - tile_name = "vegetation-green-grass-3", - tree_name = "tree-wetland-j", - weight = 17872 - }, - ["tree-wetland-k"] = { - tile_name = "vegetation-green-grass-3", - tree_name = "tree-wetland-k", - weight = 49745 - }, - ["tree-wetland-l"] = { - tile_name = "vegetation-green-grass-3", - tree_name = "tree-wetland-l", - weight = 350 - }, - ["tree-wetland-m"] = { - tile_name = "vegetation-green-grass-3", - tree_name = "tree-wetland-m", - weight = 125 - }, - ["tree-wetland-n"] = { - tile_name = "vegetation-green-grass-3", - tree_name = "tree-wetland-n", - weight = 417 - }, - ["tree-wetland-o"] = { - tile_name = "vegetation-green-grass-3", - tree_name = "tree-wetland-o", - weight = 316 - } -} -terrains["vegetation-purple-grass-2"] = { - name = "vegetation-purple-grass-2", - ["tree-dryland-h"] = { - tile_name = "vegetation-purple-grass-2", - tree_name = "tree-dryland-h", - weight = 270 - }, - ["tree-dryland-l"] = { - tile_name = "vegetation-purple-grass-2", - tree_name = "tree-dryland-l", - weight = 2 - }, - ["tree-dryland-m"] = { - tile_name = "vegetation-purple-grass-2", - tree_name = "tree-dryland-m", - weight = 3 - }, - ["tree-grassland-a"] = { - tile_name = "vegetation-purple-grass-2", - tree_name = "tree-grassland-a", - weight = 7 - }, - ["tree-grassland-c"] = { - tile_name = "vegetation-purple-grass-2", - tree_name = "tree-grassland-c", - weight = 12 - }, - ["tree-grassland-d"] = { - tile_name = "vegetation-purple-grass-2", - tree_name = "tree-grassland-d", - weight = 161 - }, - ["tree-grassland-e"] = { - tile_name = "vegetation-purple-grass-2", - tree_name = "tree-grassland-e", - weight = 254 - }, - ["tree-grassland-f"] = { - tile_name = "vegetation-purple-grass-2", - tree_name = "tree-grassland-f", - weight = 14 - }, - ["tree-grassland-g"] = { - tile_name = "vegetation-purple-grass-2", - tree_name = "tree-grassland-g", - weight = 140 - }, - ["tree-grassland-h"] = { - tile_name = "vegetation-purple-grass-2", - tree_name = "tree-grassland-h", - weight = 844 - }, - ["tree-grassland-h2"] = { - tile_name = "vegetation-purple-grass-2", - tree_name = "tree-grassland-h2", - weight = 383 - }, - ["tree-grassland-i"] = { - tile_name = "vegetation-purple-grass-2", - tree_name = "tree-grassland-i", - weight = 6951 - }, - ["tree-grassland-m"] = { - tile_name = "vegetation-purple-grass-2", - tree_name = "tree-grassland-m", - weight = 15 - }, - ["tree-wetland-d"] = { - tile_name = "vegetation-purple-grass-2", - tree_name = "tree-wetland-d", - weight = 3 - }, - ["tree-wetland-e"] = { - tile_name = "vegetation-purple-grass-2", - tree_name = "tree-wetland-e", - weight = 1702 - }, - ["tree-wetland-k"] = { - tile_name = "vegetation-purple-grass-2", - tree_name = "tree-wetland-k", - weight = 5 - } -} -terrains["mineral-dustyrose-dirt-3"] = { - name = "mineral-dustyrose-dirt-3", - ["tree-desert-h"] = { - tile_name = "mineral-dustyrose-dirt-3", - tree_name = "tree-desert-h", - weight = 1533 - }, - ["tree-desert-j"] = { - tile_name = "mineral-dustyrose-dirt-3", - tree_name = "tree-desert-j", - weight = 1043 - }, - ["tree-desert-k"] = { - tile_name = "mineral-dustyrose-dirt-3", - tree_name = "tree-desert-k", - weight = 453 - }, - ["tree-desert-n"] = { - tile_name = "mineral-dustyrose-dirt-3", - tree_name = "tree-desert-n", - weight = 3 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-dustyrose-dirt-3", - tree_name = "tree-dryland-b", - weight = 64 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-dustyrose-dirt-3", - tree_name = "tree-dryland-c", - weight = 6 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-dustyrose-dirt-3", - tree_name = "tree-dryland-e", - weight = 60 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-dustyrose-dirt-3", - tree_name = "tree-dryland-f", - weight = 95 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-dustyrose-dirt-3", - tree_name = "tree-dryland-g", - weight = 47 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-dustyrose-dirt-3", - tree_name = "tree-dryland-h", - weight = 58239 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-dustyrose-dirt-3", - tree_name = "tree-dryland-j", - weight = 3 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-dustyrose-dirt-3", - tree_name = "tree-dryland-k", - weight = 18 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-dustyrose-dirt-3", - tree_name = "tree-dryland-l", - weight = 20436 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-dustyrose-dirt-3", - tree_name = "tree-dryland-m", - weight = 3671 - }, - ["tree-grassland-a"] = { - tile_name = "mineral-dustyrose-dirt-3", - tree_name = "tree-grassland-a", - weight = 22 - }, - ["tree-grassland-c"] = { - tile_name = "mineral-dustyrose-dirt-3", - tree_name = "tree-grassland-c", - weight = 67 - }, - ["tree-grassland-d"] = { - tile_name = "mineral-dustyrose-dirt-3", - tree_name = "tree-grassland-d", - weight = 141 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-dustyrose-dirt-3", - tree_name = "tree-grassland-e", - weight = 136 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-dustyrose-dirt-3", - tree_name = "tree-grassland-g", - weight = 77 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-dustyrose-dirt-3", - tree_name = "tree-grassland-h", - weight = 9445 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-dustyrose-dirt-3", - tree_name = "tree-grassland-h2", - weight = 70852 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-dustyrose-dirt-3", - tree_name = "tree-grassland-h3", - weight = 12475 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-dustyrose-dirt-3", - tree_name = "tree-grassland-i", - weight = 1005 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-dustyrose-dirt-3", - tree_name = "tree-grassland-k", - weight = 3 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-dustyrose-dirt-3", - tree_name = "tree-grassland-l", - weight = 17 - }, - ["tree-grassland-m"] = { - tile_name = "mineral-dustyrose-dirt-3", - tree_name = "tree-grassland-m", - weight = 105 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-dustyrose-dirt-3", - tree_name = "tree-wetland-e", - weight = 2772 - }, - ["tree-wetland-h"] = { - tile_name = "mineral-dustyrose-dirt-3", - tree_name = "tree-wetland-h", - weight = 30 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-dustyrose-dirt-3", - tree_name = "tree-wetland-k", - weight = 483 - } -} -terrains["mineral-dustyrose-dirt-1"] = { - name = "mineral-dustyrose-dirt-1", - ["tree-desert-h"] = { - tile_name = "mineral-dustyrose-dirt-1", - tree_name = "tree-desert-h", - weight = 2625 - }, - ["tree-desert-j"] = { - tile_name = "mineral-dustyrose-dirt-1", - tree_name = "tree-desert-j", - weight = 2467 - }, - ["tree-desert-k"] = { - tile_name = "mineral-dustyrose-dirt-1", - tree_name = "tree-desert-k", - weight = 1212 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-dustyrose-dirt-1", - tree_name = "tree-dryland-b", - weight = 197 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-dustyrose-dirt-1", - tree_name = "tree-dryland-c", - weight = 46 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-dustyrose-dirt-1", - tree_name = "tree-dryland-e", - weight = 248 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-dustyrose-dirt-1", - tree_name = "tree-dryland-f", - weight = 339 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-dustyrose-dirt-1", - tree_name = "tree-dryland-g", - weight = 157 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-dustyrose-dirt-1", - tree_name = "tree-dryland-h", - weight = 189274 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-dustyrose-dirt-1", - tree_name = "tree-dryland-j", - weight = 25 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-dustyrose-dirt-1", - tree_name = "tree-dryland-k", - weight = 76 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-dustyrose-dirt-1", - tree_name = "tree-dryland-l", - weight = 81171 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-dustyrose-dirt-1", - tree_name = "tree-dryland-m", - weight = 12640 - }, - ["tree-grassland-a"] = { - tile_name = "mineral-dustyrose-dirt-1", - tree_name = "tree-grassland-a", - weight = 39 - }, - ["tree-grassland-c"] = { - tile_name = "mineral-dustyrose-dirt-1", - tree_name = "tree-grassland-c", - weight = 114 - }, - ["tree-grassland-d"] = { - tile_name = "mineral-dustyrose-dirt-1", - tree_name = "tree-grassland-d", - weight = 154 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-dustyrose-dirt-1", - tree_name = "tree-grassland-e", - weight = 102 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-dustyrose-dirt-1", - tree_name = "tree-grassland-f", - weight = 4 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-dustyrose-dirt-1", - tree_name = "tree-grassland-g", - weight = 271 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-dustyrose-dirt-1", - tree_name = "tree-grassland-h", - weight = 17545 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-dustyrose-dirt-1", - tree_name = "tree-grassland-h2", - weight = 221098 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-dustyrose-dirt-1", - tree_name = "tree-grassland-h3", - weight = 46849 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-dustyrose-dirt-1", - tree_name = "tree-grassland-i", - weight = 2134 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-dustyrose-dirt-1", - tree_name = "tree-grassland-k", - weight = 25 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-dustyrose-dirt-1", - tree_name = "tree-grassland-l", - weight = 46 - }, - ["tree-grassland-m"] = { - tile_name = "mineral-dustyrose-dirt-1", - tree_name = "tree-grassland-m", - weight = 10 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-dustyrose-dirt-1", - tree_name = "tree-wetland-e", - weight = 7483 - }, - ["tree-wetland-h"] = { - tile_name = "mineral-dustyrose-dirt-1", - tree_name = "tree-wetland-h", - weight = 7 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-dustyrose-dirt-1", - tree_name = "tree-wetland-k", - weight = 852 - } -} -terrains["mineral-dustyrose-dirt-4"] = { - name = "mineral-dustyrose-dirt-4", - ["tree-desert-g"] = { - tile_name = "mineral-dustyrose-dirt-4", - tree_name = "tree-desert-g", - weight = 2 - }, - ["tree-desert-h"] = { - tile_name = "mineral-dustyrose-dirt-4", - tree_name = "tree-desert-h", - weight = 1195 - }, - ["tree-desert-i"] = { - tile_name = "mineral-dustyrose-dirt-4", - tree_name = "tree-desert-i", - weight = 2 - }, - ["tree-desert-j"] = { - tile_name = "mineral-dustyrose-dirt-4", - tree_name = "tree-desert-j", - weight = 1078 - }, - ["tree-desert-k"] = { - tile_name = "mineral-dustyrose-dirt-4", - tree_name = "tree-desert-k", - weight = 721 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-dustyrose-dirt-4", - tree_name = "tree-dryland-b", - weight = 26 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-dustyrose-dirt-4", - tree_name = "tree-dryland-c", - weight = 9 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-dustyrose-dirt-4", - tree_name = "tree-dryland-e", - weight = 61 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-dustyrose-dirt-4", - tree_name = "tree-dryland-f", - weight = 39 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-dustyrose-dirt-4", - tree_name = "tree-dryland-g", - weight = 28 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-dustyrose-dirt-4", - tree_name = "tree-dryland-h", - weight = 32687 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-dustyrose-dirt-4", - tree_name = "tree-dryland-j", - weight = 7 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-dustyrose-dirt-4", - tree_name = "tree-dryland-k", - weight = 5 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-dustyrose-dirt-4", - tree_name = "tree-dryland-l", - weight = 10503 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-dustyrose-dirt-4", - tree_name = "tree-dryland-m", - weight = 1883 - }, - ["tree-grassland-a"] = { - tile_name = "mineral-dustyrose-dirt-4", - tree_name = "tree-grassland-a", - weight = 18 - }, - ["tree-grassland-c"] = { - tile_name = "mineral-dustyrose-dirt-4", - tree_name = "tree-grassland-c", - weight = 110 - }, - ["tree-grassland-d"] = { - tile_name = "mineral-dustyrose-dirt-4", - tree_name = "tree-grassland-d", - weight = 96 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-dustyrose-dirt-4", - tree_name = "tree-grassland-e", - weight = 45 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-dustyrose-dirt-4", - tree_name = "tree-grassland-f", - weight = 11 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-dustyrose-dirt-4", - tree_name = "tree-grassland-g", - weight = 119 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-dustyrose-dirt-4", - tree_name = "tree-grassland-h", - weight = 6024 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-dustyrose-dirt-4", - tree_name = "tree-grassland-h2", - weight = 40015 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-dustyrose-dirt-4", - tree_name = "tree-grassland-h3", - weight = 6676 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-dustyrose-dirt-4", - tree_name = "tree-grassland-i", - weight = 349 - }, - ["tree-grassland-m"] = { - tile_name = "mineral-dustyrose-dirt-4", - tree_name = "tree-grassland-m", - weight = 16 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-dustyrose-dirt-4", - tree_name = "tree-wetland-e", - weight = 2501 - }, - ["tree-wetland-h"] = { - tile_name = "mineral-dustyrose-dirt-4", - tree_name = "tree-wetland-h", - weight = 24 - }, - ["tree-wetland-j"] = { - tile_name = "mineral-dustyrose-dirt-4", - tree_name = "tree-wetland-j", - weight = 2 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-dustyrose-dirt-4", - tree_name = "tree-wetland-k", - weight = 236 - } -} -terrains["mineral-dustyrose-dirt-6"] = { - name = "mineral-dustyrose-dirt-6", - ["tree-desert-g"] = { - tile_name = "mineral-dustyrose-dirt-6", - tree_name = "tree-desert-g", - weight = 2 - }, - ["tree-desert-h"] = { - tile_name = "mineral-dustyrose-dirt-6", - tree_name = "tree-desert-h", - weight = 691 - }, - ["tree-desert-j"] = { - tile_name = "mineral-dustyrose-dirt-6", - tree_name = "tree-desert-j", - weight = 483 - }, - ["tree-desert-k"] = { - tile_name = "mineral-dustyrose-dirt-6", - tree_name = "tree-desert-k", - weight = 267 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-dustyrose-dirt-6", - tree_name = "tree-dryland-b", - weight = 16 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-dustyrose-dirt-6", - tree_name = "tree-dryland-c", - weight = 3 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-dustyrose-dirt-6", - tree_name = "tree-dryland-e", - weight = 7 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-dustyrose-dirt-6", - tree_name = "tree-dryland-f", - weight = 14 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-dustyrose-dirt-6", - tree_name = "tree-dryland-g", - weight = 4 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-dustyrose-dirt-6", - tree_name = "tree-dryland-h", - weight = 9890 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-dustyrose-dirt-6", - tree_name = "tree-dryland-k", - weight = 2 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-dustyrose-dirt-6", - tree_name = "tree-dryland-l", - weight = 3572 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-dustyrose-dirt-6", - tree_name = "tree-dryland-m", - weight = 246 - }, - ["tree-grassland-a"] = { - tile_name = "mineral-dustyrose-dirt-6", - tree_name = "tree-grassland-a", - weight = 3 - }, - ["tree-grassland-c"] = { - tile_name = "mineral-dustyrose-dirt-6", - tree_name = "tree-grassland-c", - weight = 84 - }, - ["tree-grassland-d"] = { - tile_name = "mineral-dustyrose-dirt-6", - tree_name = "tree-grassland-d", - weight = 52 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-dustyrose-dirt-6", - tree_name = "tree-grassland-e", - weight = 44 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-dustyrose-dirt-6", - tree_name = "tree-grassland-f", - weight = 12 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-dustyrose-dirt-6", - tree_name = "tree-grassland-g", - weight = 156 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-dustyrose-dirt-6", - tree_name = "tree-grassland-h", - weight = 4249 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-dustyrose-dirt-6", - tree_name = "tree-grassland-h2", - weight = 11243 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-dustyrose-dirt-6", - tree_name = "tree-grassland-h3", - weight = 1518 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-dustyrose-dirt-6", - tree_name = "tree-grassland-i", - weight = 327 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-dustyrose-dirt-6", - tree_name = "tree-grassland-k", - weight = 8 - }, - ["tree-grassland-m"] = { - tile_name = "mineral-dustyrose-dirt-6", - tree_name = "tree-grassland-m", - weight = 26 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-dustyrose-dirt-6", - tree_name = "tree-wetland-e", - weight = 1003 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-dustyrose-dirt-6", - tree_name = "tree-wetland-k", - weight = 241 - } -} -terrains["mineral-dustyrose-dirt-5"] = { - name = "mineral-dustyrose-dirt-5", - ["tree-desert-h"] = { - tile_name = "mineral-dustyrose-dirt-5", - tree_name = "tree-desert-h", - weight = 834 - }, - ["tree-desert-j"] = { - tile_name = "mineral-dustyrose-dirt-5", - tree_name = "tree-desert-j", - weight = 623 - }, - ["tree-desert-k"] = { - tile_name = "mineral-dustyrose-dirt-5", - tree_name = "tree-desert-k", - weight = 375 - }, - ["tree-desert-l"] = { - tile_name = "mineral-dustyrose-dirt-5", - tree_name = "tree-desert-l", - weight = 2 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-dustyrose-dirt-5", - tree_name = "tree-dryland-b", - weight = 21 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-dustyrose-dirt-5", - tree_name = "tree-dryland-e", - weight = 25 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-dustyrose-dirt-5", - tree_name = "tree-dryland-f", - weight = 24 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-dustyrose-dirt-5", - tree_name = "tree-dryland-g", - weight = 15 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-dustyrose-dirt-5", - tree_name = "tree-dryland-h", - weight = 15414 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-dustyrose-dirt-5", - tree_name = "tree-dryland-j", - weight = 5 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-dustyrose-dirt-5", - tree_name = "tree-dryland-k", - weight = 5 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-dustyrose-dirt-5", - tree_name = "tree-dryland-l", - weight = 4683 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-dustyrose-dirt-5", - tree_name = "tree-dryland-m", - weight = 729 - }, - ["tree-grassland-a"] = { - tile_name = "mineral-dustyrose-dirt-5", - tree_name = "tree-grassland-a", - weight = 5 - }, - ["tree-grassland-c"] = { - tile_name = "mineral-dustyrose-dirt-5", - tree_name = "tree-grassland-c", - weight = 48 - }, - ["tree-grassland-d"] = { - tile_name = "mineral-dustyrose-dirt-5", - tree_name = "tree-grassland-d", - weight = 57 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-dustyrose-dirt-5", - tree_name = "tree-grassland-e", - weight = 111 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-dustyrose-dirt-5", - tree_name = "tree-grassland-f", - weight = 6 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-dustyrose-dirt-5", - tree_name = "tree-grassland-g", - weight = 119 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-dustyrose-dirt-5", - tree_name = "tree-grassland-h", - weight = 4863 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-dustyrose-dirt-5", - tree_name = "tree-grassland-h2", - weight = 17537 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-dustyrose-dirt-5", - tree_name = "tree-grassland-h3", - weight = 3420 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-dustyrose-dirt-5", - tree_name = "tree-grassland-i", - weight = 636 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-dustyrose-dirt-5", - tree_name = "tree-grassland-l", - weight = 10 - }, - ["tree-grassland-m"] = { - tile_name = "mineral-dustyrose-dirt-5", - tree_name = "tree-grassland-m", - weight = 6 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-dustyrose-dirt-5", - tree_name = "tree-wetland-e", - weight = 1125 - }, - ["tree-wetland-f"] = { - tile_name = "mineral-dustyrose-dirt-5", - tree_name = "tree-wetland-f", - weight = 2 - }, - ["tree-wetland-h"] = { - tile_name = "mineral-dustyrose-dirt-5", - tree_name = "tree-wetland-h", - weight = 4 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-dustyrose-dirt-5", - tree_name = "tree-wetland-k", - weight = 424 - }, - ["tree-wetland-l"] = { - tile_name = "mineral-dustyrose-dirt-5", - tree_name = "tree-wetland-l", - weight = 2 - } -} -terrains["mineral-dustyrose-dirt-2"] = { - name = "mineral-dustyrose-dirt-2", - ["tree-desert-f"] = { - tile_name = "mineral-dustyrose-dirt-2", - tree_name = "tree-desert-f", - weight = 2 - }, - ["tree-desert-h"] = { - tile_name = "mineral-dustyrose-dirt-2", - tree_name = "tree-desert-h", - weight = 1874 - }, - ["tree-desert-j"] = { - tile_name = "mineral-dustyrose-dirt-2", - tree_name = "tree-desert-j", - weight = 1285 - }, - ["tree-desert-k"] = { - tile_name = "mineral-dustyrose-dirt-2", - tree_name = "tree-desert-k", - weight = 1046 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-dustyrose-dirt-2", - tree_name = "tree-dryland-b", - weight = 120 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-dustyrose-dirt-2", - tree_name = "tree-dryland-c", - weight = 18 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-dustyrose-dirt-2", - tree_name = "tree-dryland-e", - weight = 143 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-dustyrose-dirt-2", - tree_name = "tree-dryland-f", - weight = 187 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-dustyrose-dirt-2", - tree_name = "tree-dryland-g", - weight = 114 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-dustyrose-dirt-2", - tree_name = "tree-dryland-h", - weight = 99866 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-dustyrose-dirt-2", - tree_name = "tree-dryland-j", - weight = 17 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-dustyrose-dirt-2", - tree_name = "tree-dryland-k", - weight = 30 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-dustyrose-dirt-2", - tree_name = "tree-dryland-l", - weight = 39143 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-dustyrose-dirt-2", - tree_name = "tree-dryland-m", - weight = 5324 - }, - ["tree-grassland-a"] = { - tile_name = "mineral-dustyrose-dirt-2", - tree_name = "tree-grassland-a", - weight = 9 - }, - ["tree-grassland-c"] = { - tile_name = "mineral-dustyrose-dirt-2", - tree_name = "tree-grassland-c", - weight = 247 - }, - ["tree-grassland-d"] = { - tile_name = "mineral-dustyrose-dirt-2", - tree_name = "tree-grassland-d", - weight = 102 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-dustyrose-dirt-2", - tree_name = "tree-grassland-e", - weight = 113 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-dustyrose-dirt-2", - tree_name = "tree-grassland-f", - weight = 2 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-dustyrose-dirt-2", - tree_name = "tree-grassland-g", - weight = 189 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-dustyrose-dirt-2", - tree_name = "tree-grassland-h", - weight = 10730 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-dustyrose-dirt-2", - tree_name = "tree-grassland-h2", - weight = 113469 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-dustyrose-dirt-2", - tree_name = "tree-grassland-h3", - weight = 23488 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-dustyrose-dirt-2", - tree_name = "tree-grassland-i", - weight = 1290 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-dustyrose-dirt-2", - tree_name = "tree-grassland-k", - weight = 4 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-dustyrose-dirt-2", - tree_name = "tree-grassland-l", - weight = 12 - }, - ["tree-grassland-m"] = { - tile_name = "mineral-dustyrose-dirt-2", - tree_name = "tree-grassland-m", - weight = 17 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-dustyrose-dirt-2", - tree_name = "tree-wetland-e", - weight = 5028 - }, - ["tree-wetland-h"] = { - tile_name = "mineral-dustyrose-dirt-2", - tree_name = "tree-wetland-h", - weight = 2 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-dustyrose-dirt-2", - tree_name = "tree-wetland-k", - weight = 702 - } -} -terrains["mineral-beige-dirt-1"] = { - name = "mineral-beige-dirt-1", - ["tree-desert-c"] = { - tile_name = "mineral-beige-dirt-1", - tree_name = "tree-desert-c", - weight = 3 - }, - ["tree-desert-f"] = { - tile_name = "mineral-beige-dirt-1", - tree_name = "tree-desert-f", - weight = 2037 - }, - ["tree-desert-h"] = { - tile_name = "mineral-beige-dirt-1", - tree_name = "tree-desert-h", - weight = 2595 - }, - ["tree-desert-i"] = { - tile_name = "mineral-beige-dirt-1", - tree_name = "tree-desert-i", - weight = 3785 - }, - ["tree-desert-j"] = { - tile_name = "mineral-beige-dirt-1", - tree_name = "tree-desert-j", - weight = 2670 - }, - ["tree-desert-n"] = { - tile_name = "mineral-beige-dirt-1", - tree_name = "tree-desert-n", - weight = 2 - }, - ["tree-dryland-a"] = { - tile_name = "mineral-beige-dirt-1", - tree_name = "tree-dryland-a", - weight = 304 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-beige-dirt-1", - tree_name = "tree-dryland-b", - weight = 504 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-beige-dirt-1", - tree_name = "tree-dryland-e", - weight = 364 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-beige-dirt-1", - tree_name = "tree-dryland-f", - weight = 1113 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-beige-dirt-1", - tree_name = "tree-dryland-g", - weight = 87481 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-beige-dirt-1", - tree_name = "tree-dryland-h", - weight = 90348 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-beige-dirt-1", - tree_name = "tree-dryland-i", - weight = 202 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-beige-dirt-1", - tree_name = "tree-dryland-j", - weight = 247 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-beige-dirt-1", - tree_name = "tree-dryland-k", - weight = 89847 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-beige-dirt-1", - tree_name = "tree-dryland-l", - weight = 114208 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-beige-dirt-1", - tree_name = "tree-dryland-m", - weight = 183 - }, - ["tree-dryland-n"] = { - tile_name = "mineral-beige-dirt-1", - tree_name = "tree-dryland-n", - weight = 335 - }, - ["tree-grassland-a"] = { - tile_name = "mineral-beige-dirt-1", - tree_name = "tree-grassland-a", - weight = 17 - }, - ["tree-grassland-b"] = { - tile_name = "mineral-beige-dirt-1", - tree_name = "tree-grassland-b", - weight = 23 - }, - ["tree-grassland-c"] = { - tile_name = "mineral-beige-dirt-1", - tree_name = "tree-grassland-c", - weight = 186 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-beige-dirt-1", - tree_name = "tree-grassland-f", - weight = 755 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-beige-dirt-1", - tree_name = "tree-grassland-g", - weight = 40826 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-beige-dirt-1", - tree_name = "tree-grassland-h", - weight = 33224 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-beige-dirt-1", - tree_name = "tree-grassland-h2", - weight = 3895 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-beige-dirt-1", - tree_name = "tree-grassland-h3", - weight = 1089 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-beige-dirt-1", - tree_name = "tree-grassland-i", - weight = 386 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-beige-dirt-1", - tree_name = "tree-grassland-k", - weight = 2814 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-beige-dirt-1", - tree_name = "tree-grassland-l", - weight = 48995 - }, - ["tree-grassland-m"] = { - tile_name = "mineral-beige-dirt-1", - tree_name = "tree-grassland-m", - weight = 45 - }, - ["tree-grassland-n"] = { - tile_name = "mineral-beige-dirt-1", - tree_name = "tree-grassland-n", - weight = 448 - }, - ["tree-grassland-p"] = { - tile_name = "mineral-beige-dirt-1", - tree_name = "tree-grassland-p", - weight = 64 - }, - ["tree-wetland-d"] = { - tile_name = "mineral-beige-dirt-1", - tree_name = "tree-wetland-d", - weight = 2865 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-beige-dirt-1", - tree_name = "tree-wetland-e", - weight = 16085 - }, - ["tree-wetland-j"] = { - tile_name = "mineral-beige-dirt-1", - tree_name = "tree-wetland-j", - weight = 2740 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-beige-dirt-1", - tree_name = "tree-wetland-k", - weight = 2925 - } -} -terrains["mineral-grey-dirt-6"] = { - name = "mineral-grey-dirt-6", - ["tree-desert-i"] = { - tile_name = "mineral-grey-dirt-6", - tree_name = "tree-desert-i", - weight = 181 - }, - ["tree-desert-j"] = { - tile_name = "mineral-grey-dirt-6", - tree_name = "tree-desert-j", - weight = 72 - }, - ["tree-desert-m"] = { - tile_name = "mineral-grey-dirt-6", - tree_name = "tree-desert-m", - weight = 2 - }, - ["tree-desert-n"] = { - tile_name = "mineral-grey-dirt-6", - tree_name = "tree-desert-n", - weight = 383 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-grey-dirt-6", - tree_name = "tree-dryland-b", - weight = 8 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-grey-dirt-6", - tree_name = "tree-dryland-f", - weight = 7 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-grey-dirt-6", - tree_name = "tree-dryland-g", - weight = 3 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-grey-dirt-6", - tree_name = "tree-dryland-h", - weight = 3 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-grey-dirt-6", - tree_name = "tree-dryland-j", - weight = 11 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-grey-dirt-6", - tree_name = "tree-dryland-k", - weight = 1037 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-grey-dirt-6", - tree_name = "tree-dryland-l", - weight = 6830 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-grey-dirt-6", - tree_name = "tree-dryland-m", - weight = 6 - }, - ["tree-dryland-n"] = { - tile_name = "mineral-grey-dirt-6", - tree_name = "tree-dryland-n", - weight = 26 - }, - ["tree-dryland-o"] = { - tile_name = "mineral-grey-dirt-6", - tree_name = "tree-dryland-o", - weight = 2 - }, - ["tree-grassland-c"] = { - tile_name = "mineral-grey-dirt-6", - tree_name = "tree-grassland-c", - weight = 4 - }, - ["tree-grassland-d"] = { - tile_name = "mineral-grey-dirt-6", - tree_name = "tree-grassland-d", - weight = 11 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-grey-dirt-6", - tree_name = "tree-grassland-e", - weight = 2 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-grey-dirt-6", - tree_name = "tree-grassland-g", - weight = 16 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-grey-dirt-6", - tree_name = "tree-grassland-h", - weight = 6017 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-grey-dirt-6", - tree_name = "tree-grassland-h3", - weight = 181 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-grey-dirt-6", - tree_name = "tree-grassland-i", - weight = 3 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-grey-dirt-6", - tree_name = "tree-grassland-k", - weight = 219 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-grey-dirt-6", - tree_name = "tree-grassland-l", - weight = 2225 - }, - ["tree-grassland-m"] = { - tile_name = "mineral-grey-dirt-6", - tree_name = "tree-grassland-m", - weight = 2 - }, - ["tree-grassland-n"] = { - tile_name = "mineral-grey-dirt-6", - tree_name = "tree-grassland-n", - weight = 6232 - }, - ["tree-grassland-p"] = { - tile_name = "mineral-grey-dirt-6", - tree_name = "tree-grassland-p", - weight = 15491 - }, - ["tree-grassland-q"] = { - tile_name = "mineral-grey-dirt-6", - tree_name = "tree-grassland-q", - weight = 10 - }, - ["tree-snow-a"] = { - tile_name = "mineral-grey-dirt-6", - tree_name = "tree-snow-a", - weight = 5 - }, - ["tree-wetland-j"] = { - tile_name = "mineral-grey-dirt-6", - tree_name = "tree-wetland-j", - weight = 378 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-grey-dirt-6", - tree_name = "tree-wetland-k", - weight = 328 - }, - ["tree-wetland-n"] = { - tile_name = "mineral-grey-dirt-6", - tree_name = "tree-wetland-n", - weight = 283 - }, - ["tree-wetland-o"] = { - tile_name = "mineral-grey-dirt-6", - tree_name = "tree-wetland-o", - weight = 350 - } -} -terrains["mineral-black-dirt-4"] = { - name = "mineral-black-dirt-4", - ["tree-desert-j"] = { - tile_name = "mineral-black-dirt-4", - tree_name = "tree-desert-j", - weight = 88 - }, - ["tree-desert-k"] = { - tile_name = "mineral-black-dirt-4", - tree_name = "tree-desert-k", - weight = 259 - }, - ["tree-desert-n"] = { - tile_name = "mineral-black-dirt-4", - tree_name = "tree-desert-n", - weight = 396 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-black-dirt-4", - tree_name = "tree-dryland-c", - weight = 36 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-black-dirt-4", - tree_name = "tree-dryland-f", - weight = 3 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-black-dirt-4", - tree_name = "tree-dryland-h", - weight = 81 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-black-dirt-4", - tree_name = "tree-dryland-i", - weight = 2 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-black-dirt-4", - tree_name = "tree-dryland-j", - weight = 32 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-black-dirt-4", - tree_name = "tree-dryland-k", - weight = 10 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-black-dirt-4", - tree_name = "tree-dryland-l", - weight = 14473 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-black-dirt-4", - tree_name = "tree-dryland-m", - weight = 2007 - }, - ["tree-dryland-n"] = { - tile_name = "mineral-black-dirt-4", - tree_name = "tree-dryland-n", - weight = 74 - }, - ["tree-dryland-o"] = { - tile_name = "mineral-black-dirt-4", - tree_name = "tree-dryland-o", - weight = 5149 - }, - ["tree-grassland-d"] = { - tile_name = "mineral-black-dirt-4", - tree_name = "tree-grassland-d", - weight = 130 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-black-dirt-4", - tree_name = "tree-grassland-e", - weight = 101 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-black-dirt-4", - tree_name = "tree-grassland-h", - weight = 597 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-black-dirt-4", - tree_name = "tree-grassland-h2", - weight = 23 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-black-dirt-4", - tree_name = "tree-grassland-h3", - weight = 14477 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-black-dirt-4", - tree_name = "tree-grassland-i", - weight = 159 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-black-dirt-4", - tree_name = "tree-grassland-k", - weight = 57 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-black-dirt-4", - tree_name = "tree-grassland-l", - weight = 4 - }, - ["tree-grassland-m"] = { - tile_name = "mineral-black-dirt-4", - tree_name = "tree-grassland-m", - weight = 2618 - }, - ["tree-grassland-n"] = { - tile_name = "mineral-black-dirt-4", - tree_name = "tree-grassland-n", - weight = 33 - }, - ["tree-grassland-p"] = { - tile_name = "mineral-black-dirt-4", - tree_name = "tree-grassland-p", - weight = 2958 - }, - ["tree-snow-a"] = { - tile_name = "mineral-black-dirt-4", - tree_name = "tree-snow-a", - weight = 4 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-black-dirt-4", - tree_name = "tree-wetland-k", - weight = 850 - }, - ["tree-wetland-l"] = { - tile_name = "mineral-black-dirt-4", - tree_name = "tree-wetland-l", - weight = 254 - }, - ["tree-wetland-o"] = { - tile_name = "mineral-black-dirt-4", - tree_name = "tree-wetland-o", - weight = 2273 - } -} -terrains["mineral-black-dirt-6"] = { - name = "mineral-black-dirt-6", - ["tree-desert-j"] = { - tile_name = "mineral-black-dirt-6", - tree_name = "tree-desert-j", - weight = 82 - }, - ["tree-desert-k"] = { - tile_name = "mineral-black-dirt-6", - tree_name = "tree-desert-k", - weight = 120 - }, - ["tree-desert-l"] = { - tile_name = "mineral-black-dirt-6", - tree_name = "tree-desert-l", - weight = 3 - }, - ["tree-desert-n"] = { - tile_name = "mineral-black-dirt-6", - tree_name = "tree-desert-n", - weight = 212 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-black-dirt-6", - tree_name = "tree-dryland-f", - weight = 4 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-black-dirt-6", - tree_name = "tree-dryland-h", - weight = 13 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-black-dirt-6", - tree_name = "tree-dryland-j", - weight = 10 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-black-dirt-6", - tree_name = "tree-dryland-k", - weight = 3 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-black-dirt-6", - tree_name = "tree-dryland-l", - weight = 7496 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-black-dirt-6", - tree_name = "tree-dryland-m", - weight = 733 - }, - ["tree-dryland-n"] = { - tile_name = "mineral-black-dirt-6", - tree_name = "tree-dryland-n", - weight = 5 - }, - ["tree-dryland-o"] = { - tile_name = "mineral-black-dirt-6", - tree_name = "tree-dryland-o", - weight = 1057 - }, - ["tree-grassland-d"] = { - tile_name = "mineral-black-dirt-6", - tree_name = "tree-grassland-d", - weight = 79 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-black-dirt-6", - tree_name = "tree-grassland-e", - weight = 25 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-black-dirt-6", - tree_name = "tree-grassland-h", - weight = 138 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-black-dirt-6", - tree_name = "tree-grassland-h2", - weight = 4 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-black-dirt-6", - tree_name = "tree-grassland-h3", - weight = 5768 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-black-dirt-6", - tree_name = "tree-grassland-i", - weight = 272 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-black-dirt-6", - tree_name = "tree-grassland-k", - weight = 40 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-black-dirt-6", - tree_name = "tree-grassland-l", - weight = 3 - }, - ["tree-grassland-m"] = { - tile_name = "mineral-black-dirt-6", - tree_name = "tree-grassland-m", - weight = 1111 - }, - ["tree-grassland-n"] = { - tile_name = "mineral-black-dirt-6", - tree_name = "tree-grassland-n", - weight = 32 - }, - ["tree-grassland-p"] = { - tile_name = "mineral-black-dirt-6", - tree_name = "tree-grassland-p", - weight = 3240 - }, - ["tree-snow-a"] = { - tile_name = "mineral-black-dirt-6", - tree_name = "tree-snow-a", - weight = 10 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-black-dirt-6", - tree_name = "tree-wetland-k", - weight = 739 - }, - ["tree-wetland-l"] = { - tile_name = "mineral-black-dirt-6", - tree_name = "tree-wetland-l", - weight = 75 - }, - ["tree-wetland-o"] = { - tile_name = "mineral-black-dirt-6", - tree_name = "tree-wetland-o", - weight = 901 - } -} -terrains["mineral-black-dirt-5"] = { - name = "mineral-black-dirt-5", - ["tree-desert-j"] = { - tile_name = "mineral-black-dirt-5", - tree_name = "tree-desert-j", - weight = 42 - }, - ["tree-desert-k"] = { - tile_name = "mineral-black-dirt-5", - tree_name = "tree-desert-k", - weight = 218 - }, - ["tree-desert-n"] = { - tile_name = "mineral-black-dirt-5", - tree_name = "tree-desert-n", - weight = 161 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-black-dirt-5", - tree_name = "tree-dryland-b", - weight = 2 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-black-dirt-5", - tree_name = "tree-dryland-c", - weight = 8 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-black-dirt-5", - tree_name = "tree-dryland-f", - weight = 13 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-black-dirt-5", - tree_name = "tree-dryland-h", - weight = 21 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-black-dirt-5", - tree_name = "tree-dryland-i", - weight = 2 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-black-dirt-5", - tree_name = "tree-dryland-j", - weight = 7 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-black-dirt-5", - tree_name = "tree-dryland-k", - weight = 2 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-black-dirt-5", - tree_name = "tree-dryland-l", - weight = 9405 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-black-dirt-5", - tree_name = "tree-dryland-m", - weight = 932 - }, - ["tree-dryland-n"] = { - tile_name = "mineral-black-dirt-5", - tree_name = "tree-dryland-n", - weight = 18 - }, - ["tree-dryland-o"] = { - tile_name = "mineral-black-dirt-5", - tree_name = "tree-dryland-o", - weight = 1626 - }, - ["tree-grassland-d"] = { - tile_name = "mineral-black-dirt-5", - tree_name = "tree-grassland-d", - weight = 116 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-black-dirt-5", - tree_name = "tree-grassland-e", - weight = 96 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-black-dirt-5", - tree_name = "tree-grassland-h", - weight = 248 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-black-dirt-5", - tree_name = "tree-grassland-h2", - weight = 10 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-black-dirt-5", - tree_name = "tree-grassland-h3", - weight = 7989 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-black-dirt-5", - tree_name = "tree-grassland-i", - weight = 317 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-black-dirt-5", - tree_name = "tree-grassland-k", - weight = 21 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-black-dirt-5", - tree_name = "tree-grassland-l", - weight = 9 - }, - ["tree-grassland-m"] = { - tile_name = "mineral-black-dirt-5", - tree_name = "tree-grassland-m", - weight = 2395 - }, - ["tree-grassland-n"] = { - tile_name = "mineral-black-dirt-5", - tree_name = "tree-grassland-n", - weight = 20 - }, - ["tree-grassland-p"] = { - tile_name = "mineral-black-dirt-5", - tree_name = "tree-grassland-p", - weight = 4647 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-black-dirt-5", - tree_name = "tree-wetland-e", - weight = 9 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-black-dirt-5", - tree_name = "tree-wetland-k", - weight = 643 - }, - ["tree-wetland-l"] = { - tile_name = "mineral-black-dirt-5", - tree_name = "tree-wetland-l", - weight = 170 - }, - ["tree-wetland-o"] = { - tile_name = "mineral-black-dirt-5", - tree_name = "tree-wetland-o", - weight = 1186 - } -} -terrains["mineral-grey-dirt-3"] = { - name = "mineral-grey-dirt-3", - ["tree-desert-b"] = { - tile_name = "mineral-grey-dirt-3", - tree_name = "tree-desert-b", - weight = 2 - }, - ["tree-desert-i"] = { - tile_name = "mineral-grey-dirt-3", - tree_name = "tree-desert-i", - weight = 459 - }, - ["tree-desert-j"] = { - tile_name = "mineral-grey-dirt-3", - tree_name = "tree-desert-j", - weight = 403 - }, - ["tree-desert-m"] = { - tile_name = "mineral-grey-dirt-3", - tree_name = "tree-desert-m", - weight = 2 - }, - ["tree-desert-n"] = { - tile_name = "mineral-grey-dirt-3", - tree_name = "tree-desert-n", - weight = 955 - }, - ["tree-dryland-a"] = { - tile_name = "mineral-grey-dirt-3", - tree_name = "tree-dryland-a", - weight = 2 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-grey-dirt-3", - tree_name = "tree-dryland-b", - weight = 69 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-grey-dirt-3", - tree_name = "tree-dryland-f", - weight = 93 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-grey-dirt-3", - tree_name = "tree-dryland-g", - weight = 4 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-grey-dirt-3", - tree_name = "tree-dryland-h", - weight = 14 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-grey-dirt-3", - tree_name = "tree-dryland-j", - weight = 85 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-grey-dirt-3", - tree_name = "tree-dryland-k", - weight = 8013 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-grey-dirt-3", - tree_name = "tree-dryland-l", - weight = 58493 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-grey-dirt-3", - tree_name = "tree-dryland-m", - weight = 7 - }, - ["tree-dryland-n"] = { - tile_name = "mineral-grey-dirt-3", - tree_name = "tree-dryland-n", - weight = 238 - }, - ["tree-dryland-o"] = { - tile_name = "mineral-grey-dirt-3", - tree_name = "tree-dryland-o", - weight = 70 - }, - ["tree-grassland-c"] = { - tile_name = "mineral-grey-dirt-3", - tree_name = "tree-grassland-c", - weight = 29 - }, - ["tree-grassland-d"] = { - tile_name = "mineral-grey-dirt-3", - tree_name = "tree-grassland-d", - weight = 3 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-grey-dirt-3", - tree_name = "tree-grassland-e", - weight = 3 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-grey-dirt-3", - tree_name = "tree-grassland-g", - weight = 29 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-grey-dirt-3", - tree_name = "tree-grassland-h", - weight = 24912 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-grey-dirt-3", - tree_name = "tree-grassland-h2", - weight = 3 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-grey-dirt-3", - tree_name = "tree-grassland-h3", - weight = 1664 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-grey-dirt-3", - tree_name = "tree-grassland-i", - weight = 5 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-grey-dirt-3", - tree_name = "tree-grassland-k", - weight = 268 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-grey-dirt-3", - tree_name = "tree-grassland-l", - weight = 6407 - }, - ["tree-grassland-m"] = { - tile_name = "mineral-grey-dirt-3", - tree_name = "tree-grassland-m", - weight = 43 - }, - ["tree-grassland-n"] = { - tile_name = "mineral-grey-dirt-3", - tree_name = "tree-grassland-n", - weight = 20420 - }, - ["tree-grassland-p"] = { - tile_name = "mineral-grey-dirt-3", - tree_name = "tree-grassland-p", - weight = 45600 - }, - ["tree-grassland-q"] = { - tile_name = "mineral-grey-dirt-3", - tree_name = "tree-grassland-q", - weight = 66 - }, - ["tree-snow-a"] = { - tile_name = "mineral-grey-dirt-3", - tree_name = "tree-snow-a", - weight = 76 - }, - ["tree-wetland-j"] = { - tile_name = "mineral-grey-dirt-3", - tree_name = "tree-wetland-j", - weight = 1664 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-grey-dirt-3", - tree_name = "tree-wetland-k", - weight = 1999 - }, - ["tree-wetland-n"] = { - tile_name = "mineral-grey-dirt-3", - tree_name = "tree-wetland-n", - weight = 1708 - }, - ["tree-wetland-o"] = { - tile_name = "mineral-grey-dirt-3", - tree_name = "tree-wetland-o", - weight = 1290 - } -} -terrains["mineral-grey-dirt-2"] = { - name = "mineral-grey-dirt-2", - ["tree-desert-i"] = { - tile_name = "mineral-grey-dirt-2", - tree_name = "tree-desert-i", - weight = 267 - }, - ["tree-desert-j"] = { - tile_name = "mineral-grey-dirt-2", - tree_name = "tree-desert-j", - weight = 346 - }, - ["tree-desert-k"] = { - tile_name = "mineral-grey-dirt-2", - tree_name = "tree-desert-k", - weight = 21 - }, - ["tree-desert-n"] = { - tile_name = "mineral-grey-dirt-2", - tree_name = "tree-desert-n", - weight = 1294 - }, - ["tree-dryland-a"] = { - tile_name = "mineral-grey-dirt-2", - tree_name = "tree-dryland-a", - weight = 7 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-grey-dirt-2", - tree_name = "tree-dryland-b", - weight = 120 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-grey-dirt-2", - tree_name = "tree-dryland-f", - weight = 165 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-grey-dirt-2", - tree_name = "tree-dryland-g", - weight = 28 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-grey-dirt-2", - tree_name = "tree-dryland-h", - weight = 6 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-grey-dirt-2", - tree_name = "tree-dryland-j", - weight = 123 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-grey-dirt-2", - tree_name = "tree-dryland-k", - weight = 12825 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-grey-dirt-2", - tree_name = "tree-dryland-l", - weight = 103569 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-grey-dirt-2", - tree_name = "tree-dryland-m", - weight = 8 - }, - ["tree-dryland-n"] = { - tile_name = "mineral-grey-dirt-2", - tree_name = "tree-dryland-n", - weight = 873 - }, - ["tree-dryland-o"] = { - tile_name = "mineral-grey-dirt-2", - tree_name = "tree-dryland-o", - weight = 157 - }, - ["tree-grassland-c"] = { - tile_name = "mineral-grey-dirt-2", - tree_name = "tree-grassland-c", - weight = 9 - }, - ["tree-grassland-d"] = { - tile_name = "mineral-grey-dirt-2", - tree_name = "tree-grassland-d", - weight = 2 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-grey-dirt-2", - tree_name = "tree-grassland-e", - weight = 3 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-grey-dirt-2", - tree_name = "tree-grassland-g", - weight = 30 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-grey-dirt-2", - tree_name = "tree-grassland-h", - weight = 26773 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-grey-dirt-2", - tree_name = "tree-grassland-h3", - weight = 4437 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-grey-dirt-2", - tree_name = "tree-grassland-i", - weight = 2 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-grey-dirt-2", - tree_name = "tree-grassland-k", - weight = 247 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-grey-dirt-2", - tree_name = "tree-grassland-l", - weight = 7453 - }, - ["tree-grassland-m"] = { - tile_name = "mineral-grey-dirt-2", - tree_name = "tree-grassland-m", - weight = 65 - }, - ["tree-grassland-n"] = { - tile_name = "mineral-grey-dirt-2", - tree_name = "tree-grassland-n", - weight = 25771 - }, - ["tree-grassland-p"] = { - tile_name = "mineral-grey-dirt-2", - tree_name = "tree-grassland-p", - weight = 54510 - }, - ["tree-grassland-q"] = { - tile_name = "mineral-grey-dirt-2", - tree_name = "tree-grassland-q", - weight = 46 - }, - ["tree-snow-a"] = { - tile_name = "mineral-grey-dirt-2", - tree_name = "tree-snow-a", - weight = 53 - }, - ["tree-wetland-j"] = { - tile_name = "mineral-grey-dirt-2", - tree_name = "tree-wetland-j", - weight = 2729 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-grey-dirt-2", - tree_name = "tree-wetland-k", - weight = 2642 - }, - ["tree-wetland-n"] = { - tile_name = "mineral-grey-dirt-2", - tree_name = "tree-wetland-n", - weight = 1836 - }, - ["tree-wetland-o"] = { - tile_name = "mineral-grey-dirt-2", - tree_name = "tree-wetland-o", - weight = 2527 - } -} -terrains["mineral-grey-dirt-1"] = { - name = "mineral-grey-dirt-1", - ["tree-desert-i"] = { - tile_name = "mineral-grey-dirt-1", - tree_name = "tree-desert-i", - weight = 792 - }, - ["tree-desert-j"] = { - tile_name = "mineral-grey-dirt-1", - tree_name = "tree-desert-j", - weight = 248 - }, - ["tree-desert-k"] = { - tile_name = "mineral-grey-dirt-1", - tree_name = "tree-desert-k", - weight = 9 - }, - ["tree-desert-m"] = { - tile_name = "mineral-grey-dirt-1", - tree_name = "tree-desert-m", - weight = 2 - }, - ["tree-desert-n"] = { - tile_name = "mineral-grey-dirt-1", - tree_name = "tree-desert-n", - weight = 2073 - }, - ["tree-dryland-a"] = { - tile_name = "mineral-grey-dirt-1", - tree_name = "tree-dryland-a", - weight = 17 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-grey-dirt-1", - tree_name = "tree-dryland-b", - weight = 200 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-grey-dirt-1", - tree_name = "tree-dryland-f", - weight = 289 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-grey-dirt-1", - tree_name = "tree-dryland-g", - weight = 55 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-grey-dirt-1", - tree_name = "tree-dryland-h", - weight = 38 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-grey-dirt-1", - tree_name = "tree-dryland-j", - weight = 364 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-grey-dirt-1", - tree_name = "tree-dryland-k", - weight = 26654 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-grey-dirt-1", - tree_name = "tree-dryland-l", - weight = 212583 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-grey-dirt-1", - tree_name = "tree-dryland-m", - weight = 2 - }, - ["tree-dryland-n"] = { - tile_name = "mineral-grey-dirt-1", - tree_name = "tree-dryland-n", - weight = 1255 - }, - ["tree-dryland-o"] = { - tile_name = "mineral-grey-dirt-1", - tree_name = "tree-dryland-o", - weight = 224 - }, - ["tree-grassland-c"] = { - tile_name = "mineral-grey-dirt-1", - tree_name = "tree-grassland-c", - weight = 39 - }, - ["tree-grassland-d"] = { - tile_name = "mineral-grey-dirt-1", - tree_name = "tree-grassland-d", - weight = 6 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-grey-dirt-1", - tree_name = "tree-grassland-e", - weight = 6 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-grey-dirt-1", - tree_name = "tree-grassland-g", - weight = 104 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-grey-dirt-1", - tree_name = "tree-grassland-h", - weight = 48870 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-grey-dirt-1", - tree_name = "tree-grassland-h3", - weight = 8785 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-grey-dirt-1", - tree_name = "tree-grassland-i", - weight = 3 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-grey-dirt-1", - tree_name = "tree-grassland-k", - weight = 365 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-grey-dirt-1", - tree_name = "tree-grassland-l", - weight = 11729 - }, - ["tree-grassland-m"] = { - tile_name = "mineral-grey-dirt-1", - tree_name = "tree-grassland-m", - weight = 80 - }, - ["tree-grassland-n"] = { - tile_name = "mineral-grey-dirt-1", - tree_name = "tree-grassland-n", - weight = 51268 - }, - ["tree-grassland-p"] = { - tile_name = "mineral-grey-dirt-1", - tree_name = "tree-grassland-p", - weight = 97855 - }, - ["tree-grassland-q"] = { - tile_name = "mineral-grey-dirt-1", - tree_name = "tree-grassland-q", - weight = 164 - }, - ["tree-snow-a"] = { - tile_name = "mineral-grey-dirt-1", - tree_name = "tree-snow-a", - weight = 9 - }, - ["tree-wetland-j"] = { - tile_name = "mineral-grey-dirt-1", - tree_name = "tree-wetland-j", - weight = 6413 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-grey-dirt-1", - tree_name = "tree-wetland-k", - weight = 5409 - }, - ["tree-wetland-n"] = { - tile_name = "mineral-grey-dirt-1", - tree_name = "tree-wetland-n", - weight = 4809 - }, - ["tree-wetland-o"] = { - tile_name = "mineral-grey-dirt-1", - tree_name = "tree-wetland-o", - weight = 4208 - } -} -terrains["mineral-beige-dirt-2"] = { - name = "mineral-beige-dirt-2", - ["tree-desert-c"] = { - tile_name = "mineral-beige-dirt-2", - tree_name = "tree-desert-c", - weight = 3 - }, - ["tree-desert-f"] = { - tile_name = "mineral-beige-dirt-2", - tree_name = "tree-desert-f", - weight = 1180 - }, - ["tree-desert-h"] = { - tile_name = "mineral-beige-dirt-2", - tree_name = "tree-desert-h", - weight = 1419 - }, - ["tree-desert-i"] = { - tile_name = "mineral-beige-dirt-2", - tree_name = "tree-desert-i", - weight = 2702 - }, - ["tree-desert-j"] = { - tile_name = "mineral-beige-dirt-2", - tree_name = "tree-desert-j", - weight = 1421 - }, - ["tree-desert-l"] = { - tile_name = "mineral-beige-dirt-2", - tree_name = "tree-desert-l", - weight = 2 - }, - ["tree-dryland-a"] = { - tile_name = "mineral-beige-dirt-2", - tree_name = "tree-dryland-a", - weight = 126 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-beige-dirt-2", - tree_name = "tree-dryland-b", - weight = 266 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-beige-dirt-2", - tree_name = "tree-dryland-e", - weight = 249 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-beige-dirt-2", - tree_name = "tree-dryland-f", - weight = 551 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-beige-dirt-2", - tree_name = "tree-dryland-g", - weight = 40265 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-beige-dirt-2", - tree_name = "tree-dryland-h", - weight = 50055 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-beige-dirt-2", - tree_name = "tree-dryland-i", - weight = 110 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-beige-dirt-2", - tree_name = "tree-dryland-j", - weight = 153 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-beige-dirt-2", - tree_name = "tree-dryland-k", - weight = 44445 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-beige-dirt-2", - tree_name = "tree-dryland-l", - weight = 64734 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-beige-dirt-2", - tree_name = "tree-dryland-m", - weight = 127 - }, - ["tree-dryland-n"] = { - tile_name = "mineral-beige-dirt-2", - tree_name = "tree-dryland-n", - weight = 208 - }, - ["tree-grassland-a"] = { - tile_name = "mineral-beige-dirt-2", - tree_name = "tree-grassland-a", - weight = 16 - }, - ["tree-grassland-b"] = { - tile_name = "mineral-beige-dirt-2", - tree_name = "tree-grassland-b", - weight = 14 - }, - ["tree-grassland-c"] = { - tile_name = "mineral-beige-dirt-2", - tree_name = "tree-grassland-c", - weight = 98 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-beige-dirt-2", - tree_name = "tree-grassland-f", - weight = 230 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-beige-dirt-2", - tree_name = "tree-grassland-g", - weight = 27297 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-beige-dirt-2", - tree_name = "tree-grassland-h", - weight = 23085 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-beige-dirt-2", - tree_name = "tree-grassland-h2", - weight = 3568 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-beige-dirt-2", - tree_name = "tree-grassland-h3", - weight = 1189 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-beige-dirt-2", - tree_name = "tree-grassland-i", - weight = 265 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-beige-dirt-2", - tree_name = "tree-grassland-k", - weight = 1792 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-beige-dirt-2", - tree_name = "tree-grassland-l", - weight = 27374 - }, - ["tree-grassland-m"] = { - tile_name = "mineral-beige-dirt-2", - tree_name = "tree-grassland-m", - weight = 14 - }, - ["tree-grassland-n"] = { - tile_name = "mineral-beige-dirt-2", - tree_name = "tree-grassland-n", - weight = 293 - }, - ["tree-grassland-p"] = { - tile_name = "mineral-beige-dirt-2", - tree_name = "tree-grassland-p", - weight = 28 - }, - ["tree-wetland-d"] = { - tile_name = "mineral-beige-dirt-2", - tree_name = "tree-wetland-d", - weight = 1415 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-beige-dirt-2", - tree_name = "tree-wetland-e", - weight = 9809 - }, - ["tree-wetland-j"] = { - tile_name = "mineral-beige-dirt-2", - tree_name = "tree-wetland-j", - weight = 1580 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-beige-dirt-2", - tree_name = "tree-wetland-k", - weight = 1655 - } -} -terrains["mineral-black-dirt-1"] = { - name = "mineral-black-dirt-1", - ["tree-desert-j"] = { - tile_name = "mineral-black-dirt-1", - tree_name = "tree-desert-j", - weight = 208 - }, - ["tree-desert-k"] = { - tile_name = "mineral-black-dirt-1", - tree_name = "tree-desert-k", - weight = 775 - }, - ["tree-desert-n"] = { - tile_name = "mineral-black-dirt-1", - tree_name = "tree-desert-n", - weight = 746 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-black-dirt-1", - tree_name = "tree-dryland-b", - weight = 17 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-black-dirt-1", - tree_name = "tree-dryland-c", - weight = 120 - }, - ["tree-dryland-d"] = { - tile_name = "mineral-black-dirt-1", - tree_name = "tree-dryland-d", - weight = 2 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-black-dirt-1", - tree_name = "tree-dryland-f", - weight = 47 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-black-dirt-1", - tree_name = "tree-dryland-h", - weight = 384 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-black-dirt-1", - tree_name = "tree-dryland-i", - weight = 8 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-black-dirt-1", - tree_name = "tree-dryland-j", - weight = 227 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-black-dirt-1", - tree_name = "tree-dryland-k", - weight = 47 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-black-dirt-1", - tree_name = "tree-dryland-l", - weight = 78153 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-black-dirt-1", - tree_name = "tree-dryland-m", - weight = 18610 - }, - ["tree-dryland-n"] = { - tile_name = "mineral-black-dirt-1", - tree_name = "tree-dryland-n", - weight = 456 - }, - ["tree-dryland-o"] = { - tile_name = "mineral-black-dirt-1", - tree_name = "tree-dryland-o", - weight = 32970 - }, - ["tree-grassland-d"] = { - tile_name = "mineral-black-dirt-1", - tree_name = "tree-grassland-d", - weight = 337 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-black-dirt-1", - tree_name = "tree-grassland-e", - weight = 392 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-black-dirt-1", - tree_name = "tree-grassland-h", - weight = 266 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-black-dirt-1", - tree_name = "tree-grassland-h2", - weight = 82 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-black-dirt-1", - tree_name = "tree-grassland-h3", - weight = 80750 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-black-dirt-1", - tree_name = "tree-grassland-i", - weight = 400 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-black-dirt-1", - tree_name = "tree-grassland-k", - weight = 59 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-black-dirt-1", - tree_name = "tree-grassland-l", - weight = 15 - }, - ["tree-grassland-m"] = { - tile_name = "mineral-black-dirt-1", - tree_name = "tree-grassland-m", - weight = 13202 - }, - ["tree-grassland-n"] = { - tile_name = "mineral-black-dirt-1", - tree_name = "tree-grassland-n", - weight = 42 - }, - ["tree-grassland-p"] = { - tile_name = "mineral-black-dirt-1", - tree_name = "tree-grassland-p", - weight = 9470 - }, - ["tree-snow-a"] = { - tile_name = "mineral-black-dirt-1", - tree_name = "tree-snow-a", - weight = 33 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-black-dirt-1", - tree_name = "tree-wetland-e", - weight = 2 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-black-dirt-1", - tree_name = "tree-wetland-k", - weight = 4831 - }, - ["tree-wetland-l"] = { - tile_name = "mineral-black-dirt-1", - tree_name = "tree-wetland-l", - weight = 2204 - }, - ["tree-wetland-o"] = { - tile_name = "mineral-black-dirt-1", - tree_name = "tree-wetland-o", - weight = 11300 - } -} -terrains["mineral-black-dirt-2"] = { - name = "mineral-black-dirt-2", - ["tree-desert-i"] = { - tile_name = "mineral-black-dirt-2", - tree_name = "tree-desert-i", - weight = 2 - }, - ["tree-desert-j"] = { - tile_name = "mineral-black-dirt-2", - tree_name = "tree-desert-j", - weight = 111 - }, - ["tree-desert-k"] = { - tile_name = "mineral-black-dirt-2", - tree_name = "tree-desert-k", - weight = 324 - }, - ["tree-desert-n"] = { - tile_name = "mineral-black-dirt-2", - tree_name = "tree-desert-n", - weight = 476 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-black-dirt-2", - tree_name = "tree-dryland-b", - weight = 9 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-black-dirt-2", - tree_name = "tree-dryland-c", - weight = 77 - }, - ["tree-dryland-d"] = { - tile_name = "mineral-black-dirt-2", - tree_name = "tree-dryland-d", - weight = 10 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-black-dirt-2", - tree_name = "tree-dryland-f", - weight = 23 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-black-dirt-2", - tree_name = "tree-dryland-h", - weight = 296 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-black-dirt-2", - tree_name = "tree-dryland-i", - weight = 6 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-black-dirt-2", - tree_name = "tree-dryland-j", - weight = 131 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-black-dirt-2", - tree_name = "tree-dryland-k", - weight = 20 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-black-dirt-2", - tree_name = "tree-dryland-l", - weight = 46932 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-black-dirt-2", - tree_name = "tree-dryland-m", - weight = 10473 - }, - ["tree-dryland-n"] = { - tile_name = "mineral-black-dirt-2", - tree_name = "tree-dryland-n", - weight = 259 - }, - ["tree-dryland-o"] = { - tile_name = "mineral-black-dirt-2", - tree_name = "tree-dryland-o", - weight = 16493 - }, - ["tree-grassland-d"] = { - tile_name = "mineral-black-dirt-2", - tree_name = "tree-grassland-d", - weight = 333 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-black-dirt-2", - tree_name = "tree-grassland-e", - weight = 457 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-black-dirt-2", - tree_name = "tree-grassland-h", - weight = 229 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-black-dirt-2", - tree_name = "tree-grassland-h2", - weight = 44 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-black-dirt-2", - tree_name = "tree-grassland-h3", - weight = 48376 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-black-dirt-2", - tree_name = "tree-grassland-i", - weight = 112 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-black-dirt-2", - tree_name = "tree-grassland-k", - weight = 42 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-black-dirt-2", - tree_name = "tree-grassland-l", - weight = 17 - }, - ["tree-grassland-m"] = { - tile_name = "mineral-black-dirt-2", - tree_name = "tree-grassland-m", - weight = 5559 - }, - ["tree-grassland-n"] = { - tile_name = "mineral-black-dirt-2", - tree_name = "tree-grassland-n", - weight = 38 - }, - ["tree-grassland-p"] = { - tile_name = "mineral-black-dirt-2", - tree_name = "tree-grassland-p", - weight = 6685 - }, - ["tree-snow-a"] = { - tile_name = "mineral-black-dirt-2", - tree_name = "tree-snow-a", - weight = 80 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-black-dirt-2", - tree_name = "tree-wetland-k", - weight = 3359 - }, - ["tree-wetland-l"] = { - tile_name = "mineral-black-dirt-2", - tree_name = "tree-wetland-l", - weight = 1142 - }, - ["tree-wetland-o"] = { - tile_name = "mineral-black-dirt-2", - tree_name = "tree-wetland-o", - weight = 7060 - } -} -terrains["mineral-beige-dirt-3"] = { - name = "mineral-beige-dirt-3", - ["tree-desert-c"] = { - tile_name = "mineral-beige-dirt-3", - tree_name = "tree-desert-c", - weight = 4 - }, - ["tree-desert-f"] = { - tile_name = "mineral-beige-dirt-3", - tree_name = "tree-desert-f", - weight = 655 - }, - ["tree-desert-h"] = { - tile_name = "mineral-beige-dirt-3", - tree_name = "tree-desert-h", - weight = 1338 - }, - ["tree-desert-i"] = { - tile_name = "mineral-beige-dirt-3", - tree_name = "tree-desert-i", - weight = 1724 - }, - ["tree-desert-j"] = { - tile_name = "mineral-beige-dirt-3", - tree_name = "tree-desert-j", - weight = 1649 - }, - ["tree-desert-m"] = { - tile_name = "mineral-beige-dirt-3", - tree_name = "tree-desert-m", - weight = 2 - }, - ["tree-desert-n"] = { - tile_name = "mineral-beige-dirt-3", - tree_name = "tree-desert-n", - weight = 2 - }, - ["tree-dryland-a"] = { - tile_name = "mineral-beige-dirt-3", - tree_name = "tree-dryland-a", - weight = 90 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-beige-dirt-3", - tree_name = "tree-dryland-b", - weight = 113 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-beige-dirt-3", - tree_name = "tree-dryland-e", - weight = 127 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-beige-dirt-3", - tree_name = "tree-dryland-f", - weight = 320 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-beige-dirt-3", - tree_name = "tree-dryland-g", - weight = 26741 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-beige-dirt-3", - tree_name = "tree-dryland-h", - weight = 37264 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-beige-dirt-3", - tree_name = "tree-dryland-i", - weight = 71 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-beige-dirt-3", - tree_name = "tree-dryland-j", - weight = 64 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-beige-dirt-3", - tree_name = "tree-dryland-k", - weight = 24608 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-beige-dirt-3", - tree_name = "tree-dryland-l", - weight = 41838 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-beige-dirt-3", - tree_name = "tree-dryland-m", - weight = 59 - }, - ["tree-dryland-n"] = { - tile_name = "mineral-beige-dirt-3", - tree_name = "tree-dryland-n", - weight = 107 - }, - ["tree-grassland-a"] = { - tile_name = "mineral-beige-dirt-3", - tree_name = "tree-grassland-a", - weight = 19 - }, - ["tree-grassland-b"] = { - tile_name = "mineral-beige-dirt-3", - tree_name = "tree-grassland-b", - weight = 11 - }, - ["tree-grassland-c"] = { - tile_name = "mineral-beige-dirt-3", - tree_name = "tree-grassland-c", - weight = 159 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-beige-dirt-3", - tree_name = "tree-grassland-f", - weight = 348 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-beige-dirt-3", - tree_name = "tree-grassland-g", - weight = 22598 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-beige-dirt-3", - tree_name = "tree-grassland-h", - weight = 20913 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-beige-dirt-3", - tree_name = "tree-grassland-h2", - weight = 3592 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-beige-dirt-3", - tree_name = "tree-grassland-h3", - weight = 613 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-beige-dirt-3", - tree_name = "tree-grassland-i", - weight = 170 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-beige-dirt-3", - tree_name = "tree-grassland-k", - weight = 1560 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-beige-dirt-3", - tree_name = "tree-grassland-l", - weight = 18399 - }, - ["tree-grassland-m"] = { - tile_name = "mineral-beige-dirt-3", - tree_name = "tree-grassland-m", - weight = 13 - }, - ["tree-grassland-n"] = { - tile_name = "mineral-beige-dirt-3", - tree_name = "tree-grassland-n", - weight = 410 - }, - ["tree-grassland-p"] = { - tile_name = "mineral-beige-dirt-3", - tree_name = "tree-grassland-p", - weight = 48 - }, - ["tree-wetland-d"] = { - tile_name = "mineral-beige-dirt-3", - tree_name = "tree-wetland-d", - weight = 697 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-beige-dirt-3", - tree_name = "tree-wetland-e", - weight = 7120 - }, - ["tree-wetland-j"] = { - tile_name = "mineral-beige-dirt-3", - tree_name = "tree-wetland-j", - weight = 1147 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-beige-dirt-3", - tree_name = "tree-wetland-k", - weight = 943 - } -} -terrains["mineral-black-dirt-3"] = { - name = "mineral-black-dirt-3", - ["tree-desert-j"] = { - tile_name = "mineral-black-dirt-3", - tree_name = "tree-desert-j", - weight = 32 - }, - ["tree-desert-k"] = { - tile_name = "mineral-black-dirt-3", - tree_name = "tree-desert-k", - weight = 319 - }, - ["tree-desert-n"] = { - tile_name = "mineral-black-dirt-3", - tree_name = "tree-desert-n", - weight = 681 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-black-dirt-3", - tree_name = "tree-dryland-b", - weight = 14 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-black-dirt-3", - tree_name = "tree-dryland-c", - weight = 25 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-black-dirt-3", - tree_name = "tree-dryland-f", - weight = 19 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-black-dirt-3", - tree_name = "tree-dryland-h", - weight = 106 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-black-dirt-3", - tree_name = "tree-dryland-j", - weight = 50 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-black-dirt-3", - tree_name = "tree-dryland-k", - weight = 20 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-black-dirt-3", - tree_name = "tree-dryland-l", - weight = 22236 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-black-dirt-3", - tree_name = "tree-dryland-m", - weight = 3972 - }, - ["tree-dryland-n"] = { - tile_name = "mineral-black-dirt-3", - tree_name = "tree-dryland-n", - weight = 60 - }, - ["tree-dryland-o"] = { - tile_name = "mineral-black-dirt-3", - tree_name = "tree-dryland-o", - weight = 7996 - }, - ["tree-grassland-d"] = { - tile_name = "mineral-black-dirt-3", - tree_name = "tree-grassland-d", - weight = 188 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-black-dirt-3", - tree_name = "tree-grassland-e", - weight = 156 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-black-dirt-3", - tree_name = "tree-grassland-h", - weight = 224 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-black-dirt-3", - tree_name = "tree-grassland-h2", - weight = 64 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-black-dirt-3", - tree_name = "tree-grassland-h3", - weight = 20998 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-black-dirt-3", - tree_name = "tree-grassland-i", - weight = 163 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-black-dirt-3", - tree_name = "tree-grassland-k", - weight = 73 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-black-dirt-3", - tree_name = "tree-grassland-l", - weight = 19 - }, - ["tree-grassland-m"] = { - tile_name = "mineral-black-dirt-3", - tree_name = "tree-grassland-m", - weight = 3814 - }, - ["tree-grassland-n"] = { - tile_name = "mineral-black-dirt-3", - tree_name = "tree-grassland-n", - weight = 18 - }, - ["tree-grassland-p"] = { - tile_name = "mineral-black-dirt-3", - tree_name = "tree-grassland-p", - weight = 3099 - }, - ["tree-snow-a"] = { - tile_name = "mineral-black-dirt-3", - tree_name = "tree-snow-a", - weight = 5 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-black-dirt-3", - tree_name = "tree-wetland-k", - weight = 1369 - }, - ["tree-wetland-l"] = { - tile_name = "mineral-black-dirt-3", - tree_name = "tree-wetland-l", - weight = 384 - }, - ["tree-wetland-o"] = { - tile_name = "mineral-black-dirt-3", - tree_name = "tree-wetland-o", - weight = 2852 - } -} -terrains["mineral-grey-dirt-4"] = { - name = "mineral-grey-dirt-4", - ["tree-desert-i"] = { - tile_name = "mineral-grey-dirt-4", - tree_name = "tree-desert-i", - weight = 543 - }, - ["tree-desert-j"] = { - tile_name = "mineral-grey-dirt-4", - tree_name = "tree-desert-j", - weight = 331 - }, - ["tree-desert-n"] = { - tile_name = "mineral-grey-dirt-4", - tree_name = "tree-desert-n", - weight = 689 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-grey-dirt-4", - tree_name = "tree-dryland-b", - weight = 47 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-grey-dirt-4", - tree_name = "tree-dryland-f", - weight = 44 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-grey-dirt-4", - tree_name = "tree-dryland-g", - weight = 16 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-grey-dirt-4", - tree_name = "tree-dryland-h", - weight = 2 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-grey-dirt-4", - tree_name = "tree-dryland-j", - weight = 45 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-grey-dirt-4", - tree_name = "tree-dryland-k", - weight = 3336 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-grey-dirt-4", - tree_name = "tree-dryland-l", - weight = 32349 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-grey-dirt-4", - tree_name = "tree-dryland-m", - weight = 4 - }, - ["tree-dryland-n"] = { - tile_name = "mineral-grey-dirt-4", - tree_name = "tree-dryland-n", - weight = 406 - }, - ["tree-dryland-o"] = { - tile_name = "mineral-grey-dirt-4", - tree_name = "tree-dryland-o", - weight = 43 - }, - ["tree-grassland-c"] = { - tile_name = "mineral-grey-dirt-4", - tree_name = "tree-grassland-c", - weight = 12 - }, - ["tree-grassland-d"] = { - tile_name = "mineral-grey-dirt-4", - tree_name = "tree-grassland-d", - weight = 5 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-grey-dirt-4", - tree_name = "tree-grassland-f", - weight = 2 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-grey-dirt-4", - tree_name = "tree-grassland-g", - weight = 48 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-grey-dirt-4", - tree_name = "tree-grassland-h", - weight = 12331 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-grey-dirt-4", - tree_name = "tree-grassland-h3", - weight = 1272 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-grey-dirt-4", - tree_name = "tree-grassland-k", - weight = 777 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-grey-dirt-4", - tree_name = "tree-grassland-l", - weight = 3955 - }, - ["tree-grassland-m"] = { - tile_name = "mineral-grey-dirt-4", - tree_name = "tree-grassland-m", - weight = 22 - }, - ["tree-grassland-n"] = { - tile_name = "mineral-grey-dirt-4", - tree_name = "tree-grassland-n", - weight = 15211 - }, - ["tree-grassland-p"] = { - tile_name = "mineral-grey-dirt-4", - tree_name = "tree-grassland-p", - weight = 27260 - }, - ["tree-grassland-q"] = { - tile_name = "mineral-grey-dirt-4", - tree_name = "tree-grassland-q", - weight = 11 - }, - ["tree-snow-a"] = { - tile_name = "mineral-grey-dirt-4", - tree_name = "tree-snow-a", - weight = 3 - }, - ["tree-wetland-j"] = { - tile_name = "mineral-grey-dirt-4", - tree_name = "tree-wetland-j", - weight = 1427 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-grey-dirt-4", - tree_name = "tree-wetland-k", - weight = 1054 - }, - ["tree-wetland-n"] = { - tile_name = "mineral-grey-dirt-4", - tree_name = "tree-wetland-n", - weight = 934 - }, - ["tree-wetland-o"] = { - tile_name = "mineral-grey-dirt-4", - tree_name = "tree-wetland-o", - weight = 861 - } -} -terrains["mineral-beige-dirt-5"] = { - name = "mineral-beige-dirt-5", - ["tree-desert-c"] = { - tile_name = "mineral-beige-dirt-5", - tree_name = "tree-desert-c", - weight = 2 - }, - ["tree-desert-f"] = { - tile_name = "mineral-beige-dirt-5", - tree_name = "tree-desert-f", - weight = 195 - }, - ["tree-desert-h"] = { - tile_name = "mineral-beige-dirt-5", - tree_name = "tree-desert-h", - weight = 718 - }, - ["tree-desert-i"] = { - tile_name = "mineral-beige-dirt-5", - tree_name = "tree-desert-i", - weight = 1113 - }, - ["tree-desert-j"] = { - tile_name = "mineral-beige-dirt-5", - tree_name = "tree-desert-j", - weight = 778 - }, - ["tree-desert-m"] = { - tile_name = "mineral-beige-dirt-5", - tree_name = "tree-desert-m", - weight = 2 - }, - ["tree-desert-n"] = { - tile_name = "mineral-beige-dirt-5", - tree_name = "tree-desert-n", - weight = 2 - }, - ["tree-dryland-a"] = { - tile_name = "mineral-beige-dirt-5", - tree_name = "tree-dryland-a", - weight = 11 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-beige-dirt-5", - tree_name = "tree-dryland-b", - weight = 42 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-beige-dirt-5", - tree_name = "tree-dryland-e", - weight = 45 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-beige-dirt-5", - tree_name = "tree-dryland-f", - weight = 77 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-beige-dirt-5", - tree_name = "tree-dryland-g", - weight = 7072 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-beige-dirt-5", - tree_name = "tree-dryland-h", - weight = 12518 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-beige-dirt-5", - tree_name = "tree-dryland-i", - weight = 13 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-beige-dirt-5", - tree_name = "tree-dryland-j", - weight = 11 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-beige-dirt-5", - tree_name = "tree-dryland-k", - weight = 6116 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-beige-dirt-5", - tree_name = "tree-dryland-l", - weight = 11284 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-beige-dirt-5", - tree_name = "tree-dryland-m", - weight = 28 - }, - ["tree-dryland-n"] = { - tile_name = "mineral-beige-dirt-5", - tree_name = "tree-dryland-n", - weight = 24 - }, - ["tree-grassland-a"] = { - tile_name = "mineral-beige-dirt-5", - tree_name = "tree-grassland-a", - weight = 4 - }, - ["tree-grassland-b"] = { - tile_name = "mineral-beige-dirt-5", - tree_name = "tree-grassland-b", - weight = 3 - }, - ["tree-grassland-c"] = { - tile_name = "mineral-beige-dirt-5", - tree_name = "tree-grassland-c", - weight = 36 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-beige-dirt-5", - tree_name = "tree-grassland-f", - weight = 143 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-beige-dirt-5", - tree_name = "tree-grassland-g", - weight = 10109 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-beige-dirt-5", - tree_name = "tree-grassland-h", - weight = 6490 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-beige-dirt-5", - tree_name = "tree-grassland-h2", - weight = 2378 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-beige-dirt-5", - tree_name = "tree-grassland-h3", - weight = 661 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-beige-dirt-5", - tree_name = "tree-grassland-i", - weight = 82 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-beige-dirt-5", - tree_name = "tree-grassland-k", - weight = 1724 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-beige-dirt-5", - tree_name = "tree-grassland-l", - weight = 10192 - }, - ["tree-grassland-n"] = { - tile_name = "mineral-beige-dirt-5", - tree_name = "tree-grassland-n", - weight = 168 - }, - ["tree-grassland-p"] = { - tile_name = "mineral-beige-dirt-5", - tree_name = "tree-grassland-p", - weight = 8 - }, - ["tree-wetland-d"] = { - tile_name = "mineral-beige-dirt-5", - tree_name = "tree-wetland-d", - weight = 185 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-beige-dirt-5", - tree_name = "tree-wetland-e", - weight = 1912 - }, - ["tree-wetland-j"] = { - tile_name = "mineral-beige-dirt-5", - tree_name = "tree-wetland-j", - weight = 481 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-beige-dirt-5", - tree_name = "tree-wetland-k", - weight = 367 - } -} -terrains["mineral-beige-dirt-4"] = { - name = "mineral-beige-dirt-4", - ["tree-desert-f"] = { - tile_name = "mineral-beige-dirt-4", - tree_name = "tree-desert-f", - weight = 486 - }, - ["tree-desert-g"] = { - tile_name = "mineral-beige-dirt-4", - tree_name = "tree-desert-g", - weight = 3 - }, - ["tree-desert-h"] = { - tile_name = "mineral-beige-dirt-4", - tree_name = "tree-desert-h", - weight = 1121 - }, - ["tree-desert-i"] = { - tile_name = "mineral-beige-dirt-4", - tree_name = "tree-desert-i", - weight = 1188 - }, - ["tree-desert-j"] = { - tile_name = "mineral-beige-dirt-4", - tree_name = "tree-desert-j", - weight = 972 - }, - ["tree-desert-l"] = { - tile_name = "mineral-beige-dirt-4", - tree_name = "tree-desert-l", - weight = 2 - }, - ["tree-dryland-a"] = { - tile_name = "mineral-beige-dirt-4", - tree_name = "tree-dryland-a", - weight = 25 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-beige-dirt-4", - tree_name = "tree-dryland-b", - weight = 78 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-beige-dirt-4", - tree_name = "tree-dryland-e", - weight = 83 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-beige-dirt-4", - tree_name = "tree-dryland-f", - weight = 167 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-beige-dirt-4", - tree_name = "tree-dryland-g", - weight = 11801 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-beige-dirt-4", - tree_name = "tree-dryland-h", - weight = 20994 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-beige-dirt-4", - tree_name = "tree-dryland-i", - weight = 35 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-beige-dirt-4", - tree_name = "tree-dryland-j", - weight = 35 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-beige-dirt-4", - tree_name = "tree-dryland-k", - weight = 11944 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-beige-dirt-4", - tree_name = "tree-dryland-l", - weight = 23578 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-beige-dirt-4", - tree_name = "tree-dryland-m", - weight = 51 - }, - ["tree-dryland-n"] = { - tile_name = "mineral-beige-dirt-4", - tree_name = "tree-dryland-n", - weight = 52 - }, - ["tree-grassland-a"] = { - tile_name = "mineral-beige-dirt-4", - tree_name = "tree-grassland-a", - weight = 2 - }, - ["tree-grassland-c"] = { - tile_name = "mineral-beige-dirt-4", - tree_name = "tree-grassland-c", - weight = 50 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-beige-dirt-4", - tree_name = "tree-grassland-f", - weight = 65 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-beige-dirt-4", - tree_name = "tree-grassland-g", - weight = 13274 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-beige-dirt-4", - tree_name = "tree-grassland-h", - weight = 11458 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-beige-dirt-4", - tree_name = "tree-grassland-h2", - weight = 2614 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-beige-dirt-4", - tree_name = "tree-grassland-h3", - weight = 515 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-beige-dirt-4", - tree_name = "tree-grassland-i", - weight = 110 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-beige-dirt-4", - tree_name = "tree-grassland-k", - weight = 1559 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-beige-dirt-4", - tree_name = "tree-grassland-l", - weight = 12179 - }, - ["tree-grassland-m"] = { - tile_name = "mineral-beige-dirt-4", - tree_name = "tree-grassland-m", - weight = 60 - }, - ["tree-grassland-n"] = { - tile_name = "mineral-beige-dirt-4", - tree_name = "tree-grassland-n", - weight = 156 - }, - ["tree-grassland-p"] = { - tile_name = "mineral-beige-dirt-4", - tree_name = "tree-grassland-p", - weight = 17 - }, - ["tree-wetland-d"] = { - tile_name = "mineral-beige-dirt-4", - tree_name = "tree-wetland-d", - weight = 460 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-beige-dirt-4", - tree_name = "tree-wetland-e", - weight = 3101 - }, - ["tree-wetland-j"] = { - tile_name = "mineral-beige-dirt-4", - tree_name = "tree-wetland-j", - weight = 564 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-beige-dirt-4", - tree_name = "tree-wetland-k", - weight = 290 - } -} -terrains["mineral-beige-dirt-6"] = { - name = "mineral-beige-dirt-6", - ["tree-desert-f"] = { - tile_name = "mineral-beige-dirt-6", - tree_name = "tree-desert-f", - weight = 260 - }, - ["tree-desert-h"] = { - tile_name = "mineral-beige-dirt-6", - tree_name = "tree-desert-h", - weight = 599 - }, - ["tree-desert-i"] = { - tile_name = "mineral-beige-dirt-6", - tree_name = "tree-desert-i", - weight = 1243 - }, - ["tree-desert-j"] = { - tile_name = "mineral-beige-dirt-6", - tree_name = "tree-desert-j", - weight = 524 - }, - ["tree-dryland-a"] = { - tile_name = "mineral-beige-dirt-6", - tree_name = "tree-dryland-a", - weight = 13 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-beige-dirt-6", - tree_name = "tree-dryland-b", - weight = 38 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-beige-dirt-6", - tree_name = "tree-dryland-e", - weight = 32 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-beige-dirt-6", - tree_name = "tree-dryland-f", - weight = 88 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-beige-dirt-6", - tree_name = "tree-dryland-g", - weight = 4970 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-beige-dirt-6", - tree_name = "tree-dryland-h", - weight = 8794 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-beige-dirt-6", - tree_name = "tree-dryland-i", - weight = 12 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-beige-dirt-6", - tree_name = "tree-dryland-j", - weight = 11 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-beige-dirt-6", - tree_name = "tree-dryland-k", - weight = 4719 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-beige-dirt-6", - tree_name = "tree-dryland-l", - weight = 10614 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-beige-dirt-6", - tree_name = "tree-dryland-m", - weight = 10 - }, - ["tree-dryland-n"] = { - tile_name = "mineral-beige-dirt-6", - tree_name = "tree-dryland-n", - weight = 17 - }, - ["tree-grassland-a"] = { - tile_name = "mineral-beige-dirt-6", - tree_name = "tree-grassland-a", - weight = 22 - }, - ["tree-grassland-c"] = { - tile_name = "mineral-beige-dirt-6", - tree_name = "tree-grassland-c", - weight = 80 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-beige-dirt-6", - tree_name = "tree-grassland-f", - weight = 23 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-beige-dirt-6", - tree_name = "tree-grassland-g", - weight = 6803 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-beige-dirt-6", - tree_name = "tree-grassland-h", - weight = 8325 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-beige-dirt-6", - tree_name = "tree-grassland-h2", - weight = 1841 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-beige-dirt-6", - tree_name = "tree-grassland-h3", - weight = 417 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-beige-dirt-6", - tree_name = "tree-grassland-i", - weight = 131 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-beige-dirt-6", - tree_name = "tree-grassland-k", - weight = 1157 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-beige-dirt-6", - tree_name = "tree-grassland-l", - weight = 10643 - }, - ["tree-grassland-m"] = { - tile_name = "mineral-beige-dirt-6", - tree_name = "tree-grassland-m", - weight = 2 - }, - ["tree-grassland-n"] = { - tile_name = "mineral-beige-dirt-6", - tree_name = "tree-grassland-n", - weight = 152 - }, - ["tree-grassland-p"] = { - tile_name = "mineral-beige-dirt-6", - tree_name = "tree-grassland-p", - weight = 17 - }, - ["tree-wetland-d"] = { - tile_name = "mineral-beige-dirt-6", - tree_name = "tree-wetland-d", - weight = 365 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-beige-dirt-6", - tree_name = "tree-wetland-e", - weight = 2731 - }, - ["tree-wetland-j"] = { - tile_name = "mineral-beige-dirt-6", - tree_name = "tree-wetland-j", - weight = 331 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-beige-dirt-6", - tree_name = "tree-wetland-k", - weight = 100 - } -} -terrains["mineral-grey-dirt-5"] = { - name = "mineral-grey-dirt-5", - ["tree-desert-i"] = { - tile_name = "mineral-grey-dirt-5", - tree_name = "tree-desert-i", - weight = 254 - }, - ["tree-desert-j"] = { - tile_name = "mineral-grey-dirt-5", - tree_name = "tree-desert-j", - weight = 239 - }, - ["tree-desert-k"] = { - tile_name = "mineral-grey-dirt-5", - tree_name = "tree-desert-k", - weight = 16 - }, - ["tree-desert-m"] = { - tile_name = "mineral-grey-dirt-5", - tree_name = "tree-desert-m", - weight = 2 - }, - ["tree-desert-n"] = { - tile_name = "mineral-grey-dirt-5", - tree_name = "tree-desert-n", - weight = 529 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-grey-dirt-5", - tree_name = "tree-dryland-b", - weight = 11 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-grey-dirt-5", - tree_name = "tree-dryland-f", - weight = 18 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-grey-dirt-5", - tree_name = "tree-dryland-g", - weight = 9 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-grey-dirt-5", - tree_name = "tree-dryland-h", - weight = 4 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-grey-dirt-5", - tree_name = "tree-dryland-j", - weight = 29 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-grey-dirt-5", - tree_name = "tree-dryland-k", - weight = 2817 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-grey-dirt-5", - tree_name = "tree-dryland-l", - weight = 15494 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-grey-dirt-5", - tree_name = "tree-dryland-m", - weight = 6 - }, - ["tree-dryland-n"] = { - tile_name = "mineral-grey-dirt-5", - tree_name = "tree-dryland-n", - weight = 72 - }, - ["tree-dryland-o"] = { - tile_name = "mineral-grey-dirt-5", - tree_name = "tree-dryland-o", - weight = 20 - }, - ["tree-grassland-c"] = { - tile_name = "mineral-grey-dirt-5", - tree_name = "tree-grassland-c", - weight = 26 - }, - ["tree-grassland-d"] = { - tile_name = "mineral-grey-dirt-5", - tree_name = "tree-grassland-d", - weight = 2 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-grey-dirt-5", - tree_name = "tree-grassland-g", - weight = 14 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-grey-dirt-5", - tree_name = "tree-grassland-h", - weight = 11995 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-grey-dirt-5", - tree_name = "tree-grassland-h3", - weight = 617 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-grey-dirt-5", - tree_name = "tree-grassland-i", - weight = 6 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-grey-dirt-5", - tree_name = "tree-grassland-k", - weight = 202 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-grey-dirt-5", - tree_name = "tree-grassland-l", - weight = 3710 - }, - ["tree-grassland-m"] = { - tile_name = "mineral-grey-dirt-5", - tree_name = "tree-grassland-m", - weight = 24 - }, - ["tree-grassland-n"] = { - tile_name = "mineral-grey-dirt-5", - tree_name = "tree-grassland-n", - weight = 11498 - }, - ["tree-grassland-p"] = { - tile_name = "mineral-grey-dirt-5", - tree_name = "tree-grassland-p", - weight = 20100 - }, - ["tree-grassland-q"] = { - tile_name = "mineral-grey-dirt-5", - tree_name = "tree-grassland-q", - weight = 53 - }, - ["tree-snow-a"] = { - tile_name = "mineral-grey-dirt-5", - tree_name = "tree-snow-a", - weight = 54 - }, - ["tree-wetland-j"] = { - tile_name = "mineral-grey-dirt-5", - tree_name = "tree-wetland-j", - weight = 830 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-grey-dirt-5", - tree_name = "tree-wetland-k", - weight = 723 - }, - ["tree-wetland-n"] = { - tile_name = "mineral-grey-dirt-5", - tree_name = "tree-wetland-n", - weight = 500 - }, - ["tree-wetland-o"] = { - tile_name = "mineral-grey-dirt-5", - tree_name = "tree-wetland-o", - weight = 991 - } -} -terrains["mineral-beige-sand-2"] = { - name = "mineral-beige-sand-2", - ["tree-desert-b"] = { - tile_name = "mineral-beige-sand-2", - tree_name = "tree-desert-b", - weight = 5 - }, - ["tree-desert-c"] = { - tile_name = "mineral-beige-sand-2", - tree_name = "tree-desert-c", - weight = 13 - }, - ["tree-desert-f"] = { - tile_name = "mineral-beige-sand-2", - tree_name = "tree-desert-f", - weight = 4498 - }, - ["tree-desert-g"] = { - tile_name = "mineral-beige-sand-2", - tree_name = "tree-desert-g", - weight = 10 - }, - ["tree-desert-h"] = { - tile_name = "mineral-beige-sand-2", - tree_name = "tree-desert-h", - weight = 12406 - }, - ["tree-desert-i"] = { - tile_name = "mineral-beige-sand-2", - tree_name = "tree-desert-i", - weight = 14757 - }, - ["tree-desert-j"] = { - tile_name = "mineral-beige-sand-2", - tree_name = "tree-desert-j", - weight = 17672 - }, - ["tree-desert-k"] = { - tile_name = "mineral-beige-sand-2", - tree_name = "tree-desert-k", - weight = 2 - }, - ["tree-desert-l"] = { - tile_name = "mineral-beige-sand-2", - tree_name = "tree-desert-l", - weight = 13 - }, - ["tree-desert-m"] = { - tile_name = "mineral-beige-sand-2", - tree_name = "tree-desert-m", - weight = 13 - }, - ["tree-desert-n"] = { - tile_name = "mineral-beige-sand-2", - tree_name = "tree-desert-n", - weight = 12 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-beige-sand-2", - tree_name = "tree-dryland-b", - weight = 6 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-beige-sand-2", - tree_name = "tree-dryland-e", - weight = 8 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-beige-sand-2", - tree_name = "tree-dryland-f", - weight = 3 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-beige-sand-2", - tree_name = "tree-dryland-g", - weight = 1029 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-beige-sand-2", - tree_name = "tree-dryland-h", - weight = 2526 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-beige-sand-2", - tree_name = "tree-dryland-j", - weight = 2 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-beige-sand-2", - tree_name = "tree-dryland-k", - weight = 525 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-beige-sand-2", - tree_name = "tree-dryland-l", - weight = 1956 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-beige-sand-2", - tree_name = "tree-dryland-m", - weight = 2 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-beige-sand-2", - tree_name = "tree-grassland-f", - weight = 14 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-beige-sand-2", - tree_name = "tree-grassland-g", - weight = 1272 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-beige-sand-2", - tree_name = "tree-grassland-h", - weight = 660 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-beige-sand-2", - tree_name = "tree-grassland-h2", - weight = 398 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-beige-sand-2", - tree_name = "tree-grassland-h3", - weight = 3 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-beige-sand-2", - tree_name = "tree-grassland-k", - weight = 11 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-beige-sand-2", - tree_name = "tree-grassland-l", - weight = 704 - }, - ["tree-wetland-d"] = { - tile_name = "mineral-beige-sand-2", - tree_name = "tree-wetland-d", - weight = 3536 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-beige-sand-2", - tree_name = "tree-wetland-e", - weight = 28039 - }, - ["tree-wetland-j"] = { - tile_name = "mineral-beige-sand-2", - tree_name = "tree-wetland-j", - weight = 2322 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-beige-sand-2", - tree_name = "tree-wetland-k", - weight = 2194 - } -} -terrains["mineral-beige-sand-1"] = { - name = "mineral-beige-sand-1", - ["tree-desert-b"] = { - tile_name = "mineral-beige-sand-1", - tree_name = "tree-desert-b", - weight = 4 - }, - ["tree-desert-c"] = { - tile_name = "mineral-beige-sand-1", - tree_name = "tree-desert-c", - weight = 20 - }, - ["tree-desert-f"] = { - tile_name = "mineral-beige-sand-1", - tree_name = "tree-desert-f", - weight = 8040 - }, - ["tree-desert-g"] = { - tile_name = "mineral-beige-sand-1", - tree_name = "tree-desert-g", - weight = 9 - }, - ["tree-desert-h"] = { - tile_name = "mineral-beige-sand-1", - tree_name = "tree-desert-h", - weight = 21726 - }, - ["tree-desert-i"] = { - tile_name = "mineral-beige-sand-1", - tree_name = "tree-desert-i", - weight = 28380 - }, - ["tree-desert-j"] = { - tile_name = "mineral-beige-sand-1", - tree_name = "tree-desert-j", - weight = 26124 - }, - ["tree-desert-k"] = { - tile_name = "mineral-beige-sand-1", - tree_name = "tree-desert-k", - weight = 11 - }, - ["tree-desert-l"] = { - tile_name = "mineral-beige-sand-1", - tree_name = "tree-desert-l", - weight = 12 - }, - ["tree-desert-m"] = { - tile_name = "mineral-beige-sand-1", - tree_name = "tree-desert-m", - weight = 16 - }, - ["tree-desert-n"] = { - tile_name = "mineral-beige-sand-1", - tree_name = "tree-desert-n", - weight = 19 - }, - ["tree-dryland-a"] = { - tile_name = "mineral-beige-sand-1", - tree_name = "tree-dryland-a", - weight = 4 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-beige-sand-1", - tree_name = "tree-dryland-b", - weight = 3 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-beige-sand-1", - tree_name = "tree-dryland-f", - weight = 7 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-beige-sand-1", - tree_name = "tree-dryland-g", - weight = 891 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-beige-sand-1", - tree_name = "tree-dryland-h", - weight = 2263 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-beige-sand-1", - tree_name = "tree-dryland-j", - weight = 2 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-beige-sand-1", - tree_name = "tree-dryland-k", - weight = 1086 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-beige-sand-1", - tree_name = "tree-dryland-l", - weight = 2771 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-beige-sand-1", - tree_name = "tree-grassland-f", - weight = 61 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-beige-sand-1", - tree_name = "tree-grassland-g", - weight = 3228 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-beige-sand-1", - tree_name = "tree-grassland-h", - weight = 1323 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-beige-sand-1", - tree_name = "tree-grassland-h2", - weight = 500 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-beige-sand-1", - tree_name = "tree-grassland-h3", - weight = 75 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-beige-sand-1", - tree_name = "tree-grassland-k", - weight = 14 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-beige-sand-1", - tree_name = "tree-grassland-l", - weight = 1180 - }, - ["tree-wetland-d"] = { - tile_name = "mineral-beige-sand-1", - tree_name = "tree-wetland-d", - weight = 5370 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-beige-sand-1", - tree_name = "tree-wetland-e", - weight = 49252 - }, - ["tree-wetland-j"] = { - tile_name = "mineral-beige-sand-1", - tree_name = "tree-wetland-j", - weight = 3000 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-beige-sand-1", - tree_name = "tree-wetland-k", - weight = 3339 - } -} -terrains["mineral-beige-sand-3"] = { - name = "mineral-beige-sand-3", - ["tree-desert-b"] = { - tile_name = "mineral-beige-sand-3", - tree_name = "tree-desert-b", - weight = 4 - }, - ["tree-desert-c"] = { - tile_name = "mineral-beige-sand-3", - tree_name = "tree-desert-c", - weight = 3 - }, - ["tree-desert-f"] = { - tile_name = "mineral-beige-sand-3", - tree_name = "tree-desert-f", - weight = 2357 - }, - ["tree-desert-g"] = { - tile_name = "mineral-beige-sand-3", - tree_name = "tree-desert-g", - weight = 5 - }, - ["tree-desert-h"] = { - tile_name = "mineral-beige-sand-3", - tree_name = "tree-desert-h", - weight = 6567 - }, - ["tree-desert-i"] = { - tile_name = "mineral-beige-sand-3", - tree_name = "tree-desert-i", - weight = 8653 - }, - ["tree-desert-j"] = { - tile_name = "mineral-beige-sand-3", - tree_name = "tree-desert-j", - weight = 8815 - }, - ["tree-desert-k"] = { - tile_name = "mineral-beige-sand-3", - tree_name = "tree-desert-k", - weight = 5 - }, - ["tree-desert-l"] = { - tile_name = "mineral-beige-sand-3", - tree_name = "tree-desert-l", - weight = 6 - }, - ["tree-desert-m"] = { - tile_name = "mineral-beige-sand-3", - tree_name = "tree-desert-m", - weight = 12 - }, - ["tree-desert-n"] = { - tile_name = "mineral-beige-sand-3", - tree_name = "tree-desert-n", - weight = 12 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-beige-sand-3", - tree_name = "tree-dryland-f", - weight = 3 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-beige-sand-3", - tree_name = "tree-dryland-g", - weight = 215 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-beige-sand-3", - tree_name = "tree-dryland-h", - weight = 1264 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-beige-sand-3", - tree_name = "tree-dryland-k", - weight = 460 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-beige-sand-3", - tree_name = "tree-dryland-l", - weight = 1263 - }, - ["tree-dryland-n"] = { - tile_name = "mineral-beige-sand-3", - tree_name = "tree-dryland-n", - weight = 2 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-beige-sand-3", - tree_name = "tree-grassland-f", - weight = 30 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-beige-sand-3", - tree_name = "tree-grassland-g", - weight = 717 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-beige-sand-3", - tree_name = "tree-grassland-h", - weight = 550 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-beige-sand-3", - tree_name = "tree-grassland-h2", - weight = 347 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-beige-sand-3", - tree_name = "tree-grassland-h3", - weight = 34 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-beige-sand-3", - tree_name = "tree-grassland-k", - weight = 3 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-beige-sand-3", - tree_name = "tree-grassland-l", - weight = 328 - }, - ["tree-wetland-d"] = { - tile_name = "mineral-beige-sand-3", - tree_name = "tree-wetland-d", - weight = 1889 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-beige-sand-3", - tree_name = "tree-wetland-e", - weight = 16231 - }, - ["tree-wetland-j"] = { - tile_name = "mineral-beige-sand-3", - tree_name = "tree-wetland-j", - weight = 558 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-beige-sand-3", - tree_name = "tree-wetland-k", - weight = 1392 - } -} -terrains["mineral-cream-dirt-1"] = { - name = "mineral-cream-dirt-1", - ["tree-desert-f"] = { - tile_name = "mineral-cream-dirt-1", - tree_name = "tree-desert-f", - weight = 671 - }, - ["tree-desert-g"] = { - tile_name = "mineral-cream-dirt-1", - tree_name = "tree-desert-g", - weight = 190 - }, - ["tree-desert-i"] = { - tile_name = "mineral-cream-dirt-1", - tree_name = "tree-desert-i", - weight = 915 - }, - ["tree-desert-m"] = { - tile_name = "mineral-cream-dirt-1", - tree_name = "tree-desert-m", - weight = 152 - }, - ["tree-dryland-a"] = { - tile_name = "mineral-cream-dirt-1", - tree_name = "tree-dryland-a", - weight = 12 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-cream-dirt-1", - tree_name = "tree-dryland-e", - weight = 41341 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-cream-dirt-1", - tree_name = "tree-dryland-f", - weight = 8 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-cream-dirt-1", - tree_name = "tree-dryland-g", - weight = 9666 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-cream-dirt-1", - tree_name = "tree-dryland-h", - weight = 118 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-cream-dirt-1", - tree_name = "tree-dryland-i", - weight = 47 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-cream-dirt-1", - tree_name = "tree-dryland-j", - weight = 13161 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-cream-dirt-1", - tree_name = "tree-dryland-k", - weight = 10256 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-cream-dirt-1", - tree_name = "tree-dryland-l", - weight = 15 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-cream-dirt-1", - tree_name = "tree-dryland-m", - weight = 16 - }, - ["tree-dryland-n"] = { - tile_name = "mineral-cream-dirt-1", - tree_name = "tree-dryland-n", - weight = 27 - }, - ["tree-grassland-a"] = { - tile_name = "mineral-cream-dirt-1", - tree_name = "tree-grassland-a", - weight = 48 - }, - ["tree-grassland-b"] = { - tile_name = "mineral-cream-dirt-1", - tree_name = "tree-grassland-b", - weight = 8 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-cream-dirt-1", - tree_name = "tree-grassland-f", - weight = 776 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-cream-dirt-1", - tree_name = "tree-grassland-g", - weight = 36 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-cream-dirt-1", - tree_name = "tree-grassland-h", - weight = 141 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-cream-dirt-1", - tree_name = "tree-grassland-h2", - weight = 88 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-cream-dirt-1", - tree_name = "tree-grassland-h3", - weight = 2 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-cream-dirt-1", - tree_name = "tree-grassland-i", - weight = 49 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-cream-dirt-1", - tree_name = "tree-grassland-k", - weight = 3680 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-cream-dirt-1", - tree_name = "tree-grassland-l", - weight = 131 - }, - ["tree-wetland-d"] = { - tile_name = "mineral-cream-dirt-1", - tree_name = "tree-wetland-d", - weight = 128 - }, - ["tree-wetland-g"] = { - tile_name = "mineral-cream-dirt-1", - tree_name = "tree-wetland-g", - weight = 5106 - }, - ["tree-wetland-i"] = { - tile_name = "mineral-cream-dirt-1", - tree_name = "tree-wetland-i", - weight = 428 - }, - ["tree-wetland-j"] = { - tile_name = "mineral-cream-dirt-1", - tree_name = "tree-wetland-j", - weight = 44 - } -} -terrains["mineral-cream-dirt-4"] = { - name = "mineral-cream-dirt-4", - ["tree-desert-f"] = { - tile_name = "mineral-cream-dirt-4", - tree_name = "tree-desert-f", - weight = 329 - }, - ["tree-desert-g"] = { - tile_name = "mineral-cream-dirt-4", - tree_name = "tree-desert-g", - weight = 20 - }, - ["tree-desert-i"] = { - tile_name = "mineral-cream-dirt-4", - tree_name = "tree-desert-i", - weight = 331 - }, - ["tree-desert-m"] = { - tile_name = "mineral-cream-dirt-4", - tree_name = "tree-desert-m", - weight = 47 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-cream-dirt-4", - tree_name = "tree-dryland-e", - weight = 6037 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-cream-dirt-4", - tree_name = "tree-dryland-f", - weight = 2 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-cream-dirt-4", - tree_name = "tree-dryland-g", - weight = 2191 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-cream-dirt-4", - tree_name = "tree-dryland-h", - weight = 29 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-cream-dirt-4", - tree_name = "tree-dryland-i", - weight = 12 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-cream-dirt-4", - tree_name = "tree-dryland-j", - weight = 2305 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-cream-dirt-4", - tree_name = "tree-dryland-k", - weight = 1277 - }, - ["tree-dryland-n"] = { - tile_name = "mineral-cream-dirt-4", - tree_name = "tree-dryland-n", - weight = 3 - }, - ["tree-grassland-a"] = { - tile_name = "mineral-cream-dirt-4", - tree_name = "tree-grassland-a", - weight = 40 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-cream-dirt-4", - tree_name = "tree-grassland-f", - weight = 213 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-cream-dirt-4", - tree_name = "tree-grassland-g", - weight = 28 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-cream-dirt-4", - tree_name = "tree-grassland-h", - weight = 73 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-cream-dirt-4", - tree_name = "tree-grassland-h2", - weight = 27 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-cream-dirt-4", - tree_name = "tree-grassland-i", - weight = 93 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-cream-dirt-4", - tree_name = "tree-grassland-k", - weight = 754 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-cream-dirt-4", - tree_name = "tree-grassland-l", - weight = 207 - }, - ["tree-wetland-d"] = { - tile_name = "mineral-cream-dirt-4", - tree_name = "tree-wetland-d", - weight = 59 - }, - ["tree-wetland-g"] = { - tile_name = "mineral-cream-dirt-4", - tree_name = "tree-wetland-g", - weight = 1099 - }, - ["tree-wetland-i"] = { - tile_name = "mineral-cream-dirt-4", - tree_name = "tree-wetland-i", - weight = 71 - }, - ["tree-wetland-j"] = { - tile_name = "mineral-cream-dirt-4", - tree_name = "tree-wetland-j", - weight = 20 - } -} -terrains["mineral-cream-dirt-6"] = { - name = "mineral-cream-dirt-6", - ["tree-desert-f"] = { - tile_name = "mineral-cream-dirt-6", - tree_name = "tree-desert-f", - weight = 65 - }, - ["tree-desert-g"] = { - tile_name = "mineral-cream-dirt-6", - tree_name = "tree-desert-g", - weight = 4 - }, - ["tree-desert-i"] = { - tile_name = "mineral-cream-dirt-6", - tree_name = "tree-desert-i", - weight = 126 - }, - ["tree-desert-k"] = { - tile_name = "mineral-cream-dirt-6", - tree_name = "tree-desert-k", - weight = 2 - }, - ["tree-desert-m"] = { - tile_name = "mineral-cream-dirt-6", - tree_name = "tree-desert-m", - weight = 111 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-cream-dirt-6", - tree_name = "tree-dryland-e", - weight = 2088 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-cream-dirt-6", - tree_name = "tree-dryland-g", - weight = 668 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-cream-dirt-6", - tree_name = "tree-dryland-h", - weight = 11 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-cream-dirt-6", - tree_name = "tree-dryland-i", - weight = 7 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-cream-dirt-6", - tree_name = "tree-dryland-j", - weight = 921 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-cream-dirt-6", - tree_name = "tree-dryland-k", - weight = 397 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-cream-dirt-6", - tree_name = "tree-dryland-l", - weight = 2 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-cream-dirt-6", - tree_name = "tree-dryland-m", - weight = 2 - }, - ["tree-dryland-n"] = { - tile_name = "mineral-cream-dirt-6", - tree_name = "tree-dryland-n", - weight = 2 - }, - ["tree-grassland-a"] = { - tile_name = "mineral-cream-dirt-6", - tree_name = "tree-grassland-a", - weight = 21 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-cream-dirt-6", - tree_name = "tree-grassland-f", - weight = 141 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-cream-dirt-6", - tree_name = "tree-grassland-g", - weight = 6 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-cream-dirt-6", - tree_name = "tree-grassland-h", - weight = 32 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-cream-dirt-6", - tree_name = "tree-grassland-h2", - weight = 8 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-cream-dirt-6", - tree_name = "tree-grassland-i", - weight = 31 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-cream-dirt-6", - tree_name = "tree-grassland-k", - weight = 279 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-cream-dirt-6", - tree_name = "tree-grassland-l", - weight = 89 - }, - ["tree-grassland-n"] = { - tile_name = "mineral-cream-dirt-6", - tree_name = "tree-grassland-n", - weight = 3 - }, - ["tree-grassland-p"] = { - tile_name = "mineral-cream-dirt-6", - tree_name = "tree-grassland-p", - weight = 2 - }, - ["tree-wetland-d"] = { - tile_name = "mineral-cream-dirt-6", - tree_name = "tree-wetland-d", - weight = 17 - }, - ["tree-wetland-g"] = { - tile_name = "mineral-cream-dirt-6", - tree_name = "tree-wetland-g", - weight = 331 - }, - ["tree-wetland-i"] = { - tile_name = "mineral-cream-dirt-6", - tree_name = "tree-wetland-i", - weight = 14 - } -} -terrains["mineral-cream-dirt-2"] = { - name = "mineral-cream-dirt-2", - ["tree-desert-f"] = { - tile_name = "mineral-cream-dirt-2", - tree_name = "tree-desert-f", - weight = 535 - }, - ["tree-desert-g"] = { - tile_name = "mineral-cream-dirt-2", - tree_name = "tree-desert-g", - weight = 148 - }, - ["tree-desert-i"] = { - tile_name = "mineral-cream-dirt-2", - tree_name = "tree-desert-i", - weight = 797 - }, - ["tree-desert-m"] = { - tile_name = "mineral-cream-dirt-2", - tree_name = "tree-desert-m", - weight = 45 - }, - ["tree-dryland-a"] = { - tile_name = "mineral-cream-dirt-2", - tree_name = "tree-dryland-a", - weight = 8 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-cream-dirt-2", - tree_name = "tree-dryland-e", - weight = 21399 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-cream-dirt-2", - tree_name = "tree-dryland-f", - weight = 8 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-cream-dirt-2", - tree_name = "tree-dryland-g", - weight = 6434 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-cream-dirt-2", - tree_name = "tree-dryland-h", - weight = 88 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-cream-dirt-2", - tree_name = "tree-dryland-i", - weight = 15 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-cream-dirt-2", - tree_name = "tree-dryland-j", - weight = 5729 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-cream-dirt-2", - tree_name = "tree-dryland-k", - weight = 5794 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-cream-dirt-2", - tree_name = "tree-dryland-l", - weight = 2 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-cream-dirt-2", - tree_name = "tree-dryland-m", - weight = 34 - }, - ["tree-dryland-n"] = { - tile_name = "mineral-cream-dirt-2", - tree_name = "tree-dryland-n", - weight = 16 - }, - ["tree-grassland-a"] = { - tile_name = "mineral-cream-dirt-2", - tree_name = "tree-grassland-a", - weight = 207 - }, - ["tree-grassland-b"] = { - tile_name = "mineral-cream-dirt-2", - tree_name = "tree-grassland-b", - weight = 8 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-cream-dirt-2", - tree_name = "tree-grassland-f", - weight = 507 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-cream-dirt-2", - tree_name = "tree-grassland-g", - weight = 233 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-cream-dirt-2", - tree_name = "tree-grassland-h", - weight = 65 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-cream-dirt-2", - tree_name = "tree-grassland-h2", - weight = 66 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-cream-dirt-2", - tree_name = "tree-grassland-i", - weight = 105 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-cream-dirt-2", - tree_name = "tree-grassland-k", - weight = 2567 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-cream-dirt-2", - tree_name = "tree-grassland-l", - weight = 752 - }, - ["tree-grassland-p"] = { - tile_name = "mineral-cream-dirt-2", - tree_name = "tree-grassland-p", - weight = 5 - }, - ["tree-wetland-d"] = { - tile_name = "mineral-cream-dirt-2", - tree_name = "tree-wetland-d", - weight = 82 - }, - ["tree-wetland-g"] = { - tile_name = "mineral-cream-dirt-2", - tree_name = "tree-wetland-g", - weight = 2326 - }, - ["tree-wetland-i"] = { - tile_name = "mineral-cream-dirt-2", - tree_name = "tree-wetland-i", - weight = 422 - }, - ["tree-wetland-j"] = { - tile_name = "mineral-cream-dirt-2", - tree_name = "tree-wetland-j", - weight = 26 - } -} -terrains["mineral-cream-sand-1"] = { - name = "mineral-cream-sand-1", - ["tree-desert-a"] = { - tile_name = "mineral-cream-sand-1", - tree_name = "tree-desert-a", - weight = 2 - }, - ["tree-desert-b"] = { - tile_name = "mineral-cream-sand-1", - tree_name = "tree-desert-b", - weight = 4 - }, - ["tree-desert-f"] = { - tile_name = "mineral-cream-sand-1", - tree_name = "tree-desert-f", - weight = 1609 - }, - ["tree-desert-g"] = { - tile_name = "mineral-cream-sand-1", - tree_name = "tree-desert-g", - weight = 45 - }, - ["tree-desert-h"] = { - tile_name = "mineral-cream-sand-1", - tree_name = "tree-desert-h", - weight = 2 - }, - ["tree-desert-i"] = { - tile_name = "mineral-cream-sand-1", - tree_name = "tree-desert-i", - weight = 2700 - }, - ["tree-desert-k"] = { - tile_name = "mineral-cream-sand-1", - tree_name = "tree-desert-k", - weight = 3 - }, - ["tree-desert-m"] = { - tile_name = "mineral-cream-sand-1", - tree_name = "tree-desert-m", - weight = 1389 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-cream-sand-1", - tree_name = "tree-dryland-e", - weight = 305 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-cream-sand-1", - tree_name = "tree-dryland-g", - weight = 123 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-cream-sand-1", - tree_name = "tree-dryland-j", - weight = 252 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-cream-sand-1", - tree_name = "tree-dryland-k", - weight = 189 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-cream-sand-1", - tree_name = "tree-grassland-f", - weight = 6 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-cream-sand-1", - tree_name = "tree-grassland-k", - weight = 149 - }, - ["tree-wetland-d"] = { - tile_name = "mineral-cream-sand-1", - tree_name = "tree-wetland-d", - weight = 877 - }, - ["tree-wetland-g"] = { - tile_name = "mineral-cream-sand-1", - tree_name = "tree-wetland-g", - weight = 77 - }, - ["tree-wetland-i"] = { - tile_name = "mineral-cream-sand-1", - tree_name = "tree-wetland-i", - weight = 651 - }, - ["tree-wetland-j"] = { - tile_name = "mineral-cream-sand-1", - tree_name = "tree-wetland-j", - weight = 258 - }, - ["tree-wetland-m"] = { - tile_name = "mineral-cream-sand-1", - tree_name = "tree-wetland-m", - weight = 4 - } -} -terrains["mineral-cream-dirt-3"] = { - name = "mineral-cream-dirt-3", - ["tree-desert-a"] = { - tile_name = "mineral-cream-dirt-3", - tree_name = "tree-desert-a", - weight = 2 - }, - ["tree-desert-f"] = { - tile_name = "mineral-cream-dirt-3", - tree_name = "tree-desert-f", - weight = 143 - }, - ["tree-desert-g"] = { - tile_name = "mineral-cream-dirt-3", - tree_name = "tree-desert-g", - weight = 33 - }, - ["tree-desert-i"] = { - tile_name = "mineral-cream-dirt-3", - tree_name = "tree-desert-i", - weight = 340 - }, - ["tree-desert-m"] = { - tile_name = "mineral-cream-dirt-3", - tree_name = "tree-desert-m", - weight = 78 - }, - ["tree-dryland-a"] = { - tile_name = "mineral-cream-dirt-3", - tree_name = "tree-dryland-a", - weight = 3 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-cream-dirt-3", - tree_name = "tree-dryland-e", - weight = 7845 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-cream-dirt-3", - tree_name = "tree-dryland-f", - weight = 5 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-cream-dirt-3", - tree_name = "tree-dryland-g", - weight = 2119 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-cream-dirt-3", - tree_name = "tree-dryland-h", - weight = 29 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-cream-dirt-3", - tree_name = "tree-dryland-i", - weight = 6 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-cream-dirt-3", - tree_name = "tree-dryland-j", - weight = 2927 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-cream-dirt-3", - tree_name = "tree-dryland-k", - weight = 2659 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-cream-dirt-3", - tree_name = "tree-dryland-l", - weight = 3 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-cream-dirt-3", - tree_name = "tree-dryland-m", - weight = 36 - }, - ["tree-dryland-n"] = { - tile_name = "mineral-cream-dirt-3", - tree_name = "tree-dryland-n", - weight = 17 - }, - ["tree-grassland-a"] = { - tile_name = "mineral-cream-dirt-3", - tree_name = "tree-grassland-a", - weight = 186 - }, - ["tree-grassland-b"] = { - tile_name = "mineral-cream-dirt-3", - tree_name = "tree-grassland-b", - weight = 10 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-cream-dirt-3", - tree_name = "tree-grassland-f", - weight = 315 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-cream-dirt-3", - tree_name = "tree-grassland-g", - weight = 9 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-cream-dirt-3", - tree_name = "tree-grassland-h", - weight = 56 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-cream-dirt-3", - tree_name = "tree-grassland-h2", - weight = 29 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-cream-dirt-3", - tree_name = "tree-grassland-i", - weight = 43 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-cream-dirt-3", - tree_name = "tree-grassland-k", - weight = 1768 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-cream-dirt-3", - tree_name = "tree-grassland-l", - weight = 354 - }, - ["tree-grassland-p"] = { - tile_name = "mineral-cream-dirt-3", - tree_name = "tree-grassland-p", - weight = 2 - }, - ["tree-wetland-d"] = { - tile_name = "mineral-cream-dirt-3", - tree_name = "tree-wetland-d", - weight = 36 - }, - ["tree-wetland-g"] = { - tile_name = "mineral-cream-dirt-3", - tree_name = "tree-wetland-g", - weight = 1158 - }, - ["tree-wetland-i"] = { - tile_name = "mineral-cream-dirt-3", - tree_name = "tree-wetland-i", - weight = 269 - }, - ["tree-wetland-j"] = { - tile_name = "mineral-cream-dirt-3", - tree_name = "tree-wetland-j", - weight = 41 - } -} -terrains["mineral-cream-sand-2"] = { - name = "mineral-cream-sand-2", - ["tree-desert-b"] = { - tile_name = "mineral-cream-sand-2", - tree_name = "tree-desert-b", - weight = 3 - }, - ["tree-desert-f"] = { - tile_name = "mineral-cream-sand-2", - tree_name = "tree-desert-f", - weight = 1120 - }, - ["tree-desert-g"] = { - tile_name = "mineral-cream-sand-2", - tree_name = "tree-desert-g", - weight = 3 - }, - ["tree-desert-i"] = { - tile_name = "mineral-cream-sand-2", - tree_name = "tree-desert-i", - weight = 2128 - }, - ["tree-desert-j"] = { - tile_name = "mineral-cream-sand-2", - tree_name = "tree-desert-j", - weight = 2 - }, - ["tree-desert-m"] = { - tile_name = "mineral-cream-sand-2", - tree_name = "tree-desert-m", - weight = 1109 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-cream-sand-2", - tree_name = "tree-dryland-e", - weight = 145 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-cream-sand-2", - tree_name = "tree-dryland-g", - weight = 38 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-cream-sand-2", - tree_name = "tree-dryland-j", - weight = 229 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-cream-sand-2", - tree_name = "tree-dryland-k", - weight = 521 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-cream-sand-2", - tree_name = "tree-grassland-f", - weight = 5 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-cream-sand-2", - tree_name = "tree-grassland-h2", - weight = 7 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-cream-sand-2", - tree_name = "tree-grassland-k", - weight = 131 - }, - ["tree-wetland-d"] = { - tile_name = "mineral-cream-sand-2", - tree_name = "tree-wetland-d", - weight = 705 - }, - ["tree-wetland-g"] = { - tile_name = "mineral-cream-sand-2", - tree_name = "tree-wetland-g", - weight = 38 - }, - ["tree-wetland-i"] = { - tile_name = "mineral-cream-sand-2", - tree_name = "tree-wetland-i", - weight = 95 - }, - ["tree-wetland-j"] = { - tile_name = "mineral-cream-sand-2", - tree_name = "tree-wetland-j", - weight = 119 - }, - ["tree-wetland-m"] = { - tile_name = "mineral-cream-sand-2", - tree_name = "tree-wetland-m", - weight = 6 - } -} -terrains["mineral-cream-dirt-5"] = { - name = "mineral-cream-dirt-5", - ["tree-desert-f"] = { - tile_name = "mineral-cream-dirt-5", - tree_name = "tree-desert-f", - weight = 142 - }, - ["tree-desert-g"] = { - tile_name = "mineral-cream-dirt-5", - tree_name = "tree-desert-g", - weight = 32 - }, - ["tree-desert-i"] = { - tile_name = "mineral-cream-dirt-5", - tree_name = "tree-desert-i", - weight = 307 - }, - ["tree-desert-m"] = { - tile_name = "mineral-cream-dirt-5", - tree_name = "tree-desert-m", - weight = 71 - }, - ["tree-dryland-a"] = { - tile_name = "mineral-cream-dirt-5", - tree_name = "tree-dryland-a", - weight = 2 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-cream-dirt-5", - tree_name = "tree-dryland-e", - weight = 2398 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-cream-dirt-5", - tree_name = "tree-dryland-g", - weight = 787 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-cream-dirt-5", - tree_name = "tree-dryland-h", - weight = 13 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-cream-dirt-5", - tree_name = "tree-dryland-i", - weight = 7 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-cream-dirt-5", - tree_name = "tree-dryland-j", - weight = 553 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-cream-dirt-5", - tree_name = "tree-dryland-k", - weight = 532 - }, - ["tree-dryland-n"] = { - tile_name = "mineral-cream-dirt-5", - tree_name = "tree-dryland-n", - weight = 6 - }, - ["tree-grassland-a"] = { - tile_name = "mineral-cream-dirt-5", - tree_name = "tree-grassland-a", - weight = 204 - }, - ["tree-grassland-b"] = { - tile_name = "mineral-cream-dirt-5", - tree_name = "tree-grassland-b", - weight = 4 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-cream-dirt-5", - tree_name = "tree-grassland-f", - weight = 116 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-cream-dirt-5", - tree_name = "tree-grassland-g", - weight = 5 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-cream-dirt-5", - tree_name = "tree-grassland-h", - weight = 16 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-cream-dirt-5", - tree_name = "tree-grassland-h2", - weight = 9 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-cream-dirt-5", - tree_name = "tree-grassland-i", - weight = 47 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-cream-dirt-5", - tree_name = "tree-grassland-k", - weight = 1248 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-cream-dirt-5", - tree_name = "tree-grassland-l", - weight = 575 - }, - ["tree-grassland-n"] = { - tile_name = "mineral-cream-dirt-5", - tree_name = "tree-grassland-n", - weight = 4 - }, - ["tree-wetland-d"] = { - tile_name = "mineral-cream-dirt-5", - tree_name = "tree-wetland-d", - weight = 16 - }, - ["tree-wetland-g"] = { - tile_name = "mineral-cream-dirt-5", - tree_name = "tree-wetland-g", - weight = 437 - }, - ["tree-wetland-i"] = { - tile_name = "mineral-cream-dirt-5", - tree_name = "tree-wetland-i", - weight = 52 - }, - ["tree-wetland-j"] = { - tile_name = "mineral-cream-dirt-5", - tree_name = "tree-wetland-j", - weight = 17 - } -} -terrains["mineral-cream-sand-3"] = { - name = "mineral-cream-sand-3", - ["tree-desert-b"] = { - tile_name = "mineral-cream-sand-3", - tree_name = "tree-desert-b", - weight = 3 - }, - ["tree-desert-f"] = { - tile_name = "mineral-cream-sand-3", - tree_name = "tree-desert-f", - weight = 571 - }, - ["tree-desert-g"] = { - tile_name = "mineral-cream-sand-3", - tree_name = "tree-desert-g", - weight = 21 - }, - ["tree-desert-i"] = { - tile_name = "mineral-cream-sand-3", - tree_name = "tree-desert-i", - weight = 1057 - }, - ["tree-desert-m"] = { - tile_name = "mineral-cream-sand-3", - tree_name = "tree-desert-m", - weight = 588 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-cream-sand-3", - tree_name = "tree-dryland-e", - weight = 86 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-cream-sand-3", - tree_name = "tree-dryland-g", - weight = 35 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-cream-sand-3", - tree_name = "tree-dryland-j", - weight = 92 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-cream-sand-3", - tree_name = "tree-dryland-k", - weight = 150 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-cream-sand-3", - tree_name = "tree-grassland-f", - weight = 2 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-cream-sand-3", - tree_name = "tree-grassland-k", - weight = 45 - }, - ["tree-wetland-d"] = { - tile_name = "mineral-cream-sand-3", - tree_name = "tree-wetland-d", - weight = 308 - }, - ["tree-wetland-g"] = { - tile_name = "mineral-cream-sand-3", - tree_name = "tree-wetland-g", - weight = 42 - }, - ["tree-wetland-i"] = { - tile_name = "mineral-cream-sand-3", - tree_name = "tree-wetland-i", - weight = 5 - }, - ["tree-wetland-j"] = { - tile_name = "mineral-cream-sand-3", - tree_name = "tree-wetland-j", - weight = 86 - }, - ["tree-wetland-m"] = { - tile_name = "mineral-cream-sand-3", - tree_name = "tree-wetland-m", - weight = 2 - } -} -terrains["mineral-tan-sand-3"] = { - name = "mineral-tan-sand-3", - ["tree-desert-a"] = { - tile_name = "mineral-tan-sand-3", - tree_name = "tree-desert-a", - weight = 2 - }, - ["tree-desert-b"] = { - tile_name = "mineral-tan-sand-3", - tree_name = "tree-desert-b", - weight = 312 - }, - ["tree-desert-d"] = { - tile_name = "mineral-tan-sand-3", - tree_name = "tree-desert-d", - weight = 2 - }, - ["tree-desert-f"] = { - tile_name = "mineral-tan-sand-3", - tree_name = "tree-desert-f", - weight = 269 - }, - ["tree-dryland-a"] = { - tile_name = "mineral-tan-sand-3", - tree_name = "tree-dryland-a", - weight = 19 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-tan-sand-3", - tree_name = "tree-dryland-f", - weight = 19 - }, - ["tree-grassland-b"] = { - tile_name = "mineral-tan-sand-3", - tree_name = "tree-grassland-b", - weight = 8 - }, - ["tree-grassland-c"] = { - tile_name = "mineral-tan-sand-3", - tree_name = "tree-grassland-c", - weight = 11 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-tan-sand-3", - tree_name = "tree-grassland-f", - weight = 17 - }, - ["tree-wetland-d"] = { - tile_name = "mineral-tan-sand-3", - tree_name = "tree-wetland-d", - weight = 264 - } -} -terrains["mineral-tan-sand-2"] = { - name = "mineral-tan-sand-2", - ["tree-desert-b"] = { - tile_name = "mineral-tan-sand-2", - tree_name = "tree-desert-b", - weight = 656 - }, - ["tree-desert-f"] = { - tile_name = "mineral-tan-sand-2", - tree_name = "tree-desert-f", - weight = 427 - }, - ["tree-dryland-a"] = { - tile_name = "mineral-tan-sand-2", - tree_name = "tree-dryland-a", - weight = 30 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-tan-sand-2", - tree_name = "tree-dryland-f", - weight = 93 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-tan-sand-2", - tree_name = "tree-dryland-g", - weight = 3 - }, - ["tree-grassland-b"] = { - tile_name = "mineral-tan-sand-2", - tree_name = "tree-grassland-b", - weight = 56 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-tan-sand-2", - tree_name = "tree-grassland-f", - weight = 58 - }, - ["tree-wetland-b"] = { - tile_name = "mineral-tan-sand-2", - tree_name = "tree-wetland-b", - weight = 4 - }, - ["tree-wetland-d"] = { - tile_name = "mineral-tan-sand-2", - tree_name = "tree-wetland-d", - weight = 617 - } -} -terrains["mineral-tan-sand-1"] = { - name = "mineral-tan-sand-1", - ["tree-desert-b"] = { - tile_name = "mineral-tan-sand-1", - tree_name = "tree-desert-b", - weight = 431 - }, - ["tree-desert-e"] = { - tile_name = "mineral-tan-sand-1", - tree_name = "tree-desert-e", - weight = 2 - }, - ["tree-desert-f"] = { - tile_name = "mineral-tan-sand-1", - tree_name = "tree-desert-f", - weight = 1113 - }, - ["tree-desert-h"] = { - tile_name = "mineral-tan-sand-1", - tree_name = "tree-desert-h", - weight = 2 - }, - ["tree-dryland-a"] = { - tile_name = "mineral-tan-sand-1", - tree_name = "tree-dryland-a", - weight = 72 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-tan-sand-1", - tree_name = "tree-dryland-f", - weight = 111 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-tan-sand-1", - tree_name = "tree-dryland-g", - weight = 28 - }, - ["tree-grassland-b"] = { - tile_name = "mineral-tan-sand-1", - tree_name = "tree-grassland-b", - weight = 135 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-tan-sand-1", - tree_name = "tree-grassland-f", - weight = 195 - }, - ["tree-wetland-b"] = { - tile_name = "mineral-tan-sand-1", - tree_name = "tree-wetland-b", - weight = 34 - }, - ["tree-wetland-d"] = { - tile_name = "mineral-tan-sand-1", - tree_name = "tree-wetland-d", - weight = 460 - }, - ["tree-wetland-g"] = { - tile_name = "mineral-tan-sand-1", - tree_name = "tree-wetland-g", - weight = 2 - } -} -terrains["mineral-tan-dirt-1"] = { - name = "mineral-tan-dirt-1", - ["tree-desert-b"] = { - tile_name = "mineral-tan-dirt-1", - tree_name = "tree-desert-b", - weight = 99 - }, - ["tree-desert-f"] = { - tile_name = "mineral-tan-dirt-1", - tree_name = "tree-desert-f", - weight = 224 - }, - ["tree-dryland-a"] = { - tile_name = "mineral-tan-dirt-1", - tree_name = "tree-dryland-a", - weight = 480 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-tan-dirt-1", - tree_name = "tree-dryland-c", - weight = 6 - }, - ["tree-dryland-d"] = { - tile_name = "mineral-tan-dirt-1", - tree_name = "tree-dryland-d", - weight = 2 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-tan-dirt-1", - tree_name = "tree-dryland-e", - weight = 634 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-tan-dirt-1", - tree_name = "tree-dryland-f", - weight = 758 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-tan-dirt-1", - tree_name = "tree-dryland-g", - weight = 407 - }, - ["tree-dryland-n"] = { - tile_name = "mineral-tan-dirt-1", - tree_name = "tree-dryland-n", - weight = 2 - }, - ["tree-grassland-a"] = { - tile_name = "mineral-tan-dirt-1", - tree_name = "tree-grassland-a", - weight = 650 - }, - ["tree-grassland-b"] = { - tile_name = "mineral-tan-dirt-1", - tree_name = "tree-grassland-b", - weight = 109 - }, - ["tree-grassland-c"] = { - tile_name = "mineral-tan-dirt-1", - tree_name = "tree-grassland-c", - weight = 22 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-tan-dirt-1", - tree_name = "tree-grassland-f", - weight = 282 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-tan-dirt-1", - tree_name = "tree-grassland-g", - weight = 3 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-tan-dirt-1", - tree_name = "tree-grassland-h", - weight = 7 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-tan-dirt-1", - tree_name = "tree-grassland-i", - weight = 26 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-tan-dirt-1", - tree_name = "tree-grassland-k", - weight = 4 - }, - ["tree-grassland-p"] = { - tile_name = "mineral-tan-dirt-1", - tree_name = "tree-grassland-p", - weight = 3 - }, - ["tree-wetland-a"] = { - tile_name = "mineral-tan-dirt-1", - tree_name = "tree-wetland-a", - weight = 26 - }, - ["tree-wetland-d"] = { - tile_name = "mineral-tan-dirt-1", - tree_name = "tree-wetland-d", - weight = 61 - }, - ["tree-wetland-g"] = { - tile_name = "mineral-tan-dirt-1", - tree_name = "tree-wetland-g", - weight = 70 - } -} -terrains["mineral-tan-dirt-5"] = { - name = "mineral-tan-dirt-5", - ["tree-desert-b"] = { - tile_name = "mineral-tan-dirt-5", - tree_name = "tree-desert-b", - weight = 8 - }, - ["tree-desert-f"] = { - tile_name = "mineral-tan-dirt-5", - tree_name = "tree-desert-f", - weight = 30 - }, - ["tree-dryland-a"] = { - tile_name = "mineral-tan-dirt-5", - tree_name = "tree-dryland-a", - weight = 111 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-tan-dirt-5", - tree_name = "tree-dryland-e", - weight = 136 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-tan-dirt-5", - tree_name = "tree-dryland-f", - weight = 127 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-tan-dirt-5", - tree_name = "tree-dryland-g", - weight = 97 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-tan-dirt-5", - tree_name = "tree-dryland-h", - weight = 4 - }, - ["tree-dryland-n"] = { - tile_name = "mineral-tan-dirt-5", - tree_name = "tree-dryland-n", - weight = 3 - }, - ["tree-grassland-a"] = { - tile_name = "mineral-tan-dirt-5", - tree_name = "tree-grassland-a", - weight = 418 - }, - ["tree-grassland-b"] = { - tile_name = "mineral-tan-dirt-5", - tree_name = "tree-grassland-b", - weight = 140 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-tan-dirt-5", - tree_name = "tree-grassland-f", - weight = 363 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-tan-dirt-5", - tree_name = "tree-grassland-g", - weight = 2 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-tan-dirt-5", - tree_name = "tree-grassland-h", - weight = 20 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-tan-dirt-5", - tree_name = "tree-grassland-h2", - weight = 2 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-tan-dirt-5", - tree_name = "tree-grassland-i", - weight = 3 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-tan-dirt-5", - tree_name = "tree-grassland-k", - weight = 3 - }, - ["tree-wetland-d"] = { - tile_name = "mineral-tan-dirt-5", - tree_name = "tree-wetland-d", - weight = 40 - } -} -terrains["mineral-tan-dirt-2"] = { - name = "mineral-tan-dirt-2", - ["tree-desert-b"] = { - tile_name = "mineral-tan-dirt-2", - tree_name = "tree-desert-b", - weight = 4 - }, - ["tree-desert-f"] = { - tile_name = "mineral-tan-dirt-2", - tree_name = "tree-desert-f", - weight = 41 - }, - ["tree-dryland-a"] = { - tile_name = "mineral-tan-dirt-2", - tree_name = "tree-dryland-a", - weight = 19 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-tan-dirt-2", - tree_name = "tree-dryland-e", - weight = 295 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-tan-dirt-2", - tree_name = "tree-dryland-f", - weight = 379 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-tan-dirt-2", - tree_name = "tree-dryland-g", - weight = 598 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-tan-dirt-2", - tree_name = "tree-dryland-i", - weight = 3 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-tan-dirt-2", - tree_name = "tree-dryland-k", - weight = 4 - }, - ["tree-grassland-a"] = { - tile_name = "mineral-tan-dirt-2", - tree_name = "tree-grassland-a", - weight = 274 - }, - ["tree-grassland-b"] = { - tile_name = "mineral-tan-dirt-2", - tree_name = "tree-grassland-b", - weight = 4 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-tan-dirt-2", - tree_name = "tree-grassland-f", - weight = 704 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-tan-dirt-2", - tree_name = "tree-grassland-h", - weight = 14 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-tan-dirt-2", - tree_name = "tree-grassland-h2", - weight = 8 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-tan-dirt-2", - tree_name = "tree-grassland-i", - weight = 2 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-tan-dirt-2", - tree_name = "tree-grassland-k", - weight = 6 - }, - ["tree-wetland-a"] = { - tile_name = "mineral-tan-dirt-2", - tree_name = "tree-wetland-a", - weight = 4 - }, - ["tree-wetland-d"] = { - tile_name = "mineral-tan-dirt-2", - tree_name = "tree-wetland-d", - weight = 73 - }, - ["tree-wetland-g"] = { - tile_name = "mineral-tan-dirt-2", - tree_name = "tree-wetland-g", - weight = 20 - } -} -terrains["mineral-tan-dirt-3"] = { - name = "mineral-tan-dirt-3", - ["tree-desert-a"] = { - tile_name = "mineral-tan-dirt-3", - tree_name = "tree-desert-a", - weight = 2 - }, - ["tree-desert-b"] = { - tile_name = "mineral-tan-dirt-3", - tree_name = "tree-desert-b", - weight = 58 - }, - ["tree-desert-f"] = { - tile_name = "mineral-tan-dirt-3", - tree_name = "tree-desert-f", - weight = 113 - }, - ["tree-dryland-a"] = { - tile_name = "mineral-tan-dirt-3", - tree_name = "tree-dryland-a", - weight = 59 - }, - ["tree-dryland-d"] = { - tile_name = "mineral-tan-dirt-3", - tree_name = "tree-dryland-d", - weight = 2 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-tan-dirt-3", - tree_name = "tree-dryland-e", - weight = 105 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-tan-dirt-3", - tree_name = "tree-dryland-f", - weight = 188 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-tan-dirt-3", - tree_name = "tree-dryland-g", - weight = 246 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-tan-dirt-3", - tree_name = "tree-dryland-h", - weight = 6 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-tan-dirt-3", - tree_name = "tree-dryland-i", - weight = 3 - }, - ["tree-dryland-n"] = { - tile_name = "mineral-tan-dirt-3", - tree_name = "tree-dryland-n", - weight = 3 - }, - ["tree-grassland-a"] = { - tile_name = "mineral-tan-dirt-3", - tree_name = "tree-grassland-a", - weight = 355 - }, - ["tree-grassland-b"] = { - tile_name = "mineral-tan-dirt-3", - tree_name = "tree-grassland-b", - weight = 27 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-tan-dirt-3", - tree_name = "tree-grassland-f", - weight = 162 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-tan-dirt-3", - tree_name = "tree-grassland-g", - weight = 3 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-tan-dirt-3", - tree_name = "tree-grassland-h", - weight = 8 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-tan-dirt-3", - tree_name = "tree-grassland-h2", - weight = 3 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-tan-dirt-3", - tree_name = "tree-grassland-i", - weight = 25 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-tan-dirt-3", - tree_name = "tree-grassland-k", - weight = 18 - }, - ["tree-wetland-d"] = { - tile_name = "mineral-tan-dirt-3", - tree_name = "tree-wetland-d", - weight = 157 - } -} -terrains["mineral-tan-dirt-4"] = { - name = "mineral-tan-dirt-4", - ["tree-desert-b"] = { - tile_name = "mineral-tan-dirt-4", - tree_name = "tree-desert-b", - weight = 2 - }, - ["tree-desert-f"] = { - tile_name = "mineral-tan-dirt-4", - tree_name = "tree-desert-f", - weight = 57 - }, - ["tree-dryland-a"] = { - tile_name = "mineral-tan-dirt-4", - tree_name = "tree-dryland-a", - weight = 63 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-tan-dirt-4", - tree_name = "tree-dryland-e", - weight = 34 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-tan-dirt-4", - tree_name = "tree-dryland-f", - weight = 179 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-tan-dirt-4", - tree_name = "tree-dryland-g", - weight = 17 - }, - ["tree-grassland-a"] = { - tile_name = "mineral-tan-dirt-4", - tree_name = "tree-grassland-a", - weight = 251 - }, - ["tree-grassland-b"] = { - tile_name = "mineral-tan-dirt-4", - tree_name = "tree-grassland-b", - weight = 69 - }, - ["tree-grassland-c"] = { - tile_name = "mineral-tan-dirt-4", - tree_name = "tree-grassland-c", - weight = 3 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-tan-dirt-4", - tree_name = "tree-grassland-f", - weight = 1217 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-tan-dirt-4", - tree_name = "tree-grassland-g", - weight = 2 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-tan-dirt-4", - tree_name = "tree-grassland-h", - weight = 8 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-tan-dirt-4", - tree_name = "tree-grassland-i", - weight = 28 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-tan-dirt-4", - tree_name = "tree-grassland-k", - weight = 3 - }, - ["tree-wetland-d"] = { - tile_name = "mineral-tan-dirt-4", - tree_name = "tree-wetland-d", - weight = 95 - }, - ["tree-wetland-g"] = { - tile_name = "mineral-tan-dirt-4", - tree_name = "tree-wetland-g", - weight = 30 - } -} -terrains["mineral-tan-dirt-6"] = { - name = "mineral-tan-dirt-6", - ["tree-desert-b"] = { - tile_name = "mineral-tan-dirt-6", - tree_name = "tree-desert-b", - weight = 11 - }, - ["tree-desert-f"] = { - tile_name = "mineral-tan-dirt-6", - tree_name = "tree-desert-f", - weight = 17 - }, - ["tree-dryland-a"] = { - tile_name = "mineral-tan-dirt-6", - tree_name = "tree-dryland-a", - weight = 3 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-tan-dirt-6", - tree_name = "tree-dryland-e", - weight = 4 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-tan-dirt-6", - tree_name = "tree-dryland-f", - weight = 32 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-tan-dirt-6", - tree_name = "tree-dryland-g", - weight = 36 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-tan-dirt-6", - tree_name = "tree-dryland-h", - weight = 2 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-tan-dirt-6", - tree_name = "tree-dryland-i", - weight = 3 - }, - ["tree-grassland-a"] = { - tile_name = "mineral-tan-dirt-6", - tree_name = "tree-grassland-a", - weight = 241 - }, - ["tree-grassland-b"] = { - tile_name = "mineral-tan-dirt-6", - tree_name = "tree-grassland-b", - weight = 57 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-tan-dirt-6", - tree_name = "tree-grassland-f", - weight = 424 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-tan-dirt-6", - tree_name = "tree-grassland-h", - weight = 2 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-tan-dirt-6", - tree_name = "tree-grassland-i", - weight = 3 - }, - ["tree-wetland-d"] = { - tile_name = "mineral-tan-dirt-6", - tree_name = "tree-wetland-d", - weight = 41 - }, - ["tree-wetland-g"] = { - tile_name = "mineral-tan-dirt-6", - tree_name = "tree-wetland-g", - weight = 2 - } -} -terrains["mineral-white-sand-1"] = { - name = "mineral-white-sand-1", - ["tree-desert-a"] = { - tile_name = "mineral-white-sand-1", - tree_name = "tree-desert-a", - weight = 2 - }, - ["tree-desert-b"] = { - tile_name = "mineral-white-sand-1", - tree_name = "tree-desert-b", - weight = 2 - }, - ["tree-desert-i"] = { - tile_name = "mineral-white-sand-1", - tree_name = "tree-desert-i", - weight = 3009 - }, - ["tree-desert-k"] = { - tile_name = "mineral-white-sand-1", - tree_name = "tree-desert-k", - weight = 2 - }, - ["tree-desert-l"] = { - tile_name = "mineral-white-sand-1", - tree_name = "tree-desert-l", - weight = 2 - }, - ["tree-desert-m"] = { - tile_name = "mineral-white-sand-1", - tree_name = "tree-desert-m", - weight = 1605 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-white-sand-1", - tree_name = "tree-dryland-j", - weight = 69 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-white-sand-1", - tree_name = "tree-dryland-k", - weight = 148 - }, - ["tree-dryland-n"] = { - tile_name = "mineral-white-sand-1", - tree_name = "tree-dryland-n", - weight = 8 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-white-sand-1", - tree_name = "tree-grassland-k", - weight = 488 - }, - ["tree-wetland-j"] = { - tile_name = "mineral-white-sand-1", - tree_name = "tree-wetland-j", - weight = 166 - }, - ["tree-wetland-m"] = { - tile_name = "mineral-white-sand-1", - tree_name = "tree-wetland-m", - weight = 736 - } -} -terrains["mineral-white-dirt-2"] = { - name = "mineral-white-dirt-2", - ["tree-desert-i"] = { - tile_name = "mineral-white-dirt-2", - tree_name = "tree-desert-i", - weight = 274 - }, - ["tree-desert-m"] = { - tile_name = "mineral-white-dirt-2", - tree_name = "tree-desert-m", - weight = 29 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-white-dirt-2", - tree_name = "tree-dryland-j", - weight = 194 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-white-dirt-2", - tree_name = "tree-dryland-k", - weight = 530 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-white-dirt-2", - tree_name = "tree-dryland-m", - weight = 6 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-white-dirt-2", - tree_name = "tree-grassland-k", - weight = 129 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-white-dirt-2", - tree_name = "tree-grassland-l", - weight = 36 - }, - ["tree-grassland-n"] = { - tile_name = "mineral-white-dirt-2", - tree_name = "tree-grassland-n", - weight = 34 - }, - ["tree-wetland-j"] = { - tile_name = "mineral-white-dirt-2", - tree_name = "tree-wetland-j", - weight = 3 - }, - ["tree-wetland-m"] = { - tile_name = "mineral-white-dirt-2", - tree_name = "tree-wetland-m", - weight = 7 - } -} -terrains["mineral-white-dirt-1"] = { - name = "mineral-white-dirt-1", - ["tree-desert-a"] = { - tile_name = "mineral-white-dirt-1", - tree_name = "tree-desert-a", - weight = 2 - }, - ["tree-desert-i"] = { - tile_name = "mineral-white-dirt-1", - tree_name = "tree-desert-i", - weight = 319 - }, - ["tree-desert-k"] = { - tile_name = "mineral-white-dirt-1", - tree_name = "tree-desert-k", - weight = 2 - }, - ["tree-desert-m"] = { - tile_name = "mineral-white-dirt-1", - tree_name = "tree-desert-m", - weight = 73 - }, - ["tree-dryland-a"] = { - tile_name = "mineral-white-dirt-1", - tree_name = "tree-dryland-a", - weight = 3 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-white-dirt-1", - tree_name = "tree-dryland-e", - weight = 3 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-white-dirt-1", - tree_name = "tree-dryland-j", - weight = 1167 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-white-dirt-1", - tree_name = "tree-dryland-k", - weight = 1264 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-white-dirt-1", - tree_name = "tree-dryland-m", - weight = 2 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-white-dirt-1", - tree_name = "tree-grassland-f", - weight = 7 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-white-dirt-1", - tree_name = "tree-grassland-h3", - weight = 2 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-white-dirt-1", - tree_name = "tree-grassland-k", - weight = 396 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-white-dirt-1", - tree_name = "tree-grassland-l", - weight = 173 - }, - ["tree-grassland-n"] = { - tile_name = "mineral-white-dirt-1", - tree_name = "tree-grassland-n", - weight = 162 - }, - ["tree-wetland-j"] = { - tile_name = "mineral-white-dirt-1", - tree_name = "tree-wetland-j", - weight = 5 - }, - ["tree-wetland-m"] = { - tile_name = "mineral-white-dirt-1", - tree_name = "tree-wetland-m", - weight = 298 - } -} -terrains["mineral-white-dirt-5"] = { - name = "mineral-white-dirt-5", - ["tree-desert-i"] = { - tile_name = "mineral-white-dirt-5", - tree_name = "tree-desert-i", - weight = 291 - }, - ["tree-desert-m"] = { - tile_name = "mineral-white-dirt-5", - tree_name = "tree-desert-m", - weight = 72 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-white-dirt-5", - tree_name = "tree-dryland-j", - weight = 58 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-white-dirt-5", - tree_name = "tree-dryland-k", - weight = 85 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-white-dirt-5", - tree_name = "tree-grassland-k", - weight = 65 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-white-dirt-5", - tree_name = "tree-grassland-l", - weight = 32 - }, - ["tree-wetland-i"] = { - tile_name = "mineral-white-dirt-5", - tree_name = "tree-wetland-i", - weight = 8 - }, - ["tree-wetland-m"] = { - tile_name = "mineral-white-dirt-5", - tree_name = "tree-wetland-m", - weight = 155 - } -} -terrains["mineral-white-sand-3"] = { - name = "mineral-white-sand-3", - ["tree-desert-i"] = { - tile_name = "mineral-white-sand-3", - tree_name = "tree-desert-i", - weight = 811 - }, - ["tree-desert-m"] = { - tile_name = "mineral-white-sand-3", - tree_name = "tree-desert-m", - weight = 372 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-white-sand-3", - tree_name = "tree-dryland-j", - weight = 6 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-white-sand-3", - tree_name = "tree-dryland-k", - weight = 55 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-white-sand-3", - tree_name = "tree-grassland-k", - weight = 85 - }, - ["tree-wetland-j"] = { - tile_name = "mineral-white-sand-3", - tree_name = "tree-wetland-j", - weight = 4 - }, - ["tree-wetland-m"] = { - tile_name = "mineral-white-sand-3", - tree_name = "tree-wetland-m", - weight = 206 - } -} -terrains["mineral-white-sand-2"] = { - name = "mineral-white-sand-2", - ["tree-desert-a"] = { - tile_name = "mineral-white-sand-2", - tree_name = "tree-desert-a", - weight = 2 - }, - ["tree-desert-g"] = { - tile_name = "mineral-white-sand-2", - tree_name = "tree-desert-g", - weight = 2 - }, - ["tree-desert-i"] = { - tile_name = "mineral-white-sand-2", - tree_name = "tree-desert-i", - weight = 1182 - }, - ["tree-desert-m"] = { - tile_name = "mineral-white-sand-2", - tree_name = "tree-desert-m", - weight = 616 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-white-sand-2", - tree_name = "tree-dryland-j", - weight = 28 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-white-sand-2", - tree_name = "tree-dryland-k", - weight = 144 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-white-sand-2", - tree_name = "tree-grassland-k", - weight = 227 - }, - ["tree-grassland-n"] = { - tile_name = "mineral-white-sand-2", - tree_name = "tree-grassland-n", - weight = 3 - }, - ["tree-wetland-j"] = { - tile_name = "mineral-white-sand-2", - tree_name = "tree-wetland-j", - weight = 56 - }, - ["tree-wetland-m"] = { - tile_name = "mineral-white-sand-2", - tree_name = "tree-wetland-m", - weight = 399 - } -} -terrains["mineral-white-dirt-3"] = { - name = "mineral-white-dirt-3", - ["tree-desert-i"] = { - tile_name = "mineral-white-dirt-3", - tree_name = "tree-desert-i", - weight = 150 - }, - ["tree-desert-m"] = { - tile_name = "mineral-white-dirt-3", - tree_name = "tree-desert-m", - weight = 29 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-white-dirt-3", - tree_name = "tree-dryland-j", - weight = 178 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-white-dirt-3", - tree_name = "tree-dryland-k", - weight = 237 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-white-dirt-3", - tree_name = "tree-grassland-k", - weight = 242 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-white-dirt-3", - tree_name = "tree-grassland-l", - weight = 47 - }, - ["tree-wetland-j"] = { - tile_name = "mineral-white-dirt-3", - tree_name = "tree-wetland-j", - weight = 20 - }, - ["tree-wetland-m"] = { - tile_name = "mineral-white-dirt-3", - tree_name = "tree-wetland-m", - weight = 23 - } -} -terrains["mineral-white-dirt-6"] = { - name = "mineral-white-dirt-6", - ["tree-desert-i"] = { - tile_name = "mineral-white-dirt-6", - tree_name = "tree-desert-i", - weight = 114 - }, - ["tree-desert-m"] = { - tile_name = "mineral-white-dirt-6", - tree_name = "tree-desert-m", - weight = 59 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-white-dirt-6", - tree_name = "tree-dryland-j", - weight = 121 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-white-dirt-6", - tree_name = "tree-dryland-k", - weight = 109 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-white-dirt-6", - tree_name = "tree-grassland-f", - weight = 3 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-white-dirt-6", - tree_name = "tree-grassland-k", - weight = 100 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-white-dirt-6", - tree_name = "tree-grassland-l", - weight = 111 - }, - ["tree-grassland-n"] = { - tile_name = "mineral-white-dirt-6", - tree_name = "tree-grassland-n", - weight = 4 - }, - ["tree-wetland-j"] = { - tile_name = "mineral-white-dirt-6", - tree_name = "tree-wetland-j", - weight = 4 - }, - ["tree-wetland-m"] = { - tile_name = "mineral-white-dirt-6", - tree_name = "tree-wetland-m", - weight = 12 - } -} -terrains["mineral-white-dirt-4"] = { - name = "mineral-white-dirt-4", - ["tree-desert-i"] = { - tile_name = "mineral-white-dirt-4", - tree_name = "tree-desert-i", - weight = 151 - }, - ["tree-desert-m"] = { - tile_name = "mineral-white-dirt-4", - tree_name = "tree-desert-m", - weight = 25 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-white-dirt-4", - tree_name = "tree-dryland-j", - weight = 88 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-white-dirt-4", - tree_name = "tree-dryland-k", - weight = 227 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-white-dirt-4", - tree_name = "tree-grassland-k", - weight = 44 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-white-dirt-4", - tree_name = "tree-grassland-l", - weight = 191 - }, - ["tree-grassland-n"] = { - tile_name = "mineral-white-dirt-4", - tree_name = "tree-grassland-n", - weight = 13 - }, - ["tree-wetland-j"] = { - tile_name = "mineral-white-dirt-4", - tree_name = "tree-wetland-j", - weight = 21 - }, - ["tree-wetland-m"] = { - tile_name = "mineral-white-dirt-4", - tree_name = "tree-wetland-m", - weight = 37 - } -} -terrains["vegetation-olive-grass-1"] = { - name = "vegetation-olive-grass-1", - ["tree-desert-f"] = { - tile_name = "vegetation-olive-grass-1", - tree_name = "tree-desert-f", - weight = 4 - }, - ["tree-desert-h"] = { - tile_name = "vegetation-olive-grass-1", - tree_name = "tree-desert-h", - weight = 3 - }, - ["tree-dryland-e"] = { - tile_name = "vegetation-olive-grass-1", - tree_name = "tree-dryland-e", - weight = 565 - }, - ["tree-dryland-g"] = { - tile_name = "vegetation-olive-grass-1", - tree_name = "tree-dryland-g", - weight = 8 - }, - ["tree-dryland-h"] = { - tile_name = "vegetation-olive-grass-1", - tree_name = "tree-dryland-h", - weight = 442 - }, - ["tree-grassland-a"] = { - tile_name = "vegetation-olive-grass-1", - tree_name = "tree-grassland-a", - weight = 5756 - }, - ["tree-grassland-b"] = { - tile_name = "vegetation-olive-grass-1", - tree_name = "tree-grassland-b", - weight = 492 - }, - ["tree-grassland-c"] = { - tile_name = "vegetation-olive-grass-1", - tree_name = "tree-grassland-c", - weight = 2560 - }, - ["tree-grassland-d"] = { - tile_name = "vegetation-olive-grass-1", - tree_name = "tree-grassland-d", - weight = 126 - }, - ["tree-grassland-e"] = { - tile_name = "vegetation-olive-grass-1", - tree_name = "tree-grassland-e", - weight = 155 - }, - ["tree-grassland-f"] = { - tile_name = "vegetation-olive-grass-1", - tree_name = "tree-grassland-f", - weight = 66378 - }, - ["tree-grassland-g"] = { - tile_name = "vegetation-olive-grass-1", - tree_name = "tree-grassland-g", - weight = 247274 - }, - ["tree-grassland-h"] = { - tile_name = "vegetation-olive-grass-1", - tree_name = "tree-grassland-h", - weight = 107218 - }, - ["tree-grassland-h2"] = { - tile_name = "vegetation-olive-grass-1", - tree_name = "tree-grassland-h2", - weight = 1114 - }, - ["tree-grassland-i"] = { - tile_name = "vegetation-olive-grass-1", - tree_name = "tree-grassland-i", - weight = 3403 - }, - ["tree-grassland-k"] = { - tile_name = "vegetation-olive-grass-1", - tree_name = "tree-grassland-k", - weight = 553 - }, - ["tree-grassland-l"] = { - tile_name = "vegetation-olive-grass-1", - tree_name = "tree-grassland-l", - weight = 1651 - }, - ["tree-grassland-n"] = { - tile_name = "vegetation-olive-grass-1", - tree_name = "tree-grassland-n", - weight = 1572 - }, - ["tree-grassland-p"] = { - tile_name = "vegetation-olive-grass-1", - tree_name = "tree-grassland-p", - weight = 654 - }, - ["tree-wetland-a"] = { - tile_name = "vegetation-olive-grass-1", - tree_name = "tree-wetland-a", - weight = 34 - }, - ["tree-wetland-b"] = { - tile_name = "vegetation-olive-grass-1", - tree_name = "tree-wetland-b", - weight = 2139 - }, - ["tree-wetland-d"] = { - tile_name = "vegetation-olive-grass-1", - tree_name = "tree-wetland-d", - weight = 216786 - }, - ["tree-wetland-e"] = { - tile_name = "vegetation-olive-grass-1", - tree_name = "tree-wetland-e", - weight = 125666 - }, - ["tree-wetland-f"] = { - tile_name = "vegetation-olive-grass-1", - tree_name = "tree-wetland-f", - weight = 1237 - }, - ["tree-wetland-g"] = { - tile_name = "vegetation-olive-grass-1", - tree_name = "tree-wetland-g", - weight = 5517 - }, - ["tree-wetland-h"] = { - tile_name = "vegetation-olive-grass-1", - tree_name = "tree-wetland-h", - weight = 2530 - }, - ["tree-wetland-j"] = { - tile_name = "vegetation-olive-grass-1", - tree_name = "tree-wetland-j", - weight = 2052 - }, - ["tree-wetland-k"] = { - tile_name = "vegetation-olive-grass-1", - tree_name = "tree-wetland-k", - weight = 3 - }, - ["tree-wetland-n"] = { - tile_name = "vegetation-olive-grass-1", - tree_name = "tree-wetland-n", - weight = 1437 - } -} -terrains["vegetation-olive-grass-2"] = { - name = "vegetation-olive-grass-2", - ["tree-desert-f"] = { - tile_name = "vegetation-olive-grass-2", - tree_name = "tree-desert-f", - weight = 2 - }, - ["tree-desert-h"] = { - tile_name = "vegetation-olive-grass-2", - tree_name = "tree-desert-h", - weight = 2 - }, - ["tree-dryland-e"] = { - tile_name = "vegetation-olive-grass-2", - tree_name = "tree-dryland-e", - weight = 343 - }, - ["tree-dryland-g"] = { - tile_name = "vegetation-olive-grass-2", - tree_name = "tree-dryland-g", - weight = 5 - }, - ["tree-dryland-h"] = { - tile_name = "vegetation-olive-grass-2", - tree_name = "tree-dryland-h", - weight = 109 - }, - ["tree-grassland-a"] = { - tile_name = "vegetation-olive-grass-2", - tree_name = "tree-grassland-a", - weight = 2947 - }, - ["tree-grassland-b"] = { - tile_name = "vegetation-olive-grass-2", - tree_name = "tree-grassland-b", - weight = 291 - }, - ["tree-grassland-c"] = { - tile_name = "vegetation-olive-grass-2", - tree_name = "tree-grassland-c", - weight = 1511 - }, - ["tree-grassland-d"] = { - tile_name = "vegetation-olive-grass-2", - tree_name = "tree-grassland-d", - weight = 62 - }, - ["tree-grassland-e"] = { - tile_name = "vegetation-olive-grass-2", - tree_name = "tree-grassland-e", - weight = 48 - }, - ["tree-grassland-f"] = { - tile_name = "vegetation-olive-grass-2", - tree_name = "tree-grassland-f", - weight = 36058 - }, - ["tree-grassland-g"] = { - tile_name = "vegetation-olive-grass-2", - tree_name = "tree-grassland-g", - weight = 145692 - }, - ["tree-grassland-h"] = { - tile_name = "vegetation-olive-grass-2", - tree_name = "tree-grassland-h", - weight = 69559 - }, - ["tree-grassland-h2"] = { - tile_name = "vegetation-olive-grass-2", - tree_name = "tree-grassland-h2", - weight = 361 - }, - ["tree-grassland-i"] = { - tile_name = "vegetation-olive-grass-2", - tree_name = "tree-grassland-i", - weight = 1924 - }, - ["tree-grassland-k"] = { - tile_name = "vegetation-olive-grass-2", - tree_name = "tree-grassland-k", - weight = 337 - }, - ["tree-grassland-l"] = { - tile_name = "vegetation-olive-grass-2", - tree_name = "tree-grassland-l", - weight = 1122 - }, - ["tree-grassland-n"] = { - tile_name = "vegetation-olive-grass-2", - tree_name = "tree-grassland-n", - weight = 1042 - }, - ["tree-grassland-p"] = { - tile_name = "vegetation-olive-grass-2", - tree_name = "tree-grassland-p", - weight = 395 - }, - ["tree-wetland-a"] = { - tile_name = "vegetation-olive-grass-2", - tree_name = "tree-wetland-a", - weight = 14 - }, - ["tree-wetland-b"] = { - tile_name = "vegetation-olive-grass-2", - tree_name = "tree-wetland-b", - weight = 926 - }, - ["tree-wetland-d"] = { - tile_name = "vegetation-olive-grass-2", - tree_name = "tree-wetland-d", - weight = 105981 - }, - ["tree-wetland-e"] = { - tile_name = "vegetation-olive-grass-2", - tree_name = "tree-wetland-e", - weight = 63871 - }, - ["tree-wetland-f"] = { - tile_name = "vegetation-olive-grass-2", - tree_name = "tree-wetland-f", - weight = 814 - }, - ["tree-wetland-g"] = { - tile_name = "vegetation-olive-grass-2", - tree_name = "tree-wetland-g", - weight = 2060 - }, - ["tree-wetland-h"] = { - tile_name = "vegetation-olive-grass-2", - tree_name = "tree-wetland-h", - weight = 1551 - }, - ["tree-wetland-j"] = { - tile_name = "vegetation-olive-grass-2", - tree_name = "tree-wetland-j", - weight = 1478 - }, - ["tree-wetland-k"] = { - tile_name = "vegetation-olive-grass-2", - tree_name = "tree-wetland-k", - weight = 6 - }, - ["tree-wetland-n"] = { - tile_name = "vegetation-olive-grass-2", - tree_name = "tree-wetland-n", - weight = 735 - } -} -terrains["vegetation-yellow-grass-2"] = { - name = "vegetation-yellow-grass-2", - ["tree-desert-h"] = { - tile_name = "vegetation-yellow-grass-2", - tree_name = "tree-desert-h", - weight = 2 - }, - ["tree-dryland-c"] = { - tile_name = "vegetation-yellow-grass-2", - tree_name = "tree-dryland-c", - weight = 31 - }, - ["tree-dryland-e"] = { - tile_name = "vegetation-yellow-grass-2", - tree_name = "tree-dryland-e", - weight = 3 - }, - ["tree-dryland-f"] = { - tile_name = "vegetation-yellow-grass-2", - tree_name = "tree-dryland-f", - weight = 492 - }, - ["tree-dryland-g"] = { - tile_name = "vegetation-yellow-grass-2", - tree_name = "tree-dryland-g", - weight = 4 - }, - ["tree-dryland-h"] = { - tile_name = "vegetation-yellow-grass-2", - tree_name = "tree-dryland-h", - weight = 38 - }, - ["tree-dryland-k"] = { - tile_name = "vegetation-yellow-grass-2", - tree_name = "tree-dryland-k", - weight = 2 - }, - ["tree-dryland-n"] = { - tile_name = "vegetation-yellow-grass-2", - tree_name = "tree-dryland-n", - weight = 3 - }, - ["tree-grassland-a"] = { - tile_name = "vegetation-yellow-grass-2", - tree_name = "tree-grassland-a", - weight = 1136 - }, - ["tree-grassland-b"] = { - tile_name = "vegetation-yellow-grass-2", - tree_name = "tree-grassland-b", - weight = 81 - }, - ["tree-grassland-c"] = { - tile_name = "vegetation-yellow-grass-2", - tree_name = "tree-grassland-c", - weight = 25685 - }, - ["tree-grassland-d"] = { - tile_name = "vegetation-yellow-grass-2", - tree_name = "tree-grassland-d", - weight = 26 - }, - ["tree-grassland-e"] = { - tile_name = "vegetation-yellow-grass-2", - tree_name = "tree-grassland-e", - weight = 1450 - }, - ["tree-grassland-f"] = { - tile_name = "vegetation-yellow-grass-2", - tree_name = "tree-grassland-f", - weight = 31147 - }, - ["tree-grassland-g"] = { - tile_name = "vegetation-yellow-grass-2", - tree_name = "tree-grassland-g", - weight = 62257 - }, - ["tree-grassland-h"] = { - tile_name = "vegetation-yellow-grass-2", - tree_name = "tree-grassland-h", - weight = 33508 - }, - ["tree-grassland-h2"] = { - tile_name = "vegetation-yellow-grass-2", - tree_name = "tree-grassland-h2", - weight = 237 - }, - ["tree-grassland-i"] = { - tile_name = "vegetation-yellow-grass-2", - tree_name = "tree-grassland-i", - weight = 563 - }, - ["tree-grassland-k"] = { - tile_name = "vegetation-yellow-grass-2", - tree_name = "tree-grassland-k", - weight = 20 - }, - ["tree-grassland-l"] = { - tile_name = "vegetation-yellow-grass-2", - tree_name = "tree-grassland-l", - weight = 442 - }, - ["tree-grassland-n"] = { - tile_name = "vegetation-yellow-grass-2", - tree_name = "tree-grassland-n", - weight = 238 - }, - ["tree-grassland-p"] = { - tile_name = "vegetation-yellow-grass-2", - tree_name = "tree-grassland-p", - weight = 96 - }, - ["tree-wetland-a"] = { - tile_name = "vegetation-yellow-grass-2", - tree_name = "tree-wetland-a", - weight = 110 - }, - ["tree-wetland-b"] = { - tile_name = "vegetation-yellow-grass-2", - tree_name = "tree-wetland-b", - weight = 84 - }, - ["tree-wetland-d"] = { - tile_name = "vegetation-yellow-grass-2", - tree_name = "tree-wetland-d", - weight = 19497 - }, - ["tree-wetland-e"] = { - tile_name = "vegetation-yellow-grass-2", - tree_name = "tree-wetland-e", - weight = 6576 - }, - ["tree-wetland-f"] = { - tile_name = "vegetation-yellow-grass-2", - tree_name = "tree-wetland-f", - weight = 140 - }, - ["tree-wetland-g"] = { - tile_name = "vegetation-yellow-grass-2", - tree_name = "tree-wetland-g", - weight = 47 - }, - ["tree-wetland-h"] = { - tile_name = "vegetation-yellow-grass-2", - tree_name = "tree-wetland-h", - weight = 7 - }, - ["tree-wetland-j"] = { - tile_name = "vegetation-yellow-grass-2", - tree_name = "tree-wetland-j", - weight = 67 - }, - ["tree-wetland-n"] = { - tile_name = "vegetation-yellow-grass-2", - tree_name = "tree-wetland-n", - weight = 38 - } -} -terrains["vegetation-yellow-grass-1"] = { - name = "vegetation-yellow-grass-1", - ["tree-desert-c"] = { - tile_name = "vegetation-yellow-grass-1", - tree_name = "tree-desert-c", - weight = 2 - }, - ["tree-dryland-c"] = { - tile_name = "vegetation-yellow-grass-1", - tree_name = "tree-dryland-c", - weight = 94 - }, - ["tree-dryland-e"] = { - tile_name = "vegetation-yellow-grass-1", - tree_name = "tree-dryland-e", - weight = 3 - }, - ["tree-dryland-f"] = { - tile_name = "vegetation-yellow-grass-1", - tree_name = "tree-dryland-f", - weight = 908 - }, - ["tree-dryland-h"] = { - tile_name = "vegetation-yellow-grass-1", - tree_name = "tree-dryland-h", - weight = 24 - }, - ["tree-dryland-l"] = { - tile_name = "vegetation-yellow-grass-1", - tree_name = "tree-dryland-l", - weight = 3 - }, - ["tree-grassland-a"] = { - tile_name = "vegetation-yellow-grass-1", - tree_name = "tree-grassland-a", - weight = 2097 - }, - ["tree-grassland-b"] = { - tile_name = "vegetation-yellow-grass-1", - tree_name = "tree-grassland-b", - weight = 151 - }, - ["tree-grassland-c"] = { - tile_name = "vegetation-yellow-grass-1", - tree_name = "tree-grassland-c", - weight = 51083 - }, - ["tree-grassland-d"] = { - tile_name = "vegetation-yellow-grass-1", - tree_name = "tree-grassland-d", - weight = 32 - }, - ["tree-grassland-e"] = { - tile_name = "vegetation-yellow-grass-1", - tree_name = "tree-grassland-e", - weight = 3763 - }, - ["tree-grassland-f"] = { - tile_name = "vegetation-yellow-grass-1", - tree_name = "tree-grassland-f", - weight = 55271 - }, - ["tree-grassland-g"] = { - tile_name = "vegetation-yellow-grass-1", - tree_name = "tree-grassland-g", - weight = 119284 - }, - ["tree-grassland-h"] = { - tile_name = "vegetation-yellow-grass-1", - tree_name = "tree-grassland-h", - weight = 47088 - }, - ["tree-grassland-h2"] = { - tile_name = "vegetation-yellow-grass-1", - tree_name = "tree-grassland-h2", - weight = 111 - }, - ["tree-grassland-i"] = { - tile_name = "vegetation-yellow-grass-1", - tree_name = "tree-grassland-i", - weight = 904 - }, - ["tree-grassland-k"] = { - tile_name = "vegetation-yellow-grass-1", - tree_name = "tree-grassland-k", - weight = 57 - }, - ["tree-grassland-l"] = { - tile_name = "vegetation-yellow-grass-1", - tree_name = "tree-grassland-l", - weight = 1063 - }, - ["tree-grassland-n"] = { - tile_name = "vegetation-yellow-grass-1", - tree_name = "tree-grassland-n", - weight = 460 - }, - ["tree-grassland-p"] = { - tile_name = "vegetation-yellow-grass-1", - tree_name = "tree-grassland-p", - weight = 116 - }, - ["tree-wetland-a"] = { - tile_name = "vegetation-yellow-grass-1", - tree_name = "tree-wetland-a", - weight = 50 - }, - ["tree-wetland-b"] = { - tile_name = "vegetation-yellow-grass-1", - tree_name = "tree-wetland-b", - weight = 24 - }, - ["tree-wetland-d"] = { - tile_name = "vegetation-yellow-grass-1", - tree_name = "tree-wetland-d", - weight = 14775 - }, - ["tree-wetland-e"] = { - tile_name = "vegetation-yellow-grass-1", - tree_name = "tree-wetland-e", - weight = 10783 - }, - ["tree-wetland-f"] = { - tile_name = "vegetation-yellow-grass-1", - tree_name = "tree-wetland-f", - weight = 110 - }, - ["tree-wetland-g"] = { - tile_name = "vegetation-yellow-grass-1", - tree_name = "tree-wetland-g", - weight = 93 - }, - ["tree-wetland-h"] = { - tile_name = "vegetation-yellow-grass-1", - tree_name = "tree-wetland-h", - weight = 104 - }, - ["tree-wetland-j"] = { - tile_name = "vegetation-yellow-grass-1", - tree_name = "tree-wetland-j", - weight = 103 - }, - ["tree-wetland-n"] = { - tile_name = "vegetation-yellow-grass-1", - tree_name = "tree-wetland-n", - weight = 64 - } -} -terrains["vegetation-orange-grass-1"] = { - name = "vegetation-orange-grass-1", - ["tree-dryland-a"] = { - tile_name = "vegetation-orange-grass-1", - tree_name = "tree-dryland-a", - weight = 309 - }, - ["tree-dryland-b"] = { - tile_name = "vegetation-orange-grass-1", - tree_name = "tree-dryland-b", - weight = 482 - }, - ["tree-dryland-c"] = { - tile_name = "vegetation-orange-grass-1", - tree_name = "tree-dryland-c", - weight = 5 - }, - ["tree-dryland-f"] = { - tile_name = "vegetation-orange-grass-1", - tree_name = "tree-dryland-f", - weight = 483 - }, - ["tree-dryland-h"] = { - tile_name = "vegetation-orange-grass-1", - tree_name = "tree-dryland-h", - weight = 2 - }, - ["tree-grassland-a"] = { - tile_name = "vegetation-orange-grass-1", - tree_name = "tree-grassland-a", - weight = 2300 - }, - ["tree-grassland-b"] = { - tile_name = "vegetation-orange-grass-1", - tree_name = "tree-grassland-b", - weight = 49269 - }, - ["tree-grassland-c"] = { - tile_name = "vegetation-orange-grass-1", - tree_name = "tree-grassland-c", - weight = 498960 - }, - ["tree-grassland-d"] = { - tile_name = "vegetation-orange-grass-1", - tree_name = "tree-grassland-d", - weight = 9540 - }, - ["tree-grassland-e"] = { - tile_name = "vegetation-orange-grass-1", - tree_name = "tree-grassland-e", - weight = 20238 - }, - ["tree-grassland-f"] = { - tile_name = "vegetation-orange-grass-1", - tree_name = "tree-grassland-f", - weight = 18398 - }, - ["tree-grassland-g"] = { - tile_name = "vegetation-orange-grass-1", - tree_name = "tree-grassland-g", - weight = 1990 - }, - ["tree-grassland-h"] = { - tile_name = "vegetation-orange-grass-1", - tree_name = "tree-grassland-h", - weight = 99 - }, - ["tree-grassland-l"] = { - tile_name = "vegetation-orange-grass-1", - tree_name = "tree-grassland-l", - weight = 1433 - }, - ["tree-grassland-n"] = { - tile_name = "vegetation-orange-grass-1", - tree_name = "tree-grassland-n", - weight = 2946 - }, - ["tree-grassland-p"] = { - tile_name = "vegetation-orange-grass-1", - tree_name = "tree-grassland-p", - weight = 1800 - }, - ["tree-wetland-a"] = { - tile_name = "vegetation-orange-grass-1", - tree_name = "tree-wetland-a", - weight = 84 - }, - ["tree-wetland-b"] = { - tile_name = "vegetation-orange-grass-1", - tree_name = "tree-wetland-b", - weight = 38015 - }, - ["tree-wetland-c"] = { - tile_name = "vegetation-orange-grass-1", - tree_name = "tree-wetland-c", - weight = 420 - }, - ["tree-wetland-d"] = { - tile_name = "vegetation-orange-grass-1", - tree_name = "tree-wetland-d", - weight = 12548 - }, - ["tree-wetland-e"] = { - tile_name = "vegetation-orange-grass-1", - tree_name = "tree-wetland-e", - weight = 13451 - }, - ["tree-wetland-f"] = { - tile_name = "vegetation-orange-grass-1", - tree_name = "tree-wetland-f", - weight = 18 - }, - ["tree-wetland-j"] = { - tile_name = "vegetation-orange-grass-1", - tree_name = "tree-wetland-j", - weight = 220 - }, - ["tree-wetland-n"] = { - tile_name = "vegetation-orange-grass-1", - tree_name = "tree-wetland-n", - weight = 177 - } -} -terrains["vegetation-orange-grass-2"] = { - name = "vegetation-orange-grass-2", - ["tree-desert-c"] = { - tile_name = "vegetation-orange-grass-2", - tree_name = "tree-desert-c", - weight = 2 - }, - ["tree-dryland-a"] = { - tile_name = "vegetation-orange-grass-2", - tree_name = "tree-dryland-a", - weight = 350 - }, - ["tree-dryland-b"] = { - tile_name = "vegetation-orange-grass-2", - tree_name = "tree-dryland-b", - weight = 670 - }, - ["tree-dryland-c"] = { - tile_name = "vegetation-orange-grass-2", - tree_name = "tree-dryland-c", - weight = 11 - }, - ["tree-dryland-f"] = { - tile_name = "vegetation-orange-grass-2", - tree_name = "tree-dryland-f", - weight = 451 - }, - ["tree-grassland-a"] = { - tile_name = "vegetation-orange-grass-2", - tree_name = "tree-grassland-a", - weight = 1457 - }, - ["tree-grassland-b"] = { - tile_name = "vegetation-orange-grass-2", - tree_name = "tree-grassland-b", - weight = 32149 - }, - ["tree-grassland-c"] = { - tile_name = "vegetation-orange-grass-2", - tree_name = "tree-grassland-c", - weight = 299174 - }, - ["tree-grassland-d"] = { - tile_name = "vegetation-orange-grass-2", - tree_name = "tree-grassland-d", - weight = 7333 - }, - ["tree-grassland-e"] = { - tile_name = "vegetation-orange-grass-2", - tree_name = "tree-grassland-e", - weight = 10762 - }, - ["tree-grassland-f"] = { - tile_name = "vegetation-orange-grass-2", - tree_name = "tree-grassland-f", - weight = 8989 - }, - ["tree-grassland-g"] = { - tile_name = "vegetation-orange-grass-2", - tree_name = "tree-grassland-g", - weight = 1510 - }, - ["tree-grassland-h"] = { - tile_name = "vegetation-orange-grass-2", - tree_name = "tree-grassland-h", - weight = 371 - }, - ["tree-grassland-i"] = { - tile_name = "vegetation-orange-grass-2", - tree_name = "tree-grassland-i", - weight = 2 - }, - ["tree-grassland-k"] = { - tile_name = "vegetation-orange-grass-2", - tree_name = "tree-grassland-k", - weight = 2 - }, - ["tree-grassland-l"] = { - tile_name = "vegetation-orange-grass-2", - tree_name = "tree-grassland-l", - weight = 955 - }, - ["tree-grassland-n"] = { - tile_name = "vegetation-orange-grass-2", - tree_name = "tree-grassland-n", - weight = 1561 - }, - ["tree-grassland-p"] = { - tile_name = "vegetation-orange-grass-2", - tree_name = "tree-grassland-p", - weight = 1037 - }, - ["tree-wetland-a"] = { - tile_name = "vegetation-orange-grass-2", - tree_name = "tree-wetland-a", - weight = 52 - }, - ["tree-wetland-b"] = { - tile_name = "vegetation-orange-grass-2", - tree_name = "tree-wetland-b", - weight = 20847 - }, - ["tree-wetland-c"] = { - tile_name = "vegetation-orange-grass-2", - tree_name = "tree-wetland-c", - weight = 149 - }, - ["tree-wetland-d"] = { - tile_name = "vegetation-orange-grass-2", - tree_name = "tree-wetland-d", - weight = 5300 - }, - ["tree-wetland-e"] = { - tile_name = "vegetation-orange-grass-2", - tree_name = "tree-wetland-e", - weight = 6589 - }, - ["tree-wetland-f"] = { - tile_name = "vegetation-orange-grass-2", - tree_name = "tree-wetland-f", - weight = 9 - }, - ["tree-wetland-j"] = { - tile_name = "vegetation-orange-grass-2", - tree_name = "tree-wetland-j", - weight = 59 - }, - ["tree-wetland-n"] = { - tile_name = "vegetation-orange-grass-2", - tree_name = "tree-wetland-n", - weight = 96 - } -} -terrains["mineral-brown-dirt-1"] = { - name = "mineral-brown-dirt-1", - ["tree-desert-a"] = { - tile_name = "mineral-brown-dirt-1", - tree_name = "tree-desert-a", - weight = 5 - }, - ["tree-desert-b"] = { - tile_name = "mineral-brown-dirt-1", - tree_name = "tree-desert-b", - weight = 673 - }, - ["tree-desert-c"] = { - tile_name = "mineral-brown-dirt-1", - tree_name = "tree-desert-c", - weight = 4456 - }, - ["tree-desert-d"] = { - tile_name = "mineral-brown-dirt-1", - tree_name = "tree-desert-d", - weight = 5 - }, - ["tree-desert-f"] = { - tile_name = "mineral-brown-dirt-1", - tree_name = "tree-desert-f", - weight = 1649 - }, - ["tree-desert-h"] = { - tile_name = "mineral-brown-dirt-1", - tree_name = "tree-desert-h", - weight = 2940 - }, - ["tree-desert-n"] = { - tile_name = "mineral-brown-dirt-1", - tree_name = "tree-desert-n", - weight = 4 - }, - ["tree-dryland-a"] = { - tile_name = "mineral-brown-dirt-1", - tree_name = "tree-dryland-a", - weight = 18093 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-brown-dirt-1", - tree_name = "tree-dryland-b", - weight = 94976 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-brown-dirt-1", - tree_name = "tree-dryland-c", - weight = 118 - }, - ["tree-dryland-d"] = { - tile_name = "mineral-brown-dirt-1", - tree_name = "tree-dryland-d", - weight = 461 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-brown-dirt-1", - tree_name = "tree-dryland-e", - weight = 370 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-brown-dirt-1", - tree_name = "tree-dryland-f", - weight = 205397 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-brown-dirt-1", - tree_name = "tree-dryland-g", - weight = 23042 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-brown-dirt-1", - tree_name = "tree-dryland-h", - weight = 47828 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-brown-dirt-1", - tree_name = "tree-dryland-i", - weight = 60 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-brown-dirt-1", - tree_name = "tree-dryland-k", - weight = 105 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-brown-dirt-1", - tree_name = "tree-dryland-l", - weight = 160 - }, - ["tree-dryland-n"] = { - tile_name = "mineral-brown-dirt-1", - tree_name = "tree-dryland-n", - weight = 75 - }, - ["tree-grassland-a"] = { - tile_name = "mineral-brown-dirt-1", - tree_name = "tree-grassland-a", - weight = 303 - }, - ["tree-grassland-b"] = { - tile_name = "mineral-brown-dirt-1", - tree_name = "tree-grassland-b", - weight = 4186 - }, - ["tree-grassland-c"] = { - tile_name = "mineral-brown-dirt-1", - tree_name = "tree-grassland-c", - weight = 67890 - }, - ["tree-grassland-d"] = { - tile_name = "mineral-brown-dirt-1", - tree_name = "tree-grassland-d", - weight = 36 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-brown-dirt-1", - tree_name = "tree-grassland-e", - weight = 133 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-brown-dirt-1", - tree_name = "tree-grassland-f", - weight = 4758 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-brown-dirt-1", - tree_name = "tree-grassland-g", - weight = 25269 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-brown-dirt-1", - tree_name = "tree-grassland-h", - weight = 31832 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-brown-dirt-1", - tree_name = "tree-grassland-h2", - weight = 3351 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-brown-dirt-1", - tree_name = "tree-grassland-i", - weight = 213 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-brown-dirt-1", - tree_name = "tree-grassland-l", - weight = 210 - }, - ["tree-grassland-n"] = { - tile_name = "mineral-brown-dirt-1", - tree_name = "tree-grassland-n", - weight = 114 - }, - ["tree-grassland-p"] = { - tile_name = "mineral-brown-dirt-1", - tree_name = "tree-grassland-p", - weight = 126 - }, - ["tree-wetland-b"] = { - tile_name = "mineral-brown-dirt-1", - tree_name = "tree-wetland-b", - weight = 5815 - }, - ["tree-wetland-d"] = { - tile_name = "mineral-brown-dirt-1", - tree_name = "tree-wetland-d", - weight = 1788 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-brown-dirt-1", - tree_name = "tree-wetland-e", - weight = 22434 - } -} -terrains["mineral-brown-dirt-6"] = { - name = "mineral-brown-dirt-6", - ["tree-desert-b"] = { - tile_name = "mineral-brown-dirt-6", - tree_name = "tree-desert-b", - weight = 61 - }, - ["tree-desert-c"] = { - tile_name = "mineral-brown-dirt-6", - tree_name = "tree-desert-c", - weight = 1300 - }, - ["tree-desert-f"] = { - tile_name = "mineral-brown-dirt-6", - tree_name = "tree-desert-f", - weight = 477 - }, - ["tree-desert-h"] = { - tile_name = "mineral-brown-dirt-6", - tree_name = "tree-desert-h", - weight = 791 - }, - ["tree-desert-j"] = { - tile_name = "mineral-brown-dirt-6", - tree_name = "tree-desert-j", - weight = 3 - }, - ["tree-desert-n"] = { - tile_name = "mineral-brown-dirt-6", - tree_name = "tree-desert-n", - weight = 3 - }, - ["tree-dryland-a"] = { - tile_name = "mineral-brown-dirt-6", - tree_name = "tree-dryland-a", - weight = 1207 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-brown-dirt-6", - tree_name = "tree-dryland-b", - weight = 6187 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-brown-dirt-6", - tree_name = "tree-dryland-c", - weight = 20 - }, - ["tree-dryland-d"] = { - tile_name = "mineral-brown-dirt-6", - tree_name = "tree-dryland-d", - weight = 41 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-brown-dirt-6", - tree_name = "tree-dryland-e", - weight = 35 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-brown-dirt-6", - tree_name = "tree-dryland-f", - weight = 16441 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-brown-dirt-6", - tree_name = "tree-dryland-g", - weight = 1429 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-brown-dirt-6", - tree_name = "tree-dryland-h", - weight = 5806 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-brown-dirt-6", - tree_name = "tree-dryland-i", - weight = 2 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-brown-dirt-6", - tree_name = "tree-dryland-k", - weight = 4 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-brown-dirt-6", - tree_name = "tree-dryland-l", - weight = 14 - }, - ["tree-dryland-n"] = { - tile_name = "mineral-brown-dirt-6", - tree_name = "tree-dryland-n", - weight = 5 - }, - ["tree-grassland-a"] = { - tile_name = "mineral-brown-dirt-6", - tree_name = "tree-grassland-a", - weight = 108 - }, - ["tree-grassland-b"] = { - tile_name = "mineral-brown-dirt-6", - tree_name = "tree-grassland-b", - weight = 797 - }, - ["tree-grassland-c"] = { - tile_name = "mineral-brown-dirt-6", - tree_name = "tree-grassland-c", - weight = 16471 - }, - ["tree-grassland-d"] = { - tile_name = "mineral-brown-dirt-6", - tree_name = "tree-grassland-d", - weight = 7 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-brown-dirt-6", - tree_name = "tree-grassland-e", - weight = 32 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-brown-dirt-6", - tree_name = "tree-grassland-f", - weight = 1953 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-brown-dirt-6", - tree_name = "tree-grassland-g", - weight = 5684 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-brown-dirt-6", - tree_name = "tree-grassland-h", - weight = 7299 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-brown-dirt-6", - tree_name = "tree-grassland-h2", - weight = 2005 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-brown-dirt-6", - tree_name = "tree-grassland-h3", - weight = 3 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-brown-dirt-6", - tree_name = "tree-grassland-i", - weight = 93 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-brown-dirt-6", - tree_name = "tree-grassland-l", - weight = 85 - }, - ["tree-grassland-n"] = { - tile_name = "mineral-brown-dirt-6", - tree_name = "tree-grassland-n", - weight = 70 - }, - ["tree-grassland-p"] = { - tile_name = "mineral-brown-dirt-6", - tree_name = "tree-grassland-p", - weight = 41 - }, - ["tree-wetland-b"] = { - tile_name = "mineral-brown-dirt-6", - tree_name = "tree-wetland-b", - weight = 606 - }, - ["tree-wetland-d"] = { - tile_name = "mineral-brown-dirt-6", - tree_name = "tree-wetland-d", - weight = 228 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-brown-dirt-6", - tree_name = "tree-wetland-e", - weight = 2464 - } -} -terrains["mineral-brown-dirt-5"] = { - name = "mineral-brown-dirt-5", - ["tree-desert-a"] = { - tile_name = "mineral-brown-dirt-5", - tree_name = "tree-desert-a", - weight = 6 - }, - ["tree-desert-b"] = { - tile_name = "mineral-brown-dirt-5", - tree_name = "tree-desert-b", - weight = 122 - }, - ["tree-desert-c"] = { - tile_name = "mineral-brown-dirt-5", - tree_name = "tree-desert-c", - weight = 1368 - }, - ["tree-desert-d"] = { - tile_name = "mineral-brown-dirt-5", - tree_name = "tree-desert-d", - weight = 3 - }, - ["tree-desert-f"] = { - tile_name = "mineral-brown-dirt-5", - tree_name = "tree-desert-f", - weight = 314 - }, - ["tree-desert-h"] = { - tile_name = "mineral-brown-dirt-5", - tree_name = "tree-desert-h", - weight = 799 - }, - ["tree-desert-j"] = { - tile_name = "mineral-brown-dirt-5", - tree_name = "tree-desert-j", - weight = 2 - }, - ["tree-desert-n"] = { - tile_name = "mineral-brown-dirt-5", - tree_name = "tree-desert-n", - weight = 2 - }, - ["tree-dryland-a"] = { - tile_name = "mineral-brown-dirt-5", - tree_name = "tree-dryland-a", - weight = 2563 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-brown-dirt-5", - tree_name = "tree-dryland-b", - weight = 10535 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-brown-dirt-5", - tree_name = "tree-dryland-c", - weight = 18 - }, - ["tree-dryland-d"] = { - tile_name = "mineral-brown-dirt-5", - tree_name = "tree-dryland-d", - weight = 50 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-brown-dirt-5", - tree_name = "tree-dryland-e", - weight = 37 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-brown-dirt-5", - tree_name = "tree-dryland-f", - weight = 27269 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-brown-dirt-5", - tree_name = "tree-dryland-g", - weight = 1219 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-brown-dirt-5", - tree_name = "tree-dryland-h", - weight = 8353 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-brown-dirt-5", - tree_name = "tree-dryland-i", - weight = 9 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-brown-dirt-5", - tree_name = "tree-dryland-k", - weight = 11 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-brown-dirt-5", - tree_name = "tree-dryland-l", - weight = 16 - }, - ["tree-dryland-n"] = { - tile_name = "mineral-brown-dirt-5", - tree_name = "tree-dryland-n", - weight = 11 - }, - ["tree-grassland-a"] = { - tile_name = "mineral-brown-dirt-5", - tree_name = "tree-grassland-a", - weight = 95 - }, - ["tree-grassland-b"] = { - tile_name = "mineral-brown-dirt-5", - tree_name = "tree-grassland-b", - weight = 1174 - }, - ["tree-grassland-c"] = { - tile_name = "mineral-brown-dirt-5", - tree_name = "tree-grassland-c", - weight = 21526 - }, - ["tree-grassland-d"] = { - tile_name = "mineral-brown-dirt-5", - tree_name = "tree-grassland-d", - weight = 23 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-brown-dirt-5", - tree_name = "tree-grassland-e", - weight = 30 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-brown-dirt-5", - tree_name = "tree-grassland-f", - weight = 2605 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-brown-dirt-5", - tree_name = "tree-grassland-g", - weight = 7961 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-brown-dirt-5", - tree_name = "tree-grassland-h", - weight = 6395 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-brown-dirt-5", - tree_name = "tree-grassland-h2", - weight = 2034 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-brown-dirt-5", - tree_name = "tree-grassland-h3", - weight = 6 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-brown-dirt-5", - tree_name = "tree-grassland-i", - weight = 55 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-brown-dirt-5", - tree_name = "tree-grassland-l", - weight = 101 - }, - ["tree-grassland-n"] = { - tile_name = "mineral-brown-dirt-5", - tree_name = "tree-grassland-n", - weight = 53 - }, - ["tree-grassland-p"] = { - tile_name = "mineral-brown-dirt-5", - tree_name = "tree-grassland-p", - weight = 41 - }, - ["tree-wetland-b"] = { - tile_name = "mineral-brown-dirt-5", - tree_name = "tree-wetland-b", - weight = 1191 - }, - ["tree-wetland-d"] = { - tile_name = "mineral-brown-dirt-5", - tree_name = "tree-wetland-d", - weight = 383 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-brown-dirt-5", - tree_name = "tree-wetland-e", - weight = 3294 - } -} -terrains["mineral-brown-dirt-2"] = { - name = "mineral-brown-dirt-2", - ["tree-desert-a"] = { - tile_name = "mineral-brown-dirt-2", - tree_name = "tree-desert-a", - weight = 4 - }, - ["tree-desert-b"] = { - tile_name = "mineral-brown-dirt-2", - tree_name = "tree-desert-b", - weight = 367 - }, - ["tree-desert-c"] = { - tile_name = "mineral-brown-dirt-2", - tree_name = "tree-desert-c", - weight = 2762 - }, - ["tree-desert-e"] = { - tile_name = "mineral-brown-dirt-2", - tree_name = "tree-desert-e", - weight = 2 - }, - ["tree-desert-f"] = { - tile_name = "mineral-brown-dirt-2", - tree_name = "tree-desert-f", - weight = 841 - }, - ["tree-desert-g"] = { - tile_name = "mineral-brown-dirt-2", - tree_name = "tree-desert-g", - weight = 2 - }, - ["tree-desert-h"] = { - tile_name = "mineral-brown-dirt-2", - tree_name = "tree-desert-h", - weight = 2261 - }, - ["tree-dryland-a"] = { - tile_name = "mineral-brown-dirt-2", - tree_name = "tree-dryland-a", - weight = 9728 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-brown-dirt-2", - tree_name = "tree-dryland-b", - weight = 49205 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-brown-dirt-2", - tree_name = "tree-dryland-c", - weight = 66 - }, - ["tree-dryland-d"] = { - tile_name = "mineral-brown-dirt-2", - tree_name = "tree-dryland-d", - weight = 253 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-brown-dirt-2", - tree_name = "tree-dryland-e", - weight = 208 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-brown-dirt-2", - tree_name = "tree-dryland-f", - weight = 112952 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-brown-dirt-2", - tree_name = "tree-dryland-g", - weight = 11216 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-brown-dirt-2", - tree_name = "tree-dryland-h", - weight = 28540 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-brown-dirt-2", - tree_name = "tree-dryland-i", - weight = 40 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-brown-dirt-2", - tree_name = "tree-dryland-k", - weight = 29 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-brown-dirt-2", - tree_name = "tree-dryland-l", - weight = 80 - }, - ["tree-dryland-n"] = { - tile_name = "mineral-brown-dirt-2", - tree_name = "tree-dryland-n", - weight = 55 - }, - ["tree-grassland-a"] = { - tile_name = "mineral-brown-dirt-2", - tree_name = "tree-grassland-a", - weight = 242 - }, - ["tree-grassland-b"] = { - tile_name = "mineral-brown-dirt-2", - tree_name = "tree-grassland-b", - weight = 4237 - }, - ["tree-grassland-c"] = { - tile_name = "mineral-brown-dirt-2", - tree_name = "tree-grassland-c", - weight = 49853 - }, - ["tree-grassland-d"] = { - tile_name = "mineral-brown-dirt-2", - tree_name = "tree-grassland-d", - weight = 25 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-brown-dirt-2", - tree_name = "tree-grassland-e", - weight = 82 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-brown-dirt-2", - tree_name = "tree-grassland-f", - weight = 4823 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-brown-dirt-2", - tree_name = "tree-grassland-g", - weight = 15957 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-brown-dirt-2", - tree_name = "tree-grassland-h", - weight = 23517 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-brown-dirt-2", - tree_name = "tree-grassland-h2", - weight = 3040 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-brown-dirt-2", - tree_name = "tree-grassland-h3", - weight = 4 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-brown-dirt-2", - tree_name = "tree-grassland-i", - weight = 107 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-brown-dirt-2", - tree_name = "tree-grassland-l", - weight = 144 - }, - ["tree-grassland-n"] = { - tile_name = "mineral-brown-dirt-2", - tree_name = "tree-grassland-n", - weight = 186 - }, - ["tree-grassland-p"] = { - tile_name = "mineral-brown-dirt-2", - tree_name = "tree-grassland-p", - weight = 71 - }, - ["tree-wetland-b"] = { - tile_name = "mineral-brown-dirt-2", - tree_name = "tree-wetland-b", - weight = 3704 - }, - ["tree-wetland-d"] = { - tile_name = "mineral-brown-dirt-2", - tree_name = "tree-wetland-d", - weight = 1109 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-brown-dirt-2", - tree_name = "tree-wetland-e", - weight = 11432 - } -} -terrains["mineral-brown-dirt-3"] = { - name = "mineral-brown-dirt-3", - ["tree-desert-a"] = { - tile_name = "mineral-brown-dirt-3", - tree_name = "tree-desert-a", - weight = 3 - }, - ["tree-desert-b"] = { - tile_name = "mineral-brown-dirt-3", - tree_name = "tree-desert-b", - weight = 177 - }, - ["tree-desert-c"] = { - tile_name = "mineral-brown-dirt-3", - tree_name = "tree-desert-c", - weight = 1883 - }, - ["tree-desert-f"] = { - tile_name = "mineral-brown-dirt-3", - tree_name = "tree-desert-f", - weight = 452 - }, - ["tree-desert-g"] = { - tile_name = "mineral-brown-dirt-3", - tree_name = "tree-desert-g", - weight = 3 - }, - ["tree-desert-h"] = { - tile_name = "mineral-brown-dirt-3", - tree_name = "tree-desert-h", - weight = 1337 - }, - ["tree-desert-n"] = { - tile_name = "mineral-brown-dirt-3", - tree_name = "tree-desert-n", - weight = 2 - }, - ["tree-dryland-a"] = { - tile_name = "mineral-brown-dirt-3", - tree_name = "tree-dryland-a", - weight = 5893 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-brown-dirt-3", - tree_name = "tree-dryland-b", - weight = 28623 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-brown-dirt-3", - tree_name = "tree-dryland-c", - weight = 25 - }, - ["tree-dryland-d"] = { - tile_name = "mineral-brown-dirt-3", - tree_name = "tree-dryland-d", - weight = 102 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-brown-dirt-3", - tree_name = "tree-dryland-e", - weight = 87 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-brown-dirt-3", - tree_name = "tree-dryland-f", - weight = 55882 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-brown-dirt-3", - tree_name = "tree-dryland-g", - weight = 5474 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-brown-dirt-3", - tree_name = "tree-dryland-h", - weight = 19579 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-brown-dirt-3", - tree_name = "tree-dryland-i", - weight = 10 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-brown-dirt-3", - tree_name = "tree-dryland-k", - weight = 13 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-brown-dirt-3", - tree_name = "tree-dryland-l", - weight = 67 - }, - ["tree-dryland-n"] = { - tile_name = "mineral-brown-dirt-3", - tree_name = "tree-dryland-n", - weight = 33 - }, - ["tree-grassland-a"] = { - tile_name = "mineral-brown-dirt-3", - tree_name = "tree-grassland-a", - weight = 157 - }, - ["tree-grassland-b"] = { - tile_name = "mineral-brown-dirt-3", - tree_name = "tree-grassland-b", - weight = 2954 - }, - ["tree-grassland-c"] = { - tile_name = "mineral-brown-dirt-3", - tree_name = "tree-grassland-c", - weight = 33959 - }, - ["tree-grassland-d"] = { - tile_name = "mineral-brown-dirt-3", - tree_name = "tree-grassland-d", - weight = 23 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-brown-dirt-3", - tree_name = "tree-grassland-e", - weight = 42 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-brown-dirt-3", - tree_name = "tree-grassland-f", - weight = 3369 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-brown-dirt-3", - tree_name = "tree-grassland-g", - weight = 12790 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-brown-dirt-3", - tree_name = "tree-grassland-h", - weight = 10527 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-brown-dirt-3", - tree_name = "tree-grassland-h2", - weight = 2151 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-brown-dirt-3", - tree_name = "tree-grassland-h3", - weight = 5 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-brown-dirt-3", - tree_name = "tree-grassland-i", - weight = 56 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-brown-dirt-3", - tree_name = "tree-grassland-l", - weight = 112 - }, - ["tree-grassland-n"] = { - tile_name = "mineral-brown-dirt-3", - tree_name = "tree-grassland-n", - weight = 159 - }, - ["tree-grassland-p"] = { - tile_name = "mineral-brown-dirt-3", - tree_name = "tree-grassland-p", - weight = 92 - }, - ["tree-wetland-b"] = { - tile_name = "mineral-brown-dirt-3", - tree_name = "tree-wetland-b", - weight = 1864 - }, - ["tree-wetland-d"] = { - tile_name = "mineral-brown-dirt-3", - tree_name = "tree-wetland-d", - weight = 589 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-brown-dirt-3", - tree_name = "tree-wetland-e", - weight = 6682 - } -} -terrains["mineral-brown-dirt-4"] = { - name = "mineral-brown-dirt-4", - ["tree-desert-a"] = { - tile_name = "mineral-brown-dirt-4", - tree_name = "tree-desert-a", - weight = 2 - }, - ["tree-desert-b"] = { - tile_name = "mineral-brown-dirt-4", - tree_name = "tree-desert-b", - weight = 250 - }, - ["tree-desert-c"] = { - tile_name = "mineral-brown-dirt-4", - tree_name = "tree-desert-c", - weight = 1887 - }, - ["tree-desert-f"] = { - tile_name = "mineral-brown-dirt-4", - tree_name = "tree-desert-f", - weight = 409 - }, - ["tree-desert-h"] = { - tile_name = "mineral-brown-dirt-4", - tree_name = "tree-desert-h", - weight = 998 - }, - ["tree-desert-j"] = { - tile_name = "mineral-brown-dirt-4", - tree_name = "tree-desert-j", - weight = 2 - }, - ["tree-dryland-a"] = { - tile_name = "mineral-brown-dirt-4", - tree_name = "tree-dryland-a", - weight = 2424 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-brown-dirt-4", - tree_name = "tree-dryland-b", - weight = 13394 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-brown-dirt-4", - tree_name = "tree-dryland-c", - weight = 16 - }, - ["tree-dryland-d"] = { - tile_name = "mineral-brown-dirt-4", - tree_name = "tree-dryland-d", - weight = 92 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-brown-dirt-4", - tree_name = "tree-dryland-e", - weight = 72 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-brown-dirt-4", - tree_name = "tree-dryland-f", - weight = 34218 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-brown-dirt-4", - tree_name = "tree-dryland-g", - weight = 4661 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-brown-dirt-4", - tree_name = "tree-dryland-h", - weight = 10271 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-brown-dirt-4", - tree_name = "tree-dryland-i", - weight = 6 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-brown-dirt-4", - tree_name = "tree-dryland-k", - weight = 13 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-brown-dirt-4", - tree_name = "tree-dryland-l", - weight = 30 - }, - ["tree-dryland-n"] = { - tile_name = "mineral-brown-dirt-4", - tree_name = "tree-dryland-n", - weight = 17 - }, - ["tree-grassland-a"] = { - tile_name = "mineral-brown-dirt-4", - tree_name = "tree-grassland-a", - weight = 152 - }, - ["tree-grassland-b"] = { - tile_name = "mineral-brown-dirt-4", - tree_name = "tree-grassland-b", - weight = 844 - }, - ["tree-grassland-c"] = { - tile_name = "mineral-brown-dirt-4", - tree_name = "tree-grassland-c", - weight = 20822 - }, - ["tree-grassland-d"] = { - tile_name = "mineral-brown-dirt-4", - tree_name = "tree-grassland-d", - weight = 2 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-brown-dirt-4", - tree_name = "tree-grassland-e", - weight = 53 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-brown-dirt-4", - tree_name = "tree-grassland-f", - weight = 2412 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-brown-dirt-4", - tree_name = "tree-grassland-g", - weight = 7248 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-brown-dirt-4", - tree_name = "tree-grassland-h", - weight = 10630 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-brown-dirt-4", - tree_name = "tree-grassland-h2", - weight = 1801 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-brown-dirt-4", - tree_name = "tree-grassland-h3", - weight = 4 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-brown-dirt-4", - tree_name = "tree-grassland-i", - weight = 74 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-brown-dirt-4", - tree_name = "tree-grassland-l", - weight = 128 - }, - ["tree-grassland-n"] = { - tile_name = "mineral-brown-dirt-4", - tree_name = "tree-grassland-n", - weight = 137 - }, - ["tree-grassland-p"] = { - tile_name = "mineral-brown-dirt-4", - tree_name = "tree-grassland-p", - weight = 80 - }, - ["tree-wetland-b"] = { - tile_name = "mineral-brown-dirt-4", - tree_name = "tree-wetland-b", - weight = 1279 - }, - ["tree-wetland-d"] = { - tile_name = "mineral-brown-dirt-4", - tree_name = "tree-wetland-d", - weight = 243 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-brown-dirt-4", - tree_name = "tree-wetland-e", - weight = 5027 - } -} -terrains["vegetation-turquoise-grass-1"] = { - name = "vegetation-turquoise-grass-1", - ["tree-desert-n"] = { - tile_name = "vegetation-turquoise-grass-1", - tree_name = "tree-desert-n", - weight = 7 - }, - ["tree-dryland-b"] = { - tile_name = "vegetation-turquoise-grass-1", - tree_name = "tree-dryland-b", - weight = 2 - }, - ["tree-dryland-j"] = { - tile_name = "vegetation-turquoise-grass-1", - tree_name = "tree-dryland-j", - weight = 3 - }, - ["tree-dryland-k"] = { - tile_name = "vegetation-turquoise-grass-1", - tree_name = "tree-dryland-k", - weight = 91 - }, - ["tree-dryland-l"] = { - tile_name = "vegetation-turquoise-grass-1", - tree_name = "tree-dryland-l", - weight = 2734 - }, - ["tree-dryland-n"] = { - tile_name = "vegetation-turquoise-grass-1", - tree_name = "tree-dryland-n", - weight = 7 - }, - ["tree-grassland-c"] = { - tile_name = "vegetation-turquoise-grass-1", - tree_name = "tree-grassland-c", - weight = 1183 - }, - ["tree-grassland-d"] = { - tile_name = "vegetation-turquoise-grass-1", - tree_name = "tree-grassland-d", - weight = 36 - }, - ["tree-grassland-e"] = { - tile_name = "vegetation-turquoise-grass-1", - tree_name = "tree-grassland-e", - weight = 24 - }, - ["tree-grassland-g"] = { - tile_name = "vegetation-turquoise-grass-1", - tree_name = "tree-grassland-g", - weight = 286 - }, - ["tree-grassland-h"] = { - tile_name = "vegetation-turquoise-grass-1", - tree_name = "tree-grassland-h", - weight = 112541 - }, - ["tree-grassland-h3"] = { - tile_name = "vegetation-turquoise-grass-1", - tree_name = "tree-grassland-h3", - weight = 326 - }, - ["tree-grassland-k"] = { - tile_name = "vegetation-turquoise-grass-1", - tree_name = "tree-grassland-k", - weight = 487 - }, - ["tree-grassland-l"] = { - tile_name = "vegetation-turquoise-grass-1", - tree_name = "tree-grassland-l", - weight = 324 - }, - ["tree-grassland-m"] = { - tile_name = "vegetation-turquoise-grass-1", - tree_name = "tree-grassland-m", - weight = 240 - }, - ["tree-grassland-n"] = { - tile_name = "vegetation-turquoise-grass-1", - tree_name = "tree-grassland-n", - weight = 84944 - }, - ["tree-grassland-p"] = { - tile_name = "vegetation-turquoise-grass-1", - tree_name = "tree-grassland-p", - weight = 217191 - }, - ["tree-grassland-q"] = { - tile_name = "vegetation-turquoise-grass-1", - tree_name = "tree-grassland-q", - weight = 506 - }, - ["tree-wetland-b"] = { - tile_name = "vegetation-turquoise-grass-1", - tree_name = "tree-wetland-b", - weight = 23 - }, - ["tree-wetland-c"] = { - tile_name = "vegetation-turquoise-grass-1", - tree_name = "tree-wetland-c", - weight = 12 - }, - ["tree-wetland-e"] = { - tile_name = "vegetation-turquoise-grass-1", - tree_name = "tree-wetland-e", - weight = 550 - }, - ["tree-wetland-j"] = { - tile_name = "vegetation-turquoise-grass-1", - tree_name = "tree-wetland-j", - weight = 26790 - }, - ["tree-wetland-k"] = { - tile_name = "vegetation-turquoise-grass-1", - tree_name = "tree-wetland-k", - weight = 108332 - }, - ["tree-wetland-l"] = { - tile_name = "vegetation-turquoise-grass-1", - tree_name = "tree-wetland-l", - weight = 836 - }, - ["tree-wetland-m"] = { - tile_name = "vegetation-turquoise-grass-1", - tree_name = "tree-wetland-m", - weight = 886 - }, - ["tree-wetland-n"] = { - tile_name = "vegetation-turquoise-grass-1", - tree_name = "tree-wetland-n", - weight = 216 - }, - ["tree-wetland-o"] = { - tile_name = "vegetation-turquoise-grass-1", - tree_name = "tree-wetland-o", - weight = 3124 - } -} -terrains["vegetation-turquoise-grass-2"] = { - name = "vegetation-turquoise-grass-2", - ["tree-desert-n"] = { - tile_name = "vegetation-turquoise-grass-2", - tree_name = "tree-desert-n", - weight = 4 - }, - ["tree-dryland-f"] = { - tile_name = "vegetation-turquoise-grass-2", - tree_name = "tree-dryland-f", - weight = 2 - }, - ["tree-dryland-j"] = { - tile_name = "vegetation-turquoise-grass-2", - tree_name = "tree-dryland-j", - weight = 3 - }, - ["tree-dryland-k"] = { - tile_name = "vegetation-turquoise-grass-2", - tree_name = "tree-dryland-k", - weight = 136 - }, - ["tree-dryland-l"] = { - tile_name = "vegetation-turquoise-grass-2", - tree_name = "tree-dryland-l", - weight = 1189 - }, - ["tree-dryland-n"] = { - tile_name = "vegetation-turquoise-grass-2", - tree_name = "tree-dryland-n", - weight = 15 - }, - ["tree-grassland-c"] = { - tile_name = "vegetation-turquoise-grass-2", - tree_name = "tree-grassland-c", - weight = 856 - }, - ["tree-grassland-d"] = { - tile_name = "vegetation-turquoise-grass-2", - tree_name = "tree-grassland-d", - weight = 38 - }, - ["tree-grassland-e"] = { - tile_name = "vegetation-turquoise-grass-2", - tree_name = "tree-grassland-e", - weight = 11 - }, - ["tree-grassland-g"] = { - tile_name = "vegetation-turquoise-grass-2", - tree_name = "tree-grassland-g", - weight = 199 - }, - ["tree-grassland-h"] = { - tile_name = "vegetation-turquoise-grass-2", - tree_name = "tree-grassland-h", - weight = 65406 - }, - ["tree-grassland-h3"] = { - tile_name = "vegetation-turquoise-grass-2", - tree_name = "tree-grassland-h3", - weight = 150 - }, - ["tree-grassland-k"] = { - tile_name = "vegetation-turquoise-grass-2", - tree_name = "tree-grassland-k", - weight = 338 - }, - ["tree-grassland-l"] = { - tile_name = "vegetation-turquoise-grass-2", - tree_name = "tree-grassland-l", - weight = 252 - }, - ["tree-grassland-m"] = { - tile_name = "vegetation-turquoise-grass-2", - tree_name = "tree-grassland-m", - weight = 239 - }, - ["tree-grassland-n"] = { - tile_name = "vegetation-turquoise-grass-2", - tree_name = "tree-grassland-n", - weight = 55524 - }, - ["tree-grassland-p"] = { - tile_name = "vegetation-turquoise-grass-2", - tree_name = "tree-grassland-p", - weight = 134901 - }, - ["tree-grassland-q"] = { - tile_name = "vegetation-turquoise-grass-2", - tree_name = "tree-grassland-q", - weight = 377 - }, - ["tree-wetland-b"] = { - tile_name = "vegetation-turquoise-grass-2", - tree_name = "tree-wetland-b", - weight = 18 - }, - ["tree-wetland-e"] = { - tile_name = "vegetation-turquoise-grass-2", - tree_name = "tree-wetland-e", - weight = 284 - }, - ["tree-wetland-j"] = { - tile_name = "vegetation-turquoise-grass-2", - tree_name = "tree-wetland-j", - weight = 18099 - }, - ["tree-wetland-k"] = { - tile_name = "vegetation-turquoise-grass-2", - tree_name = "tree-wetland-k", - weight = 60185 - }, - ["tree-wetland-l"] = { - tile_name = "vegetation-turquoise-grass-2", - tree_name = "tree-wetland-l", - weight = 488 - }, - ["tree-wetland-m"] = { - tile_name = "vegetation-turquoise-grass-2", - tree_name = "tree-wetland-m", - weight = 239 - }, - ["tree-wetland-n"] = { - tile_name = "vegetation-turquoise-grass-2", - tree_name = "tree-wetland-n", - weight = 137 - }, - ["tree-wetland-o"] = { - tile_name = "vegetation-turquoise-grass-2", - tree_name = "tree-wetland-o", - weight = 1987 - } -} -terrains["vegetation-blue-grass-2"] = { - name = "vegetation-blue-grass-2", - ["tree-desert-j"] = { - tile_name = "vegetation-blue-grass-2", - tree_name = "tree-desert-j", - weight = 2 - }, - ["tree-desert-n"] = { - tile_name = "vegetation-blue-grass-2", - tree_name = "tree-desert-n", - weight = 5 - }, - ["tree-dryland-h"] = { - tile_name = "vegetation-blue-grass-2", - tree_name = "tree-dryland-h", - weight = 3 - }, - ["tree-dryland-l"] = { - tile_name = "vegetation-blue-grass-2", - tree_name = "tree-dryland-l", - weight = 217 - }, - ["tree-dryland-m"] = { - tile_name = "vegetation-blue-grass-2", - tree_name = "tree-dryland-m", - weight = 91 - }, - ["tree-dryland-o"] = { - tile_name = "vegetation-blue-grass-2", - tree_name = "tree-dryland-o", - weight = 153 - }, - ["tree-grassland-c"] = { - tile_name = "vegetation-blue-grass-2", - tree_name = "tree-grassland-c", - weight = 31 - }, - ["tree-grassland-d"] = { - tile_name = "vegetation-blue-grass-2", - tree_name = "tree-grassland-d", - weight = 1075 - }, - ["tree-grassland-e"] = { - tile_name = "vegetation-blue-grass-2", - tree_name = "tree-grassland-e", - weight = 684 - }, - ["tree-grassland-h"] = { - tile_name = "vegetation-blue-grass-2", - tree_name = "tree-grassland-h", - weight = 1092 - }, - ["tree-grassland-h3"] = { - tile_name = "vegetation-blue-grass-2", - tree_name = "tree-grassland-h3", - weight = 376 - }, - ["tree-grassland-i"] = { - tile_name = "vegetation-blue-grass-2", - tree_name = "tree-grassland-i", - weight = 378 - }, - ["tree-grassland-k"] = { - tile_name = "vegetation-blue-grass-2", - tree_name = "tree-grassland-k", - weight = 891 - }, - ["tree-grassland-m"] = { - tile_name = "vegetation-blue-grass-2", - tree_name = "tree-grassland-m", - weight = 35923 - }, - ["tree-grassland-n"] = { - tile_name = "vegetation-blue-grass-2", - tree_name = "tree-grassland-n", - weight = 572 - }, - ["tree-grassland-p"] = { - tile_name = "vegetation-blue-grass-2", - tree_name = "tree-grassland-p", - weight = 6382 - }, - ["tree-wetland-c"] = { - tile_name = "vegetation-blue-grass-2", - tree_name = "tree-wetland-c", - weight = 57 - }, - ["tree-wetland-e"] = { - tile_name = "vegetation-blue-grass-2", - tree_name = "tree-wetland-e", - weight = 217 - }, - ["tree-wetland-f"] = { - tile_name = "vegetation-blue-grass-2", - tree_name = "tree-wetland-f", - weight = 52 - }, - ["tree-wetland-h"] = { - tile_name = "vegetation-blue-grass-2", - tree_name = "tree-wetland-h", - weight = 155 - }, - ["tree-wetland-j"] = { - tile_name = "vegetation-blue-grass-2", - tree_name = "tree-wetland-j", - weight = 337 - }, - ["tree-wetland-k"] = { - tile_name = "vegetation-blue-grass-2", - tree_name = "tree-wetland-k", - weight = 45630 - }, - ["tree-wetland-l"] = { - tile_name = "vegetation-blue-grass-2", - tree_name = "tree-wetland-l", - weight = 36774 - }, - ["tree-wetland-m"] = { - tile_name = "vegetation-blue-grass-2", - tree_name = "tree-wetland-m", - weight = 245 - }, - ["tree-wetland-o"] = { - tile_name = "vegetation-blue-grass-2", - tree_name = "tree-wetland-o", - weight = 3489 - } -} -terrains["vegetation-blue-grass-1"] = { - name = "vegetation-blue-grass-1", - ["tree-desert-n"] = { - tile_name = "vegetation-blue-grass-1", - tree_name = "tree-desert-n", - weight = 11 - }, - ["tree-dryland-c"] = { - tile_name = "vegetation-blue-grass-1", - tree_name = "tree-dryland-c", - weight = 2 - }, - ["tree-dryland-l"] = { - tile_name = "vegetation-blue-grass-1", - tree_name = "tree-dryland-l", - weight = 526 - }, - ["tree-dryland-m"] = { - tile_name = "vegetation-blue-grass-1", - tree_name = "tree-dryland-m", - weight = 50 - }, - ["tree-dryland-n"] = { - tile_name = "vegetation-blue-grass-1", - tree_name = "tree-dryland-n", - weight = 2 - }, - ["tree-dryland-o"] = { - tile_name = "vegetation-blue-grass-1", - tree_name = "tree-dryland-o", - weight = 359 - }, - ["tree-grassland-c"] = { - tile_name = "vegetation-blue-grass-1", - tree_name = "tree-grassland-c", - weight = 42 - }, - ["tree-grassland-d"] = { - tile_name = "vegetation-blue-grass-1", - tree_name = "tree-grassland-d", - weight = 1974 - }, - ["tree-grassland-e"] = { - tile_name = "vegetation-blue-grass-1", - tree_name = "tree-grassland-e", - weight = 990 - }, - ["tree-grassland-h"] = { - tile_name = "vegetation-blue-grass-1", - tree_name = "tree-grassland-h", - weight = 2247 - }, - ["tree-grassland-h2"] = { - tile_name = "vegetation-blue-grass-1", - tree_name = "tree-grassland-h2", - weight = 4 - }, - ["tree-grassland-h3"] = { - tile_name = "vegetation-blue-grass-1", - tree_name = "tree-grassland-h3", - weight = 622 - }, - ["tree-grassland-i"] = { - tile_name = "vegetation-blue-grass-1", - tree_name = "tree-grassland-i", - weight = 775 - }, - ["tree-grassland-k"] = { - tile_name = "vegetation-blue-grass-1", - tree_name = "tree-grassland-k", - weight = 1054 - }, - ["tree-grassland-l"] = { - tile_name = "vegetation-blue-grass-1", - tree_name = "tree-grassland-l", - weight = 7 - }, - ["tree-grassland-m"] = { - tile_name = "vegetation-blue-grass-1", - tree_name = "tree-grassland-m", - weight = 53412 - }, - ["tree-grassland-n"] = { - tile_name = "vegetation-blue-grass-1", - tree_name = "tree-grassland-n", - weight = 684 - }, - ["tree-grassland-p"] = { - tile_name = "vegetation-blue-grass-1", - tree_name = "tree-grassland-p", - weight = 14362 - }, - ["tree-wetland-c"] = { - tile_name = "vegetation-blue-grass-1", - tree_name = "tree-wetland-c", - weight = 116 - }, - ["tree-wetland-e"] = { - tile_name = "vegetation-blue-grass-1", - tree_name = "tree-wetland-e", - weight = 437 - }, - ["tree-wetland-f"] = { - tile_name = "vegetation-blue-grass-1", - tree_name = "tree-wetland-f", - weight = 148 - }, - ["tree-wetland-h"] = { - tile_name = "vegetation-blue-grass-1", - tree_name = "tree-wetland-h", - weight = 567 - }, - ["tree-wetland-j"] = { - tile_name = "vegetation-blue-grass-1", - tree_name = "tree-wetland-j", - weight = 530 - }, - ["tree-wetland-k"] = { - tile_name = "vegetation-blue-grass-1", - tree_name = "tree-wetland-k", - weight = 59120 - }, - ["tree-wetland-l"] = { - tile_name = "vegetation-blue-grass-1", - tree_name = "tree-wetland-l", - weight = 53635 - }, - ["tree-wetland-m"] = { - tile_name = "vegetation-blue-grass-1", - tree_name = "tree-wetland-m", - weight = 346 - }, - ["tree-wetland-o"] = { - tile_name = "vegetation-blue-grass-1", - tree_name = "tree-wetland-o", - weight = 6742 - } -} -terrains["mineral-aubergine-dirt-5"] = { - name = "mineral-aubergine-dirt-5", - ["tree-desert-h"] = { - tile_name = "mineral-aubergine-dirt-5", - tree_name = "tree-desert-h", - weight = 294 - }, - ["tree-desert-k"] = { - tile_name = "mineral-aubergine-dirt-5", - tree_name = "tree-desert-k", - weight = 468 - }, - ["tree-desert-l"] = { - tile_name = "mineral-aubergine-dirt-5", - tree_name = "tree-desert-l", - weight = 4 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-aubergine-dirt-5", - tree_name = "tree-dryland-c", - weight = 8 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-aubergine-dirt-5", - tree_name = "tree-dryland-e", - weight = 5 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-aubergine-dirt-5", - tree_name = "tree-dryland-g", - weight = 5 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-aubergine-dirt-5", - tree_name = "tree-dryland-h", - weight = 2968 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-aubergine-dirt-5", - tree_name = "tree-dryland-i", - weight = 609 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-aubergine-dirt-5", - tree_name = "tree-dryland-j", - weight = 2 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-aubergine-dirt-5", - tree_name = "tree-dryland-k", - weight = 2 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-aubergine-dirt-5", - tree_name = "tree-dryland-l", - weight = 419 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-aubergine-dirt-5", - tree_name = "tree-dryland-m", - weight = 2569 - }, - ["tree-dryland-o"] = { - tile_name = "mineral-aubergine-dirt-5", - tree_name = "tree-dryland-o", - weight = 7 - }, - ["tree-grassland-d"] = { - tile_name = "mineral-aubergine-dirt-5", - tree_name = "tree-grassland-d", - weight = 2 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-aubergine-dirt-5", - tree_name = "tree-grassland-e", - weight = 19 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-aubergine-dirt-5", - tree_name = "tree-grassland-g", - weight = 12 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-aubergine-dirt-5", - tree_name = "tree-grassland-h", - weight = 11 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-aubergine-dirt-5", - tree_name = "tree-grassland-h2", - weight = 4408 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-aubergine-dirt-5", - tree_name = "tree-grassland-h3", - weight = 1819 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-aubergine-dirt-5", - tree_name = "tree-grassland-i", - weight = 1058 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-aubergine-dirt-5", - tree_name = "tree-grassland-k", - weight = 10 - }, - ["tree-grassland-m"] = { - tile_name = "mineral-aubergine-dirt-5", - tree_name = "tree-grassland-m", - weight = 259 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-aubergine-dirt-5", - tree_name = "tree-wetland-e", - weight = 261 - }, - ["tree-wetland-f"] = { - tile_name = "mineral-aubergine-dirt-5", - tree_name = "tree-wetland-f", - weight = 11 - }, - ["tree-wetland-h"] = { - tile_name = "mineral-aubergine-dirt-5", - tree_name = "tree-wetland-h", - weight = 157 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-aubergine-dirt-5", - tree_name = "tree-wetland-k", - weight = 11 - }, - ["tree-wetland-l"] = { - tile_name = "mineral-aubergine-dirt-5", - tree_name = "tree-wetland-l", - weight = 5 - } -} -terrains["mineral-aubergine-dirt-3"] = { - name = "mineral-aubergine-dirt-3", - ["tree-desert-h"] = { - tile_name = "mineral-aubergine-dirt-3", - tree_name = "tree-desert-h", - weight = 554 - }, - ["tree-desert-k"] = { - tile_name = "mineral-aubergine-dirt-3", - tree_name = "tree-desert-k", - weight = 552 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-aubergine-dirt-3", - tree_name = "tree-dryland-c", - weight = 18 - }, - ["tree-dryland-d"] = { - tile_name = "mineral-aubergine-dirt-3", - tree_name = "tree-dryland-d", - weight = 10 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-aubergine-dirt-3", - tree_name = "tree-dryland-e", - weight = 5 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-aubergine-dirt-3", - tree_name = "tree-dryland-g", - weight = 19 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-aubergine-dirt-3", - tree_name = "tree-dryland-h", - weight = 6048 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-aubergine-dirt-3", - tree_name = "tree-dryland-i", - weight = 3400 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-aubergine-dirt-3", - tree_name = "tree-dryland-k", - weight = 3 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-aubergine-dirt-3", - tree_name = "tree-dryland-l", - weight = 400 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-aubergine-dirt-3", - tree_name = "tree-dryland-m", - weight = 2602 - }, - ["tree-dryland-o"] = { - tile_name = "mineral-aubergine-dirt-3", - tree_name = "tree-dryland-o", - weight = 12 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-aubergine-dirt-3", - tree_name = "tree-grassland-e", - weight = 9 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-aubergine-dirt-3", - tree_name = "tree-grassland-f", - weight = 2 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-aubergine-dirt-3", - tree_name = "tree-grassland-h", - weight = 4 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-aubergine-dirt-3", - tree_name = "tree-grassland-h2", - weight = 7345 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-aubergine-dirt-3", - tree_name = "tree-grassland-h3", - weight = 2441 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-aubergine-dirt-3", - tree_name = "tree-grassland-i", - weight = 2781 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-aubergine-dirt-3", - tree_name = "tree-grassland-k", - weight = 9 - }, - ["tree-grassland-m"] = { - tile_name = "mineral-aubergine-dirt-3", - tree_name = "tree-grassland-m", - weight = 179 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-aubergine-dirt-3", - tree_name = "tree-wetland-e", - weight = 153 - }, - ["tree-wetland-f"] = { - tile_name = "mineral-aubergine-dirt-3", - tree_name = "tree-wetland-f", - weight = 19 - }, - ["tree-wetland-h"] = { - tile_name = "mineral-aubergine-dirt-3", - tree_name = "tree-wetland-h", - weight = 533 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-aubergine-dirt-3", - tree_name = "tree-wetland-k", - weight = 24 - }, - ["tree-wetland-l"] = { - tile_name = "mineral-aubergine-dirt-3", - tree_name = "tree-wetland-l", - weight = 46 - } -} -terrains["mineral-aubergine-dirt-1"] = { - name = "mineral-aubergine-dirt-1", - ["tree-desert-h"] = { - tile_name = "mineral-aubergine-dirt-1", - tree_name = "tree-desert-h", - weight = 1133 - }, - ["tree-desert-i"] = { - tile_name = "mineral-aubergine-dirt-1", - tree_name = "tree-desert-i", - weight = 3 - }, - ["tree-desert-k"] = { - tile_name = "mineral-aubergine-dirt-1", - tree_name = "tree-desert-k", - weight = 493 - }, - ["tree-desert-l"] = { - tile_name = "mineral-aubergine-dirt-1", - tree_name = "tree-desert-l", - weight = 14 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-aubergine-dirt-1", - tree_name = "tree-dryland-c", - weight = 9 - }, - ["tree-dryland-d"] = { - tile_name = "mineral-aubergine-dirt-1", - tree_name = "tree-dryland-d", - weight = 3 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-aubergine-dirt-1", - tree_name = "tree-dryland-e", - weight = 29 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-aubergine-dirt-1", - tree_name = "tree-dryland-g", - weight = 29 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-aubergine-dirt-1", - tree_name = "tree-dryland-h", - weight = 15223 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-aubergine-dirt-1", - tree_name = "tree-dryland-i", - weight = 8571 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-aubergine-dirt-1", - tree_name = "tree-dryland-l", - weight = 247 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-aubergine-dirt-1", - tree_name = "tree-dryland-m", - weight = 7463 - }, - ["tree-dryland-o"] = { - tile_name = "mineral-aubergine-dirt-1", - tree_name = "tree-dryland-o", - weight = 4 - }, - ["tree-grassland-d"] = { - tile_name = "mineral-aubergine-dirt-1", - tree_name = "tree-grassland-d", - weight = 64 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-aubergine-dirt-1", - tree_name = "tree-grassland-e", - weight = 6 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-aubergine-dirt-1", - tree_name = "tree-grassland-h", - weight = 5 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-aubergine-dirt-1", - tree_name = "tree-grassland-h2", - weight = 17059 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-aubergine-dirt-1", - tree_name = "tree-grassland-h3", - weight = 5840 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-aubergine-dirt-1", - tree_name = "tree-grassland-i", - weight = 6384 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-aubergine-dirt-1", - tree_name = "tree-grassland-k", - weight = 16 - }, - ["tree-grassland-m"] = { - tile_name = "mineral-aubergine-dirt-1", - tree_name = "tree-grassland-m", - weight = 229 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-aubergine-dirt-1", - tree_name = "tree-wetland-e", - weight = 383 - }, - ["tree-wetland-f"] = { - tile_name = "mineral-aubergine-dirt-1", - tree_name = "tree-wetland-f", - weight = 11 - }, - ["tree-wetland-h"] = { - tile_name = "mineral-aubergine-dirt-1", - tree_name = "tree-wetland-h", - weight = 1882 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-aubergine-dirt-1", - tree_name = "tree-wetland-k", - weight = 45 - }, - ["tree-wetland-l"] = { - tile_name = "mineral-aubergine-dirt-1", - tree_name = "tree-wetland-l", - weight = 33 - } -} -terrains["mineral-aubergine-dirt-4"] = { - name = "mineral-aubergine-dirt-4", - ["tree-desert-g"] = { - tile_name = "mineral-aubergine-dirt-4", - tree_name = "tree-desert-g", - weight = 2 - }, - ["tree-desert-h"] = { - tile_name = "mineral-aubergine-dirt-4", - tree_name = "tree-desert-h", - weight = 325 - }, - ["tree-desert-i"] = { - tile_name = "mineral-aubergine-dirt-4", - tree_name = "tree-desert-i", - weight = 2 - }, - ["tree-desert-k"] = { - tile_name = "mineral-aubergine-dirt-4", - tree_name = "tree-desert-k", - weight = 323 - }, - ["tree-desert-l"] = { - tile_name = "mineral-aubergine-dirt-4", - tree_name = "tree-desert-l", - weight = 51 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-aubergine-dirt-4", - tree_name = "tree-dryland-c", - weight = 3 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-aubergine-dirt-4", - tree_name = "tree-dryland-e", - weight = 22 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-aubergine-dirt-4", - tree_name = "tree-dryland-g", - weight = 10 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-aubergine-dirt-4", - tree_name = "tree-dryland-h", - weight = 3480 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-aubergine-dirt-4", - tree_name = "tree-dryland-i", - weight = 2680 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-aubergine-dirt-4", - tree_name = "tree-dryland-k", - weight = 2 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-aubergine-dirt-4", - tree_name = "tree-dryland-l", - weight = 582 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-aubergine-dirt-4", - tree_name = "tree-dryland-m", - weight = 3328 - }, - ["tree-dryland-o"] = { - tile_name = "mineral-aubergine-dirt-4", - tree_name = "tree-dryland-o", - weight = 7 - }, - ["tree-grassland-d"] = { - tile_name = "mineral-aubergine-dirt-4", - tree_name = "tree-grassland-d", - weight = 8 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-aubergine-dirt-4", - tree_name = "tree-grassland-e", - weight = 8 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-aubergine-dirt-4", - tree_name = "tree-grassland-h", - weight = 25 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-aubergine-dirt-4", - tree_name = "tree-grassland-h2", - weight = 5878 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-aubergine-dirt-4", - tree_name = "tree-grassland-h3", - weight = 2463 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-aubergine-dirt-4", - tree_name = "tree-grassland-i", - weight = 1786 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-aubergine-dirt-4", - tree_name = "tree-grassland-k", - weight = 6 - }, - ["tree-grassland-m"] = { - tile_name = "mineral-aubergine-dirt-4", - tree_name = "tree-grassland-m", - weight = 250 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-aubergine-dirt-4", - tree_name = "tree-wetland-e", - weight = 187 - }, - ["tree-wetland-f"] = { - tile_name = "mineral-aubergine-dirt-4", - tree_name = "tree-wetland-f", - weight = 46 - }, - ["tree-wetland-h"] = { - tile_name = "mineral-aubergine-dirt-4", - tree_name = "tree-wetland-h", - weight = 620 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-aubergine-dirt-4", - tree_name = "tree-wetland-k", - weight = 28 - }, - ["tree-wetland-l"] = { - tile_name = "mineral-aubergine-dirt-4", - tree_name = "tree-wetland-l", - weight = 22 - } -} -terrains["mineral-aubergine-dirt-2"] = { - name = "mineral-aubergine-dirt-2", - ["tree-desert-h"] = { - tile_name = "mineral-aubergine-dirt-2", - tree_name = "tree-desert-h", - weight = 398 - }, - ["tree-desert-k"] = { - tile_name = "mineral-aubergine-dirt-2", - tree_name = "tree-desert-k", - weight = 736 - }, - ["tree-desert-l"] = { - tile_name = "mineral-aubergine-dirt-2", - tree_name = "tree-desert-l", - weight = 21 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-aubergine-dirt-2", - tree_name = "tree-dryland-c", - weight = 8 - }, - ["tree-dryland-d"] = { - tile_name = "mineral-aubergine-dirt-2", - tree_name = "tree-dryland-d", - weight = 4 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-aubergine-dirt-2", - tree_name = "tree-dryland-e", - weight = 25 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-aubergine-dirt-2", - tree_name = "tree-dryland-g", - weight = 16 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-aubergine-dirt-2", - tree_name = "tree-dryland-h", - weight = 11587 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-aubergine-dirt-2", - tree_name = "tree-dryland-i", - weight = 4412 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-aubergine-dirt-2", - tree_name = "tree-dryland-k", - weight = 2 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-aubergine-dirt-2", - tree_name = "tree-dryland-l", - weight = 419 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-aubergine-dirt-2", - tree_name = "tree-dryland-m", - weight = 7218 - }, - ["tree-dryland-o"] = { - tile_name = "mineral-aubergine-dirt-2", - tree_name = "tree-dryland-o", - weight = 3 - }, - ["tree-grassland-d"] = { - tile_name = "mineral-aubergine-dirt-2", - tree_name = "tree-grassland-d", - weight = 24 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-aubergine-dirt-2", - tree_name = "tree-grassland-e", - weight = 15 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-aubergine-dirt-2", - tree_name = "tree-grassland-g", - weight = 14 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-aubergine-dirt-2", - tree_name = "tree-grassland-h", - weight = 55 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-aubergine-dirt-2", - tree_name = "tree-grassland-h2", - weight = 11751 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-aubergine-dirt-2", - tree_name = "tree-grassland-h3", - weight = 5631 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-aubergine-dirt-2", - tree_name = "tree-grassland-i", - weight = 4814 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-aubergine-dirt-2", - tree_name = "tree-grassland-k", - weight = 14 - }, - ["tree-grassland-m"] = { - tile_name = "mineral-aubergine-dirt-2", - tree_name = "tree-grassland-m", - weight = 459 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-aubergine-dirt-2", - tree_name = "tree-wetland-e", - weight = 210 - }, - ["tree-wetland-f"] = { - tile_name = "mineral-aubergine-dirt-2", - tree_name = "tree-wetland-f", - weight = 3 - }, - ["tree-wetland-h"] = { - tile_name = "mineral-aubergine-dirt-2", - tree_name = "tree-wetland-h", - weight = 811 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-aubergine-dirt-2", - tree_name = "tree-wetland-k", - weight = 70 - }, - ["tree-wetland-l"] = { - tile_name = "mineral-aubergine-dirt-2", - tree_name = "tree-wetland-l", - weight = 16 - } -} -terrains["mineral-aubergine-dirt-6"] = { - name = "mineral-aubergine-dirt-6", - ["tree-desert-h"] = { - tile_name = "mineral-aubergine-dirt-6", - tree_name = "tree-desert-h", - weight = 150 - }, - ["tree-desert-k"] = { - tile_name = "mineral-aubergine-dirt-6", - tree_name = "tree-desert-k", - weight = 202 - }, - ["tree-desert-l"] = { - tile_name = "mineral-aubergine-dirt-6", - tree_name = "tree-desert-l", - weight = 2 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-aubergine-dirt-6", - tree_name = "tree-dryland-c", - weight = 2 - }, - ["tree-dryland-d"] = { - tile_name = "mineral-aubergine-dirt-6", - tree_name = "tree-dryland-d", - weight = 3 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-aubergine-dirt-6", - tree_name = "tree-dryland-e", - weight = 7 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-aubergine-dirt-6", - tree_name = "tree-dryland-g", - weight = 7 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-aubergine-dirt-6", - tree_name = "tree-dryland-h", - weight = 2578 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-aubergine-dirt-6", - tree_name = "tree-dryland-i", - weight = 792 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-aubergine-dirt-6", - tree_name = "tree-dryland-k", - weight = 2 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-aubergine-dirt-6", - tree_name = "tree-dryland-l", - weight = 414 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-aubergine-dirt-6", - tree_name = "tree-dryland-m", - weight = 1907 - }, - ["tree-dryland-o"] = { - tile_name = "mineral-aubergine-dirt-6", - tree_name = "tree-dryland-o", - weight = 2 - }, - ["tree-grassland-d"] = { - tile_name = "mineral-aubergine-dirt-6", - tree_name = "tree-grassland-d", - weight = 3 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-aubergine-dirt-6", - tree_name = "tree-grassland-e", - weight = 3 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-aubergine-dirt-6", - tree_name = "tree-grassland-g", - weight = 11 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-aubergine-dirt-6", - tree_name = "tree-grassland-h", - weight = 4 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-aubergine-dirt-6", - tree_name = "tree-grassland-h2", - weight = 2295 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-aubergine-dirt-6", - tree_name = "tree-grassland-h3", - weight = 1711 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-aubergine-dirt-6", - tree_name = "tree-grassland-i", - weight = 2445 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-aubergine-dirt-6", - tree_name = "tree-grassland-k", - weight = 7 - }, - ["tree-grassland-m"] = { - tile_name = "mineral-aubergine-dirt-6", - tree_name = "tree-grassland-m", - weight = 115 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-aubergine-dirt-6", - tree_name = "tree-wetland-e", - weight = 115 - }, - ["tree-wetland-f"] = { - tile_name = "mineral-aubergine-dirt-6", - tree_name = "tree-wetland-f", - weight = 5 - }, - ["tree-wetland-h"] = { - tile_name = "mineral-aubergine-dirt-6", - tree_name = "tree-wetland-h", - weight = 175 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-aubergine-dirt-6", - tree_name = "tree-wetland-k", - weight = 13 - }, - ["tree-wetland-l"] = { - tile_name = "mineral-aubergine-dirt-6", - tree_name = "tree-wetland-l", - weight = 4 - } -} -terrains["mineral-grey-sand-2"] = { - name = "mineral-grey-sand-2", - ["tree-desert-h"] = { - tile_name = "mineral-grey-sand-2", - tree_name = "tree-desert-h", - weight = 2 - }, - ["tree-desert-i"] = { - tile_name = "mineral-grey-sand-2", - tree_name = "tree-desert-i", - weight = 1872 - }, - ["tree-desert-j"] = { - tile_name = "mineral-grey-sand-2", - tree_name = "tree-desert-j", - weight = 3270 - }, - ["tree-desert-k"] = { - tile_name = "mineral-grey-sand-2", - tree_name = "tree-desert-k", - weight = 349 - }, - ["tree-desert-l"] = { - tile_name = "mineral-grey-sand-2", - tree_name = "tree-desert-l", - weight = 2 - }, - ["tree-desert-m"] = { - tile_name = "mineral-grey-sand-2", - tree_name = "tree-desert-m", - weight = 8 - }, - ["tree-desert-n"] = { - tile_name = "mineral-grey-sand-2", - tree_name = "tree-desert-n", - weight = 5842 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-grey-sand-2", - tree_name = "tree-dryland-k", - weight = 105 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-grey-sand-2", - tree_name = "tree-dryland-l", - weight = 808 - }, - ["tree-dryland-n"] = { - tile_name = "mineral-grey-sand-2", - tree_name = "tree-dryland-n", - weight = 42 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-grey-sand-2", - tree_name = "tree-grassland-h", - weight = 335 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-grey-sand-2", - tree_name = "tree-grassland-h3", - weight = 139 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-grey-sand-2", - tree_name = "tree-grassland-k", - weight = 16 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-grey-sand-2", - tree_name = "tree-grassland-l", - weight = 6 - }, - ["tree-grassland-n"] = { - tile_name = "mineral-grey-sand-2", - tree_name = "tree-grassland-n", - weight = 42 - }, - ["tree-grassland-p"] = { - tile_name = "mineral-grey-sand-2", - tree_name = "tree-grassland-p", - weight = 97 - }, - ["tree-snow-a"] = { - tile_name = "mineral-grey-sand-2", - tree_name = "tree-snow-a", - weight = 16 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-grey-sand-2", - tree_name = "tree-wetland-e", - weight = 22 - }, - ["tree-wetland-j"] = { - tile_name = "mineral-grey-sand-2", - tree_name = "tree-wetland-j", - weight = 487 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-grey-sand-2", - tree_name = "tree-wetland-k", - weight = 1937 - }, - ["tree-wetland-n"] = { - tile_name = "mineral-grey-sand-2", - tree_name = "tree-wetland-n", - weight = 3003 - }, - ["tree-wetland-o"] = { - tile_name = "mineral-grey-sand-2", - tree_name = "tree-wetland-o", - weight = 405 - } -} -terrains["mineral-grey-sand-1"] = { - name = "mineral-grey-sand-1", - ["tree-desert-c"] = { - tile_name = "mineral-grey-sand-1", - tree_name = "tree-desert-c", - weight = 3 - }, - ["tree-desert-h"] = { - tile_name = "mineral-grey-sand-1", - tree_name = "tree-desert-h", - weight = 6 - }, - ["tree-desert-i"] = { - tile_name = "mineral-grey-sand-1", - tree_name = "tree-desert-i", - weight = 5436 - }, - ["tree-desert-j"] = { - tile_name = "mineral-grey-sand-1", - tree_name = "tree-desert-j", - weight = 6394 - }, - ["tree-desert-k"] = { - tile_name = "mineral-grey-sand-1", - tree_name = "tree-desert-k", - weight = 413 - }, - ["tree-desert-l"] = { - tile_name = "mineral-grey-sand-1", - tree_name = "tree-desert-l", - weight = 5 - }, - ["tree-desert-m"] = { - tile_name = "mineral-grey-sand-1", - tree_name = "tree-desert-m", - weight = 9 - }, - ["tree-desert-n"] = { - tile_name = "mineral-grey-sand-1", - tree_name = "tree-desert-n", - weight = 11138 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-grey-sand-1", - tree_name = "tree-dryland-b", - weight = 2 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-grey-sand-1", - tree_name = "tree-dryland-f", - weight = 3 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-grey-sand-1", - tree_name = "tree-dryland-k", - weight = 144 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-grey-sand-1", - tree_name = "tree-dryland-l", - weight = 1325 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-grey-sand-1", - tree_name = "tree-dryland-m", - weight = 4 - }, - ["tree-dryland-n"] = { - tile_name = "mineral-grey-sand-1", - tree_name = "tree-dryland-n", - weight = 40 - }, - ["tree-dryland-o"] = { - tile_name = "mineral-grey-sand-1", - tree_name = "tree-dryland-o", - weight = 7 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-grey-sand-1", - tree_name = "tree-grassland-h", - weight = 990 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-grey-sand-1", - tree_name = "tree-grassland-h3", - weight = 215 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-grey-sand-1", - tree_name = "tree-grassland-k", - weight = 31 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-grey-sand-1", - tree_name = "tree-grassland-l", - weight = 7 - }, - ["tree-grassland-n"] = { - tile_name = "mineral-grey-sand-1", - tree_name = "tree-grassland-n", - weight = 33 - }, - ["tree-grassland-p"] = { - tile_name = "mineral-grey-sand-1", - tree_name = "tree-grassland-p", - weight = 72 - }, - ["tree-snow-a"] = { - tile_name = "mineral-grey-sand-1", - tree_name = "tree-snow-a", - weight = 34 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-grey-sand-1", - tree_name = "tree-wetland-e", - weight = 70 - }, - ["tree-wetland-j"] = { - tile_name = "mineral-grey-sand-1", - tree_name = "tree-wetland-j", - weight = 1188 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-grey-sand-1", - tree_name = "tree-wetland-k", - weight = 5007 - }, - ["tree-wetland-n"] = { - tile_name = "mineral-grey-sand-1", - tree_name = "tree-wetland-n", - weight = 4919 - }, - ["tree-wetland-o"] = { - tile_name = "mineral-grey-sand-1", - tree_name = "tree-wetland-o", - weight = 952 - } -} -terrains["mineral-black-sand-3"] = { - name = "mineral-black-sand-3", - ["tree-desert-d"] = { - tile_name = "mineral-black-sand-3", - tree_name = "tree-desert-d", - weight = 2 - }, - ["tree-desert-i"] = { - tile_name = "mineral-black-sand-3", - tree_name = "tree-desert-i", - weight = 3 - }, - ["tree-desert-j"] = { - tile_name = "mineral-black-sand-3", - tree_name = "tree-desert-j", - weight = 1377 - }, - ["tree-desert-k"] = { - tile_name = "mineral-black-sand-3", - tree_name = "tree-desert-k", - weight = 3609 - }, - ["tree-desert-n"] = { - tile_name = "mineral-black-sand-3", - tree_name = "tree-desert-n", - weight = 1740 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-black-sand-3", - tree_name = "tree-dryland-h", - weight = 9 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-black-sand-3", - tree_name = "tree-dryland-l", - weight = 388 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-black-sand-3", - tree_name = "tree-dryland-m", - weight = 81 - }, - ["tree-dryland-n"] = { - tile_name = "mineral-black-sand-3", - tree_name = "tree-dryland-n", - weight = 2 - }, - ["tree-dryland-o"] = { - tile_name = "mineral-black-sand-3", - tree_name = "tree-dryland-o", - weight = 40 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-black-sand-3", - tree_name = "tree-grassland-h", - weight = 10 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-black-sand-3", - tree_name = "tree-grassland-h3", - weight = 543 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-black-sand-3", - tree_name = "tree-grassland-i", - weight = 44 - }, - ["tree-grassland-m"] = { - tile_name = "mineral-black-sand-3", - tree_name = "tree-grassland-m", - weight = 7 - }, - ["tree-grassland-p"] = { - tile_name = "mineral-black-sand-3", - tree_name = "tree-grassland-p", - weight = 105 - }, - ["tree-snow-a"] = { - tile_name = "mineral-black-sand-3", - tree_name = "tree-snow-a", - weight = 32 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-black-sand-3", - tree_name = "tree-wetland-e", - weight = 10 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-black-sand-3", - tree_name = "tree-wetland-k", - weight = 3179 - }, - ["tree-wetland-l"] = { - tile_name = "mineral-black-sand-3", - tree_name = "tree-wetland-l", - weight = 53 - }, - ["tree-wetland-o"] = { - tile_name = "mineral-black-sand-3", - tree_name = "tree-wetland-o", - weight = 500 - } -} -terrains["mineral-black-sand-2"] = { - name = "mineral-black-sand-2", - ["tree-desert-c"] = { - tile_name = "mineral-black-sand-2", - tree_name = "tree-desert-c", - weight = 2 - }, - ["tree-desert-h"] = { - tile_name = "mineral-black-sand-2", - tree_name = "tree-desert-h", - weight = 3 - }, - ["tree-desert-i"] = { - tile_name = "mineral-black-sand-2", - tree_name = "tree-desert-i", - weight = 5 - }, - ["tree-desert-j"] = { - tile_name = "mineral-black-sand-2", - tree_name = "tree-desert-j", - weight = 2396 - }, - ["tree-desert-k"] = { - tile_name = "mineral-black-sand-2", - tree_name = "tree-desert-k", - weight = 6576 - }, - ["tree-desert-l"] = { - tile_name = "mineral-black-sand-2", - tree_name = "tree-desert-l", - weight = 3 - }, - ["tree-desert-n"] = { - tile_name = "mineral-black-sand-2", - tree_name = "tree-desert-n", - weight = 2361 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-black-sand-2", - tree_name = "tree-dryland-l", - weight = 464 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-black-sand-2", - tree_name = "tree-dryland-m", - weight = 269 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-black-sand-2", - tree_name = "tree-grassland-h", - weight = 4 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-black-sand-2", - tree_name = "tree-grassland-h3", - weight = 837 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-black-sand-2", - tree_name = "tree-grassland-i", - weight = 2 - }, - ["tree-grassland-p"] = { - tile_name = "mineral-black-sand-2", - tree_name = "tree-grassland-p", - weight = 35 - }, - ["tree-snow-a"] = { - tile_name = "mineral-black-sand-2", - tree_name = "tree-snow-a", - weight = 3 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-black-sand-2", - tree_name = "tree-wetland-e", - weight = 30 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-black-sand-2", - tree_name = "tree-wetland-k", - weight = 4516 - }, - ["tree-wetland-l"] = { - tile_name = "mineral-black-sand-2", - tree_name = "tree-wetland-l", - weight = 220 - }, - ["tree-wetland-o"] = { - tile_name = "mineral-black-sand-2", - tree_name = "tree-wetland-o", - weight = 709 - } -} -terrains["mineral-black-sand-1"] = { - name = "mineral-black-sand-1", - ["tree-desert-d"] = { - tile_name = "mineral-black-sand-1", - tree_name = "tree-desert-d", - weight = 2 - }, - ["tree-desert-h"] = { - tile_name = "mineral-black-sand-1", - tree_name = "tree-desert-h", - weight = 2 - }, - ["tree-desert-i"] = { - tile_name = "mineral-black-sand-1", - tree_name = "tree-desert-i", - weight = 5 - }, - ["tree-desert-j"] = { - tile_name = "mineral-black-sand-1", - tree_name = "tree-desert-j", - weight = 3034 - }, - ["tree-desert-k"] = { - tile_name = "mineral-black-sand-1", - tree_name = "tree-desert-k", - weight = 15145 - }, - ["tree-desert-l"] = { - tile_name = "mineral-black-sand-1", - tree_name = "tree-desert-l", - weight = 3 - }, - ["tree-desert-m"] = { - tile_name = "mineral-black-sand-1", - tree_name = "tree-desert-m", - weight = 2 - }, - ["tree-desert-n"] = { - tile_name = "mineral-black-sand-1", - tree_name = "tree-desert-n", - weight = 4921 - }, - ["tree-dryland-j"] = { - tile_name = "mineral-black-sand-1", - tree_name = "tree-dryland-j", - weight = 5 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-black-sand-1", - tree_name = "tree-dryland-l", - weight = 1012 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-black-sand-1", - tree_name = "tree-dryland-m", - weight = 166 - }, - ["tree-dryland-n"] = { - tile_name = "mineral-black-sand-1", - tree_name = "tree-dryland-n", - weight = 3 - }, - ["tree-dryland-o"] = { - tile_name = "mineral-black-sand-1", - tree_name = "tree-dryland-o", - weight = 4 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-black-sand-1", - tree_name = "tree-grassland-h", - weight = 5 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-black-sand-1", - tree_name = "tree-grassland-h3", - weight = 1250 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-black-sand-1", - tree_name = "tree-grassland-i", - weight = 10 - }, - ["tree-grassland-m"] = { - tile_name = "mineral-black-sand-1", - tree_name = "tree-grassland-m", - weight = 6 - }, - ["tree-grassland-p"] = { - tile_name = "mineral-black-sand-1", - tree_name = "tree-grassland-p", - weight = 261 - }, - ["tree-snow-a"] = { - tile_name = "mineral-black-sand-1", - tree_name = "tree-snow-a", - weight = 43 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-black-sand-1", - tree_name = "tree-wetland-e", - weight = 23 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-black-sand-1", - tree_name = "tree-wetland-k", - weight = 8538 - }, - ["tree-wetland-l"] = { - tile_name = "mineral-black-sand-1", - tree_name = "tree-wetland-l", - weight = 408 - }, - ["tree-wetland-o"] = { - tile_name = "mineral-black-sand-1", - tree_name = "tree-wetland-o", - weight = 2037 - } -} -terrains["mineral-grey-sand-3"] = { - name = "mineral-grey-sand-3", - ["tree-desert-c"] = { - tile_name = "mineral-grey-sand-3", - tree_name = "tree-desert-c", - weight = 3 - }, - ["tree-desert-i"] = { - tile_name = "mineral-grey-sand-3", - tree_name = "tree-desert-i", - weight = 1887 - }, - ["tree-desert-j"] = { - tile_name = "mineral-grey-sand-3", - tree_name = "tree-desert-j", - weight = 2374 - }, - ["tree-desert-k"] = { - tile_name = "mineral-grey-sand-3", - tree_name = "tree-desert-k", - weight = 303 - }, - ["tree-desert-m"] = { - tile_name = "mineral-grey-sand-3", - tree_name = "tree-desert-m", - weight = 4 - }, - ["tree-desert-n"] = { - tile_name = "mineral-grey-sand-3", - tree_name = "tree-desert-n", - weight = 3610 - }, - ["tree-dryland-k"] = { - tile_name = "mineral-grey-sand-3", - tree_name = "tree-dryland-k", - weight = 105 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-grey-sand-3", - tree_name = "tree-dryland-l", - weight = 523 - }, - ["tree-dryland-n"] = { - tile_name = "mineral-grey-sand-3", - tree_name = "tree-dryland-n", - weight = 2 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-grey-sand-3", - tree_name = "tree-grassland-h", - weight = 337 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-grey-sand-3", - tree_name = "tree-grassland-h3", - weight = 70 - }, - ["tree-grassland-k"] = { - tile_name = "mineral-grey-sand-3", - tree_name = "tree-grassland-k", - weight = 194 - }, - ["tree-grassland-n"] = { - tile_name = "mineral-grey-sand-3", - tree_name = "tree-grassland-n", - weight = 12 - }, - ["tree-grassland-p"] = { - tile_name = "mineral-grey-sand-3", - tree_name = "tree-grassland-p", - weight = 57 - }, - ["tree-snow-a"] = { - tile_name = "mineral-grey-sand-3", - tree_name = "tree-snow-a", - weight = 15 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-grey-sand-3", - tree_name = "tree-wetland-e", - weight = 48 - }, - ["tree-wetland-j"] = { - tile_name = "mineral-grey-sand-3", - tree_name = "tree-wetland-j", - weight = 422 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-grey-sand-3", - tree_name = "tree-wetland-k", - weight = 2076 - }, - ["tree-wetland-n"] = { - tile_name = "mineral-grey-sand-3", - tree_name = "tree-wetland-n", - weight = 1630 - }, - ["tree-wetland-o"] = { - tile_name = "mineral-grey-sand-3", - tree_name = "tree-wetland-o", - weight = 295 - } -} -terrains["frozen-snow-0"] = { - name = "frozen-snow-0", - ["tree-desert-c"] = { - tile_name = "frozen-snow-0", - tree_name = "tree-desert-c", - weight = 57 - }, - ["tree-desert-d"] = { - tile_name = "frozen-snow-0", - tree_name = "tree-desert-d", - weight = 28 - }, - ["tree-desert-h"] = { - tile_name = "frozen-snow-0", - tree_name = "tree-desert-h", - weight = 73 - }, - ["tree-desert-i"] = { - tile_name = "frozen-snow-0", - tree_name = "tree-desert-i", - weight = 510 - }, - ["tree-desert-j"] = { - tile_name = "frozen-snow-0", - tree_name = "tree-desert-j", - weight = 14 - }, - ["tree-desert-k"] = { - tile_name = "frozen-snow-0", - tree_name = "tree-desert-k", - weight = 28 - }, - ["tree-desert-m"] = { - tile_name = "frozen-snow-0", - tree_name = "tree-desert-m", - weight = 2 - }, - ["tree-desert-n"] = { - tile_name = "frozen-snow-0", - tree_name = "tree-desert-n", - weight = 2067 - }, - ["tree-dryland-b"] = { - tile_name = "frozen-snow-0", - tree_name = "tree-dryland-b", - weight = 271 - }, - ["tree-dryland-c"] = { - tile_name = "frozen-snow-0", - tree_name = "tree-dryland-c", - weight = 308 - }, - ["tree-dryland-f"] = { - tile_name = "frozen-snow-0", - tree_name = "tree-dryland-f", - weight = 457 - }, - ["tree-dryland-g"] = { - tile_name = "frozen-snow-0", - tree_name = "tree-dryland-g", - weight = 8 - }, - ["tree-dryland-h"] = { - tile_name = "frozen-snow-0", - tree_name = "tree-dryland-h", - weight = 692 - }, - ["tree-dryland-i"] = { - tile_name = "frozen-snow-0", - tree_name = "tree-dryland-i", - weight = 47 - }, - ["tree-dryland-j"] = { - tile_name = "frozen-snow-0", - tree_name = "tree-dryland-j", - weight = 78 - }, - ["tree-dryland-k"] = { - tile_name = "frozen-snow-0", - tree_name = "tree-dryland-k", - weight = 3 - }, - ["tree-dryland-l"] = { - tile_name = "frozen-snow-0", - tree_name = "tree-dryland-l", - weight = 24859 - }, - ["tree-dryland-m"] = { - tile_name = "frozen-snow-0", - tree_name = "tree-dryland-m", - weight = 37 - }, - ["tree-dryland-n"] = { - tile_name = "frozen-snow-0", - tree_name = "tree-dryland-n", - weight = 134 - }, - ["tree-dryland-o"] = { - tile_name = "frozen-snow-0", - tree_name = "tree-dryland-o", - weight = 2782 - }, - ["tree-grassland-h2"] = { - tile_name = "frozen-snow-0", - tree_name = "tree-grassland-h2", - weight = 559 - }, - ["tree-grassland-h3"] = { - tile_name = "frozen-snow-0", - tree_name = "tree-grassland-h3", - weight = 599 - }, - ["tree-grassland-p"] = { - tile_name = "frozen-snow-0", - tree_name = "tree-grassland-p", - weight = 291 - }, - ["tree-snow-a"] = { - tile_name = "frozen-snow-0", - tree_name = "tree-snow-a", - weight = 862441 - }, - ["tree-wetland-n"] = { - tile_name = "frozen-snow-0", - tree_name = "tree-wetland-n", - weight = 1876 - }, - ["tree-wetland-o"] = { - tile_name = "frozen-snow-0", - tree_name = "tree-wetland-o", - weight = 2774 - } -} -terrains["frozen-snow-2"] = { - name = "frozen-snow-2", - ["tree-desert-c"] = { - tile_name = "frozen-snow-2", - tree_name = "tree-desert-c", - weight = 10 - }, - ["tree-desert-d"] = { - tile_name = "frozen-snow-2", - tree_name = "tree-desert-d", - weight = 5 - }, - ["tree-desert-h"] = { - tile_name = "frozen-snow-2", - tree_name = "tree-desert-h", - weight = 13 - }, - ["tree-desert-i"] = { - tile_name = "frozen-snow-2", - tree_name = "tree-desert-i", - weight = 304 - }, - ["tree-desert-j"] = { - tile_name = "frozen-snow-2", - tree_name = "tree-desert-j", - weight = 8 - }, - ["tree-desert-k"] = { - tile_name = "frozen-snow-2", - tree_name = "tree-desert-k", - weight = 8 - }, - ["tree-desert-n"] = { - tile_name = "frozen-snow-2", - tree_name = "tree-desert-n", - weight = 1273 - }, - ["tree-dryland-b"] = { - tile_name = "frozen-snow-2", - tree_name = "tree-dryland-b", - weight = 50 - }, - ["tree-dryland-c"] = { - tile_name = "frozen-snow-2", - tree_name = "tree-dryland-c", - weight = 72 - }, - ["tree-dryland-f"] = { - tile_name = "frozen-snow-2", - tree_name = "tree-dryland-f", - weight = 111 - }, - ["tree-dryland-g"] = { - tile_name = "frozen-snow-2", - tree_name = "tree-dryland-g", - weight = 5 - }, - ["tree-dryland-h"] = { - tile_name = "frozen-snow-2", - tree_name = "tree-dryland-h", - weight = 168 - }, - ["tree-dryland-i"] = { - tile_name = "frozen-snow-2", - tree_name = "tree-dryland-i", - weight = 10 - }, - ["tree-dryland-j"] = { - tile_name = "frozen-snow-2", - tree_name = "tree-dryland-j", - weight = 41 - }, - ["tree-dryland-l"] = { - tile_name = "frozen-snow-2", - tree_name = "tree-dryland-l", - weight = 9868 - }, - ["tree-dryland-m"] = { - tile_name = "frozen-snow-2", - tree_name = "tree-dryland-m", - weight = 43 - }, - ["tree-dryland-n"] = { - tile_name = "frozen-snow-2", - tree_name = "tree-dryland-n", - weight = 49 - }, - ["tree-dryland-o"] = { - tile_name = "frozen-snow-2", - tree_name = "tree-dryland-o", - weight = 1359 - }, - ["tree-grassland-h2"] = { - tile_name = "frozen-snow-2", - tree_name = "tree-grassland-h2", - weight = 101 - }, - ["tree-grassland-h3"] = { - tile_name = "frozen-snow-2", - tree_name = "tree-grassland-h3", - weight = 150 - }, - ["tree-grassland-p"] = { - tile_name = "frozen-snow-2", - tree_name = "tree-grassland-p", - weight = 155 - }, - ["tree-snow-a"] = { - tile_name = "frozen-snow-2", - tree_name = "tree-snow-a", - weight = 200074 - }, - ["tree-wetland-n"] = { - tile_name = "frozen-snow-2", - tree_name = "tree-wetland-n", - weight = 858 - }, - ["tree-wetland-o"] = { - tile_name = "frozen-snow-2", - tree_name = "tree-wetland-o", - weight = 1198 - } -} -terrains["mineral-dustyrose-sand-3"] = { - name = "mineral-dustyrose-sand-3", - ["tree-desert-c"] = { - tile_name = "mineral-dustyrose-sand-3", - tree_name = "tree-desert-c", - weight = 4 - }, - ["tree-desert-d"] = { - tile_name = "mineral-dustyrose-sand-3", - tree_name = "tree-desert-d", - weight = 3 - }, - ["tree-desert-f"] = { - tile_name = "mineral-dustyrose-sand-3", - tree_name = "tree-desert-f", - weight = 3 - }, - ["tree-desert-g"] = { - tile_name = "mineral-dustyrose-sand-3", - tree_name = "tree-desert-g", - weight = 3 - }, - ["tree-desert-h"] = { - tile_name = "mineral-dustyrose-sand-3", - tree_name = "tree-desert-h", - weight = 5852 - }, - ["tree-desert-i"] = { - tile_name = "mineral-dustyrose-sand-3", - tree_name = "tree-desert-i", - weight = 8 - }, - ["tree-desert-j"] = { - tile_name = "mineral-dustyrose-sand-3", - tree_name = "tree-desert-j", - weight = 9067 - }, - ["tree-desert-k"] = { - tile_name = "mineral-dustyrose-sand-3", - tree_name = "tree-desert-k", - weight = 6148 - }, - ["tree-desert-l"] = { - tile_name = "mineral-dustyrose-sand-3", - tree_name = "tree-desert-l", - weight = 2 - }, - ["tree-desert-n"] = { - tile_name = "mineral-dustyrose-sand-3", - tree_name = "tree-desert-n", - weight = 10 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-dustyrose-sand-3", - tree_name = "tree-dryland-c", - weight = 2 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-dustyrose-sand-3", - tree_name = "tree-dryland-h", - weight = 773 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-dustyrose-sand-3", - tree_name = "tree-dryland-l", - weight = 759 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-dustyrose-sand-3", - tree_name = "tree-dryland-m", - weight = 168 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-dustyrose-sand-3", - tree_name = "tree-grassland-g", - weight = 6 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-dustyrose-sand-3", - tree_name = "tree-grassland-h", - weight = 195 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-dustyrose-sand-3", - tree_name = "tree-grassland-h2", - weight = 1448 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-dustyrose-sand-3", - tree_name = "tree-grassland-h3", - weight = 846 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-dustyrose-sand-3", - tree_name = "tree-grassland-i", - weight = 13 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-dustyrose-sand-3", - tree_name = "tree-wetland-e", - weight = 13707 - }, - ["tree-wetland-f"] = { - tile_name = "mineral-dustyrose-sand-3", - tree_name = "tree-wetland-f", - weight = 9 - }, - ["tree-wetland-h"] = { - tile_name = "mineral-dustyrose-sand-3", - tree_name = "tree-wetland-h", - weight = 96 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-dustyrose-sand-3", - tree_name = "tree-wetland-k", - weight = 3575 - }, - ["tree-wetland-l"] = { - tile_name = "mineral-dustyrose-sand-3", - tree_name = "tree-wetland-l", - weight = 22 - } -} -terrains["frozen-snow-1"] = { - name = "frozen-snow-1", - ["tree-desert-b"] = { - tile_name = "frozen-snow-1", - tree_name = "tree-desert-b", - weight = 2 - }, - ["tree-desert-c"] = { - tile_name = "frozen-snow-1", - tree_name = "tree-desert-c", - weight = 32 - }, - ["tree-desert-d"] = { - tile_name = "frozen-snow-1", - tree_name = "tree-desert-d", - weight = 15 - }, - ["tree-desert-f"] = { - tile_name = "frozen-snow-1", - tree_name = "tree-desert-f", - weight = 2 - }, - ["tree-desert-h"] = { - tile_name = "frozen-snow-1", - tree_name = "tree-desert-h", - weight = 24 - }, - ["tree-desert-i"] = { - tile_name = "frozen-snow-1", - tree_name = "tree-desert-i", - weight = 260 - }, - ["tree-desert-j"] = { - tile_name = "frozen-snow-1", - tree_name = "tree-desert-j", - weight = 2 - }, - ["tree-desert-k"] = { - tile_name = "frozen-snow-1", - tree_name = "tree-desert-k", - weight = 15 - }, - ["tree-desert-n"] = { - tile_name = "frozen-snow-1", - tree_name = "tree-desert-n", - weight = 1182 - }, - ["tree-dryland-b"] = { - tile_name = "frozen-snow-1", - tree_name = "tree-dryland-b", - weight = 150 - }, - ["tree-dryland-c"] = { - tile_name = "frozen-snow-1", - tree_name = "tree-dryland-c", - weight = 181 - }, - ["tree-dryland-f"] = { - tile_name = "frozen-snow-1", - tree_name = "tree-dryland-f", - weight = 247 - }, - ["tree-dryland-g"] = { - tile_name = "frozen-snow-1", - tree_name = "tree-dryland-g", - weight = 12 - }, - ["tree-dryland-h"] = { - tile_name = "frozen-snow-1", - tree_name = "tree-dryland-h", - weight = 433 - }, - ["tree-dryland-i"] = { - tile_name = "frozen-snow-1", - tree_name = "tree-dryland-i", - weight = 39 - }, - ["tree-dryland-j"] = { - tile_name = "frozen-snow-1", - tree_name = "tree-dryland-j", - weight = 50 - }, - ["tree-dryland-l"] = { - tile_name = "frozen-snow-1", - tree_name = "tree-dryland-l", - weight = 17673 - }, - ["tree-dryland-m"] = { - tile_name = "frozen-snow-1", - tree_name = "tree-dryland-m", - weight = 11 - }, - ["tree-dryland-n"] = { - tile_name = "frozen-snow-1", - tree_name = "tree-dryland-n", - weight = 228 - }, - ["tree-dryland-o"] = { - tile_name = "frozen-snow-1", - tree_name = "tree-dryland-o", - weight = 2898 - }, - ["tree-grassland-h2"] = { - tile_name = "frozen-snow-1", - tree_name = "tree-grassland-h2", - weight = 175 - }, - ["tree-grassland-h3"] = { - tile_name = "frozen-snow-1", - tree_name = "tree-grassland-h3", - weight = 281 - }, - ["tree-grassland-p"] = { - tile_name = "frozen-snow-1", - tree_name = "tree-grassland-p", - weight = 140 - }, - ["tree-snow-a"] = { - tile_name = "frozen-snow-1", - tree_name = "tree-snow-a", - weight = 429666 - }, - ["tree-wetland-n"] = { - tile_name = "frozen-snow-1", - tree_name = "tree-wetland-n", - weight = 1042 - }, - ["tree-wetland-o"] = { - tile_name = "frozen-snow-1", - tree_name = "tree-wetland-o", - weight = 2188 - } -} -terrains["frozen-snow-3"] = { - name = "frozen-snow-3", - ["tree-desert-c"] = { - tile_name = "frozen-snow-3", - tree_name = "tree-desert-c", - weight = 5 - }, - ["tree-desert-d"] = { - tile_name = "frozen-snow-3", - tree_name = "tree-desert-d", - weight = 3 - }, - ["tree-desert-h"] = { - tile_name = "frozen-snow-3", - tree_name = "tree-desert-h", - weight = 11 - }, - ["tree-desert-i"] = { - tile_name = "frozen-snow-3", - tree_name = "tree-desert-i", - weight = 145 - }, - ["tree-desert-j"] = { - tile_name = "frozen-snow-3", - tree_name = "tree-desert-j", - weight = 2 - }, - ["tree-desert-k"] = { - tile_name = "frozen-snow-3", - tree_name = "tree-desert-k", - weight = 7 - }, - ["tree-desert-m"] = { - tile_name = "frozen-snow-3", - tree_name = "tree-desert-m", - weight = 2 - }, - ["tree-desert-n"] = { - tile_name = "frozen-snow-3", - tree_name = "tree-desert-n", - weight = 679 - }, - ["tree-dryland-b"] = { - tile_name = "frozen-snow-3", - tree_name = "tree-dryland-b", - weight = 40 - }, - ["tree-dryland-c"] = { - tile_name = "frozen-snow-3", - tree_name = "tree-dryland-c", - weight = 30 - }, - ["tree-dryland-f"] = { - tile_name = "frozen-snow-3", - tree_name = "tree-dryland-f", - weight = 111 - }, - ["tree-dryland-g"] = { - tile_name = "frozen-snow-3", - tree_name = "tree-dryland-g", - weight = 2 - }, - ["tree-dryland-h"] = { - tile_name = "frozen-snow-3", - tree_name = "tree-dryland-h", - weight = 116 - }, - ["tree-dryland-i"] = { - tile_name = "frozen-snow-3", - tree_name = "tree-dryland-i", - weight = 2 - }, - ["tree-dryland-j"] = { - tile_name = "frozen-snow-3", - tree_name = "tree-dryland-j", - weight = 32 - }, - ["tree-dryland-l"] = { - tile_name = "frozen-snow-3", - tree_name = "tree-dryland-l", - weight = 10815 - }, - ["tree-dryland-m"] = { - tile_name = "frozen-snow-3", - tree_name = "tree-dryland-m", - weight = 11 - }, - ["tree-dryland-n"] = { - tile_name = "frozen-snow-3", - tree_name = "tree-dryland-n", - weight = 121 - }, - ["tree-dryland-o"] = { - tile_name = "frozen-snow-3", - tree_name = "tree-dryland-o", - weight = 1144 - }, - ["tree-grassland-h2"] = { - tile_name = "frozen-snow-3", - tree_name = "tree-grassland-h2", - weight = 29 - }, - ["tree-grassland-h3"] = { - tile_name = "frozen-snow-3", - tree_name = "tree-grassland-h3", - weight = 89 - }, - ["tree-grassland-p"] = { - tile_name = "frozen-snow-3", - tree_name = "tree-grassland-p", - weight = 123 - }, - ["tree-snow-a"] = { - tile_name = "frozen-snow-3", - tree_name = "tree-snow-a", - weight = 110979 - }, - ["tree-wetland-n"] = { - tile_name = "frozen-snow-3", - tree_name = "tree-wetland-n", - weight = 813 - }, - ["tree-wetland-o"] = { - tile_name = "frozen-snow-3", - tree_name = "tree-wetland-o", - weight = 977 - } -} -terrains["frozen-snow-6"] = { - name = "frozen-snow-6", - ["tree-desert-c"] = { - tile_name = "frozen-snow-6", - tree_name = "tree-desert-c", - weight = 4 - }, - ["tree-desert-d"] = { - tile_name = "frozen-snow-6", - tree_name = "tree-desert-d", - weight = 4 - }, - ["tree-desert-h"] = { - tile_name = "frozen-snow-6", - tree_name = "tree-desert-h", - weight = 2 - }, - ["tree-desert-i"] = { - tile_name = "frozen-snow-6", - tree_name = "tree-desert-i", - weight = 72 - }, - ["tree-desert-j"] = { - tile_name = "frozen-snow-6", - tree_name = "tree-desert-j", - weight = 2 - }, - ["tree-desert-k"] = { - tile_name = "frozen-snow-6", - tree_name = "tree-desert-k", - weight = 4 - }, - ["tree-desert-n"] = { - tile_name = "frozen-snow-6", - tree_name = "tree-desert-n", - weight = 355 - }, - ["tree-dryland-b"] = { - tile_name = "frozen-snow-6", - tree_name = "tree-dryland-b", - weight = 37 - }, - ["tree-dryland-c"] = { - tile_name = "frozen-snow-6", - tree_name = "tree-dryland-c", - weight = 13 - }, - ["tree-dryland-f"] = { - tile_name = "frozen-snow-6", - tree_name = "tree-dryland-f", - weight = 27 - }, - ["tree-dryland-h"] = { - tile_name = "frozen-snow-6", - tree_name = "tree-dryland-h", - weight = 51 - }, - ["tree-dryland-j"] = { - tile_name = "frozen-snow-6", - tree_name = "tree-dryland-j", - weight = 20 - }, - ["tree-dryland-l"] = { - tile_name = "frozen-snow-6", - tree_name = "tree-dryland-l", - weight = 5866 - }, - ["tree-dryland-m"] = { - tile_name = "frozen-snow-6", - tree_name = "tree-dryland-m", - weight = 14 - }, - ["tree-dryland-n"] = { - tile_name = "frozen-snow-6", - tree_name = "tree-dryland-n", - weight = 12 - }, - ["tree-dryland-o"] = { - tile_name = "frozen-snow-6", - tree_name = "tree-dryland-o", - weight = 590 - }, - ["tree-grassland-h2"] = { - tile_name = "frozen-snow-6", - tree_name = "tree-grassland-h2", - weight = 15 - }, - ["tree-grassland-h3"] = { - tile_name = "frozen-snow-6", - tree_name = "tree-grassland-h3", - weight = 50 - }, - ["tree-grassland-p"] = { - tile_name = "frozen-snow-6", - tree_name = "tree-grassland-p", - weight = 22 - }, - ["tree-wetland-n"] = { - tile_name = "frozen-snow-6", - tree_name = "tree-wetland-n", - weight = 285 - }, - ["tree-wetland-o"] = { - tile_name = "frozen-snow-6", - tree_name = "tree-wetland-o", - weight = 440 - } -} -terrains["mineral-dustyrose-sand-1"] = { - name = "mineral-dustyrose-sand-1", - ["tree-desert-c"] = { - tile_name = "mineral-dustyrose-sand-1", - tree_name = "tree-desert-c", - weight = 14 - }, - ["tree-desert-d"] = { - tile_name = "mineral-dustyrose-sand-1", - tree_name = "tree-desert-d", - weight = 14 - }, - ["tree-desert-f"] = { - tile_name = "mineral-dustyrose-sand-1", - tree_name = "tree-desert-f", - weight = 10 - }, - ["tree-desert-g"] = { - tile_name = "mineral-dustyrose-sand-1", - tree_name = "tree-desert-g", - weight = 9 - }, - ["tree-desert-h"] = { - tile_name = "mineral-dustyrose-sand-1", - tree_name = "tree-desert-h", - weight = 22139 - }, - ["tree-desert-i"] = { - tile_name = "mineral-dustyrose-sand-1", - tree_name = "tree-desert-i", - weight = 26 - }, - ["tree-desert-j"] = { - tile_name = "mineral-dustyrose-sand-1", - tree_name = "tree-desert-j", - weight = 30913 - }, - ["tree-desert-k"] = { - tile_name = "mineral-dustyrose-sand-1", - tree_name = "tree-desert-k", - weight = 21378 - }, - ["tree-desert-l"] = { - tile_name = "mineral-dustyrose-sand-1", - tree_name = "tree-desert-l", - weight = 5 - }, - ["tree-desert-m"] = { - tile_name = "mineral-dustyrose-sand-1", - tree_name = "tree-desert-m", - weight = 7 - }, - ["tree-desert-n"] = { - tile_name = "mineral-dustyrose-sand-1", - tree_name = "tree-desert-n", - weight = 26 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-dustyrose-sand-1", - tree_name = "tree-dryland-h", - weight = 1522 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-dustyrose-sand-1", - tree_name = "tree-dryland-l", - weight = 1938 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-dustyrose-sand-1", - tree_name = "tree-dryland-m", - weight = 449 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-dustyrose-sand-1", - tree_name = "tree-grassland-g", - weight = 2 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-dustyrose-sand-1", - tree_name = "tree-grassland-h", - weight = 1037 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-dustyrose-sand-1", - tree_name = "tree-grassland-h2", - weight = 4020 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-dustyrose-sand-1", - tree_name = "tree-grassland-h3", - weight = 1826 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-dustyrose-sand-1", - tree_name = "tree-grassland-i", - weight = 32 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-dustyrose-sand-1", - tree_name = "tree-wetland-e", - weight = 46457 - }, - ["tree-wetland-f"] = { - tile_name = "mineral-dustyrose-sand-1", - tree_name = "tree-wetland-f", - weight = 7 - }, - ["tree-wetland-h"] = { - tile_name = "mineral-dustyrose-sand-1", - tree_name = "tree-wetland-h", - weight = 288 - }, - ["tree-wetland-j"] = { - tile_name = "mineral-dustyrose-sand-1", - tree_name = "tree-wetland-j", - weight = 2 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-dustyrose-sand-1", - tree_name = "tree-wetland-k", - weight = 9599 - }, - ["tree-wetland-l"] = { - tile_name = "mineral-dustyrose-sand-1", - tree_name = "tree-wetland-l", - weight = 27 - } -} -terrains["frozen-snow-5"] = { - name = "frozen-snow-5", - ["tree-desert-c"] = { - tile_name = "frozen-snow-5", - tree_name = "tree-desert-c", - weight = 2 - }, - ["tree-desert-d"] = { - tile_name = "frozen-snow-5", - tree_name = "tree-desert-d", - weight = 4 - }, - ["tree-desert-h"] = { - tile_name = "frozen-snow-5", - tree_name = "tree-desert-h", - weight = 4 - }, - ["tree-desert-i"] = { - tile_name = "frozen-snow-5", - tree_name = "tree-desert-i", - weight = 70 - }, - ["tree-desert-j"] = { - tile_name = "frozen-snow-5", - tree_name = "tree-desert-j", - weight = 2 - }, - ["tree-desert-k"] = { - tile_name = "frozen-snow-5", - tree_name = "tree-desert-k", - weight = 6 - }, - ["tree-desert-n"] = { - tile_name = "frozen-snow-5", - tree_name = "tree-desert-n", - weight = 572 - }, - ["tree-dryland-b"] = { - tile_name = "frozen-snow-5", - tree_name = "tree-dryland-b", - weight = 75 - }, - ["tree-dryland-c"] = { - tile_name = "frozen-snow-5", - tree_name = "tree-dryland-c", - weight = 31 - }, - ["tree-dryland-d"] = { - tile_name = "frozen-snow-5", - tree_name = "tree-dryland-d", - weight = 4 - }, - ["tree-dryland-f"] = { - tile_name = "frozen-snow-5", - tree_name = "tree-dryland-f", - weight = 76 - }, - ["tree-dryland-h"] = { - tile_name = "frozen-snow-5", - tree_name = "tree-dryland-h", - weight = 83 - }, - ["tree-dryland-i"] = { - tile_name = "frozen-snow-5", - tree_name = "tree-dryland-i", - weight = 12 - }, - ["tree-dryland-j"] = { - tile_name = "frozen-snow-5", - tree_name = "tree-dryland-j", - weight = 24 - }, - ["tree-dryland-l"] = { - tile_name = "frozen-snow-5", - tree_name = "tree-dryland-l", - weight = 5919 - }, - ["tree-dryland-m"] = { - tile_name = "frozen-snow-5", - tree_name = "tree-dryland-m", - weight = 37 - }, - ["tree-dryland-n"] = { - tile_name = "frozen-snow-5", - tree_name = "tree-dryland-n", - weight = 39 - }, - ["tree-dryland-o"] = { - tile_name = "frozen-snow-5", - tree_name = "tree-dryland-o", - weight = 877 - }, - ["tree-grassland-h2"] = { - tile_name = "frozen-snow-5", - tree_name = "tree-grassland-h2", - weight = 49 - }, - ["tree-grassland-h3"] = { - tile_name = "frozen-snow-5", - tree_name = "tree-grassland-h3", - weight = 76 - }, - ["tree-grassland-p"] = { - tile_name = "frozen-snow-5", - tree_name = "tree-grassland-p", - weight = 109 - }, - ["tree-wetland-n"] = { - tile_name = "frozen-snow-5", - tree_name = "tree-wetland-n", - weight = 319 - }, - ["tree-wetland-o"] = { - tile_name = "frozen-snow-5", - tree_name = "tree-wetland-o", - weight = 918 - } -} -terrains["frozen-snow-4"] = { - name = "frozen-snow-4", - ["tree-desert-c"] = { - tile_name = "frozen-snow-4", - tree_name = "tree-desert-c", - weight = 3 - }, - ["tree-desert-d"] = { - tile_name = "frozen-snow-4", - tree_name = "tree-desert-d", - weight = 4 - }, - ["tree-desert-i"] = { - tile_name = "frozen-snow-4", - tree_name = "tree-desert-i", - weight = 109 - }, - ["tree-desert-j"] = { - tile_name = "frozen-snow-4", - tree_name = "tree-desert-j", - weight = 3 - }, - ["tree-desert-k"] = { - tile_name = "frozen-snow-4", - tree_name = "tree-desert-k", - weight = 7 - }, - ["tree-desert-n"] = { - tile_name = "frozen-snow-4", - tree_name = "tree-desert-n", - weight = 554 - }, - ["tree-dryland-b"] = { - tile_name = "frozen-snow-4", - tree_name = "tree-dryland-b", - weight = 37 - }, - ["tree-dryland-c"] = { - tile_name = "frozen-snow-4", - tree_name = "tree-dryland-c", - weight = 42 - }, - ["tree-dryland-f"] = { - tile_name = "frozen-snow-4", - tree_name = "tree-dryland-f", - weight = 39 - }, - ["tree-dryland-g"] = { - tile_name = "frozen-snow-4", - tree_name = "tree-dryland-g", - weight = 3 - }, - ["tree-dryland-h"] = { - tile_name = "frozen-snow-4", - tree_name = "tree-dryland-h", - weight = 79 - }, - ["tree-dryland-i"] = { - tile_name = "frozen-snow-4", - tree_name = "tree-dryland-i", - weight = 5 - }, - ["tree-dryland-j"] = { - tile_name = "frozen-snow-4", - tree_name = "tree-dryland-j", - weight = 18 - }, - ["tree-dryland-l"] = { - tile_name = "frozen-snow-4", - tree_name = "tree-dryland-l", - weight = 7603 - }, - ["tree-dryland-m"] = { - tile_name = "frozen-snow-4", - tree_name = "tree-dryland-m", - weight = 10 - }, - ["tree-dryland-n"] = { - tile_name = "frozen-snow-4", - tree_name = "tree-dryland-n", - weight = 29 - }, - ["tree-dryland-o"] = { - tile_name = "frozen-snow-4", - tree_name = "tree-dryland-o", - weight = 1232 - }, - ["tree-grassland-h2"] = { - tile_name = "frozen-snow-4", - tree_name = "tree-grassland-h2", - weight = 25 - }, - ["tree-grassland-h3"] = { - tile_name = "frozen-snow-4", - tree_name = "tree-grassland-h3", - weight = 54 - }, - ["tree-grassland-p"] = { - tile_name = "frozen-snow-4", - tree_name = "tree-grassland-p", - weight = 60 - }, - ["tree-snow-a"] = { - tile_name = "frozen-snow-4", - tree_name = "tree-snow-a", - weight = 68627 - }, - ["tree-wetland-n"] = { - tile_name = "frozen-snow-4", - tree_name = "tree-wetland-n", - weight = 462 - }, - ["tree-wetland-o"] = { - tile_name = "frozen-snow-4", - tree_name = "tree-wetland-o", - weight = 1027 - } -} -terrains["mineral-dustyrose-sand-2"] = { - name = "mineral-dustyrose-sand-2", - ["tree-desert-c"] = { - tile_name = "mineral-dustyrose-sand-2", - tree_name = "tree-desert-c", - weight = 7 - }, - ["tree-desert-d"] = { - tile_name = "mineral-dustyrose-sand-2", - tree_name = "tree-desert-d", - weight = 3 - }, - ["tree-desert-g"] = { - tile_name = "mineral-dustyrose-sand-2", - tree_name = "tree-desert-g", - weight = 8 - }, - ["tree-desert-h"] = { - tile_name = "mineral-dustyrose-sand-2", - tree_name = "tree-desert-h", - weight = 11303 - }, - ["tree-desert-i"] = { - tile_name = "mineral-dustyrose-sand-2", - tree_name = "tree-desert-i", - weight = 17 - }, - ["tree-desert-j"] = { - tile_name = "mineral-dustyrose-sand-2", - tree_name = "tree-desert-j", - weight = 17332 - }, - ["tree-desert-k"] = { - tile_name = "mineral-dustyrose-sand-2", - tree_name = "tree-desert-k", - weight = 10703 - }, - ["tree-desert-l"] = { - tile_name = "mineral-dustyrose-sand-2", - tree_name = "tree-desert-l", - weight = 5 - }, - ["tree-desert-m"] = { - tile_name = "mineral-dustyrose-sand-2", - tree_name = "tree-desert-m", - weight = 5 - }, - ["tree-desert-n"] = { - tile_name = "mineral-dustyrose-sand-2", - tree_name = "tree-desert-n", - weight = 18 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-dustyrose-sand-2", - tree_name = "tree-dryland-b", - weight = 3 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-dustyrose-sand-2", - tree_name = "tree-dryland-h", - weight = 1237 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-dustyrose-sand-2", - tree_name = "tree-dryland-l", - weight = 1043 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-dustyrose-sand-2", - tree_name = "tree-dryland-m", - weight = 151 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-dustyrose-sand-2", - tree_name = "tree-grassland-g", - weight = 2 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-dustyrose-sand-2", - tree_name = "tree-grassland-h", - weight = 558 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-dustyrose-sand-2", - tree_name = "tree-grassland-h2", - weight = 1941 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-dustyrose-sand-2", - tree_name = "tree-grassland-h3", - weight = 882 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-dustyrose-sand-2", - tree_name = "tree-grassland-i", - weight = 38 - }, - ["tree-grassland-l"] = { - tile_name = "mineral-dustyrose-sand-2", - tree_name = "tree-grassland-l", - weight = 2 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-dustyrose-sand-2", - tree_name = "tree-wetland-e", - weight = 24102 - }, - ["tree-wetland-f"] = { - tile_name = "mineral-dustyrose-sand-2", - tree_name = "tree-wetland-f", - weight = 12 - }, - ["tree-wetland-h"] = { - tile_name = "mineral-dustyrose-sand-2", - tree_name = "tree-wetland-h", - weight = 161 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-dustyrose-sand-2", - tree_name = "tree-wetland-k", - weight = 5674 - }, - ["tree-wetland-l"] = { - tile_name = "mineral-dustyrose-sand-2", - tree_name = "tree-wetland-l", - weight = 6 - } -} -terrains["frozen-snow-9"] = { - name = "frozen-snow-9", - ["tree-desert-i"] = { - tile_name = "frozen-snow-9", - tree_name = "tree-desert-i", - weight = 8 - }, - ["tree-desert-k"] = { - tile_name = "frozen-snow-9", - tree_name = "tree-desert-k", - weight = 2 - }, - ["tree-desert-n"] = { - tile_name = "frozen-snow-9", - tree_name = "tree-desert-n", - weight = 194 - }, - ["tree-dryland-b"] = { - tile_name = "frozen-snow-9", - tree_name = "tree-dryland-b", - weight = 10 - }, - ["tree-dryland-c"] = { - tile_name = "frozen-snow-9", - tree_name = "tree-dryland-c", - weight = 5 - }, - ["tree-dryland-f"] = { - tile_name = "frozen-snow-9", - tree_name = "tree-dryland-f", - weight = 7 - }, - ["tree-dryland-h"] = { - tile_name = "frozen-snow-9", - tree_name = "tree-dryland-h", - weight = 6 - }, - ["tree-dryland-j"] = { - tile_name = "frozen-snow-9", - tree_name = "tree-dryland-j", - weight = 14 - }, - ["tree-dryland-l"] = { - tile_name = "frozen-snow-9", - tree_name = "tree-dryland-l", - weight = 3187 - }, - ["tree-dryland-m"] = { - tile_name = "frozen-snow-9", - tree_name = "tree-dryland-m", - weight = 3 - }, - ["tree-dryland-n"] = { - tile_name = "frozen-snow-9", - tree_name = "tree-dryland-n", - weight = 8 - }, - ["tree-dryland-o"] = { - tile_name = "frozen-snow-9", - tree_name = "tree-dryland-o", - weight = 632 - }, - ["tree-grassland-h2"] = { - tile_name = "frozen-snow-9", - tree_name = "tree-grassland-h2", - weight = 2 - }, - ["tree-grassland-h3"] = { - tile_name = "frozen-snow-9", - tree_name = "tree-grassland-h3", - weight = 15 - }, - ["tree-grassland-p"] = { - tile_name = "frozen-snow-9", - tree_name = "tree-grassland-p", - weight = 19 - }, - ["tree-wetland-n"] = { - tile_name = "frozen-snow-9", - tree_name = "tree-wetland-n", - weight = 252 - }, - ["tree-wetland-o"] = { - tile_name = "frozen-snow-9", - tree_name = "tree-wetland-o", - weight = 266 - } -} -terrains["frozen-snow-7"] = { - name = "frozen-snow-7", - ["tree-desert-d"] = { - tile_name = "frozen-snow-7", - tree_name = "tree-desert-d", - weight = 2 - }, - ["tree-desert-h"] = { - tile_name = "frozen-snow-7", - tree_name = "tree-desert-h", - weight = 2 - }, - ["tree-desert-i"] = { - tile_name = "frozen-snow-7", - tree_name = "tree-desert-i", - weight = 58 - }, - ["tree-desert-k"] = { - tile_name = "frozen-snow-7", - tree_name = "tree-desert-k", - weight = 2 - }, - ["tree-desert-n"] = { - tile_name = "frozen-snow-7", - tree_name = "tree-desert-n", - weight = 298 - }, - ["tree-dryland-b"] = { - tile_name = "frozen-snow-7", - tree_name = "tree-dryland-b", - weight = 4 - }, - ["tree-dryland-c"] = { - tile_name = "frozen-snow-7", - tree_name = "tree-dryland-c", - weight = 21 - }, - ["tree-dryland-f"] = { - tile_name = "frozen-snow-7", - tree_name = "tree-dryland-f", - weight = 19 - }, - ["tree-dryland-h"] = { - tile_name = "frozen-snow-7", - tree_name = "tree-dryland-h", - weight = 31 - }, - ["tree-dryland-j"] = { - tile_name = "frozen-snow-7", - tree_name = "tree-dryland-j", - weight = 21 - }, - ["tree-dryland-l"] = { - tile_name = "frozen-snow-7", - tree_name = "tree-dryland-l", - weight = 3525 - }, - ["tree-dryland-m"] = { - tile_name = "frozen-snow-7", - tree_name = "tree-dryland-m", - weight = 15 - }, - ["tree-dryland-n"] = { - tile_name = "frozen-snow-7", - tree_name = "tree-dryland-n", - weight = 16 - }, - ["tree-dryland-o"] = { - tile_name = "frozen-snow-7", - tree_name = "tree-dryland-o", - weight = 434 - }, - ["tree-grassland-h2"] = { - tile_name = "frozen-snow-7", - tree_name = "tree-grassland-h2", - weight = 6 - }, - ["tree-grassland-h3"] = { - tile_name = "frozen-snow-7", - tree_name = "tree-grassland-h3", - weight = 42 - }, - ["tree-grassland-p"] = { - tile_name = "frozen-snow-7", - tree_name = "tree-grassland-p", - weight = 50 - }, - ["tree-wetland-n"] = { - tile_name = "frozen-snow-7", - tree_name = "tree-wetland-n", - weight = 280 - }, - ["tree-wetland-o"] = { - tile_name = "frozen-snow-7", - tree_name = "tree-wetland-o", - weight = 480 - } -} -terrains["frozen-snow-8"] = { - name = "frozen-snow-8", - ["tree-desert-c"] = { - tile_name = "frozen-snow-8", - tree_name = "tree-desert-c", - weight = 3 - }, - ["tree-desert-h"] = { - tile_name = "frozen-snow-8", - tree_name = "tree-desert-h", - weight = 3 - }, - ["tree-desert-i"] = { - tile_name = "frozen-snow-8", - tree_name = "tree-desert-i", - weight = 27 - }, - ["tree-desert-j"] = { - tile_name = "frozen-snow-8", - tree_name = "tree-desert-j", - weight = 2 - }, - ["tree-desert-n"] = { - tile_name = "frozen-snow-8", - tree_name = "tree-desert-n", - weight = 224 - }, - ["tree-dryland-b"] = { - tile_name = "frozen-snow-8", - tree_name = "tree-dryland-b", - weight = 8 - }, - ["tree-dryland-c"] = { - tile_name = "frozen-snow-8", - tree_name = "tree-dryland-c", - weight = 2 - }, - ["tree-dryland-f"] = { - tile_name = "frozen-snow-8", - tree_name = "tree-dryland-f", - weight = 7 - }, - ["tree-dryland-h"] = { - tile_name = "frozen-snow-8", - tree_name = "tree-dryland-h", - weight = 12 - }, - ["tree-dryland-j"] = { - tile_name = "frozen-snow-8", - tree_name = "tree-dryland-j", - weight = 6 - }, - ["tree-dryland-l"] = { - tile_name = "frozen-snow-8", - tree_name = "tree-dryland-l", - weight = 2918 - }, - ["tree-dryland-m"] = { - tile_name = "frozen-snow-8", - tree_name = "tree-dryland-m", - weight = 2 - }, - ["tree-dryland-n"] = { - tile_name = "frozen-snow-8", - tree_name = "tree-dryland-n", - weight = 11 - }, - ["tree-dryland-o"] = { - tile_name = "frozen-snow-8", - tree_name = "tree-dryland-o", - weight = 320 - }, - ["tree-grassland-h3"] = { - tile_name = "frozen-snow-8", - tree_name = "tree-grassland-h3", - weight = 9 - }, - ["tree-grassland-p"] = { - tile_name = "frozen-snow-8", - tree_name = "tree-grassland-p", - weight = 41 - }, - ["tree-wetland-n"] = { - tile_name = "frozen-snow-8", - tree_name = "tree-wetland-n", - weight = 180 - }, - ["tree-wetland-o"] = { - tile_name = "frozen-snow-8", - tree_name = "tree-wetland-o", - weight = 411 - } -} -terrains["mineral-red-dirt-1"] = { - name = "mineral-red-dirt-1", - ["tree-desert-a"] = { - tile_name = "mineral-red-dirt-1", - tree_name = "tree-desert-a", - weight = 8 - }, - ["tree-desert-c"] = { - tile_name = "mineral-red-dirt-1", - tree_name = "tree-desert-c", - weight = 2376 - }, - ["tree-desert-d"] = { - tile_name = "mineral-red-dirt-1", - tree_name = "tree-desert-d", - weight = 1064 - }, - ["tree-desert-h"] = { - tile_name = "mineral-red-dirt-1", - tree_name = "tree-desert-h", - weight = 2650 - }, - ["tree-desert-j"] = { - tile_name = "mineral-red-dirt-1", - tree_name = "tree-desert-j", - weight = 2 - }, - ["tree-desert-n"] = { - tile_name = "mineral-red-dirt-1", - tree_name = "tree-desert-n", - weight = 3 - }, - ["tree-dryland-a"] = { - tile_name = "mineral-red-dirt-1", - tree_name = "tree-dryland-a", - weight = 17 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-red-dirt-1", - tree_name = "tree-dryland-b", - weight = 15464 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-red-dirt-1", - tree_name = "tree-dryland-c", - weight = 81723 - }, - ["tree-dryland-d"] = { - tile_name = "mineral-red-dirt-1", - tree_name = "tree-dryland-d", - weight = 234 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-red-dirt-1", - tree_name = "tree-dryland-e", - weight = 215 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-red-dirt-1", - tree_name = "tree-dryland-f", - weight = 111728 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-red-dirt-1", - tree_name = "tree-dryland-g", - weight = 47 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-red-dirt-1", - tree_name = "tree-dryland-h", - weight = 60737 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-red-dirt-1", - tree_name = "tree-dryland-i", - weight = 17 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-red-dirt-1", - tree_name = "tree-dryland-l", - weight = 38 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-red-dirt-1", - tree_name = "tree-dryland-m", - weight = 38 - }, - ["tree-grassland-a"] = { - tile_name = "mineral-red-dirt-1", - tree_name = "tree-grassland-a", - weight = 198 - }, - ["tree-grassland-b"] = { - tile_name = "mineral-red-dirt-1", - tree_name = "tree-grassland-b", - weight = 54 - }, - ["tree-grassland-c"] = { - tile_name = "mineral-red-dirt-1", - tree_name = "tree-grassland-c", - weight = 18911 - }, - ["tree-grassland-d"] = { - tile_name = "mineral-red-dirt-1", - tree_name = "tree-grassland-d", - weight = 1354 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-red-dirt-1", - tree_name = "tree-grassland-e", - weight = 26861 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-red-dirt-1", - tree_name = "tree-grassland-f", - weight = 137 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-red-dirt-1", - tree_name = "tree-grassland-g", - weight = 88 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-red-dirt-1", - tree_name = "tree-grassland-h", - weight = 11158 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-red-dirt-1", - tree_name = "tree-grassland-h2", - weight = 105119 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-red-dirt-1", - tree_name = "tree-grassland-h3", - weight = 347 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-red-dirt-1", - tree_name = "tree-grassland-i", - weight = 2914 - }, - ["tree-grassland-p"] = { - tile_name = "mineral-red-dirt-1", - tree_name = "tree-grassland-p", - weight = 23 - }, - ["tree-wetland-b"] = { - tile_name = "mineral-red-dirt-1", - tree_name = "tree-wetland-b", - weight = 973 - }, - ["tree-wetland-c"] = { - tile_name = "mineral-red-dirt-1", - tree_name = "tree-wetland-c", - weight = 55 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-red-dirt-1", - tree_name = "tree-wetland-e", - weight = 17177 - }, - ["tree-wetland-f"] = { - tile_name = "mineral-red-dirt-1", - tree_name = "tree-wetland-f", - weight = 142 - }, - ["tree-wetland-h"] = { - tile_name = "mineral-red-dirt-1", - tree_name = "tree-wetland-h", - weight = 21 - } -} -terrains["mineral-brown-sand-1"] = { - name = "mineral-brown-sand-1", - ["tree-desert-a"] = { - tile_name = "mineral-brown-sand-1", - tree_name = "tree-desert-a", - weight = 103 - }, - ["tree-desert-b"] = { - tile_name = "mineral-brown-sand-1", - tree_name = "tree-desert-b", - weight = 8872 - }, - ["tree-desert-c"] = { - tile_name = "mineral-brown-sand-1", - tree_name = "tree-desert-c", - weight = 88244 - }, - ["tree-desert-d"] = { - tile_name = "mineral-brown-sand-1", - tree_name = "tree-desert-d", - weight = 48 - }, - ["tree-desert-e"] = { - tile_name = "mineral-brown-sand-1", - tree_name = "tree-desert-e", - weight = 20 - }, - ["tree-desert-f"] = { - tile_name = "mineral-brown-sand-1", - tree_name = "tree-desert-f", - weight = 12883 - }, - ["tree-desert-g"] = { - tile_name = "mineral-brown-sand-1", - tree_name = "tree-desert-g", - weight = 16 - }, - ["tree-desert-h"] = { - tile_name = "mineral-brown-sand-1", - tree_name = "tree-desert-h", - weight = 27525 - }, - ["tree-desert-i"] = { - tile_name = "mineral-brown-sand-1", - tree_name = "tree-desert-i", - weight = 5 - }, - ["tree-desert-j"] = { - tile_name = "mineral-brown-sand-1", - tree_name = "tree-desert-j", - weight = 24 - }, - ["tree-desert-n"] = { - tile_name = "mineral-brown-sand-1", - tree_name = "tree-desert-n", - weight = 27 - }, - ["tree-dryland-a"] = { - tile_name = "mineral-brown-sand-1", - tree_name = "tree-dryland-a", - weight = 397 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-brown-sand-1", - tree_name = "tree-dryland-b", - weight = 3373 - }, - ["tree-dryland-d"] = { - tile_name = "mineral-brown-sand-1", - tree_name = "tree-dryland-d", - weight = 7 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-brown-sand-1", - tree_name = "tree-dryland-e", - weight = 2 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-brown-sand-1", - tree_name = "tree-dryland-f", - weight = 5758 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-brown-sand-1", - tree_name = "tree-dryland-g", - weight = 97 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-brown-sand-1", - tree_name = "tree-dryland-h", - weight = 496 - }, - ["tree-grassland-b"] = { - tile_name = "mineral-brown-sand-1", - tree_name = "tree-grassland-b", - weight = 48 - }, - ["tree-grassland-c"] = { - tile_name = "mineral-brown-sand-1", - tree_name = "tree-grassland-c", - weight = 23723 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-brown-sand-1", - tree_name = "tree-grassland-f", - weight = 525 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-brown-sand-1", - tree_name = "tree-grassland-g", - weight = 2246 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-brown-sand-1", - tree_name = "tree-grassland-h2", - weight = 144 - }, - ["tree-wetland-b"] = { - tile_name = "mineral-brown-sand-1", - tree_name = "tree-wetland-b", - weight = 32137 - }, - ["tree-wetland-d"] = { - tile_name = "mineral-brown-sand-1", - tree_name = "tree-wetland-d", - weight = 2612 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-brown-sand-1", - tree_name = "tree-wetland-e", - weight = 93121 - } -} -terrains["mineral-brown-sand-2"] = { - name = "mineral-brown-sand-2", - ["tree-desert-a"] = { - tile_name = "mineral-brown-sand-2", - tree_name = "tree-desert-a", - weight = 62 - }, - ["tree-desert-b"] = { - tile_name = "mineral-brown-sand-2", - tree_name = "tree-desert-b", - weight = 4196 - }, - ["tree-desert-c"] = { - tile_name = "mineral-brown-sand-2", - tree_name = "tree-desert-c", - weight = 47866 - }, - ["tree-desert-d"] = { - tile_name = "mineral-brown-sand-2", - tree_name = "tree-desert-d", - weight = 38 - }, - ["tree-desert-e"] = { - tile_name = "mineral-brown-sand-2", - tree_name = "tree-desert-e", - weight = 7 - }, - ["tree-desert-f"] = { - tile_name = "mineral-brown-sand-2", - tree_name = "tree-desert-f", - weight = 7450 - }, - ["tree-desert-g"] = { - tile_name = "mineral-brown-sand-2", - tree_name = "tree-desert-g", - weight = 11 - }, - ["tree-desert-h"] = { - tile_name = "mineral-brown-sand-2", - tree_name = "tree-desert-h", - weight = 15084 - }, - ["tree-desert-i"] = { - tile_name = "mineral-brown-sand-2", - tree_name = "tree-desert-i", - weight = 5 - }, - ["tree-desert-j"] = { - tile_name = "mineral-brown-sand-2", - tree_name = "tree-desert-j", - weight = 13 - }, - ["tree-desert-n"] = { - tile_name = "mineral-brown-sand-2", - tree_name = "tree-desert-n", - weight = 10 - }, - ["tree-dryland-a"] = { - tile_name = "mineral-brown-sand-2", - tree_name = "tree-dryland-a", - weight = 152 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-brown-sand-2", - tree_name = "tree-dryland-b", - weight = 1870 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-brown-sand-2", - tree_name = "tree-dryland-e", - weight = 2 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-brown-sand-2", - tree_name = "tree-dryland-f", - weight = 4133 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-brown-sand-2", - tree_name = "tree-dryland-g", - weight = 118 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-brown-sand-2", - tree_name = "tree-dryland-h", - weight = 501 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-brown-sand-2", - tree_name = "tree-dryland-l", - weight = 2 - }, - ["tree-dryland-n"] = { - tile_name = "mineral-brown-sand-2", - tree_name = "tree-dryland-n", - weight = 2 - }, - ["tree-grassland-b"] = { - tile_name = "mineral-brown-sand-2", - tree_name = "tree-grassland-b", - weight = 71 - }, - ["tree-grassland-c"] = { - tile_name = "mineral-brown-sand-2", - tree_name = "tree-grassland-c", - weight = 12218 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-brown-sand-2", - tree_name = "tree-grassland-f", - weight = 244 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-brown-sand-2", - tree_name = "tree-grassland-g", - weight = 1653 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-brown-sand-2", - tree_name = "tree-grassland-h2", - weight = 183 - }, - ["tree-wetland-b"] = { - tile_name = "mineral-brown-sand-2", - tree_name = "tree-wetland-b", - weight = 16091 - }, - ["tree-wetland-d"] = { - tile_name = "mineral-brown-sand-2", - tree_name = "tree-wetland-d", - weight = 1390 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-brown-sand-2", - tree_name = "tree-wetland-e", - weight = 50743 - } -} -terrains["mineral-brown-sand-3"] = { - name = "mineral-brown-sand-3", - ["tree-desert-a"] = { - tile_name = "mineral-brown-sand-3", - tree_name = "tree-desert-a", - weight = 22 - }, - ["tree-desert-b"] = { - tile_name = "mineral-brown-sand-3", - tree_name = "tree-desert-b", - weight = 3031 - }, - ["tree-desert-c"] = { - tile_name = "mineral-brown-sand-3", - tree_name = "tree-desert-c", - weight = 27151 - }, - ["tree-desert-d"] = { - tile_name = "mineral-brown-sand-3", - tree_name = "tree-desert-d", - weight = 15 - }, - ["tree-desert-e"] = { - tile_name = "mineral-brown-sand-3", - tree_name = "tree-desert-e", - weight = 3 - }, - ["tree-desert-f"] = { - tile_name = "mineral-brown-sand-3", - tree_name = "tree-desert-f", - weight = 4030 - }, - ["tree-desert-g"] = { - tile_name = "mineral-brown-sand-3", - tree_name = "tree-desert-g", - weight = 6 - }, - ["tree-desert-h"] = { - tile_name = "mineral-brown-sand-3", - tree_name = "tree-desert-h", - weight = 8125 - }, - ["tree-desert-i"] = { - tile_name = "mineral-brown-sand-3", - tree_name = "tree-desert-i", - weight = 4 - }, - ["tree-desert-j"] = { - tile_name = "mineral-brown-sand-3", - tree_name = "tree-desert-j", - weight = 12 - }, - ["tree-desert-n"] = { - tile_name = "mineral-brown-sand-3", - tree_name = "tree-desert-n", - weight = 11 - }, - ["tree-dryland-a"] = { - tile_name = "mineral-brown-sand-3", - tree_name = "tree-dryland-a", - weight = 50 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-brown-sand-3", - tree_name = "tree-dryland-b", - weight = 990 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-brown-sand-3", - tree_name = "tree-dryland-f", - weight = 2025 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-brown-sand-3", - tree_name = "tree-dryland-g", - weight = 62 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-brown-sand-3", - tree_name = "tree-dryland-h", - weight = 466 - }, - ["tree-grassland-b"] = { - tile_name = "mineral-brown-sand-3", - tree_name = "tree-grassland-b", - weight = 102 - }, - ["tree-grassland-c"] = { - tile_name = "mineral-brown-sand-3", - tree_name = "tree-grassland-c", - weight = 7015 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-brown-sand-3", - tree_name = "tree-grassland-f", - weight = 256 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-brown-sand-3", - tree_name = "tree-grassland-g", - weight = 672 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-brown-sand-3", - tree_name = "tree-grassland-h2", - weight = 86 - }, - ["tree-wetland-b"] = { - tile_name = "mineral-brown-sand-3", - tree_name = "tree-wetland-b", - weight = 7896 - }, - ["tree-wetland-d"] = { - tile_name = "mineral-brown-sand-3", - tree_name = "tree-wetland-d", - weight = 860 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-brown-sand-3", - tree_name = "tree-wetland-e", - weight = 27219 - } -} -terrains["mineral-red-sand-1"] = { - name = "mineral-red-sand-1", - ["tree-desert-a"] = { - tile_name = "mineral-red-sand-1", - tree_name = "tree-desert-a", - weight = 53 - }, - ["tree-desert-b"] = { - tile_name = "mineral-red-sand-1", - tree_name = "tree-desert-b", - weight = 5 - }, - ["tree-desert-c"] = { - tile_name = "mineral-red-sand-1", - tree_name = "tree-desert-c", - weight = 30909 - }, - ["tree-desert-d"] = { - tile_name = "mineral-red-sand-1", - tree_name = "tree-desert-d", - weight = 11170 - }, - ["tree-desert-e"] = { - tile_name = "mineral-red-sand-1", - tree_name = "tree-desert-e", - weight = 4 - }, - ["tree-desert-f"] = { - tile_name = "mineral-red-sand-1", - tree_name = "tree-desert-f", - weight = 6 - }, - ["tree-desert-g"] = { - tile_name = "mineral-red-sand-1", - tree_name = "tree-desert-g", - weight = 4 - }, - ["tree-desert-h"] = { - tile_name = "mineral-red-sand-1", - tree_name = "tree-desert-h", - weight = 19830 - }, - ["tree-desert-j"] = { - tile_name = "mineral-red-sand-1", - tree_name = "tree-desert-j", - weight = 7 - }, - ["tree-desert-n"] = { - tile_name = "mineral-red-sand-1", - tree_name = "tree-desert-n", - weight = 7 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-red-sand-1", - tree_name = "tree-dryland-b", - weight = 939 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-red-sand-1", - tree_name = "tree-dryland-c", - weight = 1091 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-red-sand-1", - tree_name = "tree-dryland-f", - weight = 1174 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-red-sand-1", - tree_name = "tree-dryland-h", - weight = 734 - }, - ["tree-grassland-c"] = { - tile_name = "mineral-red-sand-1", - tree_name = "tree-grassland-c", - weight = 5546 - }, - ["tree-grassland-d"] = { - tile_name = "mineral-red-sand-1", - tree_name = "tree-grassland-d", - weight = 617 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-red-sand-1", - tree_name = "tree-grassland-e", - weight = 1197 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-red-sand-1", - tree_name = "tree-grassland-h2", - weight = 1614 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-red-sand-1", - tree_name = "tree-grassland-i", - weight = 150 - }, - ["tree-wetland-b"] = { - tile_name = "mineral-red-sand-1", - tree_name = "tree-wetland-b", - weight = 9876 - }, - ["tree-wetland-c"] = { - tile_name = "mineral-red-sand-1", - tree_name = "tree-wetland-c", - weight = 2322 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-red-sand-1", - tree_name = "tree-wetland-e", - weight = 28896 - }, - ["tree-wetland-f"] = { - tile_name = "mineral-red-sand-1", - tree_name = "tree-wetland-f", - weight = 405 - }, - ["tree-wetland-h"] = { - tile_name = "mineral-red-sand-1", - tree_name = "tree-wetland-h", - weight = 226 - } -} -terrains["volcanic-orange-heat-1"] = { - name = "volcanic-orange-heat-1", - ["tree-volcanic-a"] = { - tile_name = "volcanic-orange-heat-1", - tree_name = "tree-volcanic-a", - weight = 110410 - } -} -terrains["mineral-red-sand-2"] = { - name = "mineral-red-sand-2", - ["tree-desert-a"] = { - tile_name = "mineral-red-sand-2", - tree_name = "tree-desert-a", - weight = 21 - }, - ["tree-desert-b"] = { - tile_name = "mineral-red-sand-2", - tree_name = "tree-desert-b", - weight = 5 - }, - ["tree-desert-c"] = { - tile_name = "mineral-red-sand-2", - tree_name = "tree-desert-c", - weight = 14756 - }, - ["tree-desert-d"] = { - tile_name = "mineral-red-sand-2", - tree_name = "tree-desert-d", - weight = 5612 - }, - ["tree-desert-f"] = { - tile_name = "mineral-red-sand-2", - tree_name = "tree-desert-f", - weight = 4 - }, - ["tree-desert-g"] = { - tile_name = "mineral-red-sand-2", - tree_name = "tree-desert-g", - weight = 2 - }, - ["tree-desert-h"] = { - tile_name = "mineral-red-sand-2", - tree_name = "tree-desert-h", - weight = 10535 - }, - ["tree-desert-j"] = { - tile_name = "mineral-red-sand-2", - tree_name = "tree-desert-j", - weight = 3 - }, - ["tree-desert-n"] = { - tile_name = "mineral-red-sand-2", - tree_name = "tree-desert-n", - weight = 2 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-red-sand-2", - tree_name = "tree-dryland-b", - weight = 570 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-red-sand-2", - tree_name = "tree-dryland-c", - weight = 423 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-red-sand-2", - tree_name = "tree-dryland-f", - weight = 708 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-red-sand-2", - tree_name = "tree-dryland-h", - weight = 220 - }, - ["tree-grassland-c"] = { - tile_name = "mineral-red-sand-2", - tree_name = "tree-grassland-c", - weight = 2550 - }, - ["tree-grassland-d"] = { - tile_name = "mineral-red-sand-2", - tree_name = "tree-grassland-d", - weight = 256 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-red-sand-2", - tree_name = "tree-grassland-e", - weight = 420 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-red-sand-2", - tree_name = "tree-grassland-h2", - weight = 773 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-red-sand-2", - tree_name = "tree-grassland-i", - weight = 66 - }, - ["tree-wetland-b"] = { - tile_name = "mineral-red-sand-2", - tree_name = "tree-wetland-b", - weight = 5551 - }, - ["tree-wetland-c"] = { - tile_name = "mineral-red-sand-2", - tree_name = "tree-wetland-c", - weight = 1877 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-red-sand-2", - tree_name = "tree-wetland-e", - weight = 16203 - }, - ["tree-wetland-f"] = { - tile_name = "mineral-red-sand-2", - tree_name = "tree-wetland-f", - weight = 257 - }, - ["tree-wetland-h"] = { - tile_name = "mineral-red-sand-2", - tree_name = "tree-wetland-h", - weight = 173 - } -} -terrains["mineral-red-sand-3"] = { - name = "mineral-red-sand-3", - ["tree-desert-a"] = { - tile_name = "mineral-red-sand-3", - tree_name = "tree-desert-a", - weight = 10 - }, - ["tree-desert-b"] = { - tile_name = "mineral-red-sand-3", - tree_name = "tree-desert-b", - weight = 4 - }, - ["tree-desert-c"] = { - tile_name = "mineral-red-sand-3", - tree_name = "tree-desert-c", - weight = 9095 - }, - ["tree-desert-d"] = { - tile_name = "mineral-red-sand-3", - tree_name = "tree-desert-d", - weight = 2547 - }, - ["tree-desert-f"] = { - tile_name = "mineral-red-sand-3", - tree_name = "tree-desert-f", - weight = 6 - }, - ["tree-desert-g"] = { - tile_name = "mineral-red-sand-3", - tree_name = "tree-desert-g", - weight = 6 - }, - ["tree-desert-h"] = { - tile_name = "mineral-red-sand-3", - tree_name = "tree-desert-h", - weight = 5425 - }, - ["tree-desert-j"] = { - tile_name = "mineral-red-sand-3", - tree_name = "tree-desert-j", - weight = 3 - }, - ["tree-desert-n"] = { - tile_name = "mineral-red-sand-3", - tree_name = "tree-desert-n", - weight = 10 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-red-sand-3", - tree_name = "tree-dryland-b", - weight = 178 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-red-sand-3", - tree_name = "tree-dryland-c", - weight = 174 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-red-sand-3", - tree_name = "tree-dryland-f", - weight = 250 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-red-sand-3", - tree_name = "tree-dryland-h", - weight = 312 - }, - ["tree-grassland-c"] = { - tile_name = "mineral-red-sand-3", - tree_name = "tree-grassland-c", - weight = 1454 - }, - ["tree-grassland-d"] = { - tile_name = "mineral-red-sand-3", - tree_name = "tree-grassland-d", - weight = 39 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-red-sand-3", - tree_name = "tree-grassland-e", - weight = 247 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-red-sand-3", - tree_name = "tree-grassland-h2", - weight = 680 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-red-sand-3", - tree_name = "tree-grassland-i", - weight = 120 - }, - ["tree-wetland-b"] = { - tile_name = "mineral-red-sand-3", - tree_name = "tree-wetland-b", - weight = 2328 - }, - ["tree-wetland-c"] = { - tile_name = "mineral-red-sand-3", - tree_name = "tree-wetland-c", - weight = 342 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-red-sand-3", - tree_name = "tree-wetland-e", - weight = 7465 - }, - ["tree-wetland-f"] = { - tile_name = "mineral-red-sand-3", - tree_name = "tree-wetland-f", - weight = 530 - }, - ["tree-wetland-h"] = { - tile_name = "mineral-red-sand-3", - tree_name = "tree-wetland-h", - weight = 97 - } -} -terrains["mineral-red-dirt-4"] = { - name = "mineral-red-dirt-4", - ["tree-desert-c"] = { - tile_name = "mineral-red-dirt-4", - tree_name = "tree-desert-c", - weight = 859 - }, - ["tree-desert-d"] = { - tile_name = "mineral-red-dirt-4", - tree_name = "tree-desert-d", - weight = 558 - }, - ["tree-desert-f"] = { - tile_name = "mineral-red-dirt-4", - tree_name = "tree-desert-f", - weight = 2 - }, - ["tree-desert-h"] = { - tile_name = "mineral-red-dirt-4", - tree_name = "tree-desert-h", - weight = 1194 - }, - ["tree-dryland-a"] = { - tile_name = "mineral-red-dirt-4", - tree_name = "tree-dryland-a", - weight = 2 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-red-dirt-4", - tree_name = "tree-dryland-b", - weight = 2531 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-red-dirt-4", - tree_name = "tree-dryland-c", - weight = 13235 - }, - ["tree-dryland-d"] = { - tile_name = "mineral-red-dirt-4", - tree_name = "tree-dryland-d", - weight = 38 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-red-dirt-4", - tree_name = "tree-dryland-e", - weight = 26 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-red-dirt-4", - tree_name = "tree-dryland-f", - weight = 13147 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-red-dirt-4", - tree_name = "tree-dryland-g", - weight = 9 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-red-dirt-4", - tree_name = "tree-dryland-h", - weight = 9691 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-red-dirt-4", - tree_name = "tree-dryland-l", - weight = 16 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-red-dirt-4", - tree_name = "tree-dryland-m", - weight = 10 - }, - ["tree-grassland-a"] = { - tile_name = "mineral-red-dirt-4", - tree_name = "tree-grassland-a", - weight = 112 - }, - ["tree-grassland-b"] = { - tile_name = "mineral-red-dirt-4", - tree_name = "tree-grassland-b", - weight = 12 - }, - ["tree-grassland-c"] = { - tile_name = "mineral-red-dirt-4", - tree_name = "tree-grassland-c", - weight = 6305 - }, - ["tree-grassland-d"] = { - tile_name = "mineral-red-dirt-4", - tree_name = "tree-grassland-d", - weight = 425 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-red-dirt-4", - tree_name = "tree-grassland-e", - weight = 8963 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-red-dirt-4", - tree_name = "tree-grassland-f", - weight = 85 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-red-dirt-4", - tree_name = "tree-grassland-g", - weight = 109 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-red-dirt-4", - tree_name = "tree-grassland-h", - weight = 4069 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-red-dirt-4", - tree_name = "tree-grassland-h2", - weight = 16780 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-red-dirt-4", - tree_name = "tree-grassland-h3", - weight = 55 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-red-dirt-4", - tree_name = "tree-grassland-i", - weight = 1210 - }, - ["tree-grassland-p"] = { - tile_name = "mineral-red-dirt-4", - tree_name = "tree-grassland-p", - weight = 18 - }, - ["tree-wetland-b"] = { - tile_name = "mineral-red-dirt-4", - tree_name = "tree-wetland-b", - weight = 306 - }, - ["tree-wetland-c"] = { - tile_name = "mineral-red-dirt-4", - tree_name = "tree-wetland-c", - weight = 28 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-red-dirt-4", - tree_name = "tree-wetland-e", - weight = 2840 - }, - ["tree-wetland-f"] = { - tile_name = "mineral-red-dirt-4", - tree_name = "tree-wetland-f", - weight = 75 - } -} -terrains["mineral-red-dirt-3"] = { - name = "mineral-red-dirt-3", - ["tree-desert-a"] = { - tile_name = "mineral-red-dirt-3", - tree_name = "tree-desert-a", - weight = 3 - }, - ["tree-desert-c"] = { - tile_name = "mineral-red-dirt-3", - tree_name = "tree-desert-c", - weight = 922 - }, - ["tree-desert-d"] = { - tile_name = "mineral-red-dirt-3", - tree_name = "tree-desert-d", - weight = 494 - }, - ["tree-desert-h"] = { - tile_name = "mineral-red-dirt-3", - tree_name = "tree-desert-h", - weight = 1195 - }, - ["tree-desert-n"] = { - tile_name = "mineral-red-dirt-3", - tree_name = "tree-desert-n", - weight = 2 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-red-dirt-3", - tree_name = "tree-dryland-b", - weight = 3267 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-red-dirt-3", - tree_name = "tree-dryland-c", - weight = 20038 - }, - ["tree-dryland-d"] = { - tile_name = "mineral-red-dirt-3", - tree_name = "tree-dryland-d", - weight = 41 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-red-dirt-3", - tree_name = "tree-dryland-e", - weight = 55 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-red-dirt-3", - tree_name = "tree-dryland-f", - weight = 27698 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-red-dirt-3", - tree_name = "tree-dryland-g", - weight = 11 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-red-dirt-3", - tree_name = "tree-dryland-h", - weight = 18516 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-red-dirt-3", - tree_name = "tree-dryland-i", - weight = 13 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-red-dirt-3", - tree_name = "tree-dryland-l", - weight = 21 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-red-dirt-3", - tree_name = "tree-dryland-m", - weight = 7 - }, - ["tree-grassland-a"] = { - tile_name = "mineral-red-dirt-3", - tree_name = "tree-grassland-a", - weight = 218 - }, - ["tree-grassland-b"] = { - tile_name = "mineral-red-dirt-3", - tree_name = "tree-grassland-b", - weight = 31 - }, - ["tree-grassland-c"] = { - tile_name = "mineral-red-dirt-3", - tree_name = "tree-grassland-c", - weight = 8645 - }, - ["tree-grassland-d"] = { - tile_name = "mineral-red-dirt-3", - tree_name = "tree-grassland-d", - weight = 567 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-red-dirt-3", - tree_name = "tree-grassland-e", - weight = 12198 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-red-dirt-3", - tree_name = "tree-grassland-f", - weight = 114 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-red-dirt-3", - tree_name = "tree-grassland-g", - weight = 43 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-red-dirt-3", - tree_name = "tree-grassland-h", - weight = 3332 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-red-dirt-3", - tree_name = "tree-grassland-h2", - weight = 32322 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-red-dirt-3", - tree_name = "tree-grassland-h3", - weight = 86 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-red-dirt-3", - tree_name = "tree-grassland-i", - weight = 1579 - }, - ["tree-grassland-p"] = { - tile_name = "mineral-red-dirt-3", - tree_name = "tree-grassland-p", - weight = 5 - }, - ["tree-wetland-b"] = { - tile_name = "mineral-red-dirt-3", - tree_name = "tree-wetland-b", - weight = 228 - }, - ["tree-wetland-c"] = { - tile_name = "mineral-red-dirt-3", - tree_name = "tree-wetland-c", - weight = 74 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-red-dirt-3", - tree_name = "tree-wetland-e", - weight = 4967 - }, - ["tree-wetland-f"] = { - tile_name = "mineral-red-dirt-3", - tree_name = "tree-wetland-f", - weight = 16 - }, - ["tree-wetland-h"] = { - tile_name = "mineral-red-dirt-3", - tree_name = "tree-wetland-h", - weight = 29 - } -} -terrains["mineral-red-dirt-2"] = { - name = "mineral-red-dirt-2", - ["tree-desert-a"] = { - tile_name = "mineral-red-dirt-2", - tree_name = "tree-desert-a", - weight = 3 - }, - ["tree-desert-c"] = { - tile_name = "mineral-red-dirt-2", - tree_name = "tree-desert-c", - weight = 1692 - }, - ["tree-desert-d"] = { - tile_name = "mineral-red-dirt-2", - tree_name = "tree-desert-d", - weight = 881 - }, - ["tree-desert-g"] = { - tile_name = "mineral-red-dirt-2", - tree_name = "tree-desert-g", - weight = 2 - }, - ["tree-desert-h"] = { - tile_name = "mineral-red-dirt-2", - tree_name = "tree-desert-h", - weight = 1840 - }, - ["tree-desert-j"] = { - tile_name = "mineral-red-dirt-2", - tree_name = "tree-desert-j", - weight = 3 - }, - ["tree-dryland-a"] = { - tile_name = "mineral-red-dirt-2", - tree_name = "tree-dryland-a", - weight = 23 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-red-dirt-2", - tree_name = "tree-dryland-b", - weight = 9438 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-red-dirt-2", - tree_name = "tree-dryland-c", - weight = 45744 - }, - ["tree-dryland-d"] = { - tile_name = "mineral-red-dirt-2", - tree_name = "tree-dryland-d", - weight = 112 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-red-dirt-2", - tree_name = "tree-dryland-e", - weight = 69 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-red-dirt-2", - tree_name = "tree-dryland-f", - weight = 51719 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-red-dirt-2", - tree_name = "tree-dryland-g", - weight = 22 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-red-dirt-2", - tree_name = "tree-dryland-h", - weight = 35276 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-red-dirt-2", - tree_name = "tree-dryland-l", - weight = 23 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-red-dirt-2", - tree_name = "tree-dryland-m", - weight = 21 - }, - ["tree-grassland-a"] = { - tile_name = "mineral-red-dirt-2", - tree_name = "tree-grassland-a", - weight = 307 - }, - ["tree-grassland-b"] = { - tile_name = "mineral-red-dirt-2", - tree_name = "tree-grassland-b", - weight = 15 - }, - ["tree-grassland-c"] = { - tile_name = "mineral-red-dirt-2", - tree_name = "tree-grassland-c", - weight = 10848 - }, - ["tree-grassland-d"] = { - tile_name = "mineral-red-dirt-2", - tree_name = "tree-grassland-d", - weight = 469 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-red-dirt-2", - tree_name = "tree-grassland-e", - weight = 20330 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-red-dirt-2", - tree_name = "tree-grassland-f", - weight = 111 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-red-dirt-2", - tree_name = "tree-grassland-g", - weight = 38 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-red-dirt-2", - tree_name = "tree-grassland-h", - weight = 7952 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-red-dirt-2", - tree_name = "tree-grassland-h2", - weight = 57311 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-red-dirt-2", - tree_name = "tree-grassland-h3", - weight = 120 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-red-dirt-2", - tree_name = "tree-grassland-i", - weight = 1671 - }, - ["tree-grassland-p"] = { - tile_name = "mineral-red-dirt-2", - tree_name = "tree-grassland-p", - weight = 9 - }, - ["tree-wetland-b"] = { - tile_name = "mineral-red-dirt-2", - tree_name = "tree-wetland-b", - weight = 543 - }, - ["tree-wetland-c"] = { - tile_name = "mineral-red-dirt-2", - tree_name = "tree-wetland-c", - weight = 20 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-red-dirt-2", - tree_name = "tree-wetland-e", - weight = 8670 - }, - ["tree-wetland-f"] = { - tile_name = "mineral-red-dirt-2", - tree_name = "tree-wetland-f", - weight = 24 - }, - ["tree-wetland-h"] = { - tile_name = "mineral-red-dirt-2", - tree_name = "tree-wetland-h", - weight = 11 - } -} -terrains["mineral-red-dirt-6"] = { - name = "mineral-red-dirt-6", - ["tree-desert-c"] = { - tile_name = "mineral-red-dirt-6", - tree_name = "tree-desert-c", - weight = 438 - }, - ["tree-desert-d"] = { - tile_name = "mineral-red-dirt-6", - tree_name = "tree-desert-d", - weight = 140 - }, - ["tree-desert-h"] = { - tile_name = "mineral-red-dirt-6", - tree_name = "tree-desert-h", - weight = 636 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-red-dirt-6", - tree_name = "tree-dryland-b", - weight = 367 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-red-dirt-6", - tree_name = "tree-dryland-c", - weight = 3577 - }, - ["tree-dryland-d"] = { - tile_name = "mineral-red-dirt-6", - tree_name = "tree-dryland-d", - weight = 5 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-red-dirt-6", - tree_name = "tree-dryland-e", - weight = 3 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-red-dirt-6", - tree_name = "tree-dryland-f", - weight = 3147 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-red-dirt-6", - tree_name = "tree-dryland-h", - weight = 2452 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-red-dirt-6", - tree_name = "tree-dryland-i", - weight = 18 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-red-dirt-6", - tree_name = "tree-dryland-m", - weight = 8 - }, - ["tree-grassland-a"] = { - tile_name = "mineral-red-dirt-6", - tree_name = "tree-grassland-a", - weight = 31 - }, - ["tree-grassland-b"] = { - tile_name = "mineral-red-dirt-6", - tree_name = "tree-grassland-b", - weight = 27 - }, - ["tree-grassland-c"] = { - tile_name = "mineral-red-dirt-6", - tree_name = "tree-grassland-c", - weight = 3117 - }, - ["tree-grassland-d"] = { - tile_name = "mineral-red-dirt-6", - tree_name = "tree-grassland-d", - weight = 323 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-red-dirt-6", - tree_name = "tree-grassland-e", - weight = 4219 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-red-dirt-6", - tree_name = "tree-grassland-f", - weight = 61 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-red-dirt-6", - tree_name = "tree-grassland-g", - weight = 14 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-red-dirt-6", - tree_name = "tree-grassland-h", - weight = 2540 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-red-dirt-6", - tree_name = "tree-grassland-h2", - weight = 4644 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-red-dirt-6", - tree_name = "tree-grassland-h3", - weight = 12 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-red-dirt-6", - tree_name = "tree-grassland-i", - weight = 640 - }, - ["tree-grassland-p"] = { - tile_name = "mineral-red-dirt-6", - tree_name = "tree-grassland-p", - weight = 7 - }, - ["tree-wetland-b"] = { - tile_name = "mineral-red-dirt-6", - tree_name = "tree-wetland-b", - weight = 167 - }, - ["tree-wetland-c"] = { - tile_name = "mineral-red-dirt-6", - tree_name = "tree-wetland-c", - weight = 4 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-red-dirt-6", - tree_name = "tree-wetland-e", - weight = 978 - }, - ["tree-wetland-f"] = { - tile_name = "mineral-red-dirt-6", - tree_name = "tree-wetland-f", - weight = 16 - }, - ["tree-wetland-h"] = { - tile_name = "mineral-red-dirt-6", - tree_name = "tree-wetland-h", - weight = 5 - } -} -terrains["mineral-red-dirt-5"] = { - name = "mineral-red-dirt-5", - ["tree-desert-a"] = { - tile_name = "mineral-red-dirt-5", - tree_name = "tree-desert-a", - weight = 2 - }, - ["tree-desert-c"] = { - tile_name = "mineral-red-dirt-5", - tree_name = "tree-desert-c", - weight = 685 - }, - ["tree-desert-d"] = { - tile_name = "mineral-red-dirt-5", - tree_name = "tree-desert-d", - weight = 317 - }, - ["tree-desert-h"] = { - tile_name = "mineral-red-dirt-5", - tree_name = "tree-desert-h", - weight = 514 - }, - ["tree-dryland-a"] = { - tile_name = "mineral-red-dirt-5", - tree_name = "tree-dryland-a", - weight = 4 - }, - ["tree-dryland-b"] = { - tile_name = "mineral-red-dirt-5", - tree_name = "tree-dryland-b", - weight = 1088 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-red-dirt-5", - tree_name = "tree-dryland-c", - weight = 4857 - }, - ["tree-dryland-d"] = { - tile_name = "mineral-red-dirt-5", - tree_name = "tree-dryland-d", - weight = 6 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-red-dirt-5", - tree_name = "tree-dryland-e", - weight = 17 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-red-dirt-5", - tree_name = "tree-dryland-f", - weight = 5772 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-red-dirt-5", - tree_name = "tree-dryland-g", - weight = 4 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-red-dirt-5", - tree_name = "tree-dryland-h", - weight = 3866 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-red-dirt-5", - tree_name = "tree-dryland-i", - weight = 11 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-red-dirt-5", - tree_name = "tree-dryland-m", - weight = 2 - }, - ["tree-grassland-a"] = { - tile_name = "mineral-red-dirt-5", - tree_name = "tree-grassland-a", - weight = 74 - }, - ["tree-grassland-b"] = { - tile_name = "mineral-red-dirt-5", - tree_name = "tree-grassland-b", - weight = 26 - }, - ["tree-grassland-c"] = { - tile_name = "mineral-red-dirt-5", - tree_name = "tree-grassland-c", - weight = 4218 - }, - ["tree-grassland-d"] = { - tile_name = "mineral-red-dirt-5", - tree_name = "tree-grassland-d", - weight = 888 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-red-dirt-5", - tree_name = "tree-grassland-e", - weight = 4506 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-red-dirt-5", - tree_name = "tree-grassland-f", - weight = 61 - }, - ["tree-grassland-g"] = { - tile_name = "mineral-red-dirt-5", - tree_name = "tree-grassland-g", - weight = 30 - }, - ["tree-grassland-h"] = { - tile_name = "mineral-red-dirt-5", - tree_name = "tree-grassland-h", - weight = 1976 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-red-dirt-5", - tree_name = "tree-grassland-h2", - weight = 8928 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-red-dirt-5", - tree_name = "tree-grassland-h3", - weight = 24 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-red-dirt-5", - tree_name = "tree-grassland-i", - weight = 1937 - }, - ["tree-grassland-p"] = { - tile_name = "mineral-red-dirt-5", - tree_name = "tree-grassland-p", - weight = 5 - }, - ["tree-wetland-b"] = { - tile_name = "mineral-red-dirt-5", - tree_name = "tree-wetland-b", - weight = 298 - }, - ["tree-wetland-c"] = { - tile_name = "mineral-red-dirt-5", - tree_name = "tree-wetland-c", - weight = 10 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-red-dirt-5", - tree_name = "tree-wetland-e", - weight = 1580 - } -} -terrains["vegetation-red-grass-1"] = { - name = "vegetation-red-grass-1", - ["tree-dryland-c"] = { - tile_name = "vegetation-red-grass-1", - tree_name = "tree-dryland-c", - weight = 183 - }, - ["tree-dryland-f"] = { - tile_name = "vegetation-red-grass-1", - tree_name = "tree-dryland-f", - weight = 19 - }, - ["tree-grassland-a"] = { - tile_name = "vegetation-red-grass-1", - tree_name = "tree-grassland-a", - weight = 242 - }, - ["tree-grassland-b"] = { - tile_name = "vegetation-red-grass-1", - tree_name = "tree-grassland-b", - weight = 76 - }, - ["tree-grassland-c"] = { - tile_name = "vegetation-red-grass-1", - tree_name = "tree-grassland-c", - weight = 9147 - }, - ["tree-grassland-d"] = { - tile_name = "vegetation-red-grass-1", - tree_name = "tree-grassland-d", - weight = 8854 - }, - ["tree-grassland-e"] = { - tile_name = "vegetation-red-grass-1", - tree_name = "tree-grassland-e", - weight = 33971 - }, - ["tree-grassland-f"] = { - tile_name = "vegetation-red-grass-1", - tree_name = "tree-grassland-f", - weight = 84 - }, - ["tree-grassland-h2"] = { - tile_name = "vegetation-red-grass-1", - tree_name = "tree-grassland-h2", - weight = 2 - }, - ["tree-grassland-i"] = { - tile_name = "vegetation-red-grass-1", - tree_name = "tree-grassland-i", - weight = 11 - }, - ["tree-grassland-p"] = { - tile_name = "vegetation-red-grass-1", - tree_name = "tree-grassland-p", - weight = 3 - }, - ["tree-wetland-b"] = { - tile_name = "vegetation-red-grass-1", - tree_name = "tree-wetland-b", - weight = 15 - }, - ["tree-wetland-c"] = { - tile_name = "vegetation-red-grass-1", - tree_name = "tree-wetland-c", - weight = 255 - }, - ["tree-wetland-e"] = { - tile_name = "vegetation-red-grass-1", - tree_name = "tree-wetland-e", - weight = 1142 - }, - ["tree-wetland-f"] = { - tile_name = "vegetation-red-grass-1", - tree_name = "tree-wetland-f", - weight = 308 - } -} -terrains["vegetation-red-grass-2"] = { - name = "vegetation-red-grass-2", - ["tree-dryland-c"] = { - tile_name = "vegetation-red-grass-2", - tree_name = "tree-dryland-c", - weight = 92 - }, - ["tree-dryland-f"] = { - tile_name = "vegetation-red-grass-2", - tree_name = "tree-dryland-f", - weight = 30 - }, - ["tree-grassland-a"] = { - tile_name = "vegetation-red-grass-2", - tree_name = "tree-grassland-a", - weight = 101 - }, - ["tree-grassland-b"] = { - tile_name = "vegetation-red-grass-2", - tree_name = "tree-grassland-b", - weight = 71 - }, - ["tree-grassland-c"] = { - tile_name = "vegetation-red-grass-2", - tree_name = "tree-grassland-c", - weight = 7794 - }, - ["tree-grassland-d"] = { - tile_name = "vegetation-red-grass-2", - tree_name = "tree-grassland-d", - weight = 3862 - }, - ["tree-grassland-e"] = { - tile_name = "vegetation-red-grass-2", - tree_name = "tree-grassland-e", - weight = 26632 - }, - ["tree-grassland-f"] = { - tile_name = "vegetation-red-grass-2", - tree_name = "tree-grassland-f", - weight = 31 - }, - ["tree-grassland-h2"] = { - tile_name = "vegetation-red-grass-2", - tree_name = "tree-grassland-h2", - weight = 8 - }, - ["tree-grassland-i"] = { - tile_name = "vegetation-red-grass-2", - tree_name = "tree-grassland-i", - weight = 35 - }, - ["tree-grassland-p"] = { - tile_name = "vegetation-red-grass-2", - tree_name = "tree-grassland-p", - weight = 12 - }, - ["tree-wetland-b"] = { - tile_name = "vegetation-red-grass-2", - tree_name = "tree-wetland-b", - weight = 59 - }, - ["tree-wetland-c"] = { - tile_name = "vegetation-red-grass-2", - tree_name = "tree-wetland-c", - weight = 72 - }, - ["tree-wetland-e"] = { - tile_name = "vegetation-red-grass-2", - tree_name = "tree-wetland-e", - weight = 857 - }, - ["tree-wetland-f"] = { - tile_name = "vegetation-red-grass-2", - tree_name = "tree-wetland-f", - weight = 18 - } -} -terrains["volcanic-green-heat-1"] = { - name = "volcanic-green-heat-1", - ["tree-volcanic-a"] = { - tile_name = "volcanic-green-heat-1", - tree_name = "tree-volcanic-a", - weight = 3045 - } -} -terrains["mineral-violet-sand-2"] = { - name = "mineral-violet-sand-2", - ["tree-desert-a"] = { - tile_name = "mineral-violet-sand-2", - tree_name = "tree-desert-a", - weight = 2 - }, - ["tree-desert-d"] = { - tile_name = "mineral-violet-sand-2", - tree_name = "tree-desert-d", - weight = 148 - }, - ["tree-desert-e"] = { - tile_name = "mineral-violet-sand-2", - tree_name = "tree-desert-e", - weight = 30 - }, - ["tree-desert-f"] = { - tile_name = "mineral-violet-sand-2", - tree_name = "tree-desert-f", - weight = 2 - }, - ["tree-desert-g"] = { - tile_name = "mineral-violet-sand-2", - tree_name = "tree-desert-g", - weight = 3 - }, - ["tree-desert-h"] = { - tile_name = "mineral-violet-sand-2", - tree_name = "tree-desert-h", - weight = 1866 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-violet-sand-2", - tree_name = "tree-dryland-c", - weight = 6 - }, - ["tree-dryland-d"] = { - tile_name = "mineral-violet-sand-2", - tree_name = "tree-dryland-d", - weight = 6 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-violet-sand-2", - tree_name = "tree-dryland-h", - weight = 42 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-violet-sand-2", - tree_name = "tree-grassland-e", - weight = 16 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-violet-sand-2", - tree_name = "tree-grassland-h2", - weight = 24 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-violet-sand-2", - tree_name = "tree-grassland-i", - weight = 194 - }, - ["tree-wetland-c"] = { - tile_name = "mineral-violet-sand-2", - tree_name = "tree-wetland-c", - weight = 2 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-violet-sand-2", - tree_name = "tree-wetland-e", - weight = 289 - }, - ["tree-wetland-f"] = { - tile_name = "mineral-violet-sand-2", - tree_name = "tree-wetland-f", - weight = 1198 - }, - ["tree-wetland-h"] = { - tile_name = "mineral-violet-sand-2", - tree_name = "tree-wetland-h", - weight = 220 - } -} -terrains["mineral-violet-sand-3"] = { - name = "mineral-violet-sand-3", - ["tree-desert-a"] = { - tile_name = "mineral-violet-sand-3", - tree_name = "tree-desert-a", - weight = 2 - }, - ["tree-desert-d"] = { - tile_name = "mineral-violet-sand-3", - tree_name = "tree-desert-d", - weight = 23 - }, - ["tree-desert-e"] = { - tile_name = "mineral-violet-sand-3", - tree_name = "tree-desert-e", - weight = 2 - }, - ["tree-desert-g"] = { - tile_name = "mineral-violet-sand-3", - tree_name = "tree-desert-g", - weight = 2 - }, - ["tree-desert-h"] = { - tile_name = "mineral-violet-sand-3", - tree_name = "tree-desert-h", - weight = 820 - }, - ["tree-desert-k"] = { - tile_name = "mineral-violet-sand-3", - tree_name = "tree-desert-k", - weight = 3 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-violet-sand-3", - tree_name = "tree-dryland-c", - weight = 8 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-violet-sand-3", - tree_name = "tree-dryland-h", - weight = 12 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-violet-sand-3", - tree_name = "tree-grassland-e", - weight = 2 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-violet-sand-3", - tree_name = "tree-grassland-i", - weight = 49 - }, - ["tree-wetland-c"] = { - tile_name = "mineral-violet-sand-3", - tree_name = "tree-wetland-c", - weight = 3 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-violet-sand-3", - tree_name = "tree-wetland-e", - weight = 222 - }, - ["tree-wetland-f"] = { - tile_name = "mineral-violet-sand-3", - tree_name = "tree-wetland-f", - weight = 502 - }, - ["tree-wetland-h"] = { - tile_name = "mineral-violet-sand-3", - tree_name = "tree-wetland-h", - weight = 160 - } -} -terrains["vegetation-violet-grass-2"] = { - name = "vegetation-violet-grass-2", - ["tree-dryland-c"] = { - tile_name = "vegetation-violet-grass-2", - tree_name = "tree-dryland-c", - weight = 217 - }, - ["tree-dryland-f"] = { - tile_name = "vegetation-violet-grass-2", - tree_name = "tree-dryland-f", - weight = 138 - }, - ["tree-dryland-h"] = { - tile_name = "vegetation-violet-grass-2", - tree_name = "tree-dryland-h", - weight = 23 - }, - ["tree-dryland-i"] = { - tile_name = "vegetation-violet-grass-2", - tree_name = "tree-dryland-i", - weight = 7 - }, - ["tree-grassland-a"] = { - tile_name = "vegetation-violet-grass-2", - tree_name = "tree-grassland-a", - weight = 248 - }, - ["tree-grassland-c"] = { - tile_name = "vegetation-violet-grass-2", - tree_name = "tree-grassland-c", - weight = 2687 - }, - ["tree-grassland-d"] = { - tile_name = "vegetation-violet-grass-2", - tree_name = "tree-grassland-d", - weight = 288 - }, - ["tree-grassland-e"] = { - tile_name = "vegetation-violet-grass-2", - tree_name = "tree-grassland-e", - weight = 12138 - }, - ["tree-grassland-f"] = { - tile_name = "vegetation-violet-grass-2", - tree_name = "tree-grassland-f", - weight = 396 - }, - ["tree-grassland-g"] = { - tile_name = "vegetation-violet-grass-2", - tree_name = "tree-grassland-g", - weight = 137 - }, - ["tree-grassland-h"] = { - tile_name = "vegetation-violet-grass-2", - tree_name = "tree-grassland-h", - weight = 825 - }, - ["tree-grassland-h2"] = { - tile_name = "vegetation-violet-grass-2", - tree_name = "tree-grassland-h2", - weight = 182 - }, - ["tree-grassland-i"] = { - tile_name = "vegetation-violet-grass-2", - tree_name = "tree-grassland-i", - weight = 2608 - }, - ["tree-grassland-m"] = { - tile_name = "vegetation-violet-grass-2", - tree_name = "tree-grassland-m", - weight = 5 - }, - ["tree-wetland-e"] = { - tile_name = "vegetation-violet-grass-2", - tree_name = "tree-wetland-e", - weight = 1301 - }, - ["tree-wetland-f"] = { - tile_name = "vegetation-violet-grass-2", - tree_name = "tree-wetland-f", - weight = 73 - } -} -terrains["vegetation-violet-grass-1"] = { - name = "vegetation-violet-grass-1", - ["tree-dryland-c"] = { - tile_name = "vegetation-violet-grass-1", - tree_name = "tree-dryland-c", - weight = 385 - }, - ["tree-dryland-f"] = { - tile_name = "vegetation-violet-grass-1", - tree_name = "tree-dryland-f", - weight = 64 - }, - ["tree-dryland-h"] = { - tile_name = "vegetation-violet-grass-1", - tree_name = "tree-dryland-h", - weight = 37 - }, - ["tree-dryland-i"] = { - tile_name = "vegetation-violet-grass-1", - tree_name = "tree-dryland-i", - weight = 31 - }, - ["tree-grassland-a"] = { - tile_name = "vegetation-violet-grass-1", - tree_name = "tree-grassland-a", - weight = 366 - }, - ["tree-grassland-c"] = { - tile_name = "vegetation-violet-grass-1", - tree_name = "tree-grassland-c", - weight = 5552 - }, - ["tree-grassland-d"] = { - tile_name = "vegetation-violet-grass-1", - tree_name = "tree-grassland-d", - weight = 297 - }, - ["tree-grassland-e"] = { - tile_name = "vegetation-violet-grass-1", - tree_name = "tree-grassland-e", - weight = 19221 - }, - ["tree-grassland-f"] = { - tile_name = "vegetation-violet-grass-1", - tree_name = "tree-grassland-f", - weight = 558 - }, - ["tree-grassland-g"] = { - tile_name = "vegetation-violet-grass-1", - tree_name = "tree-grassland-g", - weight = 146 - }, - ["tree-grassland-h"] = { - tile_name = "vegetation-violet-grass-1", - tree_name = "tree-grassland-h", - weight = 199 - }, - ["tree-grassland-h2"] = { - tile_name = "vegetation-violet-grass-1", - tree_name = "tree-grassland-h2", - weight = 543 - }, - ["tree-grassland-i"] = { - tile_name = "vegetation-violet-grass-1", - tree_name = "tree-grassland-i", - weight = 3697 - }, - ["tree-wetland-e"] = { - tile_name = "vegetation-violet-grass-1", - tree_name = "tree-wetland-e", - weight = 2478 - }, - ["tree-wetland-f"] = { - tile_name = "vegetation-violet-grass-1", - tree_name = "tree-wetland-f", - weight = 56 - } -} -terrains["mineral-violet-dirt-1"] = { - name = "mineral-violet-dirt-1", - ["tree-desert-d"] = { - tile_name = "mineral-violet-dirt-1", - tree_name = "tree-desert-d", - weight = 3 - }, - ["tree-desert-h"] = { - tile_name = "mineral-violet-dirt-1", - tree_name = "tree-desert-h", - weight = 71 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-violet-dirt-1", - tree_name = "tree-dryland-c", - weight = 3885 - }, - ["tree-dryland-d"] = { - tile_name = "mineral-violet-dirt-1", - tree_name = "tree-dryland-d", - weight = 100 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-violet-dirt-1", - tree_name = "tree-dryland-e", - weight = 5 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-violet-dirt-1", - tree_name = "tree-dryland-f", - weight = 5 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-violet-dirt-1", - tree_name = "tree-dryland-g", - weight = 7 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-violet-dirt-1", - tree_name = "tree-dryland-h", - weight = 4763 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-violet-dirt-1", - tree_name = "tree-dryland-i", - weight = 2001 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-violet-dirt-1", - tree_name = "tree-dryland-m", - weight = 29 - }, - ["tree-dryland-o"] = { - tile_name = "mineral-violet-dirt-1", - tree_name = "tree-dryland-o", - weight = 7 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-violet-dirt-1", - tree_name = "tree-grassland-e", - weight = 71 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-violet-dirt-1", - tree_name = "tree-grassland-h2", - weight = 6235 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-violet-dirt-1", - tree_name = "tree-grassland-h3", - weight = 9 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-violet-dirt-1", - tree_name = "tree-grassland-i", - weight = 2072 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-violet-dirt-1", - tree_name = "tree-wetland-e", - weight = 5 - }, - ["tree-wetland-f"] = { - tile_name = "mineral-violet-dirt-1", - tree_name = "tree-wetland-f", - weight = 114 - }, - ["tree-wetland-h"] = { - tile_name = "mineral-violet-dirt-1", - tree_name = "tree-wetland-h", - weight = 87 - } -} -terrains["mineral-violet-sand-1"] = { - name = "mineral-violet-sand-1", - ["tree-desert-d"] = { - tile_name = "mineral-violet-sand-1", - tree_name = "tree-desert-d", - weight = 151 - }, - ["tree-desert-g"] = { - tile_name = "mineral-violet-sand-1", - tree_name = "tree-desert-g", - weight = 3 - }, - ["tree-desert-h"] = { - tile_name = "mineral-violet-sand-1", - tree_name = "tree-desert-h", - weight = 2719 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-violet-sand-1", - tree_name = "tree-dryland-c", - weight = 25 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-violet-sand-1", - tree_name = "tree-dryland-h", - weight = 41 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-violet-sand-1", - tree_name = "tree-dryland-i", - weight = 4 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-violet-sand-1", - tree_name = "tree-grassland-e", - weight = 12 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-violet-sand-1", - tree_name = "tree-grassland-h2", - weight = 37 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-violet-sand-1", - tree_name = "tree-grassland-i", - weight = 398 - }, - ["tree-wetland-c"] = { - tile_name = "mineral-violet-sand-1", - tree_name = "tree-wetland-c", - weight = 7 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-violet-sand-1", - tree_name = "tree-wetland-e", - weight = 336 - }, - ["tree-wetland-f"] = { - tile_name = "mineral-violet-sand-1", - tree_name = "tree-wetland-f", - weight = 1462 - }, - ["tree-wetland-h"] = { - tile_name = "mineral-violet-sand-1", - tree_name = "tree-wetland-h", - weight = 698 - } -} -terrains["mineral-violet-dirt-4"] = { - name = "mineral-violet-dirt-4", - ["tree-desert-d"] = { - tile_name = "mineral-violet-dirt-4", - tree_name = "tree-desert-d", - weight = 2 - }, - ["tree-desert-h"] = { - tile_name = "mineral-violet-dirt-4", - tree_name = "tree-desert-h", - weight = 10 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-violet-dirt-4", - tree_name = "tree-dryland-c", - weight = 516 - }, - ["tree-dryland-d"] = { - tile_name = "mineral-violet-dirt-4", - tree_name = "tree-dryland-d", - weight = 11 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-violet-dirt-4", - tree_name = "tree-dryland-h", - weight = 222 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-violet-dirt-4", - tree_name = "tree-dryland-i", - weight = 420 - }, - ["tree-grassland-a"] = { - tile_name = "mineral-violet-dirt-4", - tree_name = "tree-grassland-a", - weight = 2 - }, - ["tree-grassland-b"] = { - tile_name = "mineral-violet-dirt-4", - tree_name = "tree-grassland-b", - weight = 4 - }, - ["tree-grassland-d"] = { - tile_name = "mineral-violet-dirt-4", - tree_name = "tree-grassland-d", - weight = 2 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-violet-dirt-4", - tree_name = "tree-grassland-e", - weight = 246 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-violet-dirt-4", - tree_name = "tree-grassland-f", - weight = 7 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-violet-dirt-4", - tree_name = "tree-grassland-h2", - weight = 1146 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-violet-dirt-4", - tree_name = "tree-grassland-h3", - weight = 2 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-violet-dirt-4", - tree_name = "tree-grassland-i", - weight = 602 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-violet-dirt-4", - tree_name = "tree-wetland-e", - weight = 10 - }, - ["tree-wetland-f"] = { - tile_name = "mineral-violet-dirt-4", - tree_name = "tree-wetland-f", - weight = 6 - }, - ["tree-wetland-h"] = { - tile_name = "mineral-violet-dirt-4", - tree_name = "tree-wetland-h", - weight = 8 - } -} -terrains["mineral-violet-dirt-5"] = { - name = "mineral-violet-dirt-5", - ["tree-desert-d"] = { - tile_name = "mineral-violet-dirt-5", - tree_name = "tree-desert-d", - weight = 2 - }, - ["tree-desert-h"] = { - tile_name = "mineral-violet-dirt-5", - tree_name = "tree-desert-h", - weight = 28 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-violet-dirt-5", - tree_name = "tree-dryland-c", - weight = 568 - }, - ["tree-dryland-d"] = { - tile_name = "mineral-violet-dirt-5", - tree_name = "tree-dryland-d", - weight = 32 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-violet-dirt-5", - tree_name = "tree-dryland-e", - weight = 2 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-violet-dirt-5", - tree_name = "tree-dryland-f", - weight = 2 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-violet-dirt-5", - tree_name = "tree-dryland-h", - weight = 253 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-violet-dirt-5", - tree_name = "tree-dryland-i", - weight = 161 - }, - ["tree-grassland-d"] = { - tile_name = "mineral-violet-dirt-5", - tree_name = "tree-grassland-d", - weight = 4 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-violet-dirt-5", - tree_name = "tree-grassland-e", - weight = 467 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-violet-dirt-5", - tree_name = "tree-grassland-h2", - weight = 499 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-violet-dirt-5", - tree_name = "tree-grassland-i", - weight = 490 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-violet-dirt-5", - tree_name = "tree-wetland-e", - weight = 39 - }, - ["tree-wetland-f"] = { - tile_name = "mineral-violet-dirt-5", - tree_name = "tree-wetland-f", - weight = 27 - } -} -terrains["mineral-violet-dirt-6"] = { - name = "mineral-violet-dirt-6", - ["tree-desert-e"] = { - tile_name = "mineral-violet-dirt-6", - tree_name = "tree-desert-e", - weight = 3 - }, - ["tree-desert-h"] = { - tile_name = "mineral-violet-dirt-6", - tree_name = "tree-desert-h", - weight = 26 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-violet-dirt-6", - tree_name = "tree-dryland-c", - weight = 126 - }, - ["tree-dryland-d"] = { - tile_name = "mineral-violet-dirt-6", - tree_name = "tree-dryland-d", - weight = 53 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-violet-dirt-6", - tree_name = "tree-dryland-h", - weight = 55 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-violet-dirt-6", - tree_name = "tree-dryland-i", - weight = 60 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-violet-dirt-6", - tree_name = "tree-grassland-e", - weight = 118 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-violet-dirt-6", - tree_name = "tree-grassland-h2", - weight = 161 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-violet-dirt-6", - tree_name = "tree-grassland-i", - weight = 156 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-violet-dirt-6", - tree_name = "tree-wetland-e", - weight = 9 - }, - ["tree-wetland-f"] = { - tile_name = "mineral-violet-dirt-6", - tree_name = "tree-wetland-f", - weight = 15 - } -} -terrains["mineral-violet-dirt-2"] = { - name = "mineral-violet-dirt-2", - ["tree-desert-h"] = { - tile_name = "mineral-violet-dirt-2", - tree_name = "tree-desert-h", - weight = 33 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-violet-dirt-2", - tree_name = "tree-dryland-c", - weight = 1428 - }, - ["tree-dryland-d"] = { - tile_name = "mineral-violet-dirt-2", - tree_name = "tree-dryland-d", - weight = 28 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-violet-dirt-2", - tree_name = "tree-dryland-e", - weight = 9 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-violet-dirt-2", - tree_name = "tree-dryland-f", - weight = 4 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-violet-dirt-2", - tree_name = "tree-dryland-g", - weight = 8 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-violet-dirt-2", - tree_name = "tree-dryland-h", - weight = 1450 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-violet-dirt-2", - tree_name = "tree-dryland-i", - weight = 622 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-violet-dirt-2", - tree_name = "tree-dryland-m", - weight = 9 - }, - ["tree-dryland-o"] = { - tile_name = "mineral-violet-dirt-2", - tree_name = "tree-dryland-o", - weight = 3 - }, - ["tree-grassland-d"] = { - tile_name = "mineral-violet-dirt-2", - tree_name = "tree-grassland-d", - weight = 3 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-violet-dirt-2", - tree_name = "tree-grassland-e", - weight = 531 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-violet-dirt-2", - tree_name = "tree-grassland-h2", - weight = 3014 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-violet-dirt-2", - tree_name = "tree-grassland-h3", - weight = 4 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-violet-dirt-2", - tree_name = "tree-grassland-i", - weight = 880 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-violet-dirt-2", - tree_name = "tree-wetland-e", - weight = 9 - }, - ["tree-wetland-f"] = { - tile_name = "mineral-violet-dirt-2", - tree_name = "tree-wetland-f", - weight = 5 - }, - ["tree-wetland-h"] = { - tile_name = "mineral-violet-dirt-2", - tree_name = "tree-wetland-h", - weight = 28 - } -} -terrains["mineral-violet-dirt-3"] = { - name = "mineral-violet-dirt-3", - ["tree-desert-h"] = { - tile_name = "mineral-violet-dirt-3", - tree_name = "tree-desert-h", - weight = 133 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-violet-dirt-3", - tree_name = "tree-dryland-c", - weight = 872 - }, - ["tree-dryland-d"] = { - tile_name = "mineral-violet-dirt-3", - tree_name = "tree-dryland-d", - weight = 49 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-violet-dirt-3", - tree_name = "tree-dryland-e", - weight = 10 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-violet-dirt-3", - tree_name = "tree-dryland-h", - weight = 785 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-violet-dirt-3", - tree_name = "tree-dryland-i", - weight = 1044 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-violet-dirt-3", - tree_name = "tree-dryland-m", - weight = 2 - }, - ["tree-dryland-o"] = { - tile_name = "mineral-violet-dirt-3", - tree_name = "tree-dryland-o", - weight = 3 - }, - ["tree-grassland-b"] = { - tile_name = "mineral-violet-dirt-3", - tree_name = "tree-grassland-b", - weight = 5 - }, - ["tree-grassland-d"] = { - tile_name = "mineral-violet-dirt-3", - tree_name = "tree-grassland-d", - weight = 6 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-violet-dirt-3", - tree_name = "tree-grassland-e", - weight = 78 - }, - ["tree-grassland-f"] = { - tile_name = "mineral-violet-dirt-3", - tree_name = "tree-grassland-f", - weight = 11 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-violet-dirt-3", - tree_name = "tree-grassland-h2", - weight = 1793 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-violet-dirt-3", - tree_name = "tree-grassland-i", - weight = 1834 - }, - ["tree-grassland-m"] = { - tile_name = "mineral-violet-dirt-3", - tree_name = "tree-grassland-m", - weight = 13 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-violet-dirt-3", - tree_name = "tree-wetland-e", - weight = 3 - }, - ["tree-wetland-f"] = { - tile_name = "mineral-violet-dirt-3", - tree_name = "tree-wetland-f", - weight = 32 - }, - ["tree-wetland-h"] = { - tile_name = "mineral-violet-dirt-3", - tree_name = "tree-wetland-h", - weight = 12 - } -} -terrains["mineral-aubergine-sand-2"] = { - name = "mineral-aubergine-sand-2", - ["tree-desert-d"] = { - tile_name = "mineral-aubergine-sand-2", - tree_name = "tree-desert-d", - weight = 2 - }, - ["tree-desert-f"] = { - tile_name = "mineral-aubergine-sand-2", - tree_name = "tree-desert-f", - weight = 2 - }, - ["tree-desert-g"] = { - tile_name = "mineral-aubergine-sand-2", - tree_name = "tree-desert-g", - weight = 2 - }, - ["tree-desert-h"] = { - tile_name = "mineral-aubergine-sand-2", - tree_name = "tree-desert-h", - weight = 3281 - }, - ["tree-desert-i"] = { - tile_name = "mineral-aubergine-sand-2", - tree_name = "tree-desert-i", - weight = 4 - }, - ["tree-desert-k"] = { - tile_name = "mineral-aubergine-sand-2", - tree_name = "tree-desert-k", - weight = 10500 - }, - ["tree-desert-l"] = { - tile_name = "mineral-aubergine-sand-2", - tree_name = "tree-desert-l", - weight = 247 - }, - ["tree-desert-m"] = { - tile_name = "mineral-aubergine-sand-2", - tree_name = "tree-desert-m", - weight = 3 - }, - ["tree-desert-n"] = { - tile_name = "mineral-aubergine-sand-2", - tree_name = "tree-desert-n", - weight = 4 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-aubergine-sand-2", - tree_name = "tree-dryland-g", - weight = 2 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-aubergine-sand-2", - tree_name = "tree-dryland-h", - weight = 290 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-aubergine-sand-2", - tree_name = "tree-dryland-i", - weight = 158 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-aubergine-sand-2", - tree_name = "tree-dryland-l", - weight = 104 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-aubergine-sand-2", - tree_name = "tree-dryland-m", - weight = 782 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-aubergine-sand-2", - tree_name = "tree-grassland-h2", - weight = 472 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-aubergine-sand-2", - tree_name = "tree-grassland-h3", - weight = 653 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-aubergine-sand-2", - tree_name = "tree-grassland-i", - weight = 339 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-aubergine-sand-2", - tree_name = "tree-wetland-e", - weight = 3514 - }, - ["tree-wetland-f"] = { - tile_name = "mineral-aubergine-sand-2", - tree_name = "tree-wetland-f", - weight = 837 - }, - ["tree-wetland-h"] = { - tile_name = "mineral-aubergine-sand-2", - tree_name = "tree-wetland-h", - weight = 4142 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-aubergine-sand-2", - tree_name = "tree-wetland-k", - weight = 963 - }, - ["tree-wetland-l"] = { - tile_name = "mineral-aubergine-sand-2", - tree_name = "tree-wetland-l", - weight = 172 - } -} -terrains["mineral-aubergine-sand-3"] = { - name = "mineral-aubergine-sand-3", - ["tree-desert-d"] = { - tile_name = "mineral-aubergine-sand-3", - tree_name = "tree-desert-d", - weight = 4 - }, - ["tree-desert-h"] = { - tile_name = "mineral-aubergine-sand-3", - tree_name = "tree-desert-h", - weight = 1933 - }, - ["tree-desert-i"] = { - tile_name = "mineral-aubergine-sand-3", - tree_name = "tree-desert-i", - weight = 3 - }, - ["tree-desert-j"] = { - tile_name = "mineral-aubergine-sand-3", - tree_name = "tree-desert-j", - weight = 3 - }, - ["tree-desert-k"] = { - tile_name = "mineral-aubergine-sand-3", - tree_name = "tree-desert-k", - weight = 6800 - }, - ["tree-desert-l"] = { - tile_name = "mineral-aubergine-sand-3", - tree_name = "tree-desert-l", - weight = 61 - }, - ["tree-desert-n"] = { - tile_name = "mineral-aubergine-sand-3", - tree_name = "tree-desert-n", - weight = 4 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-aubergine-sand-3", - tree_name = "tree-dryland-h", - weight = 86 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-aubergine-sand-3", - tree_name = "tree-dryland-i", - weight = 66 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-aubergine-sand-3", - tree_name = "tree-dryland-l", - weight = 16 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-aubergine-sand-3", - tree_name = "tree-dryland-m", - weight = 224 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-aubergine-sand-3", - tree_name = "tree-grassland-h2", - weight = 279 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-aubergine-sand-3", - tree_name = "tree-grassland-h3", - weight = 236 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-aubergine-sand-3", - tree_name = "tree-grassland-i", - weight = 147 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-aubergine-sand-3", - tree_name = "tree-wetland-e", - weight = 2308 - }, - ["tree-wetland-f"] = { - tile_name = "mineral-aubergine-sand-3", - tree_name = "tree-wetland-f", - weight = 817 - }, - ["tree-wetland-h"] = { - tile_name = "mineral-aubergine-sand-3", - tree_name = "tree-wetland-h", - weight = 2920 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-aubergine-sand-3", - tree_name = "tree-wetland-k", - weight = 706 - }, - ["tree-wetland-l"] = { - tile_name = "mineral-aubergine-sand-3", - tree_name = "tree-wetland-l", - weight = 56 - } -} -terrains["mineral-aubergine-sand-1"] = { - name = "mineral-aubergine-sand-1", - ["tree-desert-d"] = { - tile_name = "mineral-aubergine-sand-1", - tree_name = "tree-desert-d", - weight = 5 - }, - ["tree-desert-f"] = { - tile_name = "mineral-aubergine-sand-1", - tree_name = "tree-desert-f", - weight = 3 - }, - ["tree-desert-h"] = { - tile_name = "mineral-aubergine-sand-1", - tree_name = "tree-desert-h", - weight = 6494 - }, - ["tree-desert-i"] = { - tile_name = "mineral-aubergine-sand-1", - tree_name = "tree-desert-i", - weight = 3 - }, - ["tree-desert-j"] = { - tile_name = "mineral-aubergine-sand-1", - tree_name = "tree-desert-j", - weight = 3 - }, - ["tree-desert-k"] = { - tile_name = "mineral-aubergine-sand-1", - tree_name = "tree-desert-k", - weight = 14654 - }, - ["tree-desert-l"] = { - tile_name = "mineral-aubergine-sand-1", - tree_name = "tree-desert-l", - weight = 410 - }, - ["tree-desert-m"] = { - tile_name = "mineral-aubergine-sand-1", - tree_name = "tree-desert-m", - weight = 2 - }, - ["tree-desert-n"] = { - tile_name = "mineral-aubergine-sand-1", - tree_name = "tree-desert-n", - weight = 4 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-aubergine-sand-1", - tree_name = "tree-dryland-c", - weight = 2 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-aubergine-sand-1", - tree_name = "tree-dryland-h", - weight = 374 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-aubergine-sand-1", - tree_name = "tree-dryland-i", - weight = 895 - }, - ["tree-dryland-l"] = { - tile_name = "mineral-aubergine-sand-1", - tree_name = "tree-dryland-l", - weight = 91 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-aubergine-sand-1", - tree_name = "tree-dryland-m", - weight = 1037 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-aubergine-sand-1", - tree_name = "tree-grassland-h2", - weight = 915 - }, - ["tree-grassland-h3"] = { - tile_name = "mineral-aubergine-sand-1", - tree_name = "tree-grassland-h3", - weight = 649 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-aubergine-sand-1", - tree_name = "tree-grassland-i", - weight = 681 - }, - ["tree-grassland-m"] = { - tile_name = "mineral-aubergine-sand-1", - tree_name = "tree-grassland-m", - weight = 4 - }, - ["tree-wetland-e"] = { - tile_name = "mineral-aubergine-sand-1", - tree_name = "tree-wetland-e", - weight = 4598 - }, - ["tree-wetland-f"] = { - tile_name = "mineral-aubergine-sand-1", - tree_name = "tree-wetland-f", - weight = 2193 - }, - ["tree-wetland-h"] = { - tile_name = "mineral-aubergine-sand-1", - tree_name = "tree-wetland-h", - weight = 9090 - }, - ["tree-wetland-k"] = { - tile_name = "mineral-aubergine-sand-1", - tree_name = "tree-wetland-k", - weight = 938 - }, - ["tree-wetland-l"] = { - tile_name = "mineral-aubergine-sand-1", - tree_name = "tree-wetland-l", - weight = 149 - } -} -terrains["mineral-purple-sand-2"] = { - name = "mineral-purple-sand-2", - ["tree-desert-d"] = { - tile_name = "mineral-purple-sand-2", - tree_name = "tree-desert-d", - weight = 3 - }, - ["tree-desert-e"] = { - tile_name = "mineral-purple-sand-2", - tree_name = "tree-desert-e", - weight = 208 - }, - ["tree-desert-g"] = { - tile_name = "mineral-purple-sand-2", - tree_name = "tree-desert-g", - weight = 2 - }, - ["tree-desert-h"] = { - tile_name = "mineral-purple-sand-2", - tree_name = "tree-desert-h", - weight = 2491 - }, - ["tree-dryland-d"] = { - tile_name = "mineral-purple-sand-2", - tree_name = "tree-dryland-d", - weight = 99 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-purple-sand-2", - tree_name = "tree-dryland-h", - weight = 2 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-purple-sand-2", - tree_name = "tree-dryland-i", - weight = 63 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-purple-sand-2", - tree_name = "tree-grassland-e", - weight = 17 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-purple-sand-2", - tree_name = "tree-grassland-i", - weight = 226 - }, - ["tree-wetland-f"] = { - tile_name = "mineral-purple-sand-2", - tree_name = "tree-wetland-f", - weight = 1221 - }, - ["tree-wetland-h"] = { - tile_name = "mineral-purple-sand-2", - tree_name = "tree-wetland-h", - weight = 179 - } -} -terrains["mineral-purple-dirt-2"] = { - name = "mineral-purple-dirt-2", - ["tree-desert-e"] = { - tile_name = "mineral-purple-dirt-2", - tree_name = "tree-desert-e", - weight = 76 - }, - ["tree-desert-h"] = { - tile_name = "mineral-purple-dirt-2", - tree_name = "tree-desert-h", - weight = 319 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-purple-dirt-2", - tree_name = "tree-dryland-c", - weight = 795 - }, - ["tree-dryland-d"] = { - tile_name = "mineral-purple-dirt-2", - tree_name = "tree-dryland-d", - weight = 2719 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-purple-dirt-2", - tree_name = "tree-dryland-e", - weight = 11 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-purple-dirt-2", - tree_name = "tree-dryland-g", - weight = 15 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-purple-dirt-2", - tree_name = "tree-dryland-h", - weight = 192 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-purple-dirt-2", - tree_name = "tree-dryland-i", - weight = 4047 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-purple-dirt-2", - tree_name = "tree-dryland-m", - weight = 4 - }, - ["tree-dryland-o"] = { - tile_name = "mineral-purple-dirt-2", - tree_name = "tree-dryland-o", - weight = 26 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-purple-dirt-2", - tree_name = "tree-grassland-e", - weight = 11 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-purple-dirt-2", - tree_name = "tree-grassland-h2", - weight = 167 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-purple-dirt-2", - tree_name = "tree-grassland-i", - weight = 111 - }, - ["tree-wetland-f"] = { - tile_name = "mineral-purple-dirt-2", - tree_name = "tree-wetland-f", - weight = 329 - }, - ["tree-wetland-h"] = { - tile_name = "mineral-purple-dirt-2", - tree_name = "tree-wetland-h", - weight = 27 - } -} -terrains["mineral-purple-dirt-4"] = { - name = "mineral-purple-dirt-4", - ["tree-desert-e"] = { - tile_name = "mineral-purple-dirt-4", - tree_name = "tree-desert-e", - weight = 52 - }, - ["tree-desert-h"] = { - tile_name = "mineral-purple-dirt-4", - tree_name = "tree-desert-h", - weight = 139 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-purple-dirt-4", - tree_name = "tree-dryland-c", - weight = 442 - }, - ["tree-dryland-d"] = { - tile_name = "mineral-purple-dirt-4", - tree_name = "tree-dryland-d", - weight = 469 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-purple-dirt-4", - tree_name = "tree-dryland-e", - weight = 9 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-purple-dirt-4", - tree_name = "tree-dryland-h", - weight = 84 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-purple-dirt-4", - tree_name = "tree-dryland-i", - weight = 990 - }, - ["tree-dryland-o"] = { - tile_name = "mineral-purple-dirt-4", - tree_name = "tree-dryland-o", - weight = 2 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-purple-dirt-4", - tree_name = "tree-grassland-e", - weight = 7 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-purple-dirt-4", - tree_name = "tree-grassland-h2", - weight = 142 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-purple-dirt-4", - tree_name = "tree-grassland-i", - weight = 49 - }, - ["tree-wetland-f"] = { - tile_name = "mineral-purple-dirt-4", - tree_name = "tree-wetland-f", - weight = 109 - }, - ["tree-wetland-h"] = { - tile_name = "mineral-purple-dirt-4", - tree_name = "tree-wetland-h", - weight = 4 - } -} -terrains["mineral-purple-dirt-1"] = { - name = "mineral-purple-dirt-1", - ["tree-desert-d"] = { - tile_name = "mineral-purple-dirt-1", - tree_name = "tree-desert-d", - weight = 2 - }, - ["tree-desert-e"] = { - tile_name = "mineral-purple-dirt-1", - tree_name = "tree-desert-e", - weight = 118 - }, - ["tree-desert-g"] = { - tile_name = "mineral-purple-dirt-1", - tree_name = "tree-desert-g", - weight = 2 - }, - ["tree-desert-h"] = { - tile_name = "mineral-purple-dirt-1", - tree_name = "tree-desert-h", - weight = 218 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-purple-dirt-1", - tree_name = "tree-dryland-c", - weight = 2759 - }, - ["tree-dryland-d"] = { - tile_name = "mineral-purple-dirt-1", - tree_name = "tree-dryland-d", - weight = 5100 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-purple-dirt-1", - tree_name = "tree-dryland-e", - weight = 15 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-purple-dirt-1", - tree_name = "tree-dryland-f", - weight = 2 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-purple-dirt-1", - tree_name = "tree-dryland-g", - weight = 7 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-purple-dirt-1", - tree_name = "tree-dryland-h", - weight = 86 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-purple-dirt-1", - tree_name = "tree-dryland-i", - weight = 5129 - }, - ["tree-dryland-o"] = { - tile_name = "mineral-purple-dirt-1", - tree_name = "tree-dryland-o", - weight = 11 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-purple-dirt-1", - tree_name = "tree-grassland-e", - weight = 89 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-purple-dirt-1", - tree_name = "tree-grassland-h2", - weight = 128 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-purple-dirt-1", - tree_name = "tree-grassland-i", - weight = 122 - }, - ["tree-wetland-f"] = { - tile_name = "mineral-purple-dirt-1", - tree_name = "tree-wetland-f", - weight = 440 - }, - ["tree-wetland-h"] = { - tile_name = "mineral-purple-dirt-1", - tree_name = "tree-wetland-h", - weight = 169 - } -} -terrains["mineral-purple-dirt-3"] = { - name = "mineral-purple-dirt-3", - ["tree-desert-e"] = { - tile_name = "mineral-purple-dirt-3", - tree_name = "tree-desert-e", - weight = 170 - }, - ["tree-desert-h"] = { - tile_name = "mineral-purple-dirt-3", - tree_name = "tree-desert-h", - weight = 602 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-purple-dirt-3", - tree_name = "tree-dryland-c", - weight = 643 - }, - ["tree-dryland-d"] = { - tile_name = "mineral-purple-dirt-3", - tree_name = "tree-dryland-d", - weight = 751 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-purple-dirt-3", - tree_name = "tree-dryland-e", - weight = 16 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-purple-dirt-3", - tree_name = "tree-dryland-g", - weight = 16 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-purple-dirt-3", - tree_name = "tree-dryland-h", - weight = 46 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-purple-dirt-3", - tree_name = "tree-dryland-i", - weight = 1971 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-purple-dirt-3", - tree_name = "tree-dryland-m", - weight = 5 - }, - ["tree-dryland-o"] = { - tile_name = "mineral-purple-dirt-3", - tree_name = "tree-dryland-o", - weight = 34 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-purple-dirt-3", - tree_name = "tree-grassland-e", - weight = 21 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-purple-dirt-3", - tree_name = "tree-grassland-h2", - weight = 26 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-purple-dirt-3", - tree_name = "tree-grassland-i", - weight = 141 - }, - ["tree-wetland-f"] = { - tile_name = "mineral-purple-dirt-3", - tree_name = "tree-wetland-f", - weight = 214 - }, - ["tree-wetland-h"] = { - tile_name = "mineral-purple-dirt-3", - tree_name = "tree-wetland-h", - weight = 69 - } -} -terrains["mineral-purple-dirt-6"] = { - name = "mineral-purple-dirt-6", - ["tree-desert-e"] = { - tile_name = "mineral-purple-dirt-6", - tree_name = "tree-desert-e", - weight = 56 - }, - ["tree-desert-h"] = { - tile_name = "mineral-purple-dirt-6", - tree_name = "tree-desert-h", - weight = 68 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-purple-dirt-6", - tree_name = "tree-dryland-c", - weight = 149 - }, - ["tree-dryland-d"] = { - tile_name = "mineral-purple-dirt-6", - tree_name = "tree-dryland-d", - weight = 114 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-purple-dirt-6", - tree_name = "tree-dryland-e", - weight = 2 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-purple-dirt-6", - tree_name = "tree-dryland-f", - weight = 2 - }, - ["tree-dryland-g"] = { - tile_name = "mineral-purple-dirt-6", - tree_name = "tree-dryland-g", - weight = 5 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-purple-dirt-6", - tree_name = "tree-dryland-h", - weight = 250 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-purple-dirt-6", - tree_name = "tree-dryland-i", - weight = 779 - }, - ["tree-dryland-m"] = { - tile_name = "mineral-purple-dirt-6", - tree_name = "tree-dryland-m", - weight = 3 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-purple-dirt-6", - tree_name = "tree-grassland-e", - weight = 12 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-purple-dirt-6", - tree_name = "tree-grassland-h2", - weight = 69 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-purple-dirt-6", - tree_name = "tree-grassland-i", - weight = 303 - }, - ["tree-wetland-f"] = { - tile_name = "mineral-purple-dirt-6", - tree_name = "tree-wetland-f", - weight = 12 - }, - ["tree-wetland-h"] = { - tile_name = "mineral-purple-dirt-6", - tree_name = "tree-wetland-h", - weight = 32 - } -} -terrains["mineral-purple-dirt-5"] = { - name = "mineral-purple-dirt-5", - ["tree-desert-e"] = { - tile_name = "mineral-purple-dirt-5", - tree_name = "tree-desert-e", - weight = 68 - }, - ["tree-desert-h"] = { - tile_name = "mineral-purple-dirt-5", - tree_name = "tree-desert-h", - weight = 97 - }, - ["tree-dryland-c"] = { - tile_name = "mineral-purple-dirt-5", - tree_name = "tree-dryland-c", - weight = 637 - }, - ["tree-dryland-d"] = { - tile_name = "mineral-purple-dirt-5", - tree_name = "tree-dryland-d", - weight = 391 - }, - ["tree-dryland-e"] = { - tile_name = "mineral-purple-dirt-5", - tree_name = "tree-dryland-e", - weight = 4 - }, - ["tree-dryland-f"] = { - tile_name = "mineral-purple-dirt-5", - tree_name = "tree-dryland-f", - weight = 2 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-purple-dirt-5", - tree_name = "tree-dryland-h", - weight = 355 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-purple-dirt-5", - tree_name = "tree-dryland-i", - weight = 400 - }, - ["tree-dryland-o"] = { - tile_name = "mineral-purple-dirt-5", - tree_name = "tree-dryland-o", - weight = 2 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-purple-dirt-5", - tree_name = "tree-grassland-e", - weight = 4 - }, - ["tree-grassland-h2"] = { - tile_name = "mineral-purple-dirt-5", - tree_name = "tree-grassland-h2", - weight = 55 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-purple-dirt-5", - tree_name = "tree-grassland-i", - weight = 64 - }, - ["tree-wetland-f"] = { - tile_name = "mineral-purple-dirt-5", - tree_name = "tree-wetland-f", - weight = 169 - }, - ["tree-wetland-h"] = { - tile_name = "mineral-purple-dirt-5", - tree_name = "tree-wetland-h", - weight = 27 - } -} -terrains["mineral-purple-sand-1"] = { - name = "mineral-purple-sand-1", - ["tree-desert-a"] = { - tile_name = "mineral-purple-sand-1", - tree_name = "tree-desert-a", - weight = 3 - }, - ["tree-desert-e"] = { - tile_name = "mineral-purple-sand-1", - tree_name = "tree-desert-e", - weight = 448 - }, - ["tree-desert-f"] = { - tile_name = "mineral-purple-sand-1", - tree_name = "tree-desert-f", - weight = 2 - }, - ["tree-desert-g"] = { - tile_name = "mineral-purple-sand-1", - tree_name = "tree-desert-g", - weight = 5 - }, - ["tree-desert-h"] = { - tile_name = "mineral-purple-sand-1", - tree_name = "tree-desert-h", - weight = 4777 - }, - ["tree-dryland-d"] = { - tile_name = "mineral-purple-sand-1", - tree_name = "tree-dryland-d", - weight = 173 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-purple-sand-1", - tree_name = "tree-dryland-h", - weight = 2 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-purple-sand-1", - tree_name = "tree-dryland-i", - weight = 141 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-purple-sand-1", - tree_name = "tree-grassland-e", - weight = 19 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-purple-sand-1", - tree_name = "tree-grassland-i", - weight = 356 - }, - ["tree-wetland-f"] = { - tile_name = "mineral-purple-sand-1", - tree_name = "tree-wetland-f", - weight = 2573 - }, - ["tree-wetland-h"] = { - tile_name = "mineral-purple-sand-1", - tree_name = "tree-wetland-h", - weight = 319 - } -} -terrains["mineral-purple-sand-3"] = { - name = "mineral-purple-sand-3", - ["tree-desert-e"] = { - tile_name = "mineral-purple-sand-3", - tree_name = "tree-desert-e", - weight = 122 - }, - ["tree-desert-g"] = { - tile_name = "mineral-purple-sand-3", - tree_name = "tree-desert-g", - weight = 2 - }, - ["tree-desert-h"] = { - tile_name = "mineral-purple-sand-3", - tree_name = "tree-desert-h", - weight = 1152 - }, - ["tree-dryland-d"] = { - tile_name = "mineral-purple-sand-3", - tree_name = "tree-dryland-d", - weight = 89 - }, - ["tree-dryland-h"] = { - tile_name = "mineral-purple-sand-3", - tree_name = "tree-dryland-h", - weight = 8 - }, - ["tree-dryland-i"] = { - tile_name = "mineral-purple-sand-3", - tree_name = "tree-dryland-i", - weight = 35 - }, - ["tree-grassland-e"] = { - tile_name = "mineral-purple-sand-3", - tree_name = "tree-grassland-e", - weight = 65 - }, - ["tree-grassland-i"] = { - tile_name = "mineral-purple-sand-3", - tree_name = "tree-grassland-i", - weight = 98 - }, - ["tree-wetland-f"] = { - tile_name = "mineral-purple-sand-3", - tree_name = "tree-wetland-f", - weight = 574 - }, - ["tree-wetland-h"] = { - tile_name = "mineral-purple-sand-3", - tree_name = "tree-wetland-h", - weight = 112 - } -} - -terrains["sand-3"] = { - ["dry-hairy-tree"] = { - tile_name = "sand-3", - tree_name = "dry-hairy-tree", - weight = 1329 - }, - ["dry-tree"] = { - tile_name = "sand-3", - tree_name = "dry-tree", - weight = 1354 - }, - name = "sand-3", - ["tree-01"] = { - tile_name = "sand-3", - tree_name = "tree-01", - weight = 8 - }, - ["tree-02"] = { - tile_name = "sand-3", - tree_name = "tree-02", - weight = 1852 - }, - ["tree-02-red"] = { - tile_name = "sand-3", - tree_name = "tree-02-red", - weight = 1083 - }, - ["tree-03"] = { - tile_name = "sand-3", - tree_name = "tree-03", - weight = 8 - }, - ["tree-04"] = { - tile_name = "sand-3", - tree_name = "tree-04", - weight = 119 - }, - ["tree-05"] = { - tile_name = "sand-3", - tree_name = "tree-05", - weight = 274 - }, - ["tree-06"] = { - tile_name = "sand-3", - tree_name = "tree-06", - weight = 4055 - }, - ["tree-06-brown"] = { - tile_name = "sand-3", - tree_name = "tree-06-brown", - weight = 4921 - }, - ["tree-07"] = { - tile_name = "sand-3", - tree_name = "tree-07", - weight = 4077 - }, - ["tree-08"] = { - tile_name = "sand-3", - tree_name = "tree-08", - weight = 4660 - }, - ["tree-08-brown"] = { - tile_name = "sand-3", - tree_name = "tree-08-brown", - weight = 3140 - }, - ["tree-09-brown"] = { - tile_name = "sand-3", - tree_name = "tree-09-brown", - weight = 57204 - }, - ["tree-09-red"] = { - tile_name = "sand-3", - tree_name = "tree-09-red", - weight = 71641 - } -} -terrains["sand-2"] = { - ["dry-hairy-tree"] = { - tile_name = "sand-2", - tree_name = "dry-hairy-tree", - weight = 1553 - }, - ["dry-tree"] = { - tile_name = "sand-2", - tree_name = "dry-tree", - weight = 1565 - }, - name = "sand-2", - ["tree-02"] = { - tile_name = "sand-2", - tree_name = "tree-02", - weight = 2319 - }, - ["tree-02-red"] = { - tile_name = "sand-2", - tree_name = "tree-02-red", - weight = 1603 - }, - ["tree-03"] = { - tile_name = "sand-2", - tree_name = "tree-03", - weight = 2 - }, - ["tree-04"] = { - tile_name = "sand-2", - tree_name = "tree-04", - weight = 472 - }, - ["tree-05"] = { - tile_name = "sand-2", - tree_name = "tree-05", - weight = 50 - }, - ["tree-06"] = { - tile_name = "sand-2", - tree_name = "tree-06", - weight = 13597 - }, - ["tree-06-brown"] = { - tile_name = "sand-2", - tree_name = "tree-06-brown", - weight = 18656 - }, - ["tree-07"] = { - tile_name = "sand-2", - tree_name = "tree-07", - weight = 4690 - }, - ["tree-08"] = { - tile_name = "sand-2", - tree_name = "tree-08", - weight = 6424 - }, - ["tree-08-brown"] = { - tile_name = "sand-2", - tree_name = "tree-08-brown", - weight = 4469 - }, - ["tree-09"] = { - tile_name = "sand-2", - tree_name = "tree-09", - weight = 5 - }, - ["tree-09-brown"] = { - tile_name = "sand-2", - tree_name = "tree-09-brown", - weight = 69112 - }, - ["tree-09-red"] = { - tile_name = "sand-2", - tree_name = "tree-09-red", - weight = 74298 - } -} -terrains["dirt-3"] = { - ["dry-hairy-tree"] = { - tile_name = "dirt-3", - tree_name = "dry-hairy-tree", - weight = 555 - }, - ["dry-tree"] = { - tile_name = "dirt-3", - tree_name = "dry-tree", - weight = 531 - }, - name = "dirt-3", - ["tree-01"] = { - tile_name = "dirt-3", - tree_name = "tree-01", - weight = 122 - }, - ["tree-02"] = { - tile_name = "dirt-3", - tree_name = "tree-02", - weight = 5576 - }, - ["tree-02-red"] = { - tile_name = "dirt-3", - tree_name = "tree-02-red", - weight = 275002 - }, - ["tree-03"] = { - tile_name = "dirt-3", - tree_name = "tree-03", - weight = 17 - }, - ["tree-04"] = { - tile_name = "dirt-3", - tree_name = "tree-04", - weight = 102600 - }, - ["tree-05"] = { - tile_name = "dirt-3", - tree_name = "tree-05", - weight = 1012 - }, - ["tree-06"] = { - tile_name = "dirt-3", - tree_name = "tree-06", - weight = 221 - }, - ["tree-06-brown"] = { - tile_name = "dirt-3", - tree_name = "tree-06-brown", - weight = 473 - }, - ["tree-07"] = { - tile_name = "dirt-3", - tree_name = "tree-07", - weight = 177 - }, - ["tree-08"] = { - tile_name = "dirt-3", - tree_name = "tree-08", - weight = 577 - }, - ["tree-08-brown"] = { - tile_name = "dirt-3", - tree_name = "tree-08-brown", - weight = 413 - }, - ["tree-09"] = { - tile_name = "dirt-3", - tree_name = "tree-09", - weight = 1823 - }, - ["tree-09-brown"] = { - tile_name = "dirt-3", - tree_name = "tree-09-brown", - weight = 4608 - }, - ["tree-09-red"] = { - tile_name = "dirt-3", - tree_name = "tree-09-red", - weight = 3159 - } -} -terrains["dirt-5"] = { - ["dry-hairy-tree"] = { - tile_name = "dirt-5", - tree_name = "dry-hairy-tree", - weight = 235 - }, - ["dry-tree"] = { - tile_name = "dirt-5", - tree_name = "dry-tree", - weight = 211 - }, - name = "dirt-5", - ["tree-01"] = { - tile_name = "dirt-5", - tree_name = "tree-01", - weight = 492 - }, - ["tree-02"] = { - tile_name = "dirt-5", - tree_name = "tree-02", - weight = 15720 - }, - ["tree-02-red"] = { - tile_name = "dirt-5", - tree_name = "tree-02-red", - weight = 386423 - }, - ["tree-03"] = { - tile_name = "dirt-5", - tree_name = "tree-03", - weight = 73 - }, - ["tree-04"] = { - tile_name = "dirt-5", - tree_name = "tree-04", - weight = 123733 - }, - ["tree-05"] = { - tile_name = "dirt-5", - tree_name = "tree-05", - weight = 2555 - }, - ["tree-06"] = { - tile_name = "dirt-5", - tree_name = "tree-06", - weight = 205 - }, - ["tree-06-brown"] = { - tile_name = "dirt-5", - tree_name = "tree-06-brown", - weight = 425 - }, - ["tree-07"] = { - tile_name = "dirt-5", - tree_name = "tree-07", - weight = 50 - }, - ["tree-08"] = { - tile_name = "dirt-5", - tree_name = "tree-08", - weight = 724 - }, - ["tree-08-brown"] = { - tile_name = "dirt-5", - tree_name = "tree-08-brown", - weight = 416 - }, - ["tree-09"] = { - tile_name = "dirt-5", - tree_name = "tree-09", - weight = 3804 - }, - ["tree-09-brown"] = { - tile_name = "dirt-5", - tree_name = "tree-09-brown", - weight = 1255 - }, - ["tree-09-red"] = { - tile_name = "dirt-5", - tree_name = "tree-09-red", - weight = 1342 - } -} -terrains["dirt-7"] = { - ["dry-hairy-tree"] = { - tile_name = "dirt-7", - tree_name = "dry-hairy-tree", - weight = 167 - }, - ["dry-tree"] = { - tile_name = "dirt-7", - tree_name = "dry-tree", - weight = 153 - }, - name = "dirt-7", - ["tree-01"] = { - tile_name = "dirt-7", - tree_name = "tree-01", - weight = 2205 - }, - ["tree-02"] = { - tile_name = "dirt-7", - tree_name = "tree-02", - weight = 231742 - }, - ["tree-02-red"] = { - tile_name = "dirt-7", - tree_name = "tree-02-red", - weight = 103832 - }, - ["tree-03"] = { - tile_name = "dirt-7", - tree_name = "tree-03", - weight = 51 - }, - ["tree-04"] = { - tile_name = "dirt-7", - tree_name = "tree-04", - weight = 146321 - }, - ["tree-05"] = { - tile_name = "dirt-7", - tree_name = "tree-05", - weight = 13568 - }, - ["tree-06"] = { - tile_name = "dirt-7", - tree_name = "tree-06", - weight = 348 - }, - ["tree-06-brown"] = { - tile_name = "dirt-7", - tree_name = "tree-06-brown", - weight = 387 - }, - ["tree-07"] = { - tile_name = "dirt-7", - tree_name = "tree-07", - weight = 9 - }, - ["tree-08"] = { - tile_name = "dirt-7", - tree_name = "tree-08", - weight = 636 - }, - ["tree-08-brown"] = { - tile_name = "dirt-7", - tree_name = "tree-08-brown", - weight = 501 - }, - ["tree-09"] = { - tile_name = "dirt-7", - tree_name = "tree-09", - weight = 1130 - }, - ["tree-09-brown"] = { - tile_name = "dirt-7", - tree_name = "tree-09-brown", - weight = 433 - }, - ["tree-09-red"] = { - tile_name = "dirt-7", - tree_name = "tree-09-red", - weight = 494 - } -} -terrains["dirt-6"] = { - ["dry-hairy-tree"] = { - tile_name = "dirt-6", - tree_name = "dry-hairy-tree", - weight = 196 - }, - ["dry-tree"] = { - tile_name = "dirt-6", - tree_name = "dry-tree", - weight = 221 - }, - name = "dirt-6", - ["tree-01"] = { - tile_name = "dirt-6", - tree_name = "tree-01", - weight = 1841 - }, - ["tree-02"] = { - tile_name = "dirt-6", - tree_name = "tree-02", - weight = 87839 - }, - ["tree-02-red"] = { - tile_name = "dirt-6", - tree_name = "tree-02-red", - weight = 332276 - }, - ["tree-03"] = { - tile_name = "dirt-6", - tree_name = "tree-03", - weight = 17 - }, - ["tree-04"] = { - tile_name = "dirt-6", - tree_name = "tree-04", - weight = 148120 - }, - ["tree-05"] = { - tile_name = "dirt-6", - tree_name = "tree-05", - weight = 2812 - }, - ["tree-06"] = { - tile_name = "dirt-6", - tree_name = "tree-06", - weight = 196 - }, - ["tree-06-brown"] = { - tile_name = "dirt-6", - tree_name = "tree-06-brown", - weight = 344 - }, - ["tree-07"] = { - tile_name = "dirt-6", - tree_name = "tree-07", - weight = 39 - }, - ["tree-08"] = { - tile_name = "dirt-6", - tree_name = "tree-08", - weight = 536 - }, - ["tree-08-brown"] = { - tile_name = "dirt-6", - tree_name = "tree-08-brown", - weight = 372 - }, - ["tree-09"] = { - tile_name = "dirt-6", - tree_name = "tree-09", - weight = 2526 - }, - ["tree-09-brown"] = { - tile_name = "dirt-6", - tree_name = "tree-09-brown", - weight = 424 - }, - ["tree-09-red"] = { - tile_name = "dirt-6", - tree_name = "tree-09-red", - weight = 831 - } -} -terrains["grass-3"] = { - ["dry-hairy-tree"] = { - tile_name = "grass-3", - tree_name = "dry-hairy-tree", - weight = 350 - }, - ["dry-tree"] = { - tile_name = "grass-3", - tree_name = "dry-tree", - weight = 371 - }, - name = "grass-3", - ["tree-01"] = { - tile_name = "grass-3", - tree_name = "tree-01", - weight = 8639 - }, - ["tree-02"] = { - tile_name = "grass-3", - tree_name = "tree-02", - weight = 475710 - }, - ["tree-02-red"] = { - tile_name = "grass-3", - tree_name = "tree-02-red", - weight = 4063 - }, - ["tree-03"] = { - tile_name = "grass-3", - tree_name = "tree-03", - weight = 5821 - }, - ["tree-04"] = { - tile_name = "grass-3", - tree_name = "tree-04", - weight = 142407 - }, - ["tree-05"] = { - tile_name = "grass-3", - tree_name = "tree-05", - weight = 202162 - }, - ["tree-06"] = { - tile_name = "grass-3", - tree_name = "tree-06", - weight = 353 - }, - ["tree-06-brown"] = { - tile_name = "grass-3", - tree_name = "tree-06-brown", - weight = 596 - }, - ["tree-07"] = { - tile_name = "grass-3", - tree_name = "tree-07", - weight = 41 - }, - ["tree-08"] = { - tile_name = "grass-3", - tree_name = "tree-08", - weight = 557 - }, - ["tree-08-brown"] = { - tile_name = "grass-3", - tree_name = "tree-08-brown", - weight = 698 - }, - ["tree-09"] = { - tile_name = "grass-3", - tree_name = "tree-09", - weight = 12 - }, - ["tree-09-brown"] = { - tile_name = "grass-3", - tree_name = "tree-09-brown", - weight = 966 - }, - ["tree-09-red"] = { - tile_name = "grass-3", - tree_name = "tree-09-red", - weight = 888 - } -} -terrains["grass-1"] = { - ["dry-hairy-tree"] = { - tile_name = "grass-1", - tree_name = "dry-hairy-tree", - weight = 355 - }, - ["dry-tree"] = { - tile_name = "grass-1", - tree_name = "dry-tree", - weight = 317 - }, - name = "grass-1", - ["tree-01"] = { - tile_name = "grass-1", - tree_name = "tree-01", - weight = 13625 - }, - ["tree-02"] = { - tile_name = "grass-1", - tree_name = "tree-02", - weight = 467689 - }, - ["tree-02-red"] = { - tile_name = "grass-1", - tree_name = "tree-02-red", - weight = 2038 - }, - ["tree-03"] = { - tile_name = "grass-1", - tree_name = "tree-03", - weight = 11802 - }, - ["tree-04"] = { - tile_name = "grass-1", - tree_name = "tree-04", - weight = 186950 - }, - ["tree-05"] = { - tile_name = "grass-1", - tree_name = "tree-05", - weight = 360046 - }, - ["tree-06"] = { - tile_name = "grass-1", - tree_name = "tree-06", - weight = 96 - }, - ["tree-06-brown"] = { - tile_name = "grass-1", - tree_name = "tree-06-brown", - weight = 220 - }, - ["tree-07"] = { - tile_name = "grass-1", - tree_name = "tree-07", - weight = 41 - }, - ["tree-08"] = { - tile_name = "grass-1", - tree_name = "tree-08", - weight = 629 - }, - ["tree-08-brown"] = { - tile_name = "grass-1", - tree_name = "tree-08-brown", - weight = 301 - }, - ["tree-09"] = { - tile_name = "grass-1", - tree_name = "tree-09", - weight = 20 - }, - ["tree-09-brown"] = { - tile_name = "grass-1", - tree_name = "tree-09-brown", - weight = 769 - }, - ["tree-09-red"] = { - tile_name = "grass-1", - tree_name = "tree-09-red", - weight = 684 - } -} -terrains["dirt-1"] = { - ["dry-hairy-tree"] = { - tile_name = "dirt-1", - tree_name = "dry-hairy-tree", - weight = 1664 - }, - ["dry-tree"] = { - tile_name = "dirt-1", - tree_name = "dry-tree", - weight = 1690 - }, - name = "dirt-1", - ["tree-02"] = { - tile_name = "dirt-1", - tree_name = "tree-02", - weight = 2257 - }, - ["tree-02-red"] = { - tile_name = "dirt-1", - tree_name = "tree-02-red", - weight = 3610 - }, - ["tree-03"] = { - tile_name = "dirt-1", - tree_name = "tree-03", - weight = 5 - }, - ["tree-04"] = { - tile_name = "dirt-1", - tree_name = "tree-04", - weight = 3764 - }, - ["tree-05"] = { - tile_name = "dirt-1", - tree_name = "tree-05", - weight = 402 - }, - ["tree-06"] = { - tile_name = "dirt-1", - tree_name = "tree-06", - weight = 19 - }, - ["tree-06-brown"] = { - tile_name = "dirt-1", - tree_name = "tree-06-brown", - weight = 118 - }, - ["tree-07"] = { - tile_name = "dirt-1", - tree_name = "tree-07", - weight = 2607 - }, - ["tree-08"] = { - tile_name = "dirt-1", - tree_name = "tree-08", - weight = 184 - }, - ["tree-08-brown"] = { - tile_name = "dirt-1", - tree_name = "tree-08-brown", - weight = 28 - }, - ["tree-09"] = { - tile_name = "dirt-1", - tree_name = "tree-09", - weight = 22 - }, - ["tree-09-brown"] = { - tile_name = "dirt-1", - tree_name = "tree-09-brown", - weight = 41448 - }, - ["tree-09-red"] = { - tile_name = "dirt-1", - tree_name = "tree-09-red", - weight = 50885 - } -} -terrains["grass-4"] = { - ["dry-hairy-tree"] = { - tile_name = "grass-4", - tree_name = "dry-hairy-tree", - weight = 212 - }, - ["dry-tree"] = { - tile_name = "grass-4", - tree_name = "dry-tree", - weight = 201 - }, - name = "grass-4", - ["tree-01"] = { - tile_name = "grass-4", - tree_name = "tree-01", - weight = 3578 - }, - ["tree-02"] = { - tile_name = "grass-4", - tree_name = "tree-02", - weight = 435531 - }, - ["tree-02-red"] = { - tile_name = "grass-4", - tree_name = "tree-02-red", - weight = 29881 - }, - ["tree-03"] = { - tile_name = "grass-4", - tree_name = "tree-03", - weight = 1806 - }, - ["tree-04"] = { - tile_name = "grass-4", - tree_name = "tree-04", - weight = 153326 - }, - ["tree-05"] = { - tile_name = "grass-4", - tree_name = "tree-05", - weight = 73803 - }, - ["tree-06"] = { - tile_name = "grass-4", - tree_name = "tree-06", - weight = 309 - }, - ["tree-06-brown"] = { - tile_name = "grass-4", - tree_name = "tree-06-brown", - weight = 225 - }, - ["tree-07"] = { - tile_name = "grass-4", - tree_name = "tree-07", - weight = 53 - }, - ["tree-08"] = { - tile_name = "grass-4", - tree_name = "tree-08", - weight = 388 - }, - ["tree-08-brown"] = { - tile_name = "grass-4", - tree_name = "tree-08-brown", - weight = 352 - }, - ["tree-09"] = { - tile_name = "grass-4", - tree_name = "tree-09", - weight = 334 - }, - ["tree-09-brown"] = { - tile_name = "grass-4", - tree_name = "tree-09-brown", - weight = 882 - }, - ["tree-09-red"] = { - tile_name = "grass-4", - tree_name = "tree-09-red", - weight = 876 - } -} -terrains["dry-dirt"] = { - ["dry-hairy-tree"] = { - tile_name = "dry-dirt", - tree_name = "dry-hairy-tree", - weight = 1094 - }, - ["dry-tree"] = { - tile_name = "dry-dirt", - tree_name = "dry-tree", - weight = 1151 - }, - name = "dry-dirt", - ["tree-02"] = { - tile_name = "dry-dirt", - tree_name = "tree-02", - weight = 1875 - }, - ["tree-02-red"] = { - tile_name = "dry-dirt", - tree_name = "tree-02-red", - weight = 2909 - }, - ["tree-04"] = { - tile_name = "dry-dirt", - tree_name = "tree-04", - weight = 1197 - }, - ["tree-05"] = { - tile_name = "dry-dirt", - tree_name = "tree-05", - weight = 125 - }, - ["tree-06"] = { - tile_name = "dry-dirt", - tree_name = "tree-06", - weight = 4024 - }, - ["tree-06-brown"] = { - tile_name = "dry-dirt", - tree_name = "tree-06-brown", - weight = 4689 - }, - ["tree-07"] = { - tile_name = "dry-dirt", - tree_name = "tree-07", - weight = 437 - }, - ["tree-08"] = { - tile_name = "dry-dirt", - tree_name = "tree-08", - weight = 3050 - }, - ["tree-08-brown"] = { - tile_name = "dry-dirt", - tree_name = "tree-08-brown", - weight = 1542 - }, - ["tree-09"] = { - tile_name = "dry-dirt", - tree_name = "tree-09", - weight = 20 - }, - ["tree-09-brown"] = { - tile_name = "dry-dirt", - tree_name = "tree-09-brown", - weight = 8528 - }, - ["tree-09-red"] = { - tile_name = "dry-dirt", - tree_name = "tree-09-red", - weight = 9941 - } -} -terrains["sand-1"] = { - ["dry-hairy-tree"] = { - tile_name = "sand-1", - tree_name = "dry-hairy-tree", - weight = 10274 - }, - ["dry-tree"] = { - tile_name = "sand-1", - tree_name = "dry-tree", - weight = 10310 - }, - name = "sand-1", - ["tree-01"] = { - tile_name = "sand-1", - tree_name = "tree-01", - weight = 20 - }, - ["tree-02"] = { - tile_name = "sand-1", - tree_name = "tree-02", - weight = 12319 - }, - ["tree-02-red"] = { - tile_name = "sand-1", - tree_name = "tree-02-red", - weight = 9096 - }, - ["tree-03"] = { - tile_name = "sand-1", - tree_name = "tree-03", - weight = 26 - }, - ["tree-04"] = { - tile_name = "sand-1", - tree_name = "tree-04", - weight = 2018 - }, - ["tree-05"] = { - tile_name = "sand-1", - tree_name = "tree-05", - weight = 1123 - }, - ["tree-06"] = { - tile_name = "sand-1", - tree_name = "tree-06", - weight = 33971 - }, - ["tree-06-brown"] = { - tile_name = "sand-1", - tree_name = "tree-06-brown", - weight = 46980 - }, - ["tree-07"] = { - tile_name = "sand-1", - tree_name = "tree-07", - weight = 3933 - }, - ["tree-08"] = { - tile_name = "sand-1", - tree_name = "tree-08", - weight = 37953 - }, - ["tree-08-brown"] = { - tile_name = "sand-1", - tree_name = "tree-08-brown", - weight = 29880 - }, - ["tree-09"] = { - tile_name = "sand-1", - tree_name = "tree-09", - weight = 8 - }, - ["tree-09-brown"] = { - tile_name = "sand-1", - tree_name = "tree-09-brown", - weight = 69214 - }, - ["tree-09-red"] = { - tile_name = "sand-1", - tree_name = "tree-09-red", - weight = 75344 - } -} -terrains["dirt-2"] = { - ["dry-hairy-tree"] = { - tile_name = "dirt-2", - tree_name = "dry-hairy-tree", - weight = 1065 - }, - ["dry-tree"] = { - tile_name = "dirt-2", - tree_name = "dry-tree", - weight = 1059 - }, - name = "dirt-2", - ["tree-01"] = { - tile_name = "dirt-2", - tree_name = "tree-01", - weight = 32 - }, - ["tree-02"] = { - tile_name = "dirt-2", - tree_name = "tree-02", - weight = 6353 - }, - ["tree-02-red"] = { - tile_name = "dirt-2", - tree_name = "tree-02-red", - weight = 72448 - }, - ["tree-03"] = { - tile_name = "dirt-2", - tree_name = "tree-03", - weight = 38 - }, - ["tree-04"] = { - tile_name = "dirt-2", - tree_name = "tree-04", - weight = 32158 - }, - ["tree-05"] = { - tile_name = "dirt-2", - tree_name = "tree-05", - weight = 1067 - }, - ["tree-06"] = { - tile_name = "dirt-2", - tree_name = "tree-06", - weight = 155 - }, - ["tree-06-brown"] = { - tile_name = "dirt-2", - tree_name = "tree-06-brown", - weight = 104 - }, - ["tree-07"] = { - tile_name = "dirt-2", - tree_name = "tree-07", - weight = 788 - }, - ["tree-08"] = { - tile_name = "dirt-2", - tree_name = "tree-08", - weight = 300 - }, - ["tree-08-brown"] = { - tile_name = "dirt-2", - tree_name = "tree-08-brown", - weight = 189 - }, - ["tree-09"] = { - tile_name = "dirt-2", - tree_name = "tree-09", - weight = 699 - }, - ["tree-09-brown"] = { - tile_name = "dirt-2", - tree_name = "tree-09-brown", - weight = 14492 - }, - ["tree-09-red"] = { - tile_name = "dirt-2", - tree_name = "tree-09-red", - weight = 14093 - } -} -terrains["red-desert-3"] = { - ["dry-hairy-tree"] = { - tile_name = "red-desert-3", - tree_name = "dry-hairy-tree", - weight = 325 - }, - ["dry-tree"] = { - tile_name = "red-desert-3", - tree_name = "dry-tree", - weight = 289 - }, - name = "red-desert-3", - ["tree-01"] = { - tile_name = "red-desert-3", - tree_name = "tree-01", - weight = 2 - }, - ["tree-02"] = { - tile_name = "red-desert-3", - tree_name = "tree-02", - weight = 269 - }, - ["tree-02-red"] = { - tile_name = "red-desert-3", - tree_name = "tree-02-red", - weight = 181 - }, - ["tree-04"] = { - tile_name = "red-desert-3", - tree_name = "tree-04", - weight = 120 - }, - ["tree-05"] = { - tile_name = "red-desert-3", - tree_name = "tree-05", - weight = 193 - }, - ["tree-06"] = { - tile_name = "red-desert-3", - tree_name = "tree-06", - weight = 642 - }, - ["tree-06-brown"] = { - tile_name = "red-desert-3", - tree_name = "tree-06-brown", - weight = 1067 - }, - ["tree-07"] = { - tile_name = "red-desert-3", - tree_name = "tree-07", - weight = 25 - }, - ["tree-08"] = { - tile_name = "red-desert-3", - tree_name = "tree-08", - weight = 1145 - }, - ["tree-08-brown"] = { - tile_name = "red-desert-3", - tree_name = "tree-08-brown", - weight = 475 - }, - ["tree-09"] = { - tile_name = "red-desert-3", - tree_name = "tree-09", - weight = 2 - }, - ["tree-09-brown"] = { - tile_name = "red-desert-3", - tree_name = "tree-09-brown", - weight = 566 - }, - ["tree-09-red"] = { - tile_name = "red-desert-3", - tree_name = "tree-09-red", - weight = 505 - } -} -terrains["grass-2"] = { - ["dry-hairy-tree"] = { - tile_name = "grass-2", - tree_name = "dry-hairy-tree", - weight = 56 - }, - ["dry-tree"] = { - tile_name = "grass-2", - tree_name = "dry-tree", - weight = 62 - }, - name = "grass-2", - ["tree-01"] = { - tile_name = "grass-2", - tree_name = "tree-01", - weight = 2398 - }, - ["tree-02"] = { - tile_name = "grass-2", - tree_name = "tree-02", - weight = 146175 - }, - ["tree-02-red"] = { - tile_name = "grass-2", - tree_name = "tree-02-red", - weight = 9612 - }, - ["tree-03"] = { - tile_name = "grass-2", - tree_name = "tree-03", - weight = 1743 - }, - ["tree-04"] = { - tile_name = "grass-2", - tree_name = "tree-04", - weight = 57088 - }, - ["tree-05"] = { - tile_name = "grass-2", - tree_name = "tree-05", - weight = 53030 - }, - ["tree-06"] = { - tile_name = "grass-2", - tree_name = "tree-06", - weight = 45 - }, - ["tree-06-brown"] = { - tile_name = "grass-2", - tree_name = "tree-06-brown", - weight = 100 - }, - ["tree-08"] = { - tile_name = "grass-2", - tree_name = "tree-08", - weight = 47 - }, - ["tree-08-brown"] = { - tile_name = "grass-2", - tree_name = "tree-08-brown", - weight = 38 - }, - ["tree-09"] = { - tile_name = "grass-2", - tree_name = "tree-09", - weight = 80 - }, - ["tree-09-brown"] = { - tile_name = "grass-2", - tree_name = "tree-09-brown", - weight = 60 - }, - ["tree-09-red"] = { - tile_name = "grass-2", - tree_name = "tree-09-red", - weight = 200 - } -} -terrains["red-desert-0"] = { - ["dry-hairy-tree"] = { - tile_name = "red-desert-0", - tree_name = "dry-hairy-tree", - weight = 27 - }, - ["dry-tree"] = { - tile_name = "red-desert-0", - tree_name = "dry-tree", - weight = 32 - }, - name = "red-desert-0", - ["tree-01"] = { - tile_name = "red-desert-0", - tree_name = "tree-01", - weight = 640 - }, - ["tree-02"] = { - tile_name = "red-desert-0", - tree_name = "tree-02", - weight = 62183 - }, - ["tree-02-red"] = { - tile_name = "red-desert-0", - tree_name = "tree-02-red", - weight = 80789 - }, - ["tree-03"] = { - tile_name = "red-desert-0", - tree_name = "tree-03", - weight = 5 - }, - ["tree-04"] = { - tile_name = "red-desert-0", - tree_name = "tree-04", - weight = 42156 - }, - ["tree-05"] = { - tile_name = "red-desert-0", - tree_name = "tree-05", - weight = 5046 - }, - ["tree-06"] = { - tile_name = "red-desert-0", - tree_name = "tree-06", - weight = 64 - }, - ["tree-06-brown"] = { - tile_name = "red-desert-0", - tree_name = "tree-06-brown", - weight = 75 - }, - ["tree-08"] = { - tile_name = "red-desert-0", - tree_name = "tree-08", - weight = 142 - }, - ["tree-08-brown"] = { - tile_name = "red-desert-0", - tree_name = "tree-08-brown", - weight = 13 - }, - ["tree-09"] = { - tile_name = "red-desert-0", - tree_name = "tree-09", - weight = 917 - }, - ["tree-09-brown"] = { - tile_name = "red-desert-0", - tree_name = "tree-09-brown", - weight = 42 - }, - ["tree-09-red"] = { - tile_name = "red-desert-0", - tree_name = "tree-09-red", - weight = 103 - } -} -terrains["red-desert-2"] = { - ["dry-hairy-tree"] = { - tile_name = "red-desert-2", - tree_name = "dry-hairy-tree", - weight = 252 - }, - ["dry-tree"] = { - tile_name = "red-desert-2", - tree_name = "dry-tree", - weight = 291 - }, - name = "red-desert-2", - ["tree-02"] = { - tile_name = "red-desert-2", - tree_name = "tree-02", - weight = 103 - }, - ["tree-02-red"] = { - tile_name = "red-desert-2", - tree_name = "tree-02-red", - weight = 111 - }, - ["tree-04"] = { - tile_name = "red-desert-2", - tree_name = "tree-04", - weight = 42 - }, - ["tree-05"] = { - tile_name = "red-desert-2", - tree_name = "tree-05", - weight = 2 - }, - ["tree-06"] = { - tile_name = "red-desert-2", - tree_name = "tree-06", - weight = 1229 - }, - ["tree-06-brown"] = { - tile_name = "red-desert-2", - tree_name = "tree-06-brown", - weight = 1398 - }, - ["tree-07"] = { - tile_name = "red-desert-2", - tree_name = "tree-07", - weight = 270 - }, - ["tree-08"] = { - tile_name = "red-desert-2", - tree_name = "tree-08", - weight = 607 - }, - ["tree-08-brown"] = { - tile_name = "red-desert-2", - tree_name = "tree-08-brown", - weight = 625 - }, - ["tree-09-brown"] = { - tile_name = "red-desert-2", - tree_name = "tree-09-brown", - weight = 4130 - }, - ["tree-09-red"] = { - tile_name = "red-desert-2", - tree_name = "tree-09-red", - weight = 5207 - } -} -terrains["dirt-4"] = { - ["dry-hairy-tree"] = { - tile_name = "dirt-4", - tree_name = "dry-hairy-tree", - weight = 570 - }, - ["dry-tree"] = { - tile_name = "dirt-4", - tree_name = "dry-tree", - weight = 671 - }, - name = "dirt-4", - ["tree-01"] = { - tile_name = "dirt-4", - tree_name = "tree-01", - weight = 2 - }, - ["tree-02"] = { - tile_name = "dirt-4", - tree_name = "tree-02", - weight = 1239 - }, - ["tree-02-red"] = { - tile_name = "dirt-4", - tree_name = "tree-02-red", - weight = 60007 - }, - ["tree-04"] = { - tile_name = "dirt-4", - tree_name = "tree-04", - weight = 16241 - }, - ["tree-06"] = { - tile_name = "dirt-4", - tree_name = "tree-06", - weight = 1030 - }, - ["tree-06-brown"] = { - tile_name = "dirt-4", - tree_name = "tree-06-brown", - weight = 1362 - }, - ["tree-07"] = { - tile_name = "dirt-4", - tree_name = "tree-07", - weight = 682 - }, - ["tree-08"] = { - tile_name = "dirt-4", - tree_name = "tree-08", - weight = 869 - }, - ["tree-08-brown"] = { - tile_name = "dirt-4", - tree_name = "tree-08-brown", - weight = 659 - }, - ["tree-09"] = { - tile_name = "dirt-4", - tree_name = "tree-09", - weight = 729 - }, - ["tree-09-brown"] = { - tile_name = "dirt-4", - tree_name = "tree-09-brown", - weight = 12700 - }, - ["tree-09-red"] = { - tile_name = "dirt-4", - tree_name = "tree-09-red", - weight = 11191 - } -} -terrains["red-desert-1"] = { - ["dry-hairy-tree"] = { - tile_name = "red-desert-1", - tree_name = "dry-hairy-tree", - weight = 304 - }, - ["dry-tree"] = { - tile_name = "red-desert-1", - tree_name = "dry-tree", - weight = 263 - }, - name = "red-desert-1", - ["tree-02"] = { - tile_name = "red-desert-1", - tree_name = "tree-02", - weight = 251 - }, - ["tree-02-red"] = { - tile_name = "red-desert-1", - tree_name = "tree-02-red", - weight = 341 - }, - ["tree-04"] = { - tile_name = "red-desert-1", - tree_name = "tree-04", - weight = 103 - }, - ["tree-05"] = { - tile_name = "red-desert-1", - tree_name = "tree-05", - weight = 60 - }, - ["tree-06"] = { - tile_name = "red-desert-1", - tree_name = "tree-06", - weight = 819 - }, - ["tree-06-brown"] = { - tile_name = "red-desert-1", - tree_name = "tree-06-brown", - weight = 1298 - }, - ["tree-07"] = { - tile_name = "red-desert-1", - tree_name = "tree-07", - weight = 327 - }, - ["tree-08"] = { - tile_name = "red-desert-1", - tree_name = "tree-08", - weight = 587 - }, - ["tree-08-brown"] = { - tile_name = "red-desert-1", - tree_name = "tree-08-brown", - weight = 415 - }, - ["tree-09-brown"] = { - tile_name = "red-desert-1", - tree_name = "tree-09-brown", - weight = 7565 - }, - ["tree-09-red"] = { - tile_name = "red-desert-1", - tree_name = "tree-09-red", - weight = 8269 - } -} -terrains["sand-3"] = { - ["dry-hairy-tree"] = { - tile_name = "sand-3", - tree_name = "dry-hairy-tree", - weight = 1329 - }, - ["dry-tree"] = { - tile_name = "sand-3", - tree_name = "dry-tree", - weight = 1354 - }, - name = "sand-3", - ["tree-01"] = { - tile_name = "sand-3", - tree_name = "tree-01", - weight = 8 - }, - ["tree-02"] = { - tile_name = "sand-3", - tree_name = "tree-02", - weight = 1852 - }, - ["tree-02-red"] = { - tile_name = "sand-3", - tree_name = "tree-02-red", - weight = 1083 - }, - ["tree-03"] = { - tile_name = "sand-3", - tree_name = "tree-03", - weight = 8 - }, - ["tree-04"] = { - tile_name = "sand-3", - tree_name = "tree-04", - weight = 119 - }, - ["tree-05"] = { - tile_name = "sand-3", - tree_name = "tree-05", - weight = 274 - }, - ["tree-06"] = { - tile_name = "sand-3", - tree_name = "tree-06", - weight = 4055 - }, - ["tree-06-brown"] = { - tile_name = "sand-3", - tree_name = "tree-06-brown", - weight = 4921 - }, - ["tree-07"] = { - tile_name = "sand-3", - tree_name = "tree-07", - weight = 4077 - }, - ["tree-08"] = { - tile_name = "sand-3", - tree_name = "tree-08", - weight = 4660 - }, - ["tree-08-brown"] = { - tile_name = "sand-3", - tree_name = "tree-08-brown", - weight = 3140 - }, - ["tree-09-brown"] = { - tile_name = "sand-3", - tree_name = "tree-09-brown", - weight = 57204 - }, - ["tree-09-red"] = { - tile_name = "sand-3", - tree_name = "tree-09-red", - weight = 71641 - } -} -terrains["sand-2"] = { - ["dry-hairy-tree"] = { - tile_name = "sand-2", - tree_name = "dry-hairy-tree", - weight = 1553 - }, - ["dry-tree"] = { - tile_name = "sand-2", - tree_name = "dry-tree", - weight = 1565 - }, - name = "sand-2", - ["tree-02"] = { - tile_name = "sand-2", - tree_name = "tree-02", - weight = 2319 - }, - ["tree-02-red"] = { - tile_name = "sand-2", - tree_name = "tree-02-red", - weight = 1603 - }, - ["tree-03"] = { - tile_name = "sand-2", - tree_name = "tree-03", - weight = 2 - }, - ["tree-04"] = { - tile_name = "sand-2", - tree_name = "tree-04", - weight = 472 - }, - ["tree-05"] = { - tile_name = "sand-2", - tree_name = "tree-05", - weight = 50 - }, - ["tree-06"] = { - tile_name = "sand-2", - tree_name = "tree-06", - weight = 13597 - }, - ["tree-06-brown"] = { - tile_name = "sand-2", - tree_name = "tree-06-brown", - weight = 18656 - }, - ["tree-07"] = { - tile_name = "sand-2", - tree_name = "tree-07", - weight = 4690 - }, - ["tree-08"] = { - tile_name = "sand-2", - tree_name = "tree-08", - weight = 6424 - }, - ["tree-08-brown"] = { - tile_name = "sand-2", - tree_name = "tree-08-brown", - weight = 4469 - }, - ["tree-09"] = { - tile_name = "sand-2", - tree_name = "tree-09", - weight = 5 - }, - ["tree-09-brown"] = { - tile_name = "sand-2", - tree_name = "tree-09-brown", - weight = 69112 - }, - ["tree-09-red"] = { - tile_name = "sand-2", - tree_name = "tree-09-red", - weight = 74298 - } -} -terrains["dirt-3"] = { - ["dry-hairy-tree"] = { - tile_name = "dirt-3", - tree_name = "dry-hairy-tree", - weight = 555 - }, - ["dry-tree"] = { - tile_name = "dirt-3", - tree_name = "dry-tree", - weight = 531 - }, - name = "dirt-3", - ["tree-01"] = { - tile_name = "dirt-3", - tree_name = "tree-01", - weight = 122 - }, - ["tree-02"] = { - tile_name = "dirt-3", - tree_name = "tree-02", - weight = 5576 - }, - ["tree-02-red"] = { - tile_name = "dirt-3", - tree_name = "tree-02-red", - weight = 275002 - }, - ["tree-03"] = { - tile_name = "dirt-3", - tree_name = "tree-03", - weight = 17 - }, - ["tree-04"] = { - tile_name = "dirt-3", - tree_name = "tree-04", - weight = 102600 - }, - ["tree-05"] = { - tile_name = "dirt-3", - tree_name = "tree-05", - weight = 1012 - }, - ["tree-06"] = { - tile_name = "dirt-3", - tree_name = "tree-06", - weight = 221 - }, - ["tree-06-brown"] = { - tile_name = "dirt-3", - tree_name = "tree-06-brown", - weight = 473 - }, - ["tree-07"] = { - tile_name = "dirt-3", - tree_name = "tree-07", - weight = 177 - }, - ["tree-08"] = { - tile_name = "dirt-3", - tree_name = "tree-08", - weight = 577 - }, - ["tree-08-brown"] = { - tile_name = "dirt-3", - tree_name = "tree-08-brown", - weight = 413 - }, - ["tree-09"] = { - tile_name = "dirt-3", - tree_name = "tree-09", - weight = 1823 - }, - ["tree-09-brown"] = { - tile_name = "dirt-3", - tree_name = "tree-09-brown", - weight = 4608 - }, - ["tree-09-red"] = { - tile_name = "dirt-3", - tree_name = "tree-09-red", - weight = 3159 - } -} -terrains["dirt-5"] = { - ["dry-hairy-tree"] = { - tile_name = "dirt-5", - tree_name = "dry-hairy-tree", - weight = 235 - }, - ["dry-tree"] = { - tile_name = "dirt-5", - tree_name = "dry-tree", - weight = 211 - }, - name = "dirt-5", - ["tree-01"] = { - tile_name = "dirt-5", - tree_name = "tree-01", - weight = 492 - }, - ["tree-02"] = { - tile_name = "dirt-5", - tree_name = "tree-02", - weight = 15720 - }, - ["tree-02-red"] = { - tile_name = "dirt-5", - tree_name = "tree-02-red", - weight = 386423 - }, - ["tree-03"] = { - tile_name = "dirt-5", - tree_name = "tree-03", - weight = 73 - }, - ["tree-04"] = { - tile_name = "dirt-5", - tree_name = "tree-04", - weight = 123733 - }, - ["tree-05"] = { - tile_name = "dirt-5", - tree_name = "tree-05", - weight = 2555 - }, - ["tree-06"] = { - tile_name = "dirt-5", - tree_name = "tree-06", - weight = 205 - }, - ["tree-06-brown"] = { - tile_name = "dirt-5", - tree_name = "tree-06-brown", - weight = 425 - }, - ["tree-07"] = { - tile_name = "dirt-5", - tree_name = "tree-07", - weight = 50 - }, - ["tree-08"] = { - tile_name = "dirt-5", - tree_name = "tree-08", - weight = 724 - }, - ["tree-08-brown"] = { - tile_name = "dirt-5", - tree_name = "tree-08-brown", - weight = 416 - }, - ["tree-09"] = { - tile_name = "dirt-5", - tree_name = "tree-09", - weight = 3804 - }, - ["tree-09-brown"] = { - tile_name = "dirt-5", - tree_name = "tree-09-brown", - weight = 1255 - }, - ["tree-09-red"] = { - tile_name = "dirt-5", - tree_name = "tree-09-red", - weight = 1342 - } -} -terrains["dirt-7"] = { - ["dry-hairy-tree"] = { - tile_name = "dirt-7", - tree_name = "dry-hairy-tree", - weight = 167 - }, - ["dry-tree"] = { - tile_name = "dirt-7", - tree_name = "dry-tree", - weight = 153 - }, - name = "dirt-7", - ["tree-01"] = { - tile_name = "dirt-7", - tree_name = "tree-01", - weight = 2205 - }, - ["tree-02"] = { - tile_name = "dirt-7", - tree_name = "tree-02", - weight = 231742 - }, - ["tree-02-red"] = { - tile_name = "dirt-7", - tree_name = "tree-02-red", - weight = 103832 - }, - ["tree-03"] = { - tile_name = "dirt-7", - tree_name = "tree-03", - weight = 51 - }, - ["tree-04"] = { - tile_name = "dirt-7", - tree_name = "tree-04", - weight = 146321 - }, - ["tree-05"] = { - tile_name = "dirt-7", - tree_name = "tree-05", - weight = 13568 - }, - ["tree-06"] = { - tile_name = "dirt-7", - tree_name = "tree-06", - weight = 348 - }, - ["tree-06-brown"] = { - tile_name = "dirt-7", - tree_name = "tree-06-brown", - weight = 387 - }, - ["tree-07"] = { - tile_name = "dirt-7", - tree_name = "tree-07", - weight = 9 - }, - ["tree-08"] = { - tile_name = "dirt-7", - tree_name = "tree-08", - weight = 636 - }, - ["tree-08-brown"] = { - tile_name = "dirt-7", - tree_name = "tree-08-brown", - weight = 501 - }, - ["tree-09"] = { - tile_name = "dirt-7", - tree_name = "tree-09", - weight = 1130 - }, - ["tree-09-brown"] = { - tile_name = "dirt-7", - tree_name = "tree-09-brown", - weight = 433 - }, - ["tree-09-red"] = { - tile_name = "dirt-7", - tree_name = "tree-09-red", - weight = 494 - } -} -terrains["dirt-6"] = { - ["dry-hairy-tree"] = { - tile_name = "dirt-6", - tree_name = "dry-hairy-tree", - weight = 196 - }, - ["dry-tree"] = { - tile_name = "dirt-6", - tree_name = "dry-tree", - weight = 221 - }, - name = "dirt-6", - ["tree-01"] = { - tile_name = "dirt-6", - tree_name = "tree-01", - weight = 1841 - }, - ["tree-02"] = { - tile_name = "dirt-6", - tree_name = "tree-02", - weight = 87839 - }, - ["tree-02-red"] = { - tile_name = "dirt-6", - tree_name = "tree-02-red", - weight = 332276 - }, - ["tree-03"] = { - tile_name = "dirt-6", - tree_name = "tree-03", - weight = 17 - }, - ["tree-04"] = { - tile_name = "dirt-6", - tree_name = "tree-04", - weight = 148120 - }, - ["tree-05"] = { - tile_name = "dirt-6", - tree_name = "tree-05", - weight = 2812 - }, - ["tree-06"] = { - tile_name = "dirt-6", - tree_name = "tree-06", - weight = 196 - }, - ["tree-06-brown"] = { - tile_name = "dirt-6", - tree_name = "tree-06-brown", - weight = 344 - }, - ["tree-07"] = { - tile_name = "dirt-6", - tree_name = "tree-07", - weight = 39 - }, - ["tree-08"] = { - tile_name = "dirt-6", - tree_name = "tree-08", - weight = 536 - }, - ["tree-08-brown"] = { - tile_name = "dirt-6", - tree_name = "tree-08-brown", - weight = 372 - }, - ["tree-09"] = { - tile_name = "dirt-6", - tree_name = "tree-09", - weight = 2526 - }, - ["tree-09-brown"] = { - tile_name = "dirt-6", - tree_name = "tree-09-brown", - weight = 424 - }, - ["tree-09-red"] = { - tile_name = "dirt-6", - tree_name = "tree-09-red", - weight = 831 - } -} -terrains["grass-3"] = { - ["dry-hairy-tree"] = { - tile_name = "grass-3", - tree_name = "dry-hairy-tree", - weight = 350 - }, - ["dry-tree"] = { - tile_name = "grass-3", - tree_name = "dry-tree", - weight = 371 - }, - name = "grass-3", - ["tree-01"] = { - tile_name = "grass-3", - tree_name = "tree-01", - weight = 8639 - }, - ["tree-02"] = { - tile_name = "grass-3", - tree_name = "tree-02", - weight = 475710 - }, - ["tree-02-red"] = { - tile_name = "grass-3", - tree_name = "tree-02-red", - weight = 4063 - }, - ["tree-03"] = { - tile_name = "grass-3", - tree_name = "tree-03", - weight = 5821 - }, - ["tree-04"] = { - tile_name = "grass-3", - tree_name = "tree-04", - weight = 142407 - }, - ["tree-05"] = { - tile_name = "grass-3", - tree_name = "tree-05", - weight = 202162 - }, - ["tree-06"] = { - tile_name = "grass-3", - tree_name = "tree-06", - weight = 353 - }, - ["tree-06-brown"] = { - tile_name = "grass-3", - tree_name = "tree-06-brown", - weight = 596 - }, - ["tree-07"] = { - tile_name = "grass-3", - tree_name = "tree-07", - weight = 41 - }, - ["tree-08"] = { - tile_name = "grass-3", - tree_name = "tree-08", - weight = 557 - }, - ["tree-08-brown"] = { - tile_name = "grass-3", - tree_name = "tree-08-brown", - weight = 698 - }, - ["tree-09"] = { - tile_name = "grass-3", - tree_name = "tree-09", - weight = 12 - }, - ["tree-09-brown"] = { - tile_name = "grass-3", - tree_name = "tree-09-brown", - weight = 966 - }, - ["tree-09-red"] = { - tile_name = "grass-3", - tree_name = "tree-09-red", - weight = 888 - } -} -terrains["grass-1"] = { - ["dry-hairy-tree"] = { - tile_name = "grass-1", - tree_name = "dry-hairy-tree", - weight = 355 - }, - ["dry-tree"] = { - tile_name = "grass-1", - tree_name = "dry-tree", - weight = 317 - }, - name = "grass-1", - ["tree-01"] = { - tile_name = "grass-1", - tree_name = "tree-01", - weight = 13625 - }, - ["tree-02"] = { - tile_name = "grass-1", - tree_name = "tree-02", - weight = 467689 - }, - ["tree-02-red"] = { - tile_name = "grass-1", - tree_name = "tree-02-red", - weight = 2038 - }, - ["tree-03"] = { - tile_name = "grass-1", - tree_name = "tree-03", - weight = 11802 - }, - ["tree-04"] = { - tile_name = "grass-1", - tree_name = "tree-04", - weight = 186950 - }, - ["tree-05"] = { - tile_name = "grass-1", - tree_name = "tree-05", - weight = 360046 - }, - ["tree-06"] = { - tile_name = "grass-1", - tree_name = "tree-06", - weight = 96 - }, - ["tree-06-brown"] = { - tile_name = "grass-1", - tree_name = "tree-06-brown", - weight = 220 - }, - ["tree-07"] = { - tile_name = "grass-1", - tree_name = "tree-07", - weight = 41 - }, - ["tree-08"] = { - tile_name = "grass-1", - tree_name = "tree-08", - weight = 629 - }, - ["tree-08-brown"] = { - tile_name = "grass-1", - tree_name = "tree-08-brown", - weight = 301 - }, - ["tree-09"] = { - tile_name = "grass-1", - tree_name = "tree-09", - weight = 20 - }, - ["tree-09-brown"] = { - tile_name = "grass-1", - tree_name = "tree-09-brown", - weight = 769 - }, - ["tree-09-red"] = { - tile_name = "grass-1", - tree_name = "tree-09-red", - weight = 684 - } -} -terrains["dirt-1"] = { - ["dry-hairy-tree"] = { - tile_name = "dirt-1", - tree_name = "dry-hairy-tree", - weight = 1664 - }, - ["dry-tree"] = { - tile_name = "dirt-1", - tree_name = "dry-tree", - weight = 1690 - }, - name = "dirt-1", - ["tree-02"] = { - tile_name = "dirt-1", - tree_name = "tree-02", - weight = 2257 - }, - ["tree-02-red"] = { - tile_name = "dirt-1", - tree_name = "tree-02-red", - weight = 3610 - }, - ["tree-03"] = { - tile_name = "dirt-1", - tree_name = "tree-03", - weight = 5 - }, - ["tree-04"] = { - tile_name = "dirt-1", - tree_name = "tree-04", - weight = 3764 - }, - ["tree-05"] = { - tile_name = "dirt-1", - tree_name = "tree-05", - weight = 402 - }, - ["tree-06"] = { - tile_name = "dirt-1", - tree_name = "tree-06", - weight = 19 - }, - ["tree-06-brown"] = { - tile_name = "dirt-1", - tree_name = "tree-06-brown", - weight = 118 - }, - ["tree-07"] = { - tile_name = "dirt-1", - tree_name = "tree-07", - weight = 2607 - }, - ["tree-08"] = { - tile_name = "dirt-1", - tree_name = "tree-08", - weight = 184 - }, - ["tree-08-brown"] = { - tile_name = "dirt-1", - tree_name = "tree-08-brown", - weight = 28 - }, - ["tree-09"] = { - tile_name = "dirt-1", - tree_name = "tree-09", - weight = 22 - }, - ["tree-09-brown"] = { - tile_name = "dirt-1", - tree_name = "tree-09-brown", - weight = 41448 - }, - ["tree-09-red"] = { - tile_name = "dirt-1", - tree_name = "tree-09-red", - weight = 50885 - } -} -terrains["grass-4"] = { - ["dry-hairy-tree"] = { - tile_name = "grass-4", - tree_name = "dry-hairy-tree", - weight = 212 - }, - ["dry-tree"] = { - tile_name = "grass-4", - tree_name = "dry-tree", - weight = 201 - }, - name = "grass-4", - ["tree-01"] = { - tile_name = "grass-4", - tree_name = "tree-01", - weight = 3578 - }, - ["tree-02"] = { - tile_name = "grass-4", - tree_name = "tree-02", - weight = 435531 - }, - ["tree-02-red"] = { - tile_name = "grass-4", - tree_name = "tree-02-red", - weight = 29881 - }, - ["tree-03"] = { - tile_name = "grass-4", - tree_name = "tree-03", - weight = 1806 - }, - ["tree-04"] = { - tile_name = "grass-4", - tree_name = "tree-04", - weight = 153326 - }, - ["tree-05"] = { - tile_name = "grass-4", - tree_name = "tree-05", - weight = 73803 - }, - ["tree-06"] = { - tile_name = "grass-4", - tree_name = "tree-06", - weight = 309 - }, - ["tree-06-brown"] = { - tile_name = "grass-4", - tree_name = "tree-06-brown", - weight = 225 - }, - ["tree-07"] = { - tile_name = "grass-4", - tree_name = "tree-07", - weight = 53 - }, - ["tree-08"] = { - tile_name = "grass-4", - tree_name = "tree-08", - weight = 388 - }, - ["tree-08-brown"] = { - tile_name = "grass-4", - tree_name = "tree-08-brown", - weight = 352 - }, - ["tree-09"] = { - tile_name = "grass-4", - tree_name = "tree-09", - weight = 334 - }, - ["tree-09-brown"] = { - tile_name = "grass-4", - tree_name = "tree-09-brown", - weight = 882 - }, - ["tree-09-red"] = { - tile_name = "grass-4", - tree_name = "tree-09-red", - weight = 876 - } -} -terrains["dry-dirt"] = { - ["dry-hairy-tree"] = { - tile_name = "dry-dirt", - tree_name = "dry-hairy-tree", - weight = 1094 - }, - ["dry-tree"] = { - tile_name = "dry-dirt", - tree_name = "dry-tree", - weight = 1151 - }, - name = "dry-dirt", - ["tree-02"] = { - tile_name = "dry-dirt", - tree_name = "tree-02", - weight = 1875 - }, - ["tree-02-red"] = { - tile_name = "dry-dirt", - tree_name = "tree-02-red", - weight = 2909 - }, - ["tree-04"] = { - tile_name = "dry-dirt", - tree_name = "tree-04", - weight = 1197 - }, - ["tree-05"] = { - tile_name = "dry-dirt", - tree_name = "tree-05", - weight = 125 - }, - ["tree-06"] = { - tile_name = "dry-dirt", - tree_name = "tree-06", - weight = 4024 - }, - ["tree-06-brown"] = { - tile_name = "dry-dirt", - tree_name = "tree-06-brown", - weight = 4689 - }, - ["tree-07"] = { - tile_name = "dry-dirt", - tree_name = "tree-07", - weight = 437 - }, - ["tree-08"] = { - tile_name = "dry-dirt", - tree_name = "tree-08", - weight = 3050 - }, - ["tree-08-brown"] = { - tile_name = "dry-dirt", - tree_name = "tree-08-brown", - weight = 1542 - }, - ["tree-09"] = { - tile_name = "dry-dirt", - tree_name = "tree-09", - weight = 20 - }, - ["tree-09-brown"] = { - tile_name = "dry-dirt", - tree_name = "tree-09-brown", - weight = 8528 - }, - ["tree-09-red"] = { - tile_name = "dry-dirt", - tree_name = "tree-09-red", - weight = 9941 - } -} -terrains["sand-1"] = { - ["dry-hairy-tree"] = { - tile_name = "sand-1", - tree_name = "dry-hairy-tree", - weight = 10274 - }, - ["dry-tree"] = { - tile_name = "sand-1", - tree_name = "dry-tree", - weight = 10310 - }, - name = "sand-1", - ["tree-01"] = { - tile_name = "sand-1", - tree_name = "tree-01", - weight = 20 - }, - ["tree-02"] = { - tile_name = "sand-1", - tree_name = "tree-02", - weight = 12319 - }, - ["tree-02-red"] = { - tile_name = "sand-1", - tree_name = "tree-02-red", - weight = 9096 - }, - ["tree-03"] = { - tile_name = "sand-1", - tree_name = "tree-03", - weight = 26 - }, - ["tree-04"] = { - tile_name = "sand-1", - tree_name = "tree-04", - weight = 2018 - }, - ["tree-05"] = { - tile_name = "sand-1", - tree_name = "tree-05", - weight = 1123 - }, - ["tree-06"] = { - tile_name = "sand-1", - tree_name = "tree-06", - weight = 33971 - }, - ["tree-06-brown"] = { - tile_name = "sand-1", - tree_name = "tree-06-brown", - weight = 46980 - }, - ["tree-07"] = { - tile_name = "sand-1", - tree_name = "tree-07", - weight = 3933 - }, - ["tree-08"] = { - tile_name = "sand-1", - tree_name = "tree-08", - weight = 37953 - }, - ["tree-08-brown"] = { - tile_name = "sand-1", - tree_name = "tree-08-brown", - weight = 29880 - }, - ["tree-09"] = { - tile_name = "sand-1", - tree_name = "tree-09", - weight = 8 - }, - ["tree-09-brown"] = { - tile_name = "sand-1", - tree_name = "tree-09-brown", - weight = 69214 - }, - ["tree-09-red"] = { - tile_name = "sand-1", - tree_name = "tree-09-red", - weight = 75344 - } -} -terrains["dirt-2"] = { - ["dry-hairy-tree"] = { - tile_name = "dirt-2", - tree_name = "dry-hairy-tree", - weight = 1065 - }, - ["dry-tree"] = { - tile_name = "dirt-2", - tree_name = "dry-tree", - weight = 1059 - }, - name = "dirt-2", - ["tree-01"] = { - tile_name = "dirt-2", - tree_name = "tree-01", - weight = 32 - }, - ["tree-02"] = { - tile_name = "dirt-2", - tree_name = "tree-02", - weight = 6353 - }, - ["tree-02-red"] = { - tile_name = "dirt-2", - tree_name = "tree-02-red", - weight = 72448 - }, - ["tree-03"] = { - tile_name = "dirt-2", - tree_name = "tree-03", - weight = 38 - }, - ["tree-04"] = { - tile_name = "dirt-2", - tree_name = "tree-04", - weight = 32158 - }, - ["tree-05"] = { - tile_name = "dirt-2", - tree_name = "tree-05", - weight = 1067 - }, - ["tree-06"] = { - tile_name = "dirt-2", - tree_name = "tree-06", - weight = 155 - }, - ["tree-06-brown"] = { - tile_name = "dirt-2", - tree_name = "tree-06-brown", - weight = 104 - }, - ["tree-07"] = { - tile_name = "dirt-2", - tree_name = "tree-07", - weight = 788 - }, - ["tree-08"] = { - tile_name = "dirt-2", - tree_name = "tree-08", - weight = 300 - }, - ["tree-08-brown"] = { - tile_name = "dirt-2", - tree_name = "tree-08-brown", - weight = 189 - }, - ["tree-09"] = { - tile_name = "dirt-2", - tree_name = "tree-09", - weight = 699 - }, - ["tree-09-brown"] = { - tile_name = "dirt-2", - tree_name = "tree-09-brown", - weight = 14492 - }, - ["tree-09-red"] = { - tile_name = "dirt-2", - tree_name = "tree-09-red", - weight = 14093 - } -} -terrains["red-desert-3"] = { - ["dry-hairy-tree"] = { - tile_name = "red-desert-3", - tree_name = "dry-hairy-tree", - weight = 325 - }, - ["dry-tree"] = { - tile_name = "red-desert-3", - tree_name = "dry-tree", - weight = 289 - }, - name = "red-desert-3", - ["tree-01"] = { - tile_name = "red-desert-3", - tree_name = "tree-01", - weight = 2 - }, - ["tree-02"] = { - tile_name = "red-desert-3", - tree_name = "tree-02", - weight = 269 - }, - ["tree-02-red"] = { - tile_name = "red-desert-3", - tree_name = "tree-02-red", - weight = 181 - }, - ["tree-04"] = { - tile_name = "red-desert-3", - tree_name = "tree-04", - weight = 120 - }, - ["tree-05"] = { - tile_name = "red-desert-3", - tree_name = "tree-05", - weight = 193 - }, - ["tree-06"] = { - tile_name = "red-desert-3", - tree_name = "tree-06", - weight = 642 - }, - ["tree-06-brown"] = { - tile_name = "red-desert-3", - tree_name = "tree-06-brown", - weight = 1067 - }, - ["tree-07"] = { - tile_name = "red-desert-3", - tree_name = "tree-07", - weight = 25 - }, - ["tree-08"] = { - tile_name = "red-desert-3", - tree_name = "tree-08", - weight = 1145 - }, - ["tree-08-brown"] = { - tile_name = "red-desert-3", - tree_name = "tree-08-brown", - weight = 475 - }, - ["tree-09"] = { - tile_name = "red-desert-3", - tree_name = "tree-09", - weight = 2 - }, - ["tree-09-brown"] = { - tile_name = "red-desert-3", - tree_name = "tree-09-brown", - weight = 566 - }, - ["tree-09-red"] = { - tile_name = "red-desert-3", - tree_name = "tree-09-red", - weight = 505 - } -} -terrains["grass-2"] = { - ["dry-hairy-tree"] = { - tile_name = "grass-2", - tree_name = "dry-hairy-tree", - weight = 56 - }, - ["dry-tree"] = { - tile_name = "grass-2", - tree_name = "dry-tree", - weight = 62 - }, - name = "grass-2", - ["tree-01"] = { - tile_name = "grass-2", - tree_name = "tree-01", - weight = 2398 - }, - ["tree-02"] = { - tile_name = "grass-2", - tree_name = "tree-02", - weight = 146175 - }, - ["tree-02-red"] = { - tile_name = "grass-2", - tree_name = "tree-02-red", - weight = 9612 - }, - ["tree-03"] = { - tile_name = "grass-2", - tree_name = "tree-03", - weight = 1743 - }, - ["tree-04"] = { - tile_name = "grass-2", - tree_name = "tree-04", - weight = 57088 - }, - ["tree-05"] = { - tile_name = "grass-2", - tree_name = "tree-05", - weight = 53030 - }, - ["tree-06"] = { - tile_name = "grass-2", - tree_name = "tree-06", - weight = 45 - }, - ["tree-06-brown"] = { - tile_name = "grass-2", - tree_name = "tree-06-brown", - weight = 100 - }, - ["tree-08"] = { - tile_name = "grass-2", - tree_name = "tree-08", - weight = 47 - }, - ["tree-08-brown"] = { - tile_name = "grass-2", - tree_name = "tree-08-brown", - weight = 38 - }, - ["tree-09"] = { - tile_name = "grass-2", - tree_name = "tree-09", - weight = 80 - }, - ["tree-09-brown"] = { - tile_name = "grass-2", - tree_name = "tree-09-brown", - weight = 60 - }, - ["tree-09-red"] = { - tile_name = "grass-2", - tree_name = "tree-09-red", - weight = 200 - } -} -terrains["red-desert-0"] = { - ["dry-hairy-tree"] = { - tile_name = "red-desert-0", - tree_name = "dry-hairy-tree", - weight = 27 - }, - ["dry-tree"] = { - tile_name = "red-desert-0", - tree_name = "dry-tree", - weight = 32 - }, - name = "red-desert-0", - ["tree-01"] = { - tile_name = "red-desert-0", - tree_name = "tree-01", - weight = 640 - }, - ["tree-02"] = { - tile_name = "red-desert-0", - tree_name = "tree-02", - weight = 62183 - }, - ["tree-02-red"] = { - tile_name = "red-desert-0", - tree_name = "tree-02-red", - weight = 80789 - }, - ["tree-03"] = { - tile_name = "red-desert-0", - tree_name = "tree-03", - weight = 5 - }, - ["tree-04"] = { - tile_name = "red-desert-0", - tree_name = "tree-04", - weight = 42156 - }, - ["tree-05"] = { - tile_name = "red-desert-0", - tree_name = "tree-05", - weight = 5046 - }, - ["tree-06"] = { - tile_name = "red-desert-0", - tree_name = "tree-06", - weight = 64 - }, - ["tree-06-brown"] = { - tile_name = "red-desert-0", - tree_name = "tree-06-brown", - weight = 75 - }, - ["tree-08"] = { - tile_name = "red-desert-0", - tree_name = "tree-08", - weight = 142 - }, - ["tree-08-brown"] = { - tile_name = "red-desert-0", - tree_name = "tree-08-brown", - weight = 13 - }, - ["tree-09"] = { - tile_name = "red-desert-0", - tree_name = "tree-09", - weight = 917 - }, - ["tree-09-brown"] = { - tile_name = "red-desert-0", - tree_name = "tree-09-brown", - weight = 42 - }, - ["tree-09-red"] = { - tile_name = "red-desert-0", - tree_name = "tree-09-red", - weight = 103 - } -} -terrains["red-desert-2"] = { - ["dry-hairy-tree"] = { - tile_name = "red-desert-2", - tree_name = "dry-hairy-tree", - weight = 252 - }, - ["dry-tree"] = { - tile_name = "red-desert-2", - tree_name = "dry-tree", - weight = 291 - }, - name = "red-desert-2", - ["tree-02"] = { - tile_name = "red-desert-2", - tree_name = "tree-02", - weight = 103 - }, - ["tree-02-red"] = { - tile_name = "red-desert-2", - tree_name = "tree-02-red", - weight = 111 - }, - ["tree-04"] = { - tile_name = "red-desert-2", - tree_name = "tree-04", - weight = 42 - }, - ["tree-05"] = { - tile_name = "red-desert-2", - tree_name = "tree-05", - weight = 2 - }, - ["tree-06"] = { - tile_name = "red-desert-2", - tree_name = "tree-06", - weight = 1229 - }, - ["tree-06-brown"] = { - tile_name = "red-desert-2", - tree_name = "tree-06-brown", - weight = 1398 - }, - ["tree-07"] = { - tile_name = "red-desert-2", - tree_name = "tree-07", - weight = 270 - }, - ["tree-08"] = { - tile_name = "red-desert-2", - tree_name = "tree-08", - weight = 607 - }, - ["tree-08-brown"] = { - tile_name = "red-desert-2", - tree_name = "tree-08-brown", - weight = 625 - }, - ["tree-09-brown"] = { - tile_name = "red-desert-2", - tree_name = "tree-09-brown", - weight = 4130 - }, - ["tree-09-red"] = { - tile_name = "red-desert-2", - tree_name = "tree-09-red", - weight = 5207 - } -} -terrains["dirt-4"] = { - ["dry-hairy-tree"] = { - tile_name = "dirt-4", - tree_name = "dry-hairy-tree", - weight = 570 - }, - ["dry-tree"] = { - tile_name = "dirt-4", - tree_name = "dry-tree", - weight = 671 - }, - name = "dirt-4", - ["tree-01"] = { - tile_name = "dirt-4", - tree_name = "tree-01", - weight = 2 - }, - ["tree-02"] = { - tile_name = "dirt-4", - tree_name = "tree-02", - weight = 1239 - }, - ["tree-02-red"] = { - tile_name = "dirt-4", - tree_name = "tree-02-red", - weight = 60007 - }, - ["tree-04"] = { - tile_name = "dirt-4", - tree_name = "tree-04", - weight = 16241 - }, - ["tree-06"] = { - tile_name = "dirt-4", - tree_name = "tree-06", - weight = 1030 - }, - ["tree-06-brown"] = { - tile_name = "dirt-4", - tree_name = "tree-06-brown", - weight = 1362 - }, - ["tree-07"] = { - tile_name = "dirt-4", - tree_name = "tree-07", - weight = 682 - }, - ["tree-08"] = { - tile_name = "dirt-4", - tree_name = "tree-08", - weight = 869 - }, - ["tree-08-brown"] = { - tile_name = "dirt-4", - tree_name = "tree-08-brown", - weight = 659 - }, - ["tree-09"] = { - tile_name = "dirt-4", - tree_name = "tree-09", - weight = 729 - }, - ["tree-09-brown"] = { - tile_name = "dirt-4", - tree_name = "tree-09-brown", - weight = 12700 - }, - ["tree-09-red"] = { - tile_name = "dirt-4", - tree_name = "tree-09-red", - weight = 11191 - } -} -terrains["red-desert-1"] = { - ["dry-hairy-tree"] = { - tile_name = "red-desert-1", - tree_name = "dry-hairy-tree", - weight = 304 - }, - ["dry-tree"] = { - tile_name = "red-desert-1", - tree_name = "dry-tree", - weight = 263 - }, - name = "red-desert-1", - ["tree-02"] = { - tile_name = "red-desert-1", - tree_name = "tree-02", - weight = 251 - }, - ["tree-02-red"] = { - tile_name = "red-desert-1", - tree_name = "tree-02-red", - weight = 341 - }, - ["tree-04"] = { - tile_name = "red-desert-1", - tree_name = "tree-04", - weight = 103 - }, - ["tree-05"] = { - tile_name = "red-desert-1", - tree_name = "tree-05", - weight = 60 - }, - ["tree-06"] = { - tile_name = "red-desert-1", - tree_name = "tree-06", - weight = 819 - }, - ["tree-06-brown"] = { - tile_name = "red-desert-1", - tree_name = "tree-06-brown", - weight = 1298 - }, - ["tree-07"] = { - tile_name = "red-desert-1", - tree_name = "tree-07", - weight = 327 - }, - ["tree-08"] = { - tile_name = "red-desert-1", - tree_name = "tree-08", - weight = 587 - }, - ["tree-08-brown"] = { - tile_name = "red-desert-1", - tree_name = "tree-08-brown", - weight = 415 - }, - ["tree-09-brown"] = { - tile_name = "red-desert-1", - tree_name = "tree-09-brown", - weight = 7565 - }, - ["tree-09-red"] = { - tile_name = "red-desert-1", - tree_name = "tree-09-red", - weight = 8269 - } -} - -return terrains + +local terrains = {} + + +terrains["vegetation-green-grass-2"] = { + name = "vegetation-green-grass-2", + ["tree-desert-h"] = { + tile_name = "vegetation-green-grass-2", + tree_name = "tree-desert-h", + weight = 2 + }, + ["tree-desert-i"] = { + tile_name = "vegetation-green-grass-2", + tree_name = "tree-desert-i", + weight = 3 + }, + ["tree-dryland-e"] = { + tile_name = "vegetation-green-grass-2", + tree_name = "tree-dryland-e", + weight = 206 + }, + ["tree-dryland-g"] = { + tile_name = "vegetation-green-grass-2", + tree_name = "tree-dryland-g", + weight = 52 + }, + ["tree-dryland-h"] = { + tile_name = "vegetation-green-grass-2", + tree_name = "tree-dryland-h", + weight = 113 + }, + ["tree-dryland-j"] = { + tile_name = "vegetation-green-grass-2", + tree_name = "tree-dryland-j", + weight = 43 + }, + ["tree-dryland-k"] = { + tile_name = "vegetation-green-grass-2", + tree_name = "tree-dryland-k", + weight = 596 + }, + ["tree-dryland-l"] = { + tile_name = "vegetation-green-grass-2", + tree_name = "tree-dryland-l", + weight = 1179 + }, + ["tree-dryland-m"] = { + tile_name = "vegetation-green-grass-2", + tree_name = "tree-dryland-m", + weight = 7 + }, + ["tree-grassland-b"] = { + tile_name = "vegetation-green-grass-2", + tree_name = "tree-grassland-b", + weight = 496 + }, + ["tree-grassland-c"] = { + tile_name = "vegetation-green-grass-2", + tree_name = "tree-grassland-c", + weight = 1702 + }, + ["tree-grassland-d"] = { + tile_name = "vegetation-green-grass-2", + tree_name = "tree-grassland-d", + weight = 170 + }, + ["tree-grassland-e"] = { + tile_name = "vegetation-green-grass-2", + tree_name = "tree-grassland-e", + weight = 114 + }, + ["tree-grassland-f"] = { + tile_name = "vegetation-green-grass-2", + tree_name = "tree-grassland-f", + weight = 728 + }, + ["tree-grassland-g"] = { + tile_name = "vegetation-green-grass-2", + tree_name = "tree-grassland-g", + weight = 128178 + }, + ["tree-grassland-h"] = { + tile_name = "vegetation-green-grass-2", + tree_name = "tree-grassland-h", + weight = 77174 + }, + ["tree-grassland-h2"] = { + tile_name = "vegetation-green-grass-2", + tree_name = "tree-grassland-h2", + weight = 461 + }, + ["tree-grassland-h3"] = { + tile_name = "vegetation-green-grass-2", + tree_name = "tree-grassland-h3", + weight = 115 + }, + ["tree-grassland-i"] = { + tile_name = "vegetation-green-grass-2", + tree_name = "tree-grassland-i", + weight = 2348 + }, + ["tree-grassland-k"] = { + tile_name = "vegetation-green-grass-2", + tree_name = "tree-grassland-k", + weight = 16418 + }, + ["tree-grassland-l"] = { + tile_name = "vegetation-green-grass-2", + tree_name = "tree-grassland-l", + weight = 87434 + }, + ["tree-grassland-m"] = { + tile_name = "vegetation-green-grass-2", + tree_name = "tree-grassland-m", + weight = 188 + }, + ["tree-grassland-n"] = { + tile_name = "vegetation-green-grass-2", + tree_name = "tree-grassland-n", + weight = 36938 + }, + ["tree-grassland-p"] = { + tile_name = "vegetation-green-grass-2", + tree_name = "tree-grassland-p", + weight = 611 + }, + ["tree-wetland-b"] = { + tile_name = "vegetation-green-grass-2", + tree_name = "tree-wetland-b", + weight = 1647 + }, + ["tree-wetland-c"] = { + tile_name = "vegetation-green-grass-2", + tree_name = "tree-wetland-c", + weight = 48 + }, + ["tree-wetland-d"] = { + tile_name = "vegetation-green-grass-2", + tree_name = "tree-wetland-d", + weight = 76729 + }, + ["tree-wetland-e"] = { + tile_name = "vegetation-green-grass-2", + tree_name = "tree-wetland-e", + weight = 218471 + }, + ["tree-wetland-f"] = { + tile_name = "vegetation-green-grass-2", + tree_name = "tree-wetland-f", + weight = 21 + }, + ["tree-wetland-g"] = { + tile_name = "vegetation-green-grass-2", + tree_name = "tree-wetland-g", + weight = 2618 + }, + ["tree-wetland-h"] = { + tile_name = "vegetation-green-grass-2", + tree_name = "tree-wetland-h", + weight = 1837 + }, + ["tree-wetland-i"] = { + tile_name = "vegetation-green-grass-2", + tree_name = "tree-wetland-i", + weight = 295 + }, + ["tree-wetland-j"] = { + tile_name = "vegetation-green-grass-2", + tree_name = "tree-wetland-j", + weight = 35231 + }, + ["tree-wetland-k"] = { + tile_name = "vegetation-green-grass-2", + tree_name = "tree-wetland-k", + weight = 82588 + }, + ["tree-wetland-l"] = { + tile_name = "vegetation-green-grass-2", + tree_name = "tree-wetland-l", + weight = 689 + }, + ["tree-wetland-m"] = { + tile_name = "vegetation-green-grass-2", + tree_name = "tree-wetland-m", + weight = 315 + }, + ["tree-wetland-n"] = { + tile_name = "vegetation-green-grass-2", + tree_name = "tree-wetland-n", + weight = 749 + }, + ["tree-wetland-o"] = { + tile_name = "vegetation-green-grass-2", + tree_name = "tree-wetland-o", + weight = 943 + } +} +terrains["vegetation-green-grass-4"] = { + name = "vegetation-green-grass-4", + ["tree-desert-f"] = { + tile_name = "vegetation-green-grass-4", + tree_name = "tree-desert-f", + weight = 3 + }, + ["tree-dryland-e"] = { + tile_name = "vegetation-green-grass-4", + tree_name = "tree-dryland-e", + weight = 158 + }, + ["tree-dryland-g"] = { + tile_name = "vegetation-green-grass-4", + tree_name = "tree-dryland-g", + weight = 2 + }, + ["tree-dryland-h"] = { + tile_name = "vegetation-green-grass-4", + tree_name = "tree-dryland-h", + weight = 30 + }, + ["tree-dryland-j"] = { + tile_name = "vegetation-green-grass-4", + tree_name = "tree-dryland-j", + weight = 8 + }, + ["tree-dryland-k"] = { + tile_name = "vegetation-green-grass-4", + tree_name = "tree-dryland-k", + weight = 86 + }, + ["tree-dryland-l"] = { + tile_name = "vegetation-green-grass-4", + tree_name = "tree-dryland-l", + weight = 197 + }, + ["tree-dryland-m"] = { + tile_name = "vegetation-green-grass-4", + tree_name = "tree-dryland-m", + weight = 7 + }, + ["tree-grassland-b"] = { + tile_name = "vegetation-green-grass-4", + tree_name = "tree-grassland-b", + weight = 164 + }, + ["tree-grassland-c"] = { + tile_name = "vegetation-green-grass-4", + tree_name = "tree-grassland-c", + weight = 497 + }, + ["tree-grassland-d"] = { + tile_name = "vegetation-green-grass-4", + tree_name = "tree-grassland-d", + weight = 48 + }, + ["tree-grassland-e"] = { + tile_name = "vegetation-green-grass-4", + tree_name = "tree-grassland-e", + weight = 25 + }, + ["tree-grassland-f"] = { + tile_name = "vegetation-green-grass-4", + tree_name = "tree-grassland-f", + weight = 260 + }, + ["tree-grassland-g"] = { + tile_name = "vegetation-green-grass-4", + tree_name = "tree-grassland-g", + weight = 42054 + }, + ["tree-grassland-h"] = { + tile_name = "vegetation-green-grass-4", + tree_name = "tree-grassland-h", + weight = 30744 + }, + ["tree-grassland-h2"] = { + tile_name = "vegetation-green-grass-4", + tree_name = "tree-grassland-h2", + weight = 117 + }, + ["tree-grassland-h3"] = { + tile_name = "vegetation-green-grass-4", + tree_name = "tree-grassland-h3", + weight = 38 + }, + ["tree-grassland-i"] = { + tile_name = "vegetation-green-grass-4", + tree_name = "tree-grassland-i", + weight = 606 + }, + ["tree-grassland-k"] = { + tile_name = "vegetation-green-grass-4", + tree_name = "tree-grassland-k", + weight = 2667 + }, + ["tree-grassland-l"] = { + tile_name = "vegetation-green-grass-4", + tree_name = "tree-grassland-l", + weight = 22365 + }, + ["tree-grassland-m"] = { + tile_name = "vegetation-green-grass-4", + tree_name = "tree-grassland-m", + weight = 26 + }, + ["tree-grassland-n"] = { + tile_name = "vegetation-green-grass-4", + tree_name = "tree-grassland-n", + weight = 10137 + }, + ["tree-grassland-p"] = { + tile_name = "vegetation-green-grass-4", + tree_name = "tree-grassland-p", + weight = 182 + }, + ["tree-wetland-b"] = { + tile_name = "vegetation-green-grass-4", + tree_name = "tree-wetland-b", + weight = 575 + }, + ["tree-wetland-c"] = { + tile_name = "vegetation-green-grass-4", + tree_name = "tree-wetland-c", + weight = 10 + }, + ["tree-wetland-d"] = { + tile_name = "vegetation-green-grass-4", + tree_name = "tree-wetland-d", + weight = 31558 + }, + ["tree-wetland-e"] = { + tile_name = "vegetation-green-grass-4", + tree_name = "tree-wetland-e", + weight = 57035 + }, + ["tree-wetland-f"] = { + tile_name = "vegetation-green-grass-4", + tree_name = "tree-wetland-f", + weight = 6 + }, + ["tree-wetland-g"] = { + tile_name = "vegetation-green-grass-4", + tree_name = "tree-wetland-g", + weight = 765 + }, + ["tree-wetland-h"] = { + tile_name = "vegetation-green-grass-4", + tree_name = "tree-wetland-h", + weight = 364 + }, + ["tree-wetland-i"] = { + tile_name = "vegetation-green-grass-4", + tree_name = "tree-wetland-i", + weight = 44 + }, + ["tree-wetland-j"] = { + tile_name = "vegetation-green-grass-4", + tree_name = "tree-wetland-j", + weight = 7926 + }, + ["tree-wetland-k"] = { + tile_name = "vegetation-green-grass-4", + tree_name = "tree-wetland-k", + weight = 29873 + }, + ["tree-wetland-l"] = { + tile_name = "vegetation-green-grass-4", + tree_name = "tree-wetland-l", + weight = 172 + }, + ["tree-wetland-m"] = { + tile_name = "vegetation-green-grass-4", + tree_name = "tree-wetland-m", + weight = 151 + }, + ["tree-wetland-n"] = { + tile_name = "vegetation-green-grass-4", + tree_name = "tree-wetland-n", + weight = 130 + }, + ["tree-wetland-o"] = { + tile_name = "vegetation-green-grass-4", + tree_name = "tree-wetland-o", + weight = 286 + } +} +terrains["vegetation-mauve-grass-2"] = { + name = "vegetation-mauve-grass-2", + ["tree-dryland-l"] = { + tile_name = "vegetation-mauve-grass-2", + tree_name = "tree-dryland-l", + weight = 115 + }, + ["tree-dryland-m"] = { + tile_name = "vegetation-mauve-grass-2", + tree_name = "tree-dryland-m", + weight = 334 + }, + ["tree-grassland-d"] = { + tile_name = "vegetation-mauve-grass-2", + tree_name = "tree-grassland-d", + weight = 311 + }, + ["tree-grassland-e"] = { + tile_name = "vegetation-mauve-grass-2", + tree_name = "tree-grassland-e", + weight = 40 + }, + ["tree-grassland-g"] = { + tile_name = "vegetation-mauve-grass-2", + tree_name = "tree-grassland-g", + weight = 43 + }, + ["tree-grassland-h"] = { + tile_name = "vegetation-mauve-grass-2", + tree_name = "tree-grassland-h", + weight = 491 + }, + ["tree-grassland-h2"] = { + tile_name = "vegetation-mauve-grass-2", + tree_name = "tree-grassland-h2", + weight = 111 + }, + ["tree-grassland-h3"] = { + tile_name = "vegetation-mauve-grass-2", + tree_name = "tree-grassland-h3", + weight = 289 + }, + ["tree-grassland-i"] = { + tile_name = "vegetation-mauve-grass-2", + tree_name = "tree-grassland-i", + weight = 6233 + }, + ["tree-grassland-k"] = { + tile_name = "vegetation-mauve-grass-2", + tree_name = "tree-grassland-k", + weight = 399 + }, + ["tree-grassland-l"] = { + tile_name = "vegetation-mauve-grass-2", + tree_name = "tree-grassland-l", + weight = 179 + }, + ["tree-grassland-m"] = { + tile_name = "vegetation-mauve-grass-2", + tree_name = "tree-grassland-m", + weight = 11537 + }, + ["tree-grassland-n"] = { + tile_name = "vegetation-mauve-grass-2", + tree_name = "tree-grassland-n", + weight = 56 + }, + ["tree-wetland-c"] = { + tile_name = "vegetation-mauve-grass-2", + tree_name = "tree-wetland-c", + weight = 256 + }, + ["tree-wetland-d"] = { + tile_name = "vegetation-mauve-grass-2", + tree_name = "tree-wetland-d", + weight = 59 + }, + ["tree-wetland-e"] = { + tile_name = "vegetation-mauve-grass-2", + tree_name = "tree-wetland-e", + weight = 3474 + }, + ["tree-wetland-f"] = { + tile_name = "vegetation-mauve-grass-2", + tree_name = "tree-wetland-f", + weight = 109 + }, + ["tree-wetland-h"] = { + tile_name = "vegetation-mauve-grass-2", + tree_name = "tree-wetland-h", + weight = 208 + }, + ["tree-wetland-i"] = { + tile_name = "vegetation-mauve-grass-2", + tree_name = "tree-wetland-i", + weight = 23 + }, + ["tree-wetland-j"] = { + tile_name = "vegetation-mauve-grass-2", + tree_name = "tree-wetland-j", + weight = 620 + }, + ["tree-wetland-k"] = { + tile_name = "vegetation-mauve-grass-2", + tree_name = "tree-wetland-k", + weight = 40240 + }, + ["tree-wetland-l"] = { + tile_name = "vegetation-mauve-grass-2", + tree_name = "tree-wetland-l", + weight = 16352 + }, + ["tree-wetland-m"] = { + tile_name = "vegetation-mauve-grass-2", + tree_name = "tree-wetland-m", + weight = 87 + }, + ["tree-wetland-o"] = { + tile_name = "vegetation-mauve-grass-2", + tree_name = "tree-wetland-o", + weight = 405 + } +} +terrains["vegetation-green-grass-1"] = { + name = "vegetation-green-grass-1", + ["tree-desert-f"] = { + tile_name = "vegetation-green-grass-1", + tree_name = "tree-desert-f", + weight = 2 + }, + ["tree-desert-h"] = { + tile_name = "vegetation-green-grass-1", + tree_name = "tree-desert-h", + weight = 2 + }, + ["tree-desert-i"] = { + tile_name = "vegetation-green-grass-1", + tree_name = "tree-desert-i", + weight = 2 + }, + ["tree-dryland-e"] = { + tile_name = "vegetation-green-grass-1", + tree_name = "tree-dryland-e", + weight = 99 + }, + ["tree-dryland-g"] = { + tile_name = "vegetation-green-grass-1", + tree_name = "tree-dryland-g", + weight = 8 + }, + ["tree-dryland-h"] = { + tile_name = "vegetation-green-grass-1", + tree_name = "tree-dryland-h", + weight = 130 + }, + ["tree-dryland-j"] = { + tile_name = "vegetation-green-grass-1", + tree_name = "tree-dryland-j", + weight = 63 + }, + ["tree-dryland-k"] = { + tile_name = "vegetation-green-grass-1", + tree_name = "tree-dryland-k", + weight = 817 + }, + ["tree-dryland-l"] = { + tile_name = "vegetation-green-grass-1", + tree_name = "tree-dryland-l", + weight = 1568 + }, + ["tree-dryland-m"] = { + tile_name = "vegetation-green-grass-1", + tree_name = "tree-dryland-m", + weight = 15 + }, + ["tree-grassland-b"] = { + tile_name = "vegetation-green-grass-1", + tree_name = "tree-grassland-b", + weight = 925 + }, + ["tree-grassland-c"] = { + tile_name = "vegetation-green-grass-1", + tree_name = "tree-grassland-c", + weight = 3050 + }, + ["tree-grassland-d"] = { + tile_name = "vegetation-green-grass-1", + tree_name = "tree-grassland-d", + weight = 329 + }, + ["tree-grassland-e"] = { + tile_name = "vegetation-green-grass-1", + tree_name = "tree-grassland-e", + weight = 256 + }, + ["tree-grassland-f"] = { + tile_name = "vegetation-green-grass-1", + tree_name = "tree-grassland-f", + weight = 1486 + }, + ["tree-grassland-g"] = { + tile_name = "vegetation-green-grass-1", + tree_name = "tree-grassland-g", + weight = 233551 + }, + ["tree-grassland-h"] = { + tile_name = "vegetation-green-grass-1", + tree_name = "tree-grassland-h", + weight = 157690 + }, + ["tree-grassland-h2"] = { + tile_name = "vegetation-green-grass-1", + tree_name = "tree-grassland-h2", + weight = 808 + }, + ["tree-grassland-h3"] = { + tile_name = "vegetation-green-grass-1", + tree_name = "tree-grassland-h3", + weight = 171 + }, + ["tree-grassland-i"] = { + tile_name = "vegetation-green-grass-1", + tree_name = "tree-grassland-i", + weight = 4758 + }, + ["tree-grassland-k"] = { + tile_name = "vegetation-green-grass-1", + tree_name = "tree-grassland-k", + weight = 28573 + }, + ["tree-grassland-l"] = { + tile_name = "vegetation-green-grass-1", + tree_name = "tree-grassland-l", + weight = 165778 + }, + ["tree-grassland-m"] = { + tile_name = "vegetation-green-grass-1", + tree_name = "tree-grassland-m", + weight = 155 + }, + ["tree-grassland-n"] = { + tile_name = "vegetation-green-grass-1", + tree_name = "tree-grassland-n", + weight = 55828 + }, + ["tree-grassland-p"] = { + tile_name = "vegetation-green-grass-1", + tree_name = "tree-grassland-p", + weight = 1232 + }, + ["tree-wetland-b"] = { + tile_name = "vegetation-green-grass-1", + tree_name = "tree-wetland-b", + weight = 2951 + }, + ["tree-wetland-c"] = { + tile_name = "vegetation-green-grass-1", + tree_name = "tree-wetland-c", + weight = 24 + }, + ["tree-wetland-d"] = { + tile_name = "vegetation-green-grass-1", + tree_name = "tree-wetland-d", + weight = 145682 + }, + ["tree-wetland-e"] = { + tile_name = "vegetation-green-grass-1", + tree_name = "tree-wetland-e", + weight = 384640 + }, + ["tree-wetland-f"] = { + tile_name = "vegetation-green-grass-1", + tree_name = "tree-wetland-f", + weight = 10 + }, + ["tree-wetland-g"] = { + tile_name = "vegetation-green-grass-1", + tree_name = "tree-wetland-g", + weight = 3712 + }, + ["tree-wetland-h"] = { + tile_name = "vegetation-green-grass-1", + tree_name = "tree-wetland-h", + weight = 2945 + }, + ["tree-wetland-i"] = { + tile_name = "vegetation-green-grass-1", + tree_name = "tree-wetland-i", + weight = 364 + }, + ["tree-wetland-j"] = { + tile_name = "vegetation-green-grass-1", + tree_name = "tree-wetland-j", + weight = 50003 + }, + ["tree-wetland-k"] = { + tile_name = "vegetation-green-grass-1", + tree_name = "tree-wetland-k", + weight = 131060 + }, + ["tree-wetland-l"] = { + tile_name = "vegetation-green-grass-1", + tree_name = "tree-wetland-l", + weight = 942 + }, + ["tree-wetland-m"] = { + tile_name = "vegetation-green-grass-1", + tree_name = "tree-wetland-m", + weight = 312 + }, + ["tree-wetland-n"] = { + tile_name = "vegetation-green-grass-1", + tree_name = "tree-wetland-n", + weight = 607 + }, + ["tree-wetland-o"] = { + tile_name = "vegetation-green-grass-1", + tree_name = "tree-wetland-o", + weight = 1114 + } +} +terrains["vegetation-purple-grass-1"] = { + name = "vegetation-purple-grass-1", + ["tree-desert-h"] = { + tile_name = "vegetation-purple-grass-1", + tree_name = "tree-desert-h", + weight = 2 + }, + ["tree-dryland-h"] = { + tile_name = "vegetation-purple-grass-1", + tree_name = "tree-dryland-h", + weight = 328 + }, + ["tree-dryland-i"] = { + tile_name = "vegetation-purple-grass-1", + tree_name = "tree-dryland-i", + weight = 3 + }, + ["tree-dryland-l"] = { + tile_name = "vegetation-purple-grass-1", + tree_name = "tree-dryland-l", + weight = 8 + }, + ["tree-dryland-m"] = { + tile_name = "vegetation-purple-grass-1", + tree_name = "tree-dryland-m", + weight = 34 + }, + ["tree-grassland-a"] = { + tile_name = "vegetation-purple-grass-1", + tree_name = "tree-grassland-a", + weight = 5 + }, + ["tree-grassland-c"] = { + tile_name = "vegetation-purple-grass-1", + tree_name = "tree-grassland-c", + weight = 17 + }, + ["tree-grassland-d"] = { + tile_name = "vegetation-purple-grass-1", + tree_name = "tree-grassland-d", + weight = 578 + }, + ["tree-grassland-e"] = { + tile_name = "vegetation-purple-grass-1", + tree_name = "tree-grassland-e", + weight = 511 + }, + ["tree-grassland-f"] = { + tile_name = "vegetation-purple-grass-1", + tree_name = "tree-grassland-f", + weight = 3 + }, + ["tree-grassland-g"] = { + tile_name = "vegetation-purple-grass-1", + tree_name = "tree-grassland-g", + weight = 215 + }, + ["tree-grassland-h"] = { + tile_name = "vegetation-purple-grass-1", + tree_name = "tree-grassland-h", + weight = 1115 + }, + ["tree-grassland-h2"] = { + tile_name = "vegetation-purple-grass-1", + tree_name = "tree-grassland-h2", + weight = 724 + }, + ["tree-grassland-h3"] = { + tile_name = "vegetation-purple-grass-1", + tree_name = "tree-grassland-h3", + weight = 2 + }, + ["tree-grassland-i"] = { + tile_name = "vegetation-purple-grass-1", + tree_name = "tree-grassland-i", + weight = 8020 + }, + ["tree-grassland-k"] = { + tile_name = "vegetation-purple-grass-1", + tree_name = "tree-grassland-k", + weight = 2 + }, + ["tree-grassland-l"] = { + tile_name = "vegetation-purple-grass-1", + tree_name = "tree-grassland-l", + weight = 3 + }, + ["tree-grassland-m"] = { + tile_name = "vegetation-purple-grass-1", + tree_name = "tree-grassland-m", + weight = 26 + }, + ["tree-wetland-c"] = { + tile_name = "vegetation-purple-grass-1", + tree_name = "tree-wetland-c", + weight = 18 + }, + ["tree-wetland-d"] = { + tile_name = "vegetation-purple-grass-1", + tree_name = "tree-wetland-d", + weight = 2 + }, + ["tree-wetland-e"] = { + tile_name = "vegetation-purple-grass-1", + tree_name = "tree-wetland-e", + weight = 2644 + }, + ["tree-wetland-f"] = { + tile_name = "vegetation-purple-grass-1", + tree_name = "tree-wetland-f", + weight = 10 + }, + ["tree-wetland-h"] = { + tile_name = "vegetation-purple-grass-1", + tree_name = "tree-wetland-h", + weight = 10 + }, + ["tree-wetland-k"] = { + tile_name = "vegetation-purple-grass-1", + tree_name = "tree-wetland-k", + weight = 52 + }, + ["tree-wetland-l"] = { + tile_name = "vegetation-purple-grass-1", + tree_name = "tree-wetland-l", + weight = 7 + }, + ["tree-wetland-o"] = { + tile_name = "vegetation-purple-grass-1", + tree_name = "tree-wetland-o", + weight = 5 + } +} +terrains["vegetation-mauve-grass-1"] = { + name = "vegetation-mauve-grass-1", + ["tree-dryland-h"] = { + tile_name = "vegetation-mauve-grass-1", + tree_name = "tree-dryland-h", + weight = 2 + }, + ["tree-dryland-l"] = { + tile_name = "vegetation-mauve-grass-1", + tree_name = "tree-dryland-l", + weight = 256 + }, + ["tree-dryland-m"] = { + tile_name = "vegetation-mauve-grass-1", + tree_name = "tree-dryland-m", + weight = 525 + }, + ["tree-dryland-o"] = { + tile_name = "vegetation-mauve-grass-1", + tree_name = "tree-dryland-o", + weight = 3 + }, + ["tree-grassland-c"] = { + tile_name = "vegetation-mauve-grass-1", + tree_name = "tree-grassland-c", + weight = 2 + }, + ["tree-grassland-d"] = { + tile_name = "vegetation-mauve-grass-1", + tree_name = "tree-grassland-d", + weight = 319 + }, + ["tree-grassland-e"] = { + tile_name = "vegetation-mauve-grass-1", + tree_name = "tree-grassland-e", + weight = 92 + }, + ["tree-grassland-g"] = { + tile_name = "vegetation-mauve-grass-1", + tree_name = "tree-grassland-g", + weight = 6 + }, + ["tree-grassland-h"] = { + tile_name = "vegetation-mauve-grass-1", + tree_name = "tree-grassland-h", + weight = 895 + }, + ["tree-grassland-h2"] = { + tile_name = "vegetation-mauve-grass-1", + tree_name = "tree-grassland-h2", + weight = 39 + }, + ["tree-grassland-h3"] = { + tile_name = "vegetation-mauve-grass-1", + tree_name = "tree-grassland-h3", + weight = 545 + }, + ["tree-grassland-i"] = { + tile_name = "vegetation-mauve-grass-1", + tree_name = "tree-grassland-i", + weight = 11278 + }, + ["tree-grassland-k"] = { + tile_name = "vegetation-mauve-grass-1", + tree_name = "tree-grassland-k", + weight = 499 + }, + ["tree-grassland-l"] = { + tile_name = "vegetation-mauve-grass-1", + tree_name = "tree-grassland-l", + weight = 188 + }, + ["tree-grassland-m"] = { + tile_name = "vegetation-mauve-grass-1", + tree_name = "tree-grassland-m", + weight = 17910 + }, + ["tree-grassland-n"] = { + tile_name = "vegetation-mauve-grass-1", + tree_name = "tree-grassland-n", + weight = 103 + }, + ["tree-wetland-c"] = { + tile_name = "vegetation-mauve-grass-1", + tree_name = "tree-wetland-c", + weight = 509 + }, + ["tree-wetland-d"] = { + tile_name = "vegetation-mauve-grass-1", + tree_name = "tree-wetland-d", + weight = 108 + }, + ["tree-wetland-e"] = { + tile_name = "vegetation-mauve-grass-1", + tree_name = "tree-wetland-e", + weight = 7703 + }, + ["tree-wetland-f"] = { + tile_name = "vegetation-mauve-grass-1", + tree_name = "tree-wetland-f", + weight = 245 + }, + ["tree-wetland-h"] = { + tile_name = "vegetation-mauve-grass-1", + tree_name = "tree-wetland-h", + weight = 394 + }, + ["tree-wetland-i"] = { + tile_name = "vegetation-mauve-grass-1", + tree_name = "tree-wetland-i", + weight = 71 + }, + ["tree-wetland-j"] = { + tile_name = "vegetation-mauve-grass-1", + tree_name = "tree-wetland-j", + weight = 447 + }, + ["tree-wetland-k"] = { + tile_name = "vegetation-mauve-grass-1", + tree_name = "tree-wetland-k", + weight = 68141 + }, + ["tree-wetland-l"] = { + tile_name = "vegetation-mauve-grass-1", + tree_name = "tree-wetland-l", + weight = 25595 + }, + ["tree-wetland-m"] = { + tile_name = "vegetation-mauve-grass-1", + tree_name = "tree-wetland-m", + weight = 115 + }, + ["tree-wetland-o"] = { + tile_name = "vegetation-mauve-grass-1", + tree_name = "tree-wetland-o", + weight = 729 + } +} +terrains["vegetation-green-grass-3"] = { + name = "vegetation-green-grass-3", + ["tree-desert-h"] = { + tile_name = "vegetation-green-grass-3", + tree_name = "tree-desert-h", + weight = 2 + }, + ["tree-dryland-e"] = { + tile_name = "vegetation-green-grass-3", + tree_name = "tree-dryland-e", + weight = 24 + }, + ["tree-dryland-g"] = { + tile_name = "vegetation-green-grass-3", + tree_name = "tree-dryland-g", + weight = 5 + }, + ["tree-dryland-h"] = { + tile_name = "vegetation-green-grass-3", + tree_name = "tree-dryland-h", + weight = 37 + }, + ["tree-dryland-j"] = { + tile_name = "vegetation-green-grass-3", + tree_name = "tree-dryland-j", + weight = 37 + }, + ["tree-dryland-k"] = { + tile_name = "vegetation-green-grass-3", + tree_name = "tree-dryland-k", + weight = 213 + }, + ["tree-dryland-l"] = { + tile_name = "vegetation-green-grass-3", + tree_name = "tree-dryland-l", + weight = 360 + }, + ["tree-dryland-m"] = { + tile_name = "vegetation-green-grass-3", + tree_name = "tree-dryland-m", + weight = 3 + }, + ["tree-grassland-b"] = { + tile_name = "vegetation-green-grass-3", + tree_name = "tree-grassland-b", + weight = 322 + }, + ["tree-grassland-c"] = { + tile_name = "vegetation-green-grass-3", + tree_name = "tree-grassland-c", + weight = 1093 + }, + ["tree-grassland-d"] = { + tile_name = "vegetation-green-grass-3", + tree_name = "tree-grassland-d", + weight = 105 + }, + ["tree-grassland-e"] = { + tile_name = "vegetation-green-grass-3", + tree_name = "tree-grassland-e", + weight = 225 + }, + ["tree-grassland-f"] = { + tile_name = "vegetation-green-grass-3", + tree_name = "tree-grassland-f", + weight = 535 + }, + ["tree-grassland-g"] = { + tile_name = "vegetation-green-grass-3", + tree_name = "tree-grassland-g", + weight = 75960 + }, + ["tree-grassland-h"] = { + tile_name = "vegetation-green-grass-3", + tree_name = "tree-grassland-h", + weight = 47696 + }, + ["tree-grassland-h2"] = { + tile_name = "vegetation-green-grass-3", + tree_name = "tree-grassland-h2", + weight = 504 + }, + ["tree-grassland-h3"] = { + tile_name = "vegetation-green-grass-3", + tree_name = "tree-grassland-h3", + weight = 355 + }, + ["tree-grassland-i"] = { + tile_name = "vegetation-green-grass-3", + tree_name = "tree-grassland-i", + weight = 1447 + }, + ["tree-grassland-k"] = { + tile_name = "vegetation-green-grass-3", + tree_name = "tree-grassland-k", + weight = 8625 + }, + ["tree-grassland-l"] = { + tile_name = "vegetation-green-grass-3", + tree_name = "tree-grassland-l", + weight = 49431 + }, + ["tree-grassland-m"] = { + tile_name = "vegetation-green-grass-3", + tree_name = "tree-grassland-m", + weight = 127 + }, + ["tree-grassland-n"] = { + tile_name = "vegetation-green-grass-3", + tree_name = "tree-grassland-n", + weight = 22749 + }, + ["tree-grassland-p"] = { + tile_name = "vegetation-green-grass-3", + tree_name = "tree-grassland-p", + weight = 471 + }, + ["tree-wetland-b"] = { + tile_name = "vegetation-green-grass-3", + tree_name = "tree-wetland-b", + weight = 1006 + }, + ["tree-wetland-c"] = { + tile_name = "vegetation-green-grass-3", + tree_name = "tree-wetland-c", + weight = 37 + }, + ["tree-wetland-d"] = { + tile_name = "vegetation-green-grass-3", + tree_name = "tree-wetland-d", + weight = 43066 + }, + ["tree-wetland-e"] = { + tile_name = "vegetation-green-grass-3", + tree_name = "tree-wetland-e", + weight = 130003 + }, + ["tree-wetland-f"] = { + tile_name = "vegetation-green-grass-3", + tree_name = "tree-wetland-f", + weight = 6 + }, + ["tree-wetland-g"] = { + tile_name = "vegetation-green-grass-3", + tree_name = "tree-wetland-g", + weight = 1560 + }, + ["tree-wetland-h"] = { + tile_name = "vegetation-green-grass-3", + tree_name = "tree-wetland-h", + weight = 743 + }, + ["tree-wetland-i"] = { + tile_name = "vegetation-green-grass-3", + tree_name = "tree-wetland-i", + weight = 191 + }, + ["tree-wetland-j"] = { + tile_name = "vegetation-green-grass-3", + tree_name = "tree-wetland-j", + weight = 17872 + }, + ["tree-wetland-k"] = { + tile_name = "vegetation-green-grass-3", + tree_name = "tree-wetland-k", + weight = 49745 + }, + ["tree-wetland-l"] = { + tile_name = "vegetation-green-grass-3", + tree_name = "tree-wetland-l", + weight = 350 + }, + ["tree-wetland-m"] = { + tile_name = "vegetation-green-grass-3", + tree_name = "tree-wetland-m", + weight = 125 + }, + ["tree-wetland-n"] = { + tile_name = "vegetation-green-grass-3", + tree_name = "tree-wetland-n", + weight = 417 + }, + ["tree-wetland-o"] = { + tile_name = "vegetation-green-grass-3", + tree_name = "tree-wetland-o", + weight = 316 + } +} +terrains["vegetation-purple-grass-2"] = { + name = "vegetation-purple-grass-2", + ["tree-dryland-h"] = { + tile_name = "vegetation-purple-grass-2", + tree_name = "tree-dryland-h", + weight = 270 + }, + ["tree-dryland-l"] = { + tile_name = "vegetation-purple-grass-2", + tree_name = "tree-dryland-l", + weight = 2 + }, + ["tree-dryland-m"] = { + tile_name = "vegetation-purple-grass-2", + tree_name = "tree-dryland-m", + weight = 3 + }, + ["tree-grassland-a"] = { + tile_name = "vegetation-purple-grass-2", + tree_name = "tree-grassland-a", + weight = 7 + }, + ["tree-grassland-c"] = { + tile_name = "vegetation-purple-grass-2", + tree_name = "tree-grassland-c", + weight = 12 + }, + ["tree-grassland-d"] = { + tile_name = "vegetation-purple-grass-2", + tree_name = "tree-grassland-d", + weight = 161 + }, + ["tree-grassland-e"] = { + tile_name = "vegetation-purple-grass-2", + tree_name = "tree-grassland-e", + weight = 254 + }, + ["tree-grassland-f"] = { + tile_name = "vegetation-purple-grass-2", + tree_name = "tree-grassland-f", + weight = 14 + }, + ["tree-grassland-g"] = { + tile_name = "vegetation-purple-grass-2", + tree_name = "tree-grassland-g", + weight = 140 + }, + ["tree-grassland-h"] = { + tile_name = "vegetation-purple-grass-2", + tree_name = "tree-grassland-h", + weight = 844 + }, + ["tree-grassland-h2"] = { + tile_name = "vegetation-purple-grass-2", + tree_name = "tree-grassland-h2", + weight = 383 + }, + ["tree-grassland-i"] = { + tile_name = "vegetation-purple-grass-2", + tree_name = "tree-grassland-i", + weight = 6951 + }, + ["tree-grassland-m"] = { + tile_name = "vegetation-purple-grass-2", + tree_name = "tree-grassland-m", + weight = 15 + }, + ["tree-wetland-d"] = { + tile_name = "vegetation-purple-grass-2", + tree_name = "tree-wetland-d", + weight = 3 + }, + ["tree-wetland-e"] = { + tile_name = "vegetation-purple-grass-2", + tree_name = "tree-wetland-e", + weight = 1702 + }, + ["tree-wetland-k"] = { + tile_name = "vegetation-purple-grass-2", + tree_name = "tree-wetland-k", + weight = 5 + } +} +terrains["mineral-dustyrose-dirt-3"] = { + name = "mineral-dustyrose-dirt-3", + ["tree-desert-h"] = { + tile_name = "mineral-dustyrose-dirt-3", + tree_name = "tree-desert-h", + weight = 1533 + }, + ["tree-desert-j"] = { + tile_name = "mineral-dustyrose-dirt-3", + tree_name = "tree-desert-j", + weight = 1043 + }, + ["tree-desert-k"] = { + tile_name = "mineral-dustyrose-dirt-3", + tree_name = "tree-desert-k", + weight = 453 + }, + ["tree-desert-n"] = { + tile_name = "mineral-dustyrose-dirt-3", + tree_name = "tree-desert-n", + weight = 3 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-dustyrose-dirt-3", + tree_name = "tree-dryland-b", + weight = 64 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-dustyrose-dirt-3", + tree_name = "tree-dryland-c", + weight = 6 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-dustyrose-dirt-3", + tree_name = "tree-dryland-e", + weight = 60 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-dustyrose-dirt-3", + tree_name = "tree-dryland-f", + weight = 95 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-dustyrose-dirt-3", + tree_name = "tree-dryland-g", + weight = 47 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-dustyrose-dirt-3", + tree_name = "tree-dryland-h", + weight = 58239 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-dustyrose-dirt-3", + tree_name = "tree-dryland-j", + weight = 3 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-dustyrose-dirt-3", + tree_name = "tree-dryland-k", + weight = 18 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-dustyrose-dirt-3", + tree_name = "tree-dryland-l", + weight = 20436 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-dustyrose-dirt-3", + tree_name = "tree-dryland-m", + weight = 3671 + }, + ["tree-grassland-a"] = { + tile_name = "mineral-dustyrose-dirt-3", + tree_name = "tree-grassland-a", + weight = 22 + }, + ["tree-grassland-c"] = { + tile_name = "mineral-dustyrose-dirt-3", + tree_name = "tree-grassland-c", + weight = 67 + }, + ["tree-grassland-d"] = { + tile_name = "mineral-dustyrose-dirt-3", + tree_name = "tree-grassland-d", + weight = 141 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-dustyrose-dirt-3", + tree_name = "tree-grassland-e", + weight = 136 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-dustyrose-dirt-3", + tree_name = "tree-grassland-g", + weight = 77 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-dustyrose-dirt-3", + tree_name = "tree-grassland-h", + weight = 9445 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-dustyrose-dirt-3", + tree_name = "tree-grassland-h2", + weight = 70852 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-dustyrose-dirt-3", + tree_name = "tree-grassland-h3", + weight = 12475 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-dustyrose-dirt-3", + tree_name = "tree-grassland-i", + weight = 1005 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-dustyrose-dirt-3", + tree_name = "tree-grassland-k", + weight = 3 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-dustyrose-dirt-3", + tree_name = "tree-grassland-l", + weight = 17 + }, + ["tree-grassland-m"] = { + tile_name = "mineral-dustyrose-dirt-3", + tree_name = "tree-grassland-m", + weight = 105 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-dustyrose-dirt-3", + tree_name = "tree-wetland-e", + weight = 2772 + }, + ["tree-wetland-h"] = { + tile_name = "mineral-dustyrose-dirt-3", + tree_name = "tree-wetland-h", + weight = 30 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-dustyrose-dirt-3", + tree_name = "tree-wetland-k", + weight = 483 + } +} +terrains["mineral-dustyrose-dirt-1"] = { + name = "mineral-dustyrose-dirt-1", + ["tree-desert-h"] = { + tile_name = "mineral-dustyrose-dirt-1", + tree_name = "tree-desert-h", + weight = 2625 + }, + ["tree-desert-j"] = { + tile_name = "mineral-dustyrose-dirt-1", + tree_name = "tree-desert-j", + weight = 2467 + }, + ["tree-desert-k"] = { + tile_name = "mineral-dustyrose-dirt-1", + tree_name = "tree-desert-k", + weight = 1212 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-dustyrose-dirt-1", + tree_name = "tree-dryland-b", + weight = 197 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-dustyrose-dirt-1", + tree_name = "tree-dryland-c", + weight = 46 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-dustyrose-dirt-1", + tree_name = "tree-dryland-e", + weight = 248 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-dustyrose-dirt-1", + tree_name = "tree-dryland-f", + weight = 339 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-dustyrose-dirt-1", + tree_name = "tree-dryland-g", + weight = 157 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-dustyrose-dirt-1", + tree_name = "tree-dryland-h", + weight = 189274 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-dustyrose-dirt-1", + tree_name = "tree-dryland-j", + weight = 25 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-dustyrose-dirt-1", + tree_name = "tree-dryland-k", + weight = 76 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-dustyrose-dirt-1", + tree_name = "tree-dryland-l", + weight = 81171 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-dustyrose-dirt-1", + tree_name = "tree-dryland-m", + weight = 12640 + }, + ["tree-grassland-a"] = { + tile_name = "mineral-dustyrose-dirt-1", + tree_name = "tree-grassland-a", + weight = 39 + }, + ["tree-grassland-c"] = { + tile_name = "mineral-dustyrose-dirt-1", + tree_name = "tree-grassland-c", + weight = 114 + }, + ["tree-grassland-d"] = { + tile_name = "mineral-dustyrose-dirt-1", + tree_name = "tree-grassland-d", + weight = 154 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-dustyrose-dirt-1", + tree_name = "tree-grassland-e", + weight = 102 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-dustyrose-dirt-1", + tree_name = "tree-grassland-f", + weight = 4 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-dustyrose-dirt-1", + tree_name = "tree-grassland-g", + weight = 271 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-dustyrose-dirt-1", + tree_name = "tree-grassland-h", + weight = 17545 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-dustyrose-dirt-1", + tree_name = "tree-grassland-h2", + weight = 221098 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-dustyrose-dirt-1", + tree_name = "tree-grassland-h3", + weight = 46849 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-dustyrose-dirt-1", + tree_name = "tree-grassland-i", + weight = 2134 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-dustyrose-dirt-1", + tree_name = "tree-grassland-k", + weight = 25 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-dustyrose-dirt-1", + tree_name = "tree-grassland-l", + weight = 46 + }, + ["tree-grassland-m"] = { + tile_name = "mineral-dustyrose-dirt-1", + tree_name = "tree-grassland-m", + weight = 10 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-dustyrose-dirt-1", + tree_name = "tree-wetland-e", + weight = 7483 + }, + ["tree-wetland-h"] = { + tile_name = "mineral-dustyrose-dirt-1", + tree_name = "tree-wetland-h", + weight = 7 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-dustyrose-dirt-1", + tree_name = "tree-wetland-k", + weight = 852 + } +} +terrains["mineral-dustyrose-dirt-4"] = { + name = "mineral-dustyrose-dirt-4", + ["tree-desert-g"] = { + tile_name = "mineral-dustyrose-dirt-4", + tree_name = "tree-desert-g", + weight = 2 + }, + ["tree-desert-h"] = { + tile_name = "mineral-dustyrose-dirt-4", + tree_name = "tree-desert-h", + weight = 1195 + }, + ["tree-desert-i"] = { + tile_name = "mineral-dustyrose-dirt-4", + tree_name = "tree-desert-i", + weight = 2 + }, + ["tree-desert-j"] = { + tile_name = "mineral-dustyrose-dirt-4", + tree_name = "tree-desert-j", + weight = 1078 + }, + ["tree-desert-k"] = { + tile_name = "mineral-dustyrose-dirt-4", + tree_name = "tree-desert-k", + weight = 721 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-dustyrose-dirt-4", + tree_name = "tree-dryland-b", + weight = 26 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-dustyrose-dirt-4", + tree_name = "tree-dryland-c", + weight = 9 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-dustyrose-dirt-4", + tree_name = "tree-dryland-e", + weight = 61 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-dustyrose-dirt-4", + tree_name = "tree-dryland-f", + weight = 39 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-dustyrose-dirt-4", + tree_name = "tree-dryland-g", + weight = 28 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-dustyrose-dirt-4", + tree_name = "tree-dryland-h", + weight = 32687 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-dustyrose-dirt-4", + tree_name = "tree-dryland-j", + weight = 7 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-dustyrose-dirt-4", + tree_name = "tree-dryland-k", + weight = 5 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-dustyrose-dirt-4", + tree_name = "tree-dryland-l", + weight = 10503 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-dustyrose-dirt-4", + tree_name = "tree-dryland-m", + weight = 1883 + }, + ["tree-grassland-a"] = { + tile_name = "mineral-dustyrose-dirt-4", + tree_name = "tree-grassland-a", + weight = 18 + }, + ["tree-grassland-c"] = { + tile_name = "mineral-dustyrose-dirt-4", + tree_name = "tree-grassland-c", + weight = 110 + }, + ["tree-grassland-d"] = { + tile_name = "mineral-dustyrose-dirt-4", + tree_name = "tree-grassland-d", + weight = 96 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-dustyrose-dirt-4", + tree_name = "tree-grassland-e", + weight = 45 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-dustyrose-dirt-4", + tree_name = "tree-grassland-f", + weight = 11 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-dustyrose-dirt-4", + tree_name = "tree-grassland-g", + weight = 119 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-dustyrose-dirt-4", + tree_name = "tree-grassland-h", + weight = 6024 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-dustyrose-dirt-4", + tree_name = "tree-grassland-h2", + weight = 40015 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-dustyrose-dirt-4", + tree_name = "tree-grassland-h3", + weight = 6676 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-dustyrose-dirt-4", + tree_name = "tree-grassland-i", + weight = 349 + }, + ["tree-grassland-m"] = { + tile_name = "mineral-dustyrose-dirt-4", + tree_name = "tree-grassland-m", + weight = 16 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-dustyrose-dirt-4", + tree_name = "tree-wetland-e", + weight = 2501 + }, + ["tree-wetland-h"] = { + tile_name = "mineral-dustyrose-dirt-4", + tree_name = "tree-wetland-h", + weight = 24 + }, + ["tree-wetland-j"] = { + tile_name = "mineral-dustyrose-dirt-4", + tree_name = "tree-wetland-j", + weight = 2 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-dustyrose-dirt-4", + tree_name = "tree-wetland-k", + weight = 236 + } +} +terrains["mineral-dustyrose-dirt-6"] = { + name = "mineral-dustyrose-dirt-6", + ["tree-desert-g"] = { + tile_name = "mineral-dustyrose-dirt-6", + tree_name = "tree-desert-g", + weight = 2 + }, + ["tree-desert-h"] = { + tile_name = "mineral-dustyrose-dirt-6", + tree_name = "tree-desert-h", + weight = 691 + }, + ["tree-desert-j"] = { + tile_name = "mineral-dustyrose-dirt-6", + tree_name = "tree-desert-j", + weight = 483 + }, + ["tree-desert-k"] = { + tile_name = "mineral-dustyrose-dirt-6", + tree_name = "tree-desert-k", + weight = 267 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-dustyrose-dirt-6", + tree_name = "tree-dryland-b", + weight = 16 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-dustyrose-dirt-6", + tree_name = "tree-dryland-c", + weight = 3 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-dustyrose-dirt-6", + tree_name = "tree-dryland-e", + weight = 7 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-dustyrose-dirt-6", + tree_name = "tree-dryland-f", + weight = 14 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-dustyrose-dirt-6", + tree_name = "tree-dryland-g", + weight = 4 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-dustyrose-dirt-6", + tree_name = "tree-dryland-h", + weight = 9890 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-dustyrose-dirt-6", + tree_name = "tree-dryland-k", + weight = 2 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-dustyrose-dirt-6", + tree_name = "tree-dryland-l", + weight = 3572 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-dustyrose-dirt-6", + tree_name = "tree-dryland-m", + weight = 246 + }, + ["tree-grassland-a"] = { + tile_name = "mineral-dustyrose-dirt-6", + tree_name = "tree-grassland-a", + weight = 3 + }, + ["tree-grassland-c"] = { + tile_name = "mineral-dustyrose-dirt-6", + tree_name = "tree-grassland-c", + weight = 84 + }, + ["tree-grassland-d"] = { + tile_name = "mineral-dustyrose-dirt-6", + tree_name = "tree-grassland-d", + weight = 52 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-dustyrose-dirt-6", + tree_name = "tree-grassland-e", + weight = 44 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-dustyrose-dirt-6", + tree_name = "tree-grassland-f", + weight = 12 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-dustyrose-dirt-6", + tree_name = "tree-grassland-g", + weight = 156 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-dustyrose-dirt-6", + tree_name = "tree-grassland-h", + weight = 4249 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-dustyrose-dirt-6", + tree_name = "tree-grassland-h2", + weight = 11243 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-dustyrose-dirt-6", + tree_name = "tree-grassland-h3", + weight = 1518 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-dustyrose-dirt-6", + tree_name = "tree-grassland-i", + weight = 327 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-dustyrose-dirt-6", + tree_name = "tree-grassland-k", + weight = 8 + }, + ["tree-grassland-m"] = { + tile_name = "mineral-dustyrose-dirt-6", + tree_name = "tree-grassland-m", + weight = 26 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-dustyrose-dirt-6", + tree_name = "tree-wetland-e", + weight = 1003 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-dustyrose-dirt-6", + tree_name = "tree-wetland-k", + weight = 241 + } +} +terrains["mineral-dustyrose-dirt-5"] = { + name = "mineral-dustyrose-dirt-5", + ["tree-desert-h"] = { + tile_name = "mineral-dustyrose-dirt-5", + tree_name = "tree-desert-h", + weight = 834 + }, + ["tree-desert-j"] = { + tile_name = "mineral-dustyrose-dirt-5", + tree_name = "tree-desert-j", + weight = 623 + }, + ["tree-desert-k"] = { + tile_name = "mineral-dustyrose-dirt-5", + tree_name = "tree-desert-k", + weight = 375 + }, + ["tree-desert-l"] = { + tile_name = "mineral-dustyrose-dirt-5", + tree_name = "tree-desert-l", + weight = 2 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-dustyrose-dirt-5", + tree_name = "tree-dryland-b", + weight = 21 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-dustyrose-dirt-5", + tree_name = "tree-dryland-e", + weight = 25 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-dustyrose-dirt-5", + tree_name = "tree-dryland-f", + weight = 24 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-dustyrose-dirt-5", + tree_name = "tree-dryland-g", + weight = 15 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-dustyrose-dirt-5", + tree_name = "tree-dryland-h", + weight = 15414 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-dustyrose-dirt-5", + tree_name = "tree-dryland-j", + weight = 5 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-dustyrose-dirt-5", + tree_name = "tree-dryland-k", + weight = 5 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-dustyrose-dirt-5", + tree_name = "tree-dryland-l", + weight = 4683 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-dustyrose-dirt-5", + tree_name = "tree-dryland-m", + weight = 729 + }, + ["tree-grassland-a"] = { + tile_name = "mineral-dustyrose-dirt-5", + tree_name = "tree-grassland-a", + weight = 5 + }, + ["tree-grassland-c"] = { + tile_name = "mineral-dustyrose-dirt-5", + tree_name = "tree-grassland-c", + weight = 48 + }, + ["tree-grassland-d"] = { + tile_name = "mineral-dustyrose-dirt-5", + tree_name = "tree-grassland-d", + weight = 57 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-dustyrose-dirt-5", + tree_name = "tree-grassland-e", + weight = 111 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-dustyrose-dirt-5", + tree_name = "tree-grassland-f", + weight = 6 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-dustyrose-dirt-5", + tree_name = "tree-grassland-g", + weight = 119 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-dustyrose-dirt-5", + tree_name = "tree-grassland-h", + weight = 4863 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-dustyrose-dirt-5", + tree_name = "tree-grassland-h2", + weight = 17537 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-dustyrose-dirt-5", + tree_name = "tree-grassland-h3", + weight = 3420 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-dustyrose-dirt-5", + tree_name = "tree-grassland-i", + weight = 636 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-dustyrose-dirt-5", + tree_name = "tree-grassland-l", + weight = 10 + }, + ["tree-grassland-m"] = { + tile_name = "mineral-dustyrose-dirt-5", + tree_name = "tree-grassland-m", + weight = 6 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-dustyrose-dirt-5", + tree_name = "tree-wetland-e", + weight = 1125 + }, + ["tree-wetland-f"] = { + tile_name = "mineral-dustyrose-dirt-5", + tree_name = "tree-wetland-f", + weight = 2 + }, + ["tree-wetland-h"] = { + tile_name = "mineral-dustyrose-dirt-5", + tree_name = "tree-wetland-h", + weight = 4 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-dustyrose-dirt-5", + tree_name = "tree-wetland-k", + weight = 424 + }, + ["tree-wetland-l"] = { + tile_name = "mineral-dustyrose-dirt-5", + tree_name = "tree-wetland-l", + weight = 2 + } +} +terrains["mineral-dustyrose-dirt-2"] = { + name = "mineral-dustyrose-dirt-2", + ["tree-desert-f"] = { + tile_name = "mineral-dustyrose-dirt-2", + tree_name = "tree-desert-f", + weight = 2 + }, + ["tree-desert-h"] = { + tile_name = "mineral-dustyrose-dirt-2", + tree_name = "tree-desert-h", + weight = 1874 + }, + ["tree-desert-j"] = { + tile_name = "mineral-dustyrose-dirt-2", + tree_name = "tree-desert-j", + weight = 1285 + }, + ["tree-desert-k"] = { + tile_name = "mineral-dustyrose-dirt-2", + tree_name = "tree-desert-k", + weight = 1046 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-dustyrose-dirt-2", + tree_name = "tree-dryland-b", + weight = 120 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-dustyrose-dirt-2", + tree_name = "tree-dryland-c", + weight = 18 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-dustyrose-dirt-2", + tree_name = "tree-dryland-e", + weight = 143 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-dustyrose-dirt-2", + tree_name = "tree-dryland-f", + weight = 187 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-dustyrose-dirt-2", + tree_name = "tree-dryland-g", + weight = 114 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-dustyrose-dirt-2", + tree_name = "tree-dryland-h", + weight = 99866 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-dustyrose-dirt-2", + tree_name = "tree-dryland-j", + weight = 17 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-dustyrose-dirt-2", + tree_name = "tree-dryland-k", + weight = 30 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-dustyrose-dirt-2", + tree_name = "tree-dryland-l", + weight = 39143 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-dustyrose-dirt-2", + tree_name = "tree-dryland-m", + weight = 5324 + }, + ["tree-grassland-a"] = { + tile_name = "mineral-dustyrose-dirt-2", + tree_name = "tree-grassland-a", + weight = 9 + }, + ["tree-grassland-c"] = { + tile_name = "mineral-dustyrose-dirt-2", + tree_name = "tree-grassland-c", + weight = 247 + }, + ["tree-grassland-d"] = { + tile_name = "mineral-dustyrose-dirt-2", + tree_name = "tree-grassland-d", + weight = 102 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-dustyrose-dirt-2", + tree_name = "tree-grassland-e", + weight = 113 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-dustyrose-dirt-2", + tree_name = "tree-grassland-f", + weight = 2 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-dustyrose-dirt-2", + tree_name = "tree-grassland-g", + weight = 189 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-dustyrose-dirt-2", + tree_name = "tree-grassland-h", + weight = 10730 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-dustyrose-dirt-2", + tree_name = "tree-grassland-h2", + weight = 113469 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-dustyrose-dirt-2", + tree_name = "tree-grassland-h3", + weight = 23488 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-dustyrose-dirt-2", + tree_name = "tree-grassland-i", + weight = 1290 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-dustyrose-dirt-2", + tree_name = "tree-grassland-k", + weight = 4 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-dustyrose-dirt-2", + tree_name = "tree-grassland-l", + weight = 12 + }, + ["tree-grassland-m"] = { + tile_name = "mineral-dustyrose-dirt-2", + tree_name = "tree-grassland-m", + weight = 17 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-dustyrose-dirt-2", + tree_name = "tree-wetland-e", + weight = 5028 + }, + ["tree-wetland-h"] = { + tile_name = "mineral-dustyrose-dirt-2", + tree_name = "tree-wetland-h", + weight = 2 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-dustyrose-dirt-2", + tree_name = "tree-wetland-k", + weight = 702 + } +} +terrains["mineral-beige-dirt-1"] = { + name = "mineral-beige-dirt-1", + ["tree-desert-c"] = { + tile_name = "mineral-beige-dirt-1", + tree_name = "tree-desert-c", + weight = 3 + }, + ["tree-desert-f"] = { + tile_name = "mineral-beige-dirt-1", + tree_name = "tree-desert-f", + weight = 2037 + }, + ["tree-desert-h"] = { + tile_name = "mineral-beige-dirt-1", + tree_name = "tree-desert-h", + weight = 2595 + }, + ["tree-desert-i"] = { + tile_name = "mineral-beige-dirt-1", + tree_name = "tree-desert-i", + weight = 3785 + }, + ["tree-desert-j"] = { + tile_name = "mineral-beige-dirt-1", + tree_name = "tree-desert-j", + weight = 2670 + }, + ["tree-desert-n"] = { + tile_name = "mineral-beige-dirt-1", + tree_name = "tree-desert-n", + weight = 2 + }, + ["tree-dryland-a"] = { + tile_name = "mineral-beige-dirt-1", + tree_name = "tree-dryland-a", + weight = 304 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-beige-dirt-1", + tree_name = "tree-dryland-b", + weight = 504 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-beige-dirt-1", + tree_name = "tree-dryland-e", + weight = 364 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-beige-dirt-1", + tree_name = "tree-dryland-f", + weight = 1113 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-beige-dirt-1", + tree_name = "tree-dryland-g", + weight = 87481 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-beige-dirt-1", + tree_name = "tree-dryland-h", + weight = 90348 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-beige-dirt-1", + tree_name = "tree-dryland-i", + weight = 202 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-beige-dirt-1", + tree_name = "tree-dryland-j", + weight = 247 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-beige-dirt-1", + tree_name = "tree-dryland-k", + weight = 89847 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-beige-dirt-1", + tree_name = "tree-dryland-l", + weight = 114208 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-beige-dirt-1", + tree_name = "tree-dryland-m", + weight = 183 + }, + ["tree-dryland-n"] = { + tile_name = "mineral-beige-dirt-1", + tree_name = "tree-dryland-n", + weight = 335 + }, + ["tree-grassland-a"] = { + tile_name = "mineral-beige-dirt-1", + tree_name = "tree-grassland-a", + weight = 17 + }, + ["tree-grassland-b"] = { + tile_name = "mineral-beige-dirt-1", + tree_name = "tree-grassland-b", + weight = 23 + }, + ["tree-grassland-c"] = { + tile_name = "mineral-beige-dirt-1", + tree_name = "tree-grassland-c", + weight = 186 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-beige-dirt-1", + tree_name = "tree-grassland-f", + weight = 755 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-beige-dirt-1", + tree_name = "tree-grassland-g", + weight = 40826 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-beige-dirt-1", + tree_name = "tree-grassland-h", + weight = 33224 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-beige-dirt-1", + tree_name = "tree-grassland-h2", + weight = 3895 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-beige-dirt-1", + tree_name = "tree-grassland-h3", + weight = 1089 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-beige-dirt-1", + tree_name = "tree-grassland-i", + weight = 386 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-beige-dirt-1", + tree_name = "tree-grassland-k", + weight = 2814 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-beige-dirt-1", + tree_name = "tree-grassland-l", + weight = 48995 + }, + ["tree-grassland-m"] = { + tile_name = "mineral-beige-dirt-1", + tree_name = "tree-grassland-m", + weight = 45 + }, + ["tree-grassland-n"] = { + tile_name = "mineral-beige-dirt-1", + tree_name = "tree-grassland-n", + weight = 448 + }, + ["tree-grassland-p"] = { + tile_name = "mineral-beige-dirt-1", + tree_name = "tree-grassland-p", + weight = 64 + }, + ["tree-wetland-d"] = { + tile_name = "mineral-beige-dirt-1", + tree_name = "tree-wetland-d", + weight = 2865 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-beige-dirt-1", + tree_name = "tree-wetland-e", + weight = 16085 + }, + ["tree-wetland-j"] = { + tile_name = "mineral-beige-dirt-1", + tree_name = "tree-wetland-j", + weight = 2740 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-beige-dirt-1", + tree_name = "tree-wetland-k", + weight = 2925 + } +} +terrains["mineral-grey-dirt-6"] = { + name = "mineral-grey-dirt-6", + ["tree-desert-i"] = { + tile_name = "mineral-grey-dirt-6", + tree_name = "tree-desert-i", + weight = 181 + }, + ["tree-desert-j"] = { + tile_name = "mineral-grey-dirt-6", + tree_name = "tree-desert-j", + weight = 72 + }, + ["tree-desert-m"] = { + tile_name = "mineral-grey-dirt-6", + tree_name = "tree-desert-m", + weight = 2 + }, + ["tree-desert-n"] = { + tile_name = "mineral-grey-dirt-6", + tree_name = "tree-desert-n", + weight = 383 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-grey-dirt-6", + tree_name = "tree-dryland-b", + weight = 8 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-grey-dirt-6", + tree_name = "tree-dryland-f", + weight = 7 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-grey-dirt-6", + tree_name = "tree-dryland-g", + weight = 3 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-grey-dirt-6", + tree_name = "tree-dryland-h", + weight = 3 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-grey-dirt-6", + tree_name = "tree-dryland-j", + weight = 11 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-grey-dirt-6", + tree_name = "tree-dryland-k", + weight = 1037 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-grey-dirt-6", + tree_name = "tree-dryland-l", + weight = 6830 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-grey-dirt-6", + tree_name = "tree-dryland-m", + weight = 6 + }, + ["tree-dryland-n"] = { + tile_name = "mineral-grey-dirt-6", + tree_name = "tree-dryland-n", + weight = 26 + }, + ["tree-dryland-o"] = { + tile_name = "mineral-grey-dirt-6", + tree_name = "tree-dryland-o", + weight = 2 + }, + ["tree-grassland-c"] = { + tile_name = "mineral-grey-dirt-6", + tree_name = "tree-grassland-c", + weight = 4 + }, + ["tree-grassland-d"] = { + tile_name = "mineral-grey-dirt-6", + tree_name = "tree-grassland-d", + weight = 11 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-grey-dirt-6", + tree_name = "tree-grassland-e", + weight = 2 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-grey-dirt-6", + tree_name = "tree-grassland-g", + weight = 16 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-grey-dirt-6", + tree_name = "tree-grassland-h", + weight = 6017 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-grey-dirt-6", + tree_name = "tree-grassland-h3", + weight = 181 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-grey-dirt-6", + tree_name = "tree-grassland-i", + weight = 3 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-grey-dirt-6", + tree_name = "tree-grassland-k", + weight = 219 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-grey-dirt-6", + tree_name = "tree-grassland-l", + weight = 2225 + }, + ["tree-grassland-m"] = { + tile_name = "mineral-grey-dirt-6", + tree_name = "tree-grassland-m", + weight = 2 + }, + ["tree-grassland-n"] = { + tile_name = "mineral-grey-dirt-6", + tree_name = "tree-grassland-n", + weight = 6232 + }, + ["tree-grassland-p"] = { + tile_name = "mineral-grey-dirt-6", + tree_name = "tree-grassland-p", + weight = 15491 + }, + ["tree-grassland-q"] = { + tile_name = "mineral-grey-dirt-6", + tree_name = "tree-grassland-q", + weight = 10 + }, + ["tree-snow-a"] = { + tile_name = "mineral-grey-dirt-6", + tree_name = "tree-snow-a", + weight = 5 + }, + ["tree-wetland-j"] = { + tile_name = "mineral-grey-dirt-6", + tree_name = "tree-wetland-j", + weight = 378 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-grey-dirt-6", + tree_name = "tree-wetland-k", + weight = 328 + }, + ["tree-wetland-n"] = { + tile_name = "mineral-grey-dirt-6", + tree_name = "tree-wetland-n", + weight = 283 + }, + ["tree-wetland-o"] = { + tile_name = "mineral-grey-dirt-6", + tree_name = "tree-wetland-o", + weight = 350 + } +} +terrains["mineral-black-dirt-4"] = { + name = "mineral-black-dirt-4", + ["tree-desert-j"] = { + tile_name = "mineral-black-dirt-4", + tree_name = "tree-desert-j", + weight = 88 + }, + ["tree-desert-k"] = { + tile_name = "mineral-black-dirt-4", + tree_name = "tree-desert-k", + weight = 259 + }, + ["tree-desert-n"] = { + tile_name = "mineral-black-dirt-4", + tree_name = "tree-desert-n", + weight = 396 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-black-dirt-4", + tree_name = "tree-dryland-c", + weight = 36 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-black-dirt-4", + tree_name = "tree-dryland-f", + weight = 3 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-black-dirt-4", + tree_name = "tree-dryland-h", + weight = 81 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-black-dirt-4", + tree_name = "tree-dryland-i", + weight = 2 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-black-dirt-4", + tree_name = "tree-dryland-j", + weight = 32 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-black-dirt-4", + tree_name = "tree-dryland-k", + weight = 10 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-black-dirt-4", + tree_name = "tree-dryland-l", + weight = 14473 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-black-dirt-4", + tree_name = "tree-dryland-m", + weight = 2007 + }, + ["tree-dryland-n"] = { + tile_name = "mineral-black-dirt-4", + tree_name = "tree-dryland-n", + weight = 74 + }, + ["tree-dryland-o"] = { + tile_name = "mineral-black-dirt-4", + tree_name = "tree-dryland-o", + weight = 5149 + }, + ["tree-grassland-d"] = { + tile_name = "mineral-black-dirt-4", + tree_name = "tree-grassland-d", + weight = 130 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-black-dirt-4", + tree_name = "tree-grassland-e", + weight = 101 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-black-dirt-4", + tree_name = "tree-grassland-h", + weight = 597 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-black-dirt-4", + tree_name = "tree-grassland-h2", + weight = 23 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-black-dirt-4", + tree_name = "tree-grassland-h3", + weight = 14477 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-black-dirt-4", + tree_name = "tree-grassland-i", + weight = 159 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-black-dirt-4", + tree_name = "tree-grassland-k", + weight = 57 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-black-dirt-4", + tree_name = "tree-grassland-l", + weight = 4 + }, + ["tree-grassland-m"] = { + tile_name = "mineral-black-dirt-4", + tree_name = "tree-grassland-m", + weight = 2618 + }, + ["tree-grassland-n"] = { + tile_name = "mineral-black-dirt-4", + tree_name = "tree-grassland-n", + weight = 33 + }, + ["tree-grassland-p"] = { + tile_name = "mineral-black-dirt-4", + tree_name = "tree-grassland-p", + weight = 2958 + }, + ["tree-snow-a"] = { + tile_name = "mineral-black-dirt-4", + tree_name = "tree-snow-a", + weight = 4 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-black-dirt-4", + tree_name = "tree-wetland-k", + weight = 850 + }, + ["tree-wetland-l"] = { + tile_name = "mineral-black-dirt-4", + tree_name = "tree-wetland-l", + weight = 254 + }, + ["tree-wetland-o"] = { + tile_name = "mineral-black-dirt-4", + tree_name = "tree-wetland-o", + weight = 2273 + } +} +terrains["mineral-black-dirt-6"] = { + name = "mineral-black-dirt-6", + ["tree-desert-j"] = { + tile_name = "mineral-black-dirt-6", + tree_name = "tree-desert-j", + weight = 82 + }, + ["tree-desert-k"] = { + tile_name = "mineral-black-dirt-6", + tree_name = "tree-desert-k", + weight = 120 + }, + ["tree-desert-l"] = { + tile_name = "mineral-black-dirt-6", + tree_name = "tree-desert-l", + weight = 3 + }, + ["tree-desert-n"] = { + tile_name = "mineral-black-dirt-6", + tree_name = "tree-desert-n", + weight = 212 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-black-dirt-6", + tree_name = "tree-dryland-f", + weight = 4 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-black-dirt-6", + tree_name = "tree-dryland-h", + weight = 13 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-black-dirt-6", + tree_name = "tree-dryland-j", + weight = 10 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-black-dirt-6", + tree_name = "tree-dryland-k", + weight = 3 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-black-dirt-6", + tree_name = "tree-dryland-l", + weight = 7496 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-black-dirt-6", + tree_name = "tree-dryland-m", + weight = 733 + }, + ["tree-dryland-n"] = { + tile_name = "mineral-black-dirt-6", + tree_name = "tree-dryland-n", + weight = 5 + }, + ["tree-dryland-o"] = { + tile_name = "mineral-black-dirt-6", + tree_name = "tree-dryland-o", + weight = 1057 + }, + ["tree-grassland-d"] = { + tile_name = "mineral-black-dirt-6", + tree_name = "tree-grassland-d", + weight = 79 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-black-dirt-6", + tree_name = "tree-grassland-e", + weight = 25 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-black-dirt-6", + tree_name = "tree-grassland-h", + weight = 138 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-black-dirt-6", + tree_name = "tree-grassland-h2", + weight = 4 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-black-dirt-6", + tree_name = "tree-grassland-h3", + weight = 5768 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-black-dirt-6", + tree_name = "tree-grassland-i", + weight = 272 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-black-dirt-6", + tree_name = "tree-grassland-k", + weight = 40 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-black-dirt-6", + tree_name = "tree-grassland-l", + weight = 3 + }, + ["tree-grassland-m"] = { + tile_name = "mineral-black-dirt-6", + tree_name = "tree-grassland-m", + weight = 1111 + }, + ["tree-grassland-n"] = { + tile_name = "mineral-black-dirt-6", + tree_name = "tree-grassland-n", + weight = 32 + }, + ["tree-grassland-p"] = { + tile_name = "mineral-black-dirt-6", + tree_name = "tree-grassland-p", + weight = 3240 + }, + ["tree-snow-a"] = { + tile_name = "mineral-black-dirt-6", + tree_name = "tree-snow-a", + weight = 10 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-black-dirt-6", + tree_name = "tree-wetland-k", + weight = 739 + }, + ["tree-wetland-l"] = { + tile_name = "mineral-black-dirt-6", + tree_name = "tree-wetland-l", + weight = 75 + }, + ["tree-wetland-o"] = { + tile_name = "mineral-black-dirt-6", + tree_name = "tree-wetland-o", + weight = 901 + } +} +terrains["mineral-black-dirt-5"] = { + name = "mineral-black-dirt-5", + ["tree-desert-j"] = { + tile_name = "mineral-black-dirt-5", + tree_name = "tree-desert-j", + weight = 42 + }, + ["tree-desert-k"] = { + tile_name = "mineral-black-dirt-5", + tree_name = "tree-desert-k", + weight = 218 + }, + ["tree-desert-n"] = { + tile_name = "mineral-black-dirt-5", + tree_name = "tree-desert-n", + weight = 161 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-black-dirt-5", + tree_name = "tree-dryland-b", + weight = 2 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-black-dirt-5", + tree_name = "tree-dryland-c", + weight = 8 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-black-dirt-5", + tree_name = "tree-dryland-f", + weight = 13 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-black-dirt-5", + tree_name = "tree-dryland-h", + weight = 21 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-black-dirt-5", + tree_name = "tree-dryland-i", + weight = 2 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-black-dirt-5", + tree_name = "tree-dryland-j", + weight = 7 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-black-dirt-5", + tree_name = "tree-dryland-k", + weight = 2 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-black-dirt-5", + tree_name = "tree-dryland-l", + weight = 9405 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-black-dirt-5", + tree_name = "tree-dryland-m", + weight = 932 + }, + ["tree-dryland-n"] = { + tile_name = "mineral-black-dirt-5", + tree_name = "tree-dryland-n", + weight = 18 + }, + ["tree-dryland-o"] = { + tile_name = "mineral-black-dirt-5", + tree_name = "tree-dryland-o", + weight = 1626 + }, + ["tree-grassland-d"] = { + tile_name = "mineral-black-dirt-5", + tree_name = "tree-grassland-d", + weight = 116 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-black-dirt-5", + tree_name = "tree-grassland-e", + weight = 96 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-black-dirt-5", + tree_name = "tree-grassland-h", + weight = 248 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-black-dirt-5", + tree_name = "tree-grassland-h2", + weight = 10 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-black-dirt-5", + tree_name = "tree-grassland-h3", + weight = 7989 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-black-dirt-5", + tree_name = "tree-grassland-i", + weight = 317 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-black-dirt-5", + tree_name = "tree-grassland-k", + weight = 21 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-black-dirt-5", + tree_name = "tree-grassland-l", + weight = 9 + }, + ["tree-grassland-m"] = { + tile_name = "mineral-black-dirt-5", + tree_name = "tree-grassland-m", + weight = 2395 + }, + ["tree-grassland-n"] = { + tile_name = "mineral-black-dirt-5", + tree_name = "tree-grassland-n", + weight = 20 + }, + ["tree-grassland-p"] = { + tile_name = "mineral-black-dirt-5", + tree_name = "tree-grassland-p", + weight = 4647 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-black-dirt-5", + tree_name = "tree-wetland-e", + weight = 9 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-black-dirt-5", + tree_name = "tree-wetland-k", + weight = 643 + }, + ["tree-wetland-l"] = { + tile_name = "mineral-black-dirt-5", + tree_name = "tree-wetland-l", + weight = 170 + }, + ["tree-wetland-o"] = { + tile_name = "mineral-black-dirt-5", + tree_name = "tree-wetland-o", + weight = 1186 + } +} +terrains["mineral-grey-dirt-3"] = { + name = "mineral-grey-dirt-3", + ["tree-desert-b"] = { + tile_name = "mineral-grey-dirt-3", + tree_name = "tree-desert-b", + weight = 2 + }, + ["tree-desert-i"] = { + tile_name = "mineral-grey-dirt-3", + tree_name = "tree-desert-i", + weight = 459 + }, + ["tree-desert-j"] = { + tile_name = "mineral-grey-dirt-3", + tree_name = "tree-desert-j", + weight = 403 + }, + ["tree-desert-m"] = { + tile_name = "mineral-grey-dirt-3", + tree_name = "tree-desert-m", + weight = 2 + }, + ["tree-desert-n"] = { + tile_name = "mineral-grey-dirt-3", + tree_name = "tree-desert-n", + weight = 955 + }, + ["tree-dryland-a"] = { + tile_name = "mineral-grey-dirt-3", + tree_name = "tree-dryland-a", + weight = 2 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-grey-dirt-3", + tree_name = "tree-dryland-b", + weight = 69 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-grey-dirt-3", + tree_name = "tree-dryland-f", + weight = 93 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-grey-dirt-3", + tree_name = "tree-dryland-g", + weight = 4 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-grey-dirt-3", + tree_name = "tree-dryland-h", + weight = 14 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-grey-dirt-3", + tree_name = "tree-dryland-j", + weight = 85 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-grey-dirt-3", + tree_name = "tree-dryland-k", + weight = 8013 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-grey-dirt-3", + tree_name = "tree-dryland-l", + weight = 58493 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-grey-dirt-3", + tree_name = "tree-dryland-m", + weight = 7 + }, + ["tree-dryland-n"] = { + tile_name = "mineral-grey-dirt-3", + tree_name = "tree-dryland-n", + weight = 238 + }, + ["tree-dryland-o"] = { + tile_name = "mineral-grey-dirt-3", + tree_name = "tree-dryland-o", + weight = 70 + }, + ["tree-grassland-c"] = { + tile_name = "mineral-grey-dirt-3", + tree_name = "tree-grassland-c", + weight = 29 + }, + ["tree-grassland-d"] = { + tile_name = "mineral-grey-dirt-3", + tree_name = "tree-grassland-d", + weight = 3 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-grey-dirt-3", + tree_name = "tree-grassland-e", + weight = 3 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-grey-dirt-3", + tree_name = "tree-grassland-g", + weight = 29 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-grey-dirt-3", + tree_name = "tree-grassland-h", + weight = 24912 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-grey-dirt-3", + tree_name = "tree-grassland-h2", + weight = 3 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-grey-dirt-3", + tree_name = "tree-grassland-h3", + weight = 1664 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-grey-dirt-3", + tree_name = "tree-grassland-i", + weight = 5 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-grey-dirt-3", + tree_name = "tree-grassland-k", + weight = 268 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-grey-dirt-3", + tree_name = "tree-grassland-l", + weight = 6407 + }, + ["tree-grassland-m"] = { + tile_name = "mineral-grey-dirt-3", + tree_name = "tree-grassland-m", + weight = 43 + }, + ["tree-grassland-n"] = { + tile_name = "mineral-grey-dirt-3", + tree_name = "tree-grassland-n", + weight = 20420 + }, + ["tree-grassland-p"] = { + tile_name = "mineral-grey-dirt-3", + tree_name = "tree-grassland-p", + weight = 45600 + }, + ["tree-grassland-q"] = { + tile_name = "mineral-grey-dirt-3", + tree_name = "tree-grassland-q", + weight = 66 + }, + ["tree-snow-a"] = { + tile_name = "mineral-grey-dirt-3", + tree_name = "tree-snow-a", + weight = 76 + }, + ["tree-wetland-j"] = { + tile_name = "mineral-grey-dirt-3", + tree_name = "tree-wetland-j", + weight = 1664 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-grey-dirt-3", + tree_name = "tree-wetland-k", + weight = 1999 + }, + ["tree-wetland-n"] = { + tile_name = "mineral-grey-dirt-3", + tree_name = "tree-wetland-n", + weight = 1708 + }, + ["tree-wetland-o"] = { + tile_name = "mineral-grey-dirt-3", + tree_name = "tree-wetland-o", + weight = 1290 + } +} +terrains["mineral-grey-dirt-2"] = { + name = "mineral-grey-dirt-2", + ["tree-desert-i"] = { + tile_name = "mineral-grey-dirt-2", + tree_name = "tree-desert-i", + weight = 267 + }, + ["tree-desert-j"] = { + tile_name = "mineral-grey-dirt-2", + tree_name = "tree-desert-j", + weight = 346 + }, + ["tree-desert-k"] = { + tile_name = "mineral-grey-dirt-2", + tree_name = "tree-desert-k", + weight = 21 + }, + ["tree-desert-n"] = { + tile_name = "mineral-grey-dirt-2", + tree_name = "tree-desert-n", + weight = 1294 + }, + ["tree-dryland-a"] = { + tile_name = "mineral-grey-dirt-2", + tree_name = "tree-dryland-a", + weight = 7 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-grey-dirt-2", + tree_name = "tree-dryland-b", + weight = 120 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-grey-dirt-2", + tree_name = "tree-dryland-f", + weight = 165 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-grey-dirt-2", + tree_name = "tree-dryland-g", + weight = 28 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-grey-dirt-2", + tree_name = "tree-dryland-h", + weight = 6 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-grey-dirt-2", + tree_name = "tree-dryland-j", + weight = 123 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-grey-dirt-2", + tree_name = "tree-dryland-k", + weight = 12825 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-grey-dirt-2", + tree_name = "tree-dryland-l", + weight = 103569 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-grey-dirt-2", + tree_name = "tree-dryland-m", + weight = 8 + }, + ["tree-dryland-n"] = { + tile_name = "mineral-grey-dirt-2", + tree_name = "tree-dryland-n", + weight = 873 + }, + ["tree-dryland-o"] = { + tile_name = "mineral-grey-dirt-2", + tree_name = "tree-dryland-o", + weight = 157 + }, + ["tree-grassland-c"] = { + tile_name = "mineral-grey-dirt-2", + tree_name = "tree-grassland-c", + weight = 9 + }, + ["tree-grassland-d"] = { + tile_name = "mineral-grey-dirt-2", + tree_name = "tree-grassland-d", + weight = 2 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-grey-dirt-2", + tree_name = "tree-grassland-e", + weight = 3 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-grey-dirt-2", + tree_name = "tree-grassland-g", + weight = 30 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-grey-dirt-2", + tree_name = "tree-grassland-h", + weight = 26773 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-grey-dirt-2", + tree_name = "tree-grassland-h3", + weight = 4437 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-grey-dirt-2", + tree_name = "tree-grassland-i", + weight = 2 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-grey-dirt-2", + tree_name = "tree-grassland-k", + weight = 247 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-grey-dirt-2", + tree_name = "tree-grassland-l", + weight = 7453 + }, + ["tree-grassland-m"] = { + tile_name = "mineral-grey-dirt-2", + tree_name = "tree-grassland-m", + weight = 65 + }, + ["tree-grassland-n"] = { + tile_name = "mineral-grey-dirt-2", + tree_name = "tree-grassland-n", + weight = 25771 + }, + ["tree-grassland-p"] = { + tile_name = "mineral-grey-dirt-2", + tree_name = "tree-grassland-p", + weight = 54510 + }, + ["tree-grassland-q"] = { + tile_name = "mineral-grey-dirt-2", + tree_name = "tree-grassland-q", + weight = 46 + }, + ["tree-snow-a"] = { + tile_name = "mineral-grey-dirt-2", + tree_name = "tree-snow-a", + weight = 53 + }, + ["tree-wetland-j"] = { + tile_name = "mineral-grey-dirt-2", + tree_name = "tree-wetland-j", + weight = 2729 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-grey-dirt-2", + tree_name = "tree-wetland-k", + weight = 2642 + }, + ["tree-wetland-n"] = { + tile_name = "mineral-grey-dirt-2", + tree_name = "tree-wetland-n", + weight = 1836 + }, + ["tree-wetland-o"] = { + tile_name = "mineral-grey-dirt-2", + tree_name = "tree-wetland-o", + weight = 2527 + } +} +terrains["mineral-grey-dirt-1"] = { + name = "mineral-grey-dirt-1", + ["tree-desert-i"] = { + tile_name = "mineral-grey-dirt-1", + tree_name = "tree-desert-i", + weight = 792 + }, + ["tree-desert-j"] = { + tile_name = "mineral-grey-dirt-1", + tree_name = "tree-desert-j", + weight = 248 + }, + ["tree-desert-k"] = { + tile_name = "mineral-grey-dirt-1", + tree_name = "tree-desert-k", + weight = 9 + }, + ["tree-desert-m"] = { + tile_name = "mineral-grey-dirt-1", + tree_name = "tree-desert-m", + weight = 2 + }, + ["tree-desert-n"] = { + tile_name = "mineral-grey-dirt-1", + tree_name = "tree-desert-n", + weight = 2073 + }, + ["tree-dryland-a"] = { + tile_name = "mineral-grey-dirt-1", + tree_name = "tree-dryland-a", + weight = 17 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-grey-dirt-1", + tree_name = "tree-dryland-b", + weight = 200 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-grey-dirt-1", + tree_name = "tree-dryland-f", + weight = 289 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-grey-dirt-1", + tree_name = "tree-dryland-g", + weight = 55 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-grey-dirt-1", + tree_name = "tree-dryland-h", + weight = 38 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-grey-dirt-1", + tree_name = "tree-dryland-j", + weight = 364 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-grey-dirt-1", + tree_name = "tree-dryland-k", + weight = 26654 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-grey-dirt-1", + tree_name = "tree-dryland-l", + weight = 212583 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-grey-dirt-1", + tree_name = "tree-dryland-m", + weight = 2 + }, + ["tree-dryland-n"] = { + tile_name = "mineral-grey-dirt-1", + tree_name = "tree-dryland-n", + weight = 1255 + }, + ["tree-dryland-o"] = { + tile_name = "mineral-grey-dirt-1", + tree_name = "tree-dryland-o", + weight = 224 + }, + ["tree-grassland-c"] = { + tile_name = "mineral-grey-dirt-1", + tree_name = "tree-grassland-c", + weight = 39 + }, + ["tree-grassland-d"] = { + tile_name = "mineral-grey-dirt-1", + tree_name = "tree-grassland-d", + weight = 6 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-grey-dirt-1", + tree_name = "tree-grassland-e", + weight = 6 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-grey-dirt-1", + tree_name = "tree-grassland-g", + weight = 104 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-grey-dirt-1", + tree_name = "tree-grassland-h", + weight = 48870 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-grey-dirt-1", + tree_name = "tree-grassland-h3", + weight = 8785 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-grey-dirt-1", + tree_name = "tree-grassland-i", + weight = 3 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-grey-dirt-1", + tree_name = "tree-grassland-k", + weight = 365 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-grey-dirt-1", + tree_name = "tree-grassland-l", + weight = 11729 + }, + ["tree-grassland-m"] = { + tile_name = "mineral-grey-dirt-1", + tree_name = "tree-grassland-m", + weight = 80 + }, + ["tree-grassland-n"] = { + tile_name = "mineral-grey-dirt-1", + tree_name = "tree-grassland-n", + weight = 51268 + }, + ["tree-grassland-p"] = { + tile_name = "mineral-grey-dirt-1", + tree_name = "tree-grassland-p", + weight = 97855 + }, + ["tree-grassland-q"] = { + tile_name = "mineral-grey-dirt-1", + tree_name = "tree-grassland-q", + weight = 164 + }, + ["tree-snow-a"] = { + tile_name = "mineral-grey-dirt-1", + tree_name = "tree-snow-a", + weight = 9 + }, + ["tree-wetland-j"] = { + tile_name = "mineral-grey-dirt-1", + tree_name = "tree-wetland-j", + weight = 6413 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-grey-dirt-1", + tree_name = "tree-wetland-k", + weight = 5409 + }, + ["tree-wetland-n"] = { + tile_name = "mineral-grey-dirt-1", + tree_name = "tree-wetland-n", + weight = 4809 + }, + ["tree-wetland-o"] = { + tile_name = "mineral-grey-dirt-1", + tree_name = "tree-wetland-o", + weight = 4208 + } +} +terrains["mineral-beige-dirt-2"] = { + name = "mineral-beige-dirt-2", + ["tree-desert-c"] = { + tile_name = "mineral-beige-dirt-2", + tree_name = "tree-desert-c", + weight = 3 + }, + ["tree-desert-f"] = { + tile_name = "mineral-beige-dirt-2", + tree_name = "tree-desert-f", + weight = 1180 + }, + ["tree-desert-h"] = { + tile_name = "mineral-beige-dirt-2", + tree_name = "tree-desert-h", + weight = 1419 + }, + ["tree-desert-i"] = { + tile_name = "mineral-beige-dirt-2", + tree_name = "tree-desert-i", + weight = 2702 + }, + ["tree-desert-j"] = { + tile_name = "mineral-beige-dirt-2", + tree_name = "tree-desert-j", + weight = 1421 + }, + ["tree-desert-l"] = { + tile_name = "mineral-beige-dirt-2", + tree_name = "tree-desert-l", + weight = 2 + }, + ["tree-dryland-a"] = { + tile_name = "mineral-beige-dirt-2", + tree_name = "tree-dryland-a", + weight = 126 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-beige-dirt-2", + tree_name = "tree-dryland-b", + weight = 266 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-beige-dirt-2", + tree_name = "tree-dryland-e", + weight = 249 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-beige-dirt-2", + tree_name = "tree-dryland-f", + weight = 551 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-beige-dirt-2", + tree_name = "tree-dryland-g", + weight = 40265 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-beige-dirt-2", + tree_name = "tree-dryland-h", + weight = 50055 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-beige-dirt-2", + tree_name = "tree-dryland-i", + weight = 110 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-beige-dirt-2", + tree_name = "tree-dryland-j", + weight = 153 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-beige-dirt-2", + tree_name = "tree-dryland-k", + weight = 44445 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-beige-dirt-2", + tree_name = "tree-dryland-l", + weight = 64734 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-beige-dirt-2", + tree_name = "tree-dryland-m", + weight = 127 + }, + ["tree-dryland-n"] = { + tile_name = "mineral-beige-dirt-2", + tree_name = "tree-dryland-n", + weight = 208 + }, + ["tree-grassland-a"] = { + tile_name = "mineral-beige-dirt-2", + tree_name = "tree-grassland-a", + weight = 16 + }, + ["tree-grassland-b"] = { + tile_name = "mineral-beige-dirt-2", + tree_name = "tree-grassland-b", + weight = 14 + }, + ["tree-grassland-c"] = { + tile_name = "mineral-beige-dirt-2", + tree_name = "tree-grassland-c", + weight = 98 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-beige-dirt-2", + tree_name = "tree-grassland-f", + weight = 230 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-beige-dirt-2", + tree_name = "tree-grassland-g", + weight = 27297 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-beige-dirt-2", + tree_name = "tree-grassland-h", + weight = 23085 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-beige-dirt-2", + tree_name = "tree-grassland-h2", + weight = 3568 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-beige-dirt-2", + tree_name = "tree-grassland-h3", + weight = 1189 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-beige-dirt-2", + tree_name = "tree-grassland-i", + weight = 265 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-beige-dirt-2", + tree_name = "tree-grassland-k", + weight = 1792 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-beige-dirt-2", + tree_name = "tree-grassland-l", + weight = 27374 + }, + ["tree-grassland-m"] = { + tile_name = "mineral-beige-dirt-2", + tree_name = "tree-grassland-m", + weight = 14 + }, + ["tree-grassland-n"] = { + tile_name = "mineral-beige-dirt-2", + tree_name = "tree-grassland-n", + weight = 293 + }, + ["tree-grassland-p"] = { + tile_name = "mineral-beige-dirt-2", + tree_name = "tree-grassland-p", + weight = 28 + }, + ["tree-wetland-d"] = { + tile_name = "mineral-beige-dirt-2", + tree_name = "tree-wetland-d", + weight = 1415 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-beige-dirt-2", + tree_name = "tree-wetland-e", + weight = 9809 + }, + ["tree-wetland-j"] = { + tile_name = "mineral-beige-dirt-2", + tree_name = "tree-wetland-j", + weight = 1580 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-beige-dirt-2", + tree_name = "tree-wetland-k", + weight = 1655 + } +} +terrains["mineral-black-dirt-1"] = { + name = "mineral-black-dirt-1", + ["tree-desert-j"] = { + tile_name = "mineral-black-dirt-1", + tree_name = "tree-desert-j", + weight = 208 + }, + ["tree-desert-k"] = { + tile_name = "mineral-black-dirt-1", + tree_name = "tree-desert-k", + weight = 775 + }, + ["tree-desert-n"] = { + tile_name = "mineral-black-dirt-1", + tree_name = "tree-desert-n", + weight = 746 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-black-dirt-1", + tree_name = "tree-dryland-b", + weight = 17 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-black-dirt-1", + tree_name = "tree-dryland-c", + weight = 120 + }, + ["tree-dryland-d"] = { + tile_name = "mineral-black-dirt-1", + tree_name = "tree-dryland-d", + weight = 2 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-black-dirt-1", + tree_name = "tree-dryland-f", + weight = 47 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-black-dirt-1", + tree_name = "tree-dryland-h", + weight = 384 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-black-dirt-1", + tree_name = "tree-dryland-i", + weight = 8 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-black-dirt-1", + tree_name = "tree-dryland-j", + weight = 227 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-black-dirt-1", + tree_name = "tree-dryland-k", + weight = 47 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-black-dirt-1", + tree_name = "tree-dryland-l", + weight = 78153 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-black-dirt-1", + tree_name = "tree-dryland-m", + weight = 18610 + }, + ["tree-dryland-n"] = { + tile_name = "mineral-black-dirt-1", + tree_name = "tree-dryland-n", + weight = 456 + }, + ["tree-dryland-o"] = { + tile_name = "mineral-black-dirt-1", + tree_name = "tree-dryland-o", + weight = 32970 + }, + ["tree-grassland-d"] = { + tile_name = "mineral-black-dirt-1", + tree_name = "tree-grassland-d", + weight = 337 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-black-dirt-1", + tree_name = "tree-grassland-e", + weight = 392 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-black-dirt-1", + tree_name = "tree-grassland-h", + weight = 266 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-black-dirt-1", + tree_name = "tree-grassland-h2", + weight = 82 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-black-dirt-1", + tree_name = "tree-grassland-h3", + weight = 80750 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-black-dirt-1", + tree_name = "tree-grassland-i", + weight = 400 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-black-dirt-1", + tree_name = "tree-grassland-k", + weight = 59 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-black-dirt-1", + tree_name = "tree-grassland-l", + weight = 15 + }, + ["tree-grassland-m"] = { + tile_name = "mineral-black-dirt-1", + tree_name = "tree-grassland-m", + weight = 13202 + }, + ["tree-grassland-n"] = { + tile_name = "mineral-black-dirt-1", + tree_name = "tree-grassland-n", + weight = 42 + }, + ["tree-grassland-p"] = { + tile_name = "mineral-black-dirt-1", + tree_name = "tree-grassland-p", + weight = 9470 + }, + ["tree-snow-a"] = { + tile_name = "mineral-black-dirt-1", + tree_name = "tree-snow-a", + weight = 33 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-black-dirt-1", + tree_name = "tree-wetland-e", + weight = 2 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-black-dirt-1", + tree_name = "tree-wetland-k", + weight = 4831 + }, + ["tree-wetland-l"] = { + tile_name = "mineral-black-dirt-1", + tree_name = "tree-wetland-l", + weight = 2204 + }, + ["tree-wetland-o"] = { + tile_name = "mineral-black-dirt-1", + tree_name = "tree-wetland-o", + weight = 11300 + } +} +terrains["mineral-black-dirt-2"] = { + name = "mineral-black-dirt-2", + ["tree-desert-i"] = { + tile_name = "mineral-black-dirt-2", + tree_name = "tree-desert-i", + weight = 2 + }, + ["tree-desert-j"] = { + tile_name = "mineral-black-dirt-2", + tree_name = "tree-desert-j", + weight = 111 + }, + ["tree-desert-k"] = { + tile_name = "mineral-black-dirt-2", + tree_name = "tree-desert-k", + weight = 324 + }, + ["tree-desert-n"] = { + tile_name = "mineral-black-dirt-2", + tree_name = "tree-desert-n", + weight = 476 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-black-dirt-2", + tree_name = "tree-dryland-b", + weight = 9 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-black-dirt-2", + tree_name = "tree-dryland-c", + weight = 77 + }, + ["tree-dryland-d"] = { + tile_name = "mineral-black-dirt-2", + tree_name = "tree-dryland-d", + weight = 10 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-black-dirt-2", + tree_name = "tree-dryland-f", + weight = 23 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-black-dirt-2", + tree_name = "tree-dryland-h", + weight = 296 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-black-dirt-2", + tree_name = "tree-dryland-i", + weight = 6 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-black-dirt-2", + tree_name = "tree-dryland-j", + weight = 131 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-black-dirt-2", + tree_name = "tree-dryland-k", + weight = 20 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-black-dirt-2", + tree_name = "tree-dryland-l", + weight = 46932 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-black-dirt-2", + tree_name = "tree-dryland-m", + weight = 10473 + }, + ["tree-dryland-n"] = { + tile_name = "mineral-black-dirt-2", + tree_name = "tree-dryland-n", + weight = 259 + }, + ["tree-dryland-o"] = { + tile_name = "mineral-black-dirt-2", + tree_name = "tree-dryland-o", + weight = 16493 + }, + ["tree-grassland-d"] = { + tile_name = "mineral-black-dirt-2", + tree_name = "tree-grassland-d", + weight = 333 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-black-dirt-2", + tree_name = "tree-grassland-e", + weight = 457 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-black-dirt-2", + tree_name = "tree-grassland-h", + weight = 229 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-black-dirt-2", + tree_name = "tree-grassland-h2", + weight = 44 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-black-dirt-2", + tree_name = "tree-grassland-h3", + weight = 48376 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-black-dirt-2", + tree_name = "tree-grassland-i", + weight = 112 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-black-dirt-2", + tree_name = "tree-grassland-k", + weight = 42 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-black-dirt-2", + tree_name = "tree-grassland-l", + weight = 17 + }, + ["tree-grassland-m"] = { + tile_name = "mineral-black-dirt-2", + tree_name = "tree-grassland-m", + weight = 5559 + }, + ["tree-grassland-n"] = { + tile_name = "mineral-black-dirt-2", + tree_name = "tree-grassland-n", + weight = 38 + }, + ["tree-grassland-p"] = { + tile_name = "mineral-black-dirt-2", + tree_name = "tree-grassland-p", + weight = 6685 + }, + ["tree-snow-a"] = { + tile_name = "mineral-black-dirt-2", + tree_name = "tree-snow-a", + weight = 80 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-black-dirt-2", + tree_name = "tree-wetland-k", + weight = 3359 + }, + ["tree-wetland-l"] = { + tile_name = "mineral-black-dirt-2", + tree_name = "tree-wetland-l", + weight = 1142 + }, + ["tree-wetland-o"] = { + tile_name = "mineral-black-dirt-2", + tree_name = "tree-wetland-o", + weight = 7060 + } +} +terrains["mineral-beige-dirt-3"] = { + name = "mineral-beige-dirt-3", + ["tree-desert-c"] = { + tile_name = "mineral-beige-dirt-3", + tree_name = "tree-desert-c", + weight = 4 + }, + ["tree-desert-f"] = { + tile_name = "mineral-beige-dirt-3", + tree_name = "tree-desert-f", + weight = 655 + }, + ["tree-desert-h"] = { + tile_name = "mineral-beige-dirt-3", + tree_name = "tree-desert-h", + weight = 1338 + }, + ["tree-desert-i"] = { + tile_name = "mineral-beige-dirt-3", + tree_name = "tree-desert-i", + weight = 1724 + }, + ["tree-desert-j"] = { + tile_name = "mineral-beige-dirt-3", + tree_name = "tree-desert-j", + weight = 1649 + }, + ["tree-desert-m"] = { + tile_name = "mineral-beige-dirt-3", + tree_name = "tree-desert-m", + weight = 2 + }, + ["tree-desert-n"] = { + tile_name = "mineral-beige-dirt-3", + tree_name = "tree-desert-n", + weight = 2 + }, + ["tree-dryland-a"] = { + tile_name = "mineral-beige-dirt-3", + tree_name = "tree-dryland-a", + weight = 90 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-beige-dirt-3", + tree_name = "tree-dryland-b", + weight = 113 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-beige-dirt-3", + tree_name = "tree-dryland-e", + weight = 127 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-beige-dirt-3", + tree_name = "tree-dryland-f", + weight = 320 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-beige-dirt-3", + tree_name = "tree-dryland-g", + weight = 26741 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-beige-dirt-3", + tree_name = "tree-dryland-h", + weight = 37264 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-beige-dirt-3", + tree_name = "tree-dryland-i", + weight = 71 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-beige-dirt-3", + tree_name = "tree-dryland-j", + weight = 64 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-beige-dirt-3", + tree_name = "tree-dryland-k", + weight = 24608 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-beige-dirt-3", + tree_name = "tree-dryland-l", + weight = 41838 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-beige-dirt-3", + tree_name = "tree-dryland-m", + weight = 59 + }, + ["tree-dryland-n"] = { + tile_name = "mineral-beige-dirt-3", + tree_name = "tree-dryland-n", + weight = 107 + }, + ["tree-grassland-a"] = { + tile_name = "mineral-beige-dirt-3", + tree_name = "tree-grassland-a", + weight = 19 + }, + ["tree-grassland-b"] = { + tile_name = "mineral-beige-dirt-3", + tree_name = "tree-grassland-b", + weight = 11 + }, + ["tree-grassland-c"] = { + tile_name = "mineral-beige-dirt-3", + tree_name = "tree-grassland-c", + weight = 159 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-beige-dirt-3", + tree_name = "tree-grassland-f", + weight = 348 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-beige-dirt-3", + tree_name = "tree-grassland-g", + weight = 22598 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-beige-dirt-3", + tree_name = "tree-grassland-h", + weight = 20913 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-beige-dirt-3", + tree_name = "tree-grassland-h2", + weight = 3592 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-beige-dirt-3", + tree_name = "tree-grassland-h3", + weight = 613 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-beige-dirt-3", + tree_name = "tree-grassland-i", + weight = 170 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-beige-dirt-3", + tree_name = "tree-grassland-k", + weight = 1560 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-beige-dirt-3", + tree_name = "tree-grassland-l", + weight = 18399 + }, + ["tree-grassland-m"] = { + tile_name = "mineral-beige-dirt-3", + tree_name = "tree-grassland-m", + weight = 13 + }, + ["tree-grassland-n"] = { + tile_name = "mineral-beige-dirt-3", + tree_name = "tree-grassland-n", + weight = 410 + }, + ["tree-grassland-p"] = { + tile_name = "mineral-beige-dirt-3", + tree_name = "tree-grassland-p", + weight = 48 + }, + ["tree-wetland-d"] = { + tile_name = "mineral-beige-dirt-3", + tree_name = "tree-wetland-d", + weight = 697 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-beige-dirt-3", + tree_name = "tree-wetland-e", + weight = 7120 + }, + ["tree-wetland-j"] = { + tile_name = "mineral-beige-dirt-3", + tree_name = "tree-wetland-j", + weight = 1147 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-beige-dirt-3", + tree_name = "tree-wetland-k", + weight = 943 + } +} +terrains["mineral-black-dirt-3"] = { + name = "mineral-black-dirt-3", + ["tree-desert-j"] = { + tile_name = "mineral-black-dirt-3", + tree_name = "tree-desert-j", + weight = 32 + }, + ["tree-desert-k"] = { + tile_name = "mineral-black-dirt-3", + tree_name = "tree-desert-k", + weight = 319 + }, + ["tree-desert-n"] = { + tile_name = "mineral-black-dirt-3", + tree_name = "tree-desert-n", + weight = 681 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-black-dirt-3", + tree_name = "tree-dryland-b", + weight = 14 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-black-dirt-3", + tree_name = "tree-dryland-c", + weight = 25 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-black-dirt-3", + tree_name = "tree-dryland-f", + weight = 19 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-black-dirt-3", + tree_name = "tree-dryland-h", + weight = 106 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-black-dirt-3", + tree_name = "tree-dryland-j", + weight = 50 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-black-dirt-3", + tree_name = "tree-dryland-k", + weight = 20 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-black-dirt-3", + tree_name = "tree-dryland-l", + weight = 22236 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-black-dirt-3", + tree_name = "tree-dryland-m", + weight = 3972 + }, + ["tree-dryland-n"] = { + tile_name = "mineral-black-dirt-3", + tree_name = "tree-dryland-n", + weight = 60 + }, + ["tree-dryland-o"] = { + tile_name = "mineral-black-dirt-3", + tree_name = "tree-dryland-o", + weight = 7996 + }, + ["tree-grassland-d"] = { + tile_name = "mineral-black-dirt-3", + tree_name = "tree-grassland-d", + weight = 188 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-black-dirt-3", + tree_name = "tree-grassland-e", + weight = 156 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-black-dirt-3", + tree_name = "tree-grassland-h", + weight = 224 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-black-dirt-3", + tree_name = "tree-grassland-h2", + weight = 64 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-black-dirt-3", + tree_name = "tree-grassland-h3", + weight = 20998 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-black-dirt-3", + tree_name = "tree-grassland-i", + weight = 163 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-black-dirt-3", + tree_name = "tree-grassland-k", + weight = 73 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-black-dirt-3", + tree_name = "tree-grassland-l", + weight = 19 + }, + ["tree-grassland-m"] = { + tile_name = "mineral-black-dirt-3", + tree_name = "tree-grassland-m", + weight = 3814 + }, + ["tree-grassland-n"] = { + tile_name = "mineral-black-dirt-3", + tree_name = "tree-grassland-n", + weight = 18 + }, + ["tree-grassland-p"] = { + tile_name = "mineral-black-dirt-3", + tree_name = "tree-grassland-p", + weight = 3099 + }, + ["tree-snow-a"] = { + tile_name = "mineral-black-dirt-3", + tree_name = "tree-snow-a", + weight = 5 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-black-dirt-3", + tree_name = "tree-wetland-k", + weight = 1369 + }, + ["tree-wetland-l"] = { + tile_name = "mineral-black-dirt-3", + tree_name = "tree-wetland-l", + weight = 384 + }, + ["tree-wetland-o"] = { + tile_name = "mineral-black-dirt-3", + tree_name = "tree-wetland-o", + weight = 2852 + } +} +terrains["mineral-grey-dirt-4"] = { + name = "mineral-grey-dirt-4", + ["tree-desert-i"] = { + tile_name = "mineral-grey-dirt-4", + tree_name = "tree-desert-i", + weight = 543 + }, + ["tree-desert-j"] = { + tile_name = "mineral-grey-dirt-4", + tree_name = "tree-desert-j", + weight = 331 + }, + ["tree-desert-n"] = { + tile_name = "mineral-grey-dirt-4", + tree_name = "tree-desert-n", + weight = 689 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-grey-dirt-4", + tree_name = "tree-dryland-b", + weight = 47 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-grey-dirt-4", + tree_name = "tree-dryland-f", + weight = 44 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-grey-dirt-4", + tree_name = "tree-dryland-g", + weight = 16 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-grey-dirt-4", + tree_name = "tree-dryland-h", + weight = 2 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-grey-dirt-4", + tree_name = "tree-dryland-j", + weight = 45 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-grey-dirt-4", + tree_name = "tree-dryland-k", + weight = 3336 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-grey-dirt-4", + tree_name = "tree-dryland-l", + weight = 32349 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-grey-dirt-4", + tree_name = "tree-dryland-m", + weight = 4 + }, + ["tree-dryland-n"] = { + tile_name = "mineral-grey-dirt-4", + tree_name = "tree-dryland-n", + weight = 406 + }, + ["tree-dryland-o"] = { + tile_name = "mineral-grey-dirt-4", + tree_name = "tree-dryland-o", + weight = 43 + }, + ["tree-grassland-c"] = { + tile_name = "mineral-grey-dirt-4", + tree_name = "tree-grassland-c", + weight = 12 + }, + ["tree-grassland-d"] = { + tile_name = "mineral-grey-dirt-4", + tree_name = "tree-grassland-d", + weight = 5 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-grey-dirt-4", + tree_name = "tree-grassland-f", + weight = 2 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-grey-dirt-4", + tree_name = "tree-grassland-g", + weight = 48 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-grey-dirt-4", + tree_name = "tree-grassland-h", + weight = 12331 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-grey-dirt-4", + tree_name = "tree-grassland-h3", + weight = 1272 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-grey-dirt-4", + tree_name = "tree-grassland-k", + weight = 777 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-grey-dirt-4", + tree_name = "tree-grassland-l", + weight = 3955 + }, + ["tree-grassland-m"] = { + tile_name = "mineral-grey-dirt-4", + tree_name = "tree-grassland-m", + weight = 22 + }, + ["tree-grassland-n"] = { + tile_name = "mineral-grey-dirt-4", + tree_name = "tree-grassland-n", + weight = 15211 + }, + ["tree-grassland-p"] = { + tile_name = "mineral-grey-dirt-4", + tree_name = "tree-grassland-p", + weight = 27260 + }, + ["tree-grassland-q"] = { + tile_name = "mineral-grey-dirt-4", + tree_name = "tree-grassland-q", + weight = 11 + }, + ["tree-snow-a"] = { + tile_name = "mineral-grey-dirt-4", + tree_name = "tree-snow-a", + weight = 3 + }, + ["tree-wetland-j"] = { + tile_name = "mineral-grey-dirt-4", + tree_name = "tree-wetland-j", + weight = 1427 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-grey-dirt-4", + tree_name = "tree-wetland-k", + weight = 1054 + }, + ["tree-wetland-n"] = { + tile_name = "mineral-grey-dirt-4", + tree_name = "tree-wetland-n", + weight = 934 + }, + ["tree-wetland-o"] = { + tile_name = "mineral-grey-dirt-4", + tree_name = "tree-wetland-o", + weight = 861 + } +} +terrains["mineral-beige-dirt-5"] = { + name = "mineral-beige-dirt-5", + ["tree-desert-c"] = { + tile_name = "mineral-beige-dirt-5", + tree_name = "tree-desert-c", + weight = 2 + }, + ["tree-desert-f"] = { + tile_name = "mineral-beige-dirt-5", + tree_name = "tree-desert-f", + weight = 195 + }, + ["tree-desert-h"] = { + tile_name = "mineral-beige-dirt-5", + tree_name = "tree-desert-h", + weight = 718 + }, + ["tree-desert-i"] = { + tile_name = "mineral-beige-dirt-5", + tree_name = "tree-desert-i", + weight = 1113 + }, + ["tree-desert-j"] = { + tile_name = "mineral-beige-dirt-5", + tree_name = "tree-desert-j", + weight = 778 + }, + ["tree-desert-m"] = { + tile_name = "mineral-beige-dirt-5", + tree_name = "tree-desert-m", + weight = 2 + }, + ["tree-desert-n"] = { + tile_name = "mineral-beige-dirt-5", + tree_name = "tree-desert-n", + weight = 2 + }, + ["tree-dryland-a"] = { + tile_name = "mineral-beige-dirt-5", + tree_name = "tree-dryland-a", + weight = 11 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-beige-dirt-5", + tree_name = "tree-dryland-b", + weight = 42 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-beige-dirt-5", + tree_name = "tree-dryland-e", + weight = 45 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-beige-dirt-5", + tree_name = "tree-dryland-f", + weight = 77 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-beige-dirt-5", + tree_name = "tree-dryland-g", + weight = 7072 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-beige-dirt-5", + tree_name = "tree-dryland-h", + weight = 12518 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-beige-dirt-5", + tree_name = "tree-dryland-i", + weight = 13 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-beige-dirt-5", + tree_name = "tree-dryland-j", + weight = 11 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-beige-dirt-5", + tree_name = "tree-dryland-k", + weight = 6116 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-beige-dirt-5", + tree_name = "tree-dryland-l", + weight = 11284 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-beige-dirt-5", + tree_name = "tree-dryland-m", + weight = 28 + }, + ["tree-dryland-n"] = { + tile_name = "mineral-beige-dirt-5", + tree_name = "tree-dryland-n", + weight = 24 + }, + ["tree-grassland-a"] = { + tile_name = "mineral-beige-dirt-5", + tree_name = "tree-grassland-a", + weight = 4 + }, + ["tree-grassland-b"] = { + tile_name = "mineral-beige-dirt-5", + tree_name = "tree-grassland-b", + weight = 3 + }, + ["tree-grassland-c"] = { + tile_name = "mineral-beige-dirt-5", + tree_name = "tree-grassland-c", + weight = 36 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-beige-dirt-5", + tree_name = "tree-grassland-f", + weight = 143 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-beige-dirt-5", + tree_name = "tree-grassland-g", + weight = 10109 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-beige-dirt-5", + tree_name = "tree-grassland-h", + weight = 6490 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-beige-dirt-5", + tree_name = "tree-grassland-h2", + weight = 2378 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-beige-dirt-5", + tree_name = "tree-grassland-h3", + weight = 661 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-beige-dirt-5", + tree_name = "tree-grassland-i", + weight = 82 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-beige-dirt-5", + tree_name = "tree-grassland-k", + weight = 1724 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-beige-dirt-5", + tree_name = "tree-grassland-l", + weight = 10192 + }, + ["tree-grassland-n"] = { + tile_name = "mineral-beige-dirt-5", + tree_name = "tree-grassland-n", + weight = 168 + }, + ["tree-grassland-p"] = { + tile_name = "mineral-beige-dirt-5", + tree_name = "tree-grassland-p", + weight = 8 + }, + ["tree-wetland-d"] = { + tile_name = "mineral-beige-dirt-5", + tree_name = "tree-wetland-d", + weight = 185 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-beige-dirt-5", + tree_name = "tree-wetland-e", + weight = 1912 + }, + ["tree-wetland-j"] = { + tile_name = "mineral-beige-dirt-5", + tree_name = "tree-wetland-j", + weight = 481 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-beige-dirt-5", + tree_name = "tree-wetland-k", + weight = 367 + } +} +terrains["mineral-beige-dirt-4"] = { + name = "mineral-beige-dirt-4", + ["tree-desert-f"] = { + tile_name = "mineral-beige-dirt-4", + tree_name = "tree-desert-f", + weight = 486 + }, + ["tree-desert-g"] = { + tile_name = "mineral-beige-dirt-4", + tree_name = "tree-desert-g", + weight = 3 + }, + ["tree-desert-h"] = { + tile_name = "mineral-beige-dirt-4", + tree_name = "tree-desert-h", + weight = 1121 + }, + ["tree-desert-i"] = { + tile_name = "mineral-beige-dirt-4", + tree_name = "tree-desert-i", + weight = 1188 + }, + ["tree-desert-j"] = { + tile_name = "mineral-beige-dirt-4", + tree_name = "tree-desert-j", + weight = 972 + }, + ["tree-desert-l"] = { + tile_name = "mineral-beige-dirt-4", + tree_name = "tree-desert-l", + weight = 2 + }, + ["tree-dryland-a"] = { + tile_name = "mineral-beige-dirt-4", + tree_name = "tree-dryland-a", + weight = 25 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-beige-dirt-4", + tree_name = "tree-dryland-b", + weight = 78 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-beige-dirt-4", + tree_name = "tree-dryland-e", + weight = 83 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-beige-dirt-4", + tree_name = "tree-dryland-f", + weight = 167 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-beige-dirt-4", + tree_name = "tree-dryland-g", + weight = 11801 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-beige-dirt-4", + tree_name = "tree-dryland-h", + weight = 20994 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-beige-dirt-4", + tree_name = "tree-dryland-i", + weight = 35 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-beige-dirt-4", + tree_name = "tree-dryland-j", + weight = 35 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-beige-dirt-4", + tree_name = "tree-dryland-k", + weight = 11944 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-beige-dirt-4", + tree_name = "tree-dryland-l", + weight = 23578 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-beige-dirt-4", + tree_name = "tree-dryland-m", + weight = 51 + }, + ["tree-dryland-n"] = { + tile_name = "mineral-beige-dirt-4", + tree_name = "tree-dryland-n", + weight = 52 + }, + ["tree-grassland-a"] = { + tile_name = "mineral-beige-dirt-4", + tree_name = "tree-grassland-a", + weight = 2 + }, + ["tree-grassland-c"] = { + tile_name = "mineral-beige-dirt-4", + tree_name = "tree-grassland-c", + weight = 50 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-beige-dirt-4", + tree_name = "tree-grassland-f", + weight = 65 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-beige-dirt-4", + tree_name = "tree-grassland-g", + weight = 13274 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-beige-dirt-4", + tree_name = "tree-grassland-h", + weight = 11458 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-beige-dirt-4", + tree_name = "tree-grassland-h2", + weight = 2614 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-beige-dirt-4", + tree_name = "tree-grassland-h3", + weight = 515 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-beige-dirt-4", + tree_name = "tree-grassland-i", + weight = 110 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-beige-dirt-4", + tree_name = "tree-grassland-k", + weight = 1559 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-beige-dirt-4", + tree_name = "tree-grassland-l", + weight = 12179 + }, + ["tree-grassland-m"] = { + tile_name = "mineral-beige-dirt-4", + tree_name = "tree-grassland-m", + weight = 60 + }, + ["tree-grassland-n"] = { + tile_name = "mineral-beige-dirt-4", + tree_name = "tree-grassland-n", + weight = 156 + }, + ["tree-grassland-p"] = { + tile_name = "mineral-beige-dirt-4", + tree_name = "tree-grassland-p", + weight = 17 + }, + ["tree-wetland-d"] = { + tile_name = "mineral-beige-dirt-4", + tree_name = "tree-wetland-d", + weight = 460 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-beige-dirt-4", + tree_name = "tree-wetland-e", + weight = 3101 + }, + ["tree-wetland-j"] = { + tile_name = "mineral-beige-dirt-4", + tree_name = "tree-wetland-j", + weight = 564 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-beige-dirt-4", + tree_name = "tree-wetland-k", + weight = 290 + } +} +terrains["mineral-beige-dirt-6"] = { + name = "mineral-beige-dirt-6", + ["tree-desert-f"] = { + tile_name = "mineral-beige-dirt-6", + tree_name = "tree-desert-f", + weight = 260 + }, + ["tree-desert-h"] = { + tile_name = "mineral-beige-dirt-6", + tree_name = "tree-desert-h", + weight = 599 + }, + ["tree-desert-i"] = { + tile_name = "mineral-beige-dirt-6", + tree_name = "tree-desert-i", + weight = 1243 + }, + ["tree-desert-j"] = { + tile_name = "mineral-beige-dirt-6", + tree_name = "tree-desert-j", + weight = 524 + }, + ["tree-dryland-a"] = { + tile_name = "mineral-beige-dirt-6", + tree_name = "tree-dryland-a", + weight = 13 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-beige-dirt-6", + tree_name = "tree-dryland-b", + weight = 38 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-beige-dirt-6", + tree_name = "tree-dryland-e", + weight = 32 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-beige-dirt-6", + tree_name = "tree-dryland-f", + weight = 88 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-beige-dirt-6", + tree_name = "tree-dryland-g", + weight = 4970 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-beige-dirt-6", + tree_name = "tree-dryland-h", + weight = 8794 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-beige-dirt-6", + tree_name = "tree-dryland-i", + weight = 12 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-beige-dirt-6", + tree_name = "tree-dryland-j", + weight = 11 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-beige-dirt-6", + tree_name = "tree-dryland-k", + weight = 4719 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-beige-dirt-6", + tree_name = "tree-dryland-l", + weight = 10614 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-beige-dirt-6", + tree_name = "tree-dryland-m", + weight = 10 + }, + ["tree-dryland-n"] = { + tile_name = "mineral-beige-dirt-6", + tree_name = "tree-dryland-n", + weight = 17 + }, + ["tree-grassland-a"] = { + tile_name = "mineral-beige-dirt-6", + tree_name = "tree-grassland-a", + weight = 22 + }, + ["tree-grassland-c"] = { + tile_name = "mineral-beige-dirt-6", + tree_name = "tree-grassland-c", + weight = 80 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-beige-dirt-6", + tree_name = "tree-grassland-f", + weight = 23 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-beige-dirt-6", + tree_name = "tree-grassland-g", + weight = 6803 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-beige-dirt-6", + tree_name = "tree-grassland-h", + weight = 8325 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-beige-dirt-6", + tree_name = "tree-grassland-h2", + weight = 1841 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-beige-dirt-6", + tree_name = "tree-grassland-h3", + weight = 417 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-beige-dirt-6", + tree_name = "tree-grassland-i", + weight = 131 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-beige-dirt-6", + tree_name = "tree-grassland-k", + weight = 1157 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-beige-dirt-6", + tree_name = "tree-grassland-l", + weight = 10643 + }, + ["tree-grassland-m"] = { + tile_name = "mineral-beige-dirt-6", + tree_name = "tree-grassland-m", + weight = 2 + }, + ["tree-grassland-n"] = { + tile_name = "mineral-beige-dirt-6", + tree_name = "tree-grassland-n", + weight = 152 + }, + ["tree-grassland-p"] = { + tile_name = "mineral-beige-dirt-6", + tree_name = "tree-grassland-p", + weight = 17 + }, + ["tree-wetland-d"] = { + tile_name = "mineral-beige-dirt-6", + tree_name = "tree-wetland-d", + weight = 365 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-beige-dirt-6", + tree_name = "tree-wetland-e", + weight = 2731 + }, + ["tree-wetland-j"] = { + tile_name = "mineral-beige-dirt-6", + tree_name = "tree-wetland-j", + weight = 331 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-beige-dirt-6", + tree_name = "tree-wetland-k", + weight = 100 + } +} +terrains["mineral-grey-dirt-5"] = { + name = "mineral-grey-dirt-5", + ["tree-desert-i"] = { + tile_name = "mineral-grey-dirt-5", + tree_name = "tree-desert-i", + weight = 254 + }, + ["tree-desert-j"] = { + tile_name = "mineral-grey-dirt-5", + tree_name = "tree-desert-j", + weight = 239 + }, + ["tree-desert-k"] = { + tile_name = "mineral-grey-dirt-5", + tree_name = "tree-desert-k", + weight = 16 + }, + ["tree-desert-m"] = { + tile_name = "mineral-grey-dirt-5", + tree_name = "tree-desert-m", + weight = 2 + }, + ["tree-desert-n"] = { + tile_name = "mineral-grey-dirt-5", + tree_name = "tree-desert-n", + weight = 529 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-grey-dirt-5", + tree_name = "tree-dryland-b", + weight = 11 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-grey-dirt-5", + tree_name = "tree-dryland-f", + weight = 18 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-grey-dirt-5", + tree_name = "tree-dryland-g", + weight = 9 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-grey-dirt-5", + tree_name = "tree-dryland-h", + weight = 4 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-grey-dirt-5", + tree_name = "tree-dryland-j", + weight = 29 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-grey-dirt-5", + tree_name = "tree-dryland-k", + weight = 2817 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-grey-dirt-5", + tree_name = "tree-dryland-l", + weight = 15494 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-grey-dirt-5", + tree_name = "tree-dryland-m", + weight = 6 + }, + ["tree-dryland-n"] = { + tile_name = "mineral-grey-dirt-5", + tree_name = "tree-dryland-n", + weight = 72 + }, + ["tree-dryland-o"] = { + tile_name = "mineral-grey-dirt-5", + tree_name = "tree-dryland-o", + weight = 20 + }, + ["tree-grassland-c"] = { + tile_name = "mineral-grey-dirt-5", + tree_name = "tree-grassland-c", + weight = 26 + }, + ["tree-grassland-d"] = { + tile_name = "mineral-grey-dirt-5", + tree_name = "tree-grassland-d", + weight = 2 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-grey-dirt-5", + tree_name = "tree-grassland-g", + weight = 14 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-grey-dirt-5", + tree_name = "tree-grassland-h", + weight = 11995 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-grey-dirt-5", + tree_name = "tree-grassland-h3", + weight = 617 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-grey-dirt-5", + tree_name = "tree-grassland-i", + weight = 6 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-grey-dirt-5", + tree_name = "tree-grassland-k", + weight = 202 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-grey-dirt-5", + tree_name = "tree-grassland-l", + weight = 3710 + }, + ["tree-grassland-m"] = { + tile_name = "mineral-grey-dirt-5", + tree_name = "tree-grassland-m", + weight = 24 + }, + ["tree-grassland-n"] = { + tile_name = "mineral-grey-dirt-5", + tree_name = "tree-grassland-n", + weight = 11498 + }, + ["tree-grassland-p"] = { + tile_name = "mineral-grey-dirt-5", + tree_name = "tree-grassland-p", + weight = 20100 + }, + ["tree-grassland-q"] = { + tile_name = "mineral-grey-dirt-5", + tree_name = "tree-grassland-q", + weight = 53 + }, + ["tree-snow-a"] = { + tile_name = "mineral-grey-dirt-5", + tree_name = "tree-snow-a", + weight = 54 + }, + ["tree-wetland-j"] = { + tile_name = "mineral-grey-dirt-5", + tree_name = "tree-wetland-j", + weight = 830 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-grey-dirt-5", + tree_name = "tree-wetland-k", + weight = 723 + }, + ["tree-wetland-n"] = { + tile_name = "mineral-grey-dirt-5", + tree_name = "tree-wetland-n", + weight = 500 + }, + ["tree-wetland-o"] = { + tile_name = "mineral-grey-dirt-5", + tree_name = "tree-wetland-o", + weight = 991 + } +} +terrains["mineral-beige-sand-2"] = { + name = "mineral-beige-sand-2", + ["tree-desert-b"] = { + tile_name = "mineral-beige-sand-2", + tree_name = "tree-desert-b", + weight = 5 + }, + ["tree-desert-c"] = { + tile_name = "mineral-beige-sand-2", + tree_name = "tree-desert-c", + weight = 13 + }, + ["tree-desert-f"] = { + tile_name = "mineral-beige-sand-2", + tree_name = "tree-desert-f", + weight = 4498 + }, + ["tree-desert-g"] = { + tile_name = "mineral-beige-sand-2", + tree_name = "tree-desert-g", + weight = 10 + }, + ["tree-desert-h"] = { + tile_name = "mineral-beige-sand-2", + tree_name = "tree-desert-h", + weight = 12406 + }, + ["tree-desert-i"] = { + tile_name = "mineral-beige-sand-2", + tree_name = "tree-desert-i", + weight = 14757 + }, + ["tree-desert-j"] = { + tile_name = "mineral-beige-sand-2", + tree_name = "tree-desert-j", + weight = 17672 + }, + ["tree-desert-k"] = { + tile_name = "mineral-beige-sand-2", + tree_name = "tree-desert-k", + weight = 2 + }, + ["tree-desert-l"] = { + tile_name = "mineral-beige-sand-2", + tree_name = "tree-desert-l", + weight = 13 + }, + ["tree-desert-m"] = { + tile_name = "mineral-beige-sand-2", + tree_name = "tree-desert-m", + weight = 13 + }, + ["tree-desert-n"] = { + tile_name = "mineral-beige-sand-2", + tree_name = "tree-desert-n", + weight = 12 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-beige-sand-2", + tree_name = "tree-dryland-b", + weight = 6 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-beige-sand-2", + tree_name = "tree-dryland-e", + weight = 8 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-beige-sand-2", + tree_name = "tree-dryland-f", + weight = 3 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-beige-sand-2", + tree_name = "tree-dryland-g", + weight = 1029 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-beige-sand-2", + tree_name = "tree-dryland-h", + weight = 2526 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-beige-sand-2", + tree_name = "tree-dryland-j", + weight = 2 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-beige-sand-2", + tree_name = "tree-dryland-k", + weight = 525 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-beige-sand-2", + tree_name = "tree-dryland-l", + weight = 1956 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-beige-sand-2", + tree_name = "tree-dryland-m", + weight = 2 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-beige-sand-2", + tree_name = "tree-grassland-f", + weight = 14 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-beige-sand-2", + tree_name = "tree-grassland-g", + weight = 1272 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-beige-sand-2", + tree_name = "tree-grassland-h", + weight = 660 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-beige-sand-2", + tree_name = "tree-grassland-h2", + weight = 398 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-beige-sand-2", + tree_name = "tree-grassland-h3", + weight = 3 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-beige-sand-2", + tree_name = "tree-grassland-k", + weight = 11 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-beige-sand-2", + tree_name = "tree-grassland-l", + weight = 704 + }, + ["tree-wetland-d"] = { + tile_name = "mineral-beige-sand-2", + tree_name = "tree-wetland-d", + weight = 3536 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-beige-sand-2", + tree_name = "tree-wetland-e", + weight = 28039 + }, + ["tree-wetland-j"] = { + tile_name = "mineral-beige-sand-2", + tree_name = "tree-wetland-j", + weight = 2322 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-beige-sand-2", + tree_name = "tree-wetland-k", + weight = 2194 + } +} +terrains["mineral-beige-sand-1"] = { + name = "mineral-beige-sand-1", + ["tree-desert-b"] = { + tile_name = "mineral-beige-sand-1", + tree_name = "tree-desert-b", + weight = 4 + }, + ["tree-desert-c"] = { + tile_name = "mineral-beige-sand-1", + tree_name = "tree-desert-c", + weight = 20 + }, + ["tree-desert-f"] = { + tile_name = "mineral-beige-sand-1", + tree_name = "tree-desert-f", + weight = 8040 + }, + ["tree-desert-g"] = { + tile_name = "mineral-beige-sand-1", + tree_name = "tree-desert-g", + weight = 9 + }, + ["tree-desert-h"] = { + tile_name = "mineral-beige-sand-1", + tree_name = "tree-desert-h", + weight = 21726 + }, + ["tree-desert-i"] = { + tile_name = "mineral-beige-sand-1", + tree_name = "tree-desert-i", + weight = 28380 + }, + ["tree-desert-j"] = { + tile_name = "mineral-beige-sand-1", + tree_name = "tree-desert-j", + weight = 26124 + }, + ["tree-desert-k"] = { + tile_name = "mineral-beige-sand-1", + tree_name = "tree-desert-k", + weight = 11 + }, + ["tree-desert-l"] = { + tile_name = "mineral-beige-sand-1", + tree_name = "tree-desert-l", + weight = 12 + }, + ["tree-desert-m"] = { + tile_name = "mineral-beige-sand-1", + tree_name = "tree-desert-m", + weight = 16 + }, + ["tree-desert-n"] = { + tile_name = "mineral-beige-sand-1", + tree_name = "tree-desert-n", + weight = 19 + }, + ["tree-dryland-a"] = { + tile_name = "mineral-beige-sand-1", + tree_name = "tree-dryland-a", + weight = 4 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-beige-sand-1", + tree_name = "tree-dryland-b", + weight = 3 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-beige-sand-1", + tree_name = "tree-dryland-f", + weight = 7 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-beige-sand-1", + tree_name = "tree-dryland-g", + weight = 891 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-beige-sand-1", + tree_name = "tree-dryland-h", + weight = 2263 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-beige-sand-1", + tree_name = "tree-dryland-j", + weight = 2 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-beige-sand-1", + tree_name = "tree-dryland-k", + weight = 1086 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-beige-sand-1", + tree_name = "tree-dryland-l", + weight = 2771 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-beige-sand-1", + tree_name = "tree-grassland-f", + weight = 61 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-beige-sand-1", + tree_name = "tree-grassland-g", + weight = 3228 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-beige-sand-1", + tree_name = "tree-grassland-h", + weight = 1323 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-beige-sand-1", + tree_name = "tree-grassland-h2", + weight = 500 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-beige-sand-1", + tree_name = "tree-grassland-h3", + weight = 75 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-beige-sand-1", + tree_name = "tree-grassland-k", + weight = 14 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-beige-sand-1", + tree_name = "tree-grassland-l", + weight = 1180 + }, + ["tree-wetland-d"] = { + tile_name = "mineral-beige-sand-1", + tree_name = "tree-wetland-d", + weight = 5370 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-beige-sand-1", + tree_name = "tree-wetland-e", + weight = 49252 + }, + ["tree-wetland-j"] = { + tile_name = "mineral-beige-sand-1", + tree_name = "tree-wetland-j", + weight = 3000 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-beige-sand-1", + tree_name = "tree-wetland-k", + weight = 3339 + } +} +terrains["mineral-beige-sand-3"] = { + name = "mineral-beige-sand-3", + ["tree-desert-b"] = { + tile_name = "mineral-beige-sand-3", + tree_name = "tree-desert-b", + weight = 4 + }, + ["tree-desert-c"] = { + tile_name = "mineral-beige-sand-3", + tree_name = "tree-desert-c", + weight = 3 + }, + ["tree-desert-f"] = { + tile_name = "mineral-beige-sand-3", + tree_name = "tree-desert-f", + weight = 2357 + }, + ["tree-desert-g"] = { + tile_name = "mineral-beige-sand-3", + tree_name = "tree-desert-g", + weight = 5 + }, + ["tree-desert-h"] = { + tile_name = "mineral-beige-sand-3", + tree_name = "tree-desert-h", + weight = 6567 + }, + ["tree-desert-i"] = { + tile_name = "mineral-beige-sand-3", + tree_name = "tree-desert-i", + weight = 8653 + }, + ["tree-desert-j"] = { + tile_name = "mineral-beige-sand-3", + tree_name = "tree-desert-j", + weight = 8815 + }, + ["tree-desert-k"] = { + tile_name = "mineral-beige-sand-3", + tree_name = "tree-desert-k", + weight = 5 + }, + ["tree-desert-l"] = { + tile_name = "mineral-beige-sand-3", + tree_name = "tree-desert-l", + weight = 6 + }, + ["tree-desert-m"] = { + tile_name = "mineral-beige-sand-3", + tree_name = "tree-desert-m", + weight = 12 + }, + ["tree-desert-n"] = { + tile_name = "mineral-beige-sand-3", + tree_name = "tree-desert-n", + weight = 12 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-beige-sand-3", + tree_name = "tree-dryland-f", + weight = 3 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-beige-sand-3", + tree_name = "tree-dryland-g", + weight = 215 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-beige-sand-3", + tree_name = "tree-dryland-h", + weight = 1264 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-beige-sand-3", + tree_name = "tree-dryland-k", + weight = 460 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-beige-sand-3", + tree_name = "tree-dryland-l", + weight = 1263 + }, + ["tree-dryland-n"] = { + tile_name = "mineral-beige-sand-3", + tree_name = "tree-dryland-n", + weight = 2 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-beige-sand-3", + tree_name = "tree-grassland-f", + weight = 30 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-beige-sand-3", + tree_name = "tree-grassland-g", + weight = 717 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-beige-sand-3", + tree_name = "tree-grassland-h", + weight = 550 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-beige-sand-3", + tree_name = "tree-grassland-h2", + weight = 347 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-beige-sand-3", + tree_name = "tree-grassland-h3", + weight = 34 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-beige-sand-3", + tree_name = "tree-grassland-k", + weight = 3 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-beige-sand-3", + tree_name = "tree-grassland-l", + weight = 328 + }, + ["tree-wetland-d"] = { + tile_name = "mineral-beige-sand-3", + tree_name = "tree-wetland-d", + weight = 1889 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-beige-sand-3", + tree_name = "tree-wetland-e", + weight = 16231 + }, + ["tree-wetland-j"] = { + tile_name = "mineral-beige-sand-3", + tree_name = "tree-wetland-j", + weight = 558 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-beige-sand-3", + tree_name = "tree-wetland-k", + weight = 1392 + } +} +terrains["mineral-cream-dirt-1"] = { + name = "mineral-cream-dirt-1", + ["tree-desert-f"] = { + tile_name = "mineral-cream-dirt-1", + tree_name = "tree-desert-f", + weight = 671 + }, + ["tree-desert-g"] = { + tile_name = "mineral-cream-dirt-1", + tree_name = "tree-desert-g", + weight = 190 + }, + ["tree-desert-i"] = { + tile_name = "mineral-cream-dirt-1", + tree_name = "tree-desert-i", + weight = 915 + }, + ["tree-desert-m"] = { + tile_name = "mineral-cream-dirt-1", + tree_name = "tree-desert-m", + weight = 152 + }, + ["tree-dryland-a"] = { + tile_name = "mineral-cream-dirt-1", + tree_name = "tree-dryland-a", + weight = 12 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-cream-dirt-1", + tree_name = "tree-dryland-e", + weight = 41341 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-cream-dirt-1", + tree_name = "tree-dryland-f", + weight = 8 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-cream-dirt-1", + tree_name = "tree-dryland-g", + weight = 9666 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-cream-dirt-1", + tree_name = "tree-dryland-h", + weight = 118 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-cream-dirt-1", + tree_name = "tree-dryland-i", + weight = 47 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-cream-dirt-1", + tree_name = "tree-dryland-j", + weight = 13161 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-cream-dirt-1", + tree_name = "tree-dryland-k", + weight = 10256 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-cream-dirt-1", + tree_name = "tree-dryland-l", + weight = 15 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-cream-dirt-1", + tree_name = "tree-dryland-m", + weight = 16 + }, + ["tree-dryland-n"] = { + tile_name = "mineral-cream-dirt-1", + tree_name = "tree-dryland-n", + weight = 27 + }, + ["tree-grassland-a"] = { + tile_name = "mineral-cream-dirt-1", + tree_name = "tree-grassland-a", + weight = 48 + }, + ["tree-grassland-b"] = { + tile_name = "mineral-cream-dirt-1", + tree_name = "tree-grassland-b", + weight = 8 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-cream-dirt-1", + tree_name = "tree-grassland-f", + weight = 776 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-cream-dirt-1", + tree_name = "tree-grassland-g", + weight = 36 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-cream-dirt-1", + tree_name = "tree-grassland-h", + weight = 141 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-cream-dirt-1", + tree_name = "tree-grassland-h2", + weight = 88 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-cream-dirt-1", + tree_name = "tree-grassland-h3", + weight = 2 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-cream-dirt-1", + tree_name = "tree-grassland-i", + weight = 49 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-cream-dirt-1", + tree_name = "tree-grassland-k", + weight = 3680 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-cream-dirt-1", + tree_name = "tree-grassland-l", + weight = 131 + }, + ["tree-wetland-d"] = { + tile_name = "mineral-cream-dirt-1", + tree_name = "tree-wetland-d", + weight = 128 + }, + ["tree-wetland-g"] = { + tile_name = "mineral-cream-dirt-1", + tree_name = "tree-wetland-g", + weight = 5106 + }, + ["tree-wetland-i"] = { + tile_name = "mineral-cream-dirt-1", + tree_name = "tree-wetland-i", + weight = 428 + }, + ["tree-wetland-j"] = { + tile_name = "mineral-cream-dirt-1", + tree_name = "tree-wetland-j", + weight = 44 + } +} +terrains["mineral-cream-dirt-4"] = { + name = "mineral-cream-dirt-4", + ["tree-desert-f"] = { + tile_name = "mineral-cream-dirt-4", + tree_name = "tree-desert-f", + weight = 329 + }, + ["tree-desert-g"] = { + tile_name = "mineral-cream-dirt-4", + tree_name = "tree-desert-g", + weight = 20 + }, + ["tree-desert-i"] = { + tile_name = "mineral-cream-dirt-4", + tree_name = "tree-desert-i", + weight = 331 + }, + ["tree-desert-m"] = { + tile_name = "mineral-cream-dirt-4", + tree_name = "tree-desert-m", + weight = 47 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-cream-dirt-4", + tree_name = "tree-dryland-e", + weight = 6037 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-cream-dirt-4", + tree_name = "tree-dryland-f", + weight = 2 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-cream-dirt-4", + tree_name = "tree-dryland-g", + weight = 2191 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-cream-dirt-4", + tree_name = "tree-dryland-h", + weight = 29 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-cream-dirt-4", + tree_name = "tree-dryland-i", + weight = 12 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-cream-dirt-4", + tree_name = "tree-dryland-j", + weight = 2305 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-cream-dirt-4", + tree_name = "tree-dryland-k", + weight = 1277 + }, + ["tree-dryland-n"] = { + tile_name = "mineral-cream-dirt-4", + tree_name = "tree-dryland-n", + weight = 3 + }, + ["tree-grassland-a"] = { + tile_name = "mineral-cream-dirt-4", + tree_name = "tree-grassland-a", + weight = 40 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-cream-dirt-4", + tree_name = "tree-grassland-f", + weight = 213 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-cream-dirt-4", + tree_name = "tree-grassland-g", + weight = 28 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-cream-dirt-4", + tree_name = "tree-grassland-h", + weight = 73 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-cream-dirt-4", + tree_name = "tree-grassland-h2", + weight = 27 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-cream-dirt-4", + tree_name = "tree-grassland-i", + weight = 93 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-cream-dirt-4", + tree_name = "tree-grassland-k", + weight = 754 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-cream-dirt-4", + tree_name = "tree-grassland-l", + weight = 207 + }, + ["tree-wetland-d"] = { + tile_name = "mineral-cream-dirt-4", + tree_name = "tree-wetland-d", + weight = 59 + }, + ["tree-wetland-g"] = { + tile_name = "mineral-cream-dirt-4", + tree_name = "tree-wetland-g", + weight = 1099 + }, + ["tree-wetland-i"] = { + tile_name = "mineral-cream-dirt-4", + tree_name = "tree-wetland-i", + weight = 71 + }, + ["tree-wetland-j"] = { + tile_name = "mineral-cream-dirt-4", + tree_name = "tree-wetland-j", + weight = 20 + } +} +terrains["mineral-cream-dirt-6"] = { + name = "mineral-cream-dirt-6", + ["tree-desert-f"] = { + tile_name = "mineral-cream-dirt-6", + tree_name = "tree-desert-f", + weight = 65 + }, + ["tree-desert-g"] = { + tile_name = "mineral-cream-dirt-6", + tree_name = "tree-desert-g", + weight = 4 + }, + ["tree-desert-i"] = { + tile_name = "mineral-cream-dirt-6", + tree_name = "tree-desert-i", + weight = 126 + }, + ["tree-desert-k"] = { + tile_name = "mineral-cream-dirt-6", + tree_name = "tree-desert-k", + weight = 2 + }, + ["tree-desert-m"] = { + tile_name = "mineral-cream-dirt-6", + tree_name = "tree-desert-m", + weight = 111 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-cream-dirt-6", + tree_name = "tree-dryland-e", + weight = 2088 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-cream-dirt-6", + tree_name = "tree-dryland-g", + weight = 668 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-cream-dirt-6", + tree_name = "tree-dryland-h", + weight = 11 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-cream-dirt-6", + tree_name = "tree-dryland-i", + weight = 7 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-cream-dirt-6", + tree_name = "tree-dryland-j", + weight = 921 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-cream-dirt-6", + tree_name = "tree-dryland-k", + weight = 397 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-cream-dirt-6", + tree_name = "tree-dryland-l", + weight = 2 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-cream-dirt-6", + tree_name = "tree-dryland-m", + weight = 2 + }, + ["tree-dryland-n"] = { + tile_name = "mineral-cream-dirt-6", + tree_name = "tree-dryland-n", + weight = 2 + }, + ["tree-grassland-a"] = { + tile_name = "mineral-cream-dirt-6", + tree_name = "tree-grassland-a", + weight = 21 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-cream-dirt-6", + tree_name = "tree-grassland-f", + weight = 141 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-cream-dirt-6", + tree_name = "tree-grassland-g", + weight = 6 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-cream-dirt-6", + tree_name = "tree-grassland-h", + weight = 32 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-cream-dirt-6", + tree_name = "tree-grassland-h2", + weight = 8 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-cream-dirt-6", + tree_name = "tree-grassland-i", + weight = 31 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-cream-dirt-6", + tree_name = "tree-grassland-k", + weight = 279 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-cream-dirt-6", + tree_name = "tree-grassland-l", + weight = 89 + }, + ["tree-grassland-n"] = { + tile_name = "mineral-cream-dirt-6", + tree_name = "tree-grassland-n", + weight = 3 + }, + ["tree-grassland-p"] = { + tile_name = "mineral-cream-dirt-6", + tree_name = "tree-grassland-p", + weight = 2 + }, + ["tree-wetland-d"] = { + tile_name = "mineral-cream-dirt-6", + tree_name = "tree-wetland-d", + weight = 17 + }, + ["tree-wetland-g"] = { + tile_name = "mineral-cream-dirt-6", + tree_name = "tree-wetland-g", + weight = 331 + }, + ["tree-wetland-i"] = { + tile_name = "mineral-cream-dirt-6", + tree_name = "tree-wetland-i", + weight = 14 + } +} +terrains["mineral-cream-dirt-2"] = { + name = "mineral-cream-dirt-2", + ["tree-desert-f"] = { + tile_name = "mineral-cream-dirt-2", + tree_name = "tree-desert-f", + weight = 535 + }, + ["tree-desert-g"] = { + tile_name = "mineral-cream-dirt-2", + tree_name = "tree-desert-g", + weight = 148 + }, + ["tree-desert-i"] = { + tile_name = "mineral-cream-dirt-2", + tree_name = "tree-desert-i", + weight = 797 + }, + ["tree-desert-m"] = { + tile_name = "mineral-cream-dirt-2", + tree_name = "tree-desert-m", + weight = 45 + }, + ["tree-dryland-a"] = { + tile_name = "mineral-cream-dirt-2", + tree_name = "tree-dryland-a", + weight = 8 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-cream-dirt-2", + tree_name = "tree-dryland-e", + weight = 21399 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-cream-dirt-2", + tree_name = "tree-dryland-f", + weight = 8 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-cream-dirt-2", + tree_name = "tree-dryland-g", + weight = 6434 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-cream-dirt-2", + tree_name = "tree-dryland-h", + weight = 88 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-cream-dirt-2", + tree_name = "tree-dryland-i", + weight = 15 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-cream-dirt-2", + tree_name = "tree-dryland-j", + weight = 5729 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-cream-dirt-2", + tree_name = "tree-dryland-k", + weight = 5794 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-cream-dirt-2", + tree_name = "tree-dryland-l", + weight = 2 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-cream-dirt-2", + tree_name = "tree-dryland-m", + weight = 34 + }, + ["tree-dryland-n"] = { + tile_name = "mineral-cream-dirt-2", + tree_name = "tree-dryland-n", + weight = 16 + }, + ["tree-grassland-a"] = { + tile_name = "mineral-cream-dirt-2", + tree_name = "tree-grassland-a", + weight = 207 + }, + ["tree-grassland-b"] = { + tile_name = "mineral-cream-dirt-2", + tree_name = "tree-grassland-b", + weight = 8 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-cream-dirt-2", + tree_name = "tree-grassland-f", + weight = 507 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-cream-dirt-2", + tree_name = "tree-grassland-g", + weight = 233 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-cream-dirt-2", + tree_name = "tree-grassland-h", + weight = 65 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-cream-dirt-2", + tree_name = "tree-grassland-h2", + weight = 66 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-cream-dirt-2", + tree_name = "tree-grassland-i", + weight = 105 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-cream-dirt-2", + tree_name = "tree-grassland-k", + weight = 2567 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-cream-dirt-2", + tree_name = "tree-grassland-l", + weight = 752 + }, + ["tree-grassland-p"] = { + tile_name = "mineral-cream-dirt-2", + tree_name = "tree-grassland-p", + weight = 5 + }, + ["tree-wetland-d"] = { + tile_name = "mineral-cream-dirt-2", + tree_name = "tree-wetland-d", + weight = 82 + }, + ["tree-wetland-g"] = { + tile_name = "mineral-cream-dirt-2", + tree_name = "tree-wetland-g", + weight = 2326 + }, + ["tree-wetland-i"] = { + tile_name = "mineral-cream-dirt-2", + tree_name = "tree-wetland-i", + weight = 422 + }, + ["tree-wetland-j"] = { + tile_name = "mineral-cream-dirt-2", + tree_name = "tree-wetland-j", + weight = 26 + } +} +terrains["mineral-cream-sand-1"] = { + name = "mineral-cream-sand-1", + ["tree-desert-a"] = { + tile_name = "mineral-cream-sand-1", + tree_name = "tree-desert-a", + weight = 2 + }, + ["tree-desert-b"] = { + tile_name = "mineral-cream-sand-1", + tree_name = "tree-desert-b", + weight = 4 + }, + ["tree-desert-f"] = { + tile_name = "mineral-cream-sand-1", + tree_name = "tree-desert-f", + weight = 1609 + }, + ["tree-desert-g"] = { + tile_name = "mineral-cream-sand-1", + tree_name = "tree-desert-g", + weight = 45 + }, + ["tree-desert-h"] = { + tile_name = "mineral-cream-sand-1", + tree_name = "tree-desert-h", + weight = 2 + }, + ["tree-desert-i"] = { + tile_name = "mineral-cream-sand-1", + tree_name = "tree-desert-i", + weight = 2700 + }, + ["tree-desert-k"] = { + tile_name = "mineral-cream-sand-1", + tree_name = "tree-desert-k", + weight = 3 + }, + ["tree-desert-m"] = { + tile_name = "mineral-cream-sand-1", + tree_name = "tree-desert-m", + weight = 1389 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-cream-sand-1", + tree_name = "tree-dryland-e", + weight = 305 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-cream-sand-1", + tree_name = "tree-dryland-g", + weight = 123 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-cream-sand-1", + tree_name = "tree-dryland-j", + weight = 252 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-cream-sand-1", + tree_name = "tree-dryland-k", + weight = 189 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-cream-sand-1", + tree_name = "tree-grassland-f", + weight = 6 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-cream-sand-1", + tree_name = "tree-grassland-k", + weight = 149 + }, + ["tree-wetland-d"] = { + tile_name = "mineral-cream-sand-1", + tree_name = "tree-wetland-d", + weight = 877 + }, + ["tree-wetland-g"] = { + tile_name = "mineral-cream-sand-1", + tree_name = "tree-wetland-g", + weight = 77 + }, + ["tree-wetland-i"] = { + tile_name = "mineral-cream-sand-1", + tree_name = "tree-wetland-i", + weight = 651 + }, + ["tree-wetland-j"] = { + tile_name = "mineral-cream-sand-1", + tree_name = "tree-wetland-j", + weight = 258 + }, + ["tree-wetland-m"] = { + tile_name = "mineral-cream-sand-1", + tree_name = "tree-wetland-m", + weight = 4 + } +} +terrains["mineral-cream-dirt-3"] = { + name = "mineral-cream-dirt-3", + ["tree-desert-a"] = { + tile_name = "mineral-cream-dirt-3", + tree_name = "tree-desert-a", + weight = 2 + }, + ["tree-desert-f"] = { + tile_name = "mineral-cream-dirt-3", + tree_name = "tree-desert-f", + weight = 143 + }, + ["tree-desert-g"] = { + tile_name = "mineral-cream-dirt-3", + tree_name = "tree-desert-g", + weight = 33 + }, + ["tree-desert-i"] = { + tile_name = "mineral-cream-dirt-3", + tree_name = "tree-desert-i", + weight = 340 + }, + ["tree-desert-m"] = { + tile_name = "mineral-cream-dirt-3", + tree_name = "tree-desert-m", + weight = 78 + }, + ["tree-dryland-a"] = { + tile_name = "mineral-cream-dirt-3", + tree_name = "tree-dryland-a", + weight = 3 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-cream-dirt-3", + tree_name = "tree-dryland-e", + weight = 7845 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-cream-dirt-3", + tree_name = "tree-dryland-f", + weight = 5 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-cream-dirt-3", + tree_name = "tree-dryland-g", + weight = 2119 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-cream-dirt-3", + tree_name = "tree-dryland-h", + weight = 29 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-cream-dirt-3", + tree_name = "tree-dryland-i", + weight = 6 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-cream-dirt-3", + tree_name = "tree-dryland-j", + weight = 2927 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-cream-dirt-3", + tree_name = "tree-dryland-k", + weight = 2659 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-cream-dirt-3", + tree_name = "tree-dryland-l", + weight = 3 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-cream-dirt-3", + tree_name = "tree-dryland-m", + weight = 36 + }, + ["tree-dryland-n"] = { + tile_name = "mineral-cream-dirt-3", + tree_name = "tree-dryland-n", + weight = 17 + }, + ["tree-grassland-a"] = { + tile_name = "mineral-cream-dirt-3", + tree_name = "tree-grassland-a", + weight = 186 + }, + ["tree-grassland-b"] = { + tile_name = "mineral-cream-dirt-3", + tree_name = "tree-grassland-b", + weight = 10 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-cream-dirt-3", + tree_name = "tree-grassland-f", + weight = 315 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-cream-dirt-3", + tree_name = "tree-grassland-g", + weight = 9 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-cream-dirt-3", + tree_name = "tree-grassland-h", + weight = 56 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-cream-dirt-3", + tree_name = "tree-grassland-h2", + weight = 29 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-cream-dirt-3", + tree_name = "tree-grassland-i", + weight = 43 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-cream-dirt-3", + tree_name = "tree-grassland-k", + weight = 1768 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-cream-dirt-3", + tree_name = "tree-grassland-l", + weight = 354 + }, + ["tree-grassland-p"] = { + tile_name = "mineral-cream-dirt-3", + tree_name = "tree-grassland-p", + weight = 2 + }, + ["tree-wetland-d"] = { + tile_name = "mineral-cream-dirt-3", + tree_name = "tree-wetland-d", + weight = 36 + }, + ["tree-wetland-g"] = { + tile_name = "mineral-cream-dirt-3", + tree_name = "tree-wetland-g", + weight = 1158 + }, + ["tree-wetland-i"] = { + tile_name = "mineral-cream-dirt-3", + tree_name = "tree-wetland-i", + weight = 269 + }, + ["tree-wetland-j"] = { + tile_name = "mineral-cream-dirt-3", + tree_name = "tree-wetland-j", + weight = 41 + } +} +terrains["mineral-cream-sand-2"] = { + name = "mineral-cream-sand-2", + ["tree-desert-b"] = { + tile_name = "mineral-cream-sand-2", + tree_name = "tree-desert-b", + weight = 3 + }, + ["tree-desert-f"] = { + tile_name = "mineral-cream-sand-2", + tree_name = "tree-desert-f", + weight = 1120 + }, + ["tree-desert-g"] = { + tile_name = "mineral-cream-sand-2", + tree_name = "tree-desert-g", + weight = 3 + }, + ["tree-desert-i"] = { + tile_name = "mineral-cream-sand-2", + tree_name = "tree-desert-i", + weight = 2128 + }, + ["tree-desert-j"] = { + tile_name = "mineral-cream-sand-2", + tree_name = "tree-desert-j", + weight = 2 + }, + ["tree-desert-m"] = { + tile_name = "mineral-cream-sand-2", + tree_name = "tree-desert-m", + weight = 1109 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-cream-sand-2", + tree_name = "tree-dryland-e", + weight = 145 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-cream-sand-2", + tree_name = "tree-dryland-g", + weight = 38 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-cream-sand-2", + tree_name = "tree-dryland-j", + weight = 229 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-cream-sand-2", + tree_name = "tree-dryland-k", + weight = 521 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-cream-sand-2", + tree_name = "tree-grassland-f", + weight = 5 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-cream-sand-2", + tree_name = "tree-grassland-h2", + weight = 7 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-cream-sand-2", + tree_name = "tree-grassland-k", + weight = 131 + }, + ["tree-wetland-d"] = { + tile_name = "mineral-cream-sand-2", + tree_name = "tree-wetland-d", + weight = 705 + }, + ["tree-wetland-g"] = { + tile_name = "mineral-cream-sand-2", + tree_name = "tree-wetland-g", + weight = 38 + }, + ["tree-wetland-i"] = { + tile_name = "mineral-cream-sand-2", + tree_name = "tree-wetland-i", + weight = 95 + }, + ["tree-wetland-j"] = { + tile_name = "mineral-cream-sand-2", + tree_name = "tree-wetland-j", + weight = 119 + }, + ["tree-wetland-m"] = { + tile_name = "mineral-cream-sand-2", + tree_name = "tree-wetland-m", + weight = 6 + } +} +terrains["mineral-cream-dirt-5"] = { + name = "mineral-cream-dirt-5", + ["tree-desert-f"] = { + tile_name = "mineral-cream-dirt-5", + tree_name = "tree-desert-f", + weight = 142 + }, + ["tree-desert-g"] = { + tile_name = "mineral-cream-dirt-5", + tree_name = "tree-desert-g", + weight = 32 + }, + ["tree-desert-i"] = { + tile_name = "mineral-cream-dirt-5", + tree_name = "tree-desert-i", + weight = 307 + }, + ["tree-desert-m"] = { + tile_name = "mineral-cream-dirt-5", + tree_name = "tree-desert-m", + weight = 71 + }, + ["tree-dryland-a"] = { + tile_name = "mineral-cream-dirt-5", + tree_name = "tree-dryland-a", + weight = 2 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-cream-dirt-5", + tree_name = "tree-dryland-e", + weight = 2398 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-cream-dirt-5", + tree_name = "tree-dryland-g", + weight = 787 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-cream-dirt-5", + tree_name = "tree-dryland-h", + weight = 13 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-cream-dirt-5", + tree_name = "tree-dryland-i", + weight = 7 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-cream-dirt-5", + tree_name = "tree-dryland-j", + weight = 553 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-cream-dirt-5", + tree_name = "tree-dryland-k", + weight = 532 + }, + ["tree-dryland-n"] = { + tile_name = "mineral-cream-dirt-5", + tree_name = "tree-dryland-n", + weight = 6 + }, + ["tree-grassland-a"] = { + tile_name = "mineral-cream-dirt-5", + tree_name = "tree-grassland-a", + weight = 204 + }, + ["tree-grassland-b"] = { + tile_name = "mineral-cream-dirt-5", + tree_name = "tree-grassland-b", + weight = 4 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-cream-dirt-5", + tree_name = "tree-grassland-f", + weight = 116 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-cream-dirt-5", + tree_name = "tree-grassland-g", + weight = 5 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-cream-dirt-5", + tree_name = "tree-grassland-h", + weight = 16 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-cream-dirt-5", + tree_name = "tree-grassland-h2", + weight = 9 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-cream-dirt-5", + tree_name = "tree-grassland-i", + weight = 47 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-cream-dirt-5", + tree_name = "tree-grassland-k", + weight = 1248 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-cream-dirt-5", + tree_name = "tree-grassland-l", + weight = 575 + }, + ["tree-grassland-n"] = { + tile_name = "mineral-cream-dirt-5", + tree_name = "tree-grassland-n", + weight = 4 + }, + ["tree-wetland-d"] = { + tile_name = "mineral-cream-dirt-5", + tree_name = "tree-wetland-d", + weight = 16 + }, + ["tree-wetland-g"] = { + tile_name = "mineral-cream-dirt-5", + tree_name = "tree-wetland-g", + weight = 437 + }, + ["tree-wetland-i"] = { + tile_name = "mineral-cream-dirt-5", + tree_name = "tree-wetland-i", + weight = 52 + }, + ["tree-wetland-j"] = { + tile_name = "mineral-cream-dirt-5", + tree_name = "tree-wetland-j", + weight = 17 + } +} +terrains["mineral-cream-sand-3"] = { + name = "mineral-cream-sand-3", + ["tree-desert-b"] = { + tile_name = "mineral-cream-sand-3", + tree_name = "tree-desert-b", + weight = 3 + }, + ["tree-desert-f"] = { + tile_name = "mineral-cream-sand-3", + tree_name = "tree-desert-f", + weight = 571 + }, + ["tree-desert-g"] = { + tile_name = "mineral-cream-sand-3", + tree_name = "tree-desert-g", + weight = 21 + }, + ["tree-desert-i"] = { + tile_name = "mineral-cream-sand-3", + tree_name = "tree-desert-i", + weight = 1057 + }, + ["tree-desert-m"] = { + tile_name = "mineral-cream-sand-3", + tree_name = "tree-desert-m", + weight = 588 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-cream-sand-3", + tree_name = "tree-dryland-e", + weight = 86 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-cream-sand-3", + tree_name = "tree-dryland-g", + weight = 35 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-cream-sand-3", + tree_name = "tree-dryland-j", + weight = 92 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-cream-sand-3", + tree_name = "tree-dryland-k", + weight = 150 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-cream-sand-3", + tree_name = "tree-grassland-f", + weight = 2 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-cream-sand-3", + tree_name = "tree-grassland-k", + weight = 45 + }, + ["tree-wetland-d"] = { + tile_name = "mineral-cream-sand-3", + tree_name = "tree-wetland-d", + weight = 308 + }, + ["tree-wetland-g"] = { + tile_name = "mineral-cream-sand-3", + tree_name = "tree-wetland-g", + weight = 42 + }, + ["tree-wetland-i"] = { + tile_name = "mineral-cream-sand-3", + tree_name = "tree-wetland-i", + weight = 5 + }, + ["tree-wetland-j"] = { + tile_name = "mineral-cream-sand-3", + tree_name = "tree-wetland-j", + weight = 86 + }, + ["tree-wetland-m"] = { + tile_name = "mineral-cream-sand-3", + tree_name = "tree-wetland-m", + weight = 2 + } +} +terrains["mineral-tan-sand-3"] = { + name = "mineral-tan-sand-3", + ["tree-desert-a"] = { + tile_name = "mineral-tan-sand-3", + tree_name = "tree-desert-a", + weight = 2 + }, + ["tree-desert-b"] = { + tile_name = "mineral-tan-sand-3", + tree_name = "tree-desert-b", + weight = 312 + }, + ["tree-desert-d"] = { + tile_name = "mineral-tan-sand-3", + tree_name = "tree-desert-d", + weight = 2 + }, + ["tree-desert-f"] = { + tile_name = "mineral-tan-sand-3", + tree_name = "tree-desert-f", + weight = 269 + }, + ["tree-dryland-a"] = { + tile_name = "mineral-tan-sand-3", + tree_name = "tree-dryland-a", + weight = 19 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-tan-sand-3", + tree_name = "tree-dryland-f", + weight = 19 + }, + ["tree-grassland-b"] = { + tile_name = "mineral-tan-sand-3", + tree_name = "tree-grassland-b", + weight = 8 + }, + ["tree-grassland-c"] = { + tile_name = "mineral-tan-sand-3", + tree_name = "tree-grassland-c", + weight = 11 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-tan-sand-3", + tree_name = "tree-grassland-f", + weight = 17 + }, + ["tree-wetland-d"] = { + tile_name = "mineral-tan-sand-3", + tree_name = "tree-wetland-d", + weight = 264 + } +} +terrains["mineral-tan-sand-2"] = { + name = "mineral-tan-sand-2", + ["tree-desert-b"] = { + tile_name = "mineral-tan-sand-2", + tree_name = "tree-desert-b", + weight = 656 + }, + ["tree-desert-f"] = { + tile_name = "mineral-tan-sand-2", + tree_name = "tree-desert-f", + weight = 427 + }, + ["tree-dryland-a"] = { + tile_name = "mineral-tan-sand-2", + tree_name = "tree-dryland-a", + weight = 30 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-tan-sand-2", + tree_name = "tree-dryland-f", + weight = 93 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-tan-sand-2", + tree_name = "tree-dryland-g", + weight = 3 + }, + ["tree-grassland-b"] = { + tile_name = "mineral-tan-sand-2", + tree_name = "tree-grassland-b", + weight = 56 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-tan-sand-2", + tree_name = "tree-grassland-f", + weight = 58 + }, + ["tree-wetland-b"] = { + tile_name = "mineral-tan-sand-2", + tree_name = "tree-wetland-b", + weight = 4 + }, + ["tree-wetland-d"] = { + tile_name = "mineral-tan-sand-2", + tree_name = "tree-wetland-d", + weight = 617 + } +} +terrains["mineral-tan-sand-1"] = { + name = "mineral-tan-sand-1", + ["tree-desert-b"] = { + tile_name = "mineral-tan-sand-1", + tree_name = "tree-desert-b", + weight = 431 + }, + ["tree-desert-e"] = { + tile_name = "mineral-tan-sand-1", + tree_name = "tree-desert-e", + weight = 2 + }, + ["tree-desert-f"] = { + tile_name = "mineral-tan-sand-1", + tree_name = "tree-desert-f", + weight = 1113 + }, + ["tree-desert-h"] = { + tile_name = "mineral-tan-sand-1", + tree_name = "tree-desert-h", + weight = 2 + }, + ["tree-dryland-a"] = { + tile_name = "mineral-tan-sand-1", + tree_name = "tree-dryland-a", + weight = 72 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-tan-sand-1", + tree_name = "tree-dryland-f", + weight = 111 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-tan-sand-1", + tree_name = "tree-dryland-g", + weight = 28 + }, + ["tree-grassland-b"] = { + tile_name = "mineral-tan-sand-1", + tree_name = "tree-grassland-b", + weight = 135 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-tan-sand-1", + tree_name = "tree-grassland-f", + weight = 195 + }, + ["tree-wetland-b"] = { + tile_name = "mineral-tan-sand-1", + tree_name = "tree-wetland-b", + weight = 34 + }, + ["tree-wetland-d"] = { + tile_name = "mineral-tan-sand-1", + tree_name = "tree-wetland-d", + weight = 460 + }, + ["tree-wetland-g"] = { + tile_name = "mineral-tan-sand-1", + tree_name = "tree-wetland-g", + weight = 2 + } +} +terrains["mineral-tan-dirt-1"] = { + name = "mineral-tan-dirt-1", + ["tree-desert-b"] = { + tile_name = "mineral-tan-dirt-1", + tree_name = "tree-desert-b", + weight = 99 + }, + ["tree-desert-f"] = { + tile_name = "mineral-tan-dirt-1", + tree_name = "tree-desert-f", + weight = 224 + }, + ["tree-dryland-a"] = { + tile_name = "mineral-tan-dirt-1", + tree_name = "tree-dryland-a", + weight = 480 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-tan-dirt-1", + tree_name = "tree-dryland-c", + weight = 6 + }, + ["tree-dryland-d"] = { + tile_name = "mineral-tan-dirt-1", + tree_name = "tree-dryland-d", + weight = 2 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-tan-dirt-1", + tree_name = "tree-dryland-e", + weight = 634 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-tan-dirt-1", + tree_name = "tree-dryland-f", + weight = 758 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-tan-dirt-1", + tree_name = "tree-dryland-g", + weight = 407 + }, + ["tree-dryland-n"] = { + tile_name = "mineral-tan-dirt-1", + tree_name = "tree-dryland-n", + weight = 2 + }, + ["tree-grassland-a"] = { + tile_name = "mineral-tan-dirt-1", + tree_name = "tree-grassland-a", + weight = 650 + }, + ["tree-grassland-b"] = { + tile_name = "mineral-tan-dirt-1", + tree_name = "tree-grassland-b", + weight = 109 + }, + ["tree-grassland-c"] = { + tile_name = "mineral-tan-dirt-1", + tree_name = "tree-grassland-c", + weight = 22 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-tan-dirt-1", + tree_name = "tree-grassland-f", + weight = 282 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-tan-dirt-1", + tree_name = "tree-grassland-g", + weight = 3 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-tan-dirt-1", + tree_name = "tree-grassland-h", + weight = 7 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-tan-dirt-1", + tree_name = "tree-grassland-i", + weight = 26 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-tan-dirt-1", + tree_name = "tree-grassland-k", + weight = 4 + }, + ["tree-grassland-p"] = { + tile_name = "mineral-tan-dirt-1", + tree_name = "tree-grassland-p", + weight = 3 + }, + ["tree-wetland-a"] = { + tile_name = "mineral-tan-dirt-1", + tree_name = "tree-wetland-a", + weight = 26 + }, + ["tree-wetland-d"] = { + tile_name = "mineral-tan-dirt-1", + tree_name = "tree-wetland-d", + weight = 61 + }, + ["tree-wetland-g"] = { + tile_name = "mineral-tan-dirt-1", + tree_name = "tree-wetland-g", + weight = 70 + } +} +terrains["mineral-tan-dirt-5"] = { + name = "mineral-tan-dirt-5", + ["tree-desert-b"] = { + tile_name = "mineral-tan-dirt-5", + tree_name = "tree-desert-b", + weight = 8 + }, + ["tree-desert-f"] = { + tile_name = "mineral-tan-dirt-5", + tree_name = "tree-desert-f", + weight = 30 + }, + ["tree-dryland-a"] = { + tile_name = "mineral-tan-dirt-5", + tree_name = "tree-dryland-a", + weight = 111 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-tan-dirt-5", + tree_name = "tree-dryland-e", + weight = 136 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-tan-dirt-5", + tree_name = "tree-dryland-f", + weight = 127 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-tan-dirt-5", + tree_name = "tree-dryland-g", + weight = 97 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-tan-dirt-5", + tree_name = "tree-dryland-h", + weight = 4 + }, + ["tree-dryland-n"] = { + tile_name = "mineral-tan-dirt-5", + tree_name = "tree-dryland-n", + weight = 3 + }, + ["tree-grassland-a"] = { + tile_name = "mineral-tan-dirt-5", + tree_name = "tree-grassland-a", + weight = 418 + }, + ["tree-grassland-b"] = { + tile_name = "mineral-tan-dirt-5", + tree_name = "tree-grassland-b", + weight = 140 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-tan-dirt-5", + tree_name = "tree-grassland-f", + weight = 363 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-tan-dirt-5", + tree_name = "tree-grassland-g", + weight = 2 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-tan-dirt-5", + tree_name = "tree-grassland-h", + weight = 20 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-tan-dirt-5", + tree_name = "tree-grassland-h2", + weight = 2 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-tan-dirt-5", + tree_name = "tree-grassland-i", + weight = 3 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-tan-dirt-5", + tree_name = "tree-grassland-k", + weight = 3 + }, + ["tree-wetland-d"] = { + tile_name = "mineral-tan-dirt-5", + tree_name = "tree-wetland-d", + weight = 40 + } +} +terrains["mineral-tan-dirt-2"] = { + name = "mineral-tan-dirt-2", + ["tree-desert-b"] = { + tile_name = "mineral-tan-dirt-2", + tree_name = "tree-desert-b", + weight = 4 + }, + ["tree-desert-f"] = { + tile_name = "mineral-tan-dirt-2", + tree_name = "tree-desert-f", + weight = 41 + }, + ["tree-dryland-a"] = { + tile_name = "mineral-tan-dirt-2", + tree_name = "tree-dryland-a", + weight = 19 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-tan-dirt-2", + tree_name = "tree-dryland-e", + weight = 295 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-tan-dirt-2", + tree_name = "tree-dryland-f", + weight = 379 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-tan-dirt-2", + tree_name = "tree-dryland-g", + weight = 598 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-tan-dirt-2", + tree_name = "tree-dryland-i", + weight = 3 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-tan-dirt-2", + tree_name = "tree-dryland-k", + weight = 4 + }, + ["tree-grassland-a"] = { + tile_name = "mineral-tan-dirt-2", + tree_name = "tree-grassland-a", + weight = 274 + }, + ["tree-grassland-b"] = { + tile_name = "mineral-tan-dirt-2", + tree_name = "tree-grassland-b", + weight = 4 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-tan-dirt-2", + tree_name = "tree-grassland-f", + weight = 704 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-tan-dirt-2", + tree_name = "tree-grassland-h", + weight = 14 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-tan-dirt-2", + tree_name = "tree-grassland-h2", + weight = 8 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-tan-dirt-2", + tree_name = "tree-grassland-i", + weight = 2 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-tan-dirt-2", + tree_name = "tree-grassland-k", + weight = 6 + }, + ["tree-wetland-a"] = { + tile_name = "mineral-tan-dirt-2", + tree_name = "tree-wetland-a", + weight = 4 + }, + ["tree-wetland-d"] = { + tile_name = "mineral-tan-dirt-2", + tree_name = "tree-wetland-d", + weight = 73 + }, + ["tree-wetland-g"] = { + tile_name = "mineral-tan-dirt-2", + tree_name = "tree-wetland-g", + weight = 20 + } +} +terrains["mineral-tan-dirt-3"] = { + name = "mineral-tan-dirt-3", + ["tree-desert-a"] = { + tile_name = "mineral-tan-dirt-3", + tree_name = "tree-desert-a", + weight = 2 + }, + ["tree-desert-b"] = { + tile_name = "mineral-tan-dirt-3", + tree_name = "tree-desert-b", + weight = 58 + }, + ["tree-desert-f"] = { + tile_name = "mineral-tan-dirt-3", + tree_name = "tree-desert-f", + weight = 113 + }, + ["tree-dryland-a"] = { + tile_name = "mineral-tan-dirt-3", + tree_name = "tree-dryland-a", + weight = 59 + }, + ["tree-dryland-d"] = { + tile_name = "mineral-tan-dirt-3", + tree_name = "tree-dryland-d", + weight = 2 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-tan-dirt-3", + tree_name = "tree-dryland-e", + weight = 105 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-tan-dirt-3", + tree_name = "tree-dryland-f", + weight = 188 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-tan-dirt-3", + tree_name = "tree-dryland-g", + weight = 246 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-tan-dirt-3", + tree_name = "tree-dryland-h", + weight = 6 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-tan-dirt-3", + tree_name = "tree-dryland-i", + weight = 3 + }, + ["tree-dryland-n"] = { + tile_name = "mineral-tan-dirt-3", + tree_name = "tree-dryland-n", + weight = 3 + }, + ["tree-grassland-a"] = { + tile_name = "mineral-tan-dirt-3", + tree_name = "tree-grassland-a", + weight = 355 + }, + ["tree-grassland-b"] = { + tile_name = "mineral-tan-dirt-3", + tree_name = "tree-grassland-b", + weight = 27 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-tan-dirt-3", + tree_name = "tree-grassland-f", + weight = 162 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-tan-dirt-3", + tree_name = "tree-grassland-g", + weight = 3 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-tan-dirt-3", + tree_name = "tree-grassland-h", + weight = 8 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-tan-dirt-3", + tree_name = "tree-grassland-h2", + weight = 3 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-tan-dirt-3", + tree_name = "tree-grassland-i", + weight = 25 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-tan-dirt-3", + tree_name = "tree-grassland-k", + weight = 18 + }, + ["tree-wetland-d"] = { + tile_name = "mineral-tan-dirt-3", + tree_name = "tree-wetland-d", + weight = 157 + } +} +terrains["mineral-tan-dirt-4"] = { + name = "mineral-tan-dirt-4", + ["tree-desert-b"] = { + tile_name = "mineral-tan-dirt-4", + tree_name = "tree-desert-b", + weight = 2 + }, + ["tree-desert-f"] = { + tile_name = "mineral-tan-dirt-4", + tree_name = "tree-desert-f", + weight = 57 + }, + ["tree-dryland-a"] = { + tile_name = "mineral-tan-dirt-4", + tree_name = "tree-dryland-a", + weight = 63 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-tan-dirt-4", + tree_name = "tree-dryland-e", + weight = 34 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-tan-dirt-4", + tree_name = "tree-dryland-f", + weight = 179 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-tan-dirt-4", + tree_name = "tree-dryland-g", + weight = 17 + }, + ["tree-grassland-a"] = { + tile_name = "mineral-tan-dirt-4", + tree_name = "tree-grassland-a", + weight = 251 + }, + ["tree-grassland-b"] = { + tile_name = "mineral-tan-dirt-4", + tree_name = "tree-grassland-b", + weight = 69 + }, + ["tree-grassland-c"] = { + tile_name = "mineral-tan-dirt-4", + tree_name = "tree-grassland-c", + weight = 3 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-tan-dirt-4", + tree_name = "tree-grassland-f", + weight = 1217 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-tan-dirt-4", + tree_name = "tree-grassland-g", + weight = 2 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-tan-dirt-4", + tree_name = "tree-grassland-h", + weight = 8 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-tan-dirt-4", + tree_name = "tree-grassland-i", + weight = 28 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-tan-dirt-4", + tree_name = "tree-grassland-k", + weight = 3 + }, + ["tree-wetland-d"] = { + tile_name = "mineral-tan-dirt-4", + tree_name = "tree-wetland-d", + weight = 95 + }, + ["tree-wetland-g"] = { + tile_name = "mineral-tan-dirt-4", + tree_name = "tree-wetland-g", + weight = 30 + } +} +terrains["mineral-tan-dirt-6"] = { + name = "mineral-tan-dirt-6", + ["tree-desert-b"] = { + tile_name = "mineral-tan-dirt-6", + tree_name = "tree-desert-b", + weight = 11 + }, + ["tree-desert-f"] = { + tile_name = "mineral-tan-dirt-6", + tree_name = "tree-desert-f", + weight = 17 + }, + ["tree-dryland-a"] = { + tile_name = "mineral-tan-dirt-6", + tree_name = "tree-dryland-a", + weight = 3 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-tan-dirt-6", + tree_name = "tree-dryland-e", + weight = 4 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-tan-dirt-6", + tree_name = "tree-dryland-f", + weight = 32 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-tan-dirt-6", + tree_name = "tree-dryland-g", + weight = 36 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-tan-dirt-6", + tree_name = "tree-dryland-h", + weight = 2 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-tan-dirt-6", + tree_name = "tree-dryland-i", + weight = 3 + }, + ["tree-grassland-a"] = { + tile_name = "mineral-tan-dirt-6", + tree_name = "tree-grassland-a", + weight = 241 + }, + ["tree-grassland-b"] = { + tile_name = "mineral-tan-dirt-6", + tree_name = "tree-grassland-b", + weight = 57 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-tan-dirt-6", + tree_name = "tree-grassland-f", + weight = 424 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-tan-dirt-6", + tree_name = "tree-grassland-h", + weight = 2 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-tan-dirt-6", + tree_name = "tree-grassland-i", + weight = 3 + }, + ["tree-wetland-d"] = { + tile_name = "mineral-tan-dirt-6", + tree_name = "tree-wetland-d", + weight = 41 + }, + ["tree-wetland-g"] = { + tile_name = "mineral-tan-dirt-6", + tree_name = "tree-wetland-g", + weight = 2 + } +} +terrains["mineral-white-sand-1"] = { + name = "mineral-white-sand-1", + ["tree-desert-a"] = { + tile_name = "mineral-white-sand-1", + tree_name = "tree-desert-a", + weight = 2 + }, + ["tree-desert-b"] = { + tile_name = "mineral-white-sand-1", + tree_name = "tree-desert-b", + weight = 2 + }, + ["tree-desert-i"] = { + tile_name = "mineral-white-sand-1", + tree_name = "tree-desert-i", + weight = 3009 + }, + ["tree-desert-k"] = { + tile_name = "mineral-white-sand-1", + tree_name = "tree-desert-k", + weight = 2 + }, + ["tree-desert-l"] = { + tile_name = "mineral-white-sand-1", + tree_name = "tree-desert-l", + weight = 2 + }, + ["tree-desert-m"] = { + tile_name = "mineral-white-sand-1", + tree_name = "tree-desert-m", + weight = 1605 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-white-sand-1", + tree_name = "tree-dryland-j", + weight = 69 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-white-sand-1", + tree_name = "tree-dryland-k", + weight = 148 + }, + ["tree-dryland-n"] = { + tile_name = "mineral-white-sand-1", + tree_name = "tree-dryland-n", + weight = 8 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-white-sand-1", + tree_name = "tree-grassland-k", + weight = 488 + }, + ["tree-wetland-j"] = { + tile_name = "mineral-white-sand-1", + tree_name = "tree-wetland-j", + weight = 166 + }, + ["tree-wetland-m"] = { + tile_name = "mineral-white-sand-1", + tree_name = "tree-wetland-m", + weight = 736 + } +} +terrains["mineral-white-dirt-2"] = { + name = "mineral-white-dirt-2", + ["tree-desert-i"] = { + tile_name = "mineral-white-dirt-2", + tree_name = "tree-desert-i", + weight = 274 + }, + ["tree-desert-m"] = { + tile_name = "mineral-white-dirt-2", + tree_name = "tree-desert-m", + weight = 29 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-white-dirt-2", + tree_name = "tree-dryland-j", + weight = 194 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-white-dirt-2", + tree_name = "tree-dryland-k", + weight = 530 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-white-dirt-2", + tree_name = "tree-dryland-m", + weight = 6 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-white-dirt-2", + tree_name = "tree-grassland-k", + weight = 129 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-white-dirt-2", + tree_name = "tree-grassland-l", + weight = 36 + }, + ["tree-grassland-n"] = { + tile_name = "mineral-white-dirt-2", + tree_name = "tree-grassland-n", + weight = 34 + }, + ["tree-wetland-j"] = { + tile_name = "mineral-white-dirt-2", + tree_name = "tree-wetland-j", + weight = 3 + }, + ["tree-wetland-m"] = { + tile_name = "mineral-white-dirt-2", + tree_name = "tree-wetland-m", + weight = 7 + } +} +terrains["mineral-white-dirt-1"] = { + name = "mineral-white-dirt-1", + ["tree-desert-a"] = { + tile_name = "mineral-white-dirt-1", + tree_name = "tree-desert-a", + weight = 2 + }, + ["tree-desert-i"] = { + tile_name = "mineral-white-dirt-1", + tree_name = "tree-desert-i", + weight = 319 + }, + ["tree-desert-k"] = { + tile_name = "mineral-white-dirt-1", + tree_name = "tree-desert-k", + weight = 2 + }, + ["tree-desert-m"] = { + tile_name = "mineral-white-dirt-1", + tree_name = "tree-desert-m", + weight = 73 + }, + ["tree-dryland-a"] = { + tile_name = "mineral-white-dirt-1", + tree_name = "tree-dryland-a", + weight = 3 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-white-dirt-1", + tree_name = "tree-dryland-e", + weight = 3 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-white-dirt-1", + tree_name = "tree-dryland-j", + weight = 1167 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-white-dirt-1", + tree_name = "tree-dryland-k", + weight = 1264 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-white-dirt-1", + tree_name = "tree-dryland-m", + weight = 2 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-white-dirt-1", + tree_name = "tree-grassland-f", + weight = 7 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-white-dirt-1", + tree_name = "tree-grassland-h3", + weight = 2 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-white-dirt-1", + tree_name = "tree-grassland-k", + weight = 396 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-white-dirt-1", + tree_name = "tree-grassland-l", + weight = 173 + }, + ["tree-grassland-n"] = { + tile_name = "mineral-white-dirt-1", + tree_name = "tree-grassland-n", + weight = 162 + }, + ["tree-wetland-j"] = { + tile_name = "mineral-white-dirt-1", + tree_name = "tree-wetland-j", + weight = 5 + }, + ["tree-wetland-m"] = { + tile_name = "mineral-white-dirt-1", + tree_name = "tree-wetland-m", + weight = 298 + } +} +terrains["mineral-white-dirt-5"] = { + name = "mineral-white-dirt-5", + ["tree-desert-i"] = { + tile_name = "mineral-white-dirt-5", + tree_name = "tree-desert-i", + weight = 291 + }, + ["tree-desert-m"] = { + tile_name = "mineral-white-dirt-5", + tree_name = "tree-desert-m", + weight = 72 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-white-dirt-5", + tree_name = "tree-dryland-j", + weight = 58 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-white-dirt-5", + tree_name = "tree-dryland-k", + weight = 85 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-white-dirt-5", + tree_name = "tree-grassland-k", + weight = 65 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-white-dirt-5", + tree_name = "tree-grassland-l", + weight = 32 + }, + ["tree-wetland-i"] = { + tile_name = "mineral-white-dirt-5", + tree_name = "tree-wetland-i", + weight = 8 + }, + ["tree-wetland-m"] = { + tile_name = "mineral-white-dirt-5", + tree_name = "tree-wetland-m", + weight = 155 + } +} +terrains["mineral-white-sand-3"] = { + name = "mineral-white-sand-3", + ["tree-desert-i"] = { + tile_name = "mineral-white-sand-3", + tree_name = "tree-desert-i", + weight = 811 + }, + ["tree-desert-m"] = { + tile_name = "mineral-white-sand-3", + tree_name = "tree-desert-m", + weight = 372 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-white-sand-3", + tree_name = "tree-dryland-j", + weight = 6 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-white-sand-3", + tree_name = "tree-dryland-k", + weight = 55 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-white-sand-3", + tree_name = "tree-grassland-k", + weight = 85 + }, + ["tree-wetland-j"] = { + tile_name = "mineral-white-sand-3", + tree_name = "tree-wetland-j", + weight = 4 + }, + ["tree-wetland-m"] = { + tile_name = "mineral-white-sand-3", + tree_name = "tree-wetland-m", + weight = 206 + } +} +terrains["mineral-white-sand-2"] = { + name = "mineral-white-sand-2", + ["tree-desert-a"] = { + tile_name = "mineral-white-sand-2", + tree_name = "tree-desert-a", + weight = 2 + }, + ["tree-desert-g"] = { + tile_name = "mineral-white-sand-2", + tree_name = "tree-desert-g", + weight = 2 + }, + ["tree-desert-i"] = { + tile_name = "mineral-white-sand-2", + tree_name = "tree-desert-i", + weight = 1182 + }, + ["tree-desert-m"] = { + tile_name = "mineral-white-sand-2", + tree_name = "tree-desert-m", + weight = 616 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-white-sand-2", + tree_name = "tree-dryland-j", + weight = 28 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-white-sand-2", + tree_name = "tree-dryland-k", + weight = 144 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-white-sand-2", + tree_name = "tree-grassland-k", + weight = 227 + }, + ["tree-grassland-n"] = { + tile_name = "mineral-white-sand-2", + tree_name = "tree-grassland-n", + weight = 3 + }, + ["tree-wetland-j"] = { + tile_name = "mineral-white-sand-2", + tree_name = "tree-wetland-j", + weight = 56 + }, + ["tree-wetland-m"] = { + tile_name = "mineral-white-sand-2", + tree_name = "tree-wetland-m", + weight = 399 + } +} +terrains["mineral-white-dirt-3"] = { + name = "mineral-white-dirt-3", + ["tree-desert-i"] = { + tile_name = "mineral-white-dirt-3", + tree_name = "tree-desert-i", + weight = 150 + }, + ["tree-desert-m"] = { + tile_name = "mineral-white-dirt-3", + tree_name = "tree-desert-m", + weight = 29 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-white-dirt-3", + tree_name = "tree-dryland-j", + weight = 178 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-white-dirt-3", + tree_name = "tree-dryland-k", + weight = 237 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-white-dirt-3", + tree_name = "tree-grassland-k", + weight = 242 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-white-dirt-3", + tree_name = "tree-grassland-l", + weight = 47 + }, + ["tree-wetland-j"] = { + tile_name = "mineral-white-dirt-3", + tree_name = "tree-wetland-j", + weight = 20 + }, + ["tree-wetland-m"] = { + tile_name = "mineral-white-dirt-3", + tree_name = "tree-wetland-m", + weight = 23 + } +} +terrains["mineral-white-dirt-6"] = { + name = "mineral-white-dirt-6", + ["tree-desert-i"] = { + tile_name = "mineral-white-dirt-6", + tree_name = "tree-desert-i", + weight = 114 + }, + ["tree-desert-m"] = { + tile_name = "mineral-white-dirt-6", + tree_name = "tree-desert-m", + weight = 59 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-white-dirt-6", + tree_name = "tree-dryland-j", + weight = 121 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-white-dirt-6", + tree_name = "tree-dryland-k", + weight = 109 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-white-dirt-6", + tree_name = "tree-grassland-f", + weight = 3 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-white-dirt-6", + tree_name = "tree-grassland-k", + weight = 100 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-white-dirt-6", + tree_name = "tree-grassland-l", + weight = 111 + }, + ["tree-grassland-n"] = { + tile_name = "mineral-white-dirt-6", + tree_name = "tree-grassland-n", + weight = 4 + }, + ["tree-wetland-j"] = { + tile_name = "mineral-white-dirt-6", + tree_name = "tree-wetland-j", + weight = 4 + }, + ["tree-wetland-m"] = { + tile_name = "mineral-white-dirt-6", + tree_name = "tree-wetland-m", + weight = 12 + } +} +terrains["mineral-white-dirt-4"] = { + name = "mineral-white-dirt-4", + ["tree-desert-i"] = { + tile_name = "mineral-white-dirt-4", + tree_name = "tree-desert-i", + weight = 151 + }, + ["tree-desert-m"] = { + tile_name = "mineral-white-dirt-4", + tree_name = "tree-desert-m", + weight = 25 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-white-dirt-4", + tree_name = "tree-dryland-j", + weight = 88 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-white-dirt-4", + tree_name = "tree-dryland-k", + weight = 227 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-white-dirt-4", + tree_name = "tree-grassland-k", + weight = 44 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-white-dirt-4", + tree_name = "tree-grassland-l", + weight = 191 + }, + ["tree-grassland-n"] = { + tile_name = "mineral-white-dirt-4", + tree_name = "tree-grassland-n", + weight = 13 + }, + ["tree-wetland-j"] = { + tile_name = "mineral-white-dirt-4", + tree_name = "tree-wetland-j", + weight = 21 + }, + ["tree-wetland-m"] = { + tile_name = "mineral-white-dirt-4", + tree_name = "tree-wetland-m", + weight = 37 + } +} +terrains["vegetation-olive-grass-1"] = { + name = "vegetation-olive-grass-1", + ["tree-desert-f"] = { + tile_name = "vegetation-olive-grass-1", + tree_name = "tree-desert-f", + weight = 4 + }, + ["tree-desert-h"] = { + tile_name = "vegetation-olive-grass-1", + tree_name = "tree-desert-h", + weight = 3 + }, + ["tree-dryland-e"] = { + tile_name = "vegetation-olive-grass-1", + tree_name = "tree-dryland-e", + weight = 565 + }, + ["tree-dryland-g"] = { + tile_name = "vegetation-olive-grass-1", + tree_name = "tree-dryland-g", + weight = 8 + }, + ["tree-dryland-h"] = { + tile_name = "vegetation-olive-grass-1", + tree_name = "tree-dryland-h", + weight = 442 + }, + ["tree-grassland-a"] = { + tile_name = "vegetation-olive-grass-1", + tree_name = "tree-grassland-a", + weight = 5756 + }, + ["tree-grassland-b"] = { + tile_name = "vegetation-olive-grass-1", + tree_name = "tree-grassland-b", + weight = 492 + }, + ["tree-grassland-c"] = { + tile_name = "vegetation-olive-grass-1", + tree_name = "tree-grassland-c", + weight = 2560 + }, + ["tree-grassland-d"] = { + tile_name = "vegetation-olive-grass-1", + tree_name = "tree-grassland-d", + weight = 126 + }, + ["tree-grassland-e"] = { + tile_name = "vegetation-olive-grass-1", + tree_name = "tree-grassland-e", + weight = 155 + }, + ["tree-grassland-f"] = { + tile_name = "vegetation-olive-grass-1", + tree_name = "tree-grassland-f", + weight = 66378 + }, + ["tree-grassland-g"] = { + tile_name = "vegetation-olive-grass-1", + tree_name = "tree-grassland-g", + weight = 247274 + }, + ["tree-grassland-h"] = { + tile_name = "vegetation-olive-grass-1", + tree_name = "tree-grassland-h", + weight = 107218 + }, + ["tree-grassland-h2"] = { + tile_name = "vegetation-olive-grass-1", + tree_name = "tree-grassland-h2", + weight = 1114 + }, + ["tree-grassland-i"] = { + tile_name = "vegetation-olive-grass-1", + tree_name = "tree-grassland-i", + weight = 3403 + }, + ["tree-grassland-k"] = { + tile_name = "vegetation-olive-grass-1", + tree_name = "tree-grassland-k", + weight = 553 + }, + ["tree-grassland-l"] = { + tile_name = "vegetation-olive-grass-1", + tree_name = "tree-grassland-l", + weight = 1651 + }, + ["tree-grassland-n"] = { + tile_name = "vegetation-olive-grass-1", + tree_name = "tree-grassland-n", + weight = 1572 + }, + ["tree-grassland-p"] = { + tile_name = "vegetation-olive-grass-1", + tree_name = "tree-grassland-p", + weight = 654 + }, + ["tree-wetland-a"] = { + tile_name = "vegetation-olive-grass-1", + tree_name = "tree-wetland-a", + weight = 34 + }, + ["tree-wetland-b"] = { + tile_name = "vegetation-olive-grass-1", + tree_name = "tree-wetland-b", + weight = 2139 + }, + ["tree-wetland-d"] = { + tile_name = "vegetation-olive-grass-1", + tree_name = "tree-wetland-d", + weight = 216786 + }, + ["tree-wetland-e"] = { + tile_name = "vegetation-olive-grass-1", + tree_name = "tree-wetland-e", + weight = 125666 + }, + ["tree-wetland-f"] = { + tile_name = "vegetation-olive-grass-1", + tree_name = "tree-wetland-f", + weight = 1237 + }, + ["tree-wetland-g"] = { + tile_name = "vegetation-olive-grass-1", + tree_name = "tree-wetland-g", + weight = 5517 + }, + ["tree-wetland-h"] = { + tile_name = "vegetation-olive-grass-1", + tree_name = "tree-wetland-h", + weight = 2530 + }, + ["tree-wetland-j"] = { + tile_name = "vegetation-olive-grass-1", + tree_name = "tree-wetland-j", + weight = 2052 + }, + ["tree-wetland-k"] = { + tile_name = "vegetation-olive-grass-1", + tree_name = "tree-wetland-k", + weight = 3 + }, + ["tree-wetland-n"] = { + tile_name = "vegetation-olive-grass-1", + tree_name = "tree-wetland-n", + weight = 1437 + } +} +terrains["vegetation-olive-grass-2"] = { + name = "vegetation-olive-grass-2", + ["tree-desert-f"] = { + tile_name = "vegetation-olive-grass-2", + tree_name = "tree-desert-f", + weight = 2 + }, + ["tree-desert-h"] = { + tile_name = "vegetation-olive-grass-2", + tree_name = "tree-desert-h", + weight = 2 + }, + ["tree-dryland-e"] = { + tile_name = "vegetation-olive-grass-2", + tree_name = "tree-dryland-e", + weight = 343 + }, + ["tree-dryland-g"] = { + tile_name = "vegetation-olive-grass-2", + tree_name = "tree-dryland-g", + weight = 5 + }, + ["tree-dryland-h"] = { + tile_name = "vegetation-olive-grass-2", + tree_name = "tree-dryland-h", + weight = 109 + }, + ["tree-grassland-a"] = { + tile_name = "vegetation-olive-grass-2", + tree_name = "tree-grassland-a", + weight = 2947 + }, + ["tree-grassland-b"] = { + tile_name = "vegetation-olive-grass-2", + tree_name = "tree-grassland-b", + weight = 291 + }, + ["tree-grassland-c"] = { + tile_name = "vegetation-olive-grass-2", + tree_name = "tree-grassland-c", + weight = 1511 + }, + ["tree-grassland-d"] = { + tile_name = "vegetation-olive-grass-2", + tree_name = "tree-grassland-d", + weight = 62 + }, + ["tree-grassland-e"] = { + tile_name = "vegetation-olive-grass-2", + tree_name = "tree-grassland-e", + weight = 48 + }, + ["tree-grassland-f"] = { + tile_name = "vegetation-olive-grass-2", + tree_name = "tree-grassland-f", + weight = 36058 + }, + ["tree-grassland-g"] = { + tile_name = "vegetation-olive-grass-2", + tree_name = "tree-grassland-g", + weight = 145692 + }, + ["tree-grassland-h"] = { + tile_name = "vegetation-olive-grass-2", + tree_name = "tree-grassland-h", + weight = 69559 + }, + ["tree-grassland-h2"] = { + tile_name = "vegetation-olive-grass-2", + tree_name = "tree-grassland-h2", + weight = 361 + }, + ["tree-grassland-i"] = { + tile_name = "vegetation-olive-grass-2", + tree_name = "tree-grassland-i", + weight = 1924 + }, + ["tree-grassland-k"] = { + tile_name = "vegetation-olive-grass-2", + tree_name = "tree-grassland-k", + weight = 337 + }, + ["tree-grassland-l"] = { + tile_name = "vegetation-olive-grass-2", + tree_name = "tree-grassland-l", + weight = 1122 + }, + ["tree-grassland-n"] = { + tile_name = "vegetation-olive-grass-2", + tree_name = "tree-grassland-n", + weight = 1042 + }, + ["tree-grassland-p"] = { + tile_name = "vegetation-olive-grass-2", + tree_name = "tree-grassland-p", + weight = 395 + }, + ["tree-wetland-a"] = { + tile_name = "vegetation-olive-grass-2", + tree_name = "tree-wetland-a", + weight = 14 + }, + ["tree-wetland-b"] = { + tile_name = "vegetation-olive-grass-2", + tree_name = "tree-wetland-b", + weight = 926 + }, + ["tree-wetland-d"] = { + tile_name = "vegetation-olive-grass-2", + tree_name = "tree-wetland-d", + weight = 105981 + }, + ["tree-wetland-e"] = { + tile_name = "vegetation-olive-grass-2", + tree_name = "tree-wetland-e", + weight = 63871 + }, + ["tree-wetland-f"] = { + tile_name = "vegetation-olive-grass-2", + tree_name = "tree-wetland-f", + weight = 814 + }, + ["tree-wetland-g"] = { + tile_name = "vegetation-olive-grass-2", + tree_name = "tree-wetland-g", + weight = 2060 + }, + ["tree-wetland-h"] = { + tile_name = "vegetation-olive-grass-2", + tree_name = "tree-wetland-h", + weight = 1551 + }, + ["tree-wetland-j"] = { + tile_name = "vegetation-olive-grass-2", + tree_name = "tree-wetland-j", + weight = 1478 + }, + ["tree-wetland-k"] = { + tile_name = "vegetation-olive-grass-2", + tree_name = "tree-wetland-k", + weight = 6 + }, + ["tree-wetland-n"] = { + tile_name = "vegetation-olive-grass-2", + tree_name = "tree-wetland-n", + weight = 735 + } +} +terrains["vegetation-yellow-grass-2"] = { + name = "vegetation-yellow-grass-2", + ["tree-desert-h"] = { + tile_name = "vegetation-yellow-grass-2", + tree_name = "tree-desert-h", + weight = 2 + }, + ["tree-dryland-c"] = { + tile_name = "vegetation-yellow-grass-2", + tree_name = "tree-dryland-c", + weight = 31 + }, + ["tree-dryland-e"] = { + tile_name = "vegetation-yellow-grass-2", + tree_name = "tree-dryland-e", + weight = 3 + }, + ["tree-dryland-f"] = { + tile_name = "vegetation-yellow-grass-2", + tree_name = "tree-dryland-f", + weight = 492 + }, + ["tree-dryland-g"] = { + tile_name = "vegetation-yellow-grass-2", + tree_name = "tree-dryland-g", + weight = 4 + }, + ["tree-dryland-h"] = { + tile_name = "vegetation-yellow-grass-2", + tree_name = "tree-dryland-h", + weight = 38 + }, + ["tree-dryland-k"] = { + tile_name = "vegetation-yellow-grass-2", + tree_name = "tree-dryland-k", + weight = 2 + }, + ["tree-dryland-n"] = { + tile_name = "vegetation-yellow-grass-2", + tree_name = "tree-dryland-n", + weight = 3 + }, + ["tree-grassland-a"] = { + tile_name = "vegetation-yellow-grass-2", + tree_name = "tree-grassland-a", + weight = 1136 + }, + ["tree-grassland-b"] = { + tile_name = "vegetation-yellow-grass-2", + tree_name = "tree-grassland-b", + weight = 81 + }, + ["tree-grassland-c"] = { + tile_name = "vegetation-yellow-grass-2", + tree_name = "tree-grassland-c", + weight = 25685 + }, + ["tree-grassland-d"] = { + tile_name = "vegetation-yellow-grass-2", + tree_name = "tree-grassland-d", + weight = 26 + }, + ["tree-grassland-e"] = { + tile_name = "vegetation-yellow-grass-2", + tree_name = "tree-grassland-e", + weight = 1450 + }, + ["tree-grassland-f"] = { + tile_name = "vegetation-yellow-grass-2", + tree_name = "tree-grassland-f", + weight = 31147 + }, + ["tree-grassland-g"] = { + tile_name = "vegetation-yellow-grass-2", + tree_name = "tree-grassland-g", + weight = 62257 + }, + ["tree-grassland-h"] = { + tile_name = "vegetation-yellow-grass-2", + tree_name = "tree-grassland-h", + weight = 33508 + }, + ["tree-grassland-h2"] = { + tile_name = "vegetation-yellow-grass-2", + tree_name = "tree-grassland-h2", + weight = 237 + }, + ["tree-grassland-i"] = { + tile_name = "vegetation-yellow-grass-2", + tree_name = "tree-grassland-i", + weight = 563 + }, + ["tree-grassland-k"] = { + tile_name = "vegetation-yellow-grass-2", + tree_name = "tree-grassland-k", + weight = 20 + }, + ["tree-grassland-l"] = { + tile_name = "vegetation-yellow-grass-2", + tree_name = "tree-grassland-l", + weight = 442 + }, + ["tree-grassland-n"] = { + tile_name = "vegetation-yellow-grass-2", + tree_name = "tree-grassland-n", + weight = 238 + }, + ["tree-grassland-p"] = { + tile_name = "vegetation-yellow-grass-2", + tree_name = "tree-grassland-p", + weight = 96 + }, + ["tree-wetland-a"] = { + tile_name = "vegetation-yellow-grass-2", + tree_name = "tree-wetland-a", + weight = 110 + }, + ["tree-wetland-b"] = { + tile_name = "vegetation-yellow-grass-2", + tree_name = "tree-wetland-b", + weight = 84 + }, + ["tree-wetland-d"] = { + tile_name = "vegetation-yellow-grass-2", + tree_name = "tree-wetland-d", + weight = 19497 + }, + ["tree-wetland-e"] = { + tile_name = "vegetation-yellow-grass-2", + tree_name = "tree-wetland-e", + weight = 6576 + }, + ["tree-wetland-f"] = { + tile_name = "vegetation-yellow-grass-2", + tree_name = "tree-wetland-f", + weight = 140 + }, + ["tree-wetland-g"] = { + tile_name = "vegetation-yellow-grass-2", + tree_name = "tree-wetland-g", + weight = 47 + }, + ["tree-wetland-h"] = { + tile_name = "vegetation-yellow-grass-2", + tree_name = "tree-wetland-h", + weight = 7 + }, + ["tree-wetland-j"] = { + tile_name = "vegetation-yellow-grass-2", + tree_name = "tree-wetland-j", + weight = 67 + }, + ["tree-wetland-n"] = { + tile_name = "vegetation-yellow-grass-2", + tree_name = "tree-wetland-n", + weight = 38 + } +} +terrains["vegetation-yellow-grass-1"] = { + name = "vegetation-yellow-grass-1", + ["tree-desert-c"] = { + tile_name = "vegetation-yellow-grass-1", + tree_name = "tree-desert-c", + weight = 2 + }, + ["tree-dryland-c"] = { + tile_name = "vegetation-yellow-grass-1", + tree_name = "tree-dryland-c", + weight = 94 + }, + ["tree-dryland-e"] = { + tile_name = "vegetation-yellow-grass-1", + tree_name = "tree-dryland-e", + weight = 3 + }, + ["tree-dryland-f"] = { + tile_name = "vegetation-yellow-grass-1", + tree_name = "tree-dryland-f", + weight = 908 + }, + ["tree-dryland-h"] = { + tile_name = "vegetation-yellow-grass-1", + tree_name = "tree-dryland-h", + weight = 24 + }, + ["tree-dryland-l"] = { + tile_name = "vegetation-yellow-grass-1", + tree_name = "tree-dryland-l", + weight = 3 + }, + ["tree-grassland-a"] = { + tile_name = "vegetation-yellow-grass-1", + tree_name = "tree-grassland-a", + weight = 2097 + }, + ["tree-grassland-b"] = { + tile_name = "vegetation-yellow-grass-1", + tree_name = "tree-grassland-b", + weight = 151 + }, + ["tree-grassland-c"] = { + tile_name = "vegetation-yellow-grass-1", + tree_name = "tree-grassland-c", + weight = 51083 + }, + ["tree-grassland-d"] = { + tile_name = "vegetation-yellow-grass-1", + tree_name = "tree-grassland-d", + weight = 32 + }, + ["tree-grassland-e"] = { + tile_name = "vegetation-yellow-grass-1", + tree_name = "tree-grassland-e", + weight = 3763 + }, + ["tree-grassland-f"] = { + tile_name = "vegetation-yellow-grass-1", + tree_name = "tree-grassland-f", + weight = 55271 + }, + ["tree-grassland-g"] = { + tile_name = "vegetation-yellow-grass-1", + tree_name = "tree-grassland-g", + weight = 119284 + }, + ["tree-grassland-h"] = { + tile_name = "vegetation-yellow-grass-1", + tree_name = "tree-grassland-h", + weight = 47088 + }, + ["tree-grassland-h2"] = { + tile_name = "vegetation-yellow-grass-1", + tree_name = "tree-grassland-h2", + weight = 111 + }, + ["tree-grassland-i"] = { + tile_name = "vegetation-yellow-grass-1", + tree_name = "tree-grassland-i", + weight = 904 + }, + ["tree-grassland-k"] = { + tile_name = "vegetation-yellow-grass-1", + tree_name = "tree-grassland-k", + weight = 57 + }, + ["tree-grassland-l"] = { + tile_name = "vegetation-yellow-grass-1", + tree_name = "tree-grassland-l", + weight = 1063 + }, + ["tree-grassland-n"] = { + tile_name = "vegetation-yellow-grass-1", + tree_name = "tree-grassland-n", + weight = 460 + }, + ["tree-grassland-p"] = { + tile_name = "vegetation-yellow-grass-1", + tree_name = "tree-grassland-p", + weight = 116 + }, + ["tree-wetland-a"] = { + tile_name = "vegetation-yellow-grass-1", + tree_name = "tree-wetland-a", + weight = 50 + }, + ["tree-wetland-b"] = { + tile_name = "vegetation-yellow-grass-1", + tree_name = "tree-wetland-b", + weight = 24 + }, + ["tree-wetland-d"] = { + tile_name = "vegetation-yellow-grass-1", + tree_name = "tree-wetland-d", + weight = 14775 + }, + ["tree-wetland-e"] = { + tile_name = "vegetation-yellow-grass-1", + tree_name = "tree-wetland-e", + weight = 10783 + }, + ["tree-wetland-f"] = { + tile_name = "vegetation-yellow-grass-1", + tree_name = "tree-wetland-f", + weight = 110 + }, + ["tree-wetland-g"] = { + tile_name = "vegetation-yellow-grass-1", + tree_name = "tree-wetland-g", + weight = 93 + }, + ["tree-wetland-h"] = { + tile_name = "vegetation-yellow-grass-1", + tree_name = "tree-wetland-h", + weight = 104 + }, + ["tree-wetland-j"] = { + tile_name = "vegetation-yellow-grass-1", + tree_name = "tree-wetland-j", + weight = 103 + }, + ["tree-wetland-n"] = { + tile_name = "vegetation-yellow-grass-1", + tree_name = "tree-wetland-n", + weight = 64 + } +} +terrains["vegetation-orange-grass-1"] = { + name = "vegetation-orange-grass-1", + ["tree-dryland-a"] = { + tile_name = "vegetation-orange-grass-1", + tree_name = "tree-dryland-a", + weight = 309 + }, + ["tree-dryland-b"] = { + tile_name = "vegetation-orange-grass-1", + tree_name = "tree-dryland-b", + weight = 482 + }, + ["tree-dryland-c"] = { + tile_name = "vegetation-orange-grass-1", + tree_name = "tree-dryland-c", + weight = 5 + }, + ["tree-dryland-f"] = { + tile_name = "vegetation-orange-grass-1", + tree_name = "tree-dryland-f", + weight = 483 + }, + ["tree-dryland-h"] = { + tile_name = "vegetation-orange-grass-1", + tree_name = "tree-dryland-h", + weight = 2 + }, + ["tree-grassland-a"] = { + tile_name = "vegetation-orange-grass-1", + tree_name = "tree-grassland-a", + weight = 2300 + }, + ["tree-grassland-b"] = { + tile_name = "vegetation-orange-grass-1", + tree_name = "tree-grassland-b", + weight = 49269 + }, + ["tree-grassland-c"] = { + tile_name = "vegetation-orange-grass-1", + tree_name = "tree-grassland-c", + weight = 498960 + }, + ["tree-grassland-d"] = { + tile_name = "vegetation-orange-grass-1", + tree_name = "tree-grassland-d", + weight = 9540 + }, + ["tree-grassland-e"] = { + tile_name = "vegetation-orange-grass-1", + tree_name = "tree-grassland-e", + weight = 20238 + }, + ["tree-grassland-f"] = { + tile_name = "vegetation-orange-grass-1", + tree_name = "tree-grassland-f", + weight = 18398 + }, + ["tree-grassland-g"] = { + tile_name = "vegetation-orange-grass-1", + tree_name = "tree-grassland-g", + weight = 1990 + }, + ["tree-grassland-h"] = { + tile_name = "vegetation-orange-grass-1", + tree_name = "tree-grassland-h", + weight = 99 + }, + ["tree-grassland-l"] = { + tile_name = "vegetation-orange-grass-1", + tree_name = "tree-grassland-l", + weight = 1433 + }, + ["tree-grassland-n"] = { + tile_name = "vegetation-orange-grass-1", + tree_name = "tree-grassland-n", + weight = 2946 + }, + ["tree-grassland-p"] = { + tile_name = "vegetation-orange-grass-1", + tree_name = "tree-grassland-p", + weight = 1800 + }, + ["tree-wetland-a"] = { + tile_name = "vegetation-orange-grass-1", + tree_name = "tree-wetland-a", + weight = 84 + }, + ["tree-wetland-b"] = { + tile_name = "vegetation-orange-grass-1", + tree_name = "tree-wetland-b", + weight = 38015 + }, + ["tree-wetland-c"] = { + tile_name = "vegetation-orange-grass-1", + tree_name = "tree-wetland-c", + weight = 420 + }, + ["tree-wetland-d"] = { + tile_name = "vegetation-orange-grass-1", + tree_name = "tree-wetland-d", + weight = 12548 + }, + ["tree-wetland-e"] = { + tile_name = "vegetation-orange-grass-1", + tree_name = "tree-wetland-e", + weight = 13451 + }, + ["tree-wetland-f"] = { + tile_name = "vegetation-orange-grass-1", + tree_name = "tree-wetland-f", + weight = 18 + }, + ["tree-wetland-j"] = { + tile_name = "vegetation-orange-grass-1", + tree_name = "tree-wetland-j", + weight = 220 + }, + ["tree-wetland-n"] = { + tile_name = "vegetation-orange-grass-1", + tree_name = "tree-wetland-n", + weight = 177 + } +} +terrains["vegetation-orange-grass-2"] = { + name = "vegetation-orange-grass-2", + ["tree-desert-c"] = { + tile_name = "vegetation-orange-grass-2", + tree_name = "tree-desert-c", + weight = 2 + }, + ["tree-dryland-a"] = { + tile_name = "vegetation-orange-grass-2", + tree_name = "tree-dryland-a", + weight = 350 + }, + ["tree-dryland-b"] = { + tile_name = "vegetation-orange-grass-2", + tree_name = "tree-dryland-b", + weight = 670 + }, + ["tree-dryland-c"] = { + tile_name = "vegetation-orange-grass-2", + tree_name = "tree-dryland-c", + weight = 11 + }, + ["tree-dryland-f"] = { + tile_name = "vegetation-orange-grass-2", + tree_name = "tree-dryland-f", + weight = 451 + }, + ["tree-grassland-a"] = { + tile_name = "vegetation-orange-grass-2", + tree_name = "tree-grassland-a", + weight = 1457 + }, + ["tree-grassland-b"] = { + tile_name = "vegetation-orange-grass-2", + tree_name = "tree-grassland-b", + weight = 32149 + }, + ["tree-grassland-c"] = { + tile_name = "vegetation-orange-grass-2", + tree_name = "tree-grassland-c", + weight = 299174 + }, + ["tree-grassland-d"] = { + tile_name = "vegetation-orange-grass-2", + tree_name = "tree-grassland-d", + weight = 7333 + }, + ["tree-grassland-e"] = { + tile_name = "vegetation-orange-grass-2", + tree_name = "tree-grassland-e", + weight = 10762 + }, + ["tree-grassland-f"] = { + tile_name = "vegetation-orange-grass-2", + tree_name = "tree-grassland-f", + weight = 8989 + }, + ["tree-grassland-g"] = { + tile_name = "vegetation-orange-grass-2", + tree_name = "tree-grassland-g", + weight = 1510 + }, + ["tree-grassland-h"] = { + tile_name = "vegetation-orange-grass-2", + tree_name = "tree-grassland-h", + weight = 371 + }, + ["tree-grassland-i"] = { + tile_name = "vegetation-orange-grass-2", + tree_name = "tree-grassland-i", + weight = 2 + }, + ["tree-grassland-k"] = { + tile_name = "vegetation-orange-grass-2", + tree_name = "tree-grassland-k", + weight = 2 + }, + ["tree-grassland-l"] = { + tile_name = "vegetation-orange-grass-2", + tree_name = "tree-grassland-l", + weight = 955 + }, + ["tree-grassland-n"] = { + tile_name = "vegetation-orange-grass-2", + tree_name = "tree-grassland-n", + weight = 1561 + }, + ["tree-grassland-p"] = { + tile_name = "vegetation-orange-grass-2", + tree_name = "tree-grassland-p", + weight = 1037 + }, + ["tree-wetland-a"] = { + tile_name = "vegetation-orange-grass-2", + tree_name = "tree-wetland-a", + weight = 52 + }, + ["tree-wetland-b"] = { + tile_name = "vegetation-orange-grass-2", + tree_name = "tree-wetland-b", + weight = 20847 + }, + ["tree-wetland-c"] = { + tile_name = "vegetation-orange-grass-2", + tree_name = "tree-wetland-c", + weight = 149 + }, + ["tree-wetland-d"] = { + tile_name = "vegetation-orange-grass-2", + tree_name = "tree-wetland-d", + weight = 5300 + }, + ["tree-wetland-e"] = { + tile_name = "vegetation-orange-grass-2", + tree_name = "tree-wetland-e", + weight = 6589 + }, + ["tree-wetland-f"] = { + tile_name = "vegetation-orange-grass-2", + tree_name = "tree-wetland-f", + weight = 9 + }, + ["tree-wetland-j"] = { + tile_name = "vegetation-orange-grass-2", + tree_name = "tree-wetland-j", + weight = 59 + }, + ["tree-wetland-n"] = { + tile_name = "vegetation-orange-grass-2", + tree_name = "tree-wetland-n", + weight = 96 + } +} +terrains["mineral-brown-dirt-1"] = { + name = "mineral-brown-dirt-1", + ["tree-desert-a"] = { + tile_name = "mineral-brown-dirt-1", + tree_name = "tree-desert-a", + weight = 5 + }, + ["tree-desert-b"] = { + tile_name = "mineral-brown-dirt-1", + tree_name = "tree-desert-b", + weight = 673 + }, + ["tree-desert-c"] = { + tile_name = "mineral-brown-dirt-1", + tree_name = "tree-desert-c", + weight = 4456 + }, + ["tree-desert-d"] = { + tile_name = "mineral-brown-dirt-1", + tree_name = "tree-desert-d", + weight = 5 + }, + ["tree-desert-f"] = { + tile_name = "mineral-brown-dirt-1", + tree_name = "tree-desert-f", + weight = 1649 + }, + ["tree-desert-h"] = { + tile_name = "mineral-brown-dirt-1", + tree_name = "tree-desert-h", + weight = 2940 + }, + ["tree-desert-n"] = { + tile_name = "mineral-brown-dirt-1", + tree_name = "tree-desert-n", + weight = 4 + }, + ["tree-dryland-a"] = { + tile_name = "mineral-brown-dirt-1", + tree_name = "tree-dryland-a", + weight = 18093 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-brown-dirt-1", + tree_name = "tree-dryland-b", + weight = 94976 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-brown-dirt-1", + tree_name = "tree-dryland-c", + weight = 118 + }, + ["tree-dryland-d"] = { + tile_name = "mineral-brown-dirt-1", + tree_name = "tree-dryland-d", + weight = 461 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-brown-dirt-1", + tree_name = "tree-dryland-e", + weight = 370 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-brown-dirt-1", + tree_name = "tree-dryland-f", + weight = 205397 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-brown-dirt-1", + tree_name = "tree-dryland-g", + weight = 23042 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-brown-dirt-1", + tree_name = "tree-dryland-h", + weight = 47828 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-brown-dirt-1", + tree_name = "tree-dryland-i", + weight = 60 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-brown-dirt-1", + tree_name = "tree-dryland-k", + weight = 105 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-brown-dirt-1", + tree_name = "tree-dryland-l", + weight = 160 + }, + ["tree-dryland-n"] = { + tile_name = "mineral-brown-dirt-1", + tree_name = "tree-dryland-n", + weight = 75 + }, + ["tree-grassland-a"] = { + tile_name = "mineral-brown-dirt-1", + tree_name = "tree-grassland-a", + weight = 303 + }, + ["tree-grassland-b"] = { + tile_name = "mineral-brown-dirt-1", + tree_name = "tree-grassland-b", + weight = 4186 + }, + ["tree-grassland-c"] = { + tile_name = "mineral-brown-dirt-1", + tree_name = "tree-grassland-c", + weight = 67890 + }, + ["tree-grassland-d"] = { + tile_name = "mineral-brown-dirt-1", + tree_name = "tree-grassland-d", + weight = 36 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-brown-dirt-1", + tree_name = "tree-grassland-e", + weight = 133 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-brown-dirt-1", + tree_name = "tree-grassland-f", + weight = 4758 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-brown-dirt-1", + tree_name = "tree-grassland-g", + weight = 25269 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-brown-dirt-1", + tree_name = "tree-grassland-h", + weight = 31832 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-brown-dirt-1", + tree_name = "tree-grassland-h2", + weight = 3351 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-brown-dirt-1", + tree_name = "tree-grassland-i", + weight = 213 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-brown-dirt-1", + tree_name = "tree-grassland-l", + weight = 210 + }, + ["tree-grassland-n"] = { + tile_name = "mineral-brown-dirt-1", + tree_name = "tree-grassland-n", + weight = 114 + }, + ["tree-grassland-p"] = { + tile_name = "mineral-brown-dirt-1", + tree_name = "tree-grassland-p", + weight = 126 + }, + ["tree-wetland-b"] = { + tile_name = "mineral-brown-dirt-1", + tree_name = "tree-wetland-b", + weight = 5815 + }, + ["tree-wetland-d"] = { + tile_name = "mineral-brown-dirt-1", + tree_name = "tree-wetland-d", + weight = 1788 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-brown-dirt-1", + tree_name = "tree-wetland-e", + weight = 22434 + } +} +terrains["mineral-brown-dirt-6"] = { + name = "mineral-brown-dirt-6", + ["tree-desert-b"] = { + tile_name = "mineral-brown-dirt-6", + tree_name = "tree-desert-b", + weight = 61 + }, + ["tree-desert-c"] = { + tile_name = "mineral-brown-dirt-6", + tree_name = "tree-desert-c", + weight = 1300 + }, + ["tree-desert-f"] = { + tile_name = "mineral-brown-dirt-6", + tree_name = "tree-desert-f", + weight = 477 + }, + ["tree-desert-h"] = { + tile_name = "mineral-brown-dirt-6", + tree_name = "tree-desert-h", + weight = 791 + }, + ["tree-desert-j"] = { + tile_name = "mineral-brown-dirt-6", + tree_name = "tree-desert-j", + weight = 3 + }, + ["tree-desert-n"] = { + tile_name = "mineral-brown-dirt-6", + tree_name = "tree-desert-n", + weight = 3 + }, + ["tree-dryland-a"] = { + tile_name = "mineral-brown-dirt-6", + tree_name = "tree-dryland-a", + weight = 1207 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-brown-dirt-6", + tree_name = "tree-dryland-b", + weight = 6187 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-brown-dirt-6", + tree_name = "tree-dryland-c", + weight = 20 + }, + ["tree-dryland-d"] = { + tile_name = "mineral-brown-dirt-6", + tree_name = "tree-dryland-d", + weight = 41 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-brown-dirt-6", + tree_name = "tree-dryland-e", + weight = 35 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-brown-dirt-6", + tree_name = "tree-dryland-f", + weight = 16441 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-brown-dirt-6", + tree_name = "tree-dryland-g", + weight = 1429 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-brown-dirt-6", + tree_name = "tree-dryland-h", + weight = 5806 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-brown-dirt-6", + tree_name = "tree-dryland-i", + weight = 2 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-brown-dirt-6", + tree_name = "tree-dryland-k", + weight = 4 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-brown-dirt-6", + tree_name = "tree-dryland-l", + weight = 14 + }, + ["tree-dryland-n"] = { + tile_name = "mineral-brown-dirt-6", + tree_name = "tree-dryland-n", + weight = 5 + }, + ["tree-grassland-a"] = { + tile_name = "mineral-brown-dirt-6", + tree_name = "tree-grassland-a", + weight = 108 + }, + ["tree-grassland-b"] = { + tile_name = "mineral-brown-dirt-6", + tree_name = "tree-grassland-b", + weight = 797 + }, + ["tree-grassland-c"] = { + tile_name = "mineral-brown-dirt-6", + tree_name = "tree-grassland-c", + weight = 16471 + }, + ["tree-grassland-d"] = { + tile_name = "mineral-brown-dirt-6", + tree_name = "tree-grassland-d", + weight = 7 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-brown-dirt-6", + tree_name = "tree-grassland-e", + weight = 32 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-brown-dirt-6", + tree_name = "tree-grassland-f", + weight = 1953 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-brown-dirt-6", + tree_name = "tree-grassland-g", + weight = 5684 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-brown-dirt-6", + tree_name = "tree-grassland-h", + weight = 7299 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-brown-dirt-6", + tree_name = "tree-grassland-h2", + weight = 2005 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-brown-dirt-6", + tree_name = "tree-grassland-h3", + weight = 3 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-brown-dirt-6", + tree_name = "tree-grassland-i", + weight = 93 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-brown-dirt-6", + tree_name = "tree-grassland-l", + weight = 85 + }, + ["tree-grassland-n"] = { + tile_name = "mineral-brown-dirt-6", + tree_name = "tree-grassland-n", + weight = 70 + }, + ["tree-grassland-p"] = { + tile_name = "mineral-brown-dirt-6", + tree_name = "tree-grassland-p", + weight = 41 + }, + ["tree-wetland-b"] = { + tile_name = "mineral-brown-dirt-6", + tree_name = "tree-wetland-b", + weight = 606 + }, + ["tree-wetland-d"] = { + tile_name = "mineral-brown-dirt-6", + tree_name = "tree-wetland-d", + weight = 228 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-brown-dirt-6", + tree_name = "tree-wetland-e", + weight = 2464 + } +} +terrains["mineral-brown-dirt-5"] = { + name = "mineral-brown-dirt-5", + ["tree-desert-a"] = { + tile_name = "mineral-brown-dirt-5", + tree_name = "tree-desert-a", + weight = 6 + }, + ["tree-desert-b"] = { + tile_name = "mineral-brown-dirt-5", + tree_name = "tree-desert-b", + weight = 122 + }, + ["tree-desert-c"] = { + tile_name = "mineral-brown-dirt-5", + tree_name = "tree-desert-c", + weight = 1368 + }, + ["tree-desert-d"] = { + tile_name = "mineral-brown-dirt-5", + tree_name = "tree-desert-d", + weight = 3 + }, + ["tree-desert-f"] = { + tile_name = "mineral-brown-dirt-5", + tree_name = "tree-desert-f", + weight = 314 + }, + ["tree-desert-h"] = { + tile_name = "mineral-brown-dirt-5", + tree_name = "tree-desert-h", + weight = 799 + }, + ["tree-desert-j"] = { + tile_name = "mineral-brown-dirt-5", + tree_name = "tree-desert-j", + weight = 2 + }, + ["tree-desert-n"] = { + tile_name = "mineral-brown-dirt-5", + tree_name = "tree-desert-n", + weight = 2 + }, + ["tree-dryland-a"] = { + tile_name = "mineral-brown-dirt-5", + tree_name = "tree-dryland-a", + weight = 2563 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-brown-dirt-5", + tree_name = "tree-dryland-b", + weight = 10535 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-brown-dirt-5", + tree_name = "tree-dryland-c", + weight = 18 + }, + ["tree-dryland-d"] = { + tile_name = "mineral-brown-dirt-5", + tree_name = "tree-dryland-d", + weight = 50 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-brown-dirt-5", + tree_name = "tree-dryland-e", + weight = 37 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-brown-dirt-5", + tree_name = "tree-dryland-f", + weight = 27269 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-brown-dirt-5", + tree_name = "tree-dryland-g", + weight = 1219 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-brown-dirt-5", + tree_name = "tree-dryland-h", + weight = 8353 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-brown-dirt-5", + tree_name = "tree-dryland-i", + weight = 9 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-brown-dirt-5", + tree_name = "tree-dryland-k", + weight = 11 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-brown-dirt-5", + tree_name = "tree-dryland-l", + weight = 16 + }, + ["tree-dryland-n"] = { + tile_name = "mineral-brown-dirt-5", + tree_name = "tree-dryland-n", + weight = 11 + }, + ["tree-grassland-a"] = { + tile_name = "mineral-brown-dirt-5", + tree_name = "tree-grassland-a", + weight = 95 + }, + ["tree-grassland-b"] = { + tile_name = "mineral-brown-dirt-5", + tree_name = "tree-grassland-b", + weight = 1174 + }, + ["tree-grassland-c"] = { + tile_name = "mineral-brown-dirt-5", + tree_name = "tree-grassland-c", + weight = 21526 + }, + ["tree-grassland-d"] = { + tile_name = "mineral-brown-dirt-5", + tree_name = "tree-grassland-d", + weight = 23 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-brown-dirt-5", + tree_name = "tree-grassland-e", + weight = 30 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-brown-dirt-5", + tree_name = "tree-grassland-f", + weight = 2605 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-brown-dirt-5", + tree_name = "tree-grassland-g", + weight = 7961 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-brown-dirt-5", + tree_name = "tree-grassland-h", + weight = 6395 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-brown-dirt-5", + tree_name = "tree-grassland-h2", + weight = 2034 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-brown-dirt-5", + tree_name = "tree-grassland-h3", + weight = 6 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-brown-dirt-5", + tree_name = "tree-grassland-i", + weight = 55 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-brown-dirt-5", + tree_name = "tree-grassland-l", + weight = 101 + }, + ["tree-grassland-n"] = { + tile_name = "mineral-brown-dirt-5", + tree_name = "tree-grassland-n", + weight = 53 + }, + ["tree-grassland-p"] = { + tile_name = "mineral-brown-dirt-5", + tree_name = "tree-grassland-p", + weight = 41 + }, + ["tree-wetland-b"] = { + tile_name = "mineral-brown-dirt-5", + tree_name = "tree-wetland-b", + weight = 1191 + }, + ["tree-wetland-d"] = { + tile_name = "mineral-brown-dirt-5", + tree_name = "tree-wetland-d", + weight = 383 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-brown-dirt-5", + tree_name = "tree-wetland-e", + weight = 3294 + } +} +terrains["mineral-brown-dirt-2"] = { + name = "mineral-brown-dirt-2", + ["tree-desert-a"] = { + tile_name = "mineral-brown-dirt-2", + tree_name = "tree-desert-a", + weight = 4 + }, + ["tree-desert-b"] = { + tile_name = "mineral-brown-dirt-2", + tree_name = "tree-desert-b", + weight = 367 + }, + ["tree-desert-c"] = { + tile_name = "mineral-brown-dirt-2", + tree_name = "tree-desert-c", + weight = 2762 + }, + ["tree-desert-e"] = { + tile_name = "mineral-brown-dirt-2", + tree_name = "tree-desert-e", + weight = 2 + }, + ["tree-desert-f"] = { + tile_name = "mineral-brown-dirt-2", + tree_name = "tree-desert-f", + weight = 841 + }, + ["tree-desert-g"] = { + tile_name = "mineral-brown-dirt-2", + tree_name = "tree-desert-g", + weight = 2 + }, + ["tree-desert-h"] = { + tile_name = "mineral-brown-dirt-2", + tree_name = "tree-desert-h", + weight = 2261 + }, + ["tree-dryland-a"] = { + tile_name = "mineral-brown-dirt-2", + tree_name = "tree-dryland-a", + weight = 9728 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-brown-dirt-2", + tree_name = "tree-dryland-b", + weight = 49205 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-brown-dirt-2", + tree_name = "tree-dryland-c", + weight = 66 + }, + ["tree-dryland-d"] = { + tile_name = "mineral-brown-dirt-2", + tree_name = "tree-dryland-d", + weight = 253 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-brown-dirt-2", + tree_name = "tree-dryland-e", + weight = 208 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-brown-dirt-2", + tree_name = "tree-dryland-f", + weight = 112952 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-brown-dirt-2", + tree_name = "tree-dryland-g", + weight = 11216 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-brown-dirt-2", + tree_name = "tree-dryland-h", + weight = 28540 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-brown-dirt-2", + tree_name = "tree-dryland-i", + weight = 40 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-brown-dirt-2", + tree_name = "tree-dryland-k", + weight = 29 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-brown-dirt-2", + tree_name = "tree-dryland-l", + weight = 80 + }, + ["tree-dryland-n"] = { + tile_name = "mineral-brown-dirt-2", + tree_name = "tree-dryland-n", + weight = 55 + }, + ["tree-grassland-a"] = { + tile_name = "mineral-brown-dirt-2", + tree_name = "tree-grassland-a", + weight = 242 + }, + ["tree-grassland-b"] = { + tile_name = "mineral-brown-dirt-2", + tree_name = "tree-grassland-b", + weight = 4237 + }, + ["tree-grassland-c"] = { + tile_name = "mineral-brown-dirt-2", + tree_name = "tree-grassland-c", + weight = 49853 + }, + ["tree-grassland-d"] = { + tile_name = "mineral-brown-dirt-2", + tree_name = "tree-grassland-d", + weight = 25 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-brown-dirt-2", + tree_name = "tree-grassland-e", + weight = 82 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-brown-dirt-2", + tree_name = "tree-grassland-f", + weight = 4823 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-brown-dirt-2", + tree_name = "tree-grassland-g", + weight = 15957 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-brown-dirt-2", + tree_name = "tree-grassland-h", + weight = 23517 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-brown-dirt-2", + tree_name = "tree-grassland-h2", + weight = 3040 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-brown-dirt-2", + tree_name = "tree-grassland-h3", + weight = 4 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-brown-dirt-2", + tree_name = "tree-grassland-i", + weight = 107 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-brown-dirt-2", + tree_name = "tree-grassland-l", + weight = 144 + }, + ["tree-grassland-n"] = { + tile_name = "mineral-brown-dirt-2", + tree_name = "tree-grassland-n", + weight = 186 + }, + ["tree-grassland-p"] = { + tile_name = "mineral-brown-dirt-2", + tree_name = "tree-grassland-p", + weight = 71 + }, + ["tree-wetland-b"] = { + tile_name = "mineral-brown-dirt-2", + tree_name = "tree-wetland-b", + weight = 3704 + }, + ["tree-wetland-d"] = { + tile_name = "mineral-brown-dirt-2", + tree_name = "tree-wetland-d", + weight = 1109 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-brown-dirt-2", + tree_name = "tree-wetland-e", + weight = 11432 + } +} +terrains["mineral-brown-dirt-3"] = { + name = "mineral-brown-dirt-3", + ["tree-desert-a"] = { + tile_name = "mineral-brown-dirt-3", + tree_name = "tree-desert-a", + weight = 3 + }, + ["tree-desert-b"] = { + tile_name = "mineral-brown-dirt-3", + tree_name = "tree-desert-b", + weight = 177 + }, + ["tree-desert-c"] = { + tile_name = "mineral-brown-dirt-3", + tree_name = "tree-desert-c", + weight = 1883 + }, + ["tree-desert-f"] = { + tile_name = "mineral-brown-dirt-3", + tree_name = "tree-desert-f", + weight = 452 + }, + ["tree-desert-g"] = { + tile_name = "mineral-brown-dirt-3", + tree_name = "tree-desert-g", + weight = 3 + }, + ["tree-desert-h"] = { + tile_name = "mineral-brown-dirt-3", + tree_name = "tree-desert-h", + weight = 1337 + }, + ["tree-desert-n"] = { + tile_name = "mineral-brown-dirt-3", + tree_name = "tree-desert-n", + weight = 2 + }, + ["tree-dryland-a"] = { + tile_name = "mineral-brown-dirt-3", + tree_name = "tree-dryland-a", + weight = 5893 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-brown-dirt-3", + tree_name = "tree-dryland-b", + weight = 28623 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-brown-dirt-3", + tree_name = "tree-dryland-c", + weight = 25 + }, + ["tree-dryland-d"] = { + tile_name = "mineral-brown-dirt-3", + tree_name = "tree-dryland-d", + weight = 102 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-brown-dirt-3", + tree_name = "tree-dryland-e", + weight = 87 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-brown-dirt-3", + tree_name = "tree-dryland-f", + weight = 55882 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-brown-dirt-3", + tree_name = "tree-dryland-g", + weight = 5474 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-brown-dirt-3", + tree_name = "tree-dryland-h", + weight = 19579 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-brown-dirt-3", + tree_name = "tree-dryland-i", + weight = 10 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-brown-dirt-3", + tree_name = "tree-dryland-k", + weight = 13 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-brown-dirt-3", + tree_name = "tree-dryland-l", + weight = 67 + }, + ["tree-dryland-n"] = { + tile_name = "mineral-brown-dirt-3", + tree_name = "tree-dryland-n", + weight = 33 + }, + ["tree-grassland-a"] = { + tile_name = "mineral-brown-dirt-3", + tree_name = "tree-grassland-a", + weight = 157 + }, + ["tree-grassland-b"] = { + tile_name = "mineral-brown-dirt-3", + tree_name = "tree-grassland-b", + weight = 2954 + }, + ["tree-grassland-c"] = { + tile_name = "mineral-brown-dirt-3", + tree_name = "tree-grassland-c", + weight = 33959 + }, + ["tree-grassland-d"] = { + tile_name = "mineral-brown-dirt-3", + tree_name = "tree-grassland-d", + weight = 23 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-brown-dirt-3", + tree_name = "tree-grassland-e", + weight = 42 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-brown-dirt-3", + tree_name = "tree-grassland-f", + weight = 3369 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-brown-dirt-3", + tree_name = "tree-grassland-g", + weight = 12790 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-brown-dirt-3", + tree_name = "tree-grassland-h", + weight = 10527 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-brown-dirt-3", + tree_name = "tree-grassland-h2", + weight = 2151 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-brown-dirt-3", + tree_name = "tree-grassland-h3", + weight = 5 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-brown-dirt-3", + tree_name = "tree-grassland-i", + weight = 56 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-brown-dirt-3", + tree_name = "tree-grassland-l", + weight = 112 + }, + ["tree-grassland-n"] = { + tile_name = "mineral-brown-dirt-3", + tree_name = "tree-grassland-n", + weight = 159 + }, + ["tree-grassland-p"] = { + tile_name = "mineral-brown-dirt-3", + tree_name = "tree-grassland-p", + weight = 92 + }, + ["tree-wetland-b"] = { + tile_name = "mineral-brown-dirt-3", + tree_name = "tree-wetland-b", + weight = 1864 + }, + ["tree-wetland-d"] = { + tile_name = "mineral-brown-dirt-3", + tree_name = "tree-wetland-d", + weight = 589 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-brown-dirt-3", + tree_name = "tree-wetland-e", + weight = 6682 + } +} +terrains["mineral-brown-dirt-4"] = { + name = "mineral-brown-dirt-4", + ["tree-desert-a"] = { + tile_name = "mineral-brown-dirt-4", + tree_name = "tree-desert-a", + weight = 2 + }, + ["tree-desert-b"] = { + tile_name = "mineral-brown-dirt-4", + tree_name = "tree-desert-b", + weight = 250 + }, + ["tree-desert-c"] = { + tile_name = "mineral-brown-dirt-4", + tree_name = "tree-desert-c", + weight = 1887 + }, + ["tree-desert-f"] = { + tile_name = "mineral-brown-dirt-4", + tree_name = "tree-desert-f", + weight = 409 + }, + ["tree-desert-h"] = { + tile_name = "mineral-brown-dirt-4", + tree_name = "tree-desert-h", + weight = 998 + }, + ["tree-desert-j"] = { + tile_name = "mineral-brown-dirt-4", + tree_name = "tree-desert-j", + weight = 2 + }, + ["tree-dryland-a"] = { + tile_name = "mineral-brown-dirt-4", + tree_name = "tree-dryland-a", + weight = 2424 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-brown-dirt-4", + tree_name = "tree-dryland-b", + weight = 13394 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-brown-dirt-4", + tree_name = "tree-dryland-c", + weight = 16 + }, + ["tree-dryland-d"] = { + tile_name = "mineral-brown-dirt-4", + tree_name = "tree-dryland-d", + weight = 92 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-brown-dirt-4", + tree_name = "tree-dryland-e", + weight = 72 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-brown-dirt-4", + tree_name = "tree-dryland-f", + weight = 34218 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-brown-dirt-4", + tree_name = "tree-dryland-g", + weight = 4661 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-brown-dirt-4", + tree_name = "tree-dryland-h", + weight = 10271 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-brown-dirt-4", + tree_name = "tree-dryland-i", + weight = 6 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-brown-dirt-4", + tree_name = "tree-dryland-k", + weight = 13 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-brown-dirt-4", + tree_name = "tree-dryland-l", + weight = 30 + }, + ["tree-dryland-n"] = { + tile_name = "mineral-brown-dirt-4", + tree_name = "tree-dryland-n", + weight = 17 + }, + ["tree-grassland-a"] = { + tile_name = "mineral-brown-dirt-4", + tree_name = "tree-grassland-a", + weight = 152 + }, + ["tree-grassland-b"] = { + tile_name = "mineral-brown-dirt-4", + tree_name = "tree-grassland-b", + weight = 844 + }, + ["tree-grassland-c"] = { + tile_name = "mineral-brown-dirt-4", + tree_name = "tree-grassland-c", + weight = 20822 + }, + ["tree-grassland-d"] = { + tile_name = "mineral-brown-dirt-4", + tree_name = "tree-grassland-d", + weight = 2 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-brown-dirt-4", + tree_name = "tree-grassland-e", + weight = 53 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-brown-dirt-4", + tree_name = "tree-grassland-f", + weight = 2412 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-brown-dirt-4", + tree_name = "tree-grassland-g", + weight = 7248 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-brown-dirt-4", + tree_name = "tree-grassland-h", + weight = 10630 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-brown-dirt-4", + tree_name = "tree-grassland-h2", + weight = 1801 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-brown-dirt-4", + tree_name = "tree-grassland-h3", + weight = 4 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-brown-dirt-4", + tree_name = "tree-grassland-i", + weight = 74 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-brown-dirt-4", + tree_name = "tree-grassland-l", + weight = 128 + }, + ["tree-grassland-n"] = { + tile_name = "mineral-brown-dirt-4", + tree_name = "tree-grassland-n", + weight = 137 + }, + ["tree-grassland-p"] = { + tile_name = "mineral-brown-dirt-4", + tree_name = "tree-grassland-p", + weight = 80 + }, + ["tree-wetland-b"] = { + tile_name = "mineral-brown-dirt-4", + tree_name = "tree-wetland-b", + weight = 1279 + }, + ["tree-wetland-d"] = { + tile_name = "mineral-brown-dirt-4", + tree_name = "tree-wetland-d", + weight = 243 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-brown-dirt-4", + tree_name = "tree-wetland-e", + weight = 5027 + } +} +terrains["vegetation-turquoise-grass-1"] = { + name = "vegetation-turquoise-grass-1", + ["tree-desert-n"] = { + tile_name = "vegetation-turquoise-grass-1", + tree_name = "tree-desert-n", + weight = 7 + }, + ["tree-dryland-b"] = { + tile_name = "vegetation-turquoise-grass-1", + tree_name = "tree-dryland-b", + weight = 2 + }, + ["tree-dryland-j"] = { + tile_name = "vegetation-turquoise-grass-1", + tree_name = "tree-dryland-j", + weight = 3 + }, + ["tree-dryland-k"] = { + tile_name = "vegetation-turquoise-grass-1", + tree_name = "tree-dryland-k", + weight = 91 + }, + ["tree-dryland-l"] = { + tile_name = "vegetation-turquoise-grass-1", + tree_name = "tree-dryland-l", + weight = 2734 + }, + ["tree-dryland-n"] = { + tile_name = "vegetation-turquoise-grass-1", + tree_name = "tree-dryland-n", + weight = 7 + }, + ["tree-grassland-c"] = { + tile_name = "vegetation-turquoise-grass-1", + tree_name = "tree-grassland-c", + weight = 1183 + }, + ["tree-grassland-d"] = { + tile_name = "vegetation-turquoise-grass-1", + tree_name = "tree-grassland-d", + weight = 36 + }, + ["tree-grassland-e"] = { + tile_name = "vegetation-turquoise-grass-1", + tree_name = "tree-grassland-e", + weight = 24 + }, + ["tree-grassland-g"] = { + tile_name = "vegetation-turquoise-grass-1", + tree_name = "tree-grassland-g", + weight = 286 + }, + ["tree-grassland-h"] = { + tile_name = "vegetation-turquoise-grass-1", + tree_name = "tree-grassland-h", + weight = 112541 + }, + ["tree-grassland-h3"] = { + tile_name = "vegetation-turquoise-grass-1", + tree_name = "tree-grassland-h3", + weight = 326 + }, + ["tree-grassland-k"] = { + tile_name = "vegetation-turquoise-grass-1", + tree_name = "tree-grassland-k", + weight = 487 + }, + ["tree-grassland-l"] = { + tile_name = "vegetation-turquoise-grass-1", + tree_name = "tree-grassland-l", + weight = 324 + }, + ["tree-grassland-m"] = { + tile_name = "vegetation-turquoise-grass-1", + tree_name = "tree-grassland-m", + weight = 240 + }, + ["tree-grassland-n"] = { + tile_name = "vegetation-turquoise-grass-1", + tree_name = "tree-grassland-n", + weight = 84944 + }, + ["tree-grassland-p"] = { + tile_name = "vegetation-turquoise-grass-1", + tree_name = "tree-grassland-p", + weight = 217191 + }, + ["tree-grassland-q"] = { + tile_name = "vegetation-turquoise-grass-1", + tree_name = "tree-grassland-q", + weight = 506 + }, + ["tree-wetland-b"] = { + tile_name = "vegetation-turquoise-grass-1", + tree_name = "tree-wetland-b", + weight = 23 + }, + ["tree-wetland-c"] = { + tile_name = "vegetation-turquoise-grass-1", + tree_name = "tree-wetland-c", + weight = 12 + }, + ["tree-wetland-e"] = { + tile_name = "vegetation-turquoise-grass-1", + tree_name = "tree-wetland-e", + weight = 550 + }, + ["tree-wetland-j"] = { + tile_name = "vegetation-turquoise-grass-1", + tree_name = "tree-wetland-j", + weight = 26790 + }, + ["tree-wetland-k"] = { + tile_name = "vegetation-turquoise-grass-1", + tree_name = "tree-wetland-k", + weight = 108332 + }, + ["tree-wetland-l"] = { + tile_name = "vegetation-turquoise-grass-1", + tree_name = "tree-wetland-l", + weight = 836 + }, + ["tree-wetland-m"] = { + tile_name = "vegetation-turquoise-grass-1", + tree_name = "tree-wetland-m", + weight = 886 + }, + ["tree-wetland-n"] = { + tile_name = "vegetation-turquoise-grass-1", + tree_name = "tree-wetland-n", + weight = 216 + }, + ["tree-wetland-o"] = { + tile_name = "vegetation-turquoise-grass-1", + tree_name = "tree-wetland-o", + weight = 3124 + } +} +terrains["vegetation-turquoise-grass-2"] = { + name = "vegetation-turquoise-grass-2", + ["tree-desert-n"] = { + tile_name = "vegetation-turquoise-grass-2", + tree_name = "tree-desert-n", + weight = 4 + }, + ["tree-dryland-f"] = { + tile_name = "vegetation-turquoise-grass-2", + tree_name = "tree-dryland-f", + weight = 2 + }, + ["tree-dryland-j"] = { + tile_name = "vegetation-turquoise-grass-2", + tree_name = "tree-dryland-j", + weight = 3 + }, + ["tree-dryland-k"] = { + tile_name = "vegetation-turquoise-grass-2", + tree_name = "tree-dryland-k", + weight = 136 + }, + ["tree-dryland-l"] = { + tile_name = "vegetation-turquoise-grass-2", + tree_name = "tree-dryland-l", + weight = 1189 + }, + ["tree-dryland-n"] = { + tile_name = "vegetation-turquoise-grass-2", + tree_name = "tree-dryland-n", + weight = 15 + }, + ["tree-grassland-c"] = { + tile_name = "vegetation-turquoise-grass-2", + tree_name = "tree-grassland-c", + weight = 856 + }, + ["tree-grassland-d"] = { + tile_name = "vegetation-turquoise-grass-2", + tree_name = "tree-grassland-d", + weight = 38 + }, + ["tree-grassland-e"] = { + tile_name = "vegetation-turquoise-grass-2", + tree_name = "tree-grassland-e", + weight = 11 + }, + ["tree-grassland-g"] = { + tile_name = "vegetation-turquoise-grass-2", + tree_name = "tree-grassland-g", + weight = 199 + }, + ["tree-grassland-h"] = { + tile_name = "vegetation-turquoise-grass-2", + tree_name = "tree-grassland-h", + weight = 65406 + }, + ["tree-grassland-h3"] = { + tile_name = "vegetation-turquoise-grass-2", + tree_name = "tree-grassland-h3", + weight = 150 + }, + ["tree-grassland-k"] = { + tile_name = "vegetation-turquoise-grass-2", + tree_name = "tree-grassland-k", + weight = 338 + }, + ["tree-grassland-l"] = { + tile_name = "vegetation-turquoise-grass-2", + tree_name = "tree-grassland-l", + weight = 252 + }, + ["tree-grassland-m"] = { + tile_name = "vegetation-turquoise-grass-2", + tree_name = "tree-grassland-m", + weight = 239 + }, + ["tree-grassland-n"] = { + tile_name = "vegetation-turquoise-grass-2", + tree_name = "tree-grassland-n", + weight = 55524 + }, + ["tree-grassland-p"] = { + tile_name = "vegetation-turquoise-grass-2", + tree_name = "tree-grassland-p", + weight = 134901 + }, + ["tree-grassland-q"] = { + tile_name = "vegetation-turquoise-grass-2", + tree_name = "tree-grassland-q", + weight = 377 + }, + ["tree-wetland-b"] = { + tile_name = "vegetation-turquoise-grass-2", + tree_name = "tree-wetland-b", + weight = 18 + }, + ["tree-wetland-e"] = { + tile_name = "vegetation-turquoise-grass-2", + tree_name = "tree-wetland-e", + weight = 284 + }, + ["tree-wetland-j"] = { + tile_name = "vegetation-turquoise-grass-2", + tree_name = "tree-wetland-j", + weight = 18099 + }, + ["tree-wetland-k"] = { + tile_name = "vegetation-turquoise-grass-2", + tree_name = "tree-wetland-k", + weight = 60185 + }, + ["tree-wetland-l"] = { + tile_name = "vegetation-turquoise-grass-2", + tree_name = "tree-wetland-l", + weight = 488 + }, + ["tree-wetland-m"] = { + tile_name = "vegetation-turquoise-grass-2", + tree_name = "tree-wetland-m", + weight = 239 + }, + ["tree-wetland-n"] = { + tile_name = "vegetation-turquoise-grass-2", + tree_name = "tree-wetland-n", + weight = 137 + }, + ["tree-wetland-o"] = { + tile_name = "vegetation-turquoise-grass-2", + tree_name = "tree-wetland-o", + weight = 1987 + } +} +terrains["vegetation-blue-grass-2"] = { + name = "vegetation-blue-grass-2", + ["tree-desert-j"] = { + tile_name = "vegetation-blue-grass-2", + tree_name = "tree-desert-j", + weight = 2 + }, + ["tree-desert-n"] = { + tile_name = "vegetation-blue-grass-2", + tree_name = "tree-desert-n", + weight = 5 + }, + ["tree-dryland-h"] = { + tile_name = "vegetation-blue-grass-2", + tree_name = "tree-dryland-h", + weight = 3 + }, + ["tree-dryland-l"] = { + tile_name = "vegetation-blue-grass-2", + tree_name = "tree-dryland-l", + weight = 217 + }, + ["tree-dryland-m"] = { + tile_name = "vegetation-blue-grass-2", + tree_name = "tree-dryland-m", + weight = 91 + }, + ["tree-dryland-o"] = { + tile_name = "vegetation-blue-grass-2", + tree_name = "tree-dryland-o", + weight = 153 + }, + ["tree-grassland-c"] = { + tile_name = "vegetation-blue-grass-2", + tree_name = "tree-grassland-c", + weight = 31 + }, + ["tree-grassland-d"] = { + tile_name = "vegetation-blue-grass-2", + tree_name = "tree-grassland-d", + weight = 1075 + }, + ["tree-grassland-e"] = { + tile_name = "vegetation-blue-grass-2", + tree_name = "tree-grassland-e", + weight = 684 + }, + ["tree-grassland-h"] = { + tile_name = "vegetation-blue-grass-2", + tree_name = "tree-grassland-h", + weight = 1092 + }, + ["tree-grassland-h3"] = { + tile_name = "vegetation-blue-grass-2", + tree_name = "tree-grassland-h3", + weight = 376 + }, + ["tree-grassland-i"] = { + tile_name = "vegetation-blue-grass-2", + tree_name = "tree-grassland-i", + weight = 378 + }, + ["tree-grassland-k"] = { + tile_name = "vegetation-blue-grass-2", + tree_name = "tree-grassland-k", + weight = 891 + }, + ["tree-grassland-m"] = { + tile_name = "vegetation-blue-grass-2", + tree_name = "tree-grassland-m", + weight = 35923 + }, + ["tree-grassland-n"] = { + tile_name = "vegetation-blue-grass-2", + tree_name = "tree-grassland-n", + weight = 572 + }, + ["tree-grassland-p"] = { + tile_name = "vegetation-blue-grass-2", + tree_name = "tree-grassland-p", + weight = 6382 + }, + ["tree-wetland-c"] = { + tile_name = "vegetation-blue-grass-2", + tree_name = "tree-wetland-c", + weight = 57 + }, + ["tree-wetland-e"] = { + tile_name = "vegetation-blue-grass-2", + tree_name = "tree-wetland-e", + weight = 217 + }, + ["tree-wetland-f"] = { + tile_name = "vegetation-blue-grass-2", + tree_name = "tree-wetland-f", + weight = 52 + }, + ["tree-wetland-h"] = { + tile_name = "vegetation-blue-grass-2", + tree_name = "tree-wetland-h", + weight = 155 + }, + ["tree-wetland-j"] = { + tile_name = "vegetation-blue-grass-2", + tree_name = "tree-wetland-j", + weight = 337 + }, + ["tree-wetland-k"] = { + tile_name = "vegetation-blue-grass-2", + tree_name = "tree-wetland-k", + weight = 45630 + }, + ["tree-wetland-l"] = { + tile_name = "vegetation-blue-grass-2", + tree_name = "tree-wetland-l", + weight = 36774 + }, + ["tree-wetland-m"] = { + tile_name = "vegetation-blue-grass-2", + tree_name = "tree-wetland-m", + weight = 245 + }, + ["tree-wetland-o"] = { + tile_name = "vegetation-blue-grass-2", + tree_name = "tree-wetland-o", + weight = 3489 + } +} +terrains["vegetation-blue-grass-1"] = { + name = "vegetation-blue-grass-1", + ["tree-desert-n"] = { + tile_name = "vegetation-blue-grass-1", + tree_name = "tree-desert-n", + weight = 11 + }, + ["tree-dryland-c"] = { + tile_name = "vegetation-blue-grass-1", + tree_name = "tree-dryland-c", + weight = 2 + }, + ["tree-dryland-l"] = { + tile_name = "vegetation-blue-grass-1", + tree_name = "tree-dryland-l", + weight = 526 + }, + ["tree-dryland-m"] = { + tile_name = "vegetation-blue-grass-1", + tree_name = "tree-dryland-m", + weight = 50 + }, + ["tree-dryland-n"] = { + tile_name = "vegetation-blue-grass-1", + tree_name = "tree-dryland-n", + weight = 2 + }, + ["tree-dryland-o"] = { + tile_name = "vegetation-blue-grass-1", + tree_name = "tree-dryland-o", + weight = 359 + }, + ["tree-grassland-c"] = { + tile_name = "vegetation-blue-grass-1", + tree_name = "tree-grassland-c", + weight = 42 + }, + ["tree-grassland-d"] = { + tile_name = "vegetation-blue-grass-1", + tree_name = "tree-grassland-d", + weight = 1974 + }, + ["tree-grassland-e"] = { + tile_name = "vegetation-blue-grass-1", + tree_name = "tree-grassland-e", + weight = 990 + }, + ["tree-grassland-h"] = { + tile_name = "vegetation-blue-grass-1", + tree_name = "tree-grassland-h", + weight = 2247 + }, + ["tree-grassland-h2"] = { + tile_name = "vegetation-blue-grass-1", + tree_name = "tree-grassland-h2", + weight = 4 + }, + ["tree-grassland-h3"] = { + tile_name = "vegetation-blue-grass-1", + tree_name = "tree-grassland-h3", + weight = 622 + }, + ["tree-grassland-i"] = { + tile_name = "vegetation-blue-grass-1", + tree_name = "tree-grassland-i", + weight = 775 + }, + ["tree-grassland-k"] = { + tile_name = "vegetation-blue-grass-1", + tree_name = "tree-grassland-k", + weight = 1054 + }, + ["tree-grassland-l"] = { + tile_name = "vegetation-blue-grass-1", + tree_name = "tree-grassland-l", + weight = 7 + }, + ["tree-grassland-m"] = { + tile_name = "vegetation-blue-grass-1", + tree_name = "tree-grassland-m", + weight = 53412 + }, + ["tree-grassland-n"] = { + tile_name = "vegetation-blue-grass-1", + tree_name = "tree-grassland-n", + weight = 684 + }, + ["tree-grassland-p"] = { + tile_name = "vegetation-blue-grass-1", + tree_name = "tree-grassland-p", + weight = 14362 + }, + ["tree-wetland-c"] = { + tile_name = "vegetation-blue-grass-1", + tree_name = "tree-wetland-c", + weight = 116 + }, + ["tree-wetland-e"] = { + tile_name = "vegetation-blue-grass-1", + tree_name = "tree-wetland-e", + weight = 437 + }, + ["tree-wetland-f"] = { + tile_name = "vegetation-blue-grass-1", + tree_name = "tree-wetland-f", + weight = 148 + }, + ["tree-wetland-h"] = { + tile_name = "vegetation-blue-grass-1", + tree_name = "tree-wetland-h", + weight = 567 + }, + ["tree-wetland-j"] = { + tile_name = "vegetation-blue-grass-1", + tree_name = "tree-wetland-j", + weight = 530 + }, + ["tree-wetland-k"] = { + tile_name = "vegetation-blue-grass-1", + tree_name = "tree-wetland-k", + weight = 59120 + }, + ["tree-wetland-l"] = { + tile_name = "vegetation-blue-grass-1", + tree_name = "tree-wetland-l", + weight = 53635 + }, + ["tree-wetland-m"] = { + tile_name = "vegetation-blue-grass-1", + tree_name = "tree-wetland-m", + weight = 346 + }, + ["tree-wetland-o"] = { + tile_name = "vegetation-blue-grass-1", + tree_name = "tree-wetland-o", + weight = 6742 + } +} +terrains["mineral-aubergine-dirt-5"] = { + name = "mineral-aubergine-dirt-5", + ["tree-desert-h"] = { + tile_name = "mineral-aubergine-dirt-5", + tree_name = "tree-desert-h", + weight = 294 + }, + ["tree-desert-k"] = { + tile_name = "mineral-aubergine-dirt-5", + tree_name = "tree-desert-k", + weight = 468 + }, + ["tree-desert-l"] = { + tile_name = "mineral-aubergine-dirt-5", + tree_name = "tree-desert-l", + weight = 4 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-aubergine-dirt-5", + tree_name = "tree-dryland-c", + weight = 8 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-aubergine-dirt-5", + tree_name = "tree-dryland-e", + weight = 5 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-aubergine-dirt-5", + tree_name = "tree-dryland-g", + weight = 5 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-aubergine-dirt-5", + tree_name = "tree-dryland-h", + weight = 2968 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-aubergine-dirt-5", + tree_name = "tree-dryland-i", + weight = 609 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-aubergine-dirt-5", + tree_name = "tree-dryland-j", + weight = 2 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-aubergine-dirt-5", + tree_name = "tree-dryland-k", + weight = 2 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-aubergine-dirt-5", + tree_name = "tree-dryland-l", + weight = 419 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-aubergine-dirt-5", + tree_name = "tree-dryland-m", + weight = 2569 + }, + ["tree-dryland-o"] = { + tile_name = "mineral-aubergine-dirt-5", + tree_name = "tree-dryland-o", + weight = 7 + }, + ["tree-grassland-d"] = { + tile_name = "mineral-aubergine-dirt-5", + tree_name = "tree-grassland-d", + weight = 2 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-aubergine-dirt-5", + tree_name = "tree-grassland-e", + weight = 19 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-aubergine-dirt-5", + tree_name = "tree-grassland-g", + weight = 12 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-aubergine-dirt-5", + tree_name = "tree-grassland-h", + weight = 11 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-aubergine-dirt-5", + tree_name = "tree-grassland-h2", + weight = 4408 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-aubergine-dirt-5", + tree_name = "tree-grassland-h3", + weight = 1819 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-aubergine-dirt-5", + tree_name = "tree-grassland-i", + weight = 1058 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-aubergine-dirt-5", + tree_name = "tree-grassland-k", + weight = 10 + }, + ["tree-grassland-m"] = { + tile_name = "mineral-aubergine-dirt-5", + tree_name = "tree-grassland-m", + weight = 259 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-aubergine-dirt-5", + tree_name = "tree-wetland-e", + weight = 261 + }, + ["tree-wetland-f"] = { + tile_name = "mineral-aubergine-dirt-5", + tree_name = "tree-wetland-f", + weight = 11 + }, + ["tree-wetland-h"] = { + tile_name = "mineral-aubergine-dirt-5", + tree_name = "tree-wetland-h", + weight = 157 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-aubergine-dirt-5", + tree_name = "tree-wetland-k", + weight = 11 + }, + ["tree-wetland-l"] = { + tile_name = "mineral-aubergine-dirt-5", + tree_name = "tree-wetland-l", + weight = 5 + } +} +terrains["mineral-aubergine-dirt-3"] = { + name = "mineral-aubergine-dirt-3", + ["tree-desert-h"] = { + tile_name = "mineral-aubergine-dirt-3", + tree_name = "tree-desert-h", + weight = 554 + }, + ["tree-desert-k"] = { + tile_name = "mineral-aubergine-dirt-3", + tree_name = "tree-desert-k", + weight = 552 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-aubergine-dirt-3", + tree_name = "tree-dryland-c", + weight = 18 + }, + ["tree-dryland-d"] = { + tile_name = "mineral-aubergine-dirt-3", + tree_name = "tree-dryland-d", + weight = 10 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-aubergine-dirt-3", + tree_name = "tree-dryland-e", + weight = 5 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-aubergine-dirt-3", + tree_name = "tree-dryland-g", + weight = 19 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-aubergine-dirt-3", + tree_name = "tree-dryland-h", + weight = 6048 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-aubergine-dirt-3", + tree_name = "tree-dryland-i", + weight = 3400 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-aubergine-dirt-3", + tree_name = "tree-dryland-k", + weight = 3 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-aubergine-dirt-3", + tree_name = "tree-dryland-l", + weight = 400 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-aubergine-dirt-3", + tree_name = "tree-dryland-m", + weight = 2602 + }, + ["tree-dryland-o"] = { + tile_name = "mineral-aubergine-dirt-3", + tree_name = "tree-dryland-o", + weight = 12 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-aubergine-dirt-3", + tree_name = "tree-grassland-e", + weight = 9 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-aubergine-dirt-3", + tree_name = "tree-grassland-f", + weight = 2 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-aubergine-dirt-3", + tree_name = "tree-grassland-h", + weight = 4 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-aubergine-dirt-3", + tree_name = "tree-grassland-h2", + weight = 7345 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-aubergine-dirt-3", + tree_name = "tree-grassland-h3", + weight = 2441 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-aubergine-dirt-3", + tree_name = "tree-grassland-i", + weight = 2781 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-aubergine-dirt-3", + tree_name = "tree-grassland-k", + weight = 9 + }, + ["tree-grassland-m"] = { + tile_name = "mineral-aubergine-dirt-3", + tree_name = "tree-grassland-m", + weight = 179 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-aubergine-dirt-3", + tree_name = "tree-wetland-e", + weight = 153 + }, + ["tree-wetland-f"] = { + tile_name = "mineral-aubergine-dirt-3", + tree_name = "tree-wetland-f", + weight = 19 + }, + ["tree-wetland-h"] = { + tile_name = "mineral-aubergine-dirt-3", + tree_name = "tree-wetland-h", + weight = 533 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-aubergine-dirt-3", + tree_name = "tree-wetland-k", + weight = 24 + }, + ["tree-wetland-l"] = { + tile_name = "mineral-aubergine-dirt-3", + tree_name = "tree-wetland-l", + weight = 46 + } +} +terrains["mineral-aubergine-dirt-1"] = { + name = "mineral-aubergine-dirt-1", + ["tree-desert-h"] = { + tile_name = "mineral-aubergine-dirt-1", + tree_name = "tree-desert-h", + weight = 1133 + }, + ["tree-desert-i"] = { + tile_name = "mineral-aubergine-dirt-1", + tree_name = "tree-desert-i", + weight = 3 + }, + ["tree-desert-k"] = { + tile_name = "mineral-aubergine-dirt-1", + tree_name = "tree-desert-k", + weight = 493 + }, + ["tree-desert-l"] = { + tile_name = "mineral-aubergine-dirt-1", + tree_name = "tree-desert-l", + weight = 14 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-aubergine-dirt-1", + tree_name = "tree-dryland-c", + weight = 9 + }, + ["tree-dryland-d"] = { + tile_name = "mineral-aubergine-dirt-1", + tree_name = "tree-dryland-d", + weight = 3 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-aubergine-dirt-1", + tree_name = "tree-dryland-e", + weight = 29 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-aubergine-dirt-1", + tree_name = "tree-dryland-g", + weight = 29 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-aubergine-dirt-1", + tree_name = "tree-dryland-h", + weight = 15223 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-aubergine-dirt-1", + tree_name = "tree-dryland-i", + weight = 8571 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-aubergine-dirt-1", + tree_name = "tree-dryland-l", + weight = 247 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-aubergine-dirt-1", + tree_name = "tree-dryland-m", + weight = 7463 + }, + ["tree-dryland-o"] = { + tile_name = "mineral-aubergine-dirt-1", + tree_name = "tree-dryland-o", + weight = 4 + }, + ["tree-grassland-d"] = { + tile_name = "mineral-aubergine-dirt-1", + tree_name = "tree-grassland-d", + weight = 64 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-aubergine-dirt-1", + tree_name = "tree-grassland-e", + weight = 6 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-aubergine-dirt-1", + tree_name = "tree-grassland-h", + weight = 5 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-aubergine-dirt-1", + tree_name = "tree-grassland-h2", + weight = 17059 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-aubergine-dirt-1", + tree_name = "tree-grassland-h3", + weight = 5840 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-aubergine-dirt-1", + tree_name = "tree-grassland-i", + weight = 6384 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-aubergine-dirt-1", + tree_name = "tree-grassland-k", + weight = 16 + }, + ["tree-grassland-m"] = { + tile_name = "mineral-aubergine-dirt-1", + tree_name = "tree-grassland-m", + weight = 229 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-aubergine-dirt-1", + tree_name = "tree-wetland-e", + weight = 383 + }, + ["tree-wetland-f"] = { + tile_name = "mineral-aubergine-dirt-1", + tree_name = "tree-wetland-f", + weight = 11 + }, + ["tree-wetland-h"] = { + tile_name = "mineral-aubergine-dirt-1", + tree_name = "tree-wetland-h", + weight = 1882 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-aubergine-dirt-1", + tree_name = "tree-wetland-k", + weight = 45 + }, + ["tree-wetland-l"] = { + tile_name = "mineral-aubergine-dirt-1", + tree_name = "tree-wetland-l", + weight = 33 + } +} +terrains["mineral-aubergine-dirt-4"] = { + name = "mineral-aubergine-dirt-4", + ["tree-desert-g"] = { + tile_name = "mineral-aubergine-dirt-4", + tree_name = "tree-desert-g", + weight = 2 + }, + ["tree-desert-h"] = { + tile_name = "mineral-aubergine-dirt-4", + tree_name = "tree-desert-h", + weight = 325 + }, + ["tree-desert-i"] = { + tile_name = "mineral-aubergine-dirt-4", + tree_name = "tree-desert-i", + weight = 2 + }, + ["tree-desert-k"] = { + tile_name = "mineral-aubergine-dirt-4", + tree_name = "tree-desert-k", + weight = 323 + }, + ["tree-desert-l"] = { + tile_name = "mineral-aubergine-dirt-4", + tree_name = "tree-desert-l", + weight = 51 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-aubergine-dirt-4", + tree_name = "tree-dryland-c", + weight = 3 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-aubergine-dirt-4", + tree_name = "tree-dryland-e", + weight = 22 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-aubergine-dirt-4", + tree_name = "tree-dryland-g", + weight = 10 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-aubergine-dirt-4", + tree_name = "tree-dryland-h", + weight = 3480 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-aubergine-dirt-4", + tree_name = "tree-dryland-i", + weight = 2680 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-aubergine-dirt-4", + tree_name = "tree-dryland-k", + weight = 2 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-aubergine-dirt-4", + tree_name = "tree-dryland-l", + weight = 582 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-aubergine-dirt-4", + tree_name = "tree-dryland-m", + weight = 3328 + }, + ["tree-dryland-o"] = { + tile_name = "mineral-aubergine-dirt-4", + tree_name = "tree-dryland-o", + weight = 7 + }, + ["tree-grassland-d"] = { + tile_name = "mineral-aubergine-dirt-4", + tree_name = "tree-grassland-d", + weight = 8 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-aubergine-dirt-4", + tree_name = "tree-grassland-e", + weight = 8 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-aubergine-dirt-4", + tree_name = "tree-grassland-h", + weight = 25 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-aubergine-dirt-4", + tree_name = "tree-grassland-h2", + weight = 5878 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-aubergine-dirt-4", + tree_name = "tree-grassland-h3", + weight = 2463 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-aubergine-dirt-4", + tree_name = "tree-grassland-i", + weight = 1786 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-aubergine-dirt-4", + tree_name = "tree-grassland-k", + weight = 6 + }, + ["tree-grassland-m"] = { + tile_name = "mineral-aubergine-dirt-4", + tree_name = "tree-grassland-m", + weight = 250 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-aubergine-dirt-4", + tree_name = "tree-wetland-e", + weight = 187 + }, + ["tree-wetland-f"] = { + tile_name = "mineral-aubergine-dirt-4", + tree_name = "tree-wetland-f", + weight = 46 + }, + ["tree-wetland-h"] = { + tile_name = "mineral-aubergine-dirt-4", + tree_name = "tree-wetland-h", + weight = 620 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-aubergine-dirt-4", + tree_name = "tree-wetland-k", + weight = 28 + }, + ["tree-wetland-l"] = { + tile_name = "mineral-aubergine-dirt-4", + tree_name = "tree-wetland-l", + weight = 22 + } +} +terrains["mineral-aubergine-dirt-2"] = { + name = "mineral-aubergine-dirt-2", + ["tree-desert-h"] = { + tile_name = "mineral-aubergine-dirt-2", + tree_name = "tree-desert-h", + weight = 398 + }, + ["tree-desert-k"] = { + tile_name = "mineral-aubergine-dirt-2", + tree_name = "tree-desert-k", + weight = 736 + }, + ["tree-desert-l"] = { + tile_name = "mineral-aubergine-dirt-2", + tree_name = "tree-desert-l", + weight = 21 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-aubergine-dirt-2", + tree_name = "tree-dryland-c", + weight = 8 + }, + ["tree-dryland-d"] = { + tile_name = "mineral-aubergine-dirt-2", + tree_name = "tree-dryland-d", + weight = 4 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-aubergine-dirt-2", + tree_name = "tree-dryland-e", + weight = 25 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-aubergine-dirt-2", + tree_name = "tree-dryland-g", + weight = 16 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-aubergine-dirt-2", + tree_name = "tree-dryland-h", + weight = 11587 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-aubergine-dirt-2", + tree_name = "tree-dryland-i", + weight = 4412 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-aubergine-dirt-2", + tree_name = "tree-dryland-k", + weight = 2 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-aubergine-dirt-2", + tree_name = "tree-dryland-l", + weight = 419 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-aubergine-dirt-2", + tree_name = "tree-dryland-m", + weight = 7218 + }, + ["tree-dryland-o"] = { + tile_name = "mineral-aubergine-dirt-2", + tree_name = "tree-dryland-o", + weight = 3 + }, + ["tree-grassland-d"] = { + tile_name = "mineral-aubergine-dirt-2", + tree_name = "tree-grassland-d", + weight = 24 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-aubergine-dirt-2", + tree_name = "tree-grassland-e", + weight = 15 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-aubergine-dirt-2", + tree_name = "tree-grassland-g", + weight = 14 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-aubergine-dirt-2", + tree_name = "tree-grassland-h", + weight = 55 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-aubergine-dirt-2", + tree_name = "tree-grassland-h2", + weight = 11751 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-aubergine-dirt-2", + tree_name = "tree-grassland-h3", + weight = 5631 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-aubergine-dirt-2", + tree_name = "tree-grassland-i", + weight = 4814 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-aubergine-dirt-2", + tree_name = "tree-grassland-k", + weight = 14 + }, + ["tree-grassland-m"] = { + tile_name = "mineral-aubergine-dirt-2", + tree_name = "tree-grassland-m", + weight = 459 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-aubergine-dirt-2", + tree_name = "tree-wetland-e", + weight = 210 + }, + ["tree-wetland-f"] = { + tile_name = "mineral-aubergine-dirt-2", + tree_name = "tree-wetland-f", + weight = 3 + }, + ["tree-wetland-h"] = { + tile_name = "mineral-aubergine-dirt-2", + tree_name = "tree-wetland-h", + weight = 811 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-aubergine-dirt-2", + tree_name = "tree-wetland-k", + weight = 70 + }, + ["tree-wetland-l"] = { + tile_name = "mineral-aubergine-dirt-2", + tree_name = "tree-wetland-l", + weight = 16 + } +} +terrains["mineral-aubergine-dirt-6"] = { + name = "mineral-aubergine-dirt-6", + ["tree-desert-h"] = { + tile_name = "mineral-aubergine-dirt-6", + tree_name = "tree-desert-h", + weight = 150 + }, + ["tree-desert-k"] = { + tile_name = "mineral-aubergine-dirt-6", + tree_name = "tree-desert-k", + weight = 202 + }, + ["tree-desert-l"] = { + tile_name = "mineral-aubergine-dirt-6", + tree_name = "tree-desert-l", + weight = 2 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-aubergine-dirt-6", + tree_name = "tree-dryland-c", + weight = 2 + }, + ["tree-dryland-d"] = { + tile_name = "mineral-aubergine-dirt-6", + tree_name = "tree-dryland-d", + weight = 3 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-aubergine-dirt-6", + tree_name = "tree-dryland-e", + weight = 7 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-aubergine-dirt-6", + tree_name = "tree-dryland-g", + weight = 7 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-aubergine-dirt-6", + tree_name = "tree-dryland-h", + weight = 2578 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-aubergine-dirt-6", + tree_name = "tree-dryland-i", + weight = 792 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-aubergine-dirt-6", + tree_name = "tree-dryland-k", + weight = 2 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-aubergine-dirt-6", + tree_name = "tree-dryland-l", + weight = 414 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-aubergine-dirt-6", + tree_name = "tree-dryland-m", + weight = 1907 + }, + ["tree-dryland-o"] = { + tile_name = "mineral-aubergine-dirt-6", + tree_name = "tree-dryland-o", + weight = 2 + }, + ["tree-grassland-d"] = { + tile_name = "mineral-aubergine-dirt-6", + tree_name = "tree-grassland-d", + weight = 3 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-aubergine-dirt-6", + tree_name = "tree-grassland-e", + weight = 3 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-aubergine-dirt-6", + tree_name = "tree-grassland-g", + weight = 11 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-aubergine-dirt-6", + tree_name = "tree-grassland-h", + weight = 4 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-aubergine-dirt-6", + tree_name = "tree-grassland-h2", + weight = 2295 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-aubergine-dirt-6", + tree_name = "tree-grassland-h3", + weight = 1711 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-aubergine-dirt-6", + tree_name = "tree-grassland-i", + weight = 2445 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-aubergine-dirt-6", + tree_name = "tree-grassland-k", + weight = 7 + }, + ["tree-grassland-m"] = { + tile_name = "mineral-aubergine-dirt-6", + tree_name = "tree-grassland-m", + weight = 115 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-aubergine-dirt-6", + tree_name = "tree-wetland-e", + weight = 115 + }, + ["tree-wetland-f"] = { + tile_name = "mineral-aubergine-dirt-6", + tree_name = "tree-wetland-f", + weight = 5 + }, + ["tree-wetland-h"] = { + tile_name = "mineral-aubergine-dirt-6", + tree_name = "tree-wetland-h", + weight = 175 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-aubergine-dirt-6", + tree_name = "tree-wetland-k", + weight = 13 + }, + ["tree-wetland-l"] = { + tile_name = "mineral-aubergine-dirt-6", + tree_name = "tree-wetland-l", + weight = 4 + } +} +terrains["mineral-grey-sand-2"] = { + name = "mineral-grey-sand-2", + ["tree-desert-h"] = { + tile_name = "mineral-grey-sand-2", + tree_name = "tree-desert-h", + weight = 2 + }, + ["tree-desert-i"] = { + tile_name = "mineral-grey-sand-2", + tree_name = "tree-desert-i", + weight = 1872 + }, + ["tree-desert-j"] = { + tile_name = "mineral-grey-sand-2", + tree_name = "tree-desert-j", + weight = 3270 + }, + ["tree-desert-k"] = { + tile_name = "mineral-grey-sand-2", + tree_name = "tree-desert-k", + weight = 349 + }, + ["tree-desert-l"] = { + tile_name = "mineral-grey-sand-2", + tree_name = "tree-desert-l", + weight = 2 + }, + ["tree-desert-m"] = { + tile_name = "mineral-grey-sand-2", + tree_name = "tree-desert-m", + weight = 8 + }, + ["tree-desert-n"] = { + tile_name = "mineral-grey-sand-2", + tree_name = "tree-desert-n", + weight = 5842 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-grey-sand-2", + tree_name = "tree-dryland-k", + weight = 105 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-grey-sand-2", + tree_name = "tree-dryland-l", + weight = 808 + }, + ["tree-dryland-n"] = { + tile_name = "mineral-grey-sand-2", + tree_name = "tree-dryland-n", + weight = 42 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-grey-sand-2", + tree_name = "tree-grassland-h", + weight = 335 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-grey-sand-2", + tree_name = "tree-grassland-h3", + weight = 139 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-grey-sand-2", + tree_name = "tree-grassland-k", + weight = 16 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-grey-sand-2", + tree_name = "tree-grassland-l", + weight = 6 + }, + ["tree-grassland-n"] = { + tile_name = "mineral-grey-sand-2", + tree_name = "tree-grassland-n", + weight = 42 + }, + ["tree-grassland-p"] = { + tile_name = "mineral-grey-sand-2", + tree_name = "tree-grassland-p", + weight = 97 + }, + ["tree-snow-a"] = { + tile_name = "mineral-grey-sand-2", + tree_name = "tree-snow-a", + weight = 16 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-grey-sand-2", + tree_name = "tree-wetland-e", + weight = 22 + }, + ["tree-wetland-j"] = { + tile_name = "mineral-grey-sand-2", + tree_name = "tree-wetland-j", + weight = 487 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-grey-sand-2", + tree_name = "tree-wetland-k", + weight = 1937 + }, + ["tree-wetland-n"] = { + tile_name = "mineral-grey-sand-2", + tree_name = "tree-wetland-n", + weight = 3003 + }, + ["tree-wetland-o"] = { + tile_name = "mineral-grey-sand-2", + tree_name = "tree-wetland-o", + weight = 405 + } +} +terrains["mineral-grey-sand-1"] = { + name = "mineral-grey-sand-1", + ["tree-desert-c"] = { + tile_name = "mineral-grey-sand-1", + tree_name = "tree-desert-c", + weight = 3 + }, + ["tree-desert-h"] = { + tile_name = "mineral-grey-sand-1", + tree_name = "tree-desert-h", + weight = 6 + }, + ["tree-desert-i"] = { + tile_name = "mineral-grey-sand-1", + tree_name = "tree-desert-i", + weight = 5436 + }, + ["tree-desert-j"] = { + tile_name = "mineral-grey-sand-1", + tree_name = "tree-desert-j", + weight = 6394 + }, + ["tree-desert-k"] = { + tile_name = "mineral-grey-sand-1", + tree_name = "tree-desert-k", + weight = 413 + }, + ["tree-desert-l"] = { + tile_name = "mineral-grey-sand-1", + tree_name = "tree-desert-l", + weight = 5 + }, + ["tree-desert-m"] = { + tile_name = "mineral-grey-sand-1", + tree_name = "tree-desert-m", + weight = 9 + }, + ["tree-desert-n"] = { + tile_name = "mineral-grey-sand-1", + tree_name = "tree-desert-n", + weight = 11138 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-grey-sand-1", + tree_name = "tree-dryland-b", + weight = 2 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-grey-sand-1", + tree_name = "tree-dryland-f", + weight = 3 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-grey-sand-1", + tree_name = "tree-dryland-k", + weight = 144 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-grey-sand-1", + tree_name = "tree-dryland-l", + weight = 1325 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-grey-sand-1", + tree_name = "tree-dryland-m", + weight = 4 + }, + ["tree-dryland-n"] = { + tile_name = "mineral-grey-sand-1", + tree_name = "tree-dryland-n", + weight = 40 + }, + ["tree-dryland-o"] = { + tile_name = "mineral-grey-sand-1", + tree_name = "tree-dryland-o", + weight = 7 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-grey-sand-1", + tree_name = "tree-grassland-h", + weight = 990 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-grey-sand-1", + tree_name = "tree-grassland-h3", + weight = 215 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-grey-sand-1", + tree_name = "tree-grassland-k", + weight = 31 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-grey-sand-1", + tree_name = "tree-grassland-l", + weight = 7 + }, + ["tree-grassland-n"] = { + tile_name = "mineral-grey-sand-1", + tree_name = "tree-grassland-n", + weight = 33 + }, + ["tree-grassland-p"] = { + tile_name = "mineral-grey-sand-1", + tree_name = "tree-grassland-p", + weight = 72 + }, + ["tree-snow-a"] = { + tile_name = "mineral-grey-sand-1", + tree_name = "tree-snow-a", + weight = 34 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-grey-sand-1", + tree_name = "tree-wetland-e", + weight = 70 + }, + ["tree-wetland-j"] = { + tile_name = "mineral-grey-sand-1", + tree_name = "tree-wetland-j", + weight = 1188 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-grey-sand-1", + tree_name = "tree-wetland-k", + weight = 5007 + }, + ["tree-wetland-n"] = { + tile_name = "mineral-grey-sand-1", + tree_name = "tree-wetland-n", + weight = 4919 + }, + ["tree-wetland-o"] = { + tile_name = "mineral-grey-sand-1", + tree_name = "tree-wetland-o", + weight = 952 + } +} +terrains["mineral-black-sand-3"] = { + name = "mineral-black-sand-3", + ["tree-desert-d"] = { + tile_name = "mineral-black-sand-3", + tree_name = "tree-desert-d", + weight = 2 + }, + ["tree-desert-i"] = { + tile_name = "mineral-black-sand-3", + tree_name = "tree-desert-i", + weight = 3 + }, + ["tree-desert-j"] = { + tile_name = "mineral-black-sand-3", + tree_name = "tree-desert-j", + weight = 1377 + }, + ["tree-desert-k"] = { + tile_name = "mineral-black-sand-3", + tree_name = "tree-desert-k", + weight = 3609 + }, + ["tree-desert-n"] = { + tile_name = "mineral-black-sand-3", + tree_name = "tree-desert-n", + weight = 1740 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-black-sand-3", + tree_name = "tree-dryland-h", + weight = 9 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-black-sand-3", + tree_name = "tree-dryland-l", + weight = 388 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-black-sand-3", + tree_name = "tree-dryland-m", + weight = 81 + }, + ["tree-dryland-n"] = { + tile_name = "mineral-black-sand-3", + tree_name = "tree-dryland-n", + weight = 2 + }, + ["tree-dryland-o"] = { + tile_name = "mineral-black-sand-3", + tree_name = "tree-dryland-o", + weight = 40 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-black-sand-3", + tree_name = "tree-grassland-h", + weight = 10 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-black-sand-3", + tree_name = "tree-grassland-h3", + weight = 543 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-black-sand-3", + tree_name = "tree-grassland-i", + weight = 44 + }, + ["tree-grassland-m"] = { + tile_name = "mineral-black-sand-3", + tree_name = "tree-grassland-m", + weight = 7 + }, + ["tree-grassland-p"] = { + tile_name = "mineral-black-sand-3", + tree_name = "tree-grassland-p", + weight = 105 + }, + ["tree-snow-a"] = { + tile_name = "mineral-black-sand-3", + tree_name = "tree-snow-a", + weight = 32 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-black-sand-3", + tree_name = "tree-wetland-e", + weight = 10 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-black-sand-3", + tree_name = "tree-wetland-k", + weight = 3179 + }, + ["tree-wetland-l"] = { + tile_name = "mineral-black-sand-3", + tree_name = "tree-wetland-l", + weight = 53 + }, + ["tree-wetland-o"] = { + tile_name = "mineral-black-sand-3", + tree_name = "tree-wetland-o", + weight = 500 + } +} +terrains["mineral-black-sand-2"] = { + name = "mineral-black-sand-2", + ["tree-desert-c"] = { + tile_name = "mineral-black-sand-2", + tree_name = "tree-desert-c", + weight = 2 + }, + ["tree-desert-h"] = { + tile_name = "mineral-black-sand-2", + tree_name = "tree-desert-h", + weight = 3 + }, + ["tree-desert-i"] = { + tile_name = "mineral-black-sand-2", + tree_name = "tree-desert-i", + weight = 5 + }, + ["tree-desert-j"] = { + tile_name = "mineral-black-sand-2", + tree_name = "tree-desert-j", + weight = 2396 + }, + ["tree-desert-k"] = { + tile_name = "mineral-black-sand-2", + tree_name = "tree-desert-k", + weight = 6576 + }, + ["tree-desert-l"] = { + tile_name = "mineral-black-sand-2", + tree_name = "tree-desert-l", + weight = 3 + }, + ["tree-desert-n"] = { + tile_name = "mineral-black-sand-2", + tree_name = "tree-desert-n", + weight = 2361 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-black-sand-2", + tree_name = "tree-dryland-l", + weight = 464 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-black-sand-2", + tree_name = "tree-dryland-m", + weight = 269 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-black-sand-2", + tree_name = "tree-grassland-h", + weight = 4 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-black-sand-2", + tree_name = "tree-grassland-h3", + weight = 837 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-black-sand-2", + tree_name = "tree-grassland-i", + weight = 2 + }, + ["tree-grassland-p"] = { + tile_name = "mineral-black-sand-2", + tree_name = "tree-grassland-p", + weight = 35 + }, + ["tree-snow-a"] = { + tile_name = "mineral-black-sand-2", + tree_name = "tree-snow-a", + weight = 3 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-black-sand-2", + tree_name = "tree-wetland-e", + weight = 30 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-black-sand-2", + tree_name = "tree-wetland-k", + weight = 4516 + }, + ["tree-wetland-l"] = { + tile_name = "mineral-black-sand-2", + tree_name = "tree-wetland-l", + weight = 220 + }, + ["tree-wetland-o"] = { + tile_name = "mineral-black-sand-2", + tree_name = "tree-wetland-o", + weight = 709 + } +} +terrains["mineral-black-sand-1"] = { + name = "mineral-black-sand-1", + ["tree-desert-d"] = { + tile_name = "mineral-black-sand-1", + tree_name = "tree-desert-d", + weight = 2 + }, + ["tree-desert-h"] = { + tile_name = "mineral-black-sand-1", + tree_name = "tree-desert-h", + weight = 2 + }, + ["tree-desert-i"] = { + tile_name = "mineral-black-sand-1", + tree_name = "tree-desert-i", + weight = 5 + }, + ["tree-desert-j"] = { + tile_name = "mineral-black-sand-1", + tree_name = "tree-desert-j", + weight = 3034 + }, + ["tree-desert-k"] = { + tile_name = "mineral-black-sand-1", + tree_name = "tree-desert-k", + weight = 15145 + }, + ["tree-desert-l"] = { + tile_name = "mineral-black-sand-1", + tree_name = "tree-desert-l", + weight = 3 + }, + ["tree-desert-m"] = { + tile_name = "mineral-black-sand-1", + tree_name = "tree-desert-m", + weight = 2 + }, + ["tree-desert-n"] = { + tile_name = "mineral-black-sand-1", + tree_name = "tree-desert-n", + weight = 4921 + }, + ["tree-dryland-j"] = { + tile_name = "mineral-black-sand-1", + tree_name = "tree-dryland-j", + weight = 5 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-black-sand-1", + tree_name = "tree-dryland-l", + weight = 1012 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-black-sand-1", + tree_name = "tree-dryland-m", + weight = 166 + }, + ["tree-dryland-n"] = { + tile_name = "mineral-black-sand-1", + tree_name = "tree-dryland-n", + weight = 3 + }, + ["tree-dryland-o"] = { + tile_name = "mineral-black-sand-1", + tree_name = "tree-dryland-o", + weight = 4 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-black-sand-1", + tree_name = "tree-grassland-h", + weight = 5 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-black-sand-1", + tree_name = "tree-grassland-h3", + weight = 1250 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-black-sand-1", + tree_name = "tree-grassland-i", + weight = 10 + }, + ["tree-grassland-m"] = { + tile_name = "mineral-black-sand-1", + tree_name = "tree-grassland-m", + weight = 6 + }, + ["tree-grassland-p"] = { + tile_name = "mineral-black-sand-1", + tree_name = "tree-grassland-p", + weight = 261 + }, + ["tree-snow-a"] = { + tile_name = "mineral-black-sand-1", + tree_name = "tree-snow-a", + weight = 43 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-black-sand-1", + tree_name = "tree-wetland-e", + weight = 23 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-black-sand-1", + tree_name = "tree-wetland-k", + weight = 8538 + }, + ["tree-wetland-l"] = { + tile_name = "mineral-black-sand-1", + tree_name = "tree-wetland-l", + weight = 408 + }, + ["tree-wetland-o"] = { + tile_name = "mineral-black-sand-1", + tree_name = "tree-wetland-o", + weight = 2037 + } +} +terrains["mineral-grey-sand-3"] = { + name = "mineral-grey-sand-3", + ["tree-desert-c"] = { + tile_name = "mineral-grey-sand-3", + tree_name = "tree-desert-c", + weight = 3 + }, + ["tree-desert-i"] = { + tile_name = "mineral-grey-sand-3", + tree_name = "tree-desert-i", + weight = 1887 + }, + ["tree-desert-j"] = { + tile_name = "mineral-grey-sand-3", + tree_name = "tree-desert-j", + weight = 2374 + }, + ["tree-desert-k"] = { + tile_name = "mineral-grey-sand-3", + tree_name = "tree-desert-k", + weight = 303 + }, + ["tree-desert-m"] = { + tile_name = "mineral-grey-sand-3", + tree_name = "tree-desert-m", + weight = 4 + }, + ["tree-desert-n"] = { + tile_name = "mineral-grey-sand-3", + tree_name = "tree-desert-n", + weight = 3610 + }, + ["tree-dryland-k"] = { + tile_name = "mineral-grey-sand-3", + tree_name = "tree-dryland-k", + weight = 105 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-grey-sand-3", + tree_name = "tree-dryland-l", + weight = 523 + }, + ["tree-dryland-n"] = { + tile_name = "mineral-grey-sand-3", + tree_name = "tree-dryland-n", + weight = 2 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-grey-sand-3", + tree_name = "tree-grassland-h", + weight = 337 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-grey-sand-3", + tree_name = "tree-grassland-h3", + weight = 70 + }, + ["tree-grassland-k"] = { + tile_name = "mineral-grey-sand-3", + tree_name = "tree-grassland-k", + weight = 194 + }, + ["tree-grassland-n"] = { + tile_name = "mineral-grey-sand-3", + tree_name = "tree-grassland-n", + weight = 12 + }, + ["tree-grassland-p"] = { + tile_name = "mineral-grey-sand-3", + tree_name = "tree-grassland-p", + weight = 57 + }, + ["tree-snow-a"] = { + tile_name = "mineral-grey-sand-3", + tree_name = "tree-snow-a", + weight = 15 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-grey-sand-3", + tree_name = "tree-wetland-e", + weight = 48 + }, + ["tree-wetland-j"] = { + tile_name = "mineral-grey-sand-3", + tree_name = "tree-wetland-j", + weight = 422 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-grey-sand-3", + tree_name = "tree-wetland-k", + weight = 2076 + }, + ["tree-wetland-n"] = { + tile_name = "mineral-grey-sand-3", + tree_name = "tree-wetland-n", + weight = 1630 + }, + ["tree-wetland-o"] = { + tile_name = "mineral-grey-sand-3", + tree_name = "tree-wetland-o", + weight = 295 + } +} +terrains["frozen-snow-0"] = { + name = "frozen-snow-0", + ["tree-desert-c"] = { + tile_name = "frozen-snow-0", + tree_name = "tree-desert-c", + weight = 57 + }, + ["tree-desert-d"] = { + tile_name = "frozen-snow-0", + tree_name = "tree-desert-d", + weight = 28 + }, + ["tree-desert-h"] = { + tile_name = "frozen-snow-0", + tree_name = "tree-desert-h", + weight = 73 + }, + ["tree-desert-i"] = { + tile_name = "frozen-snow-0", + tree_name = "tree-desert-i", + weight = 510 + }, + ["tree-desert-j"] = { + tile_name = "frozen-snow-0", + tree_name = "tree-desert-j", + weight = 14 + }, + ["tree-desert-k"] = { + tile_name = "frozen-snow-0", + tree_name = "tree-desert-k", + weight = 28 + }, + ["tree-desert-m"] = { + tile_name = "frozen-snow-0", + tree_name = "tree-desert-m", + weight = 2 + }, + ["tree-desert-n"] = { + tile_name = "frozen-snow-0", + tree_name = "tree-desert-n", + weight = 2067 + }, + ["tree-dryland-b"] = { + tile_name = "frozen-snow-0", + tree_name = "tree-dryland-b", + weight = 271 + }, + ["tree-dryland-c"] = { + tile_name = "frozen-snow-0", + tree_name = "tree-dryland-c", + weight = 308 + }, + ["tree-dryland-f"] = { + tile_name = "frozen-snow-0", + tree_name = "tree-dryland-f", + weight = 457 + }, + ["tree-dryland-g"] = { + tile_name = "frozen-snow-0", + tree_name = "tree-dryland-g", + weight = 8 + }, + ["tree-dryland-h"] = { + tile_name = "frozen-snow-0", + tree_name = "tree-dryland-h", + weight = 692 + }, + ["tree-dryland-i"] = { + tile_name = "frozen-snow-0", + tree_name = "tree-dryland-i", + weight = 47 + }, + ["tree-dryland-j"] = { + tile_name = "frozen-snow-0", + tree_name = "tree-dryland-j", + weight = 78 + }, + ["tree-dryland-k"] = { + tile_name = "frozen-snow-0", + tree_name = "tree-dryland-k", + weight = 3 + }, + ["tree-dryland-l"] = { + tile_name = "frozen-snow-0", + tree_name = "tree-dryland-l", + weight = 24859 + }, + ["tree-dryland-m"] = { + tile_name = "frozen-snow-0", + tree_name = "tree-dryland-m", + weight = 37 + }, + ["tree-dryland-n"] = { + tile_name = "frozen-snow-0", + tree_name = "tree-dryland-n", + weight = 134 + }, + ["tree-dryland-o"] = { + tile_name = "frozen-snow-0", + tree_name = "tree-dryland-o", + weight = 2782 + }, + ["tree-grassland-h2"] = { + tile_name = "frozen-snow-0", + tree_name = "tree-grassland-h2", + weight = 559 + }, + ["tree-grassland-h3"] = { + tile_name = "frozen-snow-0", + tree_name = "tree-grassland-h3", + weight = 599 + }, + ["tree-grassland-p"] = { + tile_name = "frozen-snow-0", + tree_name = "tree-grassland-p", + weight = 291 + }, + ["tree-snow-a"] = { + tile_name = "frozen-snow-0", + tree_name = "tree-snow-a", + weight = 862441 + }, + ["tree-wetland-n"] = { + tile_name = "frozen-snow-0", + tree_name = "tree-wetland-n", + weight = 1876 + }, + ["tree-wetland-o"] = { + tile_name = "frozen-snow-0", + tree_name = "tree-wetland-o", + weight = 2774 + } +} +terrains["frozen-snow-2"] = { + name = "frozen-snow-2", + ["tree-desert-c"] = { + tile_name = "frozen-snow-2", + tree_name = "tree-desert-c", + weight = 10 + }, + ["tree-desert-d"] = { + tile_name = "frozen-snow-2", + tree_name = "tree-desert-d", + weight = 5 + }, + ["tree-desert-h"] = { + tile_name = "frozen-snow-2", + tree_name = "tree-desert-h", + weight = 13 + }, + ["tree-desert-i"] = { + tile_name = "frozen-snow-2", + tree_name = "tree-desert-i", + weight = 304 + }, + ["tree-desert-j"] = { + tile_name = "frozen-snow-2", + tree_name = "tree-desert-j", + weight = 8 + }, + ["tree-desert-k"] = { + tile_name = "frozen-snow-2", + tree_name = "tree-desert-k", + weight = 8 + }, + ["tree-desert-n"] = { + tile_name = "frozen-snow-2", + tree_name = "tree-desert-n", + weight = 1273 + }, + ["tree-dryland-b"] = { + tile_name = "frozen-snow-2", + tree_name = "tree-dryland-b", + weight = 50 + }, + ["tree-dryland-c"] = { + tile_name = "frozen-snow-2", + tree_name = "tree-dryland-c", + weight = 72 + }, + ["tree-dryland-f"] = { + tile_name = "frozen-snow-2", + tree_name = "tree-dryland-f", + weight = 111 + }, + ["tree-dryland-g"] = { + tile_name = "frozen-snow-2", + tree_name = "tree-dryland-g", + weight = 5 + }, + ["tree-dryland-h"] = { + tile_name = "frozen-snow-2", + tree_name = "tree-dryland-h", + weight = 168 + }, + ["tree-dryland-i"] = { + tile_name = "frozen-snow-2", + tree_name = "tree-dryland-i", + weight = 10 + }, + ["tree-dryland-j"] = { + tile_name = "frozen-snow-2", + tree_name = "tree-dryland-j", + weight = 41 + }, + ["tree-dryland-l"] = { + tile_name = "frozen-snow-2", + tree_name = "tree-dryland-l", + weight = 9868 + }, + ["tree-dryland-m"] = { + tile_name = "frozen-snow-2", + tree_name = "tree-dryland-m", + weight = 43 + }, + ["tree-dryland-n"] = { + tile_name = "frozen-snow-2", + tree_name = "tree-dryland-n", + weight = 49 + }, + ["tree-dryland-o"] = { + tile_name = "frozen-snow-2", + tree_name = "tree-dryland-o", + weight = 1359 + }, + ["tree-grassland-h2"] = { + tile_name = "frozen-snow-2", + tree_name = "tree-grassland-h2", + weight = 101 + }, + ["tree-grassland-h3"] = { + tile_name = "frozen-snow-2", + tree_name = "tree-grassland-h3", + weight = 150 + }, + ["tree-grassland-p"] = { + tile_name = "frozen-snow-2", + tree_name = "tree-grassland-p", + weight = 155 + }, + ["tree-snow-a"] = { + tile_name = "frozen-snow-2", + tree_name = "tree-snow-a", + weight = 200074 + }, + ["tree-wetland-n"] = { + tile_name = "frozen-snow-2", + tree_name = "tree-wetland-n", + weight = 858 + }, + ["tree-wetland-o"] = { + tile_name = "frozen-snow-2", + tree_name = "tree-wetland-o", + weight = 1198 + } +} +terrains["mineral-dustyrose-sand-3"] = { + name = "mineral-dustyrose-sand-3", + ["tree-desert-c"] = { + tile_name = "mineral-dustyrose-sand-3", + tree_name = "tree-desert-c", + weight = 4 + }, + ["tree-desert-d"] = { + tile_name = "mineral-dustyrose-sand-3", + tree_name = "tree-desert-d", + weight = 3 + }, + ["tree-desert-f"] = { + tile_name = "mineral-dustyrose-sand-3", + tree_name = "tree-desert-f", + weight = 3 + }, + ["tree-desert-g"] = { + tile_name = "mineral-dustyrose-sand-3", + tree_name = "tree-desert-g", + weight = 3 + }, + ["tree-desert-h"] = { + tile_name = "mineral-dustyrose-sand-3", + tree_name = "tree-desert-h", + weight = 5852 + }, + ["tree-desert-i"] = { + tile_name = "mineral-dustyrose-sand-3", + tree_name = "tree-desert-i", + weight = 8 + }, + ["tree-desert-j"] = { + tile_name = "mineral-dustyrose-sand-3", + tree_name = "tree-desert-j", + weight = 9067 + }, + ["tree-desert-k"] = { + tile_name = "mineral-dustyrose-sand-3", + tree_name = "tree-desert-k", + weight = 6148 + }, + ["tree-desert-l"] = { + tile_name = "mineral-dustyrose-sand-3", + tree_name = "tree-desert-l", + weight = 2 + }, + ["tree-desert-n"] = { + tile_name = "mineral-dustyrose-sand-3", + tree_name = "tree-desert-n", + weight = 10 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-dustyrose-sand-3", + tree_name = "tree-dryland-c", + weight = 2 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-dustyrose-sand-3", + tree_name = "tree-dryland-h", + weight = 773 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-dustyrose-sand-3", + tree_name = "tree-dryland-l", + weight = 759 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-dustyrose-sand-3", + tree_name = "tree-dryland-m", + weight = 168 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-dustyrose-sand-3", + tree_name = "tree-grassland-g", + weight = 6 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-dustyrose-sand-3", + tree_name = "tree-grassland-h", + weight = 195 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-dustyrose-sand-3", + tree_name = "tree-grassland-h2", + weight = 1448 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-dustyrose-sand-3", + tree_name = "tree-grassland-h3", + weight = 846 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-dustyrose-sand-3", + tree_name = "tree-grassland-i", + weight = 13 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-dustyrose-sand-3", + tree_name = "tree-wetland-e", + weight = 13707 + }, + ["tree-wetland-f"] = { + tile_name = "mineral-dustyrose-sand-3", + tree_name = "tree-wetland-f", + weight = 9 + }, + ["tree-wetland-h"] = { + tile_name = "mineral-dustyrose-sand-3", + tree_name = "tree-wetland-h", + weight = 96 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-dustyrose-sand-3", + tree_name = "tree-wetland-k", + weight = 3575 + }, + ["tree-wetland-l"] = { + tile_name = "mineral-dustyrose-sand-3", + tree_name = "tree-wetland-l", + weight = 22 + } +} +terrains["frozen-snow-1"] = { + name = "frozen-snow-1", + ["tree-desert-b"] = { + tile_name = "frozen-snow-1", + tree_name = "tree-desert-b", + weight = 2 + }, + ["tree-desert-c"] = { + tile_name = "frozen-snow-1", + tree_name = "tree-desert-c", + weight = 32 + }, + ["tree-desert-d"] = { + tile_name = "frozen-snow-1", + tree_name = "tree-desert-d", + weight = 15 + }, + ["tree-desert-f"] = { + tile_name = "frozen-snow-1", + tree_name = "tree-desert-f", + weight = 2 + }, + ["tree-desert-h"] = { + tile_name = "frozen-snow-1", + tree_name = "tree-desert-h", + weight = 24 + }, + ["tree-desert-i"] = { + tile_name = "frozen-snow-1", + tree_name = "tree-desert-i", + weight = 260 + }, + ["tree-desert-j"] = { + tile_name = "frozen-snow-1", + tree_name = "tree-desert-j", + weight = 2 + }, + ["tree-desert-k"] = { + tile_name = "frozen-snow-1", + tree_name = "tree-desert-k", + weight = 15 + }, + ["tree-desert-n"] = { + tile_name = "frozen-snow-1", + tree_name = "tree-desert-n", + weight = 1182 + }, + ["tree-dryland-b"] = { + tile_name = "frozen-snow-1", + tree_name = "tree-dryland-b", + weight = 150 + }, + ["tree-dryland-c"] = { + tile_name = "frozen-snow-1", + tree_name = "tree-dryland-c", + weight = 181 + }, + ["tree-dryland-f"] = { + tile_name = "frozen-snow-1", + tree_name = "tree-dryland-f", + weight = 247 + }, + ["tree-dryland-g"] = { + tile_name = "frozen-snow-1", + tree_name = "tree-dryland-g", + weight = 12 + }, + ["tree-dryland-h"] = { + tile_name = "frozen-snow-1", + tree_name = "tree-dryland-h", + weight = 433 + }, + ["tree-dryland-i"] = { + tile_name = "frozen-snow-1", + tree_name = "tree-dryland-i", + weight = 39 + }, + ["tree-dryland-j"] = { + tile_name = "frozen-snow-1", + tree_name = "tree-dryland-j", + weight = 50 + }, + ["tree-dryland-l"] = { + tile_name = "frozen-snow-1", + tree_name = "tree-dryland-l", + weight = 17673 + }, + ["tree-dryland-m"] = { + tile_name = "frozen-snow-1", + tree_name = "tree-dryland-m", + weight = 11 + }, + ["tree-dryland-n"] = { + tile_name = "frozen-snow-1", + tree_name = "tree-dryland-n", + weight = 228 + }, + ["tree-dryland-o"] = { + tile_name = "frozen-snow-1", + tree_name = "tree-dryland-o", + weight = 2898 + }, + ["tree-grassland-h2"] = { + tile_name = "frozen-snow-1", + tree_name = "tree-grassland-h2", + weight = 175 + }, + ["tree-grassland-h3"] = { + tile_name = "frozen-snow-1", + tree_name = "tree-grassland-h3", + weight = 281 + }, + ["tree-grassland-p"] = { + tile_name = "frozen-snow-1", + tree_name = "tree-grassland-p", + weight = 140 + }, + ["tree-snow-a"] = { + tile_name = "frozen-snow-1", + tree_name = "tree-snow-a", + weight = 429666 + }, + ["tree-wetland-n"] = { + tile_name = "frozen-snow-1", + tree_name = "tree-wetland-n", + weight = 1042 + }, + ["tree-wetland-o"] = { + tile_name = "frozen-snow-1", + tree_name = "tree-wetland-o", + weight = 2188 + } +} +terrains["frozen-snow-3"] = { + name = "frozen-snow-3", + ["tree-desert-c"] = { + tile_name = "frozen-snow-3", + tree_name = "tree-desert-c", + weight = 5 + }, + ["tree-desert-d"] = { + tile_name = "frozen-snow-3", + tree_name = "tree-desert-d", + weight = 3 + }, + ["tree-desert-h"] = { + tile_name = "frozen-snow-3", + tree_name = "tree-desert-h", + weight = 11 + }, + ["tree-desert-i"] = { + tile_name = "frozen-snow-3", + tree_name = "tree-desert-i", + weight = 145 + }, + ["tree-desert-j"] = { + tile_name = "frozen-snow-3", + tree_name = "tree-desert-j", + weight = 2 + }, + ["tree-desert-k"] = { + tile_name = "frozen-snow-3", + tree_name = "tree-desert-k", + weight = 7 + }, + ["tree-desert-m"] = { + tile_name = "frozen-snow-3", + tree_name = "tree-desert-m", + weight = 2 + }, + ["tree-desert-n"] = { + tile_name = "frozen-snow-3", + tree_name = "tree-desert-n", + weight = 679 + }, + ["tree-dryland-b"] = { + tile_name = "frozen-snow-3", + tree_name = "tree-dryland-b", + weight = 40 + }, + ["tree-dryland-c"] = { + tile_name = "frozen-snow-3", + tree_name = "tree-dryland-c", + weight = 30 + }, + ["tree-dryland-f"] = { + tile_name = "frozen-snow-3", + tree_name = "tree-dryland-f", + weight = 111 + }, + ["tree-dryland-g"] = { + tile_name = "frozen-snow-3", + tree_name = "tree-dryland-g", + weight = 2 + }, + ["tree-dryland-h"] = { + tile_name = "frozen-snow-3", + tree_name = "tree-dryland-h", + weight = 116 + }, + ["tree-dryland-i"] = { + tile_name = "frozen-snow-3", + tree_name = "tree-dryland-i", + weight = 2 + }, + ["tree-dryland-j"] = { + tile_name = "frozen-snow-3", + tree_name = "tree-dryland-j", + weight = 32 + }, + ["tree-dryland-l"] = { + tile_name = "frozen-snow-3", + tree_name = "tree-dryland-l", + weight = 10815 + }, + ["tree-dryland-m"] = { + tile_name = "frozen-snow-3", + tree_name = "tree-dryland-m", + weight = 11 + }, + ["tree-dryland-n"] = { + tile_name = "frozen-snow-3", + tree_name = "tree-dryland-n", + weight = 121 + }, + ["tree-dryland-o"] = { + tile_name = "frozen-snow-3", + tree_name = "tree-dryland-o", + weight = 1144 + }, + ["tree-grassland-h2"] = { + tile_name = "frozen-snow-3", + tree_name = "tree-grassland-h2", + weight = 29 + }, + ["tree-grassland-h3"] = { + tile_name = "frozen-snow-3", + tree_name = "tree-grassland-h3", + weight = 89 + }, + ["tree-grassland-p"] = { + tile_name = "frozen-snow-3", + tree_name = "tree-grassland-p", + weight = 123 + }, + ["tree-snow-a"] = { + tile_name = "frozen-snow-3", + tree_name = "tree-snow-a", + weight = 110979 + }, + ["tree-wetland-n"] = { + tile_name = "frozen-snow-3", + tree_name = "tree-wetland-n", + weight = 813 + }, + ["tree-wetland-o"] = { + tile_name = "frozen-snow-3", + tree_name = "tree-wetland-o", + weight = 977 + } +} +terrains["frozen-snow-6"] = { + name = "frozen-snow-6", + ["tree-desert-c"] = { + tile_name = "frozen-snow-6", + tree_name = "tree-desert-c", + weight = 4 + }, + ["tree-desert-d"] = { + tile_name = "frozen-snow-6", + tree_name = "tree-desert-d", + weight = 4 + }, + ["tree-desert-h"] = { + tile_name = "frozen-snow-6", + tree_name = "tree-desert-h", + weight = 2 + }, + ["tree-desert-i"] = { + tile_name = "frozen-snow-6", + tree_name = "tree-desert-i", + weight = 72 + }, + ["tree-desert-j"] = { + tile_name = "frozen-snow-6", + tree_name = "tree-desert-j", + weight = 2 + }, + ["tree-desert-k"] = { + tile_name = "frozen-snow-6", + tree_name = "tree-desert-k", + weight = 4 + }, + ["tree-desert-n"] = { + tile_name = "frozen-snow-6", + tree_name = "tree-desert-n", + weight = 355 + }, + ["tree-dryland-b"] = { + tile_name = "frozen-snow-6", + tree_name = "tree-dryland-b", + weight = 37 + }, + ["tree-dryland-c"] = { + tile_name = "frozen-snow-6", + tree_name = "tree-dryland-c", + weight = 13 + }, + ["tree-dryland-f"] = { + tile_name = "frozen-snow-6", + tree_name = "tree-dryland-f", + weight = 27 + }, + ["tree-dryland-h"] = { + tile_name = "frozen-snow-6", + tree_name = "tree-dryland-h", + weight = 51 + }, + ["tree-dryland-j"] = { + tile_name = "frozen-snow-6", + tree_name = "tree-dryland-j", + weight = 20 + }, + ["tree-dryland-l"] = { + tile_name = "frozen-snow-6", + tree_name = "tree-dryland-l", + weight = 5866 + }, + ["tree-dryland-m"] = { + tile_name = "frozen-snow-6", + tree_name = "tree-dryland-m", + weight = 14 + }, + ["tree-dryland-n"] = { + tile_name = "frozen-snow-6", + tree_name = "tree-dryland-n", + weight = 12 + }, + ["tree-dryland-o"] = { + tile_name = "frozen-snow-6", + tree_name = "tree-dryland-o", + weight = 590 + }, + ["tree-grassland-h2"] = { + tile_name = "frozen-snow-6", + tree_name = "tree-grassland-h2", + weight = 15 + }, + ["tree-grassland-h3"] = { + tile_name = "frozen-snow-6", + tree_name = "tree-grassland-h3", + weight = 50 + }, + ["tree-grassland-p"] = { + tile_name = "frozen-snow-6", + tree_name = "tree-grassland-p", + weight = 22 + }, + ["tree-wetland-n"] = { + tile_name = "frozen-snow-6", + tree_name = "tree-wetland-n", + weight = 285 + }, + ["tree-wetland-o"] = { + tile_name = "frozen-snow-6", + tree_name = "tree-wetland-o", + weight = 440 + } +} +terrains["mineral-dustyrose-sand-1"] = { + name = "mineral-dustyrose-sand-1", + ["tree-desert-c"] = { + tile_name = "mineral-dustyrose-sand-1", + tree_name = "tree-desert-c", + weight = 14 + }, + ["tree-desert-d"] = { + tile_name = "mineral-dustyrose-sand-1", + tree_name = "tree-desert-d", + weight = 14 + }, + ["tree-desert-f"] = { + tile_name = "mineral-dustyrose-sand-1", + tree_name = "tree-desert-f", + weight = 10 + }, + ["tree-desert-g"] = { + tile_name = "mineral-dustyrose-sand-1", + tree_name = "tree-desert-g", + weight = 9 + }, + ["tree-desert-h"] = { + tile_name = "mineral-dustyrose-sand-1", + tree_name = "tree-desert-h", + weight = 22139 + }, + ["tree-desert-i"] = { + tile_name = "mineral-dustyrose-sand-1", + tree_name = "tree-desert-i", + weight = 26 + }, + ["tree-desert-j"] = { + tile_name = "mineral-dustyrose-sand-1", + tree_name = "tree-desert-j", + weight = 30913 + }, + ["tree-desert-k"] = { + tile_name = "mineral-dustyrose-sand-1", + tree_name = "tree-desert-k", + weight = 21378 + }, + ["tree-desert-l"] = { + tile_name = "mineral-dustyrose-sand-1", + tree_name = "tree-desert-l", + weight = 5 + }, + ["tree-desert-m"] = { + tile_name = "mineral-dustyrose-sand-1", + tree_name = "tree-desert-m", + weight = 7 + }, + ["tree-desert-n"] = { + tile_name = "mineral-dustyrose-sand-1", + tree_name = "tree-desert-n", + weight = 26 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-dustyrose-sand-1", + tree_name = "tree-dryland-h", + weight = 1522 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-dustyrose-sand-1", + tree_name = "tree-dryland-l", + weight = 1938 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-dustyrose-sand-1", + tree_name = "tree-dryland-m", + weight = 449 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-dustyrose-sand-1", + tree_name = "tree-grassland-g", + weight = 2 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-dustyrose-sand-1", + tree_name = "tree-grassland-h", + weight = 1037 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-dustyrose-sand-1", + tree_name = "tree-grassland-h2", + weight = 4020 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-dustyrose-sand-1", + tree_name = "tree-grassland-h3", + weight = 1826 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-dustyrose-sand-1", + tree_name = "tree-grassland-i", + weight = 32 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-dustyrose-sand-1", + tree_name = "tree-wetland-e", + weight = 46457 + }, + ["tree-wetland-f"] = { + tile_name = "mineral-dustyrose-sand-1", + tree_name = "tree-wetland-f", + weight = 7 + }, + ["tree-wetland-h"] = { + tile_name = "mineral-dustyrose-sand-1", + tree_name = "tree-wetland-h", + weight = 288 + }, + ["tree-wetland-j"] = { + tile_name = "mineral-dustyrose-sand-1", + tree_name = "tree-wetland-j", + weight = 2 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-dustyrose-sand-1", + tree_name = "tree-wetland-k", + weight = 9599 + }, + ["tree-wetland-l"] = { + tile_name = "mineral-dustyrose-sand-1", + tree_name = "tree-wetland-l", + weight = 27 + } +} +terrains["frozen-snow-5"] = { + name = "frozen-snow-5", + ["tree-desert-c"] = { + tile_name = "frozen-snow-5", + tree_name = "tree-desert-c", + weight = 2 + }, + ["tree-desert-d"] = { + tile_name = "frozen-snow-5", + tree_name = "tree-desert-d", + weight = 4 + }, + ["tree-desert-h"] = { + tile_name = "frozen-snow-5", + tree_name = "tree-desert-h", + weight = 4 + }, + ["tree-desert-i"] = { + tile_name = "frozen-snow-5", + tree_name = "tree-desert-i", + weight = 70 + }, + ["tree-desert-j"] = { + tile_name = "frozen-snow-5", + tree_name = "tree-desert-j", + weight = 2 + }, + ["tree-desert-k"] = { + tile_name = "frozen-snow-5", + tree_name = "tree-desert-k", + weight = 6 + }, + ["tree-desert-n"] = { + tile_name = "frozen-snow-5", + tree_name = "tree-desert-n", + weight = 572 + }, + ["tree-dryland-b"] = { + tile_name = "frozen-snow-5", + tree_name = "tree-dryland-b", + weight = 75 + }, + ["tree-dryland-c"] = { + tile_name = "frozen-snow-5", + tree_name = "tree-dryland-c", + weight = 31 + }, + ["tree-dryland-d"] = { + tile_name = "frozen-snow-5", + tree_name = "tree-dryland-d", + weight = 4 + }, + ["tree-dryland-f"] = { + tile_name = "frozen-snow-5", + tree_name = "tree-dryland-f", + weight = 76 + }, + ["tree-dryland-h"] = { + tile_name = "frozen-snow-5", + tree_name = "tree-dryland-h", + weight = 83 + }, + ["tree-dryland-i"] = { + tile_name = "frozen-snow-5", + tree_name = "tree-dryland-i", + weight = 12 + }, + ["tree-dryland-j"] = { + tile_name = "frozen-snow-5", + tree_name = "tree-dryland-j", + weight = 24 + }, + ["tree-dryland-l"] = { + tile_name = "frozen-snow-5", + tree_name = "tree-dryland-l", + weight = 5919 + }, + ["tree-dryland-m"] = { + tile_name = "frozen-snow-5", + tree_name = "tree-dryland-m", + weight = 37 + }, + ["tree-dryland-n"] = { + tile_name = "frozen-snow-5", + tree_name = "tree-dryland-n", + weight = 39 + }, + ["tree-dryland-o"] = { + tile_name = "frozen-snow-5", + tree_name = "tree-dryland-o", + weight = 877 + }, + ["tree-grassland-h2"] = { + tile_name = "frozen-snow-5", + tree_name = "tree-grassland-h2", + weight = 49 + }, + ["tree-grassland-h3"] = { + tile_name = "frozen-snow-5", + tree_name = "tree-grassland-h3", + weight = 76 + }, + ["tree-grassland-p"] = { + tile_name = "frozen-snow-5", + tree_name = "tree-grassland-p", + weight = 109 + }, + ["tree-wetland-n"] = { + tile_name = "frozen-snow-5", + tree_name = "tree-wetland-n", + weight = 319 + }, + ["tree-wetland-o"] = { + tile_name = "frozen-snow-5", + tree_name = "tree-wetland-o", + weight = 918 + } +} +terrains["frozen-snow-4"] = { + name = "frozen-snow-4", + ["tree-desert-c"] = { + tile_name = "frozen-snow-4", + tree_name = "tree-desert-c", + weight = 3 + }, + ["tree-desert-d"] = { + tile_name = "frozen-snow-4", + tree_name = "tree-desert-d", + weight = 4 + }, + ["tree-desert-i"] = { + tile_name = "frozen-snow-4", + tree_name = "tree-desert-i", + weight = 109 + }, + ["tree-desert-j"] = { + tile_name = "frozen-snow-4", + tree_name = "tree-desert-j", + weight = 3 + }, + ["tree-desert-k"] = { + tile_name = "frozen-snow-4", + tree_name = "tree-desert-k", + weight = 7 + }, + ["tree-desert-n"] = { + tile_name = "frozen-snow-4", + tree_name = "tree-desert-n", + weight = 554 + }, + ["tree-dryland-b"] = { + tile_name = "frozen-snow-4", + tree_name = "tree-dryland-b", + weight = 37 + }, + ["tree-dryland-c"] = { + tile_name = "frozen-snow-4", + tree_name = "tree-dryland-c", + weight = 42 + }, + ["tree-dryland-f"] = { + tile_name = "frozen-snow-4", + tree_name = "tree-dryland-f", + weight = 39 + }, + ["tree-dryland-g"] = { + tile_name = "frozen-snow-4", + tree_name = "tree-dryland-g", + weight = 3 + }, + ["tree-dryland-h"] = { + tile_name = "frozen-snow-4", + tree_name = "tree-dryland-h", + weight = 79 + }, + ["tree-dryland-i"] = { + tile_name = "frozen-snow-4", + tree_name = "tree-dryland-i", + weight = 5 + }, + ["tree-dryland-j"] = { + tile_name = "frozen-snow-4", + tree_name = "tree-dryland-j", + weight = 18 + }, + ["tree-dryland-l"] = { + tile_name = "frozen-snow-4", + tree_name = "tree-dryland-l", + weight = 7603 + }, + ["tree-dryland-m"] = { + tile_name = "frozen-snow-4", + tree_name = "tree-dryland-m", + weight = 10 + }, + ["tree-dryland-n"] = { + tile_name = "frozen-snow-4", + tree_name = "tree-dryland-n", + weight = 29 + }, + ["tree-dryland-o"] = { + tile_name = "frozen-snow-4", + tree_name = "tree-dryland-o", + weight = 1232 + }, + ["tree-grassland-h2"] = { + tile_name = "frozen-snow-4", + tree_name = "tree-grassland-h2", + weight = 25 + }, + ["tree-grassland-h3"] = { + tile_name = "frozen-snow-4", + tree_name = "tree-grassland-h3", + weight = 54 + }, + ["tree-grassland-p"] = { + tile_name = "frozen-snow-4", + tree_name = "tree-grassland-p", + weight = 60 + }, + ["tree-snow-a"] = { + tile_name = "frozen-snow-4", + tree_name = "tree-snow-a", + weight = 68627 + }, + ["tree-wetland-n"] = { + tile_name = "frozen-snow-4", + tree_name = "tree-wetland-n", + weight = 462 + }, + ["tree-wetland-o"] = { + tile_name = "frozen-snow-4", + tree_name = "tree-wetland-o", + weight = 1027 + } +} +terrains["mineral-dustyrose-sand-2"] = { + name = "mineral-dustyrose-sand-2", + ["tree-desert-c"] = { + tile_name = "mineral-dustyrose-sand-2", + tree_name = "tree-desert-c", + weight = 7 + }, + ["tree-desert-d"] = { + tile_name = "mineral-dustyrose-sand-2", + tree_name = "tree-desert-d", + weight = 3 + }, + ["tree-desert-g"] = { + tile_name = "mineral-dustyrose-sand-2", + tree_name = "tree-desert-g", + weight = 8 + }, + ["tree-desert-h"] = { + tile_name = "mineral-dustyrose-sand-2", + tree_name = "tree-desert-h", + weight = 11303 + }, + ["tree-desert-i"] = { + tile_name = "mineral-dustyrose-sand-2", + tree_name = "tree-desert-i", + weight = 17 + }, + ["tree-desert-j"] = { + tile_name = "mineral-dustyrose-sand-2", + tree_name = "tree-desert-j", + weight = 17332 + }, + ["tree-desert-k"] = { + tile_name = "mineral-dustyrose-sand-2", + tree_name = "tree-desert-k", + weight = 10703 + }, + ["tree-desert-l"] = { + tile_name = "mineral-dustyrose-sand-2", + tree_name = "tree-desert-l", + weight = 5 + }, + ["tree-desert-m"] = { + tile_name = "mineral-dustyrose-sand-2", + tree_name = "tree-desert-m", + weight = 5 + }, + ["tree-desert-n"] = { + tile_name = "mineral-dustyrose-sand-2", + tree_name = "tree-desert-n", + weight = 18 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-dustyrose-sand-2", + tree_name = "tree-dryland-b", + weight = 3 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-dustyrose-sand-2", + tree_name = "tree-dryland-h", + weight = 1237 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-dustyrose-sand-2", + tree_name = "tree-dryland-l", + weight = 1043 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-dustyrose-sand-2", + tree_name = "tree-dryland-m", + weight = 151 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-dustyrose-sand-2", + tree_name = "tree-grassland-g", + weight = 2 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-dustyrose-sand-2", + tree_name = "tree-grassland-h", + weight = 558 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-dustyrose-sand-2", + tree_name = "tree-grassland-h2", + weight = 1941 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-dustyrose-sand-2", + tree_name = "tree-grassland-h3", + weight = 882 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-dustyrose-sand-2", + tree_name = "tree-grassland-i", + weight = 38 + }, + ["tree-grassland-l"] = { + tile_name = "mineral-dustyrose-sand-2", + tree_name = "tree-grassland-l", + weight = 2 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-dustyrose-sand-2", + tree_name = "tree-wetland-e", + weight = 24102 + }, + ["tree-wetland-f"] = { + tile_name = "mineral-dustyrose-sand-2", + tree_name = "tree-wetland-f", + weight = 12 + }, + ["tree-wetland-h"] = { + tile_name = "mineral-dustyrose-sand-2", + tree_name = "tree-wetland-h", + weight = 161 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-dustyrose-sand-2", + tree_name = "tree-wetland-k", + weight = 5674 + }, + ["tree-wetland-l"] = { + tile_name = "mineral-dustyrose-sand-2", + tree_name = "tree-wetland-l", + weight = 6 + } +} +terrains["frozen-snow-9"] = { + name = "frozen-snow-9", + ["tree-desert-i"] = { + tile_name = "frozen-snow-9", + tree_name = "tree-desert-i", + weight = 8 + }, + ["tree-desert-k"] = { + tile_name = "frozen-snow-9", + tree_name = "tree-desert-k", + weight = 2 + }, + ["tree-desert-n"] = { + tile_name = "frozen-snow-9", + tree_name = "tree-desert-n", + weight = 194 + }, + ["tree-dryland-b"] = { + tile_name = "frozen-snow-9", + tree_name = "tree-dryland-b", + weight = 10 + }, + ["tree-dryland-c"] = { + tile_name = "frozen-snow-9", + tree_name = "tree-dryland-c", + weight = 5 + }, + ["tree-dryland-f"] = { + tile_name = "frozen-snow-9", + tree_name = "tree-dryland-f", + weight = 7 + }, + ["tree-dryland-h"] = { + tile_name = "frozen-snow-9", + tree_name = "tree-dryland-h", + weight = 6 + }, + ["tree-dryland-j"] = { + tile_name = "frozen-snow-9", + tree_name = "tree-dryland-j", + weight = 14 + }, + ["tree-dryland-l"] = { + tile_name = "frozen-snow-9", + tree_name = "tree-dryland-l", + weight = 3187 + }, + ["tree-dryland-m"] = { + tile_name = "frozen-snow-9", + tree_name = "tree-dryland-m", + weight = 3 + }, + ["tree-dryland-n"] = { + tile_name = "frozen-snow-9", + tree_name = "tree-dryland-n", + weight = 8 + }, + ["tree-dryland-o"] = { + tile_name = "frozen-snow-9", + tree_name = "tree-dryland-o", + weight = 632 + }, + ["tree-grassland-h2"] = { + tile_name = "frozen-snow-9", + tree_name = "tree-grassland-h2", + weight = 2 + }, + ["tree-grassland-h3"] = { + tile_name = "frozen-snow-9", + tree_name = "tree-grassland-h3", + weight = 15 + }, + ["tree-grassland-p"] = { + tile_name = "frozen-snow-9", + tree_name = "tree-grassland-p", + weight = 19 + }, + ["tree-wetland-n"] = { + tile_name = "frozen-snow-9", + tree_name = "tree-wetland-n", + weight = 252 + }, + ["tree-wetland-o"] = { + tile_name = "frozen-snow-9", + tree_name = "tree-wetland-o", + weight = 266 + } +} +terrains["frozen-snow-7"] = { + name = "frozen-snow-7", + ["tree-desert-d"] = { + tile_name = "frozen-snow-7", + tree_name = "tree-desert-d", + weight = 2 + }, + ["tree-desert-h"] = { + tile_name = "frozen-snow-7", + tree_name = "tree-desert-h", + weight = 2 + }, + ["tree-desert-i"] = { + tile_name = "frozen-snow-7", + tree_name = "tree-desert-i", + weight = 58 + }, + ["tree-desert-k"] = { + tile_name = "frozen-snow-7", + tree_name = "tree-desert-k", + weight = 2 + }, + ["tree-desert-n"] = { + tile_name = "frozen-snow-7", + tree_name = "tree-desert-n", + weight = 298 + }, + ["tree-dryland-b"] = { + tile_name = "frozen-snow-7", + tree_name = "tree-dryland-b", + weight = 4 + }, + ["tree-dryland-c"] = { + tile_name = "frozen-snow-7", + tree_name = "tree-dryland-c", + weight = 21 + }, + ["tree-dryland-f"] = { + tile_name = "frozen-snow-7", + tree_name = "tree-dryland-f", + weight = 19 + }, + ["tree-dryland-h"] = { + tile_name = "frozen-snow-7", + tree_name = "tree-dryland-h", + weight = 31 + }, + ["tree-dryland-j"] = { + tile_name = "frozen-snow-7", + tree_name = "tree-dryland-j", + weight = 21 + }, + ["tree-dryland-l"] = { + tile_name = "frozen-snow-7", + tree_name = "tree-dryland-l", + weight = 3525 + }, + ["tree-dryland-m"] = { + tile_name = "frozen-snow-7", + tree_name = "tree-dryland-m", + weight = 15 + }, + ["tree-dryland-n"] = { + tile_name = "frozen-snow-7", + tree_name = "tree-dryland-n", + weight = 16 + }, + ["tree-dryland-o"] = { + tile_name = "frozen-snow-7", + tree_name = "tree-dryland-o", + weight = 434 + }, + ["tree-grassland-h2"] = { + tile_name = "frozen-snow-7", + tree_name = "tree-grassland-h2", + weight = 6 + }, + ["tree-grassland-h3"] = { + tile_name = "frozen-snow-7", + tree_name = "tree-grassland-h3", + weight = 42 + }, + ["tree-grassland-p"] = { + tile_name = "frozen-snow-7", + tree_name = "tree-grassland-p", + weight = 50 + }, + ["tree-wetland-n"] = { + tile_name = "frozen-snow-7", + tree_name = "tree-wetland-n", + weight = 280 + }, + ["tree-wetland-o"] = { + tile_name = "frozen-snow-7", + tree_name = "tree-wetland-o", + weight = 480 + } +} +terrains["frozen-snow-8"] = { + name = "frozen-snow-8", + ["tree-desert-c"] = { + tile_name = "frozen-snow-8", + tree_name = "tree-desert-c", + weight = 3 + }, + ["tree-desert-h"] = { + tile_name = "frozen-snow-8", + tree_name = "tree-desert-h", + weight = 3 + }, + ["tree-desert-i"] = { + tile_name = "frozen-snow-8", + tree_name = "tree-desert-i", + weight = 27 + }, + ["tree-desert-j"] = { + tile_name = "frozen-snow-8", + tree_name = "tree-desert-j", + weight = 2 + }, + ["tree-desert-n"] = { + tile_name = "frozen-snow-8", + tree_name = "tree-desert-n", + weight = 224 + }, + ["tree-dryland-b"] = { + tile_name = "frozen-snow-8", + tree_name = "tree-dryland-b", + weight = 8 + }, + ["tree-dryland-c"] = { + tile_name = "frozen-snow-8", + tree_name = "tree-dryland-c", + weight = 2 + }, + ["tree-dryland-f"] = { + tile_name = "frozen-snow-8", + tree_name = "tree-dryland-f", + weight = 7 + }, + ["tree-dryland-h"] = { + tile_name = "frozen-snow-8", + tree_name = "tree-dryland-h", + weight = 12 + }, + ["tree-dryland-j"] = { + tile_name = "frozen-snow-8", + tree_name = "tree-dryland-j", + weight = 6 + }, + ["tree-dryland-l"] = { + tile_name = "frozen-snow-8", + tree_name = "tree-dryland-l", + weight = 2918 + }, + ["tree-dryland-m"] = { + tile_name = "frozen-snow-8", + tree_name = "tree-dryland-m", + weight = 2 + }, + ["tree-dryland-n"] = { + tile_name = "frozen-snow-8", + tree_name = "tree-dryland-n", + weight = 11 + }, + ["tree-dryland-o"] = { + tile_name = "frozen-snow-8", + tree_name = "tree-dryland-o", + weight = 320 + }, + ["tree-grassland-h3"] = { + tile_name = "frozen-snow-8", + tree_name = "tree-grassland-h3", + weight = 9 + }, + ["tree-grassland-p"] = { + tile_name = "frozen-snow-8", + tree_name = "tree-grassland-p", + weight = 41 + }, + ["tree-wetland-n"] = { + tile_name = "frozen-snow-8", + tree_name = "tree-wetland-n", + weight = 180 + }, + ["tree-wetland-o"] = { + tile_name = "frozen-snow-8", + tree_name = "tree-wetland-o", + weight = 411 + } +} +terrains["mineral-red-dirt-1"] = { + name = "mineral-red-dirt-1", + ["tree-desert-a"] = { + tile_name = "mineral-red-dirt-1", + tree_name = "tree-desert-a", + weight = 8 + }, + ["tree-desert-c"] = { + tile_name = "mineral-red-dirt-1", + tree_name = "tree-desert-c", + weight = 2376 + }, + ["tree-desert-d"] = { + tile_name = "mineral-red-dirt-1", + tree_name = "tree-desert-d", + weight = 1064 + }, + ["tree-desert-h"] = { + tile_name = "mineral-red-dirt-1", + tree_name = "tree-desert-h", + weight = 2650 + }, + ["tree-desert-j"] = { + tile_name = "mineral-red-dirt-1", + tree_name = "tree-desert-j", + weight = 2 + }, + ["tree-desert-n"] = { + tile_name = "mineral-red-dirt-1", + tree_name = "tree-desert-n", + weight = 3 + }, + ["tree-dryland-a"] = { + tile_name = "mineral-red-dirt-1", + tree_name = "tree-dryland-a", + weight = 17 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-red-dirt-1", + tree_name = "tree-dryland-b", + weight = 15464 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-red-dirt-1", + tree_name = "tree-dryland-c", + weight = 81723 + }, + ["tree-dryland-d"] = { + tile_name = "mineral-red-dirt-1", + tree_name = "tree-dryland-d", + weight = 234 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-red-dirt-1", + tree_name = "tree-dryland-e", + weight = 215 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-red-dirt-1", + tree_name = "tree-dryland-f", + weight = 111728 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-red-dirt-1", + tree_name = "tree-dryland-g", + weight = 47 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-red-dirt-1", + tree_name = "tree-dryland-h", + weight = 60737 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-red-dirt-1", + tree_name = "tree-dryland-i", + weight = 17 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-red-dirt-1", + tree_name = "tree-dryland-l", + weight = 38 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-red-dirt-1", + tree_name = "tree-dryland-m", + weight = 38 + }, + ["tree-grassland-a"] = { + tile_name = "mineral-red-dirt-1", + tree_name = "tree-grassland-a", + weight = 198 + }, + ["tree-grassland-b"] = { + tile_name = "mineral-red-dirt-1", + tree_name = "tree-grassland-b", + weight = 54 + }, + ["tree-grassland-c"] = { + tile_name = "mineral-red-dirt-1", + tree_name = "tree-grassland-c", + weight = 18911 + }, + ["tree-grassland-d"] = { + tile_name = "mineral-red-dirt-1", + tree_name = "tree-grassland-d", + weight = 1354 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-red-dirt-1", + tree_name = "tree-grassland-e", + weight = 26861 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-red-dirt-1", + tree_name = "tree-grassland-f", + weight = 137 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-red-dirt-1", + tree_name = "tree-grassland-g", + weight = 88 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-red-dirt-1", + tree_name = "tree-grassland-h", + weight = 11158 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-red-dirt-1", + tree_name = "tree-grassland-h2", + weight = 105119 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-red-dirt-1", + tree_name = "tree-grassland-h3", + weight = 347 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-red-dirt-1", + tree_name = "tree-grassland-i", + weight = 2914 + }, + ["tree-grassland-p"] = { + tile_name = "mineral-red-dirt-1", + tree_name = "tree-grassland-p", + weight = 23 + }, + ["tree-wetland-b"] = { + tile_name = "mineral-red-dirt-1", + tree_name = "tree-wetland-b", + weight = 973 + }, + ["tree-wetland-c"] = { + tile_name = "mineral-red-dirt-1", + tree_name = "tree-wetland-c", + weight = 55 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-red-dirt-1", + tree_name = "tree-wetland-e", + weight = 17177 + }, + ["tree-wetland-f"] = { + tile_name = "mineral-red-dirt-1", + tree_name = "tree-wetland-f", + weight = 142 + }, + ["tree-wetland-h"] = { + tile_name = "mineral-red-dirt-1", + tree_name = "tree-wetland-h", + weight = 21 + } +} +terrains["mineral-brown-sand-1"] = { + name = "mineral-brown-sand-1", + ["tree-desert-a"] = { + tile_name = "mineral-brown-sand-1", + tree_name = "tree-desert-a", + weight = 103 + }, + ["tree-desert-b"] = { + tile_name = "mineral-brown-sand-1", + tree_name = "tree-desert-b", + weight = 8872 + }, + ["tree-desert-c"] = { + tile_name = "mineral-brown-sand-1", + tree_name = "tree-desert-c", + weight = 88244 + }, + ["tree-desert-d"] = { + tile_name = "mineral-brown-sand-1", + tree_name = "tree-desert-d", + weight = 48 + }, + ["tree-desert-e"] = { + tile_name = "mineral-brown-sand-1", + tree_name = "tree-desert-e", + weight = 20 + }, + ["tree-desert-f"] = { + tile_name = "mineral-brown-sand-1", + tree_name = "tree-desert-f", + weight = 12883 + }, + ["tree-desert-g"] = { + tile_name = "mineral-brown-sand-1", + tree_name = "tree-desert-g", + weight = 16 + }, + ["tree-desert-h"] = { + tile_name = "mineral-brown-sand-1", + tree_name = "tree-desert-h", + weight = 27525 + }, + ["tree-desert-i"] = { + tile_name = "mineral-brown-sand-1", + tree_name = "tree-desert-i", + weight = 5 + }, + ["tree-desert-j"] = { + tile_name = "mineral-brown-sand-1", + tree_name = "tree-desert-j", + weight = 24 + }, + ["tree-desert-n"] = { + tile_name = "mineral-brown-sand-1", + tree_name = "tree-desert-n", + weight = 27 + }, + ["tree-dryland-a"] = { + tile_name = "mineral-brown-sand-1", + tree_name = "tree-dryland-a", + weight = 397 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-brown-sand-1", + tree_name = "tree-dryland-b", + weight = 3373 + }, + ["tree-dryland-d"] = { + tile_name = "mineral-brown-sand-1", + tree_name = "tree-dryland-d", + weight = 7 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-brown-sand-1", + tree_name = "tree-dryland-e", + weight = 2 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-brown-sand-1", + tree_name = "tree-dryland-f", + weight = 5758 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-brown-sand-1", + tree_name = "tree-dryland-g", + weight = 97 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-brown-sand-1", + tree_name = "tree-dryland-h", + weight = 496 + }, + ["tree-grassland-b"] = { + tile_name = "mineral-brown-sand-1", + tree_name = "tree-grassland-b", + weight = 48 + }, + ["tree-grassland-c"] = { + tile_name = "mineral-brown-sand-1", + tree_name = "tree-grassland-c", + weight = 23723 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-brown-sand-1", + tree_name = "tree-grassland-f", + weight = 525 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-brown-sand-1", + tree_name = "tree-grassland-g", + weight = 2246 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-brown-sand-1", + tree_name = "tree-grassland-h2", + weight = 144 + }, + ["tree-wetland-b"] = { + tile_name = "mineral-brown-sand-1", + tree_name = "tree-wetland-b", + weight = 32137 + }, + ["tree-wetland-d"] = { + tile_name = "mineral-brown-sand-1", + tree_name = "tree-wetland-d", + weight = 2612 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-brown-sand-1", + tree_name = "tree-wetland-e", + weight = 93121 + } +} +terrains["mineral-brown-sand-2"] = { + name = "mineral-brown-sand-2", + ["tree-desert-a"] = { + tile_name = "mineral-brown-sand-2", + tree_name = "tree-desert-a", + weight = 62 + }, + ["tree-desert-b"] = { + tile_name = "mineral-brown-sand-2", + tree_name = "tree-desert-b", + weight = 4196 + }, + ["tree-desert-c"] = { + tile_name = "mineral-brown-sand-2", + tree_name = "tree-desert-c", + weight = 47866 + }, + ["tree-desert-d"] = { + tile_name = "mineral-brown-sand-2", + tree_name = "tree-desert-d", + weight = 38 + }, + ["tree-desert-e"] = { + tile_name = "mineral-brown-sand-2", + tree_name = "tree-desert-e", + weight = 7 + }, + ["tree-desert-f"] = { + tile_name = "mineral-brown-sand-2", + tree_name = "tree-desert-f", + weight = 7450 + }, + ["tree-desert-g"] = { + tile_name = "mineral-brown-sand-2", + tree_name = "tree-desert-g", + weight = 11 + }, + ["tree-desert-h"] = { + tile_name = "mineral-brown-sand-2", + tree_name = "tree-desert-h", + weight = 15084 + }, + ["tree-desert-i"] = { + tile_name = "mineral-brown-sand-2", + tree_name = "tree-desert-i", + weight = 5 + }, + ["tree-desert-j"] = { + tile_name = "mineral-brown-sand-2", + tree_name = "tree-desert-j", + weight = 13 + }, + ["tree-desert-n"] = { + tile_name = "mineral-brown-sand-2", + tree_name = "tree-desert-n", + weight = 10 + }, + ["tree-dryland-a"] = { + tile_name = "mineral-brown-sand-2", + tree_name = "tree-dryland-a", + weight = 152 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-brown-sand-2", + tree_name = "tree-dryland-b", + weight = 1870 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-brown-sand-2", + tree_name = "tree-dryland-e", + weight = 2 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-brown-sand-2", + tree_name = "tree-dryland-f", + weight = 4133 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-brown-sand-2", + tree_name = "tree-dryland-g", + weight = 118 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-brown-sand-2", + tree_name = "tree-dryland-h", + weight = 501 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-brown-sand-2", + tree_name = "tree-dryland-l", + weight = 2 + }, + ["tree-dryland-n"] = { + tile_name = "mineral-brown-sand-2", + tree_name = "tree-dryland-n", + weight = 2 + }, + ["tree-grassland-b"] = { + tile_name = "mineral-brown-sand-2", + tree_name = "tree-grassland-b", + weight = 71 + }, + ["tree-grassland-c"] = { + tile_name = "mineral-brown-sand-2", + tree_name = "tree-grassland-c", + weight = 12218 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-brown-sand-2", + tree_name = "tree-grassland-f", + weight = 244 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-brown-sand-2", + tree_name = "tree-grassland-g", + weight = 1653 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-brown-sand-2", + tree_name = "tree-grassland-h2", + weight = 183 + }, + ["tree-wetland-b"] = { + tile_name = "mineral-brown-sand-2", + tree_name = "tree-wetland-b", + weight = 16091 + }, + ["tree-wetland-d"] = { + tile_name = "mineral-brown-sand-2", + tree_name = "tree-wetland-d", + weight = 1390 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-brown-sand-2", + tree_name = "tree-wetland-e", + weight = 50743 + } +} +terrains["mineral-brown-sand-3"] = { + name = "mineral-brown-sand-3", + ["tree-desert-a"] = { + tile_name = "mineral-brown-sand-3", + tree_name = "tree-desert-a", + weight = 22 + }, + ["tree-desert-b"] = { + tile_name = "mineral-brown-sand-3", + tree_name = "tree-desert-b", + weight = 3031 + }, + ["tree-desert-c"] = { + tile_name = "mineral-brown-sand-3", + tree_name = "tree-desert-c", + weight = 27151 + }, + ["tree-desert-d"] = { + tile_name = "mineral-brown-sand-3", + tree_name = "tree-desert-d", + weight = 15 + }, + ["tree-desert-e"] = { + tile_name = "mineral-brown-sand-3", + tree_name = "tree-desert-e", + weight = 3 + }, + ["tree-desert-f"] = { + tile_name = "mineral-brown-sand-3", + tree_name = "tree-desert-f", + weight = 4030 + }, + ["tree-desert-g"] = { + tile_name = "mineral-brown-sand-3", + tree_name = "tree-desert-g", + weight = 6 + }, + ["tree-desert-h"] = { + tile_name = "mineral-brown-sand-3", + tree_name = "tree-desert-h", + weight = 8125 + }, + ["tree-desert-i"] = { + tile_name = "mineral-brown-sand-3", + tree_name = "tree-desert-i", + weight = 4 + }, + ["tree-desert-j"] = { + tile_name = "mineral-brown-sand-3", + tree_name = "tree-desert-j", + weight = 12 + }, + ["tree-desert-n"] = { + tile_name = "mineral-brown-sand-3", + tree_name = "tree-desert-n", + weight = 11 + }, + ["tree-dryland-a"] = { + tile_name = "mineral-brown-sand-3", + tree_name = "tree-dryland-a", + weight = 50 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-brown-sand-3", + tree_name = "tree-dryland-b", + weight = 990 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-brown-sand-3", + tree_name = "tree-dryland-f", + weight = 2025 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-brown-sand-3", + tree_name = "tree-dryland-g", + weight = 62 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-brown-sand-3", + tree_name = "tree-dryland-h", + weight = 466 + }, + ["tree-grassland-b"] = { + tile_name = "mineral-brown-sand-3", + tree_name = "tree-grassland-b", + weight = 102 + }, + ["tree-grassland-c"] = { + tile_name = "mineral-brown-sand-3", + tree_name = "tree-grassland-c", + weight = 7015 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-brown-sand-3", + tree_name = "tree-grassland-f", + weight = 256 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-brown-sand-3", + tree_name = "tree-grassland-g", + weight = 672 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-brown-sand-3", + tree_name = "tree-grassland-h2", + weight = 86 + }, + ["tree-wetland-b"] = { + tile_name = "mineral-brown-sand-3", + tree_name = "tree-wetland-b", + weight = 7896 + }, + ["tree-wetland-d"] = { + tile_name = "mineral-brown-sand-3", + tree_name = "tree-wetland-d", + weight = 860 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-brown-sand-3", + tree_name = "tree-wetland-e", + weight = 27219 + } +} +terrains["mineral-red-sand-1"] = { + name = "mineral-red-sand-1", + ["tree-desert-a"] = { + tile_name = "mineral-red-sand-1", + tree_name = "tree-desert-a", + weight = 53 + }, + ["tree-desert-b"] = { + tile_name = "mineral-red-sand-1", + tree_name = "tree-desert-b", + weight = 5 + }, + ["tree-desert-c"] = { + tile_name = "mineral-red-sand-1", + tree_name = "tree-desert-c", + weight = 30909 + }, + ["tree-desert-d"] = { + tile_name = "mineral-red-sand-1", + tree_name = "tree-desert-d", + weight = 11170 + }, + ["tree-desert-e"] = { + tile_name = "mineral-red-sand-1", + tree_name = "tree-desert-e", + weight = 4 + }, + ["tree-desert-f"] = { + tile_name = "mineral-red-sand-1", + tree_name = "tree-desert-f", + weight = 6 + }, + ["tree-desert-g"] = { + tile_name = "mineral-red-sand-1", + tree_name = "tree-desert-g", + weight = 4 + }, + ["tree-desert-h"] = { + tile_name = "mineral-red-sand-1", + tree_name = "tree-desert-h", + weight = 19830 + }, + ["tree-desert-j"] = { + tile_name = "mineral-red-sand-1", + tree_name = "tree-desert-j", + weight = 7 + }, + ["tree-desert-n"] = { + tile_name = "mineral-red-sand-1", + tree_name = "tree-desert-n", + weight = 7 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-red-sand-1", + tree_name = "tree-dryland-b", + weight = 939 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-red-sand-1", + tree_name = "tree-dryland-c", + weight = 1091 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-red-sand-1", + tree_name = "tree-dryland-f", + weight = 1174 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-red-sand-1", + tree_name = "tree-dryland-h", + weight = 734 + }, + ["tree-grassland-c"] = { + tile_name = "mineral-red-sand-1", + tree_name = "tree-grassland-c", + weight = 5546 + }, + ["tree-grassland-d"] = { + tile_name = "mineral-red-sand-1", + tree_name = "tree-grassland-d", + weight = 617 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-red-sand-1", + tree_name = "tree-grassland-e", + weight = 1197 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-red-sand-1", + tree_name = "tree-grassland-h2", + weight = 1614 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-red-sand-1", + tree_name = "tree-grassland-i", + weight = 150 + }, + ["tree-wetland-b"] = { + tile_name = "mineral-red-sand-1", + tree_name = "tree-wetland-b", + weight = 9876 + }, + ["tree-wetland-c"] = { + tile_name = "mineral-red-sand-1", + tree_name = "tree-wetland-c", + weight = 2322 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-red-sand-1", + tree_name = "tree-wetland-e", + weight = 28896 + }, + ["tree-wetland-f"] = { + tile_name = "mineral-red-sand-1", + tree_name = "tree-wetland-f", + weight = 405 + }, + ["tree-wetland-h"] = { + tile_name = "mineral-red-sand-1", + tree_name = "tree-wetland-h", + weight = 226 + } +} +terrains["volcanic-orange-heat-1"] = { + name = "volcanic-orange-heat-1", + ["tree-volcanic-a"] = { + tile_name = "volcanic-orange-heat-1", + tree_name = "tree-volcanic-a", + weight = 110410 + } +} +terrains["mineral-red-sand-2"] = { + name = "mineral-red-sand-2", + ["tree-desert-a"] = { + tile_name = "mineral-red-sand-2", + tree_name = "tree-desert-a", + weight = 21 + }, + ["tree-desert-b"] = { + tile_name = "mineral-red-sand-2", + tree_name = "tree-desert-b", + weight = 5 + }, + ["tree-desert-c"] = { + tile_name = "mineral-red-sand-2", + tree_name = "tree-desert-c", + weight = 14756 + }, + ["tree-desert-d"] = { + tile_name = "mineral-red-sand-2", + tree_name = "tree-desert-d", + weight = 5612 + }, + ["tree-desert-f"] = { + tile_name = "mineral-red-sand-2", + tree_name = "tree-desert-f", + weight = 4 + }, + ["tree-desert-g"] = { + tile_name = "mineral-red-sand-2", + tree_name = "tree-desert-g", + weight = 2 + }, + ["tree-desert-h"] = { + tile_name = "mineral-red-sand-2", + tree_name = "tree-desert-h", + weight = 10535 + }, + ["tree-desert-j"] = { + tile_name = "mineral-red-sand-2", + tree_name = "tree-desert-j", + weight = 3 + }, + ["tree-desert-n"] = { + tile_name = "mineral-red-sand-2", + tree_name = "tree-desert-n", + weight = 2 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-red-sand-2", + tree_name = "tree-dryland-b", + weight = 570 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-red-sand-2", + tree_name = "tree-dryland-c", + weight = 423 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-red-sand-2", + tree_name = "tree-dryland-f", + weight = 708 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-red-sand-2", + tree_name = "tree-dryland-h", + weight = 220 + }, + ["tree-grassland-c"] = { + tile_name = "mineral-red-sand-2", + tree_name = "tree-grassland-c", + weight = 2550 + }, + ["tree-grassland-d"] = { + tile_name = "mineral-red-sand-2", + tree_name = "tree-grassland-d", + weight = 256 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-red-sand-2", + tree_name = "tree-grassland-e", + weight = 420 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-red-sand-2", + tree_name = "tree-grassland-h2", + weight = 773 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-red-sand-2", + tree_name = "tree-grassland-i", + weight = 66 + }, + ["tree-wetland-b"] = { + tile_name = "mineral-red-sand-2", + tree_name = "tree-wetland-b", + weight = 5551 + }, + ["tree-wetland-c"] = { + tile_name = "mineral-red-sand-2", + tree_name = "tree-wetland-c", + weight = 1877 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-red-sand-2", + tree_name = "tree-wetland-e", + weight = 16203 + }, + ["tree-wetland-f"] = { + tile_name = "mineral-red-sand-2", + tree_name = "tree-wetland-f", + weight = 257 + }, + ["tree-wetland-h"] = { + tile_name = "mineral-red-sand-2", + tree_name = "tree-wetland-h", + weight = 173 + } +} +terrains["mineral-red-sand-3"] = { + name = "mineral-red-sand-3", + ["tree-desert-a"] = { + tile_name = "mineral-red-sand-3", + tree_name = "tree-desert-a", + weight = 10 + }, + ["tree-desert-b"] = { + tile_name = "mineral-red-sand-3", + tree_name = "tree-desert-b", + weight = 4 + }, + ["tree-desert-c"] = { + tile_name = "mineral-red-sand-3", + tree_name = "tree-desert-c", + weight = 9095 + }, + ["tree-desert-d"] = { + tile_name = "mineral-red-sand-3", + tree_name = "tree-desert-d", + weight = 2547 + }, + ["tree-desert-f"] = { + tile_name = "mineral-red-sand-3", + tree_name = "tree-desert-f", + weight = 6 + }, + ["tree-desert-g"] = { + tile_name = "mineral-red-sand-3", + tree_name = "tree-desert-g", + weight = 6 + }, + ["tree-desert-h"] = { + tile_name = "mineral-red-sand-3", + tree_name = "tree-desert-h", + weight = 5425 + }, + ["tree-desert-j"] = { + tile_name = "mineral-red-sand-3", + tree_name = "tree-desert-j", + weight = 3 + }, + ["tree-desert-n"] = { + tile_name = "mineral-red-sand-3", + tree_name = "tree-desert-n", + weight = 10 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-red-sand-3", + tree_name = "tree-dryland-b", + weight = 178 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-red-sand-3", + tree_name = "tree-dryland-c", + weight = 174 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-red-sand-3", + tree_name = "tree-dryland-f", + weight = 250 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-red-sand-3", + tree_name = "tree-dryland-h", + weight = 312 + }, + ["tree-grassland-c"] = { + tile_name = "mineral-red-sand-3", + tree_name = "tree-grassland-c", + weight = 1454 + }, + ["tree-grassland-d"] = { + tile_name = "mineral-red-sand-3", + tree_name = "tree-grassland-d", + weight = 39 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-red-sand-3", + tree_name = "tree-grassland-e", + weight = 247 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-red-sand-3", + tree_name = "tree-grassland-h2", + weight = 680 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-red-sand-3", + tree_name = "tree-grassland-i", + weight = 120 + }, + ["tree-wetland-b"] = { + tile_name = "mineral-red-sand-3", + tree_name = "tree-wetland-b", + weight = 2328 + }, + ["tree-wetland-c"] = { + tile_name = "mineral-red-sand-3", + tree_name = "tree-wetland-c", + weight = 342 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-red-sand-3", + tree_name = "tree-wetland-e", + weight = 7465 + }, + ["tree-wetland-f"] = { + tile_name = "mineral-red-sand-3", + tree_name = "tree-wetland-f", + weight = 530 + }, + ["tree-wetland-h"] = { + tile_name = "mineral-red-sand-3", + tree_name = "tree-wetland-h", + weight = 97 + } +} +terrains["mineral-red-dirt-4"] = { + name = "mineral-red-dirt-4", + ["tree-desert-c"] = { + tile_name = "mineral-red-dirt-4", + tree_name = "tree-desert-c", + weight = 859 + }, + ["tree-desert-d"] = { + tile_name = "mineral-red-dirt-4", + tree_name = "tree-desert-d", + weight = 558 + }, + ["tree-desert-f"] = { + tile_name = "mineral-red-dirt-4", + tree_name = "tree-desert-f", + weight = 2 + }, + ["tree-desert-h"] = { + tile_name = "mineral-red-dirt-4", + tree_name = "tree-desert-h", + weight = 1194 + }, + ["tree-dryland-a"] = { + tile_name = "mineral-red-dirt-4", + tree_name = "tree-dryland-a", + weight = 2 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-red-dirt-4", + tree_name = "tree-dryland-b", + weight = 2531 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-red-dirt-4", + tree_name = "tree-dryland-c", + weight = 13235 + }, + ["tree-dryland-d"] = { + tile_name = "mineral-red-dirt-4", + tree_name = "tree-dryland-d", + weight = 38 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-red-dirt-4", + tree_name = "tree-dryland-e", + weight = 26 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-red-dirt-4", + tree_name = "tree-dryland-f", + weight = 13147 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-red-dirt-4", + tree_name = "tree-dryland-g", + weight = 9 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-red-dirt-4", + tree_name = "tree-dryland-h", + weight = 9691 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-red-dirt-4", + tree_name = "tree-dryland-l", + weight = 16 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-red-dirt-4", + tree_name = "tree-dryland-m", + weight = 10 + }, + ["tree-grassland-a"] = { + tile_name = "mineral-red-dirt-4", + tree_name = "tree-grassland-a", + weight = 112 + }, + ["tree-grassland-b"] = { + tile_name = "mineral-red-dirt-4", + tree_name = "tree-grassland-b", + weight = 12 + }, + ["tree-grassland-c"] = { + tile_name = "mineral-red-dirt-4", + tree_name = "tree-grassland-c", + weight = 6305 + }, + ["tree-grassland-d"] = { + tile_name = "mineral-red-dirt-4", + tree_name = "tree-grassland-d", + weight = 425 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-red-dirt-4", + tree_name = "tree-grassland-e", + weight = 8963 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-red-dirt-4", + tree_name = "tree-grassland-f", + weight = 85 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-red-dirt-4", + tree_name = "tree-grassland-g", + weight = 109 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-red-dirt-4", + tree_name = "tree-grassland-h", + weight = 4069 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-red-dirt-4", + tree_name = "tree-grassland-h2", + weight = 16780 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-red-dirt-4", + tree_name = "tree-grassland-h3", + weight = 55 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-red-dirt-4", + tree_name = "tree-grassland-i", + weight = 1210 + }, + ["tree-grassland-p"] = { + tile_name = "mineral-red-dirt-4", + tree_name = "tree-grassland-p", + weight = 18 + }, + ["tree-wetland-b"] = { + tile_name = "mineral-red-dirt-4", + tree_name = "tree-wetland-b", + weight = 306 + }, + ["tree-wetland-c"] = { + tile_name = "mineral-red-dirt-4", + tree_name = "tree-wetland-c", + weight = 28 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-red-dirt-4", + tree_name = "tree-wetland-e", + weight = 2840 + }, + ["tree-wetland-f"] = { + tile_name = "mineral-red-dirt-4", + tree_name = "tree-wetland-f", + weight = 75 + } +} +terrains["mineral-red-dirt-3"] = { + name = "mineral-red-dirt-3", + ["tree-desert-a"] = { + tile_name = "mineral-red-dirt-3", + tree_name = "tree-desert-a", + weight = 3 + }, + ["tree-desert-c"] = { + tile_name = "mineral-red-dirt-3", + tree_name = "tree-desert-c", + weight = 922 + }, + ["tree-desert-d"] = { + tile_name = "mineral-red-dirt-3", + tree_name = "tree-desert-d", + weight = 494 + }, + ["tree-desert-h"] = { + tile_name = "mineral-red-dirt-3", + tree_name = "tree-desert-h", + weight = 1195 + }, + ["tree-desert-n"] = { + tile_name = "mineral-red-dirt-3", + tree_name = "tree-desert-n", + weight = 2 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-red-dirt-3", + tree_name = "tree-dryland-b", + weight = 3267 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-red-dirt-3", + tree_name = "tree-dryland-c", + weight = 20038 + }, + ["tree-dryland-d"] = { + tile_name = "mineral-red-dirt-3", + tree_name = "tree-dryland-d", + weight = 41 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-red-dirt-3", + tree_name = "tree-dryland-e", + weight = 55 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-red-dirt-3", + tree_name = "tree-dryland-f", + weight = 27698 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-red-dirt-3", + tree_name = "tree-dryland-g", + weight = 11 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-red-dirt-3", + tree_name = "tree-dryland-h", + weight = 18516 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-red-dirt-3", + tree_name = "tree-dryland-i", + weight = 13 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-red-dirt-3", + tree_name = "tree-dryland-l", + weight = 21 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-red-dirt-3", + tree_name = "tree-dryland-m", + weight = 7 + }, + ["tree-grassland-a"] = { + tile_name = "mineral-red-dirt-3", + tree_name = "tree-grassland-a", + weight = 218 + }, + ["tree-grassland-b"] = { + tile_name = "mineral-red-dirt-3", + tree_name = "tree-grassland-b", + weight = 31 + }, + ["tree-grassland-c"] = { + tile_name = "mineral-red-dirt-3", + tree_name = "tree-grassland-c", + weight = 8645 + }, + ["tree-grassland-d"] = { + tile_name = "mineral-red-dirt-3", + tree_name = "tree-grassland-d", + weight = 567 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-red-dirt-3", + tree_name = "tree-grassland-e", + weight = 12198 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-red-dirt-3", + tree_name = "tree-grassland-f", + weight = 114 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-red-dirt-3", + tree_name = "tree-grassland-g", + weight = 43 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-red-dirt-3", + tree_name = "tree-grassland-h", + weight = 3332 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-red-dirt-3", + tree_name = "tree-grassland-h2", + weight = 32322 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-red-dirt-3", + tree_name = "tree-grassland-h3", + weight = 86 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-red-dirt-3", + tree_name = "tree-grassland-i", + weight = 1579 + }, + ["tree-grassland-p"] = { + tile_name = "mineral-red-dirt-3", + tree_name = "tree-grassland-p", + weight = 5 + }, + ["tree-wetland-b"] = { + tile_name = "mineral-red-dirt-3", + tree_name = "tree-wetland-b", + weight = 228 + }, + ["tree-wetland-c"] = { + tile_name = "mineral-red-dirt-3", + tree_name = "tree-wetland-c", + weight = 74 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-red-dirt-3", + tree_name = "tree-wetland-e", + weight = 4967 + }, + ["tree-wetland-f"] = { + tile_name = "mineral-red-dirt-3", + tree_name = "tree-wetland-f", + weight = 16 + }, + ["tree-wetland-h"] = { + tile_name = "mineral-red-dirt-3", + tree_name = "tree-wetland-h", + weight = 29 + } +} +terrains["mineral-red-dirt-2"] = { + name = "mineral-red-dirt-2", + ["tree-desert-a"] = { + tile_name = "mineral-red-dirt-2", + tree_name = "tree-desert-a", + weight = 3 + }, + ["tree-desert-c"] = { + tile_name = "mineral-red-dirt-2", + tree_name = "tree-desert-c", + weight = 1692 + }, + ["tree-desert-d"] = { + tile_name = "mineral-red-dirt-2", + tree_name = "tree-desert-d", + weight = 881 + }, + ["tree-desert-g"] = { + tile_name = "mineral-red-dirt-2", + tree_name = "tree-desert-g", + weight = 2 + }, + ["tree-desert-h"] = { + tile_name = "mineral-red-dirt-2", + tree_name = "tree-desert-h", + weight = 1840 + }, + ["tree-desert-j"] = { + tile_name = "mineral-red-dirt-2", + tree_name = "tree-desert-j", + weight = 3 + }, + ["tree-dryland-a"] = { + tile_name = "mineral-red-dirt-2", + tree_name = "tree-dryland-a", + weight = 23 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-red-dirt-2", + tree_name = "tree-dryland-b", + weight = 9438 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-red-dirt-2", + tree_name = "tree-dryland-c", + weight = 45744 + }, + ["tree-dryland-d"] = { + tile_name = "mineral-red-dirt-2", + tree_name = "tree-dryland-d", + weight = 112 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-red-dirt-2", + tree_name = "tree-dryland-e", + weight = 69 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-red-dirt-2", + tree_name = "tree-dryland-f", + weight = 51719 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-red-dirt-2", + tree_name = "tree-dryland-g", + weight = 22 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-red-dirt-2", + tree_name = "tree-dryland-h", + weight = 35276 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-red-dirt-2", + tree_name = "tree-dryland-l", + weight = 23 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-red-dirt-2", + tree_name = "tree-dryland-m", + weight = 21 + }, + ["tree-grassland-a"] = { + tile_name = "mineral-red-dirt-2", + tree_name = "tree-grassland-a", + weight = 307 + }, + ["tree-grassland-b"] = { + tile_name = "mineral-red-dirt-2", + tree_name = "tree-grassland-b", + weight = 15 + }, + ["tree-grassland-c"] = { + tile_name = "mineral-red-dirt-2", + tree_name = "tree-grassland-c", + weight = 10848 + }, + ["tree-grassland-d"] = { + tile_name = "mineral-red-dirt-2", + tree_name = "tree-grassland-d", + weight = 469 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-red-dirt-2", + tree_name = "tree-grassland-e", + weight = 20330 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-red-dirt-2", + tree_name = "tree-grassland-f", + weight = 111 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-red-dirt-2", + tree_name = "tree-grassland-g", + weight = 38 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-red-dirt-2", + tree_name = "tree-grassland-h", + weight = 7952 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-red-dirt-2", + tree_name = "tree-grassland-h2", + weight = 57311 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-red-dirt-2", + tree_name = "tree-grassland-h3", + weight = 120 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-red-dirt-2", + tree_name = "tree-grassland-i", + weight = 1671 + }, + ["tree-grassland-p"] = { + tile_name = "mineral-red-dirt-2", + tree_name = "tree-grassland-p", + weight = 9 + }, + ["tree-wetland-b"] = { + tile_name = "mineral-red-dirt-2", + tree_name = "tree-wetland-b", + weight = 543 + }, + ["tree-wetland-c"] = { + tile_name = "mineral-red-dirt-2", + tree_name = "tree-wetland-c", + weight = 20 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-red-dirt-2", + tree_name = "tree-wetland-e", + weight = 8670 + }, + ["tree-wetland-f"] = { + tile_name = "mineral-red-dirt-2", + tree_name = "tree-wetland-f", + weight = 24 + }, + ["tree-wetland-h"] = { + tile_name = "mineral-red-dirt-2", + tree_name = "tree-wetland-h", + weight = 11 + } +} +terrains["mineral-red-dirt-6"] = { + name = "mineral-red-dirt-6", + ["tree-desert-c"] = { + tile_name = "mineral-red-dirt-6", + tree_name = "tree-desert-c", + weight = 438 + }, + ["tree-desert-d"] = { + tile_name = "mineral-red-dirt-6", + tree_name = "tree-desert-d", + weight = 140 + }, + ["tree-desert-h"] = { + tile_name = "mineral-red-dirt-6", + tree_name = "tree-desert-h", + weight = 636 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-red-dirt-6", + tree_name = "tree-dryland-b", + weight = 367 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-red-dirt-6", + tree_name = "tree-dryland-c", + weight = 3577 + }, + ["tree-dryland-d"] = { + tile_name = "mineral-red-dirt-6", + tree_name = "tree-dryland-d", + weight = 5 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-red-dirt-6", + tree_name = "tree-dryland-e", + weight = 3 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-red-dirt-6", + tree_name = "tree-dryland-f", + weight = 3147 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-red-dirt-6", + tree_name = "tree-dryland-h", + weight = 2452 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-red-dirt-6", + tree_name = "tree-dryland-i", + weight = 18 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-red-dirt-6", + tree_name = "tree-dryland-m", + weight = 8 + }, + ["tree-grassland-a"] = { + tile_name = "mineral-red-dirt-6", + tree_name = "tree-grassland-a", + weight = 31 + }, + ["tree-grassland-b"] = { + tile_name = "mineral-red-dirt-6", + tree_name = "tree-grassland-b", + weight = 27 + }, + ["tree-grassland-c"] = { + tile_name = "mineral-red-dirt-6", + tree_name = "tree-grassland-c", + weight = 3117 + }, + ["tree-grassland-d"] = { + tile_name = "mineral-red-dirt-6", + tree_name = "tree-grassland-d", + weight = 323 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-red-dirt-6", + tree_name = "tree-grassland-e", + weight = 4219 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-red-dirt-6", + tree_name = "tree-grassland-f", + weight = 61 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-red-dirt-6", + tree_name = "tree-grassland-g", + weight = 14 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-red-dirt-6", + tree_name = "tree-grassland-h", + weight = 2540 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-red-dirt-6", + tree_name = "tree-grassland-h2", + weight = 4644 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-red-dirt-6", + tree_name = "tree-grassland-h3", + weight = 12 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-red-dirt-6", + tree_name = "tree-grassland-i", + weight = 640 + }, + ["tree-grassland-p"] = { + tile_name = "mineral-red-dirt-6", + tree_name = "tree-grassland-p", + weight = 7 + }, + ["tree-wetland-b"] = { + tile_name = "mineral-red-dirt-6", + tree_name = "tree-wetland-b", + weight = 167 + }, + ["tree-wetland-c"] = { + tile_name = "mineral-red-dirt-6", + tree_name = "tree-wetland-c", + weight = 4 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-red-dirt-6", + tree_name = "tree-wetland-e", + weight = 978 + }, + ["tree-wetland-f"] = { + tile_name = "mineral-red-dirt-6", + tree_name = "tree-wetland-f", + weight = 16 + }, + ["tree-wetland-h"] = { + tile_name = "mineral-red-dirt-6", + tree_name = "tree-wetland-h", + weight = 5 + } +} +terrains["mineral-red-dirt-5"] = { + name = "mineral-red-dirt-5", + ["tree-desert-a"] = { + tile_name = "mineral-red-dirt-5", + tree_name = "tree-desert-a", + weight = 2 + }, + ["tree-desert-c"] = { + tile_name = "mineral-red-dirt-5", + tree_name = "tree-desert-c", + weight = 685 + }, + ["tree-desert-d"] = { + tile_name = "mineral-red-dirt-5", + tree_name = "tree-desert-d", + weight = 317 + }, + ["tree-desert-h"] = { + tile_name = "mineral-red-dirt-5", + tree_name = "tree-desert-h", + weight = 514 + }, + ["tree-dryland-a"] = { + tile_name = "mineral-red-dirt-5", + tree_name = "tree-dryland-a", + weight = 4 + }, + ["tree-dryland-b"] = { + tile_name = "mineral-red-dirt-5", + tree_name = "tree-dryland-b", + weight = 1088 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-red-dirt-5", + tree_name = "tree-dryland-c", + weight = 4857 + }, + ["tree-dryland-d"] = { + tile_name = "mineral-red-dirt-5", + tree_name = "tree-dryland-d", + weight = 6 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-red-dirt-5", + tree_name = "tree-dryland-e", + weight = 17 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-red-dirt-5", + tree_name = "tree-dryland-f", + weight = 5772 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-red-dirt-5", + tree_name = "tree-dryland-g", + weight = 4 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-red-dirt-5", + tree_name = "tree-dryland-h", + weight = 3866 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-red-dirt-5", + tree_name = "tree-dryland-i", + weight = 11 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-red-dirt-5", + tree_name = "tree-dryland-m", + weight = 2 + }, + ["tree-grassland-a"] = { + tile_name = "mineral-red-dirt-5", + tree_name = "tree-grassland-a", + weight = 74 + }, + ["tree-grassland-b"] = { + tile_name = "mineral-red-dirt-5", + tree_name = "tree-grassland-b", + weight = 26 + }, + ["tree-grassland-c"] = { + tile_name = "mineral-red-dirt-5", + tree_name = "tree-grassland-c", + weight = 4218 + }, + ["tree-grassland-d"] = { + tile_name = "mineral-red-dirt-5", + tree_name = "tree-grassland-d", + weight = 888 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-red-dirt-5", + tree_name = "tree-grassland-e", + weight = 4506 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-red-dirt-5", + tree_name = "tree-grassland-f", + weight = 61 + }, + ["tree-grassland-g"] = { + tile_name = "mineral-red-dirt-5", + tree_name = "tree-grassland-g", + weight = 30 + }, + ["tree-grassland-h"] = { + tile_name = "mineral-red-dirt-5", + tree_name = "tree-grassland-h", + weight = 1976 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-red-dirt-5", + tree_name = "tree-grassland-h2", + weight = 8928 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-red-dirt-5", + tree_name = "tree-grassland-h3", + weight = 24 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-red-dirt-5", + tree_name = "tree-grassland-i", + weight = 1937 + }, + ["tree-grassland-p"] = { + tile_name = "mineral-red-dirt-5", + tree_name = "tree-grassland-p", + weight = 5 + }, + ["tree-wetland-b"] = { + tile_name = "mineral-red-dirt-5", + tree_name = "tree-wetland-b", + weight = 298 + }, + ["tree-wetland-c"] = { + tile_name = "mineral-red-dirt-5", + tree_name = "tree-wetland-c", + weight = 10 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-red-dirt-5", + tree_name = "tree-wetland-e", + weight = 1580 + } +} +terrains["vegetation-red-grass-1"] = { + name = "vegetation-red-grass-1", + ["tree-dryland-c"] = { + tile_name = "vegetation-red-grass-1", + tree_name = "tree-dryland-c", + weight = 183 + }, + ["tree-dryland-f"] = { + tile_name = "vegetation-red-grass-1", + tree_name = "tree-dryland-f", + weight = 19 + }, + ["tree-grassland-a"] = { + tile_name = "vegetation-red-grass-1", + tree_name = "tree-grassland-a", + weight = 242 + }, + ["tree-grassland-b"] = { + tile_name = "vegetation-red-grass-1", + tree_name = "tree-grassland-b", + weight = 76 + }, + ["tree-grassland-c"] = { + tile_name = "vegetation-red-grass-1", + tree_name = "tree-grassland-c", + weight = 9147 + }, + ["tree-grassland-d"] = { + tile_name = "vegetation-red-grass-1", + tree_name = "tree-grassland-d", + weight = 8854 + }, + ["tree-grassland-e"] = { + tile_name = "vegetation-red-grass-1", + tree_name = "tree-grassland-e", + weight = 33971 + }, + ["tree-grassland-f"] = { + tile_name = "vegetation-red-grass-1", + tree_name = "tree-grassland-f", + weight = 84 + }, + ["tree-grassland-h2"] = { + tile_name = "vegetation-red-grass-1", + tree_name = "tree-grassland-h2", + weight = 2 + }, + ["tree-grassland-i"] = { + tile_name = "vegetation-red-grass-1", + tree_name = "tree-grassland-i", + weight = 11 + }, + ["tree-grassland-p"] = { + tile_name = "vegetation-red-grass-1", + tree_name = "tree-grassland-p", + weight = 3 + }, + ["tree-wetland-b"] = { + tile_name = "vegetation-red-grass-1", + tree_name = "tree-wetland-b", + weight = 15 + }, + ["tree-wetland-c"] = { + tile_name = "vegetation-red-grass-1", + tree_name = "tree-wetland-c", + weight = 255 + }, + ["tree-wetland-e"] = { + tile_name = "vegetation-red-grass-1", + tree_name = "tree-wetland-e", + weight = 1142 + }, + ["tree-wetland-f"] = { + tile_name = "vegetation-red-grass-1", + tree_name = "tree-wetland-f", + weight = 308 + } +} +terrains["vegetation-red-grass-2"] = { + name = "vegetation-red-grass-2", + ["tree-dryland-c"] = { + tile_name = "vegetation-red-grass-2", + tree_name = "tree-dryland-c", + weight = 92 + }, + ["tree-dryland-f"] = { + tile_name = "vegetation-red-grass-2", + tree_name = "tree-dryland-f", + weight = 30 + }, + ["tree-grassland-a"] = { + tile_name = "vegetation-red-grass-2", + tree_name = "tree-grassland-a", + weight = 101 + }, + ["tree-grassland-b"] = { + tile_name = "vegetation-red-grass-2", + tree_name = "tree-grassland-b", + weight = 71 + }, + ["tree-grassland-c"] = { + tile_name = "vegetation-red-grass-2", + tree_name = "tree-grassland-c", + weight = 7794 + }, + ["tree-grassland-d"] = { + tile_name = "vegetation-red-grass-2", + tree_name = "tree-grassland-d", + weight = 3862 + }, + ["tree-grassland-e"] = { + tile_name = "vegetation-red-grass-2", + tree_name = "tree-grassland-e", + weight = 26632 + }, + ["tree-grassland-f"] = { + tile_name = "vegetation-red-grass-2", + tree_name = "tree-grassland-f", + weight = 31 + }, + ["tree-grassland-h2"] = { + tile_name = "vegetation-red-grass-2", + tree_name = "tree-grassland-h2", + weight = 8 + }, + ["tree-grassland-i"] = { + tile_name = "vegetation-red-grass-2", + tree_name = "tree-grassland-i", + weight = 35 + }, + ["tree-grassland-p"] = { + tile_name = "vegetation-red-grass-2", + tree_name = "tree-grassland-p", + weight = 12 + }, + ["tree-wetland-b"] = { + tile_name = "vegetation-red-grass-2", + tree_name = "tree-wetland-b", + weight = 59 + }, + ["tree-wetland-c"] = { + tile_name = "vegetation-red-grass-2", + tree_name = "tree-wetland-c", + weight = 72 + }, + ["tree-wetland-e"] = { + tile_name = "vegetation-red-grass-2", + tree_name = "tree-wetland-e", + weight = 857 + }, + ["tree-wetland-f"] = { + tile_name = "vegetation-red-grass-2", + tree_name = "tree-wetland-f", + weight = 18 + } +} +terrains["volcanic-green-heat-1"] = { + name = "volcanic-green-heat-1", + ["tree-volcanic-a"] = { + tile_name = "volcanic-green-heat-1", + tree_name = "tree-volcanic-a", + weight = 3045 + } +} +terrains["mineral-violet-sand-2"] = { + name = "mineral-violet-sand-2", + ["tree-desert-a"] = { + tile_name = "mineral-violet-sand-2", + tree_name = "tree-desert-a", + weight = 2 + }, + ["tree-desert-d"] = { + tile_name = "mineral-violet-sand-2", + tree_name = "tree-desert-d", + weight = 148 + }, + ["tree-desert-e"] = { + tile_name = "mineral-violet-sand-2", + tree_name = "tree-desert-e", + weight = 30 + }, + ["tree-desert-f"] = { + tile_name = "mineral-violet-sand-2", + tree_name = "tree-desert-f", + weight = 2 + }, + ["tree-desert-g"] = { + tile_name = "mineral-violet-sand-2", + tree_name = "tree-desert-g", + weight = 3 + }, + ["tree-desert-h"] = { + tile_name = "mineral-violet-sand-2", + tree_name = "tree-desert-h", + weight = 1866 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-violet-sand-2", + tree_name = "tree-dryland-c", + weight = 6 + }, + ["tree-dryland-d"] = { + tile_name = "mineral-violet-sand-2", + tree_name = "tree-dryland-d", + weight = 6 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-violet-sand-2", + tree_name = "tree-dryland-h", + weight = 42 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-violet-sand-2", + tree_name = "tree-grassland-e", + weight = 16 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-violet-sand-2", + tree_name = "tree-grassland-h2", + weight = 24 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-violet-sand-2", + tree_name = "tree-grassland-i", + weight = 194 + }, + ["tree-wetland-c"] = { + tile_name = "mineral-violet-sand-2", + tree_name = "tree-wetland-c", + weight = 2 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-violet-sand-2", + tree_name = "tree-wetland-e", + weight = 289 + }, + ["tree-wetland-f"] = { + tile_name = "mineral-violet-sand-2", + tree_name = "tree-wetland-f", + weight = 1198 + }, + ["tree-wetland-h"] = { + tile_name = "mineral-violet-sand-2", + tree_name = "tree-wetland-h", + weight = 220 + } +} +terrains["mineral-violet-sand-3"] = { + name = "mineral-violet-sand-3", + ["tree-desert-a"] = { + tile_name = "mineral-violet-sand-3", + tree_name = "tree-desert-a", + weight = 2 + }, + ["tree-desert-d"] = { + tile_name = "mineral-violet-sand-3", + tree_name = "tree-desert-d", + weight = 23 + }, + ["tree-desert-e"] = { + tile_name = "mineral-violet-sand-3", + tree_name = "tree-desert-e", + weight = 2 + }, + ["tree-desert-g"] = { + tile_name = "mineral-violet-sand-3", + tree_name = "tree-desert-g", + weight = 2 + }, + ["tree-desert-h"] = { + tile_name = "mineral-violet-sand-3", + tree_name = "tree-desert-h", + weight = 820 + }, + ["tree-desert-k"] = { + tile_name = "mineral-violet-sand-3", + tree_name = "tree-desert-k", + weight = 3 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-violet-sand-3", + tree_name = "tree-dryland-c", + weight = 8 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-violet-sand-3", + tree_name = "tree-dryland-h", + weight = 12 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-violet-sand-3", + tree_name = "tree-grassland-e", + weight = 2 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-violet-sand-3", + tree_name = "tree-grassland-i", + weight = 49 + }, + ["tree-wetland-c"] = { + tile_name = "mineral-violet-sand-3", + tree_name = "tree-wetland-c", + weight = 3 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-violet-sand-3", + tree_name = "tree-wetland-e", + weight = 222 + }, + ["tree-wetland-f"] = { + tile_name = "mineral-violet-sand-3", + tree_name = "tree-wetland-f", + weight = 502 + }, + ["tree-wetland-h"] = { + tile_name = "mineral-violet-sand-3", + tree_name = "tree-wetland-h", + weight = 160 + } +} +terrains["vegetation-violet-grass-2"] = { + name = "vegetation-violet-grass-2", + ["tree-dryland-c"] = { + tile_name = "vegetation-violet-grass-2", + tree_name = "tree-dryland-c", + weight = 217 + }, + ["tree-dryland-f"] = { + tile_name = "vegetation-violet-grass-2", + tree_name = "tree-dryland-f", + weight = 138 + }, + ["tree-dryland-h"] = { + tile_name = "vegetation-violet-grass-2", + tree_name = "tree-dryland-h", + weight = 23 + }, + ["tree-dryland-i"] = { + tile_name = "vegetation-violet-grass-2", + tree_name = "tree-dryland-i", + weight = 7 + }, + ["tree-grassland-a"] = { + tile_name = "vegetation-violet-grass-2", + tree_name = "tree-grassland-a", + weight = 248 + }, + ["tree-grassland-c"] = { + tile_name = "vegetation-violet-grass-2", + tree_name = "tree-grassland-c", + weight = 2687 + }, + ["tree-grassland-d"] = { + tile_name = "vegetation-violet-grass-2", + tree_name = "tree-grassland-d", + weight = 288 + }, + ["tree-grassland-e"] = { + tile_name = "vegetation-violet-grass-2", + tree_name = "tree-grassland-e", + weight = 12138 + }, + ["tree-grassland-f"] = { + tile_name = "vegetation-violet-grass-2", + tree_name = "tree-grassland-f", + weight = 396 + }, + ["tree-grassland-g"] = { + tile_name = "vegetation-violet-grass-2", + tree_name = "tree-grassland-g", + weight = 137 + }, + ["tree-grassland-h"] = { + tile_name = "vegetation-violet-grass-2", + tree_name = "tree-grassland-h", + weight = 825 + }, + ["tree-grassland-h2"] = { + tile_name = "vegetation-violet-grass-2", + tree_name = "tree-grassland-h2", + weight = 182 + }, + ["tree-grassland-i"] = { + tile_name = "vegetation-violet-grass-2", + tree_name = "tree-grassland-i", + weight = 2608 + }, + ["tree-grassland-m"] = { + tile_name = "vegetation-violet-grass-2", + tree_name = "tree-grassland-m", + weight = 5 + }, + ["tree-wetland-e"] = { + tile_name = "vegetation-violet-grass-2", + tree_name = "tree-wetland-e", + weight = 1301 + }, + ["tree-wetland-f"] = { + tile_name = "vegetation-violet-grass-2", + tree_name = "tree-wetland-f", + weight = 73 + } +} +terrains["vegetation-violet-grass-1"] = { + name = "vegetation-violet-grass-1", + ["tree-dryland-c"] = { + tile_name = "vegetation-violet-grass-1", + tree_name = "tree-dryland-c", + weight = 385 + }, + ["tree-dryland-f"] = { + tile_name = "vegetation-violet-grass-1", + tree_name = "tree-dryland-f", + weight = 64 + }, + ["tree-dryland-h"] = { + tile_name = "vegetation-violet-grass-1", + tree_name = "tree-dryland-h", + weight = 37 + }, + ["tree-dryland-i"] = { + tile_name = "vegetation-violet-grass-1", + tree_name = "tree-dryland-i", + weight = 31 + }, + ["tree-grassland-a"] = { + tile_name = "vegetation-violet-grass-1", + tree_name = "tree-grassland-a", + weight = 366 + }, + ["tree-grassland-c"] = { + tile_name = "vegetation-violet-grass-1", + tree_name = "tree-grassland-c", + weight = 5552 + }, + ["tree-grassland-d"] = { + tile_name = "vegetation-violet-grass-1", + tree_name = "tree-grassland-d", + weight = 297 + }, + ["tree-grassland-e"] = { + tile_name = "vegetation-violet-grass-1", + tree_name = "tree-grassland-e", + weight = 19221 + }, + ["tree-grassland-f"] = { + tile_name = "vegetation-violet-grass-1", + tree_name = "tree-grassland-f", + weight = 558 + }, + ["tree-grassland-g"] = { + tile_name = "vegetation-violet-grass-1", + tree_name = "tree-grassland-g", + weight = 146 + }, + ["tree-grassland-h"] = { + tile_name = "vegetation-violet-grass-1", + tree_name = "tree-grassland-h", + weight = 199 + }, + ["tree-grassland-h2"] = { + tile_name = "vegetation-violet-grass-1", + tree_name = "tree-grassland-h2", + weight = 543 + }, + ["tree-grassland-i"] = { + tile_name = "vegetation-violet-grass-1", + tree_name = "tree-grassland-i", + weight = 3697 + }, + ["tree-wetland-e"] = { + tile_name = "vegetation-violet-grass-1", + tree_name = "tree-wetland-e", + weight = 2478 + }, + ["tree-wetland-f"] = { + tile_name = "vegetation-violet-grass-1", + tree_name = "tree-wetland-f", + weight = 56 + } +} +terrains["mineral-violet-dirt-1"] = { + name = "mineral-violet-dirt-1", + ["tree-desert-d"] = { + tile_name = "mineral-violet-dirt-1", + tree_name = "tree-desert-d", + weight = 3 + }, + ["tree-desert-h"] = { + tile_name = "mineral-violet-dirt-1", + tree_name = "tree-desert-h", + weight = 71 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-violet-dirt-1", + tree_name = "tree-dryland-c", + weight = 3885 + }, + ["tree-dryland-d"] = { + tile_name = "mineral-violet-dirt-1", + tree_name = "tree-dryland-d", + weight = 100 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-violet-dirt-1", + tree_name = "tree-dryland-e", + weight = 5 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-violet-dirt-1", + tree_name = "tree-dryland-f", + weight = 5 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-violet-dirt-1", + tree_name = "tree-dryland-g", + weight = 7 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-violet-dirt-1", + tree_name = "tree-dryland-h", + weight = 4763 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-violet-dirt-1", + tree_name = "tree-dryland-i", + weight = 2001 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-violet-dirt-1", + tree_name = "tree-dryland-m", + weight = 29 + }, + ["tree-dryland-o"] = { + tile_name = "mineral-violet-dirt-1", + tree_name = "tree-dryland-o", + weight = 7 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-violet-dirt-1", + tree_name = "tree-grassland-e", + weight = 71 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-violet-dirt-1", + tree_name = "tree-grassland-h2", + weight = 6235 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-violet-dirt-1", + tree_name = "tree-grassland-h3", + weight = 9 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-violet-dirt-1", + tree_name = "tree-grassland-i", + weight = 2072 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-violet-dirt-1", + tree_name = "tree-wetland-e", + weight = 5 + }, + ["tree-wetland-f"] = { + tile_name = "mineral-violet-dirt-1", + tree_name = "tree-wetland-f", + weight = 114 + }, + ["tree-wetland-h"] = { + tile_name = "mineral-violet-dirt-1", + tree_name = "tree-wetland-h", + weight = 87 + } +} +terrains["mineral-violet-sand-1"] = { + name = "mineral-violet-sand-1", + ["tree-desert-d"] = { + tile_name = "mineral-violet-sand-1", + tree_name = "tree-desert-d", + weight = 151 + }, + ["tree-desert-g"] = { + tile_name = "mineral-violet-sand-1", + tree_name = "tree-desert-g", + weight = 3 + }, + ["tree-desert-h"] = { + tile_name = "mineral-violet-sand-1", + tree_name = "tree-desert-h", + weight = 2719 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-violet-sand-1", + tree_name = "tree-dryland-c", + weight = 25 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-violet-sand-1", + tree_name = "tree-dryland-h", + weight = 41 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-violet-sand-1", + tree_name = "tree-dryland-i", + weight = 4 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-violet-sand-1", + tree_name = "tree-grassland-e", + weight = 12 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-violet-sand-1", + tree_name = "tree-grassland-h2", + weight = 37 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-violet-sand-1", + tree_name = "tree-grassland-i", + weight = 398 + }, + ["tree-wetland-c"] = { + tile_name = "mineral-violet-sand-1", + tree_name = "tree-wetland-c", + weight = 7 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-violet-sand-1", + tree_name = "tree-wetland-e", + weight = 336 + }, + ["tree-wetland-f"] = { + tile_name = "mineral-violet-sand-1", + tree_name = "tree-wetland-f", + weight = 1462 + }, + ["tree-wetland-h"] = { + tile_name = "mineral-violet-sand-1", + tree_name = "tree-wetland-h", + weight = 698 + } +} +terrains["mineral-violet-dirt-4"] = { + name = "mineral-violet-dirt-4", + ["tree-desert-d"] = { + tile_name = "mineral-violet-dirt-4", + tree_name = "tree-desert-d", + weight = 2 + }, + ["tree-desert-h"] = { + tile_name = "mineral-violet-dirt-4", + tree_name = "tree-desert-h", + weight = 10 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-violet-dirt-4", + tree_name = "tree-dryland-c", + weight = 516 + }, + ["tree-dryland-d"] = { + tile_name = "mineral-violet-dirt-4", + tree_name = "tree-dryland-d", + weight = 11 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-violet-dirt-4", + tree_name = "tree-dryland-h", + weight = 222 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-violet-dirt-4", + tree_name = "tree-dryland-i", + weight = 420 + }, + ["tree-grassland-a"] = { + tile_name = "mineral-violet-dirt-4", + tree_name = "tree-grassland-a", + weight = 2 + }, + ["tree-grassland-b"] = { + tile_name = "mineral-violet-dirt-4", + tree_name = "tree-grassland-b", + weight = 4 + }, + ["tree-grassland-d"] = { + tile_name = "mineral-violet-dirt-4", + tree_name = "tree-grassland-d", + weight = 2 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-violet-dirt-4", + tree_name = "tree-grassland-e", + weight = 246 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-violet-dirt-4", + tree_name = "tree-grassland-f", + weight = 7 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-violet-dirt-4", + tree_name = "tree-grassland-h2", + weight = 1146 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-violet-dirt-4", + tree_name = "tree-grassland-h3", + weight = 2 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-violet-dirt-4", + tree_name = "tree-grassland-i", + weight = 602 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-violet-dirt-4", + tree_name = "tree-wetland-e", + weight = 10 + }, + ["tree-wetland-f"] = { + tile_name = "mineral-violet-dirt-4", + tree_name = "tree-wetland-f", + weight = 6 + }, + ["tree-wetland-h"] = { + tile_name = "mineral-violet-dirt-4", + tree_name = "tree-wetland-h", + weight = 8 + } +} +terrains["mineral-violet-dirt-5"] = { + name = "mineral-violet-dirt-5", + ["tree-desert-d"] = { + tile_name = "mineral-violet-dirt-5", + tree_name = "tree-desert-d", + weight = 2 + }, + ["tree-desert-h"] = { + tile_name = "mineral-violet-dirt-5", + tree_name = "tree-desert-h", + weight = 28 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-violet-dirt-5", + tree_name = "tree-dryland-c", + weight = 568 + }, + ["tree-dryland-d"] = { + tile_name = "mineral-violet-dirt-5", + tree_name = "tree-dryland-d", + weight = 32 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-violet-dirt-5", + tree_name = "tree-dryland-e", + weight = 2 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-violet-dirt-5", + tree_name = "tree-dryland-f", + weight = 2 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-violet-dirt-5", + tree_name = "tree-dryland-h", + weight = 253 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-violet-dirt-5", + tree_name = "tree-dryland-i", + weight = 161 + }, + ["tree-grassland-d"] = { + tile_name = "mineral-violet-dirt-5", + tree_name = "tree-grassland-d", + weight = 4 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-violet-dirt-5", + tree_name = "tree-grassland-e", + weight = 467 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-violet-dirt-5", + tree_name = "tree-grassland-h2", + weight = 499 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-violet-dirt-5", + tree_name = "tree-grassland-i", + weight = 490 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-violet-dirt-5", + tree_name = "tree-wetland-e", + weight = 39 + }, + ["tree-wetland-f"] = { + tile_name = "mineral-violet-dirt-5", + tree_name = "tree-wetland-f", + weight = 27 + } +} +terrains["mineral-violet-dirt-6"] = { + name = "mineral-violet-dirt-6", + ["tree-desert-e"] = { + tile_name = "mineral-violet-dirt-6", + tree_name = "tree-desert-e", + weight = 3 + }, + ["tree-desert-h"] = { + tile_name = "mineral-violet-dirt-6", + tree_name = "tree-desert-h", + weight = 26 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-violet-dirt-6", + tree_name = "tree-dryland-c", + weight = 126 + }, + ["tree-dryland-d"] = { + tile_name = "mineral-violet-dirt-6", + tree_name = "tree-dryland-d", + weight = 53 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-violet-dirt-6", + tree_name = "tree-dryland-h", + weight = 55 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-violet-dirt-6", + tree_name = "tree-dryland-i", + weight = 60 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-violet-dirt-6", + tree_name = "tree-grassland-e", + weight = 118 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-violet-dirt-6", + tree_name = "tree-grassland-h2", + weight = 161 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-violet-dirt-6", + tree_name = "tree-grassland-i", + weight = 156 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-violet-dirt-6", + tree_name = "tree-wetland-e", + weight = 9 + }, + ["tree-wetland-f"] = { + tile_name = "mineral-violet-dirt-6", + tree_name = "tree-wetland-f", + weight = 15 + } +} +terrains["mineral-violet-dirt-2"] = { + name = "mineral-violet-dirt-2", + ["tree-desert-h"] = { + tile_name = "mineral-violet-dirt-2", + tree_name = "tree-desert-h", + weight = 33 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-violet-dirt-2", + tree_name = "tree-dryland-c", + weight = 1428 + }, + ["tree-dryland-d"] = { + tile_name = "mineral-violet-dirt-2", + tree_name = "tree-dryland-d", + weight = 28 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-violet-dirt-2", + tree_name = "tree-dryland-e", + weight = 9 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-violet-dirt-2", + tree_name = "tree-dryland-f", + weight = 4 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-violet-dirt-2", + tree_name = "tree-dryland-g", + weight = 8 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-violet-dirt-2", + tree_name = "tree-dryland-h", + weight = 1450 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-violet-dirt-2", + tree_name = "tree-dryland-i", + weight = 622 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-violet-dirt-2", + tree_name = "tree-dryland-m", + weight = 9 + }, + ["tree-dryland-o"] = { + tile_name = "mineral-violet-dirt-2", + tree_name = "tree-dryland-o", + weight = 3 + }, + ["tree-grassland-d"] = { + tile_name = "mineral-violet-dirt-2", + tree_name = "tree-grassland-d", + weight = 3 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-violet-dirt-2", + tree_name = "tree-grassland-e", + weight = 531 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-violet-dirt-2", + tree_name = "tree-grassland-h2", + weight = 3014 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-violet-dirt-2", + tree_name = "tree-grassland-h3", + weight = 4 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-violet-dirt-2", + tree_name = "tree-grassland-i", + weight = 880 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-violet-dirt-2", + tree_name = "tree-wetland-e", + weight = 9 + }, + ["tree-wetland-f"] = { + tile_name = "mineral-violet-dirt-2", + tree_name = "tree-wetland-f", + weight = 5 + }, + ["tree-wetland-h"] = { + tile_name = "mineral-violet-dirt-2", + tree_name = "tree-wetland-h", + weight = 28 + } +} +terrains["mineral-violet-dirt-3"] = { + name = "mineral-violet-dirt-3", + ["tree-desert-h"] = { + tile_name = "mineral-violet-dirt-3", + tree_name = "tree-desert-h", + weight = 133 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-violet-dirt-3", + tree_name = "tree-dryland-c", + weight = 872 + }, + ["tree-dryland-d"] = { + tile_name = "mineral-violet-dirt-3", + tree_name = "tree-dryland-d", + weight = 49 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-violet-dirt-3", + tree_name = "tree-dryland-e", + weight = 10 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-violet-dirt-3", + tree_name = "tree-dryland-h", + weight = 785 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-violet-dirt-3", + tree_name = "tree-dryland-i", + weight = 1044 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-violet-dirt-3", + tree_name = "tree-dryland-m", + weight = 2 + }, + ["tree-dryland-o"] = { + tile_name = "mineral-violet-dirt-3", + tree_name = "tree-dryland-o", + weight = 3 + }, + ["tree-grassland-b"] = { + tile_name = "mineral-violet-dirt-3", + tree_name = "tree-grassland-b", + weight = 5 + }, + ["tree-grassland-d"] = { + tile_name = "mineral-violet-dirt-3", + tree_name = "tree-grassland-d", + weight = 6 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-violet-dirt-3", + tree_name = "tree-grassland-e", + weight = 78 + }, + ["tree-grassland-f"] = { + tile_name = "mineral-violet-dirt-3", + tree_name = "tree-grassland-f", + weight = 11 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-violet-dirt-3", + tree_name = "tree-grassland-h2", + weight = 1793 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-violet-dirt-3", + tree_name = "tree-grassland-i", + weight = 1834 + }, + ["tree-grassland-m"] = { + tile_name = "mineral-violet-dirt-3", + tree_name = "tree-grassland-m", + weight = 13 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-violet-dirt-3", + tree_name = "tree-wetland-e", + weight = 3 + }, + ["tree-wetland-f"] = { + tile_name = "mineral-violet-dirt-3", + tree_name = "tree-wetland-f", + weight = 32 + }, + ["tree-wetland-h"] = { + tile_name = "mineral-violet-dirt-3", + tree_name = "tree-wetland-h", + weight = 12 + } +} +terrains["mineral-aubergine-sand-2"] = { + name = "mineral-aubergine-sand-2", + ["tree-desert-d"] = { + tile_name = "mineral-aubergine-sand-2", + tree_name = "tree-desert-d", + weight = 2 + }, + ["tree-desert-f"] = { + tile_name = "mineral-aubergine-sand-2", + tree_name = "tree-desert-f", + weight = 2 + }, + ["tree-desert-g"] = { + tile_name = "mineral-aubergine-sand-2", + tree_name = "tree-desert-g", + weight = 2 + }, + ["tree-desert-h"] = { + tile_name = "mineral-aubergine-sand-2", + tree_name = "tree-desert-h", + weight = 3281 + }, + ["tree-desert-i"] = { + tile_name = "mineral-aubergine-sand-2", + tree_name = "tree-desert-i", + weight = 4 + }, + ["tree-desert-k"] = { + tile_name = "mineral-aubergine-sand-2", + tree_name = "tree-desert-k", + weight = 10500 + }, + ["tree-desert-l"] = { + tile_name = "mineral-aubergine-sand-2", + tree_name = "tree-desert-l", + weight = 247 + }, + ["tree-desert-m"] = { + tile_name = "mineral-aubergine-sand-2", + tree_name = "tree-desert-m", + weight = 3 + }, + ["tree-desert-n"] = { + tile_name = "mineral-aubergine-sand-2", + tree_name = "tree-desert-n", + weight = 4 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-aubergine-sand-2", + tree_name = "tree-dryland-g", + weight = 2 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-aubergine-sand-2", + tree_name = "tree-dryland-h", + weight = 290 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-aubergine-sand-2", + tree_name = "tree-dryland-i", + weight = 158 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-aubergine-sand-2", + tree_name = "tree-dryland-l", + weight = 104 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-aubergine-sand-2", + tree_name = "tree-dryland-m", + weight = 782 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-aubergine-sand-2", + tree_name = "tree-grassland-h2", + weight = 472 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-aubergine-sand-2", + tree_name = "tree-grassland-h3", + weight = 653 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-aubergine-sand-2", + tree_name = "tree-grassland-i", + weight = 339 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-aubergine-sand-2", + tree_name = "tree-wetland-e", + weight = 3514 + }, + ["tree-wetland-f"] = { + tile_name = "mineral-aubergine-sand-2", + tree_name = "tree-wetland-f", + weight = 837 + }, + ["tree-wetland-h"] = { + tile_name = "mineral-aubergine-sand-2", + tree_name = "tree-wetland-h", + weight = 4142 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-aubergine-sand-2", + tree_name = "tree-wetland-k", + weight = 963 + }, + ["tree-wetland-l"] = { + tile_name = "mineral-aubergine-sand-2", + tree_name = "tree-wetland-l", + weight = 172 + } +} +terrains["mineral-aubergine-sand-3"] = { + name = "mineral-aubergine-sand-3", + ["tree-desert-d"] = { + tile_name = "mineral-aubergine-sand-3", + tree_name = "tree-desert-d", + weight = 4 + }, + ["tree-desert-h"] = { + tile_name = "mineral-aubergine-sand-3", + tree_name = "tree-desert-h", + weight = 1933 + }, + ["tree-desert-i"] = { + tile_name = "mineral-aubergine-sand-3", + tree_name = "tree-desert-i", + weight = 3 + }, + ["tree-desert-j"] = { + tile_name = "mineral-aubergine-sand-3", + tree_name = "tree-desert-j", + weight = 3 + }, + ["tree-desert-k"] = { + tile_name = "mineral-aubergine-sand-3", + tree_name = "tree-desert-k", + weight = 6800 + }, + ["tree-desert-l"] = { + tile_name = "mineral-aubergine-sand-3", + tree_name = "tree-desert-l", + weight = 61 + }, + ["tree-desert-n"] = { + tile_name = "mineral-aubergine-sand-3", + tree_name = "tree-desert-n", + weight = 4 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-aubergine-sand-3", + tree_name = "tree-dryland-h", + weight = 86 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-aubergine-sand-3", + tree_name = "tree-dryland-i", + weight = 66 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-aubergine-sand-3", + tree_name = "tree-dryland-l", + weight = 16 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-aubergine-sand-3", + tree_name = "tree-dryland-m", + weight = 224 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-aubergine-sand-3", + tree_name = "tree-grassland-h2", + weight = 279 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-aubergine-sand-3", + tree_name = "tree-grassland-h3", + weight = 236 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-aubergine-sand-3", + tree_name = "tree-grassland-i", + weight = 147 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-aubergine-sand-3", + tree_name = "tree-wetland-e", + weight = 2308 + }, + ["tree-wetland-f"] = { + tile_name = "mineral-aubergine-sand-3", + tree_name = "tree-wetland-f", + weight = 817 + }, + ["tree-wetland-h"] = { + tile_name = "mineral-aubergine-sand-3", + tree_name = "tree-wetland-h", + weight = 2920 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-aubergine-sand-3", + tree_name = "tree-wetland-k", + weight = 706 + }, + ["tree-wetland-l"] = { + tile_name = "mineral-aubergine-sand-3", + tree_name = "tree-wetland-l", + weight = 56 + } +} +terrains["mineral-aubergine-sand-1"] = { + name = "mineral-aubergine-sand-1", + ["tree-desert-d"] = { + tile_name = "mineral-aubergine-sand-1", + tree_name = "tree-desert-d", + weight = 5 + }, + ["tree-desert-f"] = { + tile_name = "mineral-aubergine-sand-1", + tree_name = "tree-desert-f", + weight = 3 + }, + ["tree-desert-h"] = { + tile_name = "mineral-aubergine-sand-1", + tree_name = "tree-desert-h", + weight = 6494 + }, + ["tree-desert-i"] = { + tile_name = "mineral-aubergine-sand-1", + tree_name = "tree-desert-i", + weight = 3 + }, + ["tree-desert-j"] = { + tile_name = "mineral-aubergine-sand-1", + tree_name = "tree-desert-j", + weight = 3 + }, + ["tree-desert-k"] = { + tile_name = "mineral-aubergine-sand-1", + tree_name = "tree-desert-k", + weight = 14654 + }, + ["tree-desert-l"] = { + tile_name = "mineral-aubergine-sand-1", + tree_name = "tree-desert-l", + weight = 410 + }, + ["tree-desert-m"] = { + tile_name = "mineral-aubergine-sand-1", + tree_name = "tree-desert-m", + weight = 2 + }, + ["tree-desert-n"] = { + tile_name = "mineral-aubergine-sand-1", + tree_name = "tree-desert-n", + weight = 4 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-aubergine-sand-1", + tree_name = "tree-dryland-c", + weight = 2 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-aubergine-sand-1", + tree_name = "tree-dryland-h", + weight = 374 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-aubergine-sand-1", + tree_name = "tree-dryland-i", + weight = 895 + }, + ["tree-dryland-l"] = { + tile_name = "mineral-aubergine-sand-1", + tree_name = "tree-dryland-l", + weight = 91 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-aubergine-sand-1", + tree_name = "tree-dryland-m", + weight = 1037 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-aubergine-sand-1", + tree_name = "tree-grassland-h2", + weight = 915 + }, + ["tree-grassland-h3"] = { + tile_name = "mineral-aubergine-sand-1", + tree_name = "tree-grassland-h3", + weight = 649 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-aubergine-sand-1", + tree_name = "tree-grassland-i", + weight = 681 + }, + ["tree-grassland-m"] = { + tile_name = "mineral-aubergine-sand-1", + tree_name = "tree-grassland-m", + weight = 4 + }, + ["tree-wetland-e"] = { + tile_name = "mineral-aubergine-sand-1", + tree_name = "tree-wetland-e", + weight = 4598 + }, + ["tree-wetland-f"] = { + tile_name = "mineral-aubergine-sand-1", + tree_name = "tree-wetland-f", + weight = 2193 + }, + ["tree-wetland-h"] = { + tile_name = "mineral-aubergine-sand-1", + tree_name = "tree-wetland-h", + weight = 9090 + }, + ["tree-wetland-k"] = { + tile_name = "mineral-aubergine-sand-1", + tree_name = "tree-wetland-k", + weight = 938 + }, + ["tree-wetland-l"] = { + tile_name = "mineral-aubergine-sand-1", + tree_name = "tree-wetland-l", + weight = 149 + } +} +terrains["mineral-purple-sand-2"] = { + name = "mineral-purple-sand-2", + ["tree-desert-d"] = { + tile_name = "mineral-purple-sand-2", + tree_name = "tree-desert-d", + weight = 3 + }, + ["tree-desert-e"] = { + tile_name = "mineral-purple-sand-2", + tree_name = "tree-desert-e", + weight = 208 + }, + ["tree-desert-g"] = { + tile_name = "mineral-purple-sand-2", + tree_name = "tree-desert-g", + weight = 2 + }, + ["tree-desert-h"] = { + tile_name = "mineral-purple-sand-2", + tree_name = "tree-desert-h", + weight = 2491 + }, + ["tree-dryland-d"] = { + tile_name = "mineral-purple-sand-2", + tree_name = "tree-dryland-d", + weight = 99 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-purple-sand-2", + tree_name = "tree-dryland-h", + weight = 2 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-purple-sand-2", + tree_name = "tree-dryland-i", + weight = 63 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-purple-sand-2", + tree_name = "tree-grassland-e", + weight = 17 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-purple-sand-2", + tree_name = "tree-grassland-i", + weight = 226 + }, + ["tree-wetland-f"] = { + tile_name = "mineral-purple-sand-2", + tree_name = "tree-wetland-f", + weight = 1221 + }, + ["tree-wetland-h"] = { + tile_name = "mineral-purple-sand-2", + tree_name = "tree-wetland-h", + weight = 179 + } +} +terrains["mineral-purple-dirt-2"] = { + name = "mineral-purple-dirt-2", + ["tree-desert-e"] = { + tile_name = "mineral-purple-dirt-2", + tree_name = "tree-desert-e", + weight = 76 + }, + ["tree-desert-h"] = { + tile_name = "mineral-purple-dirt-2", + tree_name = "tree-desert-h", + weight = 319 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-purple-dirt-2", + tree_name = "tree-dryland-c", + weight = 795 + }, + ["tree-dryland-d"] = { + tile_name = "mineral-purple-dirt-2", + tree_name = "tree-dryland-d", + weight = 2719 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-purple-dirt-2", + tree_name = "tree-dryland-e", + weight = 11 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-purple-dirt-2", + tree_name = "tree-dryland-g", + weight = 15 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-purple-dirt-2", + tree_name = "tree-dryland-h", + weight = 192 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-purple-dirt-2", + tree_name = "tree-dryland-i", + weight = 4047 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-purple-dirt-2", + tree_name = "tree-dryland-m", + weight = 4 + }, + ["tree-dryland-o"] = { + tile_name = "mineral-purple-dirt-2", + tree_name = "tree-dryland-o", + weight = 26 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-purple-dirt-2", + tree_name = "tree-grassland-e", + weight = 11 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-purple-dirt-2", + tree_name = "tree-grassland-h2", + weight = 167 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-purple-dirt-2", + tree_name = "tree-grassland-i", + weight = 111 + }, + ["tree-wetland-f"] = { + tile_name = "mineral-purple-dirt-2", + tree_name = "tree-wetland-f", + weight = 329 + }, + ["tree-wetland-h"] = { + tile_name = "mineral-purple-dirt-2", + tree_name = "tree-wetland-h", + weight = 27 + } +} +terrains["mineral-purple-dirt-4"] = { + name = "mineral-purple-dirt-4", + ["tree-desert-e"] = { + tile_name = "mineral-purple-dirt-4", + tree_name = "tree-desert-e", + weight = 52 + }, + ["tree-desert-h"] = { + tile_name = "mineral-purple-dirt-4", + tree_name = "tree-desert-h", + weight = 139 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-purple-dirt-4", + tree_name = "tree-dryland-c", + weight = 442 + }, + ["tree-dryland-d"] = { + tile_name = "mineral-purple-dirt-4", + tree_name = "tree-dryland-d", + weight = 469 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-purple-dirt-4", + tree_name = "tree-dryland-e", + weight = 9 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-purple-dirt-4", + tree_name = "tree-dryland-h", + weight = 84 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-purple-dirt-4", + tree_name = "tree-dryland-i", + weight = 990 + }, + ["tree-dryland-o"] = { + tile_name = "mineral-purple-dirt-4", + tree_name = "tree-dryland-o", + weight = 2 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-purple-dirt-4", + tree_name = "tree-grassland-e", + weight = 7 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-purple-dirt-4", + tree_name = "tree-grassland-h2", + weight = 142 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-purple-dirt-4", + tree_name = "tree-grassland-i", + weight = 49 + }, + ["tree-wetland-f"] = { + tile_name = "mineral-purple-dirt-4", + tree_name = "tree-wetland-f", + weight = 109 + }, + ["tree-wetland-h"] = { + tile_name = "mineral-purple-dirt-4", + tree_name = "tree-wetland-h", + weight = 4 + } +} +terrains["mineral-purple-dirt-1"] = { + name = "mineral-purple-dirt-1", + ["tree-desert-d"] = { + tile_name = "mineral-purple-dirt-1", + tree_name = "tree-desert-d", + weight = 2 + }, + ["tree-desert-e"] = { + tile_name = "mineral-purple-dirt-1", + tree_name = "tree-desert-e", + weight = 118 + }, + ["tree-desert-g"] = { + tile_name = "mineral-purple-dirt-1", + tree_name = "tree-desert-g", + weight = 2 + }, + ["tree-desert-h"] = { + tile_name = "mineral-purple-dirt-1", + tree_name = "tree-desert-h", + weight = 218 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-purple-dirt-1", + tree_name = "tree-dryland-c", + weight = 2759 + }, + ["tree-dryland-d"] = { + tile_name = "mineral-purple-dirt-1", + tree_name = "tree-dryland-d", + weight = 5100 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-purple-dirt-1", + tree_name = "tree-dryland-e", + weight = 15 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-purple-dirt-1", + tree_name = "tree-dryland-f", + weight = 2 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-purple-dirt-1", + tree_name = "tree-dryland-g", + weight = 7 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-purple-dirt-1", + tree_name = "tree-dryland-h", + weight = 86 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-purple-dirt-1", + tree_name = "tree-dryland-i", + weight = 5129 + }, + ["tree-dryland-o"] = { + tile_name = "mineral-purple-dirt-1", + tree_name = "tree-dryland-o", + weight = 11 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-purple-dirt-1", + tree_name = "tree-grassland-e", + weight = 89 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-purple-dirt-1", + tree_name = "tree-grassland-h2", + weight = 128 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-purple-dirt-1", + tree_name = "tree-grassland-i", + weight = 122 + }, + ["tree-wetland-f"] = { + tile_name = "mineral-purple-dirt-1", + tree_name = "tree-wetland-f", + weight = 440 + }, + ["tree-wetland-h"] = { + tile_name = "mineral-purple-dirt-1", + tree_name = "tree-wetland-h", + weight = 169 + } +} +terrains["mineral-purple-dirt-3"] = { + name = "mineral-purple-dirt-3", + ["tree-desert-e"] = { + tile_name = "mineral-purple-dirt-3", + tree_name = "tree-desert-e", + weight = 170 + }, + ["tree-desert-h"] = { + tile_name = "mineral-purple-dirt-3", + tree_name = "tree-desert-h", + weight = 602 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-purple-dirt-3", + tree_name = "tree-dryland-c", + weight = 643 + }, + ["tree-dryland-d"] = { + tile_name = "mineral-purple-dirt-3", + tree_name = "tree-dryland-d", + weight = 751 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-purple-dirt-3", + tree_name = "tree-dryland-e", + weight = 16 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-purple-dirt-3", + tree_name = "tree-dryland-g", + weight = 16 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-purple-dirt-3", + tree_name = "tree-dryland-h", + weight = 46 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-purple-dirt-3", + tree_name = "tree-dryland-i", + weight = 1971 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-purple-dirt-3", + tree_name = "tree-dryland-m", + weight = 5 + }, + ["tree-dryland-o"] = { + tile_name = "mineral-purple-dirt-3", + tree_name = "tree-dryland-o", + weight = 34 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-purple-dirt-3", + tree_name = "tree-grassland-e", + weight = 21 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-purple-dirt-3", + tree_name = "tree-grassland-h2", + weight = 26 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-purple-dirt-3", + tree_name = "tree-grassland-i", + weight = 141 + }, + ["tree-wetland-f"] = { + tile_name = "mineral-purple-dirt-3", + tree_name = "tree-wetland-f", + weight = 214 + }, + ["tree-wetland-h"] = { + tile_name = "mineral-purple-dirt-3", + tree_name = "tree-wetland-h", + weight = 69 + } +} +terrains["mineral-purple-dirt-6"] = { + name = "mineral-purple-dirt-6", + ["tree-desert-e"] = { + tile_name = "mineral-purple-dirt-6", + tree_name = "tree-desert-e", + weight = 56 + }, + ["tree-desert-h"] = { + tile_name = "mineral-purple-dirt-6", + tree_name = "tree-desert-h", + weight = 68 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-purple-dirt-6", + tree_name = "tree-dryland-c", + weight = 149 + }, + ["tree-dryland-d"] = { + tile_name = "mineral-purple-dirt-6", + tree_name = "tree-dryland-d", + weight = 114 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-purple-dirt-6", + tree_name = "tree-dryland-e", + weight = 2 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-purple-dirt-6", + tree_name = "tree-dryland-f", + weight = 2 + }, + ["tree-dryland-g"] = { + tile_name = "mineral-purple-dirt-6", + tree_name = "tree-dryland-g", + weight = 5 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-purple-dirt-6", + tree_name = "tree-dryland-h", + weight = 250 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-purple-dirt-6", + tree_name = "tree-dryland-i", + weight = 779 + }, + ["tree-dryland-m"] = { + tile_name = "mineral-purple-dirt-6", + tree_name = "tree-dryland-m", + weight = 3 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-purple-dirt-6", + tree_name = "tree-grassland-e", + weight = 12 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-purple-dirt-6", + tree_name = "tree-grassland-h2", + weight = 69 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-purple-dirt-6", + tree_name = "tree-grassland-i", + weight = 303 + }, + ["tree-wetland-f"] = { + tile_name = "mineral-purple-dirt-6", + tree_name = "tree-wetland-f", + weight = 12 + }, + ["tree-wetland-h"] = { + tile_name = "mineral-purple-dirt-6", + tree_name = "tree-wetland-h", + weight = 32 + } +} +terrains["mineral-purple-dirt-5"] = { + name = "mineral-purple-dirt-5", + ["tree-desert-e"] = { + tile_name = "mineral-purple-dirt-5", + tree_name = "tree-desert-e", + weight = 68 + }, + ["tree-desert-h"] = { + tile_name = "mineral-purple-dirt-5", + tree_name = "tree-desert-h", + weight = 97 + }, + ["tree-dryland-c"] = { + tile_name = "mineral-purple-dirt-5", + tree_name = "tree-dryland-c", + weight = 637 + }, + ["tree-dryland-d"] = { + tile_name = "mineral-purple-dirt-5", + tree_name = "tree-dryland-d", + weight = 391 + }, + ["tree-dryland-e"] = { + tile_name = "mineral-purple-dirt-5", + tree_name = "tree-dryland-e", + weight = 4 + }, + ["tree-dryland-f"] = { + tile_name = "mineral-purple-dirt-5", + tree_name = "tree-dryland-f", + weight = 2 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-purple-dirt-5", + tree_name = "tree-dryland-h", + weight = 355 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-purple-dirt-5", + tree_name = "tree-dryland-i", + weight = 400 + }, + ["tree-dryland-o"] = { + tile_name = "mineral-purple-dirt-5", + tree_name = "tree-dryland-o", + weight = 2 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-purple-dirt-5", + tree_name = "tree-grassland-e", + weight = 4 + }, + ["tree-grassland-h2"] = { + tile_name = "mineral-purple-dirt-5", + tree_name = "tree-grassland-h2", + weight = 55 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-purple-dirt-5", + tree_name = "tree-grassland-i", + weight = 64 + }, + ["tree-wetland-f"] = { + tile_name = "mineral-purple-dirt-5", + tree_name = "tree-wetland-f", + weight = 169 + }, + ["tree-wetland-h"] = { + tile_name = "mineral-purple-dirt-5", + tree_name = "tree-wetland-h", + weight = 27 + } +} +terrains["mineral-purple-sand-1"] = { + name = "mineral-purple-sand-1", + ["tree-desert-a"] = { + tile_name = "mineral-purple-sand-1", + tree_name = "tree-desert-a", + weight = 3 + }, + ["tree-desert-e"] = { + tile_name = "mineral-purple-sand-1", + tree_name = "tree-desert-e", + weight = 448 + }, + ["tree-desert-f"] = { + tile_name = "mineral-purple-sand-1", + tree_name = "tree-desert-f", + weight = 2 + }, + ["tree-desert-g"] = { + tile_name = "mineral-purple-sand-1", + tree_name = "tree-desert-g", + weight = 5 + }, + ["tree-desert-h"] = { + tile_name = "mineral-purple-sand-1", + tree_name = "tree-desert-h", + weight = 4777 + }, + ["tree-dryland-d"] = { + tile_name = "mineral-purple-sand-1", + tree_name = "tree-dryland-d", + weight = 173 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-purple-sand-1", + tree_name = "tree-dryland-h", + weight = 2 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-purple-sand-1", + tree_name = "tree-dryland-i", + weight = 141 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-purple-sand-1", + tree_name = "tree-grassland-e", + weight = 19 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-purple-sand-1", + tree_name = "tree-grassland-i", + weight = 356 + }, + ["tree-wetland-f"] = { + tile_name = "mineral-purple-sand-1", + tree_name = "tree-wetland-f", + weight = 2573 + }, + ["tree-wetland-h"] = { + tile_name = "mineral-purple-sand-1", + tree_name = "tree-wetland-h", + weight = 319 + } +} +terrains["mineral-purple-sand-3"] = { + name = "mineral-purple-sand-3", + ["tree-desert-e"] = { + tile_name = "mineral-purple-sand-3", + tree_name = "tree-desert-e", + weight = 122 + }, + ["tree-desert-g"] = { + tile_name = "mineral-purple-sand-3", + tree_name = "tree-desert-g", + weight = 2 + }, + ["tree-desert-h"] = { + tile_name = "mineral-purple-sand-3", + tree_name = "tree-desert-h", + weight = 1152 + }, + ["tree-dryland-d"] = { + tile_name = "mineral-purple-sand-3", + tree_name = "tree-dryland-d", + weight = 89 + }, + ["tree-dryland-h"] = { + tile_name = "mineral-purple-sand-3", + tree_name = "tree-dryland-h", + weight = 8 + }, + ["tree-dryland-i"] = { + tile_name = "mineral-purple-sand-3", + tree_name = "tree-dryland-i", + weight = 35 + }, + ["tree-grassland-e"] = { + tile_name = "mineral-purple-sand-3", + tree_name = "tree-grassland-e", + weight = 65 + }, + ["tree-grassland-i"] = { + tile_name = "mineral-purple-sand-3", + tree_name = "tree-grassland-i", + weight = 98 + }, + ["tree-wetland-f"] = { + tile_name = "mineral-purple-sand-3", + tree_name = "tree-wetland-f", + weight = 574 + }, + ["tree-wetland-h"] = { + tile_name = "mineral-purple-sand-3", + tree_name = "tree-wetland-h", + weight = 112 + } +} + +terrains["sand-3"] = { + ["dry-hairy-tree"] = { + tile_name = "sand-3", + tree_name = "dry-hairy-tree", + weight = 1329 + }, + ["dry-tree"] = { + tile_name = "sand-3", + tree_name = "dry-tree", + weight = 1354 + }, + name = "sand-3", + ["tree-01"] = { + tile_name = "sand-3", + tree_name = "tree-01", + weight = 8 + }, + ["tree-02"] = { + tile_name = "sand-3", + tree_name = "tree-02", + weight = 1852 + }, + ["tree-02-red"] = { + tile_name = "sand-3", + tree_name = "tree-02-red", + weight = 1083 + }, + ["tree-03"] = { + tile_name = "sand-3", + tree_name = "tree-03", + weight = 8 + }, + ["tree-04"] = { + tile_name = "sand-3", + tree_name = "tree-04", + weight = 119 + }, + ["tree-05"] = { + tile_name = "sand-3", + tree_name = "tree-05", + weight = 274 + }, + ["tree-06"] = { + tile_name = "sand-3", + tree_name = "tree-06", + weight = 4055 + }, + ["tree-06-brown"] = { + tile_name = "sand-3", + tree_name = "tree-06-brown", + weight = 4921 + }, + ["tree-07"] = { + tile_name = "sand-3", + tree_name = "tree-07", + weight = 4077 + }, + ["tree-08"] = { + tile_name = "sand-3", + tree_name = "tree-08", + weight = 4660 + }, + ["tree-08-brown"] = { + tile_name = "sand-3", + tree_name = "tree-08-brown", + weight = 3140 + }, + ["tree-09-brown"] = { + tile_name = "sand-3", + tree_name = "tree-09-brown", + weight = 57204 + }, + ["tree-09-red"] = { + tile_name = "sand-3", + tree_name = "tree-09-red", + weight = 71641 + } +} +terrains["sand-2"] = { + ["dry-hairy-tree"] = { + tile_name = "sand-2", + tree_name = "dry-hairy-tree", + weight = 1553 + }, + ["dry-tree"] = { + tile_name = "sand-2", + tree_name = "dry-tree", + weight = 1565 + }, + name = "sand-2", + ["tree-02"] = { + tile_name = "sand-2", + tree_name = "tree-02", + weight = 2319 + }, + ["tree-02-red"] = { + tile_name = "sand-2", + tree_name = "tree-02-red", + weight = 1603 + }, + ["tree-03"] = { + tile_name = "sand-2", + tree_name = "tree-03", + weight = 2 + }, + ["tree-04"] = { + tile_name = "sand-2", + tree_name = "tree-04", + weight = 472 + }, + ["tree-05"] = { + tile_name = "sand-2", + tree_name = "tree-05", + weight = 50 + }, + ["tree-06"] = { + tile_name = "sand-2", + tree_name = "tree-06", + weight = 13597 + }, + ["tree-06-brown"] = { + tile_name = "sand-2", + tree_name = "tree-06-brown", + weight = 18656 + }, + ["tree-07"] = { + tile_name = "sand-2", + tree_name = "tree-07", + weight = 4690 + }, + ["tree-08"] = { + tile_name = "sand-2", + tree_name = "tree-08", + weight = 6424 + }, + ["tree-08-brown"] = { + tile_name = "sand-2", + tree_name = "tree-08-brown", + weight = 4469 + }, + ["tree-09"] = { + tile_name = "sand-2", + tree_name = "tree-09", + weight = 5 + }, + ["tree-09-brown"] = { + tile_name = "sand-2", + tree_name = "tree-09-brown", + weight = 69112 + }, + ["tree-09-red"] = { + tile_name = "sand-2", + tree_name = "tree-09-red", + weight = 74298 + } +} +terrains["dirt-3"] = { + ["dry-hairy-tree"] = { + tile_name = "dirt-3", + tree_name = "dry-hairy-tree", + weight = 555 + }, + ["dry-tree"] = { + tile_name = "dirt-3", + tree_name = "dry-tree", + weight = 531 + }, + name = "dirt-3", + ["tree-01"] = { + tile_name = "dirt-3", + tree_name = "tree-01", + weight = 122 + }, + ["tree-02"] = { + tile_name = "dirt-3", + tree_name = "tree-02", + weight = 5576 + }, + ["tree-02-red"] = { + tile_name = "dirt-3", + tree_name = "tree-02-red", + weight = 275002 + }, + ["tree-03"] = { + tile_name = "dirt-3", + tree_name = "tree-03", + weight = 17 + }, + ["tree-04"] = { + tile_name = "dirt-3", + tree_name = "tree-04", + weight = 102600 + }, + ["tree-05"] = { + tile_name = "dirt-3", + tree_name = "tree-05", + weight = 1012 + }, + ["tree-06"] = { + tile_name = "dirt-3", + tree_name = "tree-06", + weight = 221 + }, + ["tree-06-brown"] = { + tile_name = "dirt-3", + tree_name = "tree-06-brown", + weight = 473 + }, + ["tree-07"] = { + tile_name = "dirt-3", + tree_name = "tree-07", + weight = 177 + }, + ["tree-08"] = { + tile_name = "dirt-3", + tree_name = "tree-08", + weight = 577 + }, + ["tree-08-brown"] = { + tile_name = "dirt-3", + tree_name = "tree-08-brown", + weight = 413 + }, + ["tree-09"] = { + tile_name = "dirt-3", + tree_name = "tree-09", + weight = 1823 + }, + ["tree-09-brown"] = { + tile_name = "dirt-3", + tree_name = "tree-09-brown", + weight = 4608 + }, + ["tree-09-red"] = { + tile_name = "dirt-3", + tree_name = "tree-09-red", + weight = 3159 + } +} +terrains["dirt-5"] = { + ["dry-hairy-tree"] = { + tile_name = "dirt-5", + tree_name = "dry-hairy-tree", + weight = 235 + }, + ["dry-tree"] = { + tile_name = "dirt-5", + tree_name = "dry-tree", + weight = 211 + }, + name = "dirt-5", + ["tree-01"] = { + tile_name = "dirt-5", + tree_name = "tree-01", + weight = 492 + }, + ["tree-02"] = { + tile_name = "dirt-5", + tree_name = "tree-02", + weight = 15720 + }, + ["tree-02-red"] = { + tile_name = "dirt-5", + tree_name = "tree-02-red", + weight = 386423 + }, + ["tree-03"] = { + tile_name = "dirt-5", + tree_name = "tree-03", + weight = 73 + }, + ["tree-04"] = { + tile_name = "dirt-5", + tree_name = "tree-04", + weight = 123733 + }, + ["tree-05"] = { + tile_name = "dirt-5", + tree_name = "tree-05", + weight = 2555 + }, + ["tree-06"] = { + tile_name = "dirt-5", + tree_name = "tree-06", + weight = 205 + }, + ["tree-06-brown"] = { + tile_name = "dirt-5", + tree_name = "tree-06-brown", + weight = 425 + }, + ["tree-07"] = { + tile_name = "dirt-5", + tree_name = "tree-07", + weight = 50 + }, + ["tree-08"] = { + tile_name = "dirt-5", + tree_name = "tree-08", + weight = 724 + }, + ["tree-08-brown"] = { + tile_name = "dirt-5", + tree_name = "tree-08-brown", + weight = 416 + }, + ["tree-09"] = { + tile_name = "dirt-5", + tree_name = "tree-09", + weight = 3804 + }, + ["tree-09-brown"] = { + tile_name = "dirt-5", + tree_name = "tree-09-brown", + weight = 1255 + }, + ["tree-09-red"] = { + tile_name = "dirt-5", + tree_name = "tree-09-red", + weight = 1342 + } +} +terrains["dirt-7"] = { + ["dry-hairy-tree"] = { + tile_name = "dirt-7", + tree_name = "dry-hairy-tree", + weight = 167 + }, + ["dry-tree"] = { + tile_name = "dirt-7", + tree_name = "dry-tree", + weight = 153 + }, + name = "dirt-7", + ["tree-01"] = { + tile_name = "dirt-7", + tree_name = "tree-01", + weight = 2205 + }, + ["tree-02"] = { + tile_name = "dirt-7", + tree_name = "tree-02", + weight = 231742 + }, + ["tree-02-red"] = { + tile_name = "dirt-7", + tree_name = "tree-02-red", + weight = 103832 + }, + ["tree-03"] = { + tile_name = "dirt-7", + tree_name = "tree-03", + weight = 51 + }, + ["tree-04"] = { + tile_name = "dirt-7", + tree_name = "tree-04", + weight = 146321 + }, + ["tree-05"] = { + tile_name = "dirt-7", + tree_name = "tree-05", + weight = 13568 + }, + ["tree-06"] = { + tile_name = "dirt-7", + tree_name = "tree-06", + weight = 348 + }, + ["tree-06-brown"] = { + tile_name = "dirt-7", + tree_name = "tree-06-brown", + weight = 387 + }, + ["tree-07"] = { + tile_name = "dirt-7", + tree_name = "tree-07", + weight = 9 + }, + ["tree-08"] = { + tile_name = "dirt-7", + tree_name = "tree-08", + weight = 636 + }, + ["tree-08-brown"] = { + tile_name = "dirt-7", + tree_name = "tree-08-brown", + weight = 501 + }, + ["tree-09"] = { + tile_name = "dirt-7", + tree_name = "tree-09", + weight = 1130 + }, + ["tree-09-brown"] = { + tile_name = "dirt-7", + tree_name = "tree-09-brown", + weight = 433 + }, + ["tree-09-red"] = { + tile_name = "dirt-7", + tree_name = "tree-09-red", + weight = 494 + } +} +terrains["dirt-6"] = { + ["dry-hairy-tree"] = { + tile_name = "dirt-6", + tree_name = "dry-hairy-tree", + weight = 196 + }, + ["dry-tree"] = { + tile_name = "dirt-6", + tree_name = "dry-tree", + weight = 221 + }, + name = "dirt-6", + ["tree-01"] = { + tile_name = "dirt-6", + tree_name = "tree-01", + weight = 1841 + }, + ["tree-02"] = { + tile_name = "dirt-6", + tree_name = "tree-02", + weight = 87839 + }, + ["tree-02-red"] = { + tile_name = "dirt-6", + tree_name = "tree-02-red", + weight = 332276 + }, + ["tree-03"] = { + tile_name = "dirt-6", + tree_name = "tree-03", + weight = 17 + }, + ["tree-04"] = { + tile_name = "dirt-6", + tree_name = "tree-04", + weight = 148120 + }, + ["tree-05"] = { + tile_name = "dirt-6", + tree_name = "tree-05", + weight = 2812 + }, + ["tree-06"] = { + tile_name = "dirt-6", + tree_name = "tree-06", + weight = 196 + }, + ["tree-06-brown"] = { + tile_name = "dirt-6", + tree_name = "tree-06-brown", + weight = 344 + }, + ["tree-07"] = { + tile_name = "dirt-6", + tree_name = "tree-07", + weight = 39 + }, + ["tree-08"] = { + tile_name = "dirt-6", + tree_name = "tree-08", + weight = 536 + }, + ["tree-08-brown"] = { + tile_name = "dirt-6", + tree_name = "tree-08-brown", + weight = 372 + }, + ["tree-09"] = { + tile_name = "dirt-6", + tree_name = "tree-09", + weight = 2526 + }, + ["tree-09-brown"] = { + tile_name = "dirt-6", + tree_name = "tree-09-brown", + weight = 424 + }, + ["tree-09-red"] = { + tile_name = "dirt-6", + tree_name = "tree-09-red", + weight = 831 + } +} +terrains["grass-3"] = { + ["dry-hairy-tree"] = { + tile_name = "grass-3", + tree_name = "dry-hairy-tree", + weight = 350 + }, + ["dry-tree"] = { + tile_name = "grass-3", + tree_name = "dry-tree", + weight = 371 + }, + name = "grass-3", + ["tree-01"] = { + tile_name = "grass-3", + tree_name = "tree-01", + weight = 8639 + }, + ["tree-02"] = { + tile_name = "grass-3", + tree_name = "tree-02", + weight = 475710 + }, + ["tree-02-red"] = { + tile_name = "grass-3", + tree_name = "tree-02-red", + weight = 4063 + }, + ["tree-03"] = { + tile_name = "grass-3", + tree_name = "tree-03", + weight = 5821 + }, + ["tree-04"] = { + tile_name = "grass-3", + tree_name = "tree-04", + weight = 142407 + }, + ["tree-05"] = { + tile_name = "grass-3", + tree_name = "tree-05", + weight = 202162 + }, + ["tree-06"] = { + tile_name = "grass-3", + tree_name = "tree-06", + weight = 353 + }, + ["tree-06-brown"] = { + tile_name = "grass-3", + tree_name = "tree-06-brown", + weight = 596 + }, + ["tree-07"] = { + tile_name = "grass-3", + tree_name = "tree-07", + weight = 41 + }, + ["tree-08"] = { + tile_name = "grass-3", + tree_name = "tree-08", + weight = 557 + }, + ["tree-08-brown"] = { + tile_name = "grass-3", + tree_name = "tree-08-brown", + weight = 698 + }, + ["tree-09"] = { + tile_name = "grass-3", + tree_name = "tree-09", + weight = 12 + }, + ["tree-09-brown"] = { + tile_name = "grass-3", + tree_name = "tree-09-brown", + weight = 966 + }, + ["tree-09-red"] = { + tile_name = "grass-3", + tree_name = "tree-09-red", + weight = 888 + } +} +terrains["grass-1"] = { + ["dry-hairy-tree"] = { + tile_name = "grass-1", + tree_name = "dry-hairy-tree", + weight = 355 + }, + ["dry-tree"] = { + tile_name = "grass-1", + tree_name = "dry-tree", + weight = 317 + }, + name = "grass-1", + ["tree-01"] = { + tile_name = "grass-1", + tree_name = "tree-01", + weight = 13625 + }, + ["tree-02"] = { + tile_name = "grass-1", + tree_name = "tree-02", + weight = 467689 + }, + ["tree-02-red"] = { + tile_name = "grass-1", + tree_name = "tree-02-red", + weight = 2038 + }, + ["tree-03"] = { + tile_name = "grass-1", + tree_name = "tree-03", + weight = 11802 + }, + ["tree-04"] = { + tile_name = "grass-1", + tree_name = "tree-04", + weight = 186950 + }, + ["tree-05"] = { + tile_name = "grass-1", + tree_name = "tree-05", + weight = 360046 + }, + ["tree-06"] = { + tile_name = "grass-1", + tree_name = "tree-06", + weight = 96 + }, + ["tree-06-brown"] = { + tile_name = "grass-1", + tree_name = "tree-06-brown", + weight = 220 + }, + ["tree-07"] = { + tile_name = "grass-1", + tree_name = "tree-07", + weight = 41 + }, + ["tree-08"] = { + tile_name = "grass-1", + tree_name = "tree-08", + weight = 629 + }, + ["tree-08-brown"] = { + tile_name = "grass-1", + tree_name = "tree-08-brown", + weight = 301 + }, + ["tree-09"] = { + tile_name = "grass-1", + tree_name = "tree-09", + weight = 20 + }, + ["tree-09-brown"] = { + tile_name = "grass-1", + tree_name = "tree-09-brown", + weight = 769 + }, + ["tree-09-red"] = { + tile_name = "grass-1", + tree_name = "tree-09-red", + weight = 684 + } +} +terrains["dirt-1"] = { + ["dry-hairy-tree"] = { + tile_name = "dirt-1", + tree_name = "dry-hairy-tree", + weight = 1664 + }, + ["dry-tree"] = { + tile_name = "dirt-1", + tree_name = "dry-tree", + weight = 1690 + }, + name = "dirt-1", + ["tree-02"] = { + tile_name = "dirt-1", + tree_name = "tree-02", + weight = 2257 + }, + ["tree-02-red"] = { + tile_name = "dirt-1", + tree_name = "tree-02-red", + weight = 3610 + }, + ["tree-03"] = { + tile_name = "dirt-1", + tree_name = "tree-03", + weight = 5 + }, + ["tree-04"] = { + tile_name = "dirt-1", + tree_name = "tree-04", + weight = 3764 + }, + ["tree-05"] = { + tile_name = "dirt-1", + tree_name = "tree-05", + weight = 402 + }, + ["tree-06"] = { + tile_name = "dirt-1", + tree_name = "tree-06", + weight = 19 + }, + ["tree-06-brown"] = { + tile_name = "dirt-1", + tree_name = "tree-06-brown", + weight = 118 + }, + ["tree-07"] = { + tile_name = "dirt-1", + tree_name = "tree-07", + weight = 2607 + }, + ["tree-08"] = { + tile_name = "dirt-1", + tree_name = "tree-08", + weight = 184 + }, + ["tree-08-brown"] = { + tile_name = "dirt-1", + tree_name = "tree-08-brown", + weight = 28 + }, + ["tree-09"] = { + tile_name = "dirt-1", + tree_name = "tree-09", + weight = 22 + }, + ["tree-09-brown"] = { + tile_name = "dirt-1", + tree_name = "tree-09-brown", + weight = 41448 + }, + ["tree-09-red"] = { + tile_name = "dirt-1", + tree_name = "tree-09-red", + weight = 50885 + } +} +terrains["grass-4"] = { + ["dry-hairy-tree"] = { + tile_name = "grass-4", + tree_name = "dry-hairy-tree", + weight = 212 + }, + ["dry-tree"] = { + tile_name = "grass-4", + tree_name = "dry-tree", + weight = 201 + }, + name = "grass-4", + ["tree-01"] = { + tile_name = "grass-4", + tree_name = "tree-01", + weight = 3578 + }, + ["tree-02"] = { + tile_name = "grass-4", + tree_name = "tree-02", + weight = 435531 + }, + ["tree-02-red"] = { + tile_name = "grass-4", + tree_name = "tree-02-red", + weight = 29881 + }, + ["tree-03"] = { + tile_name = "grass-4", + tree_name = "tree-03", + weight = 1806 + }, + ["tree-04"] = { + tile_name = "grass-4", + tree_name = "tree-04", + weight = 153326 + }, + ["tree-05"] = { + tile_name = "grass-4", + tree_name = "tree-05", + weight = 73803 + }, + ["tree-06"] = { + tile_name = "grass-4", + tree_name = "tree-06", + weight = 309 + }, + ["tree-06-brown"] = { + tile_name = "grass-4", + tree_name = "tree-06-brown", + weight = 225 + }, + ["tree-07"] = { + tile_name = "grass-4", + tree_name = "tree-07", + weight = 53 + }, + ["tree-08"] = { + tile_name = "grass-4", + tree_name = "tree-08", + weight = 388 + }, + ["tree-08-brown"] = { + tile_name = "grass-4", + tree_name = "tree-08-brown", + weight = 352 + }, + ["tree-09"] = { + tile_name = "grass-4", + tree_name = "tree-09", + weight = 334 + }, + ["tree-09-brown"] = { + tile_name = "grass-4", + tree_name = "tree-09-brown", + weight = 882 + }, + ["tree-09-red"] = { + tile_name = "grass-4", + tree_name = "tree-09-red", + weight = 876 + } +} +terrains["dry-dirt"] = { + ["dry-hairy-tree"] = { + tile_name = "dry-dirt", + tree_name = "dry-hairy-tree", + weight = 1094 + }, + ["dry-tree"] = { + tile_name = "dry-dirt", + tree_name = "dry-tree", + weight = 1151 + }, + name = "dry-dirt", + ["tree-02"] = { + tile_name = "dry-dirt", + tree_name = "tree-02", + weight = 1875 + }, + ["tree-02-red"] = { + tile_name = "dry-dirt", + tree_name = "tree-02-red", + weight = 2909 + }, + ["tree-04"] = { + tile_name = "dry-dirt", + tree_name = "tree-04", + weight = 1197 + }, + ["tree-05"] = { + tile_name = "dry-dirt", + tree_name = "tree-05", + weight = 125 + }, + ["tree-06"] = { + tile_name = "dry-dirt", + tree_name = "tree-06", + weight = 4024 + }, + ["tree-06-brown"] = { + tile_name = "dry-dirt", + tree_name = "tree-06-brown", + weight = 4689 + }, + ["tree-07"] = { + tile_name = "dry-dirt", + tree_name = "tree-07", + weight = 437 + }, + ["tree-08"] = { + tile_name = "dry-dirt", + tree_name = "tree-08", + weight = 3050 + }, + ["tree-08-brown"] = { + tile_name = "dry-dirt", + tree_name = "tree-08-brown", + weight = 1542 + }, + ["tree-09"] = { + tile_name = "dry-dirt", + tree_name = "tree-09", + weight = 20 + }, + ["tree-09-brown"] = { + tile_name = "dry-dirt", + tree_name = "tree-09-brown", + weight = 8528 + }, + ["tree-09-red"] = { + tile_name = "dry-dirt", + tree_name = "tree-09-red", + weight = 9941 + } +} +terrains["sand-1"] = { + ["dry-hairy-tree"] = { + tile_name = "sand-1", + tree_name = "dry-hairy-tree", + weight = 10274 + }, + ["dry-tree"] = { + tile_name = "sand-1", + tree_name = "dry-tree", + weight = 10310 + }, + name = "sand-1", + ["tree-01"] = { + tile_name = "sand-1", + tree_name = "tree-01", + weight = 20 + }, + ["tree-02"] = { + tile_name = "sand-1", + tree_name = "tree-02", + weight = 12319 + }, + ["tree-02-red"] = { + tile_name = "sand-1", + tree_name = "tree-02-red", + weight = 9096 + }, + ["tree-03"] = { + tile_name = "sand-1", + tree_name = "tree-03", + weight = 26 + }, + ["tree-04"] = { + tile_name = "sand-1", + tree_name = "tree-04", + weight = 2018 + }, + ["tree-05"] = { + tile_name = "sand-1", + tree_name = "tree-05", + weight = 1123 + }, + ["tree-06"] = { + tile_name = "sand-1", + tree_name = "tree-06", + weight = 33971 + }, + ["tree-06-brown"] = { + tile_name = "sand-1", + tree_name = "tree-06-brown", + weight = 46980 + }, + ["tree-07"] = { + tile_name = "sand-1", + tree_name = "tree-07", + weight = 3933 + }, + ["tree-08"] = { + tile_name = "sand-1", + tree_name = "tree-08", + weight = 37953 + }, + ["tree-08-brown"] = { + tile_name = "sand-1", + tree_name = "tree-08-brown", + weight = 29880 + }, + ["tree-09"] = { + tile_name = "sand-1", + tree_name = "tree-09", + weight = 8 + }, + ["tree-09-brown"] = { + tile_name = "sand-1", + tree_name = "tree-09-brown", + weight = 69214 + }, + ["tree-09-red"] = { + tile_name = "sand-1", + tree_name = "tree-09-red", + weight = 75344 + } +} +terrains["dirt-2"] = { + ["dry-hairy-tree"] = { + tile_name = "dirt-2", + tree_name = "dry-hairy-tree", + weight = 1065 + }, + ["dry-tree"] = { + tile_name = "dirt-2", + tree_name = "dry-tree", + weight = 1059 + }, + name = "dirt-2", + ["tree-01"] = { + tile_name = "dirt-2", + tree_name = "tree-01", + weight = 32 + }, + ["tree-02"] = { + tile_name = "dirt-2", + tree_name = "tree-02", + weight = 6353 + }, + ["tree-02-red"] = { + tile_name = "dirt-2", + tree_name = "tree-02-red", + weight = 72448 + }, + ["tree-03"] = { + tile_name = "dirt-2", + tree_name = "tree-03", + weight = 38 + }, + ["tree-04"] = { + tile_name = "dirt-2", + tree_name = "tree-04", + weight = 32158 + }, + ["tree-05"] = { + tile_name = "dirt-2", + tree_name = "tree-05", + weight = 1067 + }, + ["tree-06"] = { + tile_name = "dirt-2", + tree_name = "tree-06", + weight = 155 + }, + ["tree-06-brown"] = { + tile_name = "dirt-2", + tree_name = "tree-06-brown", + weight = 104 + }, + ["tree-07"] = { + tile_name = "dirt-2", + tree_name = "tree-07", + weight = 788 + }, + ["tree-08"] = { + tile_name = "dirt-2", + tree_name = "tree-08", + weight = 300 + }, + ["tree-08-brown"] = { + tile_name = "dirt-2", + tree_name = "tree-08-brown", + weight = 189 + }, + ["tree-09"] = { + tile_name = "dirt-2", + tree_name = "tree-09", + weight = 699 + }, + ["tree-09-brown"] = { + tile_name = "dirt-2", + tree_name = "tree-09-brown", + weight = 14492 + }, + ["tree-09-red"] = { + tile_name = "dirt-2", + tree_name = "tree-09-red", + weight = 14093 + } +} +terrains["red-desert-3"] = { + ["dry-hairy-tree"] = { + tile_name = "red-desert-3", + tree_name = "dry-hairy-tree", + weight = 325 + }, + ["dry-tree"] = { + tile_name = "red-desert-3", + tree_name = "dry-tree", + weight = 289 + }, + name = "red-desert-3", + ["tree-01"] = { + tile_name = "red-desert-3", + tree_name = "tree-01", + weight = 2 + }, + ["tree-02"] = { + tile_name = "red-desert-3", + tree_name = "tree-02", + weight = 269 + }, + ["tree-02-red"] = { + tile_name = "red-desert-3", + tree_name = "tree-02-red", + weight = 181 + }, + ["tree-04"] = { + tile_name = "red-desert-3", + tree_name = "tree-04", + weight = 120 + }, + ["tree-05"] = { + tile_name = "red-desert-3", + tree_name = "tree-05", + weight = 193 + }, + ["tree-06"] = { + tile_name = "red-desert-3", + tree_name = "tree-06", + weight = 642 + }, + ["tree-06-brown"] = { + tile_name = "red-desert-3", + tree_name = "tree-06-brown", + weight = 1067 + }, + ["tree-07"] = { + tile_name = "red-desert-3", + tree_name = "tree-07", + weight = 25 + }, + ["tree-08"] = { + tile_name = "red-desert-3", + tree_name = "tree-08", + weight = 1145 + }, + ["tree-08-brown"] = { + tile_name = "red-desert-3", + tree_name = "tree-08-brown", + weight = 475 + }, + ["tree-09"] = { + tile_name = "red-desert-3", + tree_name = "tree-09", + weight = 2 + }, + ["tree-09-brown"] = { + tile_name = "red-desert-3", + tree_name = "tree-09-brown", + weight = 566 + }, + ["tree-09-red"] = { + tile_name = "red-desert-3", + tree_name = "tree-09-red", + weight = 505 + } +} +terrains["grass-2"] = { + ["dry-hairy-tree"] = { + tile_name = "grass-2", + tree_name = "dry-hairy-tree", + weight = 56 + }, + ["dry-tree"] = { + tile_name = "grass-2", + tree_name = "dry-tree", + weight = 62 + }, + name = "grass-2", + ["tree-01"] = { + tile_name = "grass-2", + tree_name = "tree-01", + weight = 2398 + }, + ["tree-02"] = { + tile_name = "grass-2", + tree_name = "tree-02", + weight = 146175 + }, + ["tree-02-red"] = { + tile_name = "grass-2", + tree_name = "tree-02-red", + weight = 9612 + }, + ["tree-03"] = { + tile_name = "grass-2", + tree_name = "tree-03", + weight = 1743 + }, + ["tree-04"] = { + tile_name = "grass-2", + tree_name = "tree-04", + weight = 57088 + }, + ["tree-05"] = { + tile_name = "grass-2", + tree_name = "tree-05", + weight = 53030 + }, + ["tree-06"] = { + tile_name = "grass-2", + tree_name = "tree-06", + weight = 45 + }, + ["tree-06-brown"] = { + tile_name = "grass-2", + tree_name = "tree-06-brown", + weight = 100 + }, + ["tree-08"] = { + tile_name = "grass-2", + tree_name = "tree-08", + weight = 47 + }, + ["tree-08-brown"] = { + tile_name = "grass-2", + tree_name = "tree-08-brown", + weight = 38 + }, + ["tree-09"] = { + tile_name = "grass-2", + tree_name = "tree-09", + weight = 80 + }, + ["tree-09-brown"] = { + tile_name = "grass-2", + tree_name = "tree-09-brown", + weight = 60 + }, + ["tree-09-red"] = { + tile_name = "grass-2", + tree_name = "tree-09-red", + weight = 200 + } +} +terrains["red-desert-0"] = { + ["dry-hairy-tree"] = { + tile_name = "red-desert-0", + tree_name = "dry-hairy-tree", + weight = 27 + }, + ["dry-tree"] = { + tile_name = "red-desert-0", + tree_name = "dry-tree", + weight = 32 + }, + name = "red-desert-0", + ["tree-01"] = { + tile_name = "red-desert-0", + tree_name = "tree-01", + weight = 640 + }, + ["tree-02"] = { + tile_name = "red-desert-0", + tree_name = "tree-02", + weight = 62183 + }, + ["tree-02-red"] = { + tile_name = "red-desert-0", + tree_name = "tree-02-red", + weight = 80789 + }, + ["tree-03"] = { + tile_name = "red-desert-0", + tree_name = "tree-03", + weight = 5 + }, + ["tree-04"] = { + tile_name = "red-desert-0", + tree_name = "tree-04", + weight = 42156 + }, + ["tree-05"] = { + tile_name = "red-desert-0", + tree_name = "tree-05", + weight = 5046 + }, + ["tree-06"] = { + tile_name = "red-desert-0", + tree_name = "tree-06", + weight = 64 + }, + ["tree-06-brown"] = { + tile_name = "red-desert-0", + tree_name = "tree-06-brown", + weight = 75 + }, + ["tree-08"] = { + tile_name = "red-desert-0", + tree_name = "tree-08", + weight = 142 + }, + ["tree-08-brown"] = { + tile_name = "red-desert-0", + tree_name = "tree-08-brown", + weight = 13 + }, + ["tree-09"] = { + tile_name = "red-desert-0", + tree_name = "tree-09", + weight = 917 + }, + ["tree-09-brown"] = { + tile_name = "red-desert-0", + tree_name = "tree-09-brown", + weight = 42 + }, + ["tree-09-red"] = { + tile_name = "red-desert-0", + tree_name = "tree-09-red", + weight = 103 + } +} +terrains["red-desert-2"] = { + ["dry-hairy-tree"] = { + tile_name = "red-desert-2", + tree_name = "dry-hairy-tree", + weight = 252 + }, + ["dry-tree"] = { + tile_name = "red-desert-2", + tree_name = "dry-tree", + weight = 291 + }, + name = "red-desert-2", + ["tree-02"] = { + tile_name = "red-desert-2", + tree_name = "tree-02", + weight = 103 + }, + ["tree-02-red"] = { + tile_name = "red-desert-2", + tree_name = "tree-02-red", + weight = 111 + }, + ["tree-04"] = { + tile_name = "red-desert-2", + tree_name = "tree-04", + weight = 42 + }, + ["tree-05"] = { + tile_name = "red-desert-2", + tree_name = "tree-05", + weight = 2 + }, + ["tree-06"] = { + tile_name = "red-desert-2", + tree_name = "tree-06", + weight = 1229 + }, + ["tree-06-brown"] = { + tile_name = "red-desert-2", + tree_name = "tree-06-brown", + weight = 1398 + }, + ["tree-07"] = { + tile_name = "red-desert-2", + tree_name = "tree-07", + weight = 270 + }, + ["tree-08"] = { + tile_name = "red-desert-2", + tree_name = "tree-08", + weight = 607 + }, + ["tree-08-brown"] = { + tile_name = "red-desert-2", + tree_name = "tree-08-brown", + weight = 625 + }, + ["tree-09-brown"] = { + tile_name = "red-desert-2", + tree_name = "tree-09-brown", + weight = 4130 + }, + ["tree-09-red"] = { + tile_name = "red-desert-2", + tree_name = "tree-09-red", + weight = 5207 + } +} +terrains["dirt-4"] = { + ["dry-hairy-tree"] = { + tile_name = "dirt-4", + tree_name = "dry-hairy-tree", + weight = 570 + }, + ["dry-tree"] = { + tile_name = "dirt-4", + tree_name = "dry-tree", + weight = 671 + }, + name = "dirt-4", + ["tree-01"] = { + tile_name = "dirt-4", + tree_name = "tree-01", + weight = 2 + }, + ["tree-02"] = { + tile_name = "dirt-4", + tree_name = "tree-02", + weight = 1239 + }, + ["tree-02-red"] = { + tile_name = "dirt-4", + tree_name = "tree-02-red", + weight = 60007 + }, + ["tree-04"] = { + tile_name = "dirt-4", + tree_name = "tree-04", + weight = 16241 + }, + ["tree-06"] = { + tile_name = "dirt-4", + tree_name = "tree-06", + weight = 1030 + }, + ["tree-06-brown"] = { + tile_name = "dirt-4", + tree_name = "tree-06-brown", + weight = 1362 + }, + ["tree-07"] = { + tile_name = "dirt-4", + tree_name = "tree-07", + weight = 682 + }, + ["tree-08"] = { + tile_name = "dirt-4", + tree_name = "tree-08", + weight = 869 + }, + ["tree-08-brown"] = { + tile_name = "dirt-4", + tree_name = "tree-08-brown", + weight = 659 + }, + ["tree-09"] = { + tile_name = "dirt-4", + tree_name = "tree-09", + weight = 729 + }, + ["tree-09-brown"] = { + tile_name = "dirt-4", + tree_name = "tree-09-brown", + weight = 12700 + }, + ["tree-09-red"] = { + tile_name = "dirt-4", + tree_name = "tree-09-red", + weight = 11191 + } +} +terrains["red-desert-1"] = { + ["dry-hairy-tree"] = { + tile_name = "red-desert-1", + tree_name = "dry-hairy-tree", + weight = 304 + }, + ["dry-tree"] = { + tile_name = "red-desert-1", + tree_name = "dry-tree", + weight = 263 + }, + name = "red-desert-1", + ["tree-02"] = { + tile_name = "red-desert-1", + tree_name = "tree-02", + weight = 251 + }, + ["tree-02-red"] = { + tile_name = "red-desert-1", + tree_name = "tree-02-red", + weight = 341 + }, + ["tree-04"] = { + tile_name = "red-desert-1", + tree_name = "tree-04", + weight = 103 + }, + ["tree-05"] = { + tile_name = "red-desert-1", + tree_name = "tree-05", + weight = 60 + }, + ["tree-06"] = { + tile_name = "red-desert-1", + tree_name = "tree-06", + weight = 819 + }, + ["tree-06-brown"] = { + tile_name = "red-desert-1", + tree_name = "tree-06-brown", + weight = 1298 + }, + ["tree-07"] = { + tile_name = "red-desert-1", + tree_name = "tree-07", + weight = 327 + }, + ["tree-08"] = { + tile_name = "red-desert-1", + tree_name = "tree-08", + weight = 587 + }, + ["tree-08-brown"] = { + tile_name = "red-desert-1", + tree_name = "tree-08-brown", + weight = 415 + }, + ["tree-09-brown"] = { + tile_name = "red-desert-1", + tree_name = "tree-09-brown", + weight = 7565 + }, + ["tree-09-red"] = { + tile_name = "red-desert-1", + tree_name = "tree-09-red", + weight = 8269 + } +} +terrains["sand-3"] = { + ["dry-hairy-tree"] = { + tile_name = "sand-3", + tree_name = "dry-hairy-tree", + weight = 1329 + }, + ["dry-tree"] = { + tile_name = "sand-3", + tree_name = "dry-tree", + weight = 1354 + }, + name = "sand-3", + ["tree-01"] = { + tile_name = "sand-3", + tree_name = "tree-01", + weight = 8 + }, + ["tree-02"] = { + tile_name = "sand-3", + tree_name = "tree-02", + weight = 1852 + }, + ["tree-02-red"] = { + tile_name = "sand-3", + tree_name = "tree-02-red", + weight = 1083 + }, + ["tree-03"] = { + tile_name = "sand-3", + tree_name = "tree-03", + weight = 8 + }, + ["tree-04"] = { + tile_name = "sand-3", + tree_name = "tree-04", + weight = 119 + }, + ["tree-05"] = { + tile_name = "sand-3", + tree_name = "tree-05", + weight = 274 + }, + ["tree-06"] = { + tile_name = "sand-3", + tree_name = "tree-06", + weight = 4055 + }, + ["tree-06-brown"] = { + tile_name = "sand-3", + tree_name = "tree-06-brown", + weight = 4921 + }, + ["tree-07"] = { + tile_name = "sand-3", + tree_name = "tree-07", + weight = 4077 + }, + ["tree-08"] = { + tile_name = "sand-3", + tree_name = "tree-08", + weight = 4660 + }, + ["tree-08-brown"] = { + tile_name = "sand-3", + tree_name = "tree-08-brown", + weight = 3140 + }, + ["tree-09-brown"] = { + tile_name = "sand-3", + tree_name = "tree-09-brown", + weight = 57204 + }, + ["tree-09-red"] = { + tile_name = "sand-3", + tree_name = "tree-09-red", + weight = 71641 + } +} +terrains["sand-2"] = { + ["dry-hairy-tree"] = { + tile_name = "sand-2", + tree_name = "dry-hairy-tree", + weight = 1553 + }, + ["dry-tree"] = { + tile_name = "sand-2", + tree_name = "dry-tree", + weight = 1565 + }, + name = "sand-2", + ["tree-02"] = { + tile_name = "sand-2", + tree_name = "tree-02", + weight = 2319 + }, + ["tree-02-red"] = { + tile_name = "sand-2", + tree_name = "tree-02-red", + weight = 1603 + }, + ["tree-03"] = { + tile_name = "sand-2", + tree_name = "tree-03", + weight = 2 + }, + ["tree-04"] = { + tile_name = "sand-2", + tree_name = "tree-04", + weight = 472 + }, + ["tree-05"] = { + tile_name = "sand-2", + tree_name = "tree-05", + weight = 50 + }, + ["tree-06"] = { + tile_name = "sand-2", + tree_name = "tree-06", + weight = 13597 + }, + ["tree-06-brown"] = { + tile_name = "sand-2", + tree_name = "tree-06-brown", + weight = 18656 + }, + ["tree-07"] = { + tile_name = "sand-2", + tree_name = "tree-07", + weight = 4690 + }, + ["tree-08"] = { + tile_name = "sand-2", + tree_name = "tree-08", + weight = 6424 + }, + ["tree-08-brown"] = { + tile_name = "sand-2", + tree_name = "tree-08-brown", + weight = 4469 + }, + ["tree-09"] = { + tile_name = "sand-2", + tree_name = "tree-09", + weight = 5 + }, + ["tree-09-brown"] = { + tile_name = "sand-2", + tree_name = "tree-09-brown", + weight = 69112 + }, + ["tree-09-red"] = { + tile_name = "sand-2", + tree_name = "tree-09-red", + weight = 74298 + } +} +terrains["dirt-3"] = { + ["dry-hairy-tree"] = { + tile_name = "dirt-3", + tree_name = "dry-hairy-tree", + weight = 555 + }, + ["dry-tree"] = { + tile_name = "dirt-3", + tree_name = "dry-tree", + weight = 531 + }, + name = "dirt-3", + ["tree-01"] = { + tile_name = "dirt-3", + tree_name = "tree-01", + weight = 122 + }, + ["tree-02"] = { + tile_name = "dirt-3", + tree_name = "tree-02", + weight = 5576 + }, + ["tree-02-red"] = { + tile_name = "dirt-3", + tree_name = "tree-02-red", + weight = 275002 + }, + ["tree-03"] = { + tile_name = "dirt-3", + tree_name = "tree-03", + weight = 17 + }, + ["tree-04"] = { + tile_name = "dirt-3", + tree_name = "tree-04", + weight = 102600 + }, + ["tree-05"] = { + tile_name = "dirt-3", + tree_name = "tree-05", + weight = 1012 + }, + ["tree-06"] = { + tile_name = "dirt-3", + tree_name = "tree-06", + weight = 221 + }, + ["tree-06-brown"] = { + tile_name = "dirt-3", + tree_name = "tree-06-brown", + weight = 473 + }, + ["tree-07"] = { + tile_name = "dirt-3", + tree_name = "tree-07", + weight = 177 + }, + ["tree-08"] = { + tile_name = "dirt-3", + tree_name = "tree-08", + weight = 577 + }, + ["tree-08-brown"] = { + tile_name = "dirt-3", + tree_name = "tree-08-brown", + weight = 413 + }, + ["tree-09"] = { + tile_name = "dirt-3", + tree_name = "tree-09", + weight = 1823 + }, + ["tree-09-brown"] = { + tile_name = "dirt-3", + tree_name = "tree-09-brown", + weight = 4608 + }, + ["tree-09-red"] = { + tile_name = "dirt-3", + tree_name = "tree-09-red", + weight = 3159 + } +} +terrains["dirt-5"] = { + ["dry-hairy-tree"] = { + tile_name = "dirt-5", + tree_name = "dry-hairy-tree", + weight = 235 + }, + ["dry-tree"] = { + tile_name = "dirt-5", + tree_name = "dry-tree", + weight = 211 + }, + name = "dirt-5", + ["tree-01"] = { + tile_name = "dirt-5", + tree_name = "tree-01", + weight = 492 + }, + ["tree-02"] = { + tile_name = "dirt-5", + tree_name = "tree-02", + weight = 15720 + }, + ["tree-02-red"] = { + tile_name = "dirt-5", + tree_name = "tree-02-red", + weight = 386423 + }, + ["tree-03"] = { + tile_name = "dirt-5", + tree_name = "tree-03", + weight = 73 + }, + ["tree-04"] = { + tile_name = "dirt-5", + tree_name = "tree-04", + weight = 123733 + }, + ["tree-05"] = { + tile_name = "dirt-5", + tree_name = "tree-05", + weight = 2555 + }, + ["tree-06"] = { + tile_name = "dirt-5", + tree_name = "tree-06", + weight = 205 + }, + ["tree-06-brown"] = { + tile_name = "dirt-5", + tree_name = "tree-06-brown", + weight = 425 + }, + ["tree-07"] = { + tile_name = "dirt-5", + tree_name = "tree-07", + weight = 50 + }, + ["tree-08"] = { + tile_name = "dirt-5", + tree_name = "tree-08", + weight = 724 + }, + ["tree-08-brown"] = { + tile_name = "dirt-5", + tree_name = "tree-08-brown", + weight = 416 + }, + ["tree-09"] = { + tile_name = "dirt-5", + tree_name = "tree-09", + weight = 3804 + }, + ["tree-09-brown"] = { + tile_name = "dirt-5", + tree_name = "tree-09-brown", + weight = 1255 + }, + ["tree-09-red"] = { + tile_name = "dirt-5", + tree_name = "tree-09-red", + weight = 1342 + } +} +terrains["dirt-7"] = { + ["dry-hairy-tree"] = { + tile_name = "dirt-7", + tree_name = "dry-hairy-tree", + weight = 167 + }, + ["dry-tree"] = { + tile_name = "dirt-7", + tree_name = "dry-tree", + weight = 153 + }, + name = "dirt-7", + ["tree-01"] = { + tile_name = "dirt-7", + tree_name = "tree-01", + weight = 2205 + }, + ["tree-02"] = { + tile_name = "dirt-7", + tree_name = "tree-02", + weight = 231742 + }, + ["tree-02-red"] = { + tile_name = "dirt-7", + tree_name = "tree-02-red", + weight = 103832 + }, + ["tree-03"] = { + tile_name = "dirt-7", + tree_name = "tree-03", + weight = 51 + }, + ["tree-04"] = { + tile_name = "dirt-7", + tree_name = "tree-04", + weight = 146321 + }, + ["tree-05"] = { + tile_name = "dirt-7", + tree_name = "tree-05", + weight = 13568 + }, + ["tree-06"] = { + tile_name = "dirt-7", + tree_name = "tree-06", + weight = 348 + }, + ["tree-06-brown"] = { + tile_name = "dirt-7", + tree_name = "tree-06-brown", + weight = 387 + }, + ["tree-07"] = { + tile_name = "dirt-7", + tree_name = "tree-07", + weight = 9 + }, + ["tree-08"] = { + tile_name = "dirt-7", + tree_name = "tree-08", + weight = 636 + }, + ["tree-08-brown"] = { + tile_name = "dirt-7", + tree_name = "tree-08-brown", + weight = 501 + }, + ["tree-09"] = { + tile_name = "dirt-7", + tree_name = "tree-09", + weight = 1130 + }, + ["tree-09-brown"] = { + tile_name = "dirt-7", + tree_name = "tree-09-brown", + weight = 433 + }, + ["tree-09-red"] = { + tile_name = "dirt-7", + tree_name = "tree-09-red", + weight = 494 + } +} +terrains["dirt-6"] = { + ["dry-hairy-tree"] = { + tile_name = "dirt-6", + tree_name = "dry-hairy-tree", + weight = 196 + }, + ["dry-tree"] = { + tile_name = "dirt-6", + tree_name = "dry-tree", + weight = 221 + }, + name = "dirt-6", + ["tree-01"] = { + tile_name = "dirt-6", + tree_name = "tree-01", + weight = 1841 + }, + ["tree-02"] = { + tile_name = "dirt-6", + tree_name = "tree-02", + weight = 87839 + }, + ["tree-02-red"] = { + tile_name = "dirt-6", + tree_name = "tree-02-red", + weight = 332276 + }, + ["tree-03"] = { + tile_name = "dirt-6", + tree_name = "tree-03", + weight = 17 + }, + ["tree-04"] = { + tile_name = "dirt-6", + tree_name = "tree-04", + weight = 148120 + }, + ["tree-05"] = { + tile_name = "dirt-6", + tree_name = "tree-05", + weight = 2812 + }, + ["tree-06"] = { + tile_name = "dirt-6", + tree_name = "tree-06", + weight = 196 + }, + ["tree-06-brown"] = { + tile_name = "dirt-6", + tree_name = "tree-06-brown", + weight = 344 + }, + ["tree-07"] = { + tile_name = "dirt-6", + tree_name = "tree-07", + weight = 39 + }, + ["tree-08"] = { + tile_name = "dirt-6", + tree_name = "tree-08", + weight = 536 + }, + ["tree-08-brown"] = { + tile_name = "dirt-6", + tree_name = "tree-08-brown", + weight = 372 + }, + ["tree-09"] = { + tile_name = "dirt-6", + tree_name = "tree-09", + weight = 2526 + }, + ["tree-09-brown"] = { + tile_name = "dirt-6", + tree_name = "tree-09-brown", + weight = 424 + }, + ["tree-09-red"] = { + tile_name = "dirt-6", + tree_name = "tree-09-red", + weight = 831 + } +} +terrains["grass-3"] = { + ["dry-hairy-tree"] = { + tile_name = "grass-3", + tree_name = "dry-hairy-tree", + weight = 350 + }, + ["dry-tree"] = { + tile_name = "grass-3", + tree_name = "dry-tree", + weight = 371 + }, + name = "grass-3", + ["tree-01"] = { + tile_name = "grass-3", + tree_name = "tree-01", + weight = 8639 + }, + ["tree-02"] = { + tile_name = "grass-3", + tree_name = "tree-02", + weight = 475710 + }, + ["tree-02-red"] = { + tile_name = "grass-3", + tree_name = "tree-02-red", + weight = 4063 + }, + ["tree-03"] = { + tile_name = "grass-3", + tree_name = "tree-03", + weight = 5821 + }, + ["tree-04"] = { + tile_name = "grass-3", + tree_name = "tree-04", + weight = 142407 + }, + ["tree-05"] = { + tile_name = "grass-3", + tree_name = "tree-05", + weight = 202162 + }, + ["tree-06"] = { + tile_name = "grass-3", + tree_name = "tree-06", + weight = 353 + }, + ["tree-06-brown"] = { + tile_name = "grass-3", + tree_name = "tree-06-brown", + weight = 596 + }, + ["tree-07"] = { + tile_name = "grass-3", + tree_name = "tree-07", + weight = 41 + }, + ["tree-08"] = { + tile_name = "grass-3", + tree_name = "tree-08", + weight = 557 + }, + ["tree-08-brown"] = { + tile_name = "grass-3", + tree_name = "tree-08-brown", + weight = 698 + }, + ["tree-09"] = { + tile_name = "grass-3", + tree_name = "tree-09", + weight = 12 + }, + ["tree-09-brown"] = { + tile_name = "grass-3", + tree_name = "tree-09-brown", + weight = 966 + }, + ["tree-09-red"] = { + tile_name = "grass-3", + tree_name = "tree-09-red", + weight = 888 + } +} +terrains["grass-1"] = { + ["dry-hairy-tree"] = { + tile_name = "grass-1", + tree_name = "dry-hairy-tree", + weight = 355 + }, + ["dry-tree"] = { + tile_name = "grass-1", + tree_name = "dry-tree", + weight = 317 + }, + name = "grass-1", + ["tree-01"] = { + tile_name = "grass-1", + tree_name = "tree-01", + weight = 13625 + }, + ["tree-02"] = { + tile_name = "grass-1", + tree_name = "tree-02", + weight = 467689 + }, + ["tree-02-red"] = { + tile_name = "grass-1", + tree_name = "tree-02-red", + weight = 2038 + }, + ["tree-03"] = { + tile_name = "grass-1", + tree_name = "tree-03", + weight = 11802 + }, + ["tree-04"] = { + tile_name = "grass-1", + tree_name = "tree-04", + weight = 186950 + }, + ["tree-05"] = { + tile_name = "grass-1", + tree_name = "tree-05", + weight = 360046 + }, + ["tree-06"] = { + tile_name = "grass-1", + tree_name = "tree-06", + weight = 96 + }, + ["tree-06-brown"] = { + tile_name = "grass-1", + tree_name = "tree-06-brown", + weight = 220 + }, + ["tree-07"] = { + tile_name = "grass-1", + tree_name = "tree-07", + weight = 41 + }, + ["tree-08"] = { + tile_name = "grass-1", + tree_name = "tree-08", + weight = 629 + }, + ["tree-08-brown"] = { + tile_name = "grass-1", + tree_name = "tree-08-brown", + weight = 301 + }, + ["tree-09"] = { + tile_name = "grass-1", + tree_name = "tree-09", + weight = 20 + }, + ["tree-09-brown"] = { + tile_name = "grass-1", + tree_name = "tree-09-brown", + weight = 769 + }, + ["tree-09-red"] = { + tile_name = "grass-1", + tree_name = "tree-09-red", + weight = 684 + } +} +terrains["dirt-1"] = { + ["dry-hairy-tree"] = { + tile_name = "dirt-1", + tree_name = "dry-hairy-tree", + weight = 1664 + }, + ["dry-tree"] = { + tile_name = "dirt-1", + tree_name = "dry-tree", + weight = 1690 + }, + name = "dirt-1", + ["tree-02"] = { + tile_name = "dirt-1", + tree_name = "tree-02", + weight = 2257 + }, + ["tree-02-red"] = { + tile_name = "dirt-1", + tree_name = "tree-02-red", + weight = 3610 + }, + ["tree-03"] = { + tile_name = "dirt-1", + tree_name = "tree-03", + weight = 5 + }, + ["tree-04"] = { + tile_name = "dirt-1", + tree_name = "tree-04", + weight = 3764 + }, + ["tree-05"] = { + tile_name = "dirt-1", + tree_name = "tree-05", + weight = 402 + }, + ["tree-06"] = { + tile_name = "dirt-1", + tree_name = "tree-06", + weight = 19 + }, + ["tree-06-brown"] = { + tile_name = "dirt-1", + tree_name = "tree-06-brown", + weight = 118 + }, + ["tree-07"] = { + tile_name = "dirt-1", + tree_name = "tree-07", + weight = 2607 + }, + ["tree-08"] = { + tile_name = "dirt-1", + tree_name = "tree-08", + weight = 184 + }, + ["tree-08-brown"] = { + tile_name = "dirt-1", + tree_name = "tree-08-brown", + weight = 28 + }, + ["tree-09"] = { + tile_name = "dirt-1", + tree_name = "tree-09", + weight = 22 + }, + ["tree-09-brown"] = { + tile_name = "dirt-1", + tree_name = "tree-09-brown", + weight = 41448 + }, + ["tree-09-red"] = { + tile_name = "dirt-1", + tree_name = "tree-09-red", + weight = 50885 + } +} +terrains["grass-4"] = { + ["dry-hairy-tree"] = { + tile_name = "grass-4", + tree_name = "dry-hairy-tree", + weight = 212 + }, + ["dry-tree"] = { + tile_name = "grass-4", + tree_name = "dry-tree", + weight = 201 + }, + name = "grass-4", + ["tree-01"] = { + tile_name = "grass-4", + tree_name = "tree-01", + weight = 3578 + }, + ["tree-02"] = { + tile_name = "grass-4", + tree_name = "tree-02", + weight = 435531 + }, + ["tree-02-red"] = { + tile_name = "grass-4", + tree_name = "tree-02-red", + weight = 29881 + }, + ["tree-03"] = { + tile_name = "grass-4", + tree_name = "tree-03", + weight = 1806 + }, + ["tree-04"] = { + tile_name = "grass-4", + tree_name = "tree-04", + weight = 153326 + }, + ["tree-05"] = { + tile_name = "grass-4", + tree_name = "tree-05", + weight = 73803 + }, + ["tree-06"] = { + tile_name = "grass-4", + tree_name = "tree-06", + weight = 309 + }, + ["tree-06-brown"] = { + tile_name = "grass-4", + tree_name = "tree-06-brown", + weight = 225 + }, + ["tree-07"] = { + tile_name = "grass-4", + tree_name = "tree-07", + weight = 53 + }, + ["tree-08"] = { + tile_name = "grass-4", + tree_name = "tree-08", + weight = 388 + }, + ["tree-08-brown"] = { + tile_name = "grass-4", + tree_name = "tree-08-brown", + weight = 352 + }, + ["tree-09"] = { + tile_name = "grass-4", + tree_name = "tree-09", + weight = 334 + }, + ["tree-09-brown"] = { + tile_name = "grass-4", + tree_name = "tree-09-brown", + weight = 882 + }, + ["tree-09-red"] = { + tile_name = "grass-4", + tree_name = "tree-09-red", + weight = 876 + } +} +terrains["dry-dirt"] = { + ["dry-hairy-tree"] = { + tile_name = "dry-dirt", + tree_name = "dry-hairy-tree", + weight = 1094 + }, + ["dry-tree"] = { + tile_name = "dry-dirt", + tree_name = "dry-tree", + weight = 1151 + }, + name = "dry-dirt", + ["tree-02"] = { + tile_name = "dry-dirt", + tree_name = "tree-02", + weight = 1875 + }, + ["tree-02-red"] = { + tile_name = "dry-dirt", + tree_name = "tree-02-red", + weight = 2909 + }, + ["tree-04"] = { + tile_name = "dry-dirt", + tree_name = "tree-04", + weight = 1197 + }, + ["tree-05"] = { + tile_name = "dry-dirt", + tree_name = "tree-05", + weight = 125 + }, + ["tree-06"] = { + tile_name = "dry-dirt", + tree_name = "tree-06", + weight = 4024 + }, + ["tree-06-brown"] = { + tile_name = "dry-dirt", + tree_name = "tree-06-brown", + weight = 4689 + }, + ["tree-07"] = { + tile_name = "dry-dirt", + tree_name = "tree-07", + weight = 437 + }, + ["tree-08"] = { + tile_name = "dry-dirt", + tree_name = "tree-08", + weight = 3050 + }, + ["tree-08-brown"] = { + tile_name = "dry-dirt", + tree_name = "tree-08-brown", + weight = 1542 + }, + ["tree-09"] = { + tile_name = "dry-dirt", + tree_name = "tree-09", + weight = 20 + }, + ["tree-09-brown"] = { + tile_name = "dry-dirt", + tree_name = "tree-09-brown", + weight = 8528 + }, + ["tree-09-red"] = { + tile_name = "dry-dirt", + tree_name = "tree-09-red", + weight = 9941 + } +} +terrains["sand-1"] = { + ["dry-hairy-tree"] = { + tile_name = "sand-1", + tree_name = "dry-hairy-tree", + weight = 10274 + }, + ["dry-tree"] = { + tile_name = "sand-1", + tree_name = "dry-tree", + weight = 10310 + }, + name = "sand-1", + ["tree-01"] = { + tile_name = "sand-1", + tree_name = "tree-01", + weight = 20 + }, + ["tree-02"] = { + tile_name = "sand-1", + tree_name = "tree-02", + weight = 12319 + }, + ["tree-02-red"] = { + tile_name = "sand-1", + tree_name = "tree-02-red", + weight = 9096 + }, + ["tree-03"] = { + tile_name = "sand-1", + tree_name = "tree-03", + weight = 26 + }, + ["tree-04"] = { + tile_name = "sand-1", + tree_name = "tree-04", + weight = 2018 + }, + ["tree-05"] = { + tile_name = "sand-1", + tree_name = "tree-05", + weight = 1123 + }, + ["tree-06"] = { + tile_name = "sand-1", + tree_name = "tree-06", + weight = 33971 + }, + ["tree-06-brown"] = { + tile_name = "sand-1", + tree_name = "tree-06-brown", + weight = 46980 + }, + ["tree-07"] = { + tile_name = "sand-1", + tree_name = "tree-07", + weight = 3933 + }, + ["tree-08"] = { + tile_name = "sand-1", + tree_name = "tree-08", + weight = 37953 + }, + ["tree-08-brown"] = { + tile_name = "sand-1", + tree_name = "tree-08-brown", + weight = 29880 + }, + ["tree-09"] = { + tile_name = "sand-1", + tree_name = "tree-09", + weight = 8 + }, + ["tree-09-brown"] = { + tile_name = "sand-1", + tree_name = "tree-09-brown", + weight = 69214 + }, + ["tree-09-red"] = { + tile_name = "sand-1", + tree_name = "tree-09-red", + weight = 75344 + } +} +terrains["dirt-2"] = { + ["dry-hairy-tree"] = { + tile_name = "dirt-2", + tree_name = "dry-hairy-tree", + weight = 1065 + }, + ["dry-tree"] = { + tile_name = "dirt-2", + tree_name = "dry-tree", + weight = 1059 + }, + name = "dirt-2", + ["tree-01"] = { + tile_name = "dirt-2", + tree_name = "tree-01", + weight = 32 + }, + ["tree-02"] = { + tile_name = "dirt-2", + tree_name = "tree-02", + weight = 6353 + }, + ["tree-02-red"] = { + tile_name = "dirt-2", + tree_name = "tree-02-red", + weight = 72448 + }, + ["tree-03"] = { + tile_name = "dirt-2", + tree_name = "tree-03", + weight = 38 + }, + ["tree-04"] = { + tile_name = "dirt-2", + tree_name = "tree-04", + weight = 32158 + }, + ["tree-05"] = { + tile_name = "dirt-2", + tree_name = "tree-05", + weight = 1067 + }, + ["tree-06"] = { + tile_name = "dirt-2", + tree_name = "tree-06", + weight = 155 + }, + ["tree-06-brown"] = { + tile_name = "dirt-2", + tree_name = "tree-06-brown", + weight = 104 + }, + ["tree-07"] = { + tile_name = "dirt-2", + tree_name = "tree-07", + weight = 788 + }, + ["tree-08"] = { + tile_name = "dirt-2", + tree_name = "tree-08", + weight = 300 + }, + ["tree-08-brown"] = { + tile_name = "dirt-2", + tree_name = "tree-08-brown", + weight = 189 + }, + ["tree-09"] = { + tile_name = "dirt-2", + tree_name = "tree-09", + weight = 699 + }, + ["tree-09-brown"] = { + tile_name = "dirt-2", + tree_name = "tree-09-brown", + weight = 14492 + }, + ["tree-09-red"] = { + tile_name = "dirt-2", + tree_name = "tree-09-red", + weight = 14093 + } +} +terrains["red-desert-3"] = { + ["dry-hairy-tree"] = { + tile_name = "red-desert-3", + tree_name = "dry-hairy-tree", + weight = 325 + }, + ["dry-tree"] = { + tile_name = "red-desert-3", + tree_name = "dry-tree", + weight = 289 + }, + name = "red-desert-3", + ["tree-01"] = { + tile_name = "red-desert-3", + tree_name = "tree-01", + weight = 2 + }, + ["tree-02"] = { + tile_name = "red-desert-3", + tree_name = "tree-02", + weight = 269 + }, + ["tree-02-red"] = { + tile_name = "red-desert-3", + tree_name = "tree-02-red", + weight = 181 + }, + ["tree-04"] = { + tile_name = "red-desert-3", + tree_name = "tree-04", + weight = 120 + }, + ["tree-05"] = { + tile_name = "red-desert-3", + tree_name = "tree-05", + weight = 193 + }, + ["tree-06"] = { + tile_name = "red-desert-3", + tree_name = "tree-06", + weight = 642 + }, + ["tree-06-brown"] = { + tile_name = "red-desert-3", + tree_name = "tree-06-brown", + weight = 1067 + }, + ["tree-07"] = { + tile_name = "red-desert-3", + tree_name = "tree-07", + weight = 25 + }, + ["tree-08"] = { + tile_name = "red-desert-3", + tree_name = "tree-08", + weight = 1145 + }, + ["tree-08-brown"] = { + tile_name = "red-desert-3", + tree_name = "tree-08-brown", + weight = 475 + }, + ["tree-09"] = { + tile_name = "red-desert-3", + tree_name = "tree-09", + weight = 2 + }, + ["tree-09-brown"] = { + tile_name = "red-desert-3", + tree_name = "tree-09-brown", + weight = 566 + }, + ["tree-09-red"] = { + tile_name = "red-desert-3", + tree_name = "tree-09-red", + weight = 505 + } +} +terrains["grass-2"] = { + ["dry-hairy-tree"] = { + tile_name = "grass-2", + tree_name = "dry-hairy-tree", + weight = 56 + }, + ["dry-tree"] = { + tile_name = "grass-2", + tree_name = "dry-tree", + weight = 62 + }, + name = "grass-2", + ["tree-01"] = { + tile_name = "grass-2", + tree_name = "tree-01", + weight = 2398 + }, + ["tree-02"] = { + tile_name = "grass-2", + tree_name = "tree-02", + weight = 146175 + }, + ["tree-02-red"] = { + tile_name = "grass-2", + tree_name = "tree-02-red", + weight = 9612 + }, + ["tree-03"] = { + tile_name = "grass-2", + tree_name = "tree-03", + weight = 1743 + }, + ["tree-04"] = { + tile_name = "grass-2", + tree_name = "tree-04", + weight = 57088 + }, + ["tree-05"] = { + tile_name = "grass-2", + tree_name = "tree-05", + weight = 53030 + }, + ["tree-06"] = { + tile_name = "grass-2", + tree_name = "tree-06", + weight = 45 + }, + ["tree-06-brown"] = { + tile_name = "grass-2", + tree_name = "tree-06-brown", + weight = 100 + }, + ["tree-08"] = { + tile_name = "grass-2", + tree_name = "tree-08", + weight = 47 + }, + ["tree-08-brown"] = { + tile_name = "grass-2", + tree_name = "tree-08-brown", + weight = 38 + }, + ["tree-09"] = { + tile_name = "grass-2", + tree_name = "tree-09", + weight = 80 + }, + ["tree-09-brown"] = { + tile_name = "grass-2", + tree_name = "tree-09-brown", + weight = 60 + }, + ["tree-09-red"] = { + tile_name = "grass-2", + tree_name = "tree-09-red", + weight = 200 + } +} +terrains["red-desert-0"] = { + ["dry-hairy-tree"] = { + tile_name = "red-desert-0", + tree_name = "dry-hairy-tree", + weight = 27 + }, + ["dry-tree"] = { + tile_name = "red-desert-0", + tree_name = "dry-tree", + weight = 32 + }, + name = "red-desert-0", + ["tree-01"] = { + tile_name = "red-desert-0", + tree_name = "tree-01", + weight = 640 + }, + ["tree-02"] = { + tile_name = "red-desert-0", + tree_name = "tree-02", + weight = 62183 + }, + ["tree-02-red"] = { + tile_name = "red-desert-0", + tree_name = "tree-02-red", + weight = 80789 + }, + ["tree-03"] = { + tile_name = "red-desert-0", + tree_name = "tree-03", + weight = 5 + }, + ["tree-04"] = { + tile_name = "red-desert-0", + tree_name = "tree-04", + weight = 42156 + }, + ["tree-05"] = { + tile_name = "red-desert-0", + tree_name = "tree-05", + weight = 5046 + }, + ["tree-06"] = { + tile_name = "red-desert-0", + tree_name = "tree-06", + weight = 64 + }, + ["tree-06-brown"] = { + tile_name = "red-desert-0", + tree_name = "tree-06-brown", + weight = 75 + }, + ["tree-08"] = { + tile_name = "red-desert-0", + tree_name = "tree-08", + weight = 142 + }, + ["tree-08-brown"] = { + tile_name = "red-desert-0", + tree_name = "tree-08-brown", + weight = 13 + }, + ["tree-09"] = { + tile_name = "red-desert-0", + tree_name = "tree-09", + weight = 917 + }, + ["tree-09-brown"] = { + tile_name = "red-desert-0", + tree_name = "tree-09-brown", + weight = 42 + }, + ["tree-09-red"] = { + tile_name = "red-desert-0", + tree_name = "tree-09-red", + weight = 103 + } +} +terrains["red-desert-2"] = { + ["dry-hairy-tree"] = { + tile_name = "red-desert-2", + tree_name = "dry-hairy-tree", + weight = 252 + }, + ["dry-tree"] = { + tile_name = "red-desert-2", + tree_name = "dry-tree", + weight = 291 + }, + name = "red-desert-2", + ["tree-02"] = { + tile_name = "red-desert-2", + tree_name = "tree-02", + weight = 103 + }, + ["tree-02-red"] = { + tile_name = "red-desert-2", + tree_name = "tree-02-red", + weight = 111 + }, + ["tree-04"] = { + tile_name = "red-desert-2", + tree_name = "tree-04", + weight = 42 + }, + ["tree-05"] = { + tile_name = "red-desert-2", + tree_name = "tree-05", + weight = 2 + }, + ["tree-06"] = { + tile_name = "red-desert-2", + tree_name = "tree-06", + weight = 1229 + }, + ["tree-06-brown"] = { + tile_name = "red-desert-2", + tree_name = "tree-06-brown", + weight = 1398 + }, + ["tree-07"] = { + tile_name = "red-desert-2", + tree_name = "tree-07", + weight = 270 + }, + ["tree-08"] = { + tile_name = "red-desert-2", + tree_name = "tree-08", + weight = 607 + }, + ["tree-08-brown"] = { + tile_name = "red-desert-2", + tree_name = "tree-08-brown", + weight = 625 + }, + ["tree-09-brown"] = { + tile_name = "red-desert-2", + tree_name = "tree-09-brown", + weight = 4130 + }, + ["tree-09-red"] = { + tile_name = "red-desert-2", + tree_name = "tree-09-red", + weight = 5207 + } +} +terrains["dirt-4"] = { + ["dry-hairy-tree"] = { + tile_name = "dirt-4", + tree_name = "dry-hairy-tree", + weight = 570 + }, + ["dry-tree"] = { + tile_name = "dirt-4", + tree_name = "dry-tree", + weight = 671 + }, + name = "dirt-4", + ["tree-01"] = { + tile_name = "dirt-4", + tree_name = "tree-01", + weight = 2 + }, + ["tree-02"] = { + tile_name = "dirt-4", + tree_name = "tree-02", + weight = 1239 + }, + ["tree-02-red"] = { + tile_name = "dirt-4", + tree_name = "tree-02-red", + weight = 60007 + }, + ["tree-04"] = { + tile_name = "dirt-4", + tree_name = "tree-04", + weight = 16241 + }, + ["tree-06"] = { + tile_name = "dirt-4", + tree_name = "tree-06", + weight = 1030 + }, + ["tree-06-brown"] = { + tile_name = "dirt-4", + tree_name = "tree-06-brown", + weight = 1362 + }, + ["tree-07"] = { + tile_name = "dirt-4", + tree_name = "tree-07", + weight = 682 + }, + ["tree-08"] = { + tile_name = "dirt-4", + tree_name = "tree-08", + weight = 869 + }, + ["tree-08-brown"] = { + tile_name = "dirt-4", + tree_name = "tree-08-brown", + weight = 659 + }, + ["tree-09"] = { + tile_name = "dirt-4", + tree_name = "tree-09", + weight = 729 + }, + ["tree-09-brown"] = { + tile_name = "dirt-4", + tree_name = "tree-09-brown", + weight = 12700 + }, + ["tree-09-red"] = { + tile_name = "dirt-4", + tree_name = "tree-09-red", + weight = 11191 + } +} +terrains["red-desert-1"] = { + ["dry-hairy-tree"] = { + tile_name = "red-desert-1", + tree_name = "dry-hairy-tree", + weight = 304 + }, + ["dry-tree"] = { + tile_name = "red-desert-1", + tree_name = "dry-tree", + weight = 263 + }, + name = "red-desert-1", + ["tree-02"] = { + tile_name = "red-desert-1", + tree_name = "tree-02", + weight = 251 + }, + ["tree-02-red"] = { + tile_name = "red-desert-1", + tree_name = "tree-02-red", + weight = 341 + }, + ["tree-04"] = { + tile_name = "red-desert-1", + tree_name = "tree-04", + weight = 103 + }, + ["tree-05"] = { + tile_name = "red-desert-1", + tree_name = "tree-05", + weight = 60 + }, + ["tree-06"] = { + tile_name = "red-desert-1", + tree_name = "tree-06", + weight = 819 + }, + ["tree-06-brown"] = { + tile_name = "red-desert-1", + tree_name = "tree-06-brown", + weight = 1298 + }, + ["tree-07"] = { + tile_name = "red-desert-1", + tree_name = "tree-07", + weight = 327 + }, + ["tree-08"] = { + tile_name = "red-desert-1", + tree_name = "tree-08", + weight = 587 + }, + ["tree-08-brown"] = { + tile_name = "red-desert-1", + tree_name = "tree-08-brown", + weight = 415 + }, + ["tree-09-brown"] = { + tile_name = "red-desert-1", + tree_name = "tree-09-brown", + weight = 7565 + }, + ["tree-09-red"] = { + tile_name = "red-desert-1", + tree_name = "tree-09-red", + weight = 8269 + } +} + +return terrains diff --git a/Bio_Industries_2/libs/util_ext.lua b/Bio_Industries_2/libs/util_ext.lua index be73d1a..c8f9574 100644 --- a/Bio_Industries_2/libs/util_ext.lua +++ b/Bio_Industries_2/libs/util_ext.lua @@ -1,142 +1,142 @@ - ---- Utils for grouping -function group_entities(entity_list) - return group_entities(nil, entity_list) -end - -function group_entities(entity_groupid, entity_list) - return group("entities", entity_groupid, entity_list) -end - -function getGroup_entities(entity_groupid) - return getGroup("entities", entity_groupid) -end - -function getGroup_entities_by_member(entity_id) - return getGroup_byMember("entities", entity_id) -end - -function ungroup_entities(entity_groupid) - return ungroup("entities", entity_groupid) -end - - -------------------------------------------------------------------- --- Grouping --- -function group(index_id, group_id, members) - _init_group(index_id, group_id) - - if index_id == nil then - index_id = "default" - end - - if group_id then - for ix, vx in ipairs(members) do - _addto_group(index_id, group_id, vx) - end - return group_id - else - -- no GID, then assign one - return group(index_id, _new_group(index_id), members) - end -end - -function getGroup(index_id, group_id) - _init_group(index_id, group_id) - - if group_id then - return _get_group(index_id, group_id) - else - return nil - end -end - -function getGroup_byMember(index_id, group_id, member_id) - _init_group(index_id, group_id) - - if member_id then - return _of_group(index_id, group_id, entity_id) - else - return nil - end -end - -function ungroup(index_id, group_id) - _init_group(index_id, group_id) - - if group_id then - return _clear_group(index_id, group_id) - else - return false - end -end -------------------------------------------------------------------- -function _init_group(index_id) - if not storage.group then - storage.group = {} - end - if not storage.group.default then - storage.group.default = {} - end - if index_id and not storage.group[index_id] then - -- don't care if they name their group "default" - storage.group[index_id] = {} - end -end - -function _new_group(index_id) - local group_id_n = 0 - local group_id_r = nil - - while group_id_r == nil do - local group_id_x = "gid-" .. (group_id_n + #storage.group[index_id]) - if storage.group[index_id][group_id_x] then - -- collision - group_id_n = group_id_n + 1 - else - group_id_r = group_id_x - end - end - - return group_id_r -end - -function _addto_group(index_id, group_id, member_id) - if storage.group[index_id] then - if not storage.group[index_id][group_id] then - storage.group[index_id][group_id] = {} - end - end - - table.insert(storage.group[index_id][group_id], member_id) -end - -function _get_group(index_id, group_id) - return storage.group[index_id][group_id] -end - -function _of_group(index_id, member_id) - --full scan - for kx, vx in pairs(storage.group[index_id]) do - for ky, vy in pairs(vx) do - if member_id == vy then - return vx - end - end - end - return nil -end - -function _clear_group(index_id, group_id) - storage.group[index_id][group_id] = nil -end -------------------------------------------------------------------- - -------------------------------------------------------------------- --- Cantor Hash -------------------------------------------------------------------- -function cantor(k1, k2) - return (0.5 * (k1+k2) * (k1+k2+1) + k2) -end -------------------------------------------------------------------- + +--- Utils for grouping +function group_entities(entity_list) + return group_entities(nil, entity_list) +end + +function group_entities(entity_groupid, entity_list) + return group("entities", entity_groupid, entity_list) +end + +function getGroup_entities(entity_groupid) + return getGroup("entities", entity_groupid) +end + +function getGroup_entities_by_member(entity_id) + return getGroup_byMember("entities", entity_id) +end + +function ungroup_entities(entity_groupid) + return ungroup("entities", entity_groupid) +end + + +------------------------------------------------------------------- +-- Grouping +-- +function group(index_id, group_id, members) + _init_group(index_id, group_id) + + if index_id == nil then + index_id = "default" + end + + if group_id then + for ix, vx in ipairs(members) do + _addto_group(index_id, group_id, vx) + end + return group_id + else + -- no GID, then assign one + return group(index_id, _new_group(index_id), members) + end +end + +function getGroup(index_id, group_id) + _init_group(index_id, group_id) + + if group_id then + return _get_group(index_id, group_id) + else + return nil + end +end + +function getGroup_byMember(index_id, group_id, member_id) + _init_group(index_id, group_id) + + if member_id then + return _of_group(index_id, group_id, entity_id) + else + return nil + end +end + +function ungroup(index_id, group_id) + _init_group(index_id, group_id) + + if group_id then + return _clear_group(index_id, group_id) + else + return false + end +end +------------------------------------------------------------------- +function _init_group(index_id) + if not storage.group then + storage.group = {} + end + if not storage.group.default then + storage.group.default = {} + end + if index_id and not storage.group[index_id] then + -- don't care if they name their group "default" + storage.group[index_id] = {} + end +end + +function _new_group(index_id) + local group_id_n = 0 + local group_id_r = nil + + while group_id_r == nil do + local group_id_x = "gid-" .. (group_id_n + #storage.group[index_id]) + if storage.group[index_id][group_id_x] then + -- collision + group_id_n = group_id_n + 1 + else + group_id_r = group_id_x + end + end + + return group_id_r +end + +function _addto_group(index_id, group_id, member_id) + if storage.group[index_id] then + if not storage.group[index_id][group_id] then + storage.group[index_id][group_id] = {} + end + end + + table.insert(storage.group[index_id][group_id], member_id) +end + +function _get_group(index_id, group_id) + return storage.group[index_id][group_id] +end + +function _of_group(index_id, member_id) + --full scan + for kx, vx in pairs(storage.group[index_id]) do + for ky, vy in pairs(vx) do + if member_id == vy then + return vx + end + end + end + return nil +end + +function _clear_group(index_id, group_id) + storage.group[index_id][group_id] = nil +end +------------------------------------------------------------------- + +------------------------------------------------------------------- +-- Cantor Hash +------------------------------------------------------------------- +function cantor(k1, k2) + return (0.5 * (k1+k2) * (k1+k2+1) + k2) +end +------------------------------------------------------------------- diff --git a/Bio_Industries_2/locale/de/de.zip b/Bio_Industries_2/locale/de/de.zip deleted file mode 100644 index 2c67f96..0000000 Binary files a/Bio_Industries_2/locale/de/de.zip and /dev/null differ diff --git a/Bio_Industries_2/locale/de/entity-description.cfg b/Bio_Industries_2/locale/de/entity-description.cfg index 9c7f50d..b052e2c 100644 --- a/Bio_Industries_2/locale/de/entity-description.cfg +++ b/Bio_Industries_2/locale/de/entity-description.cfg @@ -2,7 +2,7 @@ ## Produktion bi-arboretum=Ein __ENTITY__bi-arboretum__ kann die Bodenfertilität im Umkreis verbessern und Bäume anpflanzen. bi-bio-farm=In der __ENTITY__bi-bio-farm__ wachsen __ENTITY__seedling__e zu Bäumen heran und werden gleich zu __ITEM__wood__ und __ITEM__bi-woodpulp__ verarbeitet. Tagsüber deckt ein integriertes Solarpanel einen Teil des Strombedarfs. -bi-bio-garden=Der __ENTITY__bi-bio-garden__ reinigt die Luft und absorbiert Schadstoffe.\n(Ein __ENTITY__bi-bio-garden__ kann pro Sekunde 45 Schadstoffeinheiten absorbieren — etwa so viel wie 1500 Bäume!) +bi-bio-garden=Der __ENTITY__bi-bio-garden__ reinigt die Luft und absorbiert Schadstoffe.\n(Ein __ENTITY__bi-bio-garden__ kann pro Sekunde 1.5 Schadstoffeinheiten absorbieren — etwa so viel wie 1500 Bäume!) bi-bio-greenhouse=Im __ENTITY__bi-bio-greenhouse__ werden __ENTITY__seedling__e gezüchtet. seedling=Ein junger Baum, der in der __ENTITY__bi-bio-farm__ zu __ITEM__wood__ und __ITEM__bi-woodpulp__ verarbeitet wird, sobald er ausgewachsen ist. Du kannst ihn auch direkt in die Erde pflanzen und dabei zusehen, wie er in der freien Natur zu einem großen Baum heranwächst. \nHinweis: Die __ENTITY__seedling__e wachsen besser, wenn du vorher den Boden düngst! diff --git a/Bio_Industries_2/locale/de/recipe-description.cfg.bak b/Bio_Industries_2/locale/de/recipe-description.cfg.bak deleted file mode 100644 index 0352ecc..0000000 --- a/Bio_Industries_2/locale/de/recipe-description.cfg.bak +++ /dev/null @@ -1,102 +0,0 @@ -[recipe-description] -bi-acid=Man braucht kein Öl, um Schwefelsäure zu gewinnen — es geht auch mit nachwachsenden Ressourcen! -bi-adv-fertiliser-1=__ITEM__bi-adv-fertiliser__ (__ITEM__alien-artifact__) -bi-adv-fertiliser-2=__ITEM__bi-adv-fertiliser__ -bi-fertiliser-1=__ITEM__fertiliser__ -bi-fertiliser-2=__ITEM__fertiliser__ (mit Natriumhydroxid) - -#~ bi-arboretum-r1=Bäume pflanzen -#~ bi-arboretum-r2=Gelände verändern (__ITEM__fertiliser__) -#~ bi-arboretum-r3=Gelände verändern (__ITEM__bi-adv-fertiliser__)y -#~ bi-arboretum-r4=Gelände verändern & Bäume pflanzen (__ITEM__fertiliser__) -#~ bi-arboretum-r5=Gelände verändern & Bäume pflanzen (__ITEM__bi-adv-fertiliser__) -#~ bi-arboretum-r-fertilise+plant=Düngt den Boden und pflanzt Bäume, sobald der Radar einen Sektor vollständig abgetastet hat. -#~ bi-arboretum-r-fertilise=Düngt den Boden, sobald der Radar einen Sektor vollständig abgetastet hat. -bi-arboretum-r1=Pflanzt Bäume, sobald der Radar einen Sektor vollständig abgetastet hat. -bi-arboretum-r2=Düngt den Boden, sobald der Radar einen Sektor vollständig abgetastet hat. -bi-arboretum-r3=Düngt den Boden, sobald der Radar einen Sektor vollständig abgetastet hat. -bi-arboretum-r4=Düngt den Boden und pflanzt Bäume, sobald der Radar einen Sektor vollständig abgetastet hat. -bi-arboretum-r5=Düngt den Boden und pflanzt Bäume, sobald der Radar einen Sektor vollständig abgetastet hat. - -bi-ash-1=__ITEM__bi-ash__ aus __ITEM__wood__ -bi-ash-2=__ITEM__bi-ash__ aus __ITEM__bi-woodpulp__ -bi-basic-gas-processing=Flüssiggas aus __ITEM__coal__ und __ITEM__resin__ -#~ bi-basic-pumpjack-disassemble=Demontage: Brennerflüssigkeitspumpe - -#~ bi-battery=Bio-Batterie - -bi-biomass-1=Nimm __ITEM__fertiliser__, vermische es mit Wasser — und fertig ist die erste Biomasse! -bi-biomass-2=Vermische etwas Biomasse mit Wasser und Flüssigluft, damit sie sich vermehrt! -bi-biomass-3=Durch Zugabe von __ITEM__bi-ash__ lässt sich in kurzer Zeit ein Vielfaches an Biomasse herstellen! - -bi-biomass-conversion-1=Stelle __ITEM__bi-cellulose__ und Leichtöl aus Biomasse her! -bi-biomass-conversion-2=Stelle Flüssiggas aus Biomasse her! -bi-biomass-conversion-3=Stelle Schmiermittel aus Biomasse her! -bi-biomass-conversion-4=Stelle Rohöl und Wasser/Schwefelhaltiges Wasser aus Biomasse her! - -bi-disassemble-recipes=Ein Teil der Materialien kann wiederverwendet werden. - -#~ bi-burner-inserter-disassemble=__ENTITY__burner-inserter__ zerlegen -#~ bi-burner-mining-drill-disassemble=__ENTITY__burner-mining-drill__ zerlegen - -bi-cellulose-1=Produktion von __ITEM__bi-cellulose__ (einfach) -bi-cellulose-2=Produktion von __ITEM__bi-cellulose__ (verbessert) -bi-charcoal-1=__ITEM__wood-charcoal__ aus __ITEM__bi-woodpulp__ -bi-charcoal-2=__ITEM__wood-charcoal__ aus __ITEM__wood__ -bi-coal-1=Produktion von __ITEM__coal__ (einfach) -bi-coal-2=Produktion von __ITEM__coal__ (verbessert) -bi-coke-coal=__ITEM__pellet-coke__ aus __ITEM__coal__ - -bi-crushed-stone-1=__ITEM__stone-crushed__ aus __ITEM__stone__ -bi-crushed-stone-2=__ITEM__stone-crushed__ aus __ITEM__concrete__ -bi-crushed-stone-3=__ITEM__stone-crushed__ aus __ITEM__hazard-concrete__ -bi-crushed-stone-4=__ITEM__stone-crushed__ aus __ITEM__refined-concrete__ -bi-crushed-stone-5=__ITEM__stone-crushed__ aus __ITEM__refined-hazard-concrete__ - -#~ bi-liquid-air=Flüssigluft - -bi-logs-1=Bekommt er ordentlich Wasser, wächst aus einem Setzling ein Baum, der gleich zu __ITEM__wood__ und __ITEM__bi-woodpulp__ verarbeitet wird. -bi-logs-2=__ITEM__bi-ash__ beschleunigt das Wachstum. -bi-logs-3=__ITEM__fertiliser__ ist wohl gesund für Pflanzen – jedenfalls wachsen die Bäume damit noch schneller heran. -bi-logs-4=Hier wird __ITEM__bi-adv-fertiliser__ eingesetzt. Muss ich noch mehr sagen? - -bi-seed-1=Man braucht nicht viel mehr als __ITEM__wood__ und Wasser, um an __ITEM__bi-seed__ zu kommen. -bi-seed-2=Durch Zugabe von __ITEM__bi-ash__ erzielt man in kürzerer Zeit höhere Erträge. -bi-seed-3=Mit __ITEM__fertiliser__ erhält man noch viel mehr __ITEM__bi-seed__. -bi-seed-4=__ITEM__bi-adv-fertiliser__ – für die Superproduktion von __ITEM__bi-seed__! - -bi-seedling-1=Mit etwas Wasser wächst aus __ITEM__bi-seed__ ein __ENTITY__seedling__ heran. -bi-seedling-2=__ITEM__bi-ash__ verbessert das Wachstum. -bi-seedling-3=Wer seine Produktion steigern will, kommt nicht an __ITEM__fertiliser__ vorbei! -bi-seedling-4=__ITEM__bi-adv-fertiliser__ macht Supererträge bei der Produktion von __ENTITY__seedling__ möglich! - -bi-seed-bomb-advanced=Pflanze Bäume in einem großen Radius mittels einer Samenbombe (__ITEM__bi-adv-fertiliser__)! -bi-seed-bomb-basic=Pflanze Bäume in einem großen Radius mittels einer Samenbombe! -bi-seed-bomb-standard=Pflanze Bäume in einem großen Radius mittels einer Samenbombe (__ITEM__fertiliser__)! - -#~ bi-long-handed-inserter-disassemble=__ENTITY__long-handed-inserter__ zerlegen -#~ bi-mineralized-sulfuric-waste=Mineralized water & sulfuric waste from crushed stone, charcoal and pure water - -bi-pellet-coke=__ITEM__pellet-coke__ aus __ITEM__solid-fuel__ -bi-pellet-coke-2=__ITEM__pellet-coke__ aus Kohlenstoff -bi-plastic-1=Bio-__ITEM__plastic-bar__ aus __ITEM__wood__ -bi-plastic-2=Bio-__ITEM__plastic-bar__ aus __ITEM__bi-cellulose__ - -bi-purified-air-1=__ITEM__bi-purified-air__ (__ITEM__fertiliser__) -bi-purified-air-2=__ITEM__bi-purified-air__ (__ITEM__bi-adv-fertiliser__) - -bi-resin-pulp=__ITEM__resin__ aus __ITEM__bi-woodpulp__ -bi-resin-wood=__ITEM__resin__ aus __ITEM__wood__ - -bi-solid-fuel=__ITEM__solid-fuel__ aus __ITEM__wood-bricks__ -#~ bi-steel-furnace-disassemble=__ENTITY__steel-furnace__ zerlegen -#~ bi-stone-brick=Bio-__ITEM__stone-brick__ - -#~ bi-stone-furnace-disassemble=__ENTITY__stone-furnace__ zerlegen -bi-sulfur-angels=Bio-__ITEM__sulfur__ -bi-sulfur=Bio-__ITEM__sulfur__ -bi-wood-from-pulp=__ITEM__wood__ aus __ITEM__bi-woodpulp__ -bi-rail-wood-to-concrete=__ENTITY__bi-rail-wood__ aufwerten - -bi-slag-slurry=Slag slurry from ash, crushed stone and saline water -bi-sand=__ITEM__sand__ from __ITEM__stone-crushed__ diff --git a/Bio_Industries_2/locale/en/entity-description.cfg b/Bio_Industries_2/locale/en/entity-description.cfg index 2a47245..5ed3083 100644 --- a/Bio_Industries_2/locale/en/entity-description.cfg +++ b/Bio_Industries_2/locale/en/entity-description.cfg @@ -2,7 +2,9 @@ ## Production bi-arboretum=__ENTITY__bi-arboretum__s change the surrounding terrain with fertilizer or plant trees. bi-bio-farm=__ENTITY__bi-bio-farm__s are where __ENTITY__seedling__s grow into trees that are processed to __ITEM__wood__ and __ITEM__bi-woodpulp__. An integrated solar panel provides some of the energy during the day. -bi-bio-garden=The __ENTITY__bi-bio-garden__ scrubs pollution from the air. (One bio garden can absorb 45 pollution units per second — as much as 1500 trees!) +bi-bio-garden=The __ENTITY__bi-bio-garden__ scrubs pollution from the air. (One bio garden can absorb 1.5 pollution units per second — as much as 1500 trees!) +bi-bio-garden-large=The __ENTITY__bi-bio-garden__ scrubs pollution from the air. (One bio garden can absorb 12 pollution units per second — as much as 12,000 trees!) +bi-bio-garden-huge=The __ENTITY__bi-bio-garden__ scrubs pollution from the air. (One bio garden can absorb 96 pollution units per second — as much as 96,000 trees!) bi-bio-greenhouse=Just the right place to grow __ITEM__bi-seed__s and __ENTITY__seedling__s! seedling=A young tree, perfect for planting. You can also plant this in the ground and it will grow into a tree. Remember to first fertilize the ground to improve the chances of it growing! diff --git a/Bio_Industries_2/locale/en/entity-name.cfg b/Bio_Industries_2/locale/en/entity-name.cfg index 9b74139..2889bc2 100644 --- a/Bio_Industries_2/locale/en/entity-name.cfg +++ b/Bio_Industries_2/locale/en/entity-name.cfg @@ -5,8 +5,8 @@ bi-arboretum-hidden-radar=__ENTITY__bi-arboretum__ (__ENTITY__radar__) bi-bio-farm=Bio farm bi-bio-garden=Bio garden -bi-bio-garden-large=Large bio garden -bi-bio-garden-huge=Huge bio garden +bi-bio-garden-large=Large Bio garden +bi-bio-garden-huge=Huge Bio garden bi-bio-greenhouse=Bio nursery seedling=Sapling @@ -34,6 +34,10 @@ bi-power-to-rail-pole=Powered rails connector bi-rail-power=Powered rails bi-rail-wood-bridge=Wooden rail bridge bi-rail-wood=Wooden rails +bi-straight-rail-wood=Wooden rails +bi-curved-rail-a-wood=Wooden rails +bi-curved-rail-b-wood=Wooden rails +bi-half-diagonal-rail-wood=Wooden rails rail-remnants-wood-bridge=Remnants of a wooden rail bridge rail-remnants-wood=Remnants of wooden rails diff --git a/Bio_Industries_2/locale/en/item-description.cfg b/Bio_Industries_2/locale/en/item-description.cfg index d39b750..00bb490 100644 --- a/Bio_Industries_2/locale/en/item-description.cfg +++ b/Bio_Industries_2/locale/en/item-description.cfg @@ -53,4 +53,7 @@ wood=Base your energy production on this renewable resource!\nPlease note: There ## Compatibility with other mods #~ sand=__ITEM__sand__ -sand = +sand= Sand + +## Rail stuff +bi-rail-wood=Wooden rails \ No newline at end of file diff --git a/Bio_Industries_2/locale/en/item-name.cfg b/Bio_Industries_2/locale/en/item-name.cfg index 856149c..ac49890 100644 --- a/Bio_Industries_2/locale/en/item-name.cfg +++ b/Bio_Industries_2/locale/en/item-name.cfg @@ -52,3 +52,7 @@ wood-charcoal=Charcoal ## Compatibility with other mods sand=Sand slag=Slag + + +## Rail stuff +bi-rail-wood=Wooden rails diff --git a/Bio_Industries_2/locale/en/locale.cfg.bak b/Bio_Industries_2/locale/en/locale.cfg.bak deleted file mode 100644 index 61fe609..0000000 --- a/Bio_Industries_2/locale/en/locale.cfg.bak +++ /dev/null @@ -1,569 +0,0 @@ -[mod-setting-name] -BI_Bio_Cannon=Enable: Prototype Artillery -BI_Bio_Fuel=Enable: Bio fuel production -BI_Game_Tweaks_Bot=Game tweaks: Bots -BI_Game_Tweaks_Disassemble=Game tweaks: Disassemble recipes -BI_Game_Tweaks_Emissions_Multiplier=Game tweaks: Fuel emission multipliers -BI_Game_Tweaks_Player=Game tweaks: Player -BI_Game_Tweaks_Recipe=Game tweaks: Recipe -BI_Game_Tweaks_Stack_Size=Game tweaks: Stack size -BI_Game_Tweaks_Tree=Game tweaks: Tree yield -BI_Game_Tweaks_Small_Tree_Collisionbox=Game tweaks: Smaller collision boxes for trees -BI_Game_Tweaks_Production_Science=Game tweaks: Alternative recipe for __ITEM__production-science-pack__ -#~ BI_Hide_musk_floor_in_mapview=Hide electric grid overlay for Musk floor in map view -BI_Show_musk_floor_in_mapview=Enable: Electric grid overlay for __ENTITY__bi-solar-mat__ in map view -BI_Solar_Additions=Enable: Bio solar additions -BI_Enable_gvv_support=Compatibility: Add support for GVV - - -[mod-setting-description] -BI_Bio_Cannon=The Prototype artillery is very powerful, but will only fire at spawners -BI_Bio_Fuel=Enables the production of oil products using bio fuels -BI_Game_Tweaks_Bot=Bots can't be mined or catch fire -BI_Game_Tweaks_Disassemble=Allow some disassemble recipes. You get about 50% of the resources back -BI_Game_Tweaks_Emissions_Multiplier=Bob started this. The general idea is that unprocessed fuels cause more pollution than more refined fules. Thus coal would produce 200% pollution, while solid fuel would produce only 85%. Please see "Fuel Values.xlsx" in mod folder for more info! -#~ BI_Game_Tweaks_Player=Build, drop & reach distance: 6 => 20; Reach for item pickup 1 => 4; Resource reach distance: 2.7 => 4; Loot pickup distance: 2 => 5 -BI_Game_Tweaks_Player=Build, drop & reach distance: 6 => 20\nReach distance for item pickup 1 => 4\nResource reach distance: 2.7 => 4\nLoot pickup distance: 2 => 5 -#~ BI_Game_Tweaks_Recipe=Recipes Affected: CONCRETE Remove: Iron Ore Add: Iron Stick, STONE-WALL Add: Iron Stick, RAIL Remove: stone Add: crushed-stone and Concrete, STEEL-AXE Remove: Iron-Stick Add: Iron-Axe -BI_Game_Tweaks_Recipe=Affected recipes:\nConcrete (Iron ore => Iron stick)\nStone wall(Iron stick added)\nRail (stone => crushed-stone + concrete) -BI_Game_Tweaks_Stack_Size=Affects stack sizes of wood, stone, crushed-stone, concrete & slag -BI_Game_Tweaks_Tree=Game tweaks - trees randomly provide 1 to 6 wood when chopped down. Vanilla=4 -BI_Game_Tweaks_Small_Tree_Collisionbox=EXPERIMENTAL: This setting is enabled per default. If it isn't, trees will have the bigger vanilla collision box, making forests more likely to block players, vehicles, and biters. Not sure if this will have any side effects! -BI_Game_Tweaks_Production_Science=If this is enabled, an alternative recipe for Production science packs will be available.\n(Default: on) -#~ BI_Hide_musk_floor_in_mapview=In map view, the electric grid overlay will be hidden for Musk floor if this setting is enabled. This shouldn't be changed in a running game as applying the setting to every Musk floor tile may take some time! -BI_Show_musk_floor_in_mapview=Show the electric grid overlay for __ENTITY__bi-solar-mat__ in map view. This shouldn't be changed in a running game as applying the setting to every __ENTITY__bi-solar-mat__ tile may take some time!\n(Default: on) -BI_Solar_Additions=Enables solar items like the solar farm, solar power plant, bio accumulator and huge substation -BI_Enable_gvv_support=The "Lua API global Variable Viewer" (gvv) allows you to inspect the global table of other mods. If you want to help debugging "Bio Industries", enable this and type "\gvv" at the chat console to open the GUI of gvv.\n(Default: off) - -[technology-name] -bi-tech-advanced-biotechnology=Advanced biotechnology -bi-tech-bio-cannon=Prototype artillery -bi-tech-bio-farming=Bio farm -bi-tech-coal-processing-1=Coal processing 1 -bi-tech-coal-processing-2=Coal processing 2 -bi-tech-coal-processing-3=Coal processing 3 -bi-tech-fertiliser=Fertilizer -bi-tech-organic-plastic=Organic plastic - -[technology-description] -bi-tech-advanced-biotechnology=Unlock higher tiered recipes -bi-tech-bio-cannon=Prototype artillery turret technology. - Not yet capable of manual targeting -bi-tech-bio-farming=Learn how to grow trees -- the first step towards unlocking other wood products -bi-tech-coal-processing-1=Burn wood to get charcoal and ash -bi-tech-coal-processing-2=Process charcoal to coal and solid fuel to pellet-coke -bi-tech-coal-processing-3=Process charcoal more efficiently and produce pellet-coke from coal -bi-tech-fertiliser=Using fertilisers you can get much more output from recipes -bi-tech-organic-plastic=Produce plastics using organic materials - -[entity-name] -bi-arboretum-area=Terraformer -bi-arboretum-radar=Terraformer radar -bi-arboretum=Terraformer -bi-bio-accumulator=Huge accumulator -bi-bio-boiler=Bio boiler -bi-bio-cannon-area=Prototype artillery -bi-bio-cannon=Prototype artillery -bi-bio-farm-electric-pole=Bio farm cabling -bi-bio-farm-light=Bio farm heat lamps -bi-bio-farm-solar-panel=Bio farm solar -bi-bio-farm=Bio farm -bi-bio-garden-light=Bio garden light -bi-bio-garden=Bio garden -bi-bio-greenhouse=Bio nursery -bi-bio-reactor=Bioreactor -bi-bio-solar-farm=Bio solar farm -bi-burner-pump=Burner fluid pump -bi-cokery=Cokery -#~ These strings are obsolete! -#~ bi-curved-rail-power=Powered rail -#~ bi-curved-rail-wood-bridge=Wooden curved rail used for bridges -#~ bi-curved-rail-wood=Wooden curved rail -bi-dart-magazine-basic=Basic dart ammo -bi-dart-magazine-enhanced=Enhanced dart ammo -bi-dart-magazine-poison=Poison dart ammo -bi-dart-magazine-standard=Standard dart ammo -bi-dart-turret=Dart turret -#~ These strings seem to be obsolete! -#~ bi-ground-steam=Natural steam -#~ bi-ground-sulfuric-acid=Natural sulfuric acid -#~ bi-ground-water=Water -bi-large-substation=Huge substation -bi-musk-mat-pole=Hidden power pole for Musk mat -bi-musk-mat-solar-panel=Musk floor -bi-power-to-rail-pole=Rail to power connector -# Obsolete -#~ bi-solar-boiler-panel=Solar power plant & boiler -bi-solar-boiler=Solar power plant & boiler -bi-solar-mat=Musk floor -bi-stone-crusher=Stone crusher -#~ bi-straight-rail-power=Powered rail -bi-rail-power=Powered rail -#~ bi-straight-rail-wood-bridge=Wooden straight rail used for bridges -bi-rail-wood-bridge=Wooden rail used for bridges -#~ bi-straight-rail-wood=Wooden straight rail -bi-rail-wood=Wooden rail -bi-wood-pipe-to-ground=Wood pipe to ground -bi-wood-pipe=Wood pipe -bi-wooden-chest-giga=Huge wooden chest -bi-wooden-chest-huge=Large wooden chest -bi-wooden-chest-large=Medium wooden chest -bi-wooden-fence=Wooden fence -bi-wooden-pole-big=Big wooden pole -bi-wooden-pole-huge=Huge wooden pole -seedling-2=Sapling -seedling-3=Sapling -seedling=Sapling -wooden-chest=Small wooden chest - -rail-remnants-wood=Remnants of wooden rails -rail-remnants-wood-bridge=Remnants of a wooden bridge - - -[entity-description] -bi-arboretum-area=Terraformer to change the terrain or plant trees around the building -bi-arboretum-radar=Terraformer radar -bi-arboretum=Terraformer to change the terrain or plant trees around the building -bi-bio-accumulator=Can store very large amounts of energy, because size matters... -bi-bio-boiler=These boilers are as efficient as normal ones, but produce 75% less pollution! -#~ bi-bio-cannon-area=Can ONLY fire at spawners and worms! - Range 90 - Not yet capable of manual targeting -bi-bio-cannon=Can ONLY fire at spawners and worms! (Range: 90)\nThis prototype isn't capable of manual targeting. -#~ bi-bio-farm-electric-pole=Bio farm cabling (Hidden) -#~ bi-bio-farm-light=Bio farm heat lamps, so trees can grow at night (Hidden) -#~ bi-bio-farm-solar-panel=Bio farm solar (Hidden) -#~ bi-bio-farm=Bio farm, turn saplings into raw wood. Consumes more electricity at night -bi-bio-farm=Bio farms are where saplings grow into trees that are processed to raw wood and wood pulp. An integrated solar panel provides some of the energy during the day. -bi-bio-garden-light=The garden also acts as a lamp at night. (Hidden) -bi-bio-garden=The bio garden scrubs air, removing pollution. (One bio garden can absorb 45 pollution units per second -- as much as 1500 trees!) -bi-bio-greenhouse=Use a nursery to grow saplings -bi-bio-reactor=Bio-reactors are used to produce and process biomass. -bi-bio-solar-farm=Bio solar farm save space by condensing your solar panels into a compact unit. They create a lot of power!\Using Bio solar farms instead of the original solar panels will also improve performance because less entities require less updates per second (UPS). -bi-burner-pump=Burner fluid pump -bi-cokery=Wood and wood pulp are processed to charcoal and other fuels in the cokery. -#~ These strings are obsolete! -#~ bi-curved-rail-power=Rail that also conducts electricity. Connect to power grid using "power to rail" connector -#~ bi-curved-rail-wood-bridge=Wooden curved rail used for bridges.\nNote: You can't walk on this! -#~ bi-curved-rail-wood=Wooden curved rail -bi-dart-magazine-basic=Basic wooden projectiles -bi-dart-magazine-enhanced=Enhanced wooden projectiles -bi-dart-magazine-poison=Poisoned wooden projectiles -bi-dart-magazine-standard=Standard wooden projectiles -#~ These strings seem to be obsolete! -#~ bi-ground-steam=Natural steam -#~ bi-ground-sulfuric-acid=Natural sulfuric acid -#~ bi-ground-water=Water -bi-large-substation=Huge substation -bi-musk-mat-pole=Hidden power pole for Musk mat -bi-musk-mat-solar-panel=Power from Musk floor -bi-power-to-rail-pole=Connect your power rail to the power grid!\nATTENTION: When you place a connector in reach of two powered rails that are running parallel or crossing each other, you will connect these networks! -#~ Remove? -bi-solar-boiler-panel=A boiler that uses solar energy or electricity (also produces electricity). -#~ Changed -#~ bi-solar-boiler=A boiler that uses solar energy or electricity (also produces electricity). -bi-solar-boiler=This boiler uses solar energy or electricity to produce electricity. -#~ bi-solar-mat=A solar panel/floor that can be used as a pavement, generates 10kW electricity and fast movement. (Thanks Elon Musk!) -bi-solar-mat=This special pavement contains solar panels. Each tile will generate 10kW of electricity and grant you fast movement speed. (Thanks, Elon Musk!) -#~ bi-stone-crusher=Machine to break stone into crushed stone -bi-stone-crusher=These machines crush stone and concrete. If necessary, you can also use them to make sand from crushed stone. -#~ bi-straight-rail-wood-bridge=Wooden straight rail used for bridges.\nNote: You can't walk on this! -bi-rail-wood-bridge=Wooden straight rail used for bridges.\nNote: You can't walk on this! -#~ bi-straight-rail-wood=Wooden straight rail -bi-rail-wood=Wooden straight rail -#~ bi-straight-rail-power=Rail that also conducts electricity. Connect to power grid using "power to rail" connector -bi-rail-power=Rail that also conducts electricity. Connect to power grid using "power to rail" connector -bi-wood-pipe-to-ground=Wood pipe to ground -bi-wood-pipe=Wooden pipe -bi-wooden-chest-giga=A HUGE wooden chest -bi-wooden-chest-huge=A very large wooden chest -bi-wooden-chest-large=A medium wooden chest -#~ bi-wooden-fence=A defensive wall made from wood -bi-wooden-fence=Though not very strong, wooden fences help you right from the start to keep enemies out of your factory. -bi-wooden-pole-big=Big wooden power pole. Will auto heal if you play with NE enemies -bi-wooden-pole-huge=A huge wooden pole for spanning vast distances (64 tiles) with copper cable or circuit network wires -seedling-2=A young tree, perfect for planting. You can also plant this in the ground and it will grow into a tree. Remember to first fertilize the ground to improve the chances of it growing -seedling-3=A young tree, perfect for planting. You can also plant this in the ground and it will grow into a tree. Remember to first fertilize the ground to improve the chances of it growing -seedling=A young tree, perfect for planting. You can also plant this in the ground and it will grow into a tree. Remember to first fertilize the ground to improve the chances of it growing - -rail-remnants-wood=Remnants of wooden rails -rail-remnants-wood-bridge=Remnants of a wooden bridge - -[item-name] -bi-adv-fertiliser=Advanced fertiliser -bi-arboretum-area=Terraformer -bi-arboretum-r1=Plant trees -bi-arboretum-r2=Change terrain (basic) -bi-arboretum-r3=Change terrain (advanced) -bi-arboretum-r4=Change terrain & plant trees (basic) -bi-arboretum-r5=Change terrain & plant trees (advanced) -bi-arboretum=Terraformer -bi-ash=Ash -bi-bio-accumulator=Huge accumulator -bi-bio-boiler=Bio boiler -bi-bio-cannon-area=Prototype artillery -bi-bio-cannon-basic-ammo=Prototype artillery - rocket ammo -bi-bio-cannon-biological-ammo=Prototype artillery - biological ammo -bi-bio-cannon-poison-ammo=Prototype artillery - poison ammo -bi-bio-cannon-proto-ammo=Prototype artillery - basic ammo -bi-bio-cannon=Prototype artillery -bi-bio-farm=Bio farm -bi-bio-reactor=Bioreactor -bi-bio-solar-farm=Bio solar farm -bi-burner-pump=Burner fluid pump -bi-cellulose=Cellulose -bi-cokery=Cokery -bi-dart-magazine-basic=Basic dart ammo -bi-dart-magazine-enhanced=Enhanced dart ammo -bi-dart-magazine-poison=Poison dart ammo -bi-dart-magazine-standard=Standard dart ammo -bi-dart-rifle=Dart rifle -bi-dart-turret=Dart turret -bi-ground-water=Water -bi-large-substation=Huge substation -#~ Obsolete -#~ bi-medicine=Medicine -#~ Do we need localizations for hidden entities? -#~ bi-musk-mat-pole=Hidden power pole for Musk mat -#~ bi-musk-mat-solar-panel=Musk floor -#~ Obsolete? -#~ bi-nutrients=Nutrients -bi-power-to-rail-pole=Rail to power connector -bi-purified-air=Purified air -bi-rail-power=Power rail -bi-rail-wood-bridge=Wooden rail bridge -bi-rail-wood=Wooden rail -bi-seed-bomb-advanced=Advanced seed bomb -bi-seed-bomb-basic=Basic seed bomb -bi-seed-bomb-standard=Standard seed bomb -bi-seed=Seed -bi-solar-boiler=Solar power plant & boiler -bi-solar-boiler-panel=Solar power plant & boiler -bi-solar-mat=Musk floor -bi-stone-crusher=Stone crusher -bi-wood-pipe-to-ground=Wooden pipe to ground -bi-wood-pipe=Wooden pipe -bi-wooden-chest-giga=Huge wooden chest -bi-wooden-chest-huge=Large wooden chest -bi-wooden-chest-large=Medium wooden chest -bi-wooden-fence=Wooden fence -bi-wooden-pole-big=Big wooden power pole. Will auto heal if you play with NE enemies -bi-wooden-pole-huge=Huge wooden pole -bi-woodpulp=Wood pulp -fertiliser=Fertilizer -pellet-coke=Pellet coke -resin=Resin -seedling=Sapling -stone-crushed=Crushed stone -#~ Obsolete? This is only used in a compatibility recipe for bi-slag-slurry if angelsrefining is active! -water-saline=Saline water -wood-bricks=Wood bricks -wood-charcoal=Charcoal - -[item-description] -bi-adv-fertiliser=Improved fertilizer for growing stuff even faster or changing terrain quality -bi-arboretum-area=Terraformer to change the terrain or plant trees around the building -bi-arboretum-r1=Plant trees around the building -bi-arboretum-r2=Change terrain around the building (basic) -bi-arboretum-r3=Change terrain around the building (advanced)\nNote: Use advanced instead of basic fertiliser to make the ground more fertile. -bi-arboretum-r4=Change terrain & plant trees around the building (basic) -bi-arboretum-r5=Change terrain around the building (advanced)\nNote: Use advanced instead of basic fertiliser to make the ground more fertile, so that trees will grow faster. -bi-arboretum=Terraformer to change the terrain or plant trees around the building -bi-ash=Even ash can be used! -bi-bio-accumulator=Can store very large amounts of energy, because size matters... -#~ bi-bio-boiler=High efficiency boiler -bi-bio-boiler=These boilers are as efficient as normal ones, but produce 75% less pollution! -bi-bio-cannon-area=This early prototype of artillery can ONLY fire at spawners (maximum range: 90) and is not yet capable of manual targeting. -bi-bio-cannon-basic-ammo=Rocket powered, low physical damage -bi-bio-cannon-biological-ammo=Rocket powered, high biological damage -bi-bio-cannon-poison-ammo=Rocket powered, medium poison damage -bi-bio-cannon-proto-ammo=Low damage, most of the TNT is used for propulsion -bi-bio-cannon=This early prototype of artillery can ONLY fire at spawners (maximum range: 90) and is not yet capable of manual targeting. -bi-bio-farm=A greenhouse with powerful artificial lighting for growing saplings into trees (Wood) -bi-bio-solar-farm=Save space, by condensing your solar panels into a compact unit. Create a lot of power! -#~ Obsolete? -bi-burner-pump=Burner fluid pump -bi-dart-magazine-basic=Basic wooden projectiles -bi-dart-magazine-enhanced=Enhanced wooden projectiles -bi-dart-magazine-poison=Poisoned wooden projectiles -bi-dart-magazine-standard=Standard wooden projectiles -#~ bi-ground-water=Water -bi-large-substation=Huge substation -bi-musk-mat-pole=Hidden power pole for Musk mat -bi-musk-mat-solar-panel=Power from Musk floor -bi-power-to-rail-pole=Connect your power rail to the power grid -bi-purified-air=Clean air, pollution removed! -bi-rail-power=Rail that also conducts electricity (connect rails to the power grid with the "rail to power connector") -bi-rail-wood-bridge=Wooden rail bridge that can cross water.\nNote: You can't walk on this! -bi-rail-wood=Cheap rails made with wood -bi-seed-bomb-advanced=Plant trees in a large area, with advanced fertiliser via a seed bomb! -bi-seed-bomb-basic=Plant trees in a large area via a seed bomb! -bi-seed-bomb-standard=Plant trees in a large area, with fertiliser via a seed bomb! -bi-seed=Seed to grow a sapling from -bi-solar-boiler=A boiler that uses solar energy or electricity (also produces electricity). -bi-solar-boiler-panel=A boiler that uses solar energy or electricity (also produces electricity). -bi-solar-mat=A solar panel/floor that can be used as a pavement, generates 10kW electricity and fast movement. (Thanks Elon Musk!) -bi-stone-crusher=Machine to break stone into crushed stone -bi-wood-pipe-to-ground=A wood pipe to ground -bi-wood-pipe=A pipe made from wood -bi-wooden-chest-giga=A HUGE wooden chest -bi-wooden-chest-huge=A very large wooden chest -bi-wooden-chest-large=A medium wooden chest -bi-wooden-fence=A defensive wall made from wood -bi-wooden-pole-big=Big wooden power pole -bi-wooden-pole-huge=A huge wooden pole for spanning vast distances (64 tiles) with copper cable or circuit network wires -bi-woodpulp=Burn it to ash or charcoal, or convert it to wood bricks! -fertiliser=Fertilizer for growing stuff faster or changing terrain quality -pellet-coke=Pellet coke is a great train fuel -resin=Resin -seedling=A young tree, perfect for planting. You can also plant this in the ground and it will grow into a tree. Remember to first fertilize the ground to improve the chances of it growing! -stone-crushed=Crushed stone -#~ Obsolete? This is only used in a compatibility recipe for bi-slag-slurry if angelsrefining is active! -water-saline=Saline water -wood-bricks=Great processed fuel source with low emissions - -[fluid-name] -bi-biomass=Algae biomass -#~ bi-ground-water=Water -liquid-air=Liquid air -nitrogen=Nitrogen -#~ Obsolete? This is only used in a compatibility recipe for bi-slag-slurry if angelsrefining is active! -water-saline=Saline water - -[recipe-name] -bi-acid=Bio-acid -bi-adv-fertiliser-1=Advanced fertiliser -bi-adv-fertiliser-2=Advanced fertiliser -bi-arboretum-r1=Plant trees -bi-arboretum-r2=Change terrain (basic) -bi-arboretum-r3=Change terrain (advanced) -bi-arboretum-r4=Change terrain & plant trees (basic) -bi-arboretum-r5=Change terrain & plant trees (advanced) -bi-arboretum=Terraformer -bi-ash-1=Ash from wood -bi-ash-2=Ash from wood pulp -# Added bi-basic-petroleum-gas-processing (0.17.49/0.18.17) -# Renamed bi-basic-petroleum-gas-processing to bi-basic-gas-processing (0.17.51/0.18.20) -bi-basic-gas-processing=Basic gas processing -bi-battery=Bio battery -bi-bio-accumulator=Huge accumulator -bi-bio-boiler=Bio boiler -bi-bio-cannon-area=Prototype artillery -bi-bio-cannon-basic-ammo=Prototype artillery (rocket ammo) -bi-bio-cannon-biological-ammo=Prototype artillery (biological ammo) -bi-bio-cannon-poison-ammo=Prototype artillery (poison ammo) -bi-bio-cannon-proto-ammo=Prototype artillery (basic ammo) -bi-bio-cannon=Prototype artillery -bi-bio-farm=Bio farm -bi-bio-garden=Bio garden -bi-bio-greenhouse=Bio nursery -bi-bio-reactor=Bioreactor -bi-bio-solar-farm=Bio solar farm -bi-biomass-1=Algae biomass production with fertiliser -bi-biomass-2=Algae biomass production with algae biomass (basic) -bi-biomass-3=Algae biomass production with algae biomass (advanced) -bi-biomass-conversion-1=Bio fuel conversion 1: Cellulose, light oil -bi-biomass-conversion-2=Bio fuel conversion 2: Petroleum gas -bi-biomass-conversion-3=Bio fuel conversion 3: Lubricant -bi-biomass-conversion-4=Bio fuel conversion 4: Crude oil, water/sulfuric waste water -bi-burner-inserter-disassemble=Disassemble burner inserter -bi-burner-mining-drill-disassemble=Disassemble burner miner -bi-cellulose-1=Basic cellulose production -bi-cellulose-2=Advanced cellulose production -bi-charcoal-1=Charcoal from wood pulp -bi-charcoal-2=Charcoal from wood -bi-coal-1=Basic coal production -bi-coal-2=Advanced coal production -bi-coke-coal=Pellet coke -bi-cokery=Cokery -bi-crushed-stone-1=Crushed stone from stone -bi-crushed-stone-2=Crushed stone from concrete -bi-crushed-stone-3=Crushed stone from hazard concrete -bi-crushed-stone-4=Crushed stone from refined concrete -bi-crushed-stone-5=Crushed stone from refined hazard concrete -bi-dart-magazine-basic=Basic dart ammo -bi-dart-magazine-enhanced=Enhanced dart ammo -bi-dart-magazine-poison=Poison dart ammo -bi-dart-magazine-standard=Standard dart ammo -bi-dart-rifle=Dart rifle -bi-dart-turret=Dart turret -bi-fertiliser-1=Fertilizer -bi-fertiliser-2=Fertilizer -bi-large-substation=Huge substation -bi-liquid-air=Liquid air -bi-logs-1=Basic wood production -bi-logs-2=Improved wood production with ash -bi-logs-3=Advanced wood production with fertiliser -bi-logs-4=Super wood production with advanced fertiliser -bi-long-handed-inserter-disassemble=Disassemble long handed inserter -bi-mineralized-sulfuric-waste=Mineralized water & sulfuric waste -bi-nitrogen=Nitrogen -bi-pellet-coke=Pellet coke from solid fuel -bi-pellete-coal-2=Pellet-coal from carbon -bi-plastic-1=Bio plastic from wood -bi-plastic-2=Bio plastic from cellulose -bi-power-to-rail-pole=Rail to power connector -bi-press-wood=Press wood -bi-production-science-pack=Production science pack -bi-purified-air-1=Clean air (basic) -bi-purified-air-2=Clean air (advanced) -bi-rail-power=Power rail -bi-rail-wood-bridge=Wooden rail bridge -bi-rail-wood-to-concrete=Upgrade wooden rail -bi-rail-wood=Wooden rail -bi-resin-pulp=Resin from wood pulp -bi-resin-wood=Resin from wood -bi-sand=Sand from crushed stone -bi-seed-1=Basic tree seed production -bi-seed-2=Improved tree seed production with ash -bi-seed-3=Advanced tree seed production with fertiliser -bi-seed-4=Super tree seed production with advanced fertiliser -bi-seed-bomb-advanced=Advanced seed bomb -bi-seed-bomb-basic=Basic seed bomb -bi-seed-bomb-standard=Standard seed bomb -#~ bi-seedling=Sapling -bi-seedling-1=Basic sapling production -bi-seedling-2=Improved sapling production with ash -bi-seedling-3=Advanced sapling production with fertiliser -bi-seedling-4=Super sapling production with advanced fertiliser -bi-slag-slurry=Slag slurry -#~ bi-solar-boiler=Solar power plant & boiler (boiler) -bi-solar-boiler-panel=Solar power plant & boiler -bi-solar-boiler=Solar power plant & boiler -bi-solar-mat=Musk floor -bi-solid-fuel=Solid fuel from wood bricks -bi-steel-furnace-disassemble=Disassemble steel furnace -bi-stone-brick=Bio stone brick -bi-stone-crusher=Stone crusher -bi-stone-furnace-disassemble=Disassemble stone furnace -bi-sulfur-angels=Bio-sulfur -bi-sulfur=Bio-sulfur -bi-wood-from-pulp=Wood from wood pulp -bi-wood-fuel-brick=Wood bricks -bi-wood-pipe-to-ground=Wooden pipe to ground -bi-wood-pipe=Wood pipe -bi-wooden-chest-giga=Huge wooden chest -bi-wooden-chest-huge=Large wooden chest -bi-wooden-chest-large=Medium wooden chest -bi-wooden-fence=Wooden fence -bi-wooden-pole-big=Big wooden pole -bi-wooden-pole-huge=Huge wooden pole -bi-woodpulp=Wood pulp from wood -wooden-chest=Small wooden chest - -[recipe-description] -bi-acid=Use algae biomass and cellulose to produce sulfuric acid! -bi-adv-fertiliser-1=Better than normal fertiliser -bi-adv-fertiliser-2=Better than normal fertiliser -bi-arboretum-r1=Note: The recipe will never complete, trees are planted on sector scan. -bi-arboretum-r2=Note: The recipe will never complete, trees are planted on sector scan. -bi-arboretum-r3=Note: The recipe will never complete, trees are planted on sector scan. -bi-arboretum-r4=Note: The recipe will never complete, trees are planted on sector scan. -bi-arboretum-r5=Note: The recipe will never complete, trees are planted on sector scan. -bi-arboretum=Plant trees or change the terrain around the building -bi-ash-1=Burn wood, get ash! -bi-ash-2=Burn lots of wood pulp, get lots of ash! -# Added bi-basic-petroleum-gas-processing (0.17.49/0.18.17) -# Renamed bi-basic-petroleum-gas-processing to bi-basic-gas-processing (0.17.51/0.18.20) -bi-basic-gas-processing=Inefficient gas extraction -bi-basic-pumpjack-disassemble=Dissasemble burner fluid pump at a small loss of materials -bi-bio-cannon-area=This early prototype of artillery can ONLY fire at spawners (maximum range: 90) and is not yet capable of manual targeting. -bi-bio-cannon-basic-ammo=Rocket powered, low physical damage -bi-bio-cannon-biological-ammo=Rocket powered, high biological damage -bi-bio-cannon-poison-ammo=Rocket powered, medium poison damage -bi-bio-cannon-proto-ammo=Low damage, most of the TNT is used for propulsion -bi-bio-cannon=This early prototype of artillery can ONLY fire at spawners (maximum range: 90) and is not yet capable of manual targeting. -bi-bio-farm=Bio farm to produce wood and wood pulp -bi-bio-greenhouse=Bio nursery to produce seeds and saplings -bi-biomass-1=Start up your algae biomass production by using fertiliser! -bi-biomass-2=Feed back some of the produced algae biomass to produce more of it!\nNote: This will yield less (and take longer) than using the start-up recipe, but you will save on fertiliser. -bi-biomass-3=Feed back some of the produced algae biomass and add ash to produce lots of it!\nNote: This will yield considerably more than the other recipes in a fraction of the time. -bi-biomass-conversion-1=Use algae biomass to produce light oil and cellulose! -bi-biomass-conversion-2=Use algae biomass to produce petroleum gas! -bi-biomass-conversion-3=Use algae biomass to produce lubricant! -bi-biomass-conversion-4=Use algae biomass to produce crude oil and water! -bi-burner-inserter-disassemble=Disassemble burner inserter at a small loss of materials -bi-burner-mining-drill-disassemble=Disassemble burner miner at a small loss of materials -bi-charcoal-1=Burn wood pulp to make charcoal -bi-charcoal-2=Burn wood to make charcoal -bi-coal-1=Process charcoal to make coal -bi-coal-2=Advanced processing of charcoal will let you make more coal! -bi-coke-coal=Turn coal into pellet-coke -bi-crushed-stone-1=Get crushed stone from crushing stone in the stone crusher :-) -bi-crushed-stone-2=Having mastered advanced material processing, you now can also get crushed stone from concrete! -bi-crushed-stone-3=Having mastered advanced material processing, you now can also get crushed stone from hazard concrete! -bi-crushed-stone-4=You will get twice as much crushed stone from processing refined instead of normal concrete, but it takes twice as long! -bi-crushed-stone-5=You will get twice as much crushed stone from processing refined instead of normal hazard concrete, but it takes twice as long! -bi-dart-magazine-basic=Basic wooden projectiles -bi-dart-magazine-enhanced=Enhanced wooden projectiles -bi-dart-magazine-poison=Poisoned wooden projectiles -bi-dart-magazine-standard=Standard wooden projectiles -bi-fertiliser-1=Lets stuff grow faster -bi-fertiliser-2=Lets stuff grow faster (sodium-hydroxide) -bi-logs-1=Grow wood the old-fashioned way by watering saplings! -bi-logs-2=Improve your wood production by using ash as a cheap fertiliser! -bi-logs-3=Grow even more wood by using fertiliser instead of ash! -bi-logs-4=Using advanced fertiliser will yield you insane amounts of wood and wood pulp! -bi-long-handed-inserter-disassemble=Disassemble long handed inserter at a small loss of materials -bi-mineralized-sulfuric-waste=Mineralized water & sulfuric waste from crushed stone, charcoal and pure water -bi-pellet-coke=Turn solid fuel into pellet-coke -bi-power-to-rail-pole=Connect your power rail to the power grid -bi-production-science-pack=Use more, but cheaper wooden rails to make production science packs! -bi-rail-power=Rail that also conducts electricity (connect to power grid using "power to rail" connector) -bi-rail-wood-bridge=Rail that can bridge water\nNote: You can't walk on this! -bi-rail-wood-to-concrete=Upgrade wooden rails to default rails -bi-rail-wood=Cheap rails made with wood -bi-resin-pulp=Process wood pulp to get resin -bi-resin-wood=Process wood to get resin -bi-sand=Sand from crushed stone -#~ bi-seedling=A young tree, perfect for planting. (You can also plant this in the ground and it will grow into a tree. Remember to first fertilize the ground to improve the chances of it growing!) -bi-seed-1=Use wood and water to produce tree seeds! -bi-seed-2=Improve your tree seed production by using ash as a cheap fertiliser! -bi-seed-3=Improve your tree seed production even more by using fertiliser instead of ash! -bi-seed-4=Increase your tree seed production dramatically with advanced fertiliser! -bi-seed-bomb-advanced=Plant trees in a large area, with advanced fertiliser via a seed bomb! -bi-seed-bomb-basic=Plant trees in a large area via a seed bomb! -bi-seed-bomb-standard=Plant trees in a large area, with fertiliser via a seed bomb! -bi-seedling-1=Use tree seeds and water to grow saplings! -bi-seedling-2=Grow more saplings by using ash as a cheap fertiliser! -bi-seedling-3=Grow even more saplings by using fertiliser instead of ash! -bi-seedling-4=Use advanced fertiliser to grow still more saplings in less time! -bi-slag-slurry=Slag slurry from ash, crushed stone and saline water -bi-solar-boiler=A boiler that uses solar energy or electricity (also produces electricity). -bi-solar-boiler-panel=A boiler that uses solar energy or electricity (also produces electricity). -bi-solid-fuel=Turning wood bricks into solid fuel is a great way to get rid of excess wood pulp! -bi-steel-furnace-disassemble=Disassemble steel furnace at a small loss of materials -bi-stone-brick=Stone brick from crushed stone and ash -bi-stone-crusher=Machine to break stone into crushed stone -bi-stone-furnace-disassemble=Disassemble stone furnace at a small loss of materials -bi-sulfur=Bio-sulfur -bi-wood-from-pulp=Regain wood by compressing wood pulp and resin -bi-wood-fuel-brick=Compress wood pulp for easier handling! -bi-wooden-pole-huge=A huge wooden pole for spanning vast distances (64 tiles) with copper cable or circuit network wires -bi-woodpulp=Process wood to wood pulp - -[tile-name] -bi-solar-mat=Solar mat -bi-wood-floor=Wood floor - -[item-group-name] -bio-industries=Bio-Industries - -[ammo-category-name] -Bio_Cannon_Ammo=Bio cannon ammo -Bio_Turret_Ammo=Bio turret ammo - -[damage-type-name] -Biological=Biological -bob-pierce=Pierce - -[bi-misc] -growing-tree=Growing tree -growing-tree-desc=Given some time, a big tree will grow from this sapling. -young-tree=Young tree -young-tree-desc=This tree is still young and won't yield much wood yet. Better wait until it's fully grown before you chop it down! - -[modifier-description] -Bio_Cannon_Ammo-damage-bonus=Prototype artillery damage: +__1__ -Bio_Cannon_Ammo-shooting-speed-bonus=Prototype artillery shooting speed: +__1__ -Bio_Turret_Ammo-damage-bonus=Dart turret ammo damage bonus: +__1__ -Bio_Turret_Ammo-shooting-speed-bonus=Dart turret ammo shooting speed bonus: +__1__ -bi-dart-turret-attack-bonus=Dart turret damage bonus: +__1__ -bi-dart-turret-damage-bonus=Dart turret damage bonus: +__1__ diff --git a/Bio_Industries_2/locale/en/recipe-description.cfg b/Bio_Industries_2/locale/en/recipe-description.cfg index c31a3a6..7c3747e 100644 --- a/Bio_Industries_2/locale/en/recipe-description.cfg +++ b/Bio_Industries_2/locale/en/recipe-description.cfg @@ -4,6 +4,7 @@ bi-adv-fertilizer-1=Use __ITEM__bi-adv-fertilizer__ for a super production — i bi-adv-fertilizer-2=Use __ITEM__bi-adv-fertilizer__ for a super production — it's far better than __ITEM__fertilizer__! bi-fertilizer-1=__ITEM__fertilizer__ lets your stuff grow faster, it really does! bi-fertilizer-2=__ITEM__fertilizer__ lets your stuff grow faster, it really does! (Made with Sodium hydroxide) +bob-fertiliser=__ITEM__fertilizer__ lets your stuff grow faster, it really does! # Added for 0.18.32/1.1.2 bi-adv-fertilizer-fluid=__ITEM__bi-adv-fertilizer__ dissolved in water bi-fertilizer-fluid=__ITEM__fertilizer__ dissolved in water diff --git a/Bio_Industries_2/locale/en/recipe-name.cfg b/Bio_Industries_2/locale/en/recipe-name.cfg index 1c61fb8..7563a82 100644 --- a/Bio_Industries_2/locale/en/recipe-name.cfg +++ b/Bio_Industries_2/locale/en/recipe-name.cfg @@ -8,6 +8,7 @@ bi-adv-fertilizer-2=__ITEM__bi-adv-fertilizer__ bi-adv-fertilizer-fluid=Liquid __ITEM__bi-adv-fertilizer__ bi-fertilizer-1=__ITEM__fertilizer__ bi-fertilizer-2=__ITEM__fertilizer__ (with sodium hydroxide) +bob-fertiliser=__ITEM__fertilizer__ # Added for 0.18.32/1.1.2 bi-fertilizer-fluid=Liquid __ITEM__fertilizer__ @@ -115,7 +116,7 @@ bi-sulfur-angels=Bio-__ITEM__sulfur__ ## angelsrefining, BioTech, Krastorio/Krastorio2 bi-sand=__ITEM__sand__ from __ITEM__stone-crushed__ ## bobelectronics -bi-press-wood=Pressed wood +bi-press-wood=Wooden board ## Industrial Revolution bi-crushed-stone-1_IR=__ITEM__gravel__ from __ITEM__stone__ bi-crushed-stone-2_IR=__ITEM__gravel__ from __ITEM__concrete__ diff --git a/Bio_Industries_2/locale/pt-BR/entity-description.cfg b/Bio_Industries_2/locale/pt-BR/entity-description.cfg new file mode 100644 index 0000000..f76f9fc --- /dev/null +++ b/Bio_Industries_2/locale/pt-BR/entity-description.cfg @@ -0,0 +1,52 @@ +[entity-description] +## Production +bi-arboretum=Modifica o terreno ao redor ao fertilizar ou plantar árvores. +bi-bio-farm=É onde __ENTITY__seedling__s crescem em árvores que são processadas em __ITEM__wood__ e __ITEM__bi-woodpulp__. Um painel solar integrado provê um pouco de energia durante o dia. +bi-bio-garden=Remove poluição do ar. (Este jardim biológico consegue absorver 1.5 unidades de poluição por segundo — o mesmo que 1500 árvores!) +bi-bio-garden-large=Remove poluição do ar. (Este jardim biológico consegue absorver 12 unidades de poluição por segundo — o mesmo que 12.000 árvores!) +bi-bio-garden-huge=Remove poluição do ar. (Este jardim biológico consegue absorver 96 unidades de poluição por segundo — o mesmo que 96.000 árvores!) +bi-bio-greenhouse=O lugar certo para crescer __ITEM__bi-seed__ em __ENTITY__seedling__s! +seedling=Uma árvore jovem, perfeita para plantar. Você também pode plantá-la no solo e ela crescerá e se tornará uma árvore. Lembre-se de fertilizar o solo primeiro para aumentar as chances de crescimento! + +bi-bio-reactor=É utilizado para produzir e processar biomassa. +bi-cokery=__ITEM__wood__ e __ITEM__bi-woodpulp__ são refinados em __ITEM__wood-charcoal__ e outros combustíveis na __ENTITY__bi-cokery__. +bi-stone-crusher=Essas máquinas trituram __ITEM__stone__ e __ITEM__concrete__ em todas as formas. + + +## Power +bi-bio-accumulator=Armazena grandes quantidades de energia. Às vezes, o tamanho realmente importa… +bi-bio-boiler=Possui eficiência semelhante a uma __ENTITY__boiler__ normal, porém produz 75% menos poluição! +bi-bio-solar-farm=É um grande __ENTITY__solar-panel__ que gera muita energia em um espaço mínimo. +bi-large-substation=Pode alimentar máquinas em uma grande área. +bi-solar-boiler=Utiliza energia solar para gerar eletricidade e vapor. +bi-solar-mat=Este pavimento especial contém painéis solares. Cada peça gerará 10 kW de eletricidade e aumentará sua velocidade de caminhada. (Obrigado, Elon Musk!) + + +## Weaponry +bi-bio-cannon=Atira APENAS em ninhos e vermes! (Alcance: 120)\nEste protótipo é incapaz de mirar manualmente. +bi-dart-turret=Essas torres estão imediatamente disponíveis e protegem você de ataques inimigos a um custo mínimo. Os dardos causam menos dano do que munições, porém a __ENTITY__bi-dart-turret__ possui um alcance maior e pode disparar a uma velocidade maior do que a __ENTITY__gun-turret__. + + +## Rail stuff +bi-power-to-rail-pole=Conecta seu __ENTITY__bi-rail-power__ à rede elétrica!\nATENÇÃO: Ao colocar um __ENTITY__bi-power-to-rail-pole__ ao alcance de dois __ENTITY__bi-rail-power__ que estejam paralelos ou se cruzando, você conectará essas redes elétricas! +bi-rail-power=Trilhos que também conduzem eletricidade. Conecte-os a uma rede elétrica com um __ENTITY__bi-power-to-rail-pole__! +bi-rail-wood-bridge=Uma ponte ferroviária de madeira.\nNota: Você não pode andar sobre ela! +bi-rail-wood=Trilho de madeira +rail-remnants-wood-bridge=Restos de ponte de madeira +rail-remnants-wood=Restos de trilho de madeira + + +## Miscallenous wooden products +bi-wood-pipe-to-ground=Um __ENTITY__pipe-to-ground__ feito de __ITEM__wood__ e Cobre +bi-wood-pipe=Um __ENTITY__pipe__ feito de __ITEM__wood__ e Cobre +bi-wooden-chest-giga=Um baú de madeira imenso +bi-wooden-chest-huge=Um baú de madeira grande +bi-wooden-chest-large=Um baú de madeira médio +bi-wooden-fence=É fácil de fabricar. Não ajudará muito contra inimigos fortes, mas manterá os primeiros inimigos afastados para que você possa se concentrar em iniciar sua fábrica. +bi-wooden-pole-big=Será curado automaticamente se o jogo estiver com a "Evolução" dos inimigos habilitada. +bi-wooden-pole-bigger=Será curado automaticamente se o jogo estiver com a "Evolução" dos inimigos habilitada. +bi-wooden-pole-huge=Abrange grandes distâncias (64 blocos) com __ITEM__copper-cable__, __ITEM__green-wire__, ou __ITEM__red-wire__. + + +## Compatibility with other mods +bi-stone-crusher-sand=Essas máquinas produzem __ITEM__stone-crushed__ de __ITEM__stone__ e __ITEM__concrete__ em todas as formas. Também podem refinar __ITEM__stone-crushed__ para __ITEM__sand__. diff --git a/Bio_Industries_2/locale/pt-BR/entity-name.cfg b/Bio_Industries_2/locale/pt-BR/entity-name.cfg new file mode 100644 index 0000000..a53e326 --- /dev/null +++ b/Bio_Industries_2/locale/pt-BR/entity-name.cfg @@ -0,0 +1,57 @@ +[entity-name] +## Production +bi-arboretum=Terraformador +bi-arboretum-hidden-radar=__ENTITY__bi-arboretum__ (__ENTITY__radar__) + +bi-bio-farm=Fazenda biológica +bi-bio-garden=Jardim biológico +bi-bio-garden-large=Jardim biológico grande +bi-bio-garden-huge=Jardim biológico imenso +bi-bio-greenhouse=Viveiro biológico +seedling=Muda + +bi-bio-reactor=Biorreator +bi-cokery=Coqueria +bi-stone-crusher=Triturador de pedras + + +## Power +bi-bio-accumulator=Acumulador imenso +bi-bio-boiler=Biocaldeira +bi-bio-solar-farm=Fazenda solar +bi-large-substation=Subestação imensa +bi-solar-boiler=Usina solar com caldeira +bi-solar-mat=Chão Musk + + +## Weaponry +bi-bio-cannon=Protótipo de artilharia +bi-dart-turret=Torre de dardos + + +## Rail stuff +bi-power-to-rail-pole=Conector de trilho elétrico +bi-rail-power=Trilho elétrico +bi-rail-wood-bridge=Ponte ferroviária de madeira +bi-rail-wood=Trilho de madeira +bi-straight-rail-wood=Trilho de madeira +bi-curved-rail-a-wood=Trilho de madeira +bi-curved-rail-b-wood=Trilho de madeira +bi-half-diagonal-rail-wood=Trilho de madeira +rail-remnants-wood-bridge=Restos de ponte ferroviária de madeira +rail-remnants-wood=Restos de triho de madeira + + +## Miscallenous wooden products +bi-wood-pipe-to-ground=Cano de madeira subterrâneo +bi-wood-pipe=Cano de madeira +bi-wooden-chest-giga=Baú de madeira imenso +bi-wooden-chest-huge=Baú de madeira grande +bi-wooden-chest-large=Baú de madeira médio +bi-wooden-fence=Cerca de madeira +bi-wooden-pole-big=Poste de madeira grande +bi-wooden-pole-bigger=Poste de madeira enorme +bi-wooden-pole-huge=Poste de madeira imenso +#~ Just another name for the vanilla wood-chest +#~ (No need to overwrite the vanilla name if our bigger wooden chests aren't used!) +bi-wooden-chest=Baú de madeira pequeno diff --git a/Bio_Industries_2/locale/pt-BR/item-description.cfg b/Bio_Industries_2/locale/pt-BR/item-description.cfg new file mode 100644 index 0000000..5cbb98b --- /dev/null +++ b/Bio_Industries_2/locale/pt-BR/item-description.cfg @@ -0,0 +1,59 @@ +[BI-item-description] +# __ITEM__fertilizer__ deve ser substituído por __BI-ITEM__fertilizer__, mas não podemos nos referir a ele, +# então codificamos seu conteúdo aqui. +#~ fertilizer=__ITEM__fertilizer__ permite que seus cultivos cresçam mais rápido e também é usado para produzir biomassa de algas. +fertilizer=O fertilizante comum permite que seus cultivos cresçam mais rápido e também é usado para produzir biomassa de algas. + +[item-description] +## Production +bi-adv-fertilizer=__ITEM__bi-adv-fertilizer__ — O ingrediente especial que transforma uma produção muito melhorada em uma superprodução. Disponível apenas para usuários das Bioindústrias! :-) +fertilizer=__ITEM__fertilizer__ permite que seus cultivos cresçam mais rápido e também é usado para produzir biomassa de algas. + +bi-purified-air=Ar limpo, poluição removida! + +bi-arboretum-r1=Planta árvores ao redor da construção +bi-arboretum-r2=__ITEM__fertilizer__ é utilizado para terraformar o terreno ao redor da construção. +bi-arboretum-r3=__ITEM__bi-adv-fertilizer__ é utilizado para terraformar o terreno ao redor da construção. +bi-arboretum-r4=Planta árvores e utiliza __ITEM__fertilizer__ para terraformar o terreno ao redor da construção. +bi-arboretum-r5=Planta árvores e utiliza __ITEM__bi-adv-fertilizer__ para terraformar o terreno ao redor da construção. + +bi-seed-bomb-advanced=Espalha __ITEM__bi-seed__ em um raio de 30 blocos ao redor do local do impacto. __ITEM__bi-adv-fertilizer__ aumenta a chance de __ITEM__bi-seed__ se tornarem árvores rapidamente! +bi-seed-bomb-basic=Espalha __ITEM__bi-seed__ em um raio de 24 blocos ao redor do local do impacto, com um pouco de sorte elas se tornarão árvores! +bi-seed-bomb-standard=Espalha __ITEM__bi-seed__ em um raio de 27 blocos ao redor do local do impacto. __ITEM__fertilizer__ aumenta a chance de __ITEM__bi-seed__ se tornarem árvores. + +bi-seed=Se tornará uma __ENTITY__seedling__. + + +## Weaponry +bi-bio-cannon-basic-ammo=Propelido por foguete, baixo dano físico (disparado por protótipo de artilharia) +bi-bio-cannon-biological-ammo=Propelido por foguete, alto dano biológico (disparado por protótipo de artilharia) +bi-bio-cannon-poison-ammo=Propelido por foguete, médio dano venenoso (disparado por protótipo de artilharia) +bi-bio-cannon-proto-ammo=Propelido por explosivos, baixo dano físico (disparado por protótipo de artilharia) + +bi-dart-magazine-basic=Machuca um pouco. +bi-dart-magazine-enhanced=Efeitos anteriores acrescido de dano ácido. +bi-dart-magazine-poison=Efeitos anteriores acrescido de envenenamento. +bi-dart-magazine-standard=Efeitos anteriores acrescido de perfuração através de alvos. +bi-dart-rifle=Esta arma econômica utiliza munição de fácil produção e é eficaz em afastar inimigos mais fracos. + + +## Resources +bi-ash=__ITEM__bi-ash__ é um recurso valioso! +bi-cellulose=__ITEM__battery__, __ITEM__plastic-bar__, Ácido sulfúrico — todos estes podem ser feitos com __ITEM__bi-cellulose__! +bi-woodpulp=__ITEM__bi-woodpulp__ pode ser utilizado para vários própositos. Quando queimado, irá poluir menos que __ITEM__wood__, porém dará apenas metade da energia. +coal=Você precisará disso! +pellet-coke=Mais energia que __ITEM__solid-fuel__ com apenas 60% de emissões, mais um pequeno aumento na velocidade máxima - por que você não abastece seus trens com __ITEM__pellet-coke__ já?! +resin=__ITEM__resin__ é uma substância pegajosa que pode ser processada para obter gás de petróleo! +solid-fuel=__ITEM__solid-fuel__ fornece menos energia do que __ITEM__wood-bricks__, mas também gera poluição ao queimar. Além disso, fará com que seus veículos acelerem mais rápido e tenham uma velocidade máxima maior. +stone-crushed=__ITEM__stone-crushed__ é usado principalmente para construir ferrovias e estradas. +wood-bricks=__ITEM__bi-woodpulp__ compressada provê muita energia enquanto polui menos. É um substituto inicial para __ITEM__solid-fuel__. +wood-charcoal=Fornece mais energia do que __ITEM__coal__ e gera muito menos poluição. Infelizmente, não é tão versátil, então você ainda precisará de __ITEM__coal__! +wood=Baseie sua produção de energia neste recurso renovável!\nObservação: Há muito mais usos além da simples combustão! + + +## Compatibility with other mods +#~ sand=__ITEM__sand__ +sand=Areia + +## Rail stuff +bi-rail-wood=Trilho de madeira \ No newline at end of file diff --git a/Bio_Industries_2/locale/pt-BR/item-name.cfg b/Bio_Industries_2/locale/pt-BR/item-name.cfg new file mode 100644 index 0000000..faccd15 --- /dev/null +++ b/Bio_Industries_2/locale/pt-BR/item-name.cfg @@ -0,0 +1,58 @@ +[BI-item-name] +fertilizer=Fertilizante comum + +[item-name] +## Production +bi-adv-fertilizer=BI-Super-Fertilizante(™) +#~ fertilizer=Fertilizante "Run of ye olde mill"(™) +fertilizer=Fertilizante comum + +bi-purified-air=Ar purificado + +bi-arboretum-r1=Planta árvores +bi-arboretum-r2=Terraforma o terreno (básico) +bi-arboretum-r3=Terraforma o terreno (avançado) +bi-arboretum-r4=Terraforma o terreno & planta árvores (básico) +bi-arboretum-r5=Terraforma o terreno & planta árvores (avançado) + +bi-seed-bomb-advanced=Bomba de sementes avançada +bi-seed-bomb-basic=Bomba de sementes básica +bi-seed-bomb-standard=Bomba de sementes +bi-seed=Sementes de árvore + +# Only __ENTITY__x__ and __ITEM__x__ can be used, so let's pretend here that these fluids are items! +bi-biomass=Biomassa de algas +bi-liquid-air=Ar líquido +nitrogen=Nitrogênio + +## Weaponry +bi-bio-cannon-basic-ammo=Munição de foguete de protótipo de artilharia +bi-bio-cannon-biological-ammo=Munição biológica de protótipo de artilharia +bi-bio-cannon-poison-ammo=Munição venenosa de protótipo de artilharia +bi-bio-cannon-proto-ammo=Munição comum de protótipo de artilharia + +bi-dart-magazine-basic=Munição de dardo básica +bi-dart-magazine-enhanced=Munição de dardo aprimorada +bi-dart-magazine-poison=Munição de dardo venenosa +bi-dart-magazine-standard=Munição de dardo +bi-dart-rifle=Rifle de dardos + + +## Resources +bi-ash=Cinzas +bi-cellulose=Celulose +bi-woodpulp=Polpa de madeira +pellet-coke=Pellet de coque +resin=Resina +stone-crushed=Pedra britada +wood-bricks=Tijolos de madeira +wood-charcoal=Carvão vegetal + + +## Compatibility with other mods +sand=Areia +slag=Impureza + + +## Rail stuff +bi-rail-wood=Trilho de madeira diff --git a/Bio_Industries_2/locale/pt-BR/locale.cfg b/Bio_Industries_2/locale/pt-BR/locale.cfg new file mode 100644 index 0000000..5578479 --- /dev/null +++ b/Bio_Industries_2/locale/pt-BR/locale.cfg @@ -0,0 +1,5 @@ +[mod-name] +bio-industries-2=Bioindústrias + +[mod-description] +bio-industries-2=Oferece construções e itens biotecnológicos úteis, como a Fazenda Biológica para o cultivo de árvores. Fazenda Solar e Acumulador imenso para facilitar sua instalação elétrica. Seção de Biocombustíveis para produzir plástico orgânico e baterias. Diversos produtos de Madeira novos, como o poste de madeira enorme, canos de madeira e torre de dardos. Plante árvores. Terraforme terrenos desérticos em pastagens utilizando Fertilizante - ajude as árvores a crescerem melhor. E muito mais... Visite a página inicial dos fóruns para obter mais informações e feedback. \ No newline at end of file diff --git a/Bio_Industries_2/locale/pt-BR/misc.cfg b/Bio_Industries_2/locale/pt-BR/misc.cfg new file mode 100644 index 0000000..86aeb5e --- /dev/null +++ b/Bio_Industries_2/locale/pt-BR/misc.cfg @@ -0,0 +1,43 @@ +[fluid-name] +#~ bi-biomass=Biomassa de algas +bi-biomass=__ITEM__bi-biomass__ +# We don't seem to use that! +#~ bi-ground-water=Água +liquid-air=Ar líquido +nitrogen=Nitrogênio +water-saline=Água salina +bi-fertilizer-fluid=__ITEM__fertilizer__ líquido +bi-adv-fertilizer-fluid=__ITEM__bi-adv-fertilizer__ líquido + +[fluid-description] +bi-fertilizer-fluid=__ITEM__fertilizer__ líquido facilita a limpeza ecológica. +bi-adv-fertilizer-fluid=__ITEM__bi-adv-fertilizer__ líquido -- é exatamente o que você precisa se realmente quiser fazer uma limpeza ecológica na sua fábrica! + +[tile-name] +bi-solar-mat=Tapete solar +bi-wood-floor=Chão de madeira + +[item-group-name] +bio-industries=Bioindústrias + +[ammo-category-name] +Bio_Cannon_Ammo=Munição de biocanhão +Bio_Turret_Ammo=Munição de biotorre balística + +[damage-type-name] +Biological=Biológico +bob-pierce=Perfuração + +[modifier-description] +Bio_Cannon_Ammo-damage-bonus=__ENTITY__bi-bio-cannon__ dano: +__1__ +Bio_Cannon_Ammo-shooting-speed-bonus=__ENTITY__bi-bio-cannon__ velocidade de disparo: +__1__ +Bio_Turret_Ammo-damage-bonus=__ENTITY__bi-dart-turret__ bônus de dano de munição: +__1__ +Bio_Turret_Ammo-shooting-speed-bonus=__ENTITY__bi-dart-turret__ bônus de velocidade de disparo: +__1__ +bi-dart-turret-attack-bonus=__ENTITY__bi-dart-turret__ bônus de dano: +__1__ +bi-dart-turret-damage-bonus=__ENTITY__bi-dart-turret__ bônus de dano: +__1__ + +[bi-misc] +growing-tree=Árvore em crescimento +growing-tree-desc=Com o tempo, uma grande árvore crescerá a partir desta __ENTITY__seedling__. +young-tree=Árvore jovem +young-tree-desc=Esta árvore ainda está jovem e não dará muita madeira. É melhor esperar até que ela esteja totalmente crescida antes de cortá-la! diff --git a/Bio_Industries_2/locale/pt-BR/mod.cfg b/Bio_Industries_2/locale/pt-BR/mod.cfg new file mode 100644 index 0000000..b956989 --- /dev/null +++ b/Bio_Industries_2/locale/pt-BR/mod.cfg @@ -0,0 +1,46 @@ +[mod-name] +Bio_Industries=Bioindústrias + +[mod-setting-name] +BI_Bio_Cannon=Habilitar: Protótipo de Artilharia +BI_Bio_Fuel=Habilitar: Produção de biocombustíveis +# Added for 0.18.32/1.1.2 +BI_Easy_Bio_Gardens=Habilitar: Jardins biológicos fáceis +# Added for 1.1.8 +BI_Bigger_Wooden_Chests=Habilitar: Tier de baús de madeira +BI_Enable_gvv_support=Compatibilidade: Suporte para GVV +BI_Game_Tweaks_Bot=Ajustes de jogabilidade: Robôs +BI_Game_Tweaks_Disassemble=Ajustes de jogabilidade: Receitas de desmantelamento +BI_Game_Tweaks_Emissions_Multiplier=Ajustes de jogabilidade: Emissões de combustível variáveis +BI_Game_Tweaks_Player=Ajustes de jogabilidade: Jogador +BI_Game_Tweaks_Production_Science=Ajustes de jogabilidade: Receita alternativa para __ITEM__production-science-pack__ +BI_Game_Tweaks_Recipe=Ajustes de jogabilidade: Receitas modificadas +BI_Game_Tweaks_Small_Tree_Collisionbox=Ajustes de jogabilidade: Caixas de colisão menores para árvores +BI_Game_Tweaks_Stack_Size=Ajustes de jogabilidade: Tamanho da pilha de itens +BI_Game_Tweaks_Tree=Ajustes de jogabilidade: Rendimento de árvores +#~ BI_Hide_musk_floor_in_mapview=Ocultar sobreposição de grade elétrica para o Chão Musk na visualização do mapa +BI_Show_musk_floor_in_mapview=Habilitar: Sobreposição de rede elétrica para __ENTITY__bi-solar-mat__ na visualização de mapa +BI_Solar_Additions=Habilitar: Adições bio solares + +[mod-setting-description] +BI_Bio_Cannon=O protótipo de artilharia é muito poderoso, porém só atira em ninhos.\n(Padrão: ligado) +BI_Bio_Fuel=Permite a produção de derivados de petróleo a partir de __ITEM__bi-biomass__\n(Padrão: ligado) +# Added for 0.18.32/1.1.2 +BI_Easy_Bio_Gardens=Os jardins biológicos consomem fertilizante fluído pronto, apenas uma tubulação será suficiente para fornecer todos os ingredientes. No entanto, isso requer 50% mais fertilizante do que combinar fertilizante sólido e água no local. Os jardins biológicos transmitirão eletricidade para os jardins biológicos adjacentes. Organize-os em uma grade, com no máximo 1 quadrado de espaço entre 2 jardins biológicos e eles serão magicamente conectados. :-)\n(Padrão: desligado) +# Added for 1.1.8 +BI_Bigger_Wooden_Chests=Adiciona receitas para __ENTITY__bi-wooden-chest-large__, __ENTITY__bi-wooden-chest-huge__ e __ENTITY__bi-wooden-chest-giga__ +#~ BI_Enable_gvv_support=O "Visualizador de Variáveis Globais da API Lua" (gvv) permite que você inspecione a tabela global de outros mods. Se quiser ajudar na depuração de "Bioindústrias", ative-o e digite "\gvv" no console de bate-papo para abrir a interface gráfica do gvv.\n(Padrão: desligado) +BI_Enable_gvv_support=O "Visualizador de Variáveis Globais da API Lua" (gvv) permite que você inspecione a tabela global de outros mods. Se quiser ajudar na depuração de "Bioindústrias", ative-o e digite "\gvv" no console de bate-papo para abrir a interface gráfica do gvv!\n(Padrão: desligado) +BI_Game_Tweaks_Bot=Os robôs não podem ser minerados nem pegam fogo.\n(Padrão: desligado) +BI_Game_Tweaks_Disassemble=Permita que algumas receitas sejam desmanteladas. Você receberá cerca de 50% dos recursos de volta.\n(Padrão: ligado) +BI_Game_Tweaks_Emissions_Multiplier=Bob começou isso. A ideia geral é que combustíveis não processados poluem mais do que combustíveis mais refinados. Assim, __ITEM__coal__ produzirá 200% de poluição, enquanto __ITEM__solid-fuel__ produzirá apenas 85%. Consulte "Fuel Values.xlsx" na pasta mod para mais informações!\n(Padrão: ligado) +BI_Game_Tweaks_Player=Distância de construção, queda e alcance: 6 => 20\nDistância de alcance para coleta de item 1 => 4\nDistância de alcance de recurso: 2.7 => 4\nDistância de coleta de saque: 2 => 5\n(Padrão: desligado) +BI_Game_Tweaks_Production_Science=Habilita uma receita alternativa para o __ITEM__production-science-pack__.\n(Padrão: ligado) +#~ BI_Game_Tweaks_Recipe=Receitas modificadas: CONCRETO Removido: Minério de ferro Adicionado: Bastão de ferro, MURO DE PEDRA Adicionado: Bastão de ferro, TRILHOS Removido: pedra Adicionado: Pedra britada e concreto, MACHADO DE AÇO Removido: Bastão de ferro Adicionado: Machado de ferro +BI_Game_Tweaks_Recipe=Receitas modificadas:\n__ITEM__concrete__ (__ENTITY__iron-ore__ => __ITEM__iron-stick__)\n__ENTITY__stone-wall__ (requer __ITEM__iron-stick__)\n__ENTITY__straight-rail__ (__ITEM__stone__ => __ITEM__stone-crushed__ + __ITEM__concrete__)\n(Padrão: ligado) +BI_Game_Tweaks_Small_Tree_Collisionbox=EXPERIMENTAL: Esta configuração vem habilitada por padrão. Caso contrário, as árvores terão uma área de colisão maior, tornando as florestas mais propensas a bloquear jogadores, veículos e mordedores. Não tenho certeza se isso terá algum efeito colateral!\n(Padrão: ligado) +BI_Game_Tweaks_Stack_Size=Afeta tamanhos de pilha de __ITEM__wood__, __ITEM__stone__, __ITEM__stone-crushed__, __ITEM__concrete__ e __ITEM__slag__.\n(Padrão: ligado) +BI_Game_Tweaks_Tree=Ajustes do jogo - as árvores fornecem aleatoriamente de 1 a 6 __ITEM__wood__s quando cortadas. (Normal: 4)\n(Padrão: ligado) +#~ BI_Hide_musk_floor_in_mapview=Na visualização do mapa, a sobreposição da rede elétrica ficará oculta para o Chão Musk se esta configuração estiver habilitada. Isso não deve ser alterado em um jogo em andamento, pois aplicar a configuração a cada piso de Musk pode levar algum tempo! +BI_Show_musk_floor_in_mapview=Exibe a sobreposição da rede elétrica para __ENTITY__bi-solar-mat__ na visualização do mapa. Isso não deve ser alterado em um jogo em andamento, pois aplicar a configuração a cada bloco __ENTITY__bi-solar-mat__ pode levar algum tempo!\n(Padrão: ligado) +BI_Solar_Additions=Permite itens solares como a __ENTITY__bi-bio-solar-farm__, __ENTITY__bi-solar-boiler__, __ENTITY__bi-bio-accumulator__ e __ENTITY__bi-large-substation__.\n(Padrão: ligado) diff --git a/Bio_Industries_2/locale/pt-BR/recipe-description.cfg b/Bio_Industries_2/locale/pt-BR/recipe-description.cfg new file mode 100644 index 0000000..e2323c5 --- /dev/null +++ b/Bio_Industries_2/locale/pt-BR/recipe-description.cfg @@ -0,0 +1,136 @@ +[recipe-description] +## Production +bi-adv-fertilizer-1=Use __ITEM__bi-adv-fertilizer__ para uma superprodução — é muito melhor do que __ITEM__fertilizer__! (Feito com __ITEM__alien-artifact__) +bi-adv-fertilizer-2=Use __ITEM__bi-adv-fertilizer__ para uma superprodução — é muito melhor do que __ITEM__fertilizer__! +bi-fertilizer-1=Faz seus cultivos crescerem mais rápido, realmente funciona! +bi-fertilizer-2=Faz seus cultivos crescerem mais rápido, realmente funciona! (Feito com hidróxido de sódio) +bob-fertiliser=Faz seus cultivos crescerem mais rápido, realmente funciona! +# Added for 0.18.32/1.1.2 +bi-adv-fertilizer-fluid=__ITEM__bi-adv-fertilizer__ dissolve em água +bi-fertilizer-fluid=__ITEM__fertilizer__ dissolve em água + +bi-arboretum-r1=Nota: A receita nunca será concluída, as árvores são plantadas na varredura do setor. +bi-arboretum-r2=Nota: A receita nunca será concluída, o solo é fertilizado na varredura do setor. +bi-arboretum-r3=Nota: A receita nunca será concluída, o solo é fertilizado na varredura do setor. +bi-arboretum-r4=Nota: A receita nunca será concluída, o solo é fertilizado e as árvores são plantadas na varredura do setor. +bi-arboretum-r5=Nota: A receita nunca será concluída, o solo é fertilizado e as árvores são plantadas na varredura do setor. + +bi-basic-gas-processing=Extração ineficiente de gás utilizando __ITEM__coal__ e __ITEM__resin__ + +bi-battery=Se você realmente pensar sobre isso, esta __ITEM__battery__ é feita de __ITEM__wood__! +bi-rail-wood-to-concrete=__ENTITY__bi-rail-wood__ são opções econômicas de fabricar e permitem que você inicie facilmente sua rede ferroviária. Porém se você deseja utilizar __ENTITY__bi-rail-power__, você precisará de trilhos normais. + +bi-biomass-1=Melhore sua produção de biomassa de algas com __ITEM__fertilizer__! +bi-biomass-2=Retorna parte da biomassa de algas produzida para produzir mais!\nObservação: isso renderá menos (e levará mais tempo) do que usar a receita inicial, mas você economizará __ITEM__fertilizer__. +bi-biomass-3=Retorna parte da biomassa de algas produzida para produzir grandes quantidades!\nNota: O valor adicionado de __ITEM__bi-ash__ lhe dará um rendimento muito maior em uma fração do tempo. + +bi-biomass-conversion-1=Use biomassa de algas para produzir Petróleo leve e __ITEM__bi-cellulose__! +bi-biomass-conversion-2=Use biomassa de algas para produzir Gás de petróleo! +bi-biomass-conversion-3=Use biomassa de algas para produzir Lubrificante! +bi-biomass-conversion-4=Use biomassa de algas para produzir Petróleo pesado e Água! + +bi-seed-1=Use madeira e água para produzir __ITEM__bi-seed__! +bi-seed-2=Aumente sua produção de __ITEM__bi-seed__ utilizando __ITEM__bi-ash__ como um fertilizante mais barato! +bi-seed-3=Aumente sua produção de __ITEM__bi-seed__ ainda mais utilizando __ITEM__fertilizer__ ao invés de __ITEM__bi-ash__! +bi-seed-4=Aumente drásticamente sua produção de __ITEM__bi-seed__ com __ITEM__bi-adv-fertilizer__! + +bi-seedling-1=Use __ITEM__bi-seed__ e Água para crescer __ENTITY__seedling__s! +bi-seedling-2=Produza mais utilizando __ITEM__bi-ash__ como um fertilizante mais barato! +bi-seedling-3=Aumente sua produção utilizando __ITEM__fertilizer__! +bi-seedling-4=Use __ITEM__bi-adv-fertilizer__ para uma superprodução! + +bi-seed-bomb-advanced=Espalha __ITEM__bi-seed__ em um raio de 30 blocos ao redor do local do impacto. __ITEM__bi-adv-fertilizer__ aumenta a chance de __ITEM__bi-seed__ se tornarem árvores rapidamente! +bi-seed-bomb-basic=Espalha __ITEM__bi-seed__ em um raio de 24 blocos ao redor do local do impacto, com um pouco de sorte elas se tornarão árvores! +bi-seed-bomb-standard=Espalha __ITEM__bi-seed__ em um raio de 27 blocos ao redor do local do impacto. __ITEM__fertilizer__ aumenta a chance de __ITEM__bi-seed__ se tornarem árvores. + +bi-logs-1=Cresça __ITEM__wood__ a moda antiga ao regar __ITEM__bi-seed__s! +bi-logs-2=Melhore sua produção de __ITEM__wood__ ao utilizar __ITEM__bi-ash__ como um fertilizante mais barato! +bi-logs-3=Cresça ainda mais __ITEM__wood__ ao utilizar __ITEM__fertilizer__ ao invés de __ITEM__bi-ash__! +bi-logs-4=__ITEM__bi-adv-fertilizer__ é utilizado nesta receita. Preciso dizer mais alguma coisa? + + +## Resources +bi-ash-1=Queime __ITEM__wood__ para obter __ITEM__bi-ash__! +bi-ash-2=Queime muita __ITEM__bi-woodpulp__ para obter muita __ITEM__bi-ash__! + +bi-cellulose-1=Combine __ITEM__bi-woodpulp__ e Ácido sulfúrico e você fabricará __ITEM__bi-cellulose__. +bi-cellulose-2=Aqueça um pouco as coisas para quadruplicar sua produção de __ITEM__bi-cellulose__! + +bi-charcoal-1=O valor de combustível que você obterá ao processar __ITEM__bi-cellulose__ em __ITEM__wood-charcoal__ será apenas 20% do que você obteria no mesmo tempo ao fabricar __ITEM__wood-bricks__. No entanto, __ITEM__wood-charcoal__ pode ser transformado em __ITEM__coal__. +bi-charcoal-2=Queimar __ITEM__wood__ concederá a você 60% mais __ITEM__wood-charcoal__ do que queimar __ITEM__bi-woodpulp__. +bi-coal-1=Coloque __ITEM__wood-charcoal__, retire __ITEM__coal__… +bi-coal-2=Coloque __ITEM__wood-charcoal__, retire ainda mais __ITEM__coal__… Tecnologia avançada permite uma produção consideravelmente aumentada de __ITEM__coal__! +bi-coke-coal=Refinar __ITEM__coal__ irá aumentar seu valor de combustível. Também, __ITEM__pellet-coke__ causará menos poluição e dará um bônus de velocidade máxima e aceleração quando utilizado como combustível em veículos. +bi-pellet-coke=Transforma __ITEM__solid-fuel__ em __ITEM__pellet-coke__ +bi-pellet-coke-2=Transforma carbono em __ITEM__pellet-coke__ +bi-solid-fuel=Transformar __ITEM__wood-bricks__ em __ITEM__solid-fuel__ é uma ótima maneira de se livrar do excesso de __ITEM__bi-woodpulp__! +bi-wood-fuel-brick=__ITEM__wood-bricks__ são mais fáceis de lidar do que __ITEM__bi-woodpulp__ descompactada. + +bi-crushed-stone-1=Faça __ITEM__stone-crushed__ a partir de __ITEM__stone__ que você encontrou ou minerou. +#~ bi-crushed-stone-2=Tendo dominado o processamento avançado de materiais, agora você também pode obter __ITEM__stone-crushed__ de __ITEM__concrete__! +#~ bi-crushed-stone-3=Tendo dominado o processamento avançado de materiais, agora você também pode obter __ITEM__stone-crushed__ de __ITEM__hazard-concrete__! +#~ bi-crushed-stone-4=Você obterá o dobro de __ITEM__stone-crushed__ processando __ITEM__refined-concrete__ ao invés de __ITEM__concrete__, mas levará o dobro do tempo! +#~ bi-crushed-stone-5=Você obterá o dobro de __ITEM__stone-crushed__ processando __ITEM__refined-hazard-concrete__ ao invés de __ITEM__hazard-concrete__, mas levará o dobro do tempo! +bi-crushed-stone=O excesso de __ITEM__concrete__ e todas as suas variantes podem ser reciclados em __ITEM__stone-crushed__. +bi-stone-brick=__ITEM__stone-brick__ feito mais rápido e com menos __ITEM__stone__! + +bi-purified-air-1=Se você fornecer água suficiente e o bom e velho __ITEM__fertilizer__ o __ENTITY__bi-bio-garden__ limpará o ar por um tempo. +bi-purified-air-1-fluid=Forneça __ITEM__fertilizer__ líquido ao __ENTITY__bi-bio-garden__ e ele limpará o ar por um tempo. +bi-purified-air-2=Use __ITEM__bi-adv-fertilizer__ e o __ENTITY__bi-bio-garden__ irá limpar o ar por muito mais tempo! Desta forma, você irá poupar muita água. +bi-purified-air-2-fluid=Forneça __ITEM__bi-adv-fertilizer__ líquido ao __ENTITY__bi-bio-garden__ e ele limpará o ar por um longo tempo! + +bi-resin-pulp=Claro que você pode extrair __ITEM__resin__ de __ITEM__bi-woodpulp__, porém não é muito eficiente. +bi-resin-wood=Processe __ITEM__wood__ para conseguir __ITEM__resin__ de forma mais eficiente! +bi-wood-from-pulp=Faça __ITEM__wood__ de __ITEM__bi-woodpulp__ e __ITEM__resin__! +bi-woodpulp=Você pode queimar __ITEM__bi-woodpulp__ (bruta ou refinada), ou pode utilizar para produzir __ITEM__resin__, __ITEM__bi-cellulose__ e __ITEM__bi-adv-fertilizer__. + +bi-acid=Use biomassa de algas e __ITEM__bi-cellulose__ para produzir Ácido sulfúrico! +bi-liquid-air=Ar líquido é necessário para fazer Nitrogênio e Biomassa de algas. +bi-nitrogen=Nitrogênio é necessário para fazer __ITEM__fertilizer__. +bi-sulfur=Bio-__ITEM__sulfur__ — tão natural, tão sulfúrico! +bi-plastic-1=__ITEM__plastic-bar__ feita a partir de __ITEM__wood__ +bi-plastic-2=__ITEM__plastic-bar__ feita a partir de __ITEM__bi-cellulose__ + + +## Disassemble +bi-disassemble-recipes=Parte da matéria-prima pode ser reutilizada. + + +## Compatibility with other mods +## angelsrefining +bi-mineralized-sulfuric-waste=__ITEM__stone-crushed__, __ITEM__bi-charcoal__ e água pura são processadas para produzir água mineralizada — e águas residuais sulfúricas. +bi-slag-slurry=Lama impura de __ITEM__bi-ash__, __ITEM__stone-crushed__ e água salina +## angelspetrochem +bi-biomass-conversion-2-methane=Use biomassa de algas para produzir gás metano! +bi-biomass-conversion-4-yellow-waste=Use biomassa de algas para produzir petróleo pesado e águas residuais sulfúricas! +bi-sulfur-angels=Bio-__ITEM__sulfur__ — tão natural, tão sulfúrico! +## angelsrefining, BioTech, Krastorio/Krastorio2 +bi-sand=__ENTITY__bi-stone-crusher__ pode fazer __ITEM__sand__ de __ITEM__stone-crushed__. +## Industrial Revolution +bi-crushed-stone-1_IR=Faça __ITEM__gravel__ de __ITEM__stone__ se você encontrou ou minerou. +#~ bi-crushed-stone-2=Tendo dominado o processamento avançado de materiais, agora você também pode obter __ITEM__stone-crushed__ de __ITEM__concrete__! +#~ bi-crushed-stone-3=Tendo dominado o processamento avançado de materiais, agora você também pode obter __ITEM__stone-crushed__ de __ITEM__hazard-concrete__! +#~ bi-crushed-stone-4=Você receberá o dobro de __ITEM__stone-crushed__ ao processar __ITEM__refined-concrete__ ao invés de __ITEM__concrete__, porém demora o dobro do tempo! +#~ bi-crushed-stone-5=Você receberá o dobro de __ITEM__stone-crushed__ ao processar __ITEM__refined-hazard-concrete__ ao invés de __ITEM__hazard-concrete__, porém demora o dobro do tempo! +bi-crushed-stone_IR=O excesso de __ITEM__concrete__ e todas as suas variantes podem ser reciclados em __ITEM__gravel__. + + +#~ bi-power-to-rail-pole=Conecte seu trilho elétrico à rede elétrica +#~ bi-production-science-pack=Utiliza mais trilhos de madeira (mais baratos), para fazer pacotes científicos de produção! +#~ bi-rail-power=Trilho que também conduz eletricidade (conecte-o à rede elétrica utilizando o conector "energia para trilho") +#~ bi-rail-wood-bridge=Trilho que pode atravessar a água\nObservação: Você não pode andar sobre ele! +#~ bi-rail-wood-to-concrete=Atualizar trilhos de madeira para trilhos normais +#~ bi-rail-wood=Trilhos baratos feitos com madeira +#~ bi-sand=Areia de pedra britada +#~ bi-seedling=Uma árvore jovem, perfeita para plantar. (Você também pode plantá-la no solo e ela crescerá e se tornará uma árvore. Lembre-se de fertilizar o solo primeiro para aumentar as chances de crescimento!) +#~ bi-seed-bomb-advanced=Plante árvores em uma grande área, com fertilizante avançado por meio de uma bomba de sementes! +#~ bi-seed-bomb-basic=Plante árvores em uma grande área com uma bomba de sementes! +#~ bi-seed-bomb-standard=Plante árvores em uma área grande, com fertilizante por meio de uma bomba de sementes! +#~ bi-slag-slurry=Lama impura de cinzas, pedra britada e água salgada +#~ bi-solar-boiler=Uma caldeira que utiliza energia solar ou eletricidade (também produz eletricidade). +#~ bi-solar-boiler-hidden-panel=Uma caldeira que utiliza energia solar ou eletricidade (também produz eletricidade). +#~ bi-stone-crusher=Máquina para quebrar pedra em pedra britada +#~ bi-sulfur=Bio-enxofre +#~ bi-wood-from-pulp=Recupere madeira compactando polpa de madeira e resina +#~ bi-wood-fuel-brick=Compacte a polpa de madeira para facilitar o manuseio! +#~ bi-wooden-pole-huge=Um enorme poste de madeira para cobrir grandes distâncias (64 blocos) com cabos de cobre ou fios de rede de circuitos diff --git a/Bio_Industries_2/locale/pt-BR/recipe-name.cfg b/Bio_Industries_2/locale/pt-BR/recipe-name.cfg new file mode 100644 index 0000000..e9a311a --- /dev/null +++ b/Bio_Industries_2/locale/pt-BR/recipe-name.cfg @@ -0,0 +1,125 @@ +[recipe-name] +## Production +#~ bi-adv-fertilizer-1=Advanced fertilizer +#~ bi-adv-fertilizer-2=Advanced fertilizer +bi-adv-fertilizer-1=__ITEM__bi-adv-fertilizer__ +bi-adv-fertilizer-2=__ITEM__bi-adv-fertilizer__ +# Added for 0.18.32/1.1.2 +bi-adv-fertilizer-fluid=__ITEM__bi-adv-fertilizer__ líquido +bi-fertilizer-1=__ITEM__fertilizer__ +bi-fertilizer-2=__ITEM__fertilizer__ (com hidróxido de sódio) +bob-fertiliser=__ITEM__fertilizer__ +# Added for 0.18.32/1.1.2 +bi-fertilizer-fluid=__ITEM__fertilizer__ líquido + + +bi-arboretum-r1=Cultivo de árvores +bi-arboretum-r2=Terraformar utilizando __ITEM__fertilizer__ +bi-arboretum-r3=Terraformar utilizando __ITEM__bi-adv-fertilizer__ +bi-arboretum-r4=Terraformar utilizando __ITEM__fertilizer__ e plantar árvores +bi-arboretum-r5=Terraformar utilizando __ITEM__bi-adv-fertilizer__ e plantar árvores + +bi-ash-1=__ITEM__bi-ash__ de __ITEM__wood__ +bi-ash-2=__ITEM__bi-ash__ de __ITEM__bi-woodpulp__ + +bi-basic-gas-processing=Processamento básico de gás utilizando __ITEM__coal__ e __ITEM__resin__ + +bi-battery=Bateria biológica +bi-rail-wood-to-concrete=Melhora __ENTITY__bi-rail-wood__ + +#~ bi-biomass-1=Produção de biomassa de algas com __ITEM__fertilizer__ +#~ bi-biomass-2=Produção de biomassa de algas com (básico) +#~ bi-biomass-3=Produção de biomassa de algas com (avançado) +#~ bi-biomass-1=Produz biomassa de algas utilizando __ITEM__fertilizer__ +bi-biomass-1=Produção de biomassa de algas +bi-biomass-2=Cultivo de biomassa de algas +bi-biomass-3=Cultivo de biomassa de algas utilizando __ITEM__bi-ash__ + +bi-biomass-conversion-1=Conversão de biocombustível 1: Celulose, Petróleo leve +bi-biomass-conversion-2=Conversão de biocombustível 2: Gás de petróleo +bi-biomass-conversion-3=Conversão de biocombustível 3: Lubricante +bi-biomass-conversion-4=Conversão de biocombustível 4: Petróleo pesado, Água + +bi-seed-1=Produção básica de __ITEM__bi-seed__ +bi-seed-2=Produção melhorada de __ITEM__bi-seed__ utilizando __ITEM__bi-ash__ +bi-seed-3=Produção avançada de __ITEM__bi-seed__ utilizando __ITEM__fertilizer__ +bi-seed-4=Superprodução de __ITEM__bi-seed__ utilizando __ITEM__bi-adv-fertilizer__ + +bi-seed-bomb-advanced=__ITEM__bi-seed-bomb-basic__ utilizando __ITEM__bi-adv-fertilizer__ +bi-seed-bomb-basic=__ITEM__bi-seed-bomb-basic__ +bi-seed-bomb-standard=__ITEM__bi-seed-bomb-basic__ utilizando __ITEM__fertilizer__ + +bi-seedling-1=Produção básica de __ENTITY__seedling__s +bi-seedling-2=Produção melhorada de __ENTITY__seedling__s utilizando __ITEM__bi-ash__ +bi-seedling-3=Produção avançada de __ENTITY__seedling__s utilizando __ITEM__fertilizer__ +bi-seedling-4=Superprodução de __ENTITY__seedling__s utilizando __ITEM__bi-adv-fertilizer__ + +bi-logs-1=Produção básica de __ITEM__wood__ +bi-logs-2=Produção melhorada de __ITEM__wood__ utilizando __ITEM__bi-ash__ +bi-logs-3=Produção avançada de __ITEM__wood__ utilizando __ITEM__fertilizer__ +bi-logs-4=Superprodução de __ITEM__wood__ utilizando __ITEM__bi-adv-fertilizer__ + + +## Resources +bi-cellulose-1=Produção básica de __ITEM__bi-cellulose__ +bi-cellulose-2=Produção avançada de __ITEM__bi-cellulose__ + +bi-charcoal-1=__ITEM__wood-charcoal__ de __ITEM__bi-woodpulp__ +bi-charcoal-2=__ITEM__wood-charcoal__ de __ITEM__wood__ +bi-coal-1=Produção básica de __ITEM__coal__ +bi-coal-2=Produção avançada de __ITEM__coal__ +bi-coke-coal=__ITEM__pellet-coke__ +bi-pellet-coke=__ITEM__pellet-coke__ de __ITEM__solid-fuel__ +bi-pellet-coke-2=__ITEM__pellet-coke__ de carbono +bi-solid-fuel=__ITEM__solid-fuel__ de __ITEM__wood-bricks__ +bi-wood-fuel-brick=__ITEM__wood-bricks__ + +bi-crushed-stone-1=__ITEM__stone-crushed__ +bi-crushed-stone-2=__ITEM__stone-crushed__ de __ITEM__concrete__ +bi-crushed-stone-3=__ITEM__stone-crushed__ de __ITEM__hazard-concrete__ +bi-crushed-stone-4=__ITEM__stone-crushed__ de __ITEM__refined-concrete__ +bi-crushed-stone-5=__ITEM__stone-crushed__ de __ITEM__refined-hazard-concrete__ +bi-stone-brick=__ITEM__stone-brick__ biológico + +bi-purified-air-1=__ITEM__bi-purified-air__ — utilizando __ITEM__fertilizer__ +bi-purified-air-2=__ITEM__bi-purified-air__ — utilizando __ITEM__bi-adv-fertilizer__ + +bi-resin-pulp=__ITEM__resin__ de __ITEM__bi-woodpulp__ +bi-resin-wood=__ITEM__resin__ de __ITEM__wood__ +bi-woodpulp=__ITEM__bi-woodpulp__ +bi-wood-from-pulp=__ITEM__wood__ de __ITEM__bi-woodpulp__ + +bi-acid=Bioácido +bi-liquid-air=Ar líquido +bi-nitrogen=Nitrogênio +bi-sulfur=Bio-__ITEM__sulfur__ +bi-plastic-1=__ITEM__plastic-bar__ de __ITEM__wood__ +bi-plastic-2=__ITEM__plastic-bar__ de __ITEM__bi-cellulose__ + + +## Disassemble +bi-burner-inserter-disassemble=Desmantelamento de __ENTITY__burner-inserter__ +bi-burner-mining-drill-disassemble=Desmantelamento de __ENTITY__burner-mining-drill__ +bi-long-handed-inserter-disassemble=Desmantelamento de __ENTITY__long-handed-inserter__ +bi-steel-furnace-disassemble=Desmantelamento de __ENTITY__steel-furnace__ +bi-stone-furnace-disassemble=Desmantelamento de __ENTITY__stone-furnace__ + + +## Compatibility with other mods +## angelsrefining +bi-mineralized-sulfuric-waste=Água mineralizada +bi-slag-slurry=Lama impura de __ITEM__bi-ash__, __ITEM__stone-brished__ e água salina +## angelspetrochem +bi-biomass-conversion-2-methane=Conversão de biocombustível 2: Gás metano +bi-biomass-conversion-4-yellow-waste=Conversão de biocombustível 4: Petróleo pesado, Águas residuais sulfúricas +bi-sulfur-angels=Bio-__ITEM__sulfur__ +## angelsrefining, BioTech, Krastorio/Krastorio2 +bi-sand=__ITEM__sand__ de __ITEM__stone-crushed__ +## bobelectronics +bi-press-wood=Tabuleiro de madeira +## Industrial Revolution +bi-crushed-stone-1_IR=__ITEM__gravel__ de __ITEM__stone__ +bi-crushed-stone-2_IR=__ITEM__gravel__ de __ITEM__concrete__ +bi-crushed-stone-3_IR=__ITEM__gravel__ de __ITEM__hazard-concrete__ +bi-crushed-stone-4_IR=__ITEM__gravel__ de __ITEM__refined-concrete__ +bi-crushed-stone-5_IR=__ITEM__gravel__ de __ITEM__refined-hazard-concrete__ diff --git a/Bio_Industries_2/locale/pt-BR/tech.cfg b/Bio_Industries_2/locale/pt-BR/tech.cfg new file mode 100644 index 0000000..adfe3d8 --- /dev/null +++ b/Bio_Industries_2/locale/pt-BR/tech.cfg @@ -0,0 +1,19 @@ +[technology-name] +bi-tech-advanced-biotechnology=Biotecnologia avançada +bi-tech-bio-cannon=Protótipo de artilharia +bi-tech-bio-farming=Cultivo biológico +bi-tech-coal-processing-1=Processamento de carvão 1 +bi-tech-coal-processing-2=Processamento de carvão 2 +bi-tech-coal-processing-3=Processamento de carvão 3 +bi-tech-fertilizer=Fertilizante +bi-tech-organic-plastic=Plástico orgânico + +[technology-description] +bi-tech-advanced-biotechnology=Desbloqueia receitas de níveis mais altos +bi-tech-bio-cannon=Tecnologia de protótipo de torre de artilharia. - Ainda não é capaz de mirar manualmente +bi-tech-bio-farming=Aprenda a cultivar árvores – o primeiro passo para descobrir outros produtos de madeira +bi-tech-coal-processing-1=Desbloqueia o processamento de madeira para obter carvão vegetal e cinzas +bi-tech-coal-processing-2=Desbloqueia o processamento de carvão vegetal em carvão e de combustível sólido em pellet de coque +bi-tech-coal-processing-3=Carvão vegetal é processado de forma mais eficiente e debloqueia a produção de pellet de coque a partir do carvão +bi-tech-fertilizer=Utilizando fertilizante você pode obter muito mais rendimento nas receitas +bi-tech-organic-plastic=Produção de plásticos a partir de materiais orgânicos diff --git a/Bio_Industries_2/locale/ru/bio_industries.cfg.bak b/Bio_Industries_2/locale/ru/bio_industries.cfg.bak deleted file mode 100644 index 02240c4..0000000 --- a/Bio_Industries_2/locale/ru/bio_industries.cfg.bak +++ /dev/null @@ -1,107 +0,0 @@ - -[ammo-category-name] -Bio_Cannon_Ammo=Bio cannon ammo -Bio_Turret_Ammo=Bio turret ammo - -[bi-misc] -growing-tree=Растущее дерево -growing-tree-desc=Если подождать, из этого саженца вырастет большое дерево -young-tree=Молодое дерево -young-tree-desc=Это дерево ещё молодое, из него выйдет не так много древесины. Лучше подождать, пока оно полностью вырастет, прежде, чем рубить его! - -[entity-description] -# Changed for 0.17.60/0.18.29! -#~ bi-bio-boiler=These boilers are as efficient as normal ones, but produce 75% less pollution! -bi-solar-boiler=Бойлер с нагревом от солнечного тепла или электричества (также производит электричество). - -[item-description] -bi-adv-fertiliser=Улучшенное Удобрение для ещё более быстрого выращивания, либо изменения качества поверхности -bi-arboretum=Терраформер, позволяющий изменять поверхность и сажать вокруг себя деревья -bi-arboretum-area=Терраформер, позволяющий изменять поверхность и сажать вокруг себя деревья -bi-ash=Даже пепел пойдёт в дело! -bi-stone-crusher=Завод для перемалывания камня в Измельчённый камень - -[item-name] -bi-bio-reactor=Биореактор -bi-solar-boiler=Солнечная электростанция и бойлер - -[mod-setting-description] -BI_Game_Tweaks_Small_Tree_Collisionbox=ЭКСПЕРИМЕНТАЛЬНО: настройка включена по умолчани. Если отключить, вокруг деревья получат большую область столкновений из немодифицированной игры. Такие деревья будут создавать больше препятствий для игроков, транспорта и кусак. Могут возникнуть побочные эффекты! -# This setting has been inverted for 1.0! While activating this setting would HIDE the overlay before, it will SHOW the overlay now. I'll leave the old translation in for reference (commented out). This line can be removed once the new string has been translated! -#~ BI_Hide_musk_floor_in_mapview=В режиме карты пол Илона Маска не будет отображаться в слое Электрических сетей, если эта настройка включена. Не рекомендуется изменять при загруженной игре, поскольку применение настройки к каждой клетке пола Илона Маска может занять длительное время! -BI_Show_musk_floor_in_mapview=Show the electric grid overlay for __ENTITY__bi-solar-mat__ in map view. This shouldn't be changed in a running game as applying the setting to every __ENTITY__bi-solar-mat__ tile may take some time! - -[mod-setting-name] -BI_Game_Tweaks_Small_Tree_Collisionbox=Твики игры: Маленькая область столкновений у деревьев -# This setting has been inverted for 1.0! While activating this setting would HIDE the overlay before, it will SHOW the overlay now. I'll leave the old translation in for reference (commented out). This line can be removed once the new string has been translated! -#~ BI_Hide_musk_floor_in_mapview=Скрыть пол Илона Маска в слое Электросетей -BI_Show_musk_floor_in_mapview=Enable: Electric grid overlay for __ENTITY__bi-solar-mat__ in map view - -[recipe-description] -bi-acid=Используйте Биомассу из водорослей и Целлюлозу, чтобы производить Серную кислоту! -bi-adv-fertiliser-1=Лучше, чем обычное Удобрение -bi-adv-fertiliser-2=Лучше, чем обычное Удобрение -bi-ash-1=Сжигайте Древесину, получайте Пепел! -bi-ash-2=Сжигайте много Древесных опилков, получайте много Пепла! -# Added bi-basic-petroleum-gas-processing (0.17.49/0.18.17) -# Renamed bi-basic-petroleum-gas-processing to bi-basic-gas-processing (0.17.51/0.18.20) -bi-basic-gas-processing=Inefficient gas extraction -bi-bio-cannon=Этот ранний прототип артиллерии умеет стрелять ТОЛЬКО по гнёздам (максимальный радиус: 90) и пока не может быть наведён вручную. -bi-bio-cannon-area=Этот ранний прототип артиллерии умеет стрелять ТОЛЬКО по гнёздам (максимальный радиус: 90) и пока не может быть наведён вручную. -bi-bio-cannon-basic-ammo=Ракетный, небольшой физический урон -bi-bio-cannon-biological-ammo=Ракетный, высокий высокий биологический урон -bi-bio-cannon-poison-ammo=Ракетный, средний урон ядом -bi-bio-cannon-proto-ammo=Низкий урон, большая часть взрывчатки используется для придания движения -bi-bio-farm=Биоферма для производства Древесины и Древесных опилок -bi-biomass-1=Начните производство Биомассы из водорослей, применив Удобрение! -bi-biomass-2=Верните в производственный цикл часть произведённой Биомассы из водорослей, чтобы получить ещё больше её!\nПримечание: выход продукта будет меньше и дольше, чем даже в базовом рецепте, но вы сэкономите на удобрениях. -bi-biomass-3=Верните в производственный цикл часть произведённой Биомассы из водорослей и добавьте Пепел, чтобы получить ещё больше её!\nПримечание: выход продукта будет существенно больше и быстрее, чем по другим рецептам. -bi-charcoal-1=Сжигайте Древесные опилки чтобы получать Древесный уголь -bi-charcoal-2=Сжигайте Древесину чтобы получать Древесный уголь -bi-coal-1=Переработайте Древесный уголь на Уголь -bi-coal-2=Продвинутая обработка Древесного угля позволяет получать больше Угля! -bi-coke-coal=Переработайте Уголь в Коксовый уголь -bi-crushed-stone-1=Получайте Измельченный камень путём измельчения камня в Измельчителе камня :-) -bi-crushed-stone-2=Постигнув продвинутую переработку материалов, вы можете получать Измельчённый камень из Бетона! -bi-crushed-stone-3=Постигнув продвинутую переработку материалов, вы можете получать Измельчённый камень из Бетона "Опасность"! -bi-crushed-stone-4=Вы получите в два раза больше Измельчённого камня из Железобетона, чем из Бетона, но и займёт это в два раза дольше! -bi-crushed-stone-5=Вы получите в два раза больше Измельчённого камня из Железобетона "Опасность", чем из Бетона "Опасность", но и займёт это в два раза дольше! -bi-dart-magazine-basic=Базовый дротиковый снаряд -bi-dart-magazine-enhanced=Магазин с продвинутыми дротиками -bi-dart-magazine-poison=Магазин с ядовитыми дротиками -bi-dart-magazine-standard=Магазин с дротиками -bi-logs-1=Выращивайте лес по-старинке, поливая Саженцы! -bi-logs-2=Улучшите производство древесины, используя Пепел как дешёвое удобрение! -bi-logs-3=Выращивайте ещё больше леса, используя полноценное Удобрение вместо Пепла! -bi-logs-4=Применение Продвинутого удобрения даст вам бешеное количество Древесины и Древесных опилок! -bi-pellet-coke=Переработайте Твёрдое топливо в Коксовый уголь -bi-production-science-pack=Используйте большое количество Деревянных рельсов для производства Производственных исследовательских пакетов! -bi-rail-power=Рельс, который может проводить электричество. Подключите к электрической сети используя коннектор "Электро-рельсы" -bi-rail-wood=Дешёвые рельсы, сделанные с применением дерева -bi-rail-wood-to-concrete=Улучшить Деревянные рельсы до обычных Рельсов -bi-resin-pulp=Переработайте Древесные опилки на Смолу -bi-resin-wood=Переработайте Древесину на Смолу -bi-solar-boiler=Бойлер с нагревом от солнечного тепла или электричества (также производит электричество). -bi-solar-boiler-panel=Бойлер с нагревом от солнечного тепла или электричества (также производит электричество). -bi-solid-fuel=Переработка Деревянных топливных брикетов в Твёрдое топливо - отличный способ избавиться от избытка Древесных опилков! -bi-stone-crusher=Устройство для дробления Камня в Измельчённый камень -bi-sulfur=Био-сера -bi-wood-from-pulp=Получите обратно Древесину, прессуя Древесные опилки со Смолой -bi-wood-fuel-brick=Прессуйте Древесные опилки для удобства в обращении! -bi-wooden-pole-huge=Огромный деревянный столб, позволяющий прокидывать Медный кабель или Сигнальный провод на протяжённые расстояния (64 клетки) -bi-woodpulp=Переработать Древесину в Древесные опилки - -[recipe-name] -bi-bio-cannon=Прототип артиллерии -bi-bio-cannon-area=Прототип артиллерии -bi-bio-cannon-basic-ammo=Прототип артиллерии (ракетный боеприпас) -bi-bio-cannon-biological-ammo=Прототип артиллерии (биологический боеприпас) -bi-bio-cannon-poison-ammo=Прототип артиллерии (ядовитый боеприпас) -bi-bio-cannon-proto-ammo=Прототип артиллерии (базовый боеприпас) -bi-crushed-stone-4=Измельчённый камень из Железобетона -bi-crushed-stone-5=Измельчённый камень из Железобетона "Опасность" -bi-production-science-pack=Производственный научный пакет -bi-wood-from-pulp=Дерево из Древесных опилок -# Added bi-basic-petroleum-gas-processing (0.17.49/0.18.17) -# Renamed bi-basic-petroleum-gas-processing to bi-basic-gas-processing (0.17.51/0.18.20) -bi-basic-gas-processing=Basic gas processing diff --git a/Bio_Industries_2/locale/ru/entity-description.cfg b/Bio_Industries_2/locale/ru/entity-description.cfg index 49295cb..7fcf5af 100644 --- a/Bio_Industries_2/locale/ru/entity-description.cfg +++ b/Bio_Industries_2/locale/ru/entity-description.cfg @@ -2,7 +2,7 @@ ## Production bi-arboretum=Терраформер изменяет местность или растущие деревья в радиусе вокруг строения bi-bio-farm=Биоферма, превращает саженцы в древесину. Потребляет больше электричества ночью -bi-bio-garden=Биосад собирает воздух и убирает загрязнение. (-35 PU) +bi-bio-garden=Биосад собирает воздух и убирает загрязнение. (-1.5 PU) bi-bio-greenhouse=Используйте теплицу для роста саженцев seedling=Молодое растение, идеально для посадки. Вы также можете посадить его в землю и оно вырастет в дерево. Помните, что сначала нужно удобрить землю, чтобы увеличить шанс роста. diff --git a/Bio_Industries_2/locale/ru/locale.cfg.bak b/Bio_Industries_2/locale/ru/locale.cfg.bak deleted file mode 100644 index 0217913..0000000 --- a/Bio_Industries_2/locale/ru/locale.cfg.bak +++ /dev/null @@ -1,508 +0,0 @@ -[mod-setting-name] -BI_Solar_Additions=Включить: Био дополнения -BI_Bio_Fuel=Включить: Производство биотоплива -BI_Bio_Cannon=Включить: Прототип артиллерии -BI_Game_Tweaks_Stack_Size=Твики игры: Размер стака -BI_Game_Tweaks_Recipe=Твики игры: Рецепт -BI_Game_Tweaks_Tree=Твики игры: Добыча с деревьев -BI_Game_Tweaks_Small_Tree_Collisionbox=Enable game tweaks: Smaller collision boxes for trees -BI_Game_Tweaks_Player=Твики игры: Игрок -BI_Game_Tweaks_Disassemble=Твики игры: Разборка элементов -BI_Game_Tweaks_Bot=Твики игры: Дроны -BI_Game_Tweaks_Emissions_Multiplier=Твики игры: Множители выбросов топлива -BI_Game_Tweaks_Production_Science=Game tweaks: Alternative recipe for __ITEM__production-science-pack__ -BI_Show_musk_floor_in_mapview=Enable: Electric grid overlay for __ENTITY__bi-solar-mat__ in map view\n(Default: on) -BI_Enable_gvv_support=Compatibility: Add support for GVV - -[mod-setting-description] -BI_Solar_Additions=Включает такие предметы как Солнечная ферма, Солнечная электростанция, Биоаккумулятор и Гигантскую подстанцию. -BI_Bio_Fuel=Включает производство нефтяной продукции используя биотопливо -BI_Bio_Cannon=Прототип артиллерии очень мощный, но стреляет только по гнездам -BI_Game_Tweaks_Stack_Size=Влияет на размеры стаков Древесины, Камня, Щебня, Бетона и Шлака -BI_Game_Tweaks_Recipe=Изменения в рецептах:\nБетон (Железная руда => Железный прут)\nКаменная стена (+ Железный прут)\nЖелезная дорога (Камень => Измельченный камень) -BI_Game_Tweaks_Tree=Твики игры - при рубке деревья случайно дают от 1 до 6 древесины. В ваниле=4 -BI_Game_Tweaks_Small_Tree_Collisionbox=EXPERIMENTAL: This setting is enabled per default. If it isn't, trees will have the bigger vanilla collision box, making forests more likely to block players, vehicles, and biters. Not sure if this will have any side effects! -BI_Game_Tweaks_Player=Дистанция взаимодействия 6 => 20, подбор количества предметов 1 => 4, дистанция добычи ресурсов 2.7 => 4, дистанция подбора предметов 2 => 5, скорость бега 0.15 => 0.25 -BI_Game_Tweaks_Disassemble=Добавить некоторые рецепты для разборки. Вы получите около 50% ресурсов обратно -BI_Game_Tweaks_Bot=Дроны не могут быть подобраны или получать повреждения от горения -BI_Game_Tweaks_Emissions_Multiplier=Боб начинал это. Основная идея заключается в том, что необработанное топливо производит больше загрязнения, чем более продвинутые виды топлива. Таким образом уголь производил 200% загрязнения, в то время как твердое топливо - всего 85%. Пожалуйста, смотрите файл "Fuel Values.xlsx" в папке с модом для большей информации. -BI_Game_Tweaks_Production_Science=If this is enabled, an alternative recipe for Production science packs will be available.\n(Default: on) -BI_Show_musk_floor_in_mapview=Show the electric grid overlay for __ENTITY__bi-solar-mat__ in map view. This shouldn't be changed in a running game as applying the setting to every __ENTITY__bi-solar-mat__ tile may take some time! -BI_Enable_gvv_support=The "Lua API global Variable Viewer" (gvv) allows you to inspect the global table of other mods. If you want to help debugging "Water Turret", enable this and type "\gvv" at the chat console to open the GUI of gvv.\n(Default: off) - -[technology-name] -bi-tech-coal-processing-1=Переработка угля 1 -bi-tech-coal-processing-2=Переработка угля 2 -bi-tech-coal-processing-3=Переработка угля 3 -bi-tech-advanced-biotechnology=Продвинутая биотехнология -bi-tech-bio-cannon=Прототип артиллерии -bi-tech-bio-farming=Биоферма -bi-tech-fertiliser=Удобрение -bi-tech-organic-plastic=Органический пластик - -[technology-description] -bi-tech-coal-processing-1=Переработка дерева в уголь -bi-tech-coal-processing-2=Переработка дерева в уголь -bi-tech-coal-processing-3=Переработка дерева в уголь -bi-tech-advanced-biotechnology=Открытие более высокоуровневых рецептов -bi-tech-bio-cannon=Прототип технологии артиллерийской башни. - Пока что без возможности ручного наведения -bi-tech-bio-farming=Изучите как выращивать деревья первый шаг к открытию других производств дерева -bi-tech-fertiliser=Используя удобрения, вы сможете получить значительно больше из рецептов -bi-tech-organic-plastic=Производство пластика используя органические материалы - - - -[entity-name] -bi-arboretum-area=Терраформер -bi-arboretum-radar=Радар терраформер -bi-arboretum=Терраформер -bi-bio-accumulator=Аккумулятор огромной емкости -bi-bio-boiler=Биобойлер -bi-bio-cannon-area=Прототип артиллерии -bi-bio-cannon=Прототип артиллерии -bi-bio-farm-electric-pole=Кабели биофермы -bi-bio-farm-light=Горячие лампы биофермы -bi-bio-farm-solar-panel=Солнечная энергия биофермы -bi-bio-farm=Биоферма -bi-bio-garden-light=Свет биосада -bi-bio-garden=Биосад -bi-bio-greenhouse=Теплица -bi-bio-reactor=Биореактор -bi-bio-solar-farm=Био Солнечная ферма -bi-burner-pump=Топливная качалка -bi-cokery=Коксовая печь -#~ bi-curved-rail-power=Электрические рельсы -#~ bi-curved-rail-wood-bridge=Деревянные изогнутые рельсы для мостов -#~ bi-curved-rail-wood=Деревянные изогнутые рельсы -bi-dart-magazine-basic=Базовый дротиковый снаряд -bi-dart-magazine-enhanced=Магазин с продвинутыми дротиками -bi-dart-magazine-poison=Магазин с ядовитыми дротиками -bi-dart-magazine-standard=Магазин с дротиками -bi-dart-turret=Дротиковая турель -#~ These strings seem to be obsolete! -#~ bi-ground-steam=Природный пар -#~ bi-ground-sulfuric-acid=Природная серная кислота -#~ bi-ground-water=Вода -bi-large-substation=Гигантская подстанция -bi-musk-mat-pole=Скрытый силовой столб для пола Илона Маска -bi-musk-mat-solar-panel=Пол Илона Маска -bi-power-to-rail-pole=Коннектор "Электро-рельсы" -bi-solar-boiler-panel=Солнечная электростанция и бойлер - Панель -bi-solar-boiler=Солнечная электростанция и бойлер - Бойлер -bi-solar-mat=Пол Илона Маска -bi-stone-crusher=Измельчитель камня -#~ bi-straight-rail-power=Электрические рельсы -#~ bi-straight-rail-wood-bridge=Деревянные прямые рельсы для мостов -#~ bi-straight-rail-wood=Деревянные прямые рельсы -#~ bi-rail-power=Электрические рельсы -bi-rail-power=Электрические рельсы -#~ bi-straight-rail-wood-bridge=Деревянные прямые рельсы для мостов -bi-rail-wood-bridge=Деревянные прямые рельсы для мостов -#~ bi-straight-rail-wood=Деревянные прямые рельсы -bi-rail-wood=Деревянные прямые рельсы -bi-wood-pipe-to-ground=Подземная деревянная труба -bi-wood-pipe=Деревянная труба -bi-wooden-chest-giga=Огромный деревянный ящик -bi-wooden-chest-huge=Большой деревянный ящик -bi-wooden-chest-large=Средний деревянный ящик -bi-wooden-fence=Деревянный забор -bi-wooden-pole-big=Большой деревянный столб -bi-wooden-pole-huge=Гигантский электрический столб -seedling-2=Саженец -seedling-3=Саженец -seedling=Саженец -wooden-chest=Деревянный ящик - -rail-remnants-wood=Remnants of wooden rails -rail-remnants-wood-bridge=Remnants of a wooden bridge - -[entity-description] -bi-arboretum-area=Терраформер изменяет местность или растущие деревья в радиусе вокруг строения -bi-arboretum-radar=Радар терраформера -bi-arboretum=Терраформер изменяет местность или растущие деревья в радиусе вокруг строения -bi-bio-accumulator=Может хранить огромное количество энергии, потому что размер имеет значение... -bi-bio-boiler=Высокоэффективный бойлер -bi-bio-cannon-area=Может стрелять ТОЛЬКО по гнездам! - Дистанция 90 - Пока что без возможности ручного наведения -bi-bio-cannon=Может стрелять ТОЛЬКО по гнездам! - Дистанция 90 - Пока что без возможности ручного наведения -bi-bio-farm-electric-pole=Кабели биофермы (Скрыто) -bi-bio-farm-light=Гарячие лампы биофермы, так что деревья могут расти ночью (Скрыто) -bi-bio-farm-solar-panel=Солнеяная энергия биофермы (Скрыто) -#~ New string in 0.17.60/0.18.29! -#~ bi-bio-farm=Bio farms are where saplings grow into trees that are processed to raw wood and wood pulp. An integrated solar panel provides some of the energy during the day. -bi-bio-farm=Биоферма, превращает саженцы в древесину. Потребляет больше электричества ночью -bi-bio-garden-light=Сад также ведет себя как лампа ночью. (Скрыто) -#~ New string in 0.17.60/0.18.29! -#~ bi-bio-garden=The bio garden scrubs air, removing pollution. (One bio garden can absorb 45 pollution units per second – as much as 1500 trees!) -bi-bio-garden=Биосад собирает воздух и убирает загрязнение. (-35 PU) -bi-bio-greenhouse=Используйте теплицу для роста саженцев -#~ New string in 0.17.60/0.18.29! -#~ bi-bio-reactor=Bio-reactors are used to produce and process biomass.bi-bio-reactor=Использует продвинутые биореакции -#~ New string in 0.17.60/0.18.29! -#~ bi-bio-solar-farm=Bio solar farm save space by condensing your solar panels into a compact unit. They create a lot of power!\Using Bio solar farms instead of the original solar panels will also improve performance because less entities require less updates per second (UPS). -bi-bio-solar-farm=Сохраняет пространство, соединяя ваши солнечный панели в компактный блок. Создает много энергии! -bi-burner-pump=Топливный насос для выкачки воды из-под земли -#~ New string in 0.17.60/0.18.29! -#~ bi-cokery=Wood and wood pulp are processed to charcoal and other fuels in the cokery. -bi-cokery=Переработка дерева в уголь или другие виды топлива -#~ These strings are obsolete! -#~ bi-curved-rail-power=Рельса которая может проводить электричество. Подключите к электрической сети используя коннектор "Электро-рельсы" -#~ bi-curved-rail-wood-bridge=Деревянные изогнутые рельсы для мостов. Заметьте, что вы не можете по ним ходить. -#~ bi-curved-rail-wood=Деревянные изогнутые рельсы - -#~ These are items, not entities! -#~ bi-dart-magazine-basic=Базовые дротиковые снаряды -#~ bi-dart-magazine-enhanced=Продвинутые дротиковые снаряды -#~ bi-dart-magazine-poison=Ядовитые дротиковые снаряды -#~ bi-dart-magazine-standard=Стандартные дротиковые снаряды - -#~ These strings seem to be obsolete! -#~ bi-ground-steam=Природные залежи пара -#~ bi-ground-sulfuric-acid=Природные залежи серной кислоты -#~ bi-ground-water=Глубинная вода -bi-large-substation=Гигантская подстанция -bi-musk-mat-pole=Скрытый силовой столб для пола Илона Маска -bi-musk-mat-solar-panel=Энергия от пола Илона Маска -#~ New string in 0.17.60/0.18.29! -#~ bi-power-to-rail-pole=Connect your power rail to the power grid!\nATTENTION: When you place a connector in reach of two powered rails that are running parallel or crossing each other, you will connect these networks! -bi-power-to-rail-pole=Коннектор ваших электрических рельс к электрической сети -bi-solar-boiler-2=Бойлер, который использует солнечную энергию или электричество. Также производит электричество -bi-solar-boiler-panel=Бойлер, который использует солнечную энергию или электричество. Также производит электричество -bi-solar-mat=Солнечная панель/пол которая может быть использована как дорожное покрытие, генерирует 10kW электричества и позволяет быстро перемещаться (Спасибо Илону Маску!) -#~ New string in 0.17.60/0.18.29! -#~ bi-stone-crusher=These machines crush stone and concrete. If necessary, you can also use them to make sand from crushed stone. -bi-stone-crusher=Машина которая измельчает камни -#~ bi-straight-rail-power=Рельса которая может проводить электричество. Подключите к электрической сети используя коннектор "Электро-рельсы" -bi-rail-power=Рельса которая может проводить электричество. Подключите к электрической сети используя коннектор "Электро-рельсы" -#~ bi-straight-rail-wood-bridge=Деревянные прямые рельсы для мостов. Заметьте, что вы не можете по ним ходить. -bi-rail-wood-bridge=Деревянные прямые рельсы для мостов. Заметьте, что вы не можете по ним ходить. -#~ bi-straight-rail-wood=Деревянные прямые рельсы -bi-rail-wood=Деревянные прямые рельсы -bi-wood-pipe-to-ground=Подземная деревянная труба -bi-wood-pipe=Деревянная труба -bi-wooden-chest-giga=Самый большой деревянный ящик -bi-wooden-chest-huge=Больше среднего деревянный ящик -bi-wooden-chest-large=Обычный средний деревянный ящик -#~ New string in 0.17.60/0.18.29! -#~ bi-wooden-fence=Though not very strong, wooden fences help you right from the start to keep enemies out of your factory. -bi-wooden-fence=Защитная стена сделанная из дерева -bi-wooden-pole-big=Большой деревянный столб ЛЭП. Будет автоматически восстанавливать здоровье, если вы играете с NE Enemies -bi-wooden-pole-huge=Электрический столб, который может охватить огромное расстояние - 64 -seedling-2=Молодое растение, идеально для посадки. Вы также можете посадить его в землю и оно вырастет в дерево. Помните, что сначала нужно удобрить землю, чтобы увеличить шанс роста. -seedling-3=Молодое растение, идеально для посадки. Вы также можете посадить его в землю и оно вырастет в дерево. Помните, что сначала нужно удобрить землю, чтобы увеличить шанс роста. -seedling=Молодое растение, идеально для посадки. Вы также можете посадить его в землю и оно вырастет в дерево. Помните, что сначала нужно удобрить землю, чтобы увеличить шанс роста. - -rail-remnants-wood=Remnants of wooden rails -rail-remnants-wood-bridge=Remnants of a wooden bridge - -[item-name] -bi-adv-fertiliser=Продвинутое удобрение -bi-arboretum-area=Терраформер -bi-arboretum-r1=Посаженные деревья -bi-arboretum-r2=Изменение территории - Базовое -bi-arboretum-r3=Изменение территории - Продвинутое -bi-arboretum-r4=Изменение территории и посаженых деревьев - Базовое -bi-arboretum-r5=Изменение территории и посаженых деревьев - Продвинутое -bi-arboretum=Терраформер -bi-ash=Зола -bi-bio-accumulator=Аккумулятор огромной емкости -bi-bio-boiler=Биобойлер -bi-bio-cannon-area=Прототип артиллерии -bi-bio-cannon-basic-ammo=Прототип артиллерии - ракетный боеприпас -bi-bio-cannon-biological-ammo=Прототип артиллерии - биологический боеприпас -bi-bio-cannon-poison-ammo=Прототип артиллерии - ядовитый боеприпас -bi-bio-cannon-proto-ammo=Прототип артиллерии - базовый боеприпас -bi-bio-cannon=Прототип артиллерии -bi-bio-farm=Биоферма -bi-bio-solar-farm=Био Солнечная ферма -bi-biolab=Биолаборатория -bi-burner-pump=Топливная качалка -bi-cellulose=Целлюлоза -bi-cokery=Коксовая печь -bi-dart-magazine-basic=Базовый дротиковый снаряд -bi-dart-magazine-enhanced=Продвинутый дротиковый снаряд -bi-dart-magazine-poison=Ядовитые дротиковые снаряды -bi-dart-magazine-standard=Стандартные дротиковые боеприпасы -bi-dart-rifle=Дротиковая винтовка -bi-dart-turret=Дротиковая турель -bi-ground-water=Вода -bi-large-substation=Гигантская подстанция -#~ Obsolete? -#~ bi-medicine=Медицина -#~ Do we need localizations for hidden entities? -#~ bi-musk-mat-pole=Скрытый силовой столб для пола Илона Маска -#~ bi-musk-mat-solar-panel=Пол Илона Маска -#~ Obsolete -#~ bi-nutrients=Питательный раствор -bi-power-to-rail-pole=Коннектор "Электро-рельсы" -bi-purified-air=Очиститель воздуха -bi-rail-power=Электрические рельсы -bi-rail-wood-bridge=Деревянные рельсы для мостов -bi-rail-wood=Деревянные рельсы -bi-seed-bomb-advanced=Продвинутая семенная бомба -bi-seed-bomb-basic=Базовая семенная бомба -bi-seed-bomb-standard=Стандартная семенная бомба -bi-seed=Семена -bi-solar-boiler-2=Солнечная электростанция и бойлер - бойлер -bi-solar-boiler-panel=Солнечная электростанция и бойлер - панель -bi-solar-mat=Пол Илона Маска -bi-stone-crusher=Измельченный камень -bi-wood-pipe-to-ground=Подземная деревянная труба -bi-wood-pipe=Деревянная труба -bi-wooden-chest-giga=Огромный деревянный ящик -bi-wooden-chest-huge=Большой деревянный ящик -bi-wooden-chest-large=Средний деревянный ящик -bi-wooden-fence=Деревянный забор -bi-wooden-pole-big=Большой деревянный столб ЛЭП. Будет автоматически восстанавливать здоровье, если вы играете с NE Enemies -bi-wooden-pole-huge=Гигантский электрический столб -bi-woodpulp=Древесные опилки -fertiliser=Удобрение -pellet-coke=Коксовый уголь -resin=Смола -seedling=Сажанец -stone-crushed=Измельчитель камня -#~ Obsolete? This is only used in a compatibility recipe for bi-slag-slurry if angelsrefining is active! -water-saline=Солёная вода -wood-bricks=Деревянные топливные брикеты -wood-charcoal=Древесный уголь - -[item-description] -bi-Arboretum-Area=Терраформер изменяет местность или растущие деревья в радиусе вокруг строения -bi-Arboretum=Терраформер изменяет местность или растущие деревья в радиусе вокруг строения -bi-arboretum-r1=Сажает деревья или изменяет местность в радиусе вокруг строения -bi-arboretum-r2=Изменяет местность в радиусе вокруг строения - Базовое -bi-arboretum-r3=Изменяет местность в радиусе вокруг строения - Продвинутое -bi-arboretum-r4=Изменяет местность и сажает деревья в радиусе вокруг строения - Базовое -bi-arboretum-r5=Изменяет местность и сажает деревья в радиусе вокруг строения - Продвинутое -bi-bio-accumulator=Может хранить огромное количество энергии, потому что размер имеет значение... -bi-bio-boiler=Высокоэффективный бойлер -bi-bio-cannon-area=Может стрелять ТОЛЬКО по гнездам! - Дистанция 90 - Пока что без возможности ручного наведения -bi-bio-cannon-basic-ammo=Ракетная мощь, низкий физический урон -bi-bio-cannon-biological-ammo=Ракетная мощь, высокий биологический урон -bi-bio-cannon-poison-ammo=Ракетная мощь, средний урон ядом -bi-bio-cannon-proto-ammo=Низкий урон, большая часть взрывчатки используется для придания движения -bi-bio-cannon=Может стрелять ТОЛЬКО по гнездам! - Дистанция 90 - Пока что без возможности ручного наведения -bi-bio-farm=Теплица с мощным искусственным освещением для выращивания деревьев из саженцев (сырье-древесина) -bi-bio-solar-farm=Сохраняет пространство, соединяя ваши солнечный панели в компактный блок. Создает много энергии! -#~ Obsolete? -bi-burner-pump=Топливный насос для выкачки воды из-под земли -bi-dart-magazine-basic=Базовый дротиковый снаряд -bi-dart-magazine-enhanced=Продвинутый дротиковый снаряд -bi-dart-magazine-poison=Малый урон ядом -bi-dart-magazine-standard=Стандартные дротиковые снаряды -bi-ground-water=Вода -bi-large-substation=Гигантская подстанция -bi-musk-mat-pole=Скрытый силовой столб для пола Илона Маска -bi-musk-mat-solar-panel=Энергия от пола Илона Маска -bi-power-to-rail-pole=Коннектор ваших электрических рельс к электрической сети -bi-purified-air=Чистый воздух, загрязнение удаляется! -bi-rail-power=Рельса которая может проводить электричество. Подключите к электрической сети используя коннектор "Электро-рельсы" -bi-rail-wood-bridge=Деревянные рельсы для создания мостов. Заметьте, что вы не можете по ней ходить. -bi-rail-wood=Деревянные рельсы -bi-seed-bomb-advanced=Засаживает деревьями большую территорию, с продвинутым удобрением с помощью семенной бомбы! -bi-seed-bomb-basic=Засаживает деревьями большую территорию с помощью семенной бомбы! -bi-seed-bomb-standard=Засаживает деревьями большую территорию, с удобрением с помощью семенной бомбы! -bi-seed=Семена, чтобы выращивать из них саженцы -bi-solar-boiler-panel=Бойлер, который использует солнечную энергию или электричество. Также производит электричество -bi-solar-boiler=Бойлер, который использует солнечную энергию или электричество. Также производит электричество -bi-solar-mat=Солнечная панель/пол которая может быть использована как дорожное покрытие, генерирует 10kW электричества и позволяет быстро перемещаться (Спасибо Илону Маску!) -bi-wood-pipe-to-ground=Деревянная подземная труба -bi-wood-pipe=Труба сделанная из дерева -bi-wooden-chest-giga=Самый большой деревянный ящик -bi-wooden-chest-huge=Деревянный ящик больше среднего -bi-wooden-chest-large=Обычный средний деревянный ящик -bi-wooden-fence=Защитная стена сделанная из дерева -bi-wooden-pole-big=Большой деревянный столб ЛЭП -bi-wooden-pole-huge=Электрический столб, который может охватить огромное расстояние - 64 -bi-woodpulp=Можно сжигать или переработать в золу или уголь -fertiliser=Удобрения нужны для быстрого выращивания растений и изменения качества почвы на более плодородную -pellet-coke=Коксовый уголь это отличное топливо для поездов. -resin=Смола -seedling=Молодое растение, идеально для посадки. Вы также можете посадить его в землю и оно вырастет в дерево. Помните, что сначала её нужно удобрить, чтобы увеличить шанс роста. -stone-crushed=Камень измельченный в щебень -#~ Obsolete? This is only used in a compatibility recipe for bi-slag-slurry if angelsrefining is active! -water-saline=Солёная вода -wood-bricks=Хорошо обработанный источник топлива с низкими выбросами - -[fluid-name] -bi-biomass=Биомасса из водорослей -bi-ground-water=Вода -liquid-air=Сжиженный воздух -nitrogen=Азот -#~ Obsolete? This is only used in a compatibility recipe for bi-slag-slurry if angelsrefining is active! -water-saline=Солёная вода - - -[recipe-name] -bi-bio-accumulator=Аккумулятор огромной емкости -bi-acid=Био-кислота -bi-adv-fertiliser-1=Продвинутое удобрение -bi-adv-fertiliser-2=Продвинутое удобрение -bi-arboretum=Терраформер -bi-arboretum-r1=Посаженные деревья -bi-arboretum-r2=Изменение территории - Базовое -bi-arboretum-r3=Изменение территории - Продвинутое -bi-arboretum-r4=Изменение территории и посаженых деревьев - Базовое -bi-arboretum-r5=Изменение территории и посаженых деревьев - Продвинутое -bi-ash-1=Зола -bi-ash-2=Зола -bi-battery=Биоаккумулятор -bi-dart-magazine-basic=Базовый дротиковый снаряд -bi-dart-magazine-enhanced=Магазин с продвинутыми дротиками -bi-dart-magazine-poison=Магазин с ядовитыми дротиками -bi-dart-magazine-standard=Магазин с дротиками -bi-dart-turret=Дротиковая турель -bi-dart-rifle=Дротиковая винтовка -bi-wooden-pole-big=Большой деревянный столб -bi-bio-farm=Биоферма -bi-bio-garden=Биосад -bi-bio-solar-farm=Био Солнечная ферма -bi-biomass-1=Водоросли-Биомасса-1 -bi-biomass-2=Водоросли-Биомасса-2 -bi-biomass-3=Водоросли-Биомасса-3 -bi-biomass-conversion-1=Превращение биотоплива 1 -bi-biomass-conversion-2=Превращение биотоплива 2 -bi-biomass-conversion-3=Превращение биотоплива 3 -bi-biomass-conversion-4=Превращение биотоплива 4 -bi-bio-reactor=Биореактор -bi-bio-boiler=Биобойлер -bi-burner-inserter-disassemble=Разборка твердотопливного манипулятора -bi-burner-mining-drill-disassemble=Разборка твердотопливного бура -bi-cellulose-1=Целлюлоза -bi-cellulose-2=Целлюлоза -bi-charcoal-1=Древесный уголь -bi-charcoal-2=Древесный уголь -bi-coal-1=Базовое производство угля -bi-coal-2=Продвинутое производство угля -bi-coke-coal=Коксовый уголь -bi-cokery=Коксовая печь -bi-crushed-stone-1=Измельченный камень -bi-crushed-stone-2=Измельченный камень -bi-crushed-stone-3=Измельченный камень -bi-fertiliser-1=Удобрение -bi-fertiliser-2=Удобрение -bi-wooden-chest-giga=Огромный деревянный ящик -bi-bio-greenhouse=Теплица -bi-large-substation=Гигантская подстанция -bi-wooden-chest-huge=Большой деревянный ящик -bi-wooden-pole-huge=Гигантский электрический столб -bi-wooden-chest-large=Средний деревянный ящик -bi-liquid-air=Сжиженный воздух -bi-logs-1=Базовое производство дерева -bi-logs-2=Производство дерева Mk2 -bi-logs-3=Продвинутое производство дерева -bi-logs-4=Супер производство дерева -bi-long-handed-inserter-disassemble=Разборка длинного манипулятора -bi-mineralized-sulfuric-waste=Получение воды и серных отходов -bi-nitrogen=Азот -bi-pellet-coke=Коксовые паллеты из твердого топлива -bi-pellet-coke-2=Угольные паллеты из Углерода -bi-wood-pipe-to-ground=Подземная деревянная труба -bi-plastic-1=Биопластик 1 -bi-plastic-2=Биопластик 2 -bi-power-to-rail-pole=Рельса с разъемом питания -bi-press-wood=Прессование древесины -bi-production-science-pack=Production science pack -bi-purified-air-1=Очистка воздуха -bi-purified-air-2=Очистка воздуха Mk2 -bi-rail-power=Электрические рельсы -bi-rail-wood=Деревянные рельсы -bi-rail-wood-bridge=Деревянные рельсы для мостов -bi-rail-wood-to-concrete=Улучшенные деревянные рельсы -bi-resin-pulp=Смола -bi-resin-wood=Смола -#~ bi-seedling=Саженец -bi-seed-1=Базовое семя -bi-seed-2=Производство семян дерева из золы -bi-seed-3=Производство семян дерева из удобрения -bi-seed-4=Производство семян дерева из продвинутого удобрения -bi-seed-bomb-advanced=Продвинутая семенная бомба -bi-seed-bomb-basic=Базовая семенная бомба -bi-seed-bomb-standard=Стандартная семенная бомба -bi-seedling-1=Базовое производство саженцев -bi-seedling-2=Производство саженцев Mk2 -bi-seedling-3=Продвинутое производство саженцев -bi-seedling-4=Супер производство саженцев -bi-slag-slurry=Сжиженный шлак -bi-solar-boiler=Солнечная электростанция и бойлер -bi-solar-boiler-panel=Солнечная электростанция и бойлер -bi-solar-mat=Пол Илона Маска -bi-solid-fuel=Твердое топливо из деревянных топливных брикетов -bi-steel-furnace-disassemble=Разборка стальной печи -bi-stone-brick=Био-Каменный блок -bi-stone-furnace-disassemble=Разборка каменной печи -bi-stone-crusher=Измельченный камень -bi-sulfur=Био-сера -bi-sulfur-angels=Био-сера -bi-wood-from-pulp=Wood from pulp -bi-wood-fuel-brick=Деревянные брикеты -bi-wood-pipe=Деревянная труба -bi-wooden-fence=Деревянный забор -bi-woodpulp=Древесные опилки -wooden-chest=Деревянный ящик - -[recipe-description] -bi-arboretum=Сажает деревья или изменяет местность в радиусе вокруг строения -bi-arboretum-r1=Использование Терраформера - Сажает деревья в радиусе вокруг себя (Посадка никогда не прекращается, деревья перевысаживаются посекторно) -bi-arboretum-r2=Использование Терраформера - Изменяет местность в радиусе вокруг себя - Базовое -bi-arboretum-r3=Использование Терраформера - Изменяет местность в радиусе вокруг себя - Продвинутое -bi-arboretum-r4=Использование Терраформера - Изменяет местность и сажает деревья в радиусе вокруг себя - Базовое -bi-arboretum-r5=Использование Терраформера - Изменяет местность и сажает деревья в радиусе вокруг себя - Продвинутое -bi-basic-pumpjack-disassemble=Разобрать топливную качалку и получить немного материалов -bi-biomass-conversion-1=Водоросли-Биомасса в легкую нефть -bi-biomass-conversion-2=Водоросли-Биомасса в нефть -bi-biomass-conversion-3=Водоросли-Биомасса в смазку -bi-biomass-conversion-4=Превращение биотоплива 4 -bi-burner-inserter-disassemble=С небольшой потерей материалов -bi-burner-mining-drill-disassemble=С небольшой потерей материалов -bi-fertiliser-1=Позволяет растениям расти быстрее -bi-fertiliser-2=Позволяет растениям расти быстрее (гидроксид натрия) -bi-bio-greenhouse=Теплица производит семена и саженцы -bi-long-handed-inserter-disassemble=С небольшой потерей материалов -bi-mineralized-sulfuric-waste=Получение воды и серных отходов из измельченного камня, древесного угля и чистой воды -bi-power-to-rail-pole=Коннектор ваших электрических рельс к электрической сети -bi-rail-wood-bridge=Рельсы, которые могут пересекать воду -bi-seed-1=Семя, которое вырастает в саженец -bi-seed-2=Семя, которое вырастает в саженец -bi-seed-3=Семя, которое вырастает в саженец -bi-seed-4=Семя, которое вырастает в саженец -bi-seed-bomb-advanced=Засаживает деревьями большую территорию, с продвинутым удобрением с помощью семенной бомбы! -bi-seed-bomb-basic=Засаживает деревьями большую территорию с помощью семенной бомбы! -bi-seed-bomb-standard=Засаживает деревьями большую территорию, с удобрением с помощью семенной бомбы! -#~ bi-seedling=Молодое дерево, идеально для посадки. (Вы также можете посадить его в землю и оно вырастет в дерево. Помните, что сначала нужно удобрить землю, чтобы увеличить шанс роста.) -bi-seedling-1=Производит 40 саженцев -bi-seedling-2=Производит 50 саженцев -bi-seedling-3=Производит 75 саженцев -bi-seedling-4=Производит 150 саженцев -bi-slag-slurry=Сжиженный шлак из золы, измельченного камня и соленой воды -bi-steel-furnace-disassemble=С небольшой потерей материалов -bi-stone-brick=Каменный блок из измельченного камня и золы -bi-stone-furnace-disassemble=С небольшой потерей материалов - -[tile-name] -bi-solar-mat=Солнечный пол -bi-wood-floor=Деревянный пол - - -[item-group-name] -Bio_Turret_Ammo=Био-Боеприпасы -bio-industries=Био-Индустрия - -[damage-type-name] -Biological=Биологический -bob-pierce=Бронебойный - -[bi-misc] -growing-tree=Growing tree -growing-tree-desc=Given some time, a big tree will grow from this sapling. -young-tree=Young tree -young-tree-desc=This tree is still young and won't yield much wood yet. Better wait until it's fully grown before you chop it down! - -[modifier-description] -Bio_Cannon_Ammo-damage-bonus=Бонус урона боеприпаса прототипа артиллерии: +__1__ -Bio_Cannon_Ammo-shooting-speed-bonus=Бонус скорости стрельбы прототипа артиллерии: +__1__ -Bio_Turret_Ammo-damage-bonus=Бонус урона боеприпаса дротиковой турели: +__1__ -Bio_Turret_Ammo-shooting-speed-bonus=Бонус скорости стрельбы боеприпаса дротиковой турели: +__1__ -bi-dart-turret-attack-bonus=Бонус урона дротиковой турели: +__1__ - -[autoplace-control-names] -bi-ground-water=__ENTITY__bi-ground-water__ diff --git a/Bio_Industries_2/migrations/2.0.23.json b/Bio_Industries_2/migrations/2.0.23.json new file mode 100644 index 0000000..7b948c4 --- /dev/null +++ b/Bio_Industries_2/migrations/2.0.23.json @@ -0,0 +1,5 @@ +{ + "recipe": [ + ["bi-bio-garden-lagre", "bi-bio-garden-large"] + ] +} \ No newline at end of file diff --git a/Bio_Industries_2/prototypes/Bio_Cannon/damage-type.lua b/Bio_Industries_2/prototypes/Bio_Cannon/damage-type.lua index a12e178..740a6b9 100644 --- a/Bio_Industries_2/prototypes/Bio_Cannon/damage-type.lua +++ b/Bio_Industries_2/prototypes/Bio_Cannon/damage-type.lua @@ -1,10 +1,10 @@ - -data:extend({ - ---- Bio Damage for new Ammo - { - type = "damage-type", - name = "Biological" - }, - -}) + +data:extend({ + +--- Bio Damage for new Ammo + { + type = "damage-type", + name = "biological" + }, + +}) diff --git a/Bio_Industries_2/prototypes/Bio_Cannon/entity.lua b/Bio_Industries_2/prototypes/Bio_Cannon/entity.lua index 32353b5..f87b9bd 100644 --- a/Bio_Industries_2/prototypes/Bio_Cannon/entity.lua +++ b/Bio_Industries_2/prototypes/Bio_Cannon/entity.lua @@ -1,212 +1,210 @@ -local BioInd = require('common')('Bio_Industries_2') - -local ICONPATH = BioInd.modRoot .. "/graphics/icons/" -local ENTITYPATH = BioInd.modRoot .. "/graphics/entities/bio_cannon/" -local REMNANTSPATH = BioInd.modRoot .. "/graphics/entities/remnants/" - -require "util" - -if BI.Settings.Bio_Cannon then - - function preparing_animation() - return { - layers = { - { - priority = "high", - width = 692, - height = 672, - direction_count = 1, - frame_count = 12, - line_length = 6, - run_mode = "forward", - axially_symmetrical = false, - shift = {0, -0.8}, - filename = ENTITYPATH .. "hr_bio_cannon_anim.png", - scale = 0.5 - } - - } - - } - end - - function prepared_animation() -- OPEN - return { - layers = { - { - priority = "high", - width = 692, - height = 672, - direction_count = 1, - frame_count = 1, - line_length = 1, - axially_symmetrical = false, - shift = {0, -0.8}, - filename = ENTITYPATH .. "hr_bio_cannon_open.png", - scale = 0.5 - }, { - priority = "high", - width = 320, - height = 672, - direction_count = 1, - frame_count = 1, - line_length = 1, - axially_symmetrical = false, - shift = {5, -0.95}, - filename = ENTITYPATH .. "hr_bio_cannon_shadow.png", - draw_as_shadow = true, - scale = 0.5 - } - } - } - end - - function folding_animation() - return { - layers = { - - { - priority = "high", - width = 692, - height = 672, - direction_count = 1, - frame_count = 12, - line_length = 6, - run_mode = "backward", - axially_symmetrical = false, - shift = {0, -0.8}, - filename = ENTITYPATH .. "hr_bio_cannon_anim.png", - scale = 0.5 - } - - } - } - end - - function folded_animation() -- CLOSED - return { - layers = { - { - priority = "high", - width = 692, - height = 672, - direction_count = 1, - frame_count = 1, - line_length = 1, - axially_symmetrical = false, - shift = {0, -0.8}, - filename = ENTITYPATH .. "hr_bio_cannon_anim.png", - scale = 0.5 - }, { - priority = "high", - width = 692, - height = 672, - direction_count = 1, - frame_count = 1, - line_length = 1, - axially_symmetrical = false, - shift = {0.2, -0.95}, - filename = ENTITYPATH .. "hr_bio_cannon_shadow.png", - draw_as_shadow = true, - scale = 0.5 - } - } - } - end - - data:extend({ - - -- Bio Cannon Artillery - { - type = "ammo-turret", - name = "bi-bio-cannon", - icon = ICONPATH .. "biocannon_icon.png", - icon_size = 64, - icons = {{icon = ICONPATH .. "biocannon_icon.png", icon_size = 64}}, - flags = {"placeable-neutral", "placeable-player", "player-creation"}, - -- makes cannon blueprintable - placeable_by = {item = "bi-bio-cannon", count = 1}, - open_sound = { - filename = "__base__/sound/machine-open.ogg", - volume = 0.85 - }, - close_sound = { - filename = "__base__/sound/machine-close.ogg", - volume = 0.75 - }, - minable = {mining_time = 10, result = "bi-bio-cannon"}, - max_health = 900, - corpse = "bi-bio-cannon-remnants", - dying_explosion = "massive-explosion", - automated_ammo_count = 10, - resistances = { - {type = "fire", percent = 90}, - {type = "explosion", percent = 30}, - {type = "impact", percent = 30} - }, - collision_box = {{-4.20, -4.20}, {4.20, 4.20}}, - selection_box = {{-4.5, -4.5}, {4.5, 4.5}}, - order = "i[items][Bio_Cannon]", - inventory_size = 1, - prepare_range = 120, - preparing_speed = 0.012, - attack_parameters = { - type = "projectile", - ammo_category = "Bio_Cannon_Ammo", - cooldown = 600, - warmup = 600, - -- ~ range = 0, - range = 120, - min_range = 20, - projectile_creation_distance = 1.8, - action = {} - }, - folding_speed = 0.012, - preparing_animation = preparing_animation(), - prepared_animation = prepared_animation(), - -- attacking_animation = attacking_animation(), - folding_animation = folding_animation(), - folded_animation = folded_animation(), - call_for_help_radius = 90, - attack_target_mask = {"Bio_Cannon_Ammo"}, - graphics_set = {} - }, - - ---- Corpse / Remnants - { - type = "corpse", - name = "bi-bio-cannon-remnants", - icon_size = 64, - icons = {{icon = ICONPATH .. "biocannon_icon.png", icon_size = 64}}, - - flags = {"placeable-neutral", "not-on-map"}, - subgroup = "defensive-structure-remnants", - order = "a-c-a", - selection_box = {{-4.5, -4.5}, {4.5, 4.5}}, - tile_width = 3, - tile_height = 3, - selectable_in_game = false, - time_before_removed = 60 * 60 * 15, -- 15 minutes - final_render_layer = "remnants", - remove_on_tile_placement = false, - animation = make_rotated_animation_variations_from_sheet(1, { - layers = { - - { - width = 692, - height = 672, - direction_count = 1, - frame_count = 1, - line_length = 1, - axially_symmetrical = false, - shift = {0, -0.8}, - filename = REMNANTSPATH .. "hr_bio_cannon_remnant.png", - scale = 0.5 - } - - } - }) - } - - }) -end +local BioInd = require('common')('Bio_Industries_2') +local ICONPATH = BioInd.modRoot .. "/graphics/icons/" +local ICONPATH_W = BioInd.modRoot .. "/graphics/icons/weapons/" +local ENTITYPATH = BioInd.modRoot .. "/graphics/entities/bio_cannon/" +local REMNANTSPATH = BioInd.modRoot .. "/graphics/entities/remnants/" + +require "util" + +if BI.Settings.Bio_Cannon then + + function preparing_animation() + return { + layers = { + { + priority = "high", + width = 692, + height = 672, + direction_count = 1, + frame_count = 12, + line_length = 6, + run_mode = "forward", + axially_symmetrical = false, + shift = {0, -0.8}, + filename = ENTITYPATH .. "hr_bio_cannon_anim.png", + scale = 0.5 + } + + } + + } + end + + function prepared_animation() -- OPEN + return { + layers = { + { + priority = "high", + width = 692, + height = 672, + direction_count = 1, + frame_count = 1, + line_length = 1, + axially_symmetrical = false, + shift = {0, -0.8}, + filename = ENTITYPATH .. "hr_bio_cannon_open.png", + scale = 0.5 + }, { + priority = "high", + width = 320, + height = 672, + direction_count = 1, + frame_count = 1, + line_length = 1, + axially_symmetrical = false, + shift = {5, -0.95}, + filename = ENTITYPATH .. "hr_bio_cannon_shadow.png", + draw_as_shadow = true, + scale = 0.5 + } + } + } + end + + function folding_animation() + return { + layers = { + + { + priority = "high", + width = 692, + height = 672, + direction_count = 1, + frame_count = 12, + line_length = 6, + run_mode = "backward", + axially_symmetrical = false, + shift = {0, -0.8}, + filename = ENTITYPATH .. "hr_bio_cannon_anim.png", + scale = 0.5 + } + + } + } + end + + function folded_animation() -- CLOSED + return { + layers = { + { + priority = "high", + width = 692, + height = 672, + direction_count = 1, + frame_count = 1, + line_length = 1, + axially_symmetrical = false, + shift = {0, -0.8}, + filename = ENTITYPATH .. "hr_bio_cannon_anim.png", + scale = 0.5 + }, { + priority = "high", + width = 692, + height = 672, + direction_count = 1, + frame_count = 1, + line_length = 1, + axially_symmetrical = false, + shift = {0.2, -0.95}, + filename = ENTITYPATH .. "hr_bio_cannon_shadow.png", + draw_as_shadow = true, + scale = 0.5 + } + } + } + end + + data:extend({ + + -- Bio Cannon Artillery + { + type = "ammo-turret", + name = "bi-bio-cannon", + icons = {{icon = ICONPATH_W .. "biocannon_icon.png", icon_size = 64}}, + flags = {"placeable-neutral", "placeable-player", "player-creation"}, + -- makes cannon blueprintable + placeable_by = {item = "bi-bio-cannon", count = 1}, + open_sound = { + filename = "__base__/sound/machine-open.ogg", + volume = 0.85 + }, + close_sound = { + filename = "__base__/sound/machine-close.ogg", + volume = 0.75 + }, + minable = {mining_time = 10, result = "bi-bio-cannon"}, + max_health = 900, + corpse = "bi-bio-cannon-remnants", + dying_explosion = "massive-explosion", + automated_ammo_count = 10, + resistances = { + {type = "fire", percent = 90}, + {type = "explosion", percent = 30}, + {type = "impact", percent = 30} + }, + collision_box = {{-4.20, -4.20}, {4.20, 4.20}}, + selection_box = {{-4.5, -4.5}, {4.5, 4.5}}, + order = "i[items][Bio_Cannon]", + inventory_size = 1, + prepare_range = 120, + preparing_speed = 0.012, + attack_parameters = { + type = "projectile", + ammo_category = "Bio_Cannon_Ammo", + cooldown = 600, + warmup = 600, + -- ~ range = 0, + range = 120, + min_range = 20, + projectile_creation_distance = 1.8, + action = {} + }, + folding_speed = 0.012, + preparing_animation = preparing_animation(), + prepared_animation = prepared_animation(), + -- attacking_animation = attacking_animation(), + folding_animation = folding_animation(), + folded_animation = folded_animation(), + call_for_help_radius = 90, + attack_target_mask = {"Bio_Cannon_Ammo"}, + graphics_set = {} + }, + + ---- Corpse / Remnants + { + type = "corpse", + name = "bi-bio-cannon-remnants", + icon_size = 64, + icons = {{icon = ICONPATH_W .. "biocannon_icon.png", icon_size = 64}}, + + flags = {"placeable-neutral", "not-on-map"}, + subgroup = "defensive-structure-remnants", + order = "a-c-a", + selection_box = {{-4.5, -4.5}, {4.5, 4.5}}, + tile_width = 3, + tile_height = 3, + selectable_in_game = false, + time_before_removed = 60 * 60 * 15, -- 15 minutes + final_render_layer = "remnants", + remove_on_tile_placement = false, + animation = make_rotated_animation_variations_from_sheet(1, { + layers = { + + { + width = 692, + height = 672, + direction_count = 1, + frame_count = 1, + line_length = 1, + axially_symmetrical = false, + shift = {0, -0.8}, + filename = REMNANTSPATH .. "bio_cannon_remnant.png", + scale = 0.5 + } + + } + }) + } + + }) +end diff --git a/Bio_Industries_2/prototypes/Bio_Cannon/item-group.lua b/Bio_Industries_2/prototypes/Bio_Cannon/item-group.lua index 47aa002..850c7bd 100644 --- a/Bio_Industries_2/prototypes/Bio_Cannon/item-group.lua +++ b/Bio_Industries_2/prototypes/Bio_Cannon/item-group.lua @@ -1,16 +1,16 @@ - -if BI.Settings.Bio_Cannon then - data:extend({ - { - type = "ammo-category", - name = "Bio_Cannon_Ammo", - order = "1" - }, - - { - type = "trigger-target-type", - name = "Bio_Cannon_Ammo" - } - - }) -end + +if BI.Settings.Bio_Cannon then + data:extend({ + { + type = "ammo-category", + name = "Bio_Cannon_Ammo", + order = "1" + }, + + { + type = "trigger-target-type", + name = "Bio_Cannon_Ammo" + } + + }) +end diff --git a/Bio_Industries_2/prototypes/Bio_Cannon/item.lua b/Bio_Industries_2/prototypes/Bio_Cannon/item.lua index e6f75dc..9840e30 100644 --- a/Bio_Industries_2/prototypes/Bio_Cannon/item.lua +++ b/Bio_Industries_2/prototypes/Bio_Cannon/item.lua @@ -1,28 +1,23 @@ -local BioInd = require('common')('Bio_Industries_2') - -local ICONPATH = BioInd.modRoot .. "/graphics/icons/" - -if BI.Settings.Bio_Cannon then - data:extend({ - -- Hive Buster Turret - { - type = "item", - name = "bi-bio-cannon", - localised_name = {"entity-name.bi-bio-cannon"}, - localised_description = {"entity-description.bi-bio-cannon"}, - icon = ICONPATH .. "biocannon_icon.png", - icon_size = 64, - icon_mipmaps = 1, - icons = { - { - icon = ICONPATH .. "biocannon_icon.png", - icon_size = 64, - } - }, - subgroup = "defensive-structure", - order = "x[turret]-x[gun-turret]", - place_result = "bi-bio-cannon", - stack_size = 1, - }, - }) -end +local BioInd = require('common')('Bio_Industries_2') + +local ICONPATH = BioInd.modRoot .. "/graphics/icons/" +local ICONPATH_W = BioInd.modRoot .. "/graphics/icons/weapons/" + +if BI.Settings.Bio_Cannon then + data:extend({ + -- Hive Buster Turret + { + type = "item", + name = "bi-bio-cannon", + localised_name = {"entity-name.bi-bio-cannon"}, + localised_description = {"entity-description.bi-bio-cannon"}, + icon = ICONPATH_W .. "biocannon_icon.png", + icon_size = 64, + subgroup = "defensive-structure", + order = "x[turret]-x[gun-turret]", + place_result = "bi-bio-cannon", + stack_size = 1, + weight = 750000, + }, + }) +end diff --git a/Bio_Industries_2/prototypes/Bio_Cannon/projectiles-entity.lua b/Bio_Industries_2/prototypes/Bio_Cannon/projectiles-entity.lua index 67f8a13..5cd3cb3 100644 --- a/Bio_Industries_2/prototypes/Bio_Cannon/projectiles-entity.lua +++ b/Bio_Industries_2/prototypes/Bio_Cannon/projectiles-entity.lua @@ -1,350 +1,342 @@ -local BioInd = require('common')('Bio_Industries_2') - -local ICONPATH = BioInd.modRoot .. "/graphics/entities/bio_cannon/projectiles/" - -require "util" - -if BI.Settings.Bio_Cannon then - - if mods["Natural_Evolution_Enemies"] then - NE_Damage = 2 - else - NE_Damage = 1 - end - - - - data:extend({ - --Projectile - - -- Bio Cannon Ammo - - -- Prototype - { - type = "projectile", - name = "bi-bio-cannon-proto-ammo", - flags = {"not-on-map"}, - acceleration = 0.0004, - action = { - { - type = "area", - radius = 2, - action_delivery = { - type = "instant", - target_effects = { - { - type = "damage", - damage = {amount = 80 * NE_Damage, type = "physical"} - }, - { - type = "create-entity", - entity_name = "small-scorchmark", - check_buildability = true - }, - - } - } - }, - - - }, - light = {intensity = 0.7, size = 3}, - animation = { - filename = ICONPATH .. "bio_cannon_proto_ammo.png", - priority = "extra-high", - width = 18, - height = 47, - scale = 0.85, - frame_count = 1 - }, - shadow = { - filename = ICONPATH .. "bio_cannon_ammo-shadow.png", - priority = "extra-high", - width = 18, - height = 47, - scale = 0.85, - frame_count = 1 - }, - - smoke = { - { - name = "smoke-fast", - deviation = {0.15, 0.15}, - frequency = 1, - position = {0, 1}, - slow_down_factor = 1, - starting_frame = 3, - starting_frame_deviation = 5, - starting_frame_speed = 0, - starting_frame_speed_deviation = 5 - } - } - }, - - - -- Basic - { - type = "projectile", - name = "bi-bio-cannon-basic-ammo", - flags = {"not-on-map"}, - acceleration = 0.0005, - action = { - { - type = "area", - radius = 8, - action_delivery = { - type = "instant", - target_effects = { - { - type = "damage", - damage = {amount = 120 * NE_Damage, type = "physical"} - }, - { - type = "damage", - damage = {amount = 180 * NE_Damage, type = "explosion"} - }, - - } - } - }, - { - type = "direct", - action_delivery = { - type = "instant", - target_effects = { - { - type = "nested-result", - action = { - type = "area", - target_entities = false, - repeat_count = 10, - radius = 2, - action_delivery = { - type = "projectile", - projectile = "NE-Napalm-Small", - starting_speed = 0.5 - } - } - }, - { - type = "create-entity", - entity_name = "small-scorchmark", - check_buildability = true - }, - { - type = "create-entity", - entity_name = "bio-cannon-explosion", - }, - } - - } - }, - - }, - light = {intensity = 0.7, size = 6}, - animation = { - filename = ICONPATH .. "bio_cannon_basic_ammo.png", - priority = "extra-high", - width = 18, - height = 47, - frame_count = 1 - }, - shadow = { - filename = ICONPATH .. "bio_cannon_ammo-shadow.png", - priority = "extra-high", - width = 18, - height = 47, - frame_count = 1 - }, - --[[ - sound = { - { - filename = "__Natural_Evolution_Buildings__/sound/launch.ogg", - volume = 4.0 - }, - }, - ]] - smoke = { - { - name = "smoke-fast", - deviation = {0.15, 0.15}, - frequency = 1, - position = {0, 1}, - slow_down_factor = 1, - starting_frame = 3, - starting_frame_deviation = 5, - starting_frame_speed = 0, - starting_frame_speed_deviation = 5 - } - } - }, - - --- Poison - { - type = "projectile", - name = "bi-bio-cannon-poison-ammo", - flags = {"not-on-map"}, - acceleration = 0.0006, - action = { - { - type = "area", - radius = 12, - action_delivery = { - type = "instant", - target_effects = { - { - type = "damage", - damage = {amount = 120 * NE_Damage, type = "physical"} - }, - { - type = "damage", - damage = {amount = 180 * NE_Damage, type = "explosion"} - }, - { - type = "damage", - damage = {amount = 250 * NE_Damage, type = "poison"} - }, - } - } - }, - { - type = "direct", - action_delivery = { - type = "instant", - target_effects = { - { - type = "nested-result", - action = { - type = "area", - target_entities = false, - repeat_count = 20, - radius = 3, - action_delivery = { - type = "projectile", - projectile = "NE-Napalm-Small", - starting_speed = 0.5 - } - } - }, - { - type = "create-entity", - entity_name = "small-scorchmark", - check_buildability = true - }, - { - type = "create-entity", - entity_name = "bio-cannon-explosion", - }, - } - - } - }, - }, - light = {intensity = 0.8, size = 7}, - animation = { - filename = ICONPATH .. "bio_cannon_poison_ammo.png", - priority = "extra-high", - width = 18, - height = 47, - frame_count = 1 - }, - shadow = { - filename = ICONPATH .. "bio_cannon_ammo-shadow.png", - priority = "extra-high", - width = 18, - height = 47, - frame_count = 1 - }, - --[[ - sound = { - { - filename = "__Natural_Evolution_Buildings__/sound/launch.ogg", - volume = 4.0 - }, - }, - ]] - smoke = { - { - name = "smoke-fast", - deviation = {0.15, 0.15}, - frequency = 1, - position = {0, 1}, - slow_down_factor = 1, - starting_frame = 3, - starting_frame_deviation = 5, - starting_frame_speed = 0, - starting_frame_speed_deviation = 5 - } - } - }, - - - --- Bio Cannon Explosion - { - type = "smoke-with-trigger", - name = "bio-cannon-explosion", - flags = {"not-on-map"}, - show_when_smoke_off = true, - animation = { - filename = ICONPATH .. "explosion.png", - priority = "low", - width = 256, - height = 128, - frame_count = 12, - animation_speed = 0.2, - line_length = 3, - scale = 2, - }, - sound = { - { - filename = "__Bio_Industries_2__/sound/boom.ogg", - volume = 4.0 - }, - }, - slow_down_factor = 0, - affected_by_wind = false, - cyclic = false, - duration = 60 * 5, - spread_duration = 10, - }, - - --- Napalm Small - { - type = "projectile", - name = "NE-Napalm-Small", - flags = {"not-on-map"}, - acceleration = 0, - action = { - { - type = "direct", - action_delivery = { - type = "instant", - target_effects = { - { - type = "create-entity", - entity_name = "fire-flame" - }, - - } - } - }, - - }, - animation = { - filename = "__core__/graphics/empty.png", - frame_count = 1, - width = 1, - height = 1, - priority = "high" - }, - shadow = { - filename = "__core__/graphics/empty.png", - frame_count = 1, - width = 1, - height = 1, - priority = "high" - } - }, - - }) -end +local BioInd = require('common')('Bio_Industries_2') + +local ICONPATH = BioInd.modRoot .. "/graphics/entities/bio_cannon/projectiles/" + +require "util" + +if BI.Settings.Bio_Cannon then + + if mods["Natural_Evolution_Enemies"] then + NE_Damage = 2 + else + NE_Damage = 1 + end + + + + data:extend({ + --Projectile + + -- Bio Cannon Ammo + + -- Prototype + { + type = "projectile", + name = "bi-bio-cannon-proto-ammo", + flags = {"not-on-map"}, + acceleration = 0.0004, + action = { + { + type = "area", + radius = 2, + action_delivery = { + type = "instant", + target_effects = { + { + type = "damage", + damage = {amount = 80 * NE_Damage, type = "physical"} + }, + { + type = "create-entity", + entity_name = "small-scorchmark", + check_buildability = true + }, + + } + } + }, + + + }, + light = {intensity = 0.7, size = 3}, + animation = { + filename = ICONPATH .. "bio_cannon_proto_ammo.png", + priority = "extra-high", + width = 18, + height = 47, + scale = 0.85, + frame_count = 1 + }, + shadow = { + filename = ICONPATH .. "bio_cannon_ammo-shadow.png", + priority = "extra-high", + width = 18, + height = 47, + scale = 0.85, + frame_count = 1 + }, + + smoke = { + { + name = "smoke-fast", + deviation = {0.15, 0.15}, + frequency = 1, + position = {0, 1}, + slow_down_factor = 1, + starting_frame = 3, + starting_frame_deviation = 5, + starting_frame_speed = 0, + starting_frame_speed_deviation = 5 + } + } + }, + + + -- Basic + { + type = "projectile", + name = "bi-bio-cannon-basic-ammo", + flags = {"not-on-map"}, + acceleration = 0.0005, + action = { + { + type = "area", + radius = 8, + action_delivery = { + type = "instant", + target_effects = { + { + type = "damage", + damage = {amount = 120 * NE_Damage, type = "physical"} + }, + { + type = "damage", + damage = {amount = 180 * NE_Damage, type = "explosion"} + }, + + } + } + }, + { + type = "direct", + action_delivery = { + type = "instant", + target_effects = { + { + type = "nested-result", + action = { + type = "area", + target_entities = false, + repeat_count = 10, + radius = 2, + action_delivery = { + type = "projectile", + projectile = "NE-Napalm-Small", + starting_speed = 0.5 + } + } + }, + { + type = "create-entity", + entity_name = "small-scorchmark", + check_buildability = true + }, + { + type = "create-entity", + entity_name = "bio-cannon-explosion", + }, + } + + } + }, + + }, + light = {intensity = 0.7, size = 6}, + animation = { + filename = ICONPATH .. "bio_cannon_basic_ammo.png", + priority = "extra-high", + width = 18, + height = 47, + frame_count = 1 + }, + shadow = { + filename = ICONPATH .. "bio_cannon_ammo-shadow.png", + priority = "extra-high", + width = 18, + height = 47, + frame_count = 1 + }, + --[[ + sound = { + { + filename = "__Natural_Evolution_Buildings__/sound/launch.ogg", + volume = 4.0 + }, + }, + ]] + smoke = { + { + name = "smoke-fast", + deviation = {0.15, 0.15}, + frequency = 1, + position = {0, 1}, + slow_down_factor = 1, + starting_frame = 3, + starting_frame_deviation = 5, + starting_frame_speed = 0, + starting_frame_speed_deviation = 5 + } + } + }, + + --- Poison + { + type = "projectile", + name = "bi-bio-cannon-poison-ammo", + flags = {"not-on-map"}, + acceleration = 0.0006, + action = { + { + type = "area", + radius = 12, + action_delivery = { + type = "instant", + target_effects = { + { + type = "damage", + damage = {amount = 120 * NE_Damage, type = "physical"} + }, + { + type = "damage", + damage = {amount = 180 * NE_Damage, type = "explosion"} + }, + { + type = "damage", + damage = {amount = 250 * NE_Damage, type = "poison"} + }, + } + } + }, + { + type = "direct", + action_delivery = { + type = "instant", + target_effects = { + { + type = "nested-result", + action = { + type = "area", + target_entities = false, + repeat_count = 20, + radius = 3, + action_delivery = { + type = "projectile", + projectile = "NE-Napalm-Small", + starting_speed = 0.5 + } + } + }, + { + type = "create-entity", + entity_name = "small-scorchmark", + check_buildability = true + }, + { + type = "create-entity", + entity_name = "bio-cannon-explosion", + }, + } + + } + }, + }, + light = {intensity = 0.8, size = 7}, + animation = { + filename = ICONPATH .. "bio_cannon_poison_ammo.png", + priority = "extra-high", + width = 18, + height = 47, + frame_count = 1 + }, + shadow = { + filename = ICONPATH .. "bio_cannon_ammo-shadow.png", + priority = "extra-high", + width = 18, + height = 47, + frame_count = 1 + }, + --[[ + sound = { + { + filename = "__Natural_Evolution_Buildings__/sound/launch.ogg", + volume = 4.0 + }, + }, + ]] + smoke = { + { + name = "smoke-fast", + deviation = {0.15, 0.15}, + frequency = 1, + position = {0, 1}, + slow_down_factor = 1, + starting_frame = 3, + starting_frame_deviation = 5, + starting_frame_speed = 0, + starting_frame_speed_deviation = 5 + } + } + }, + + + --- Bio Cannon Explosion + { + type = "explosion", + name = "bio-cannon-explosion", + flags = {"not-on-map"}, + animations = {{ + filename = ICONPATH .. "explosion.png", + priority = "low", + width = 256, + height = 128, + frame_count = 12, + animation_speed = 0.2, + line_length = 3, + scale = 2 + }}, + light = {intensity = 1, size = 30}, + sound = { + variations = {{filename = "__Bio_Industries_2__/sound/boom.ogg", volume = 1.0}} + } + }, + + --- Napalm Small + { + type = "projectile", + name = "NE-Napalm-Small", + flags = {"not-on-map"}, + acceleration = 0, + action = { + { + type = "direct", + action_delivery = { + type = "instant", + target_effects = { + { + type = "create-entity", + entity_name = "fire-flame" + }, + + } + } + }, + + }, + animation = { + filename = "__core__/graphics/empty.png", + frame_count = 1, + width = 1, + height = 1, + priority = "high" + }, + shadow = { + filename = "__core__/graphics/empty.png", + frame_count = 1, + width = 1, + height = 1, + priority = "high" + } + }, + + }) +end diff --git a/Bio_Industries_2/prototypes/Bio_Cannon/projectiles-item.lua b/Bio_Industries_2/prototypes/Bio_Cannon/projectiles-item.lua index 4ebea4e..d43f04e 100644 --- a/Bio_Industries_2/prototypes/Bio_Cannon/projectiles-item.lua +++ b/Bio_Industries_2/prototypes/Bio_Cannon/projectiles-item.lua @@ -1,118 +1,112 @@ -local BioInd = require('common')('Bio_Industries_2') - -local ICONPATH = BioInd.modRoot .. "/graphics/icons/weapon/" - -if BI.Settings.Bio_Cannon then - - data:extend({ - - -- Prototype Artillery Proto Ammo - { - type = "ammo", - name = "bi-bio-cannon-proto-ammo", - icon = ICONPATH .. "bio_cannon_proto_ammo_icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bio_cannon_proto_ammo_icon.png", - icon_size = 64, - } - }, - ammo_category = "artillery-shell", - ammo_type = { - category = "Bio_Cannon_Ammo", - target_type = "direction", - action = { - { - type = "direct", - action_delivery = { - type = "projectile", - projectile = "bi-bio-cannon-proto-ammo", - starting_speed = 1, - direction_deviation = 0.8, - range_deviation = 0.8, - max_range = 90 - } - } - } - }, - subgroup = "ammo", - order = "z[Bio_Cannon_Ammo]-a[Proto]", - stack_size = 50, - }, - - - -- Prototype Artillery Basic Ammo - { - type = "ammo", - name = "bi-bio-cannon-basic-ammo", - icon = ICONPATH .. "bio_cannon_basic_ammo_icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bio_cannon_basic_ammo_icon.png", - icon_size = 64, - } - }, - ammo_category = "artillery-shell", - ammo_type = { - category = "Bio_Cannon_Ammo", - target_type = "direction", - action = { - { - type = "direct", - action_delivery = { - type = "projectile", - projectile = "bi-bio-cannon-basic-ammo", - starting_speed = 1, - direction_deviation = 0.8, - range_deviation = 0.8, - max_range = 90 - } - } - } - }, - subgroup = "ammo", - order = "z[Bio_Cannon_Ammo]-b[Basic]", - stack_size = 50, - }, - - -- Prototype Artillery Poison Ammo - { - type = "ammo", - name = "bi-bio-cannon-poison-ammo", - icon = ICONPATH .. "bio_cannon_poison_ammo_icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bio_cannon_poison_ammo_icon.png", - icon_size = 64, - } - }, - ammo_category = "artillery-shell", - ammo_type = { - category = "Bio_Cannon_Ammo", - target_type = "direction", - action = { - { - type = "direct", - action_delivery = { - type = "projectile", - projectile = "bi-bio-cannon-poison-ammo", - starting_speed = 1, - direction_deviation = 0.8, - range_deviation = 0.8, - max_range = 90 - } - } - } - }, - subgroup = "ammo", - order = "z[Bio_Cannon_Ammo]-c[Poison]", - stack_size = 50, - }, - - - }) - -end +local BioInd = require('common')('Bio_Industries_2') + +local ICONPATH_W = BioInd.modRoot .. "/graphics/icons/weapons/" + +if BI.Settings.Bio_Cannon then + + data:extend({ + + -- Prototype Artillery Proto Ammo + { + type = "ammo", + name = "bi-bio-cannon-proto-ammo", + icon = ICONPATH_W .. "bio_cannon_proto_ammo_icon.png", + icon_size = 64, + ammo_category = "Bio_Cannon_Ammo", + ammo_type = { + category = "Bio_Cannon_Ammo", + target_type = "direction", + action = { + { + type = "direct", + action_delivery = { + type = "projectile", + projectile = "bi-bio-cannon-proto-ammo", + starting_speed = 1, + direction_deviation = 0.8, + range_deviation = 0.8, + max_range = 90 + } + } + } + }, + subgroup = "ammo", + order = "z[Bio_Cannon_Ammo]-a[Proto]", + stack_size = 50, + }, + + + -- Prototype Artillery Basic Ammo + { + type = "ammo", + name = "bi-bio-cannon-basic-ammo", + icon = ICONPATH_W .. "bio_cannon_basic_ammo_icon.png", + icon_size = 64, + icons = { + { + icon = ICONPATH_W .. "bio_cannon_basic_ammo_icon.png", + icon_size = 64, + } + }, + ammo_category = "Bio_Cannon_Ammo", + ammo_type = { + category = "Bio_Cannon_Ammo", + target_type = "direction", + action = { + { + type = "direct", + action_delivery = { + type = "projectile", + projectile = "bi-bio-cannon-basic-ammo", + starting_speed = 1, + direction_deviation = 0.8, + range_deviation = 0.8, + max_range = 90 + } + } + } + }, + subgroup = "ammo", + order = "z[Bio_Cannon_Ammo]-b[Basic]", + stack_size = 50, + }, + + -- Prototype Artillery Poison Ammo + { + type = "ammo", + name = "bi-bio-cannon-poison-ammo", + icon = ICONPATH_W .. "bio_cannon_poison_ammo_icon.png", + icon_size = 64, + icons = { + { + icon = ICONPATH_W .. "bio_cannon_poison_ammo_icon.png", + icon_size = 64, + } + }, + ammo_category = "Bio_Cannon_Ammo", + ammo_type = { + category = "Bio_Cannon_Ammo", + target_type = "direction", + action = { + { + type = "direct", + action_delivery = { + type = "projectile", + projectile = "bi-bio-cannon-poison-ammo", + starting_speed = 1, + direction_deviation = 0.8, + range_deviation = 0.8, + max_range = 90 + } + } + } + }, + subgroup = "ammo", + order = "z[Bio_Cannon_Ammo]-c[Poison]", + stack_size = 50, + }, + + + }) + +end diff --git a/Bio_Industries_2/prototypes/Bio_Cannon/projectiles-recipe.lua b/Bio_Industries_2/prototypes/Bio_Cannon/projectiles-recipe.lua index 078a3e4..3f15754 100644 --- a/Bio_Industries_2/prototypes/Bio_Cannon/projectiles-recipe.lua +++ b/Bio_Industries_2/prototypes/Bio_Cannon/projectiles-recipe.lua @@ -1,57 +1,57 @@ - -if BI.Settings.Bio_Cannon then - - data:extend({ - - -- Prototype Artillery Proto Ammo - { - type= "recipe", - name= "bi-bio-cannon-proto-ammo", - localised_name = {"item-name.bi-bio-cannon-proto-ammo"}, - localised_description = {"item-description.bi-bio-cannon-proto-ammo"}, - enabled = false, - energy_required = 2, - ingredients = {{type="item", name="iron-plate", amount=10}, {type="item", name="explosives", amount=10}}, - results = {{type="item", name="bi-bio-cannon-proto-ammo", amount=1}}, - subgroup = "bi-ammo", - order = "z[Bio_Cannon_Ammo]-a[Proto]", - allow_as_intermediate = true, -- Added for 0.18.34/1.1.4 - always_show_made_in = false, -- Added for 0.18.34/1.1.4 - allow_decomposition = true, -- Added for 0.18.34/1.1.4 - }, - - -- Prototype Artillery Basic Ammo - { - type= "recipe", - name= "bi-bio-cannon-basic-ammo", - localised_name = {"item-name.bi-bio-cannon-basic-ammo"}, - localised_description = {"item-description.bi-bio-cannon-basic-ammo"}, - enabled = false, - energy_required = 4, - ingredients = {{type="item", name="bi-bio-cannon-proto-ammo", amount=1}, {type="item", name="rocket", amount=10}}, - results = {{type="item", name="bi-bio-cannon-basic-ammo", amount=1}}, - subgroup = "bi-ammo", - order = "z[Bio_Cannon_Ammo]-b[Basic]", - allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 - always_show_made_in = false, -- Added for 0.18.34/1.1.4 - allow_decomposition = true, -- Added for 0.18.34/1.1.4 - }, - - -- Prototype Artillery Poison Ammo - { - type= "recipe", - name= "bi-bio-cannon-poison-ammo", - localised_name = {"item-name.bi-bio-cannon-poison-ammo"}, - localised_description = {"item-description.bi-bio-cannon-poison-ammo"}, - enabled = false, - energy_required = 8, - ingredients = {{type="item", name="bi-bio-cannon-basic-ammo", amount=1}, {type="item", name="poison-capsule", amount=5}, {type="item", name="explosive-rocket", amount=5}}, - results = {{type="item", name="bi-bio-cannon-poison-ammo", amount=1}}, - subgroup = "bi-ammo", - order = "z[Bio_Cannon_Ammo]-c[Poison]", - allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 - always_show_made_in = false, -- Added for 0.18.34/1.1.4 - allow_decomposition = true, -- Added for 0.18.34/1.1.4 - }, - }) -end + +if BI.Settings.Bio_Cannon then + + data:extend({ + + -- Prototype Artillery Proto Ammo + { + type= "recipe", + name= "bi-bio-cannon-proto-ammo", + localised_name = {"item-name.bi-bio-cannon-proto-ammo"}, + localised_description = {"item-description.bi-bio-cannon-proto-ammo"}, + enabled = false, + energy_required = 2, + ingredients = {{type="item", name="iron-plate", amount=10}, {type="item", name="explosives", amount=10}}, + results = {{type="item", name="bi-bio-cannon-proto-ammo", amount=1}}, + subgroup = "bi-ammo", + order = "z[Bio_Cannon_Ammo]-a[Proto]", + allow_as_intermediate = true, -- Added for 0.18.34/1.1.4 + always_show_made_in = false, -- Added for 0.18.34/1.1.4 + allow_decomposition = true, -- Added for 0.18.34/1.1.4 + }, + + -- Prototype Artillery Basic Ammo + { + type= "recipe", + name= "bi-bio-cannon-basic-ammo", + localised_name = {"item-name.bi-bio-cannon-basic-ammo"}, + localised_description = {"item-description.bi-bio-cannon-basic-ammo"}, + enabled = false, + energy_required = 4, + ingredients = {{type="item", name="bi-bio-cannon-proto-ammo", amount=1}, {type="item", name="rocket", amount=10}}, + results = {{type="item", name="bi-bio-cannon-basic-ammo", amount=1}}, + subgroup = "bi-ammo", + order = "z[Bio_Cannon_Ammo]-b[Basic]", + allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 + always_show_made_in = false, -- Added for 0.18.34/1.1.4 + allow_decomposition = true, -- Added for 0.18.34/1.1.4 + }, + + -- Prototype Artillery Poison Ammo + { + type= "recipe", + name= "bi-bio-cannon-poison-ammo", + localised_name = {"item-name.bi-bio-cannon-poison-ammo"}, + localised_description = {"item-description.bi-bio-cannon-poison-ammo"}, + enabled = false, + energy_required = 8, + ingredients = {{type="item", name="bi-bio-cannon-basic-ammo", amount=1}, {type="item", name="poison-capsule", amount=5}, {type="item", name="explosive-rocket", amount=5}}, + results = {{type="item", name="bi-bio-cannon-poison-ammo", amount=1}}, + subgroup = "bi-ammo", + order = "z[Bio_Cannon_Ammo]-c[Poison]", + allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 + always_show_made_in = false, -- Added for 0.18.34/1.1.4 + allow_decomposition = true, -- Added for 0.18.34/1.1.4 + }, + }) +end diff --git a/Bio_Industries_2/prototypes/Bio_Cannon/recipe.lua b/Bio_Industries_2/prototypes/Bio_Cannon/recipe.lua index 13342ff..94eaec0 100644 --- a/Bio_Industries_2/prototypes/Bio_Cannon/recipe.lua +++ b/Bio_Industries_2/prototypes/Bio_Cannon/recipe.lua @@ -1,30 +1,30 @@ - -if BI.Settings.Bio_Cannon then - - data:extend({ - - -- Hive Buster Turret - { - type = "recipe", - name = "bi-bio-cannon", - localised_name = {"entity-name.bi-bio-cannon"}, - localised_description = {"entity-description.bi-bio.cannon"}, - enabled = false, - energy_required = 50, - ingredients = { - {type="item", name="concrete", amount=100}, - {type="item", name="radar", amount=1}, - {type="item", name="steel-plate", amount=80}, - {type="item", name="electric-engine-unit", amount=5}, - }, - results = {{type="item", name="bi-bio-cannon", amount=1}}, - allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 - always_show_made_in = true, -- Added for 0.18.34/1.1.4 - allow_decomposition = false, -- Added for 0.18.34/1.1.4 - subgroup = "defensive-structure", - order = "b[turret]-e[bi-prototype-artillery-turret]" - }, - - }) - -end + +if BI.Settings.Bio_Cannon then + + data:extend({ + + -- Hive Buster Turret + { + type = "recipe", + name = "bi-bio-cannon", + localised_name = {"entity-name.bi-bio-cannon"}, + localised_description = {"entity-description.bi-bio.cannon"}, + enabled = false, + energy_required = 50, + ingredients = { + {type="item", name="concrete", amount=100}, + {type="item", name="radar", amount=1}, + {type="item", name="steel-plate", amount=80}, + {type="item", name="electric-engine-unit", amount=5}, + }, + results = {{type="item", name="bi-bio-cannon", amount=1}}, + allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 + always_show_made_in = true, -- Added for 0.18.34/1.1.4 + allow_decomposition = false, -- Added for 0.18.34/1.1.4 + subgroup = "defensive-structure", + order = "b[turret]-e[bi-prototype-artillery-turret]" + }, + + }) + +end diff --git a/Bio_Industries_2/prototypes/Bio_Cannon/technology-updates.lua b/Bio_Industries_2/prototypes/Bio_Cannon/technology-updates.lua index e003a7d..01f9713 100644 --- a/Bio_Industries_2/prototypes/Bio_Cannon/technology-updates.lua +++ b/Bio_Industries_2/prototypes/Bio_Cannon/technology-updates.lua @@ -1,37 +1,37 @@ - - --- Don't duplicate what NE does -if BI.Settings.Bio_Cannon and not mods["Natural_Evolution_Buildings"] then - - - table.insert(data.raw.technology["physical-projectile-damage-5"].effects, { - type = "ammo-damage", - ammo_category = "Bio_Cannon_Ammo", - modifier = 0.9 - }) - table.insert(data.raw.technology["physical-projectile-damage-6"].effects, { - type = "ammo-damage", - ammo_category = "Bio_Cannon_Ammo", - modifier = 1.3 - }) - table.insert(data.raw.technology["physical-projectile-damage-7"].effects, { - type = "ammo-damage", - ammo_category = "Bio_Cannon_Ammo", - modifier = 1 - }) - table.insert(data.raw.technology["artillery-shell-speed-1"].effects, { - type = "gun-speed", - ammo_category = "Bio_Cannon_Ammo", - modifier = 1 - }) - table.insert(data.raw.technology["weapon-shooting-speed-5"].effects, { - type = "gun-speed", - ammo_category = "Bio_Cannon_Ammo", - modifier = 0.8 - }) - table.insert(data.raw.technology["weapon-shooting-speed-6"].effects, { - type = "gun-speed", - ammo_category = "Bio_Cannon_Ammo", - modifier = 1.5 - }) - end + + +-- Don't duplicate what NE does +if BI.Settings.Bio_Cannon and not mods["Natural_Evolution_Buildings"] then + + + table.insert(data.raw.technology["physical-projectile-damage-5"].effects, { + type = "ammo-damage", + ammo_category = "Bio_Cannon_Ammo", + modifier = 0.9 + }) + table.insert(data.raw.technology["physical-projectile-damage-6"].effects, { + type = "ammo-damage", + ammo_category = "Bio_Cannon_Ammo", + modifier = 1.3 + }) + table.insert(data.raw.technology["physical-projectile-damage-7"].effects, { + type = "ammo-damage", + ammo_category = "Bio_Cannon_Ammo", + modifier = 1 + }) + table.insert(data.raw.technology["artillery-shell-speed-1"].effects, { + type = "gun-speed", + ammo_category = "Bio_Cannon_Ammo", + modifier = 1 + }) + table.insert(data.raw.technology["weapon-shooting-speed-5"].effects, { + type = "gun-speed", + ammo_category = "Bio_Cannon_Ammo", + modifier = 0.8 + }) + table.insert(data.raw.technology["weapon-shooting-speed-6"].effects, { + type = "gun-speed", + ammo_category = "Bio_Cannon_Ammo", + modifier = 1.5 + }) + end diff --git a/Bio_Industries_2/prototypes/Bio_Cannon/technology.lua b/Bio_Industries_2/prototypes/Bio_Cannon/technology.lua index 33b7436..d1c1abb 100644 --- a/Bio_Industries_2/prototypes/Bio_Cannon/technology.lua +++ b/Bio_Industries_2/prototypes/Bio_Cannon/technology.lua @@ -1,52 +1,51 @@ -local BioInd = require('common')('Bio_Industries_2') - -local ICONPATH = BioInd.modRoot .. "/graphics/technology/" - -if BI.Settings.Bio_Cannon then - - data:extend({ - { - type = "technology", - name = "bi-tech-bio-cannon", - icon_size = 256, - icon = ICONPATH .. "bi-tech-bio_cannon.png", - icons = { - { - icon = ICONPATH .. "bi-tech-bio_cannon.png", - icon_size = 256, - } - }, - effects = { - { - type = "unlock-recipe", - recipe = "bi-bio-cannon" - }, - { - type = "unlock-recipe", - recipe = "bi-bio-cannon-proto-ammo" - }, - { - type = "unlock-recipe", - recipe = "bi-bio-cannon-basic-ammo" - }, - { - type = "unlock-recipe", - recipe = "bi-bio-cannon-poison-ammo" - }, - - }, - prerequisites = {"military-2"}, - unit = { - count = 300, - ingredients = { - {"automation-science-pack", 1}, - {"logistic-science-pack", 1}, - {"military-science-pack", 1}, - }, - time = 30, - } - }, - - }) - -end +local BioInd = require('common')('Bio_Industries_2') +local ICONPATH = BioInd.modRoot .. "/graphics/technology/" + +if BI.Settings.Bio_Cannon then + + data:extend({ + { + type = "technology", + name = "bi-tech-bio-cannon", + icon_size = 256, + icon = ICONPATH .. "bi-tech-bio_cannon.png", + icons = { + { + icon = ICONPATH .. "bi-tech-bio_cannon.png", + icon_size = 256, + } + }, + effects = { + { + type = "unlock-recipe", + recipe = "bi-bio-cannon" + }, + { + type = "unlock-recipe", + recipe = "bi-bio-cannon-proto-ammo" + }, + { + type = "unlock-recipe", + recipe = "bi-bio-cannon-basic-ammo" + }, + { + type = "unlock-recipe", + recipe = "bi-bio-cannon-poison-ammo" + }, + + }, + prerequisites = {"military-2"}, + unit = { + count = 300, + ingredients = { + {"automation-science-pack", 1}, + {"logistic-science-pack", 1}, + {"military-science-pack", 3}, + }, + time = 30, + } + }, + + }) + +end diff --git a/Bio_Industries_2/prototypes/Bio_Farm/coal_processing.lua b/Bio_Industries_2/prototypes/Bio_Farm/coal_processing.lua index 1a47503..f176687 100644 --- a/Bio_Industries_2/prototypes/Bio_Farm/coal_processing.lua +++ b/Bio_Industries_2/prototypes/Bio_Farm/coal_processing.lua @@ -1,78 +1,78 @@ --- We may want to remove our coal processing techs and move the unlocks to a --- similar tech from other mods. So let's store the unlocks for each tech for --- easier shuffling! - -return { - -- "bi-tech-coal-processing-1" - { - { - type = "unlock-recipe", - recipe = "bi-charcoal-1" - }, - { - type = "unlock-recipe", - recipe = "bi-charcoal-2" - }, - { - type = "unlock-recipe", - recipe = "bi-ash-2" - }, - { - type = "unlock-recipe", - recipe = "bi-ash-1" - }, - { - type = "unlock-recipe", - recipe = "bi-wood-fuel-brick" - }, - { - type = "unlock-recipe", - recipe = "bi-seed-2" - }, - { - type = "unlock-recipe", - recipe = "bi-seedling-2" - }, - { - type = "unlock-recipe", - recipe = "bi-logs-2" - }, - { - type = "unlock-recipe", - recipe = "bi-cokery" - }, - }, - - -- "bi-tech-coal-processing-2" - { - { - type = "unlock-recipe", - recipe = "bi-coal-1" - }, - { - type = "unlock-recipe", - recipe = "bi-pellet-coke" - }, - -- Moved here from "bi-tech-coal-processing-1" (0.18.29): - { - type = "unlock-recipe", - recipe = "bi-solid-fuel" - }, - { - type = "unlock-recipe", - recipe = "bi-stone-brick" - }, - }, - - -- "bi-tech-coal-processing-3" - { - { - type = "unlock-recipe", - recipe = "bi-coal-2" - }, - { - type = "unlock-recipe", - recipe = "bi-coke-coal" - }, - }, -} +-- We may want to remove our coal processing techs and move the unlocks to a +-- similar tech from other mods. So let's store the unlocks for each tech for +-- easier shuffling! + +return { + -- "bi-tech-coal-processing-1" + { + { + type = "unlock-recipe", + recipe = "bi-charcoal-1" + }, + { + type = "unlock-recipe", + recipe = "bi-charcoal-2" + }, + { + type = "unlock-recipe", + recipe = "bi-ash-2" + }, + { + type = "unlock-recipe", + recipe = "bi-ash-1" + }, + { + type = "unlock-recipe", + recipe = "bi-wood-fuel-brick" + }, + { + type = "unlock-recipe", + recipe = "bi-seed-2" + }, + { + type = "unlock-recipe", + recipe = "bi-seedling-2" + }, + { + type = "unlock-recipe", + recipe = "bi-logs-2" + }, + { + type = "unlock-recipe", + recipe = "bi-cokery" + }, + }, + + -- "bi-tech-coal-processing-2" + { + { + type = "unlock-recipe", + recipe = "bi-coal-1" + }, + { + type = "unlock-recipe", + recipe = "bi-pellet-coke" + }, + -- Moved here from "bi-tech-coal-processing-1" (0.18.29): + { + type = "unlock-recipe", + recipe = "bi-solid-fuel" + }, + { + type = "unlock-recipe", + recipe = "bi-stone-brick" + }, + }, + + -- "bi-tech-coal-processing-3" + { + { + type = "unlock-recipe", + recipe = "bi-coal-2" + }, + { + type = "unlock-recipe", + recipe = "bi-coke-coal" + }, + }, +} diff --git a/Bio_Industries_2/prototypes/Bio_Farm/compatible_recipes.lua b/Bio_Industries_2/prototypes/Bio_Farm/compatible_recipes.lua index 6e16ffb..41961f2 100644 --- a/Bio_Industries_2/prototypes/Bio_Farm/compatible_recipes.lua +++ b/Bio_Industries_2/prototypes/Bio_Farm/compatible_recipes.lua @@ -1,440 +1,443 @@ -local BioInd = require('common')('Bio_Industries_2') - -local ICONPATH = BioInd.modRoot .. "/graphics/icons/" -local ICONPATHMIPS = BioInd.modRoot .. "/graphics/icons/mips/" - -data:extend({ - { - type = "recipe", - name = "bi-pellet-coke-2", - icon = ICONPATH .. "pellet_coke_b.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "pellet_coke_b.png", - icon_size = 64, - } - }, - category = "biofarm-mod-smelting", - subgroup = "bio-bio-farm-raw", - order = "a[bi]-a-g[bi-coke-coal]-2", - energy_required = 4, - ingredients = {}, - results = {{type="item", name="pellet-coke", amount=1}}, - always_show_made_in = true, - allow_decomposition = false, - allow_as_intermediate = false, - enabled = false, - }, - - -- fertilizer from sodium-hydroxide-- - { - type = "recipe", - name = "bi-fertilizer-2", - icon = ICONPATH .. "fertilizer_sodium_hydroxide.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "fertilizer_sodium_hydroxide.png", - icon_size = 64, - } - }, - category = "chemistry", - energy_required = 5, - ingredients = { - {type = "fluid", name = "nitrogen", amount = 10}, - {type = "item", name = "bi-ash", amount = 10} - }, - results = { - {type = "item", name = "fertilizer", amount = 5} - }, - enabled = false, - allow_as_intermediate = true, -- Changed for 0.18.34/1.1.4 - always_show_made_in = true, -- Changed for 0.18.34/1.1.4 - allow_decomposition = true, -- Changed for 0.18.34/1.1.4 - subgroup = "bio-bio-farm-intermediate-product", - order = "b[bi-fertilizer]", - }, -}) - ----- Resin -if not data.raw.item["resin"] then - - data:extend({ - --- Resin Item - { - type = "item", - name = "resin", - icon = ICONPATH .. "bi_resin.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bi_resin.png", - icon_size = 64, - } - }, - icon_mipmaps = 4, - pictures = { - { size = 64, filename = ICONPATHMIPS.."Resin_1.png", scale = 0.2 }, - { size = 64, filename = ICONPATHMIPS.."Resin_2.png", scale = 0.2 }, - { size = 64, filename = ICONPATHMIPS.."Resin_3.png", scale = 0.2 }, - { size = 64, filename = ICONPATHMIPS.."Resin_4.png", scale = 0.2 } - }, - subgroup = "bio-bio-farm-raw", - order = "a[bi]-a-bb[bi-resin]", - stack_size = 200 - }, - - --- Resin recipe - Wood - { - type = "recipe", - name = "bi-resin-wood", - localised_name = {"recipe-name.bi-resin-wood"}, - localised_description = {"recipe-description.bi-resin-wood"}, - icon = ICONPATH .. "bi_resin_wood.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bi_resin_wood.png", - icon_size = 64, - } - }, - subgroup = "bio-bio-farm-raw", - order = "a[bi]-a-bb[bi-2-resin-2-wood]", - enabled = false, - allow_as_intermediate = true, -- Changed for 0.18.34/1.1.4 - always_show_made_in = false, -- Changed for 0.18.34/1.1.4 - allow_decomposition = true, -- Changed for 0.18.34/1.1.4 - - energy_required = 1, - ingredients = { - {type = "item", name = "wood", amount = 1} - }, - results = {{type="item", name="resin", amount=1}}, - main_procuct = "", - -- This is a custom property for use by "Krastorio 2" (it will change - -- ingredients/results; used for wood/wood pulp) - mod = "Bio_Industries_2", - }, - }) - -- Order in table reflects order in display (Tech tree), so we remove the last - -- recipes, add the new one, and re-add the removed recipes where they belong. - for _, recipe in ipairs({"bi-woodpulp", "bi-resin-pulp", "bi-wood-from-pulp"}) do - thxbob.lib.tech.remove_recipe_unlock("bi-tech-bio-farming", recipe) - end - for _, recipe in ipairs({"bi-woodpulp", "bi-resin-wood", "bi-resin-pulp", "bi-wood-from-pulp"}) do - thxbob.lib.tech.add_recipe_unlock("bi-tech-bio-farming", recipe) - end - -elseif data.raw.recipe["bob-resin-wood"] then - data.raw.recipe["bob-resin-wood"].icon = ICONPATH .. "bi_resin_wood.png" - data.raw.recipe["bob-resin-wood"].icon_size = 64 -end - - - - -- Pellet-Coke from Carbon - Bobs & Angels -if data.raw.item["solid-carbon"] and mods["angelspetrochem"] then - thxbob.lib.recipe.add_new_ingredient("bi-pellet-coke-2", {type = "item", name = "solid-carbon", amount = 10}) - data.raw.recipe["bi-coke-coal"].icon = ICONPATH .. "pellet_coke_1.png" - data.raw.recipe["bi-coke-coal"].icon_size = 64 - data.raw.recipe["bi-pellet-coke-2"].icon = ICONPATH .. "pellet_coke_a.png" - data.raw.recipe["bi-pellet-coke-2"].icon_size = 64 - data.raw.recipe["bi-pellet-coke"].icon = ICONPATH .. "pellet_coke_c.png" - data.raw.recipe["bi-pellet-coke"].icon_size = 64 - thxbob.lib.tech.add_recipe_unlock("bi-tech-coal-processing-2", "bi-pellet-coke-2") -elseif data.raw.item["carbon"] and mods["bobplates"] then - thxbob.lib.recipe.add_new_ingredient ("bi-pellet-coke-2", {type = "item", name = "carbon", amount = 10}) - data.raw.recipe["bi-coke-coal"].icon = ICONPATH .. "pellet_coke_1.png" - data.raw.recipe["bi-coke-coal"].icon_size = 64 - data.raw.recipe["bi-pellet-coke-2"].icon = ICONPATH .. "pellet_coke_b.png" - data.raw.recipe["bi-pellet-coke-2"].icon_size = 64 - data.raw.recipe["bi-pellet-coke"].icon = ICONPATH .. "pellet_coke_c.png" - data.raw.recipe["bi-pellet-coke"].icon_size = 64 - thxbob.lib.tech.add_recipe_unlock("bi-tech-coal-processing-2", "bi-pellet-coke-2") -end - - --- Update Wood Bricks icon to Angels -if data.raw.item["wood-bricks"] and mods["angelsbioprocessing"] then - data.raw.recipe["bi-wood-fuel-brick"].icon = "__angelsbioprocessing__/graphics/icons/wood-bricks.png" - data.raw.recipe["bi-wood-fuel-brick"].icon_size = 32 - data.raw.recipe["bi-wood-fuel-brick"].icons = { - { - icon = "__angelsbioprocessing__/graphics/icons/wood-bricks.png", - icon_size = 32, - } - } - data.raw.item["wood-bricks"].icon = "__angelsbioprocessing__/graphics/icons/wood-bricks.png" - data.raw.item["wood-bricks"].icon_size = 32 -end - - ---- Add fertilizer recipes if bob's or Angels -if data.raw.item["solid-sodium-hydroxide"] and mods["angelspetrochem"] then - thxbob.lib.recipe.add_new_ingredient("bi-fertilizer-2", {type = "item", name = "solid-sodium-hydroxide", amount = 10}) - thxbob.lib.recipe.replace_ingredient("bi-fertilizer-2", "nitrogen", "gas-nitrogen") - data.raw.recipe["bi-fertilizer-2"].icon = ICONPATH .. "fertilizer_solid_sodium_hydroxide.png" - data.raw.recipe["bi-fertilizer-2"].icon_size = 64 - thxbob.lib.tech.add_recipe_unlock("bi-tech-fertilizer", "bi-fertilizer-2") -elseif data.raw.item["sodium-hydroxide"] and mods["bobplates"] then - thxbob.lib.recipe.add_new_ingredient("bi-fertilizer-2", { - type = "item", - name = "sodium-hydroxide", - amount = 10 - }) - thxbob.lib.tech.add_recipe_unlock("bi-tech-fertilizer", "bi-fertilizer-2") -end - - --- If Angels, replace liquid air + nitrogen and with Angel's ingredients in recipes -if data.raw.fluid["gas-nitrogen"] and data.raw.fluid["gas-compressed-air"] and mods["angelspetrochem"] then - thxbob.lib.recipe.replace_ingredient("bi-fertilizer-1", "nitrogen", "gas-nitrogen") - thxbob.lib.recipe.replace_ingredient("bi-fertilizer-2", "nitrogen", "gas-nitrogen") - thxbob.lib.recipe.replace_ingredient("bi-biomass-2", "liquid-air", "gas-compressed-air") - thxbob.lib.recipe.replace_ingredient("bi-biomass-3", "liquid-air", "gas-compressed-air") -end - --- If Angels, replace icons for biomass-conversion-2 and bi_basic_gas_processing -if mods["angelspetrochem"] then - local conversion = data.raw.recipe["bi-biomass-conversion-2"] - conversion.icon = ICONPATH .. "bio_conversion_2_angels.png" - conversion.icons[1].icon = ICONPATH .. "bio_conversion_2_angels.png" - conversion.localised_name = {"recipe-name.bi-biomass-conversion-2-methane"} - conversion.localised_description = {"recipe-description.bi-biomass-conversion-2-methane"} - - local gas_processing = data.raw.recipe["bi-basic-gas-processing"] - gas_processing.icon = ICONPATH .. "bi_basic_gas_processing_angels.png" - gas_processing.icons[1].icon = ICONPATH .. "bi_basic_gas_processing_angels.png" - -end - --- If Angels, replace water with water-yellow-waste -if data.raw.fluid["water-yellow-waste"] and mods["angelspetrochem"] then - -- Replace water with water-yellow-waste in Algae Biomass conversion 4 - thxbob.lib.recipe.remove_result("bi-biomass-conversion-4", "water") - thxbob.lib.recipe.add_result("bi-biomass-conversion-4", { - type = "fluid", - name = "water-yellow-waste", - amount = 40 - }) - -- Change recipe localizations - data.raw.recipe["bi-biomass-conversion-4"].localised_name = - {"recipe-name.bi-biomass-conversion-4-yellow-waste"} - data.raw.recipe["bi-biomass-conversion-4"].localised_description = - {"recipe-description.bi-biomass-conversion-4-yellow-waste"} -end - --- Krastorio -if mods["Krastorio"] then - -- Replace liquid air with oxygen in Algae Biomass conversion 2 and 3 - thxbob.lib.recipe.replace_ingredient("bi-fertilizer-1", "nitrogen", "k-nitrogen") - thxbob.lib.recipe.replace_ingredient("bi-fertilizer-2", "nitrogen", "k-nitrogen") - - thxbob.lib.recipe.replace_ingredient("bi-biomass-2", "liquid-air", "k-oxygen") - thxbob.lib.recipe.replace_ingredient("bi-biomass-3", "liquid-air", "k-oxygen") -end - - --- Krastorio2 -if mods["Krastorio2"] then - -- Replace liquid air with oxygen in Algae Biomass conversion 2 and 3 - thxbob.lib.recipe.replace_ingredient("bi-biomass-2", "liquid-air", "oxygen") - thxbob.lib.recipe.replace_ingredient("bi-biomass-3", "liquid-air", "oxygen") -end - - ---- Make Bio Farm use glass if Bob's -if data.raw.item.glass then - thxbob.lib.recipe.replace_ingredient("bi-bio-farm", "copper-cable", "glass") -end - - ---- Adding in some recipe's to use up Wood Pulp (Ash and Charcoal) and Crushed Stone -if mods["angelsrefining"] then - data:extend({ - -- Charcoal and Crushed Stone Sink - { - type = "recipe", - name = "bi-mineralized-sulfuric-waste", - icon = ICONPATH .. "bi_mineralized_sulfuric.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bi_mineralized_sulfuric.png", - icon_size = 64, - } - }, - category = "liquifying", - subgroup = "water-treatment", - energy_required = 2, - ingredients = { - {type = "fluid", name = "water-purified", amount = 100}, - {type = "item", name = "stone-crushed", amount = 90}, - {type = "item", name = "wood-charcoal", amount = 30}, - }, - results= { - {type = "fluid", name = "water-yellow-waste", amount = 40}, - {type = "fluid", name = "water-mineralized", amount = 60}, - }, - enabled = false, - allow_as_intermediate = false, - always_show_made_in = true, - allow_decomposition = false, - order = "a[water-water-mineralized]-2", - }, - - -- Ash and Crushed Stone Sink - { - type = "recipe", - name = "bi-slag-slurry", - icon = ICONPATH .. "bi_slurry.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bi_slurry.png", - icon_size = 64, - } - }, - category = "liquifying", - subgroup = "liquifying", - energy_required = 4, - ingredients = { - {type = "fluid", name = "water-saline", amount = 50}, - {type = "item", name = "stone-crushed", amount = 90}, - {type = "item", name = "bi-ash", amount = 40}, - }, - results = { - {type = "fluid", name = "slag-slurry", amount = 100}, - }, - enabled = false, - allow_as_intermediate = false, - always_show_made_in = true, - allow_decomposition = false, - order = "i [slag-processing-dissolution]-2", - }, - }) - thxbob.lib.tech.add_recipe_unlock("water-treatment", "bi-mineralized-sulfuric-waste") - thxbob.lib.tech.add_recipe_unlock("slag-processing-1", "bi-slag-slurry") -end - - ---- Alternative Wooden-Board Recipe for Bob's Electronics -if data.raw.item["wooden-board"] and mods["bobelectronics"] then - data:extend({ - -- Wood - Press Wood - { - type = "recipe", - name = "bi-press-wood", - localised_name = {"recipe-name.bi-press-wood"}, - icon = ICONPATH .. "bi_wooden_board.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bi_wooden_board.png", - icon_size = 64, - } - }, - subgroup = "bob-boards", - order = "c-a1[wooden-board]", - category = "electronics", - energy_required = 1, - enabled = false, - always_show_made_in = true, - allow_decomposition = false, - allow_as_intermediate = false, - ingredients = { - {type = "item", name = "bi-woodpulp", amount = 3}, - {type = "item", name = "resin", amount = 1}, - }, - results = { - {type = "item", name = "wooden-board", amount = 6} - }, - -- This is a custom property for use by "Krastorio 2" (it will change - -- ingredients/results; used for wood/wood pulp) - mod = "Bio_Industries_2", - }, - }) - thxbob.lib.tech.add_recipe_unlock("electronics", "bi-press-wood") - - if mods["ShinyBobGFX"] or mods["ShinyBobGFX_Continued"] then - data.raw["recipe"]["bi-press-wood"].icon = ICONPATH .. "bi_wooden_board_shiny.png" - data.raw["recipe"]["bi-press-wood"].icon_size = 64 - end -end - - --- Replace Angels Charcoal Icon -if data.raw.recipe["wood-charcoal"] then - data.raw.recipe["wood-charcoal"].icon = ICONPATH .. "charcoal_pellets.png" - data.raw.recipe["wood-charcoal"].icon_size = 64 - data.raw.recipe["wood-charcoal"].category = "biofarm-mod-smelting" - data.raw.item["wood-charcoal"].icon = ICONPATH .. "charcoal.png" - data.raw.item["wood-charcoal"].icon_size = 64 - data.raw.item["wood-charcoal"].fuel_emissions_multiplier = 1.05 -end - - - --- Add recipe for sand from crushed stone if any other mod provides sand - -if data.raw.item["sand"] or - data.raw.item["biotech-sand"] or - data.raw.item["solid-sand"] then - -BioInd.writeDebug("Generating recipe for sand from crushed stone!") - -- General recipe for sand (will be adjusted later if necessary) - data:extend({ - { - type = "recipe", - name = "bi-sand", - icons = { - { - icon = ICONPATH .. "sand-aai.png", - icon_size = 64, - mip_maps = 1, - } - }, - category = "biofarm-mod-crushing", - subgroup = "bio-bio-farm-raw", - order = "a[bi]-a-z[bi-9-sand]", - energy_required = 1, - ingredients = {{type="item", name="stone-crushed", amount=2}}, - results = {{type="item", name="sand", amount=5}}, - main_product = "", - enabled = false, - allow_as_intermediate = true, -- Changed for 0.18.34/1.1.4 - always_show_made_in = true, -- Changed for 0.18.34/1.1.4 - allow_decomposition = true, -- Changed for 0.18.34/1.1.4 - }, - }) - - local recipe = data.raw.recipe["bi-sand"] - -- Adjust result for BioTech - if mods["BioTech"] then -BioInd.writeDebug("Adjusting result for \"BioTech\" …") - recipe.result = "biotech-sand" - - -- Adjust result for Angel's - elseif mods["angelsrefining"] then - -- Adjust result -BioInd.writeDebug("Adjusting result for \"angelsrefining\" …") - recipe.result = "solid-sand" - - -- Adjust icon for Krastorio - elseif mods["Krastorio2"] or mods["Krastorio"] then -BioInd.writeDebug("Using Krastorio icon …") - recipe.icons[1].icon = ICONPATH .. "sand-Krastorio.png" - end - - -- Add recipe to technology -BioInd.writeDebug("Add unlock for recipe bi-sand") - thxbob.lib.tech.add_recipe_unlock("steel-processing", "bi-sand") - - -- Use alternative descriptions for stone crusher! -BioInd.writeDebug("Using alternative descriptions for \"bi-stone-crusher\"!") - for _, t in ipairs({"furnace", "item", "recipe"}) do - data.raw[t]["bi-stone-crusher"].localised_description = - {"entity-description.bi-stone-crusher-sand"} - end -end +local BioInd = require('common')('Bio_Industries_2') +local ICONPATH = BioInd.modRoot .. "/graphics/icons/" +local ICONPATH_BA = BioInd.modRoot .. "/graphics/icons/mod_bobangels/" +local ICONPATH_AAI = BioInd.modRoot .. "/graphics/icons/mod_aai/" +local ICONPATH_KR = BioInd.modRoot .. "/graphics/icons/mod_krastorio/" +local ICONPATHMIPS = BioInd.modRoot .. "/graphics/icons/mips/" + +local nitrogen = data.raw.fluid["kr-nitrogen"] and "kr-nitrogen" or "nitrogen" + +data:extend({ + { + type = "recipe", + name = "bi-pellet-coke-2", + icon = ICONPATH_BA .. "pellet_coke_b.png", + icon_size = 64, + icons = { + { + icon = ICONPATH_BA .. "pellet_coke_b.png", + icon_size = 64, + } + }, + category = "biofarm-mod-smelting", + subgroup = "bio-bio-farm-raw", + order = "a[bi]-a-g[bi-coke-coal]-2", + energy_required = 4, + ingredients = {}, + results = {{type="item", name="pellet-coke", amount=1}}, + always_show_made_in = true, + allow_decomposition = false, + allow_as_intermediate = false, + enabled = false, + }, + + -- fertilizer from sodium-hydroxide-- + { + type = "recipe", + name = "bi-fertilizer-2", + icon = ICONPATH_BA .. "fertilizer_sodium_hydroxide.png", + icon_size = 64, + icons = { + { + icon = ICONPATH_BA .. "fertilizer_sodium_hydroxide.png", + icon_size = 64, + } + }, + category = "chemistry", + energy_required = 5, + ingredients = { + {type = "fluid", name = nitrogen, amount = 10}, + {type = "item", name = "bi-ash", amount = 10} + }, + results = { + {type = "item", name = "fertilizer", amount = 5} + }, + enabled = false, + allow_as_intermediate = true, -- Changed for 0.18.34/1.1.4 + always_show_made_in = true, -- Changed for 0.18.34/1.1.4 + allow_decomposition = true, -- Changed for 0.18.34/1.1.4 + subgroup = "bio-bio-farm-intermediate-product", + order = "b[bi-fertilizer]", + }, +}) + +---- Resin +if not data.raw.item["resin"] then + + data:extend({ + --- Resin Item + { + type = "item", + name = "resin", + icon = ICONPATH .. "bi_resin.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "bi_resin.png", + icon_size = 64, + } + }, + icon_mipmaps = 4, + pictures = { + { size = 64, filename = ICONPATHMIPS.."resin_1.png", scale = 0.2 }, + { size = 64, filename = ICONPATHMIPS.."resin_2.png", scale = 0.2 }, + { size = 64, filename = ICONPATHMIPS.."resin_3.png", scale = 0.2 }, + { size = 64, filename = ICONPATHMIPS.."resin_4.png", scale = 0.2 } + }, + subgroup = "bio-bio-farm-raw", + order = "a[bi]-a-bb[bi-resin]", + stack_size = 200, + drop_sound = { + filename = "__base__/sound/item/solid-fuel-inventory-move.ogg", + volume = 0.7, + }, + inventory_move_sound = { + filename = "__base__/sound/item/solid-fuel-inventory-move.ogg", + volume = 0.7, + }, + pick_sound = { + filename = "__base__/sound/item/solid-fuel-inventory-pickup.ogg", + volume = 0.7, + }, + }, + + --- Resin recipe - Wood + { + type = "recipe", + name = "bi-resin-wood", + localised_name = {"recipe-name.bi-resin-wood"}, + localised_description = {"recipe-description.bi-resin-wood"}, + icon = ICONPATH .. "bi_resin_wood.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "bi_resin_wood.png", + icon_size = 64, + } + }, + subgroup = "bio-bio-farm-raw", + order = "a[bi]-a-bb[bi-2-resin-2-wood]", + enabled = false, + allow_as_intermediate = true, -- Changed for 0.18.34/1.1.4 + always_show_made_in = false, -- Changed for 0.18.34/1.1.4 + allow_decomposition = true, -- Changed for 0.18.34/1.1.4 + + energy_required = 1, + ingredients = { + {type = "item", name = "wood", amount = 1} + }, + results = {{type="item", name="resin", amount=1}}, + main_procuct = "", + -- This is a custom property for use by "Krastorio 2" (it will change + -- ingredients/results; used for wood/wood pulp) + mod = "Bio_Industries_2", + }, + }) + -- Order in table reflects order in display (Tech tree), so we remove the last + -- recipes, add the new one, and re-add the removed recipes where they belong. + for _, recipe in ipairs({"bi-woodpulp", "bi-resin-pulp", "bi-wood-from-pulp"}) do + thxbob.lib.tech.remove_recipe_unlock("bi-tech-bio-farming", recipe) + end + for _, recipe in ipairs({"bi-woodpulp", "bi-resin-wood", "bi-resin-pulp", "bi-wood-from-pulp"}) do + thxbob.lib.tech.add_recipe_unlock("bi-tech-bio-farming", recipe) + end + +elseif data.raw.recipe["bob-resin-wood"] then + data.raw.recipe["bob-resin-wood"].icon = ICONPATH .. "bi_resin_wood.png" + data.raw.recipe["bob-resin-wood"].icon_size = 64 +end + + + -- Pellet-Coke from Carbon - Bobs & Angels +if data.raw.item["solid-carbon"] and mods["angelspetrochem"] then + thxbob.lib.recipe.add_new_ingredient("bi-pellet-coke-2", {type = "item", name = "solid-carbon", amount = 10}) + data.raw.recipe["bi-coke-coal"].icon = ICONPATH_BA .. "pellet_coke_1.png" + data.raw.recipe["bi-coke-coal"].icon_size = 64 + data.raw.recipe["bi-pellet-coke-2"].icon = ICONPATH_BA .. "pellet_coke_a.png" + data.raw.recipe["bi-pellet-coke-2"].icon_size = 64 + data.raw.recipe["bi-pellet-coke"].icon = ICONPATH_BA .. "pellet_coke_c.png" + data.raw.recipe["bi-pellet-coke"].icon_size = 64 + thxbob.lib.tech.add_recipe_unlock("bi-tech-coal-processing-2", "bi-pellet-coke-2") +elseif data.raw.item["bob-carbon"] and mods["bobplates"] then + thxbob.lib.recipe.add_new_ingredient ("bi-pellet-coke-2", {type = "item", name = "bob-carbon", amount = 10}) + data.raw.recipe["bi-coke-coal"].icon = ICONPATH_BA .. "pellet_coke_1.png" + data.raw.recipe["bi-coke-coal"].icon_size = 64 + data.raw.recipe["bi-pellet-coke-2"].icon = ICONPATH_BA .. "pellet_coke_b.png" + data.raw.recipe["bi-pellet-coke-2"].icon_size = 64 + data.raw.recipe["bi-pellet-coke"].icon = ICONPATH_BA .. "pellet_coke_c.png" + data.raw.recipe["bi-pellet-coke"].icon_size = 64 + thxbob.lib.tech.add_recipe_unlock("bi-tech-coal-processing-2", "bi-pellet-coke-2") +end + + +-- Update Wood Bricks icon to Angels +if data.raw.item["wood-bricks"] and mods["angelsbioprocessing"] then + data.raw.recipe["bi-wood-fuel-brick"].icon = "__angelsbioprocessing__/graphics/icons/wood-bricks.png" + data.raw.recipe["bi-wood-fuel-brick"].icon_size = 32 + data.raw.recipe["bi-wood-fuel-brick"].icons = { + { + icon = "__angelsbioprocessing__/graphics/icons/wood-bricks.png", + icon_size = 32, + } + } + data.raw.item["wood-bricks"].icon = "__angelsbioprocessing__/graphics/icons/wood-bricks.png" + data.raw.item["wood-bricks"].icon_size = 32 +end + + +--- Add fertilizer recipes if bob's or Angels +if data.raw.item["solid-sodium-hydroxide"] and mods["angelspetrochem"] then + thxbob.lib.recipe.add_new_ingredient("bi-fertilizer-2", {type = "item", name = "solid-sodium-hydroxide", amount = 10}) + thxbob.lib.recipe.replace_ingredient("bi-fertilizer-2", nitrogen, "gas-nitrogen") + data.raw.recipe["bi-fertilizer-2"].icon = ICONPATH_BA .. "fertilizer_solid_sodium_hydroxide.png" + data.raw.recipe["bi-fertilizer-2"].icon_size = 64 + thxbob.lib.tech.add_recipe_unlock("bi-tech-fertilizer", "bi-fertilizer-2") +elseif data.raw.item["bob-sodium-hydroxide"] and mods["bobplates"] then + thxbob.lib.recipe.add_new_ingredient("bi-fertilizer-2", { + type = "item", + name = "bob-sodium-hydroxide", + amount = 10 + }) + thxbob.lib.tech.add_recipe_unlock("bi-tech-fertilizer", "bi-fertilizer-2") +end + + +-- If Angels, replace liquid air + nitrogen and with Angel's ingredients in recipes +if data.raw.fluid["gas-nitrogen"] and data.raw.fluid["gas-compressed-air"] and mods["angelspetrochem"] then + thxbob.lib.recipe.replace_ingredient("bi-fertilizer-1", nitrogen, "gas-nitrogen") + thxbob.lib.recipe.replace_ingredient("bi-fertilizer-2", nitrogen, "gas-nitrogen") + thxbob.lib.recipe.replace_ingredient("bi-biomass-2", "liquid-air", "gas-compressed-air") + thxbob.lib.recipe.replace_ingredient("bi-biomass-3", "liquid-air", "gas-compressed-air") +end + +-- If Angels, replace icons for biomass-conversion-2 and bi_basic_gas_processing +if mods["angelspetrochem"] then + local conversion = data.raw.recipe["bi-biomass-conversion-2"] + conversion.icon = ICONPATH_BA .. "bio_conversion_2_angels.png" + conversion.icons[1].icon = ICONPATH_BA .. "bio_conversion_2_angels.png" + conversion.localised_name = {"recipe-name.bi-biomass-conversion-2-methane"} + conversion.localised_description = {"recipe-description.bi-biomass-conversion-2-methane"} + + local gas_processing = data.raw.recipe["bi-basic-gas-processing"] + gas_processing.icon = ICONPATH_BA .. "bi_basic_gas_processing_angels.png" + gas_processing.icons[1].icon = ICONPATH_BA .. "bi_basic_gas_processing_angels.png" + +end + +-- If Angels, replace water with water-yellow-waste +if data.raw.fluid["water-yellow-waste"] and mods["angelspetrochem"] then + -- Replace water with water-yellow-waste in Algae Biomass conversion 4 + thxbob.lib.recipe.remove_result("bi-biomass-conversion-4", "water") + thxbob.lib.recipe.add_result("bi-biomass-conversion-4", { + type = "fluid", + name = "water-yellow-waste", + amount = 40 + }) + -- Change recipe localizations + data.raw.recipe["bi-biomass-conversion-4"].localised_name = + {"recipe-name.bi-biomass-conversion-4-yellow-waste"} + data.raw.recipe["bi-biomass-conversion-4"].localised_description = + {"recipe-description.bi-biomass-conversion-4-yellow-waste"} +end + + +-- Krastorio2 +if mods["Krastorio2"] or mods["Krastorio2-spaced-out"] then + -- Replace liquid air with oxygen in Algae Biomass conversion 2 and 3 + thxbob.lib.recipe.replace_ingredient("bi-biomass-2", "liquid-air", "kr-oxygen") + thxbob.lib.recipe.replace_ingredient("bi-biomass-3", "liquid-air", "kr-oxygen") +end + + +--- Make Bio Farm use glass if Bob's +if data.raw.item["bob-glass"] then + thxbob.lib.recipe.replace_ingredient("bi-bio-farm", "copper-cable", "bob-glass") +end + + +--- Adding in some recipe's to use up Wood Pulp (Ash and Charcoal) and Crushed Stone +if mods["angelsrefining"] then + data:extend({ + -- Charcoal and Crushed Stone Sink + { + type = "recipe", + name = "bi-mineralized-sulfuric-waste", + icon = ICONPATH_BA .. "bi_mineralized_sulfuric.png", + icon_size = 64, + icons = { + { + icon = ICONPATH_BA .. "bi_mineralized_sulfuric.png", + icon_size = 64, + } + }, + category = "liquifying", + subgroup = "water-treatment", + energy_required = 2, + ingredients = { + {type = "fluid", name = "water-purified", amount = 100}, + {type = "item", name = "stone-crushed", amount = 90}, + {type = "item", name = "wood-charcoal", amount = 30}, + }, + results= { + {type = "fluid", name = "water-yellow-waste", amount = 40}, + {type = "fluid", name = "water-mineralized", amount = 60}, + }, + enabled = false, + allow_as_intermediate = false, + always_show_made_in = true, + allow_decomposition = false, + order = "a[water-water-mineralized]-2", + }, + + -- Ash and Crushed Stone Sink + { + type = "recipe", + name = "bi-slag-slurry", + icon = ICONPATH_BA .. "bi_slurry.png", + icon_size = 64, + icons = { + { + icon = ICONPATH_BA .. "bi_slurry.png", + icon_size = 64, + } + }, + category = "liquifying", + subgroup = "liquifying", + energy_required = 4, + ingredients = { + {type = "fluid", name = "water-saline", amount = 50}, + {type = "item", name = "stone-crushed", amount = 90}, + {type = "item", name = "bi-ash", amount = 40}, + }, + results = { + {type = "fluid", name = "slag-slurry", amount = 100}, + }, + enabled = false, + allow_as_intermediate = false, + always_show_made_in = true, + allow_decomposition = false, + order = "i [slag-processing-dissolution]-2", + }, + }) + thxbob.lib.tech.add_recipe_unlock("water-treatment", "bi-mineralized-sulfuric-waste") + thxbob.lib.tech.add_recipe_unlock("slag-processing-1", "bi-slag-slurry") +end + + +--- Alternative Wooden-Board Recipe for Bob's Electronics +if data.raw.item["bob-wooden-board"] and mods["bobelectronics"] then + data:extend({ + -- Wood - Press Wood + { + type = "recipe", + name = "bi-press-wood", + localised_name = {"recipe-name.bi-press-wood"}, + icon = ICONPATH_BA .. "bi_wooden_board_shiny.png", + icon_size = 64, + icons = { + { + icon = ICONPATH_BA .. "bi_wooden_board_shiny.png", + icon_size = 64, + } + }, + subgroup = "bob-boards", + order = "c-a1[wooden-board]", + category = "electronics", + energy_required = 1, + enabled = false, + always_show_made_in = true, + allow_decomposition = false, + allow_as_intermediate = false, + allow_productivity = true, + ingredients = { + {type = "item", name = "bi-woodpulp", amount = 3}, + {type = "item", name = "resin", amount = 1}, + }, + results = { + {type = "item", name = "bob-wooden-board", amount = 6} + }, + -- This is a custom property for use by "Krastorio 2" (it will change + -- ingredients/results; used for wood/wood pulp) + mod = "Bio_Industries_2", + }, + }) + thxbob.lib.tech.add_recipe_unlock("electronics", "bi-press-wood") + + +end + + +-- Replace Angels Charcoal Icon +if data.raw.recipe["wood-charcoal"] then + data.raw.recipe["wood-charcoal"].icon = ICONPATH_BA .. "charcoal_pellets.png" + data.raw.recipe["wood-charcoal"].icon_size = 64 + data.raw.recipe["wood-charcoal"].category = "biofarm-mod-smelting" + data.raw.item["wood-charcoal"].icon = ICONPATH .. "charcoal.png" + data.raw.item["wood-charcoal"].icon_size = 64 + data.raw.item["wood-charcoal"].fuel_emissions_multiplier = 1.05 +end + + + +-- Add recipe for sand from crushed stone if any other mod provides sand + +if data.raw.item[data.raw.item["kr-sand"] and "kr-sand" or "sand"] or + data.raw.item["biotech-sand"] or + data.raw.item["solid-sand"] then + + BioInd.writeDebug("Generating recipe for sand from crushed stone!") + -- General recipe for sand (will be adjusted later if necessary) + data:extend({ + { + type = "recipe", + name = "bi-sand", + icons = { + { + icon = ICONPATH_AAI .. "sand-aai.png", + icon_size = 64, + mip_maps = 1, + } + }, + category = "biofarm-mod-crushing", + subgroup = "bio-bio-farm-raw", + order = "a[bi]-a-z[bi-9-sand]", + energy_required = 1, + ingredients = {{type="item", name="stone-crushed", amount=2}}, + results = {{type="item", name=data.raw.item["kr-sand"] and "kr-sand" or "sand", amount=5}}, + main_product = "", + enabled = false, + allow_as_intermediate = true, -- Changed for 0.18.34/1.1.4 + always_show_made_in = true, -- Changed for 0.18.34/1.1.4 + allow_decomposition = true, -- Changed for 0.18.34/1.1.4 + }, + }) + + local recipe = data.raw.recipe["bi-sand"] + -- Adjust result for BioTech + if mods["BioTech"] then +BioInd.writeDebug("Adjusting result for \"BioTech\" …") + recipe.result = "biotech-sand" + + -- Adjust result for Angel's + elseif mods["angelsrefining"] then + -- Adjust result +BioInd.writeDebug("Adjusting result for \"angelsrefining\" …") + recipe.result = "solid-sand" + + -- Adjust icon for Krastorio + elseif mods["Krastorio2"] or mods["Krastorio2-spaced-out"] then +BioInd.writeDebug("Using Krastorio icon …") + recipe.icons[1].icon = ICONPATH_KR .. "sand-Krastorio.png" + end + + -- Add recipe to technology +BioInd.writeDebug("Add unlock for recipe bi-sand") + thxbob.lib.tech.add_recipe_unlock("steel-processing", "bi-sand") + + -- Use alternative descriptions for stone crusher! +BioInd.writeDebug("Using alternative descriptions for \"bi-stone-crusher\"!") + for _, t in ipairs({"furnace", "item", "recipe"}) do + data.raw[t]["bi-stone-crusher"].localised_description = + {"entity-description.bi-stone-crusher-sand"} + end +end diff --git a/Bio_Industries_2/prototypes/Bio_Farm/entities.lua b/Bio_Industries_2/prototypes/Bio_Farm/entities.lua index e5fce01..fd8ee4e 100644 --- a/Bio_Industries_2/prototypes/Bio_Farm/entities.lua +++ b/Bio_Industries_2/prototypes/Bio_Farm/entities.lua @@ -1,851 +1,1151 @@ -local BioInd = require('common')('Bio_Industries_2') - -local ICONPATH = BioInd.modRoot .. "/graphics/icons/" -local ENTITYPATH = BioInd.modRoot .. "/graphics/entities/biofarm/" - - -require ("prototypes.Bio_Farm.pipeConnectors") -require ("util") - -inv_extension2 = { - filename = ENTITYPATH .. "Bio_Farm_Idle_alt.png", - priority = "high", - width = 320, - height = 320, - frame_count = 1, - direction_count = 1, - shift = {0.75, 0}, -} - - -data:extend({ - ------- Seedling - { - type = "simple-entity-with-force", - name = "seedling", - localised_name = {"entity-name.seedling"}, - localised_description = {"entity-description.seedling"}, - icon = ICONPATH .. "Seedling.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "Seedling.png", - icon_size = 64, - } - }, - order = "x[bi]-a[bi-seedling]", - flags = {"placeable-neutral", "placeable-player", "player-creation", "breaths-air"}, - create_ghost_on_death = false, - minable = { - mining_particle = "wooden-particle", - mining_time = 0.25, - results = {{type="item", name="seedling", amount=1}}, - count = 1 - }, - corpse = nil, - remains_when_mined = nil, - emissions_per_second = { pollution = -0.0006 }, - max_health = 5, - - collision_box = {{-0.1, -0.1}, {0.1, 0.1}}, - selection_box = {{-0.5, -0.5}, {0.5, 0.5}}, - subgroup = "trees", - impact_category = "wood", - picture = { - filename = ICONPATH .. "Seedling_b.png", - priority = "extra-high", - width = 64, - height = 64, - scale = 0.3 - }, - }, - - ------- Seedling - Dummy for Seed Bomb - { - type = "simple-entity-with-force", - name = "seedling-2", - localised_name = {"entity-name.seedling"}, - localised_description = {"entity-description.seedling"}, - icon = ICONPATH .. "Seedling.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "Seedling.png", - icon_size = 64, - } - }, - order = "x[bi]-a[bi-seedling]", - flags = {"placeable-neutral", "placeable-player", "player-creation", "breaths-air"}, - create_ghost_on_death = false, - minable = { - mining_particle = "wooden-particle", - mining_time = 0.25, - results = {{type="item", name="seedling", amount=1}}, - count = 1 - }, - corpse = nil, - remains_when_mined = nil, - emissions_per_second = { pollution = -0.0006 }, - max_health = 5, - - collision_box = {{-0.1, -0.1}, {0.1, 0.1}}, - selection_box = {{-0.5, -0.5}, {0.5, 0.5}}, - subgroup = "trees", - impact_category = "wood", - picture = { - filename = ICONPATH .. "Seedling_b.png", - priority = "extra-high", - width = 64, - height = 64, - scale = 0.3 - }, - }, - - { - type = "simple-entity-with-force", - name = "seedling-3", - localised_name = {"entity-name.seedling"}, - localised_description = {"entity-description.seedling"}, - icon = ICONPATH .. "Seedling.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "Seedling.png", - icon_size = 64, - } - }, - order = "x[bi]-a[bi-seedling]", - flags = {"placeable-neutral", "placeable-player", "player-creation", "breaths-air"}, - create_ghost_on_death = false, - minable = { - mining_particle = "wooden-particle", - mining_time = 0.25, - results = {{type="item", name="seedling", amount=1}}, - count = 1 - }, - corpse = nil, - remains_when_mined = nil, - emissions_per_second = { pollution = -0.0006 }, - max_health = 5, - - collision_box = {{-0.1, -0.1}, {0.1, 0.1}}, - selection_box = {{-0.5, -0.5}, {0.5, 0.5}}, - subgroup = "trees", - impact_category = "wood", - picture = { - filename = ICONPATH .. "Seedling_b.png", - priority = "extra-high", - width = 64, - height = 64, - scale = 0.3 - }, - }, - - - ------- Bio Farm - { - type = "assembling-machine", - name = "bi-bio-farm", - icon = ICONPATH .. "Bio_Farm_Icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "Bio_Farm_Icon.png", - icon_size = 64, - } - }, - flags = {"placeable-neutral", "placeable-player", "player-creation"}, - minable = {hardness = 0.2, mining_time = 0.5, result = "bi-bio-farm"}, - max_health = 250, - corpse = "big-remnants", - dying_explosion = "medium-explosion", - resistances = {{type = "fire", percent = 70}}, - fluid_boxes = { - { - production_type = "input", - pipe_picture = assembler3pipepictures(), - pipe_covers = pipecoverspictures(), - volume = 1000, - base_level = -1, - pipe_connections = {{ flow_direction = "input", direction = defines.direction.north, position = {-1, -4} }} - }, - { - production_type = "input", - pipe_picture = assembler3pipepictures(), - pipe_covers = pipecoverspictures(), - volume = 1000, - base_level = -1, - pipe_connections = {{ flow_direction = "input", direction = defines.direction.north, position = {1, -4} }} - }, - }, - fluid_boxes_off_when_no_fluid_recipe = true, - - collision_box = {{-4.2, -4.2}, {4.2, 4.2}}, - selection_box = {{-4.5, -4.5}, {4.5, 4.5}}, - - animation = { - filename = ENTITYPATH .. "Bio_Farm_Idle.png", - priority = "high", - width = 348, - height = 288, - shift = {0.96, 0}, - frame_count = 1, - }, - - working_visualisations = { - animation = { - filename = ENTITYPATH .. "Bio_Farm_Working.png", - priority = "high", - width = 348, - height = 288, - shift = {0.96, 0}, - frame_count = 1, - }, - }, - crafting_categories = {"biofarm-mod-farm"}, - crafting_speed = 1, - energy_source = { - type = "electric", - usage_priority = "primary-input", - drain = "50kW", - emissions_per_minute = { pollution = -9 }, -- the "-" means it Absorbs pollution. - }, - energy_usage = "100kW", - ingredient_count = 3, - open_sound = { filename = "__base__/sound/machine-open.ogg", volume = 0.85 }, - close_sound = { filename = "__base__/sound/machine-close.ogg", volume = 0.75 }, - module_specification = { - module_slots = 3 - }, - allowed_effects = {"consumption", "speed", "productivity", "pollution"}, - }, - - }) - - ------- Bio Farm Hidden Electric Pole - - -data:extend({ - - ------ Greenhouse - { - type = "assembling-machine", - name = "bi-bio-greenhouse", - icon = ICONPATH .. "bio_greenhouse.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bio_greenhouse.png", - icon_size = 64, - } - }, - flags = {"placeable-neutral", "placeable-player", "player-creation"}, - minable = {hardness = 0.2, mining_time = 0.25, result = "bi-bio-greenhouse"}, - collision_box = {{-1.2, -1.2}, {1.2, 1.2}}, - selection_box = {{-1.5, -1.5}, {1.5, 1.5}}, - max_health = 250, - corpse = "medium-remnants", - dying_explosion = "medium-explosion", - crafting_categories = {"biofarm-mod-greenhouse"}, - crafting_speed = 1, - energy_source = { - type = "electric", - usage_priority = "primary-input", - drain = "15kW", - emissions_per_minute = { pollution = -6 }, -- the "-" means it Absorbs pollution. - }, - energy_usage = "50kW", - ingredient_count = 3, - resistances = { - { - type = "fire", - percent = 70 - } - }, - fluid_boxes = { - { - production_type = "input", - pipe_picture = assembler3pipepictures(), - pipe_covers = pipecoverspictures(), - volume = 1000, - base_level = -1, - pipe_connections = {{ flow_direction = "input", direction = defines.direction.north, position = {0, -1} }} - }, - }, - module_specification = { - module_slots = 2 - }, - allowed_effects = {"consumption", "speed", "productivity", "pollution"}, - animation = { - filename = ENTITYPATH .. "bio_greenhouse_off.png", - width = 113, - height = 93, - frame_count = 1, - scale = 1, - shift = {0.3, 0} - }, - working_visualisations = { - { - light = {intensity = 1, size = 6}, - animation = { - filename = ENTITYPATH .. "bio_greenhouse_on.png", - width = 113, - height = 93, - frame_count = 1, - scale = 1, - shift = {0.3, 0} - } - } - }, - open_sound = { filename = "__base__/sound/machine-open.ogg", volume = 0.85 }, - close_sound = { filename = "__base__/sound/machine-close.ogg", volume = 0.75 } - }, - - -- COKERY - { - type = "assembling-machine", - name = "bi-cokery", - icon = ICONPATH .. "cokery.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "cokery.png", - icon_size = 64, - } - }, - -- This is necessary for "Space Exploration" (if not true, the entity can only be - -- placed on Nauvis)! - se_allow_in_space = true, - flags = {"placeable-neutral", "placeable-player", "player-creation"}, - order = "a[cokery]", - minable = {hardness = 0.2, mining_time = 0.5, result = "bi-cokery"}, - max_health = 200, - corpse = "medium-remnants", - resistances = {{type = "fire", percent = 95}}, - collision_box = {{-1.2, -1.2}, {1.2, 1.2}}, - selection_box = {{-1.5, -1.5}, {1.5, 1.5}}, - module_specification = { - module_slots = 2 - }, - allowed_effects = {"consumption", "speed", "pollution"}, - animation = { - filename = "__Bio_Industries_2__/graphics/entities/cokery/cokery_sheet.png", - frame_count = 28, - line_length = 7, - width = 256, - height = 256, - scale = 0.5, - shift = {0.5, -0.5}, - animation_speed = 0.1 - }, - crafting_categories = {"biofarm-mod-smelting"}, - energy_source = { - type = "electric", - input_priority = "secondary", - usage_priority = "secondary-input", - emissions_per_minute = { pollution = 2.5 }, - }, - energy_usage = "180kW", - crafting_speed = 2, - ingredient_count = 1 - }, - - -- STONECRUSHER - { - type = "furnace", - name = "bi-stone-crusher", - icon = ICONPATH .. "stone_crusher.png", - icon_size = 64, - -- This is necessary for "Space Exploration" (if not true, the entity can only be - -- placed on Nauvis)! - se_allow_in_space = true, - flags = {"placeable-neutral", "player-creation"}, - minable = {hardness = 0.2, mining_time = 0.5, result = "bi-stone-crusher"}, - max_health = 100, - corpse = "medium-remnants", - module_slots = 1, - resistances = {{type = "fire", percent = 70}}, - working_sound = { - sound = { - filename = "__base__/sound/assembling-machine-t1-1.ogg", - volume = 0.7 - }, - apparent_volume = 1.5 - }, - collision_box = {{-0.8, -0.8}, {0.8, 0.8}}, - selection_box = {{-1.0, -1.0}, {1.0, 1.0}}, - animation = { - filename = "__Bio_Industries_2__/graphics/entities/stone-crusher/stone_crusher_anim.png", - priority = "high", - width = 65, - height = 78, - frame_count = 11, - animation_speed = 0.5, - shift = {0.0, -0.1} - }, - working_visualisations = { - filename = "__Bio_Industries_2__/graphics/entities/stone-crusher/stone-crusher-anim.png", - priority = "high", - width = 65, - height = 78, - frame_count = 11, - animation_speed = 0.18 / 2.5, - shift = {0.0, -0.1} - }, - crafting_categories = {"biofarm-mod-crushing"}, - result_inventory_size = 1, - source_inventory_size = 1, - crafting_speed = 1, - energy_source = { - type = "electric", - usage_priority = "secondary-input", - emissions_per_minute = { pollution = 0.25 }, - }, - energy_usage = "50kW", - module_specification = { - module_slots = 2 - }, - allowed_effects = {"consumption", "speed", "pollution"}, - }, - - --- Seed Bomb Projectile - 1 - { - type = "projectile", - name = "seed-bomb-projectile-1", - flags = {"not-on-map"}, - acceleration = 0.005, - action = { - type = "direct", - action_delivery = { - type = "instant", - target_effects = { - { - type = "nested-result", - action = { - type = "area", - target_entities = false, - repeat_count = 600, - radius = 24, - action_delivery = { - type = "projectile", - projectile = "seed-bomb-wave-1", - starting_speed = 0.5 - } - } - } - } - } - }, - light = {intensity = 0.8, size = 15}, - animation = { - filename = "__Bio_Industries_2__/graphics/entities/rocket.png", - frame_count = 8, - line_length = 8, - width = 9, - height = 35, - shift = {0, 0}, - priority = "high" - }, - shadow = { - filename = "__Bio_Industries_2__/graphics/entities/rocket-shadow.png", - frame_count = 1, - width = 7, - height = 24, - priority = "high", - shift = {0, 0} - }, - smoke = { - { - name = "smoke-fast", - deviation = {0.15, 0.15}, - frequency = 1, - position = {0, -1}, - slow_down_factor = 1, - starting_frame = 3, - starting_frame_deviation = 5, - starting_frame_speed = 0, - starting_frame_speed_deviation = 5 - } - } - }, - - --- Seed Bomb Projectile - 2 - { - type = "projectile", - name = "seed-bomb-projectile-2", - flags = {"not-on-map"}, - acceleration = 0.005, - action = { - type = "direct", - action_delivery = { - type = "instant", - target_effects = { - { - type = "nested-result", - action = { - type = "area", - target_entities = false, - repeat_count = 800, - radius = 27, - action_delivery = { - type = "projectile", - projectile = "seed-bomb-wave-2", - starting_speed = 0.5 - } - } - } - } - } - }, - light = {intensity = 0.8, size = 15}, - animation = { - filename = "__Bio_Industries_2__/graphics/entities/rocket.png", - frame_count = 8, - line_length = 8, - width = 9, - height = 35, - shift = {0, 0}, - priority = "high" - }, - shadow = { - filename = "__Bio_Industries_2__/graphics/entities/rocket-shadow.png", - frame_count = 1, - width = 7, - height = 24, - priority = "high", - shift = {0, 0} - }, - smoke = { - { - name = "smoke-fast", - deviation = {0.15, 0.15}, - frequency = 1, - position = {0, -1}, - slow_down_factor = 1, - starting_frame = 3, - starting_frame_deviation = 5, - starting_frame_speed = 0, - starting_frame_speed_deviation = 5 - } - } - }, - - --- Seed Bomb Projectile - 3 - { - type = "projectile", - name = "seed-bomb-projectile-3", - flags = {"not-on-map"}, - acceleration = 0.005, - action = { - type = "direct", - action_delivery = { - type = "instant", - target_effects = { - { - type = "nested-result", - action = { - type = "area", - target_entities = false, - repeat_count = 1000, - radius = 30, - action_delivery = { - type = "projectile", - projectile = "seed-bomb-wave-3", - starting_speed = 0.5 - } - } - } - } - } - }, - light = {intensity = 0.8, size = 15}, - animation = { - filename = "__Bio_Industries_2__/graphics/entities/rocket.png", - frame_count = 8, - line_length = 8, - width = 9, - height = 35, - shift = {0, 0}, - priority = "high" - }, - shadow = { - filename = "__Bio_Industries_2__/graphics/entities/rocket-shadow.png", - frame_count = 1, - width = 7, - height = 24, - priority = "high", - shift = {0, 0} - }, - smoke = { - { - name = "smoke-fast", - deviation = {0.15, 0.15}, - frequency = 1, - position = {0, -1}, - slow_down_factor = 1, - starting_frame = 3, - starting_frame_deviation = 5, - starting_frame_speed = 0, - starting_frame_speed_deviation = 5 - } - } - }, - - --- Seed Bomb Wave - 1 - { - type = "projectile", - name = "seed-bomb-wave-1", - flags = {"not-on-map"}, - acceleration = 0, - action = { - { - type = "direct", - action_delivery = { - type = "instant", - target_effects = { - { - type = "create-entity", - entity_name = "seedling", - check_buildability = true, - trigger_created_entity = true, - } - } - } - }, - }, - animation = { - filename = "__core__/graphics/empty.png", - frame_count = 1, - width = 1, - height = 1, - priority = "high" - }, - shadow = { - filename = "__core__/graphics/empty.png", - frame_count = 1, - width = 1, - height = 1, - priority = "high" - } - }, - - --- Seed Bomb Wave - 2 - { - type = "projectile", - name = "seed-bomb-wave-2", - flags = {"not-on-map"}, - acceleration = 0, - action = { - { - type = "direct", - action_delivery = { - type = "instant", - target_effects = { - { - type = "create-entity", - entity_name = "seedling-2", - check_buildability = true, - trigger_created_entity = true, - } - } - } - }, - }, - animation = { - filename = "__core__/graphics/empty.png", - frame_count = 1, - width = 1, - height = 1, - priority = "high" - }, - shadow = { - filename = "__core__/graphics/empty.png", - frame_count = 1, - width = 1, - height = 1, - priority = "high" - } - }, - - --- Seed Bomb Wave - 3 - { - type = "projectile", - name = "seed-bomb-wave-3", - flags = {"not-on-map"}, - acceleration = 0, - action = { - { - type = "direct", - action_delivery = { - type = "instant", - target_effects = { - { - type = "create-entity", - entity_name = "seedling-3", - check_buildability = true, - trigger_created_entity = true, - }, - } - } - }, - }, - animation = { - filename = "__core__/graphics/empty.png", - frame_count = 1, - width = 1, - height = 1, - priority = "high" - }, - shadow = { - filename = "__core__/graphics/empty.png", - frame_count = 1, - width = 1, - height = 1, - priority = "high" - } - }, - - ---- Arboretum Area Overlay - { - type = "ammo-turret", - name = "bi-arboretum-area", - localised_name = {"entity-name.bi-arboretum"}, - localised_description = {"entity-description.bi-arboretum"}, - icon = ICONPATH .. "Arboretum_Icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "Arboretum_Icon.png", - icon_size = 64, - } - }, - flags = {"not-deconstructable", "not-on-map", "placeable-off-grid", "not-repairable"}, - open_sound = { filename = "__base__/sound/machine-open.ogg", volume = 0.85 }, - close_sound = { filename = "__base__/sound/machine-close.ogg", volume = 0.75 }, - max_health = 250, - corpse = "big-remnants", - dying_explosion = "medium-explosion", - collision_box = {{-4.5, -4.5}, {4.5, 4.5}}, - selection_box = {{-4.5, -4.5}, {4.5, 4.5}}, - order = "x[bi]-a[bi-arboretum]", - automated_ammo_count = 1, - resistances = {}, - inventory_size = 1, - attack_parameters = { - type = "projectile", - ammo_category = "bullet", - cooldown = 2, - range = 75, - projectile_creation_distance = 0.1, - action ={} - }, - folding_speed = 0.08, - folded_animation = (function() - local res = util.table.deepcopy(inv_extension2) - res.frame_count = 1 - res.line_length = 1 - return res - end)(), - - folding_animation = (function() - local res = util.table.deepcopy(inv_extension2) - res.run_mode = "backward" - return res - end)(), - - call_for_help_radius = 1, - graphics_set = {} - }, - - - --- Assembling-Machine Arboretum - { - type = "assembling-machine", - name = "bi-arboretum", - icon = ICONPATH .. "Arboretum_Icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "Arboretum_Icon.png", - icon_size = 64, - } - }, - flags = {"placeable-neutral", "placeable-player", "player-creation"}, - placeable_by = {item ="bi-arboretum-area", count = 1}, -- Fixes that entity couldn't be blueprinted - minable = {hardness = 0.2, mining_time = 0.5, result = "bi-arboretum-area"}, - max_health = 250, - corpse = "big-remnants", - dying_explosion = "medium-explosion", - resistances = {{type = "fire", percent = 70}}, - fluid_boxes = { - { - production_type = "input", - pipe_picture = assembler3pipepictures(), - pipe_covers = pipecoverspictures(), - volume = 1000, - base_level = -1, - pipe_connections = {{ flow_direction = "input", direction = defines.direction.north, position = {-1, -4} }} - }, - { - production_type = "input", - pipe_picture = assembler3pipepictures(), - pipe_covers = pipecoverspictures(), - volume = 1000, - base_level = -1, - pipe_connections = {{ flow_direction = "input", direction = defines.direction.north, position = {1, -4} }} - }, - }, - fluid_boxes_off_when_no_fluid_recipe = true, - collision_box = {{-4.2, -4.2}, {4.2, 4.2}}, - selection_box = {{-4.5, -4.5}, {4.5, 4.5}}, - order = "x[bi]-a[bi-arboretum]", - animation = { - filename = ENTITYPATH .. "Bio_Farm_Idle_alt.png", - priority = "low", - width = 320, - height = 320, - frame_count = 1, - shift = {0.75, 0}, - }, - - working_visualisations = { - animation = { - filename = ENTITYPATH .. "Bio_Farm_Working_alt.png", - priority = "low", - width = 320, - height = 320, - frame_count = 1, - shift = {0.75, 0}, - }, - }, - crafting_categories = {"bi-arboretum"}, - crafting_speed = 0.000000000001, - energy_source = { - type = "electric", - usage_priority = "primary-input", - emissions_per_minute = { pollution = -8 }, -- the "-" means it Absorbs pollution. - }, - energy_usage = "150kW", - ingredient_count = 3, - open_sound = { filename = "__base__/sound/machine-open.ogg", volume = 0.85 }, - close_sound = { filename = "__base__/sound/machine-close.ogg", volume = 0.75 }, - module_specification = {}, - }, -}) - - ---[[ -local my_seedling = util.table.deepcopy(data.raw.tree["tree-01"]) -my_seedling.name = "seedling" -my_seedling.vehicle_impact_sound = impact_category = "wood" -my_seedling.flags = {"placeable-neutral", "placeable-player", "playeminabler-creation", "breaths-air"} -my_seedling.minable = {mining_particle = "wooden-particle", mining_time = 0.25, result = "seedling", count = 1} -my_seedling.corpse = nil -my_seedling.remains_when_mined = nil -my_seedling.max_health = 5 -my_seedling.collision_box = {{-0.1, -0.1}, {0.1, 0.1}} -my_seedling.selection_box = {{-0.5, -0.5}, {0.5, 0.5}} -my_seedling.emissions_per_second = { pollution = -0.0006 } - -data:extend({my_seedling}) -]] +local BioInd = require('common')('Bio_Industries_2') +local ICONPATH = BioInd.modRoot .. "/graphics/icons/" +local ICONPATH_E = BioInd.modRoot .. "/graphics/icons/entity/" +local ENTITYPATH_BIO = BioInd.modRoot .. "/graphics/entities/" +local REMNANTSPATH = BioInd.modRoot .. "/graphics/entities/remnants/" + + +require("util") + + +-- Pipes +------------------------------------------------------------------------------------ +-- Bio farm -- +------------------------------------------------------------------------------------ + +function biofarmpipepictures() + return + { + north = { + filename = "__core__/graphics/empty.png", + priority = "low", + width = 1, + height = 1, + }, + east = + { + filename = ENTITYPATH_BIO .. "bio_farm/biofarm_pipes/bio_farm-pipe-E.png", + priority = "extra-high", + width = 42, + height = 76, + shift = util.by_pixel(-24.5, 1), + scale = 0.5 + + }, + south = + { + filename = ENTITYPATH_BIO .. "bio_farm/biofarm_pipes/bio_farm-pipe-S.png", + priority = "extra-high", + width = 88, + height = 61, + shift = util.by_pixel(0, -31.25), + scale = 0.5 + + }, + west = + { + filename = ENTITYPATH_BIO .. "bio_farm/biofarm_pipes/bio_farm-pipe-W.png", + priority = "extra-high", + width = 39, + height = 73, + shift = util.by_pixel(25.75, 1.25), + scale = 0.5 + + } + } +end + +------------------------------------------------------------------------------------ +-- Bio Greenhouse -- +------------------------------------------------------------------------------------ + +function biogreenhousepipepictures() + return + { + north = { + filename = ENTITYPATH_BIO .. "bio_greenhouse/biogreenhouse_pipes/assembling-machine-3-pipe-N-exp.png", + priority = "extra-high", + width = 171, + height = 152, + shift = util.by_pixel(2.25, 13.5), + scale = 0.5 + }, + east = + { + filename = ENTITYPATH_BIO .. "bio_greenhouse/biogreenhouse_pipes/assembling-machine-3-pipe-E.png", + priority = "extra-high", + width = 42, + height = 76, + shift = util.by_pixel(-24.5, 1), + scale = 0.5 + + }, + south = + { + filename = ENTITYPATH_BIO .. "bio_greenhouse/biogreenhouse_pipes/assembling-machine-3-pipe-S.png", + priority = "extra-high", + width = 88, + height = 61, + shift = util.by_pixel(0, -31.25), + scale = 0.5 + + }, + west = + { + filename = ENTITYPATH_BIO .. "bio_greenhouse/biogreenhouse_pipes/assembling-machine-3-pipe-W.png", + priority = "extra-high", + width = 39, + height = 73, + shift = util.by_pixel(25.75, 1.25), + scale = 0.5 + + } + } +end + + + +inv_extension2 = { + filename = ENTITYPATH_BIO .. "bio_terraformer/arboretum.png", + priority = "high", + width = 640, + height = 640, + frame_count = 1, + scale = 0.5, + shift = { 0, 0 } +} + + +data:extend({ + ------- Seedling + { + type = "simple-entity-with-force", + name = "seedling", + localised_name = { "entity-name.seedling" }, + localised_description = { "entity-description.seedling" }, + icon = ICONPATH .. "Seedling.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "Seedling.png", + icon_size = 64, + } + }, + order = "x[bi]-a[bi-seedling]", + flags = { "placeable-neutral", "placeable-player", "player-creation", "breaths-air" }, + create_ghost_on_death = false, + minable = { + mining_particle = "wooden-particle", + mining_time = 0.25, + results = { { type = "item", name = "seedling", amount = 1 } }, + count = 1 + }, + corpse = nil, + remains_when_mined = nil, + emissions_per_second = { pollution = -0.0006 }, + max_health = 5, + + collision_box = { { -0.1, -0.1 }, { 0.1, 0.1 } }, + selection_box = { { -0.5, -0.5 }, { 0.5, 0.5 } }, + subgroup = "trees", + impact_category = "wood", + picture = { + filename = ICONPATH .. "Seedling_b.png", + priority = "extra-high", + width = 64, + height = 64, + scale = 0.3 + }, + }, + + ------- Seedling - Dummy for Seed Bomb + { + type = "simple-entity-with-force", + name = "seedling-2", + localised_name = { "entity-name.seedling" }, + localised_description = { "entity-description.seedling" }, + icon = ICONPATH .. "Seedling.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "Seedling.png", + icon_size = 64, + } + }, + order = "x[bi]-a[bi-seedling]", + flags = { "placeable-neutral", "placeable-player", "player-creation", "breaths-air" }, + create_ghost_on_death = false, + minable = { + mining_particle = "wooden-particle", + mining_time = 0.25, + results = { { type = "item", name = "seedling", amount = 1 } }, + count = 1 + }, + corpse = nil, + remains_when_mined = nil, + emissions_per_second = { pollution = -0.0006 }, + max_health = 5, + + collision_box = { { -0.1, -0.1 }, { 0.1, 0.1 } }, + selection_box = { { -0.5, -0.5 }, { 0.5, 0.5 } }, + subgroup = "trees", + impact_category = "wood", + picture = { + filename = ICONPATH .. "Seedling_b.png", + priority = "extra-high", + width = 64, + height = 64, + scale = 0.3 + }, + }, + + { + type = "simple-entity-with-force", + name = "seedling-3", + localised_name = { "entity-name.seedling" }, + localised_description = { "entity-description.seedling" }, + icon = ICONPATH .. "Seedling.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "Seedling.png", + icon_size = 64, + } + }, + order = "x[bi]-a[bi-seedling]", + flags = { "placeable-neutral", "placeable-player", "player-creation", "breaths-air" }, + create_ghost_on_death = false, + minable = { + mining_particle = "wooden-particle", + mining_time = 0.25, + results = { { type = "item", name = "seedling", amount = 1 } }, + count = 1 + }, + corpse = nil, + remains_when_mined = nil, + emissions_per_second = { pollution = -0.0006 }, + max_health = 5, + + collision_box = { { -0.1, -0.1 }, { 0.1, 0.1 } }, + selection_box = { { -0.5, -0.5 }, { 0.5, 0.5 } }, + subgroup = "trees", + impact_category = "wood", + picture = { + filename = ICONPATH .. "Seedling_b.png", + priority = "extra-high", + width = 64, + height = 64, + scale = 0.3 + }, + }, + + ------- Bio Farm + { + type = "assembling-machine", + name = "bi-bio-farm", + icons = {{ icon = ICONPATH_E .. "bio_Farm_Icon.png", icon_size = 64, }}, + flags = { "placeable-neutral", "placeable-player", "player-creation" }, + minable = { hardness = 0.2, mining_time = 0.5, result = "bi-bio-farm" }, + max_health = 350, + corpse = "bi-bio-farm-remnant", + dying_explosion = "medium-explosion", + resistances = { { type = "fire", percent = 70 } }, + fluid_boxes = { + { + production_type = "input", + pipe_picture = biofarmpipepictures(), + pipe_covers = pipecoverspictures(), + volume = 1000, + base_level = -1, + pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { -1, -4 } } } + }, + { + production_type = "input", + pipe_picture = biofarmpipepictures(), + pipe_covers = pipecoverspictures(), + volume = 1000, + base_level = -1, + pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 1, -4 } } } + }, + }, + fluid_boxes_off_when_no_fluid_recipe = true, + collision_box = { { -4.2, -4.2 }, { 4.2, 4.2 } }, + selection_box = { { -4.5, -4.5 }, { 4.5, 4.5 } }, + graphics_set = { + animation = { + layers = { + { + filename = ENTITYPATH_BIO .. "bio_farm/bio_farm.png", + priority = "high", + width = 608, + height = 800, + frame_count = 1, + scale = 0.5, + shift = { 0, -2.0 } + }, + { + filename = ENTITYPATH_BIO .. "bio_farm/bio_farm_shadow.png", + priority = "high", + width = 800, + height = 800, + frame_count = 1, + scale = 0.5, + draw_as_shadow = true, + shift = { 1, -2.0 } + } + } + }, + working_visualisations = { + { + light = { intensity = 1.4, size = 10 }, + effect = "flicker", + apply_recipe_tint = "primary", + constant_speed = true, + fadeout = true, + animation = { + filename = ENTITYPATH_BIO .. "bio_farm/bio_farm_light.png", + priority = "high", + width = 800, + height = 800, + scale = 0.5, + frame_count = 1, + shift = { 1, -2 }, + draw_as_light = true + } + } + } + }, + crafting_categories = { "biofarm-mod-farm" }, + crafting_speed = 1, + energy_source = { + type = "electric", + usage_priority = "primary-input", + drain = "50kW", + emissions_per_minute = { pollution = -9 }, -- the "-" means it Absorbs pollution. + }, + energy_usage = "100kW", + ingredient_count = 3, + open_sound = { filename = "__base__/sound/machine-open.ogg", volume = 0.85 }, + close_sound = { filename = "__base__/sound/machine-close.ogg", volume = 0.75 }, + module_specification = { + module_slots = 3 + }, + allowed_effects = { "consumption", "speed", "productivity", "pollution" }, + }, + + --- Corpse + { + + type = "corpse", + name = "bi-bio-farm-remnant", + localised_name = {"entity-name.bi-bio-farm-remnant"}, + icon = "__base__/graphics/icons/remnants.png", + icon_size = 64, + icon_mipmaps = 4, + BI_add_icon = true, + flags = {"placeable-neutral", "building-direction-8-way", "not-on-map"}, + subgroup = "remnants", + order = "z-z-z", + selection_box = {{-4.5, -4.5}, {4.5, 4.5}}, + tile_width = 9, + tile_height = 9, + selectable_in_game = false, + time_before_removed = 60 * 60 * 15, -- 15 minutes + final_render_layer = "remnants", + remove_on_tile_placement = false, + animation = + { + { + filename = REMNANTSPATH .. "bio_farm_remnant.png", + line_length = 1, + width = 728, + height = 800, + frame_count = 1, + direction_count = 1, + shift = {0, -1.5}, + scale = 0.5 + } + } + }, + +}) + + + +data:extend({ + + ------ Greenhouse / Nursary + { + type = "assembling-machine", + name = "bi-bio-greenhouse", + icons = { { icon = ICONPATH_E .. "bio_greenhouse.png", icon_size = 64, } }, + flags = { "placeable-neutral", "placeable-player", "player-creation" }, + minable = { hardness = 0.2, mining_time = 0.25, result = "bi-bio-greenhouse" }, + collision_box = { { -1.2, -1.2 }, { 1.2, 1.2 } }, + selection_box = { { -1.5, -1.5 }, { 1.5, 1.5 } }, + max_health = 250, + corpse = "bi-bio-greenhouse-remnant", + dying_explosion = "medium-explosion", + crafting_categories = { "biofarm-mod-greenhouse" }, + crafting_speed = 1, + energy_source = { + type = "electric", + usage_priority = "primary-input", + drain = "15kW", + emissions_per_minute = { pollution = -6 }, -- the "-" means it Absorbs pollution. + }, + energy_usage = "50kW", + ingredient_count = 3, + resistances = { + { + type = "fire", + percent = 70 + } + }, + fluid_boxes = { + { + production_type = "input", + pipe_picture = biogreenhousepipepictures(), + pipe_covers = pipecoverspictures(), + volume = 1000, + base_level = -1, + pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 0, -1 } } } + }, + }, + module_specification = {module_slots = 2}, + allowed_effects = { "consumption", "speed", "productivity", "pollution" }, + graphics_set = { + animation = { + layers = { + { + filename = ENTITYPATH_BIO .. "bio_greenhouse/bio_greenhouse.png", + width = 192, + height = 256, + frame_count = 1, + scale = 0.5, + shift = { 0, -0.5 } + }, + { + filename = ENTITYPATH_BIO .. "bio_greenhouse/bio_greenhouse_shadow.png", + width = 256, + height = 128, + frame_count = 1, + scale = 0.5, + draw_as_shadow = true, + shift = { 1, -0.5 } + } + } + }, + working_visualisations = { + { + light = { intensity = 1, size = 6 }, + draw_as_light = true, + effect = "flicker", + apply_recipe_tint = "primary", + animation = { + filename = ENTITYPATH_BIO .. "bio_greenhouse/bio_greenhouse_light_anim.png", + width = 192, + height = 256, + frame_count = 10, + scale = 0.5, + animation_speed = 0.1, + shift = { 0, -0.5 }, + } + } + } + }, + open_sound = { filename = "__base__/sound/machine-open.ogg", volume = 0.85 }, + close_sound = { filename = "__base__/sound/machine-close.ogg", volume = 0.75 } + }, + + -- corpse +{ + type = "corpse", + name = "bi-bio-greenhouse-remnant", + localised_name = {"entity-name.bi-bio-greenhouse-remnant"}, + icon = "__base__/graphics/icons/remnants.png", + icon_size = 64, + icon_mipmaps = 4, + BI_add_icon = true, + flags = {"placeable-neutral", "building-direction-8-way", "not-on-map"}, + subgroup = "remnants", + order = "z-z-z", + selection_box = {{-1.5, -1.5}, {1.5, 1.5}}, + tile_width = 3, + tile_height = 3, + selectable_in_game = false, + time_before_removed = 60 * 60 * 15, -- 15 minutes + final_render_layer = "remnants", + remove_on_tile_placement = false, + animation = + { + { + filename = REMNANTSPATH .. "bio_greenhouse_remnant.png", + line_length = 1, + width = 384, + height = 384, + frame_count = 1, + direction_count = 1, + shift = {0, -0.5}, + scale = 0.5 + } + } +}, + + -- COKERY + { + type = "assembling-machine", + name = "bi-cokery", + icons = { { icon = ICONPATH_E .. "cokery.png", icon_size = 64, } }, + -- This is necessary for "Space Exploration" (if not true, the entity can only be + -- placed on Nauvis)! + se_allow_in_space = true, + flags = { "placeable-neutral", "placeable-player", "player-creation" }, + order = "a[cokery]", + minable = { hardness = 0.2, mining_time = 0.5, result = "bi-cokery" }, + max_health = 200, + corpse = "bi-cokery-remnant", + resistances = { { type = "fire", percent = 95 } }, + collision_box = { { -1.2, -1.2 }, { 1.2, 1.2 } }, + selection_box = { { -1.5, -1.5 }, { 1.5, 1.5 } }, + module_specification = { module_slots = 2 }, + allowed_effects = { "consumption", "speed", "pollution" }, + graphics_set = { + -- Working animation (16 frames) + animation = { + layers = { + { + filename = ENTITYPATH_BIO .. "bio_cokery/cokery_anim.png", + priority = "high", + width = 256, + height = 256, + frame_count = 16, + line_length = 8, + animation_speed = 0.1, + shift = { 0.5, -0.5 }, + scale = 0.5 + }, + { + filename = ENTITYPATH_BIO .. "bio_cokery/cokery_shadow.png", + width = 334, + height = 126, + frame_count = 1, + repeat_count = 16, -- match working animation + draw_as_shadow = true, + shift = { 1.5, -0.5 }, + scale = 0.5 + } + } + } + }, + crafting_categories = { "biofarm-mod-smelting" }, + energy_source = { + type = "electric", + input_priority = "secondary", + usage_priority = "secondary-input", + emissions_per_minute = { pollution = 2.5 }, + }, + energy_usage = "180kW", + crafting_speed = 2, + ingredient_count = 1 + }, + + --- corpse + + { + type = "corpse", + name = "bi-cokery-remnant", + localised_name = {"entity-name.bi-cokery-remnant"}, + icon = "__base__/graphics/icons/remnants.png", + icon_size = 64, + icon_mipmaps = 4, + BI_add_icon = true, + flags = {"placeable-neutral", "building-direction-8-way", "not-on-map"}, + subgroup = "remnants", + order = "z-z-z", + selection_box = {{-1.5, -1.5}, {1.5, 1.5}}, + tile_width = 3, + tile_height = 3, + selectable_in_game = false, + time_before_removed = 60 * 60 * 15, -- 15 minutes + final_render_layer = "remnants", + remove_on_tile_placement = false, + animation = + { + { + filename = REMNANTSPATH .. "cokery_remnant.png", + line_length = 1, + width = 256, + height = 256, + frame_count = 1, + direction_count = 1, + shift = {0.5, -0.5}, + scale = 0.5 + } + } + }, + + -- STONECRUSHER + { + type = "furnace", + name = "bi-stone-crusher", + icon = ICONPATH_E .. "stone_crusher.png", + icon_size = 64, + -- This is necessary for "Space Exploration" (if not true, the entity can only be + -- placed on Nauvis)! + se_allow_in_space = true, + flags = { "placeable-neutral", "player-creation" }, + minable = { hardness = 0.2, mining_time = 0.5, result = "bi-stone-crusher" }, + max_health = 100, + corpse = "bi-stone-crusher-remnant", + module_slots = 1, + resistances = { { type = "fire", percent = 70 } }, + working_sound = { + sound = { + filename = "__base__/sound/assembling-machine-t1-1.ogg", + volume = 0.7 + }, + apparent_volume = 1.5 + }, + collision_box = { { -0.8, -0.8 }, { 0.8, 0.8 } }, + selection_box = { { -1.0, -1.0 }, { 1.0, 1.0 } }, + graphics_set = { + animation = { + filename = ENTITYPATH_BIO .. "bio_stone_crusher/stone_crusher_off.png", + priority = "high", + width = 130, + height = 156, + frame_count = 1, + scale = 0.5, + shift = { 0.0, -0.1 } + }, + working_visualisations = { + { + animation = { + filename = ENTITYPATH_BIO .. "bio_stone_crusher/stone_crusher_anim.png", + priority = "high", + width = 130, + height = 156, + frame_count = 20, + line_length = 10, + animation_speed = 0.2, + scale = 0.5, + shift = { 0.0, -0.1 } + } + } + }, + }, + crafting_categories = { "biofarm-mod-crushing" }, + result_inventory_size = 1, + source_inventory_size = 1, + crafting_speed = 1, + energy_source = { + type = "electric", + usage_priority = "secondary-input", + emissions_per_minute = { pollution = 0.25 }, + }, + energy_usage = "50kW", + module_specification = { + module_slots = 2 + }, + allowed_effects = { "consumption", "speed", "pollution" }, + }, + +--- corpse + { + type = "corpse", + name = "bi-stone-crusher-remnant", + localised_name = {"entity-name.bi-stone-crusher-remnant"}, + icon = "__base__/graphics/icons/remnants.png", + icon_size = 64, + icon_mipmaps = 4, + BI_add_icon = true, + flags = {"placeable-neutral", "building-direction-8-way", "not-on-map"}, + subgroup = "remnants", + order = "z-z-z", + selection_box = {{-1, -1}, {1, 1}}, + tile_width = 2, + tile_height = 2, + selectable_in_game = false, + time_before_removed = 60 * 60 * 15, -- 15 minutes + final_render_layer = "remnants", + remove_on_tile_placement = false, + animation = + { + { + filename = REMNANTSPATH .. "stone_crusher_remnant.png", + line_length = 1, + width = 130, + height = 156, + frame_count = 1, + direction_count = 1, + shift = {0, -0.2}, + scale = 0.5 + } + } + }, + + + --- Seed Bomb Projectile - 1 + { + type = "projectile", + name = "seed-bomb-projectile-1", + flags = { "not-on-map" }, + acceleration = 0.005, + action = { + type = "direct", + action_delivery = { + type = "instant", + target_effects = { + { + type = "nested-result", + action = { + type = "area", + target_entities = false, + repeat_count = 600, + radius = 24, + action_delivery = { + type = "projectile", + projectile = "seed-bomb-wave-1", + starting_speed = 0.5 + } + } + } + } + } + }, + light = { intensity = 0.8, size = 15 }, + animation = { + filename = "__Bio_Industries_2__/graphics/entities/rocket.png", + frame_count = 8, + line_length = 8, + width = 9, + height = 35, + shift = { 0, 0 }, + priority = "high" + }, + shadow = { + filename = "__Bio_Industries_2__/graphics/entities/rocket-shadow.png", + frame_count = 1, + width = 7, + height = 24, + priority = "high", + shift = { 0, 0 } + }, + smoke = { + { + name = "smoke-fast", + deviation = { 0.15, 0.15 }, + frequency = 1, + position = { 0, -1 }, + slow_down_factor = 1, + starting_frame = 3, + starting_frame_deviation = 5, + starting_frame_speed = 0, + starting_frame_speed_deviation = 5 + } + } + }, + + --- Seed Bomb Projectile - 2 + { + type = "projectile", + name = "seed-bomb-projectile-2", + flags = { "not-on-map" }, + acceleration = 0.005, + action = { + type = "direct", + action_delivery = { + type = "instant", + target_effects = { + { + type = "nested-result", + action = { + type = "area", + target_entities = false, + repeat_count = 800, + radius = 27, + action_delivery = { + type = "projectile", + projectile = "seed-bomb-wave-2", + starting_speed = 0.5 + } + } + } + } + } + }, + light = { intensity = 0.8, size = 15 }, + animation = { + filename = "__Bio_Industries_2__/graphics/entities/rocket.png", + frame_count = 8, + line_length = 8, + width = 9, + height = 35, + shift = { 0, 0 }, + priority = "high" + }, + shadow = { + filename = "__Bio_Industries_2__/graphics/entities/rocket-shadow.png", + frame_count = 1, + width = 7, + height = 24, + priority = "high", + shift = { 0, 0 } + }, + smoke = { + { + name = "smoke-fast", + deviation = { 0.15, 0.15 }, + frequency = 1, + position = { 0, -1 }, + slow_down_factor = 1, + starting_frame = 3, + starting_frame_deviation = 5, + starting_frame_speed = 0, + starting_frame_speed_deviation = 5 + } + } + }, + + --- Seed Bomb Projectile - 3 + { + type = "projectile", + name = "seed-bomb-projectile-3", + flags = { "not-on-map" }, + acceleration = 0.005, + action = { + type = "direct", + action_delivery = { + type = "instant", + target_effects = { + { + type = "nested-result", + action = { + type = "area", + target_entities = false, + repeat_count = 1000, + radius = 30, + action_delivery = { + type = "projectile", + projectile = "seed-bomb-wave-3", + starting_speed = 0.5 + } + } + } + } + } + }, + light = { intensity = 0.8, size = 15 }, + animation = { + filename = "__Bio_Industries_2__/graphics/entities/rocket.png", + frame_count = 8, + line_length = 8, + width = 9, + height = 35, + shift = { 0, 0 }, + priority = "high" + }, + shadow = { + filename = "__Bio_Industries_2__/graphics/entities/rocket-shadow.png", + frame_count = 1, + width = 7, + height = 24, + priority = "high", + shift = { 0, 0 } + }, + smoke = { + { + name = "smoke-fast", + deviation = { 0.15, 0.15 }, + frequency = 1, + position = { 0, -1 }, + slow_down_factor = 1, + starting_frame = 3, + starting_frame_deviation = 5, + starting_frame_speed = 0, + starting_frame_speed_deviation = 5 + } + } + }, + + --- Seed Bomb Wave - 1 + { + type = "projectile", + name = "seed-bomb-wave-1", + flags = { "not-on-map" }, + acceleration = 0, + action = { + { + type = "direct", + action_delivery = { + type = "instant", + target_effects = { + { + type = "create-entity", + entity_name = "seedling", + check_buildability = true, + trigger_created_entity = true, + } + } + } + }, + }, + animation = { + filename = "__core__/graphics/empty.png", + frame_count = 1, + width = 1, + height = 1, + priority = "high" + }, + shadow = { + filename = "__core__/graphics/empty.png", + frame_count = 1, + width = 1, + height = 1, + priority = "high" + } + }, + + --- Seed Bomb Wave - 2 + { + type = "projectile", + name = "seed-bomb-wave-2", + flags = { "not-on-map" }, + acceleration = 0, + action = { + { + type = "direct", + action_delivery = { + type = "instant", + target_effects = { + { + type = "create-entity", + entity_name = "seedling-2", + check_buildability = true, + trigger_created_entity = true, + } + } + } + }, + }, + animation = { + filename = "__core__/graphics/empty.png", + frame_count = 1, + width = 1, + height = 1, + priority = "high" + }, + shadow = { + filename = "__core__/graphics/empty.png", + frame_count = 1, + width = 1, + height = 1, + priority = "high" + } + }, + + --- Seed Bomb Wave - 3 + { + type = "projectile", + name = "seed-bomb-wave-3", + flags = { "not-on-map" }, + acceleration = 0, + action = { + { + type = "direct", + action_delivery = { + type = "instant", + target_effects = { + { + type = "create-entity", + entity_name = "seedling-3", + check_buildability = true, + trigger_created_entity = true, + }, + } + } + }, + }, + animation = { + filename = "__core__/graphics/empty.png", + frame_count = 1, + width = 1, + height = 1, + priority = "high" + }, + shadow = { + filename = "__core__/graphics/empty.png", + frame_count = 1, + width = 1, + height = 1, + priority = "high" + } + }, + + ---- Arboretum Area Overlay + { + type = "ammo-turret", + name = "bi-arboretum-area", + localised_name = { "entity-name.bi-arboretum" }, + localised_description = { "entity-description.bi-arboretum" }, + icons = { { icon = ICONPATH_E .. "arboretum_Icon.png", icon_size = 64, }}, + flags = { "not-deconstructable", "not-on-map", "placeable-off-grid", "not-repairable" }, + open_sound = { filename = "__base__/sound/machine-open.ogg", volume = 0.85 }, + close_sound = { filename = "__base__/sound/machine-close.ogg", volume = 0.75 }, + max_health = 250, + corpse = "big-remnants", + dying_explosion = "medium-explosion", + collision_box = { { -4.5, -4.5 }, { 4.5, 4.5 } }, + selection_box = { { -4.5, -4.5 }, { 4.5, 4.5 } }, + order = "x[bi]-a[bi-arboretum]", + automated_ammo_count = 1, + resistances = {}, + inventory_size = 1, + attack_parameters = { + type = "projectile", + ammo_category = "bullet", + cooldown = 2, + range = 75, + projectile_creation_distance = 0.1, + action = {} + }, + folding_speed = 0.08, + folded_animation = (function() + local res = util.table.deepcopy(inv_extension2) + res.frame_count = 1 + res.line_length = 1 + return res + end)(), + + folding_animation = (function() + local res = util.table.deepcopy(inv_extension2) + res.run_mode = "backward" + return res + end)(), + + call_for_help_radius = 1, + graphics_set = {} + }, + + + --- Assembling-Machine Arboretum + { + type = "assembling-machine", + name = "bi-arboretum", + icons = { { icon = ICONPATH_E .. "arboretum_Icon.png", icon_size = 64, }}, + flags = { "placeable-neutral", "placeable-player", "player-creation" }, + placeable_by = { item = "bi-arboretum-area", count = 1 }, -- Fixes that entity couldn't be blueprinted + minable = { hardness = 0.2, mining_time = 0.5, result = "bi-arboretum-area" }, + max_health = 250, + corpse = "bi-arboretum-area-remnant", + dying_explosion = "medium-explosion", + resistances = { { type = "fire", percent = 70 } }, + fluid_boxes = { + { + production_type = "input", + --pipe_picture = assembler3pipepictures(), + pipe_covers = pipecoverspictures(), + volume = 1000, + base_level = -1, + pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { -1, -4 } } } + }, + { + production_type = "input", + --pipe_picture = assembler3pipepictures(), + pipe_covers = pipecoverspictures(), + volume = 1000, + base_level = -1, + pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 1, -4 } } } + }, + }, + fluid_boxes_off_when_no_fluid_recipe = true, + collision_box = { { -4.2, -4.2 }, { 4.2, 4.2 } }, + selection_box = { { -4.5, -4.5 }, { 4.5, 4.5 } }, + order = "x[bi]-a[bi-arboretum]", + graphics_set = { + animation = { + layers = { + { + filename = ENTITYPATH_BIO .. "bio_terraformer/arboretum.png", + width = 640, + height = 640, + frame_count = 1, + scale = 0.5, + shift = { 0, 0 } + }, + { + filename = ENTITYPATH_BIO .. "bio_terraformer/arboretum_shadow.png", + width = 560, + height = 640, + frame_count = 1, + scale = 0.5, + draw_as_shadow = true, + shift = { 1.5, 0 } + } + } + }, + working_visualisations = { + { + light = { intensity = 1, size = 8 }, + animation = { + filename = ENTITYPATH_BIO .. "bio_terraformer/arboretum_light.png", + width = 560, + height = 640, + frame_count = 1, + scale = 0.5, + sshift = { 0.75, 1 } + } + } + } + }, + crafting_categories = { "bi-arboretum" }, + crafting_speed = 0.000000000001, + energy_source = { + type = "electric", + usage_priority = "primary-input", + emissions_per_minute = { pollution = -8 }, -- the "-" means it Absorbs pollution. + }, + energy_usage = "150kW", + ingredient_count = 3, + open_sound = { filename = "__base__/sound/machine-open.ogg", volume = 0.85 }, + close_sound = { filename = "__base__/sound/machine-close.ogg", volume = 0.75 }, + module_specification = {}, + }, + + --- Corpse + { + type = "corpse", + name = "bi-arboretum-area-remnant", + localised_name = {"entity-name.bi-arboretum-area-remnant"}, + icon = "__base__/graphics/icons/remnants.png", + icon_size = 64, + icon_mipmaps = 4, + BI_add_icon = true, + flags = {"placeable-neutral", "building-direction-8-way", "not-on-map"}, + subgroup = "remnants", + order = "z-z-z", + selection_box = {{-4.5, -4.5}, {4.5, 4.5}}, + tile_width = 9, + tile_height = 9, + selectable_in_game = false, + time_before_removed = 60 * 60 * 15, -- 15 minutes + final_render_layer = "remnants", + remove_on_tile_placement = false, + animation = + { + { + filename = REMNANTSPATH .. "arboretum_remnant.png", + line_length = 1, + width = 640, + height = 640, + frame_count = 1, + direction_count = 1, + shift = {0,0}, + scale = 0.5 + } + } + }, + +}) + diff --git a/Bio_Industries_2/prototypes/Bio_Farm/item.lua b/Bio_Industries_2/prototypes/Bio_Farm/item.lua index f5b6ad2..23f3026 100644 --- a/Bio_Industries_2/prototypes/Bio_Farm/item.lua +++ b/Bio_Industries_2/prototypes/Bio_Farm/item.lua @@ -1,534 +1,387 @@ -local BioInd = require('common')('Bio_Industries_2') - -local ICONPATH = BioInd.modRoot .. "/graphics/icons/" -local ICONPATHMIPS = BioInd.modRoot .. "/graphics/icons/mips/" - -data:extend( -{ - ---- Seed - { - type = "item", - name = "bi-seed", - icon = ICONPATH .. "bio_seed.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bio_seed.png", - icon_size = 64, - } - }, - icon_mipmaps = 4, - pictures = { - { size = 64, filename = ICONPATHMIPS.."bio_seed_1.png", scale = 0.25 }, - { size = 64, filename = ICONPATHMIPS.."bio_seed_2.png", scale = 0.25 }, - { size = 64, filename = ICONPATHMIPS.."bio_seed_3.png", scale = 0.25 }, - { size = 64, filename = ICONPATHMIPS.."bio_seed_4.png", scale = 0.25 } - }, - category = "biofarm-mod-greenhouse", - subgroup = "bio-bio-farm", - order = "x[bi]-a[bi-seed]", - fuel_value = "0.5MJ", - fuel_category = "chemical", - stack_size= 800 - }, - - ---- Seedling - { - type = "item", - name = "seedling", - localised_name = {"entity-name.seedling"}, - localised_description = {"entity-description.seedling"}, - icon = ICONPATH .. "Seedling.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "Seedling.png", - icon_size = 64, - } - }, - icon_mipmaps = 9, - pictures = { - { size = 64, filename = ICONPATHMIPS.."Seedling_1.png", scale = 0.25 }, - { size = 64, filename = ICONPATHMIPS.."Seedling_2.png", scale = 0.25 }, - { size = 64, filename = ICONPATHMIPS.."Seedling_3.png", scale = 0.25 }, - { size = 64, filename = ICONPATHMIPS.."Seedling_4.png", scale = 0.25 }, - { size = 64, filename = ICONPATHMIPS.."Seedling_5.png", scale = 0.25 }, - { size = 64, filename = ICONPATHMIPS.."Seedling_6.png", scale = 0.25 }, - { size = 64, filename = ICONPATHMIPS.."Seedling_7.png", scale = 0.25 }, - { size = 64, filename = ICONPATHMIPS.."Seedling_8.png", scale = 0.25 }, - { size = 64, filename = ICONPATHMIPS.."Seedling_9.png", scale = 0.25 } - }, - subgroup = "bio-bio-farm", - order = "x[bi]-b[bi-seedling]", - place_result = "seedling", - fuel_value = "0.5MJ", - fuel_category = "chemical", - stack_size= 400 - }, - - ----Bio Farm - { - type= "item", - name= "bi-bio-farm", - localised_name = {"entity-name.bi-bio-farm"}, - localised_description = {"entity-description.bi-bio-farm"}, - icon = ICONPATH .. "Bio_Farm_Icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "Bio_Farm_Icon.png", - icon_size = 64, - } - }, - subgroup = "production-machine", - order = "x[bi]-ab[bi-bio-farm]", - place_result = "bi-bio-farm", - stack_size= 10, - }, - - ----Bio Greenhouse (Nursery) - { - type= "item", - name= "bi-bio-greenhouse", - localised_name = {"entity-name.bi-bio-greenhouse"}, - localised_description = {"entity-description.bi-bio-greenhouse"}, - icon = ICONPATH .. "bio_greenhouse.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bio_greenhouse.png", - icon_size = 64, - } - }, - subgroup = "production-machine", - order = "x[bi]-aa[bi-bio-greenhouse]", - place_result = "bi-bio-greenhouse", - stack_size= 10, - }, - - --- Cokery - { - type = "item", - name = "bi-cokery", - icon = ICONPATH .. "cokery.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "cokery.png", - icon_size = 64, - } - }, - subgroup = "production-machine", - order = "x[bi]-b[bi-cokery]", - place_result = "bi-cokery", - stack_size = 10 - }, - - --- Stone Crusher - { - type = "item", - name = "bi-stone-crusher", - localised_name = {"entity-name.bi-stone-crusher"}, - localised_description = {"entity-description.bi-stone-crusher"}, - icon = ICONPATH .. "stone_crusher.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "stone_crusher.png", - icon_size = 64, - } - }, - subgroup = "production-machine", - order = "x[bi]-c[bi-stone-crusher]", - place_result = "bi-stone-crusher", - stack_size = 10 - }, - - --- Wood Pulp - { - type = "item", - name = "bi-woodpulp", - icon = ICONPATH .. "woodpulp_64.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "woodpulp_64.png", - icon_size = 64, - } - }, - icon_mipmaps = 4, - pictures = { - { size = 64, filename = ICONPATHMIPS.."Woodpulp_1.png", scale = 0.2 }, - { size = 64, filename = ICONPATHMIPS.."Woodpulp_2.png", scale = 0.2 }, - { size = 64, filename = ICONPATHMIPS.."Woodpulp_3.png", scale = 0.2 }, - { size = 64, filename = ICONPATHMIPS.."Woodpulp_4.png", scale = 0.2 } - }, - fuel_value = "1MJ", - fuel_category = "chemical", - subgroup = "raw-material", - order = "a-b[bi-woodpulp]", - stack_size = 800 - }, - - --- Wood Bricks - { - type = "item", - name = "wood-bricks", - icon = ICONPATH .. "Fuel_Brick.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "Fuel_Brick.png", - icon_size = 64, - } - }, - subgroup = "bio-bio-farm-raw", - order = "a[bi]-a-bx[bi-woodbrick]", - fuel_category = "chemical", - fuel_value = "20MJ", - stack_size = 200 - }, - - - --- Ash - { - type = "item", - name = "bi-ash", - icon = ICONPATH .. "ash.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "ash.png", - icon_size = 64, - } - }, - icon_mipmaps = 4, - pictures = { - { size = 64, filename = ICONPATHMIPS.."Ash_1.png", scale = 0.2 }, - { size = 64, filename = ICONPATHMIPS.."Ash_2.png", scale = 0.2 }, - { size = 64, filename = ICONPATHMIPS.."Ash_3.png", scale = 0.2 }, - { size = 64, filename = ICONPATHMIPS.."Ash_4.png", scale = 0.2 } - }, - subgroup = "raw-material", - order = "a[bi]-a-b[bi-ash]", - stack_size = 400 - }, - - --- Charcoal - { - type = "item", - name = "wood-charcoal", - icon = ICONPATH .. "charcoal.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "charcoal.png", - icon_size = 64, - } - }, - icon_mipmaps = 4, - pictures = { - { size = 64, filename = ICONPATHMIPS.."Charcoal_1.png", scale = 0.2 }, - { size = 64, filename = ICONPATHMIPS.."Charcoal_2.png", scale = 0.2 }, - { size = 64, filename = ICONPATHMIPS.."Charcoal_3.png", scale = 0.2 }, - { size = 64, filename = ICONPATHMIPS.."Charcoal_4.png", scale = 0.2 } - }, - fuel_value = "6MJ", - fuel_category = "chemical", - subgroup = "raw-material", - order = "a[bi]-a-c[charcoal]", - stack_size = 400 - }, - - --- Coke Coal / Pellet Coke for Angels - { - type = "item", - name = "pellet-coke", - icon = ICONPATH .. "coke-coal.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "coke-coal.png", - icon_size = 64, - } - }, - fuel_value = "28MJ", - fuel_category = "chemical", - fuel_acceleration_multiplier = 1.2, - fuel_top_speed_multiplier = 1.1, - subgroup = "raw-material", - order = "a[bi]-a-g[bi-coke-coal]", - stack_size = 400 - }, - - - --- Crushed Stone - { - type = "item", - name = "stone-crushed", - icon = ICONPATH .. "crushed-stone.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "crushed-stone.png", - icon_size = 64, - } - }, - icon_mipmaps = 4, - pictures = { - { size = 64, filename = ICONPATHMIPS.."Crush_1.png", scale = 0.2 }, - { size = 64, filename = ICONPATHMIPS.."Crush_2.png", scale = 0.2 }, - { size = 64, filename = ICONPATHMIPS.."Crush_3.png", scale = 0.2 }, - { size = 64, filename = ICONPATHMIPS.."Crush_4.png", scale = 0.2 } - }, - subgroup = "raw-material", - order = "a[bi]-a-z[stone-crushed]", - stack_size = 400 - }, - - - --- Seeb Bomb - Basic - { - type = "ammo", - name = "bi-seed-bomb-basic", - icon = ICONPATH .. "Seed_bomb_icon_b.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "Seed_bomb_icon_b.png", - icon_size = 64, - } - }, - ammo_category = "bullet", - ammo_type = { - range_modifier = 3, - cooldown_modifier = 3, - target_type = "position", - category = "rocket", - action = { - type = "direct", - action_delivery = { - type = "projectile", - projectile = "seed-bomb-projectile-1", - starting_speed = 0.05, - } - } - }, - subgroup = "ammo", - order = "a[rocket-launcher]-x[seed-bomb]-a", - stack_size = 10 - }, - - - --- Seeb Bomb - Standard - { - type = "ammo", - name = "bi-seed-bomb-standard", - icon = ICONPATH .. "Seed_bomb_icon_s.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "Seed_bomb_icon_s.png", - icon_size = 64, - } - }, - ammo_category = "bullet", - ammo_type = { - range_modifier = 3, - cooldown_modifier = 3, - target_type = "position", - category = "rocket", - action = { - type = "direct", - action_delivery = { - type = "projectile", - projectile = "seed-bomb-projectile-2", - starting_speed = 0.05, - } - } - }, - subgroup = "ammo", - order = "a[rocket-launcher]-x[seed-bomb]-b", - stack_size = 10 - }, - - - --- Seeb Bomb - Advanced - { - type = "ammo", - name = "bi-seed-bomb-advanced", - icon = ICONPATH .. "Seed_bomb_icon_a.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "Seed_bomb_icon_a.png", - icon_size = 64, - } - }, - ammo_category = "bullet", - ammo_type = { - range_modifier = 3, - cooldown_modifier = 3, - target_type = "position", - category = "rocket", - action = { - type = "direct", - action_delivery = { - type = "projectile", - projectile = "seed-bomb-projectile-3", - starting_speed = 0.05, - } - } - }, - subgroup = "ammo", - order = "a[rocket-launcher]-x[seed-bomb]-c", - stack_size = 10 - }, - - --- Arboretum (Entity) - { - type= "item", - name= "bi-arboretum-area", - icon = ICONPATH .. "Arboretum_Icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "Arboretum_Icon.png", - icon_size = 64, - } - }, - subgroup = "production-machine", - order = "x[bi]-a[bi-arboretum]", - place_result = "bi-arboretum-area", - stack_size= 10, - }, - - --- Arboretum Hidden Recipe - { - type = "item", - name = "bi-arboretum-r1", - icon = ICONPATH .. "Seedling_b.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "Seedling_b.png", - icon_size = 64, - } - }, - hidden = true, - subgroup = "terrain", - order = "bi-arboretum-r1", - stack_size = 1 - }, - - --- Arboretum Hidden Recipe - { - type = "item", - name = "bi-arboretum-r2", - icon = ICONPATH .. "bi_change_1.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bi_change_1.png", - icon_size = 64, - } - }, - hidden = true, - subgroup = "terrain", - order = "bi-arboretum-r2", - stack_size = 1 - }, - - --- Arboretum Hidden Recipe - { - type = "item", - name = "bi-arboretum-r3", - icon = ICONPATH .. "bi_change_2.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bi_change_2.png", - icon_size = 64, - } - }, - hidden = true, - subgroup = "terrain", - order = "bi-arboretum-r3", - stack_size = 1 - }, - - --- Arboretum Hidden Recipe - { - type = "item", - name = "bi-arboretum-r4", - icon = ICONPATH .. "bi_change_plant_1.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bi_change_plant_1.png", - icon_size = 64, - } - }, - hidden = true, - subgroup = "terrain", - order = "bi-arboretum-r4", - stack_size = 1 - }, - - --- Arboretum Hidden Recipe - { - type = "item", - name = "bi-arboretum-r5", - icon = ICONPATH .. "bi_change_plant_2.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bi_change_plant_2.png", - icon_size = 64, - } - }, - hidden = true, - subgroup = "terrain", - order = "bi-arboretum-r5", - stack_size = 1 - }, - -}) - ---- Fertilizer can change terrain to better terrain - data:extend({ - --- fertilizer - { - type = "item", - name = "fertilizer", - icon = ICONPATH .. "fertilizer_64.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "fertilizer_64.png", - icon_size = 64, - } - }, - subgroup = "intermediate-product", - order = "b[fertilizer]", - stack_size = 200, - }, - - --- Adv fertilizer - { - type = "item", - name = "bi-adv-fertilizer", - icon = ICONPATH .. "advanced_fertilizer_64.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "advanced_fertilizer_64.png", - icon_size = 64, - } - }, - subgroup = "intermediate-product", - order = "b[fertilizer]-b[bi-adv-fertilizer]", - stack_size = 200, - }, - }) - +local BioInd = require('common')('Bio_Industries_2') + +local ICONPATH = BioInd.modRoot .. "/graphics/icons/" +local ICONPATH_W = BioInd.modRoot .. "/graphics/icons/weapons/" +local ICONPATH_E = BioInd.modRoot .. "/graphics/icons/entity/" +local ICONPATHMIPS = BioInd.modRoot .. "/graphics/icons/mips/" + +data:extend( +{ + ---- Seed + { + type = "item", + name = "bi-seed", + icons = { {icon = ICONPATH .. "bio_seed.png", icon_size = 64, }}, + pictures = { + { size = 64, filename = ICONPATHMIPS.."bio_seed_1.png", scale = 0.25, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."bio_seed_2.png", scale = 0.25, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."bio_seed_3.png", scale = 0.25, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."bio_seed_4.png", scale = 0.25, mipmap_count = 4 } + }, + category = "biofarm-mod-greenhouse", + subgroup = "bio-bio-farm", + order = "x[bi]-a[bi-seed]", + fuel_value = "0.5MJ", + fuel_category = "chemical", + stack_size= 800, + weight = 10 * kg, + }, + + ---- Seedling + { + type = "item", + name = "seedling", + localised_name = {"entity-name.seedling"}, + localised_description = {"entity-description.seedling"}, + icons = { {icon = ICONPATH .. "Seedling.png", icon_size = 64, }}, + pictures = { + { size = 64, filename = ICONPATHMIPS.."seedling_1.png", scale = 0.25, mipmap_count = 9 }, + { size = 64, filename = ICONPATHMIPS.."seedling_2.png", scale = 0.25, mipmap_count = 9 }, + { size = 64, filename = ICONPATHMIPS.."seedling_3.png", scale = 0.25, mipmap_count = 9 }, + { size = 64, filename = ICONPATHMIPS.."seedling_4.png", scale = 0.25, mipmap_count = 9 }, + { size = 64, filename = ICONPATHMIPS.."seedling_5.png", scale = 0.25, mipmap_count = 9 }, + { size = 64, filename = ICONPATHMIPS.."seedling_6.png", scale = 0.25, mipmap_count = 9 }, + { size = 64, filename = ICONPATHMIPS.."seedling_7.png", scale = 0.25, mipmap_count = 9 }, + { size = 64, filename = ICONPATHMIPS.."seedling_8.png", scale = 0.25, mipmap_count = 9 }, + { size = 64, filename = ICONPATHMIPS.."seedling_9.png", scale = 0.25, mipmap_count = 9 } + }, + subgroup = "bio-bio-farm", + order = "x[bi]-b[bi-seedling]", + place_result = "seedling", + fuel_value = "0.5MJ", + fuel_category = "chemical", + stack_size= 400, + weight = 20 * kg, + }, + + ----Bio Farm + { + type= "item", + name= "bi-bio-farm", + localised_name = {"entity-name.bi-bio-farm"}, + localised_description = {"entity-description.bi-bio-farm"}, + icons = { {icon = ICONPATH_E .. "bio_Farm_Icon.png", icon_size = 64, }}, + subgroup = "production-machine", + order = "x[bi]-ab[bi-bio-farm]", + place_result = "bi-bio-farm", + stack_size= 10, + weight = 400 * kg, + }, + + ----Bio Greenhouse (Nursery) + { + type= "item", + name= "bi-bio-greenhouse", + localised_name = {"entity-name.bi-bio-greenhouse"}, + localised_description = {"entity-description.bi-bio-greenhouse"}, + icons = { {icon = ICONPATH_E .. "bio_greenhouse.png", icon_size = 64, }}, + subgroup = "production-machine", + order = "x[bi]-aa[bi-bio-greenhouse]", + place_result = "bi-bio-greenhouse", + stack_size= 10, + weight = 250 * kg, + }, + + --- Cokery + { + type = "item", + name = "bi-cokery", + icons = { {icon = ICONPATH_E .. "cokery.png", icon_size = 64, }}, + subgroup = "production-machine", + order = "x[bi]-b[bi-cokery]", + place_result = "bi-cokery", + stack_size = 10, + weight = 100 * kg, + }, + + --- Stone Crusher + { + type = "item", + name = "bi-stone-crusher", + localised_name = {"entity-name.bi-stone-crusher"}, + localised_description = {"entity-description.bi-stone-crusher"}, + icons = { {icon = ICONPATH_E .. "stone_crusher.png", icon_size = 64, }}, + subgroup = "production-machine", + order = "x[bi]-c[bi-stone-crusher]", + place_result = "bi-stone-crusher", + stack_size = 10, + weight = 400 * kg, + }, + + --- Wood Pulp + { + type = "item", + name = "bi-woodpulp", + icons = { {icon = ICONPATH .. "woodpulp_64.png", icon_size = 64, }}, + pictures = { + { size = 64, filename = ICONPATHMIPS.."woodpulp_1.png", scale = 0.2, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."woodpulp_2.png", scale = 0.2, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."woodpulp_3.png", scale = 0.2, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."woodpulp_4.png", scale = 0.2, mipmap_count = 4 } + }, + fuel_value = "1MJ", + fuel_category = "chemical", + subgroup = "raw-material", + order = "a-b[bi-woodpulp]", + stack_size = 800, + weight = 15 * kg, + }, + + --- Wood Bricks + { + type = "item", + name = "wood-bricks", + icons = { {icon = ICONPATH .. "Fuel_Brick.png", icon_size = 64, }}, + subgroup = "bio-bio-farm-raw", + order = "a[bi]-a-bx[bi-woodbrick]", + fuel_category = "chemical", + fuel_value = "160MJ", + stack_size = 200, + weight = 40 * kg, + }, + + + --- Ash + { + type = "item", + name = "bi-ash", + icons = { {icon = ICONPATH .. "ash.png", icon_size = 64, }}, + pictures = { + { size = 64, filename = ICONPATHMIPS.."ash_1.png", scale = 0.2, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."ash_2.png", scale = 0.2, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."ash_3.png", scale = 0.2, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."ash_4.png", scale = 0.2, mipmap_count = 4 } + }, + subgroup = "raw-material", + order = "a[bi]-a-b[bi-ash]", + stack_size = 400, + weight = 12 * kg, + }, + + --- Charcoal + { + type = "item", + name = "wood-charcoal", + icons = { {icon = ICONPATH .. "charcoal.png", icon_size = 64, }}, + pictures = { + { size = 64, filename = ICONPATHMIPS.."charcoal_1.png", scale = 0.2, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."charcoal_2.png", scale = 0.2, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."charcoal_3.png", scale = 0.2, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."charcoal_4.png", scale = 0.2, mipmap_count = 4 } + }, + fuel_value = "6MJ", + fuel_category = "chemical", + subgroup = "raw-material", + order = "a[bi]-a-c[charcoal]", + stack_size = 400, + weight = 10 * kg, + }, + + --- Coke Coal / Pellet Coke for Angels + { + type = "item", + name = "pellet-coke", + icons = { {icon = ICONPATH .. "coke-coal.png", icon_size = 64, }}, + fuel_value = "28MJ", + fuel_category = "chemical", + fuel_acceleration_multiplier = 1.2, + fuel_top_speed_multiplier = 1.1, + subgroup = "raw-material", + order = "a[bi]-a-g[bi-coke-coal]", + stack_size = 400, + weight = 25 * kg, + }, + + + --- Crushed Stone + { + type = "item", + name = "stone-crushed", + icons = { {icon = ICONPATH .. "crushed-stone.png", icon_size = 64, }}, + pictures = { + { size = 64, filename = ICONPATHMIPS.."crush_1.png", scale = 0.2, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."crush_2.png", scale = 0.2, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."crush_3.png", scale = 0.2, mipmap_count = 4 }, + { size = 64, filename = ICONPATHMIPS.."crush_4.png", scale = 0.2, mipmap_count = 4 } + }, + subgroup = "raw-material", + order = "a[bi]-a-z[stone-crushed]", + stack_size = 400, + weight = 20 * kg, + }, + + + --- Seeb Bomb - Basic + { + type = "ammo", + name = "bi-seed-bomb-basic", + icons = { {icon = ICONPATH_W .. "seed_bomb_icon_b.png", icon_size = 64, }}, + ammo_category = "rocket", + ammo_type = { + range_modifier = 3, + cooldown_modifier = 3, + target_type = "position", + category = "rocket", + action = { + type = "direct", + action_delivery = { + type = "projectile", + projectile = "seed-bomb-projectile-1", + starting_speed = 0.05, + } + } + }, + subgroup = "ammo", + order = "a[rocket-launcher]-x[seed-bomb]-a", + stack_size = 10, + weight = 50 * kg, + }, + + + --- Seeb Bomb - Standard + { + type = "ammo", + name = "bi-seed-bomb-standard", + icons = { {icon = ICONPATH_W .. "seed_bomb_icon_s.png", icon_size = 64, }}, + ammo_category = "rocket", + ammo_type = { + range_modifier = 4, + cooldown_modifier = 3, + target_type = "position", + category = "rocket", + action = { + type = "direct", + action_delivery = { + type = "projectile", + projectile = "seed-bomb-projectile-2", + starting_speed = 0.05, + } + } + }, + subgroup = "ammo", + order = "a[rocket-launcher]-x[seed-bomb]-b", + stack_size = 10, + weight = 50 * kg, + }, + + + --- Seeb Bomb - Advanced + { + type = "ammo", + name = "bi-seed-bomb-advanced", + icons = { {icon = ICONPATH_W .. "seed_bomb_icon_a.png", icon_size = 64, }}, + ammo_category = "rocket", + ammo_type = { + range_modifier = 5, + cooldown_modifier = 3, + target_type = "position", + category = "rocket", + action = { + type = "direct", + action_delivery = { + type = "projectile", + projectile = "seed-bomb-projectile-3", + starting_speed = 0.05, + } + } + }, + subgroup = "ammo", + order = "a[rocket-launcher]-x[seed-bomb]-c", + stack_size = 10, + weight = 50 * kg, + }, + + --- Arboretum (Entity) + { + type= "item", + name= "bi-arboretum-area", + icons = { {icon = ICONPATH_E .. "arboretum_Icon.png", icon_size = 64, }}, + subgroup = "production-machine", + order = "x[bi]-a[bi-arboretum]", + place_result = "bi-arboretum-area", + stack_size= 10, + weight = 500 * kg, + }, + + --- Arboretum Hidden Recipe + { + type = "item", + name = "bi-arboretum-r1", + icons = { {icon = ICONPATH .. "Seedling_b.png", icon_size = 64, }}, + hidden = true, + subgroup = "terrain", + order = "bi-arboretum-r1", + stack_size = 1 + }, + + --- Arboretum Hidden Recipe + { + type = "item", + name = "bi-arboretum-r2", + icons = { {icon = ICONPATH .. "bi_change_1.png", icon_size = 64, }}, + hidden = true, + subgroup = "terrain", + order = "bi-arboretum-r2", + stack_size = 1 + }, + + --- Arboretum Hidden Recipe + { + type = "item", + name = "bi-arboretum-r3", + icons = { {icon = ICONPATH .. "bi_change_2.png", icon_size = 64, }}, + hidden = true, + subgroup = "terrain", + order = "bi-arboretum-r3", + stack_size = 1 + }, + + --- Arboretum Hidden Recipe + { + type = "item", + name = "bi-arboretum-r4", + icons = { {icon = ICONPATH .. "bi_change_plant_1.png", icon_size = 64, }}, + hidden = true, + subgroup = "terrain", + order = "bi-arboretum-r4", + stack_size = 1 + }, + + --- Arboretum Hidden Recipe + { + type = "item", + name = "bi-arboretum-r5", + icons = { {icon = ICONPATH .. "bi_change_plant_2.png", icon_size = 64, }}, + hidden = true, + subgroup = "terrain", + order = "bi-arboretum-r5", + stack_size = 1 + }, + +}) + +--- Fertilizer can change terrain to better terrain + data:extend({ + --- fertilizer + { + type = "item", + name = "fertilizer", + icons = { {icon = ICONPATH .. "fertilizer.png", icon_size = 64, }}, + subgroup = "intermediate-product", + order = "b[fertilizer]", + stack_size = 200, + weight = 40 * kg, + }, + + --- Adv fertilizer + { + type = "item", + name = "bi-adv-fertilizer", + icons = { {icon = ICONPATH .. "fertilizer_advanced.png", icon_size = 64, }}, + subgroup = "intermediate-product", + order = "b[fertilizer]-b[bi-adv-fertilizer]", + stack_size = 200, + weight = 40 * kg, + }, + }) + diff --git a/Bio_Industries_2/prototypes/Bio_Farm/liquids.lua b/Bio_Industries_2/prototypes/Bio_Farm/liquids.lua index 9e014ad..edd5883 100644 --- a/Bio_Industries_2/prototypes/Bio_Farm/liquids.lua +++ b/Bio_Industries_2/prototypes/Bio_Farm/liquids.lua @@ -1,27 +1,28 @@ -local BioInd = require('common')('Bio_Industries_2') - -local ICONPATH = BioInd.modRoot .. "/graphics/icons/" - -data:extend({ - ----- Bio-Mass - { - type = "fluid", - name = "bi-biomass", - icon = ICONPATH .. "biomass.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "biomass.png", - icon_size = 64, - } - }, - default_temperature = 25, - max_temperature = 100, - heat_capacity = "1kJ", - base_color = {r = 0, g = 0, b = 0}, - flow_color = {r = 0.1, g = 1.0, b = 0.0}, - pressure_to_speed_ratio = 0.4, - flow_to_energy_ratio = 0.59, - order = "a[fluid]-b[biomass]" - }, -}) +local BioInd = require('common')('Bio_Industries_2') + +local ICONPATH = BioInd.modRoot .. "/graphics/icons/" + +data:extend({ + ----- Bio-Mass + { + type = "fluid", + name = "bi-biomass", + icon = ICONPATH .. "biomass.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "biomass.png", + icon_size = 64, + } + }, + default_temperature = 25, + max_temperature = 100, + heat_capacity = "1kJ", + base_color = {r = 0, g = 0, b = 0}, + flow_color = {r = 0.1, g = 1.0, b = 0.0}, + pressure_to_speed_ratio = 0.4, + flow_to_energy_ratio = 0.59, + subgroup = "bio-bio-fuel-fluid", + order = "a[fluid]-b[biomass]" + }, +}) diff --git a/Bio_Industries_2/prototypes/Bio_Farm/pipeConnectors.lua b/Bio_Industries_2/prototypes/Bio_Farm/pipeConnectors.lua deleted file mode 100644 index 1dca551..0000000 --- a/Bio_Industries_2/prototypes/Bio_Farm/pipeConnectors.lua +++ /dev/null @@ -1,341 +0,0 @@ -local BioInd = require('common')('Bio_Industries_2') - -local ICONPATH = BioInd.modRoot .. "/graphics/icons/" - - -function assembler2pipepicturesCokery() - return - { - north = { - filename = ICONPATH .. "empty.png", - priority = "extra-high", - width = 1, - height = 1, - shift = util.by_pixel(2.25, 13.5), - scale = 0.5, - }, - east = { - filename = "__base__/graphics/entity/assembling-machine-2/assembling-machine-2-pipe-E.png", - priority = "extra-high", - width = 42, - height = 76, - shift = util.by_pixel(-24.5, 1), - scale = 0.5, - }, - south = { - filename = ICONPATH .. "empty.png", - priority = "extra-high", - width = 1, - height = 1, - shift = util.by_pixel(0, -31.25), - scale = 0.5, - }, - west = { - filename = "__base__/graphics/entity/assembling-machine-2/assembling-machine-2-pipe-W.png", - priority = "extra-high", - width = 39, - height = 73, - shift = util.by_pixel(25.75, 1.25), - scale = 0.5, - } - } -end - - -function assembler2pipepicturesCokery() - return - { - north = { - filename = ICONPATH .. "empty.png", - priority = "extra-high", - width = 1, - height = 1, - shift = {0.09375, 0.4375} - }, - east = { - filename = "__base__/graphics/entity/assembling-machine-2/pipe-east.png", - priority = "extra-high", - width = 41, - height = 40, - shift = {-0.71875, 0} - }, - south = { - filename = ICONPATH .. "empty.png", - priority = "extra-high", - width = 1, - height = 1, - shift = {0.0625, -1} - }, - west = { - filename = "__base__/graphics/entity/assembling-machine-2/pipe-west.png", - priority = "extra-high", - width = 41, - height = 40, - shift = {0.78125, 0.03125} - } - } -end - - -function pipecoverspicturesCokery() - return { - north = { - filename = ICONPATH .. "empty.png", - priority = "extra-high", - width = 1, - height = 1, - scale = 0.5 - }, - east = { - filename = "__base__/graphics/entity/pipe-covers/hr-pipe-cover-east.png", - priority = "extra-high", - width = 128, - height = 128, - scale = 0.5 - }, - south = { - filename = ICONPATH .. "empty.png", - priority = "extra-high", - width = 1, - height = 1, - scale = 0.5 - }, - west = { - filename = "__base__/graphics/entity/pipe-covers/hr-pipe-cover-west.png", - priority = "extra-high", - width = 128, - height = 128, - scale = 0.5 - } - } -end - - -function assembler2pipepicturesBioreactor() - return - { - north = { - filename = ICONPATH .. "empty.png", - priority = "extra-high", - width = 71, - height = 38, - shift = util.by_pixel(2.25, 13.5), - scale = 0.5, - }, - east = { - filename = "__base__/graphics/entity/assembling-machine-2/assembling-machine-2-pipe-E.png", - priority = "extra-high", - width = 42, - height = 76, - shift = util.by_pixel(-24.5, 1), - scale = 0.5, - }, - south = { - filename = "__base__/graphics/entity/assembling-machine-2/assembling-machine-2-pipe-S.png", - priority = "extra-high", - width = 88, - height = 61, - shift = util.by_pixel(0, -31.25), - scale = 0.5, - }, - west = { - filename = "__base__/graphics/entity/assembling-machine-2/assembling-machine-2-pipe-W.png", - priority = "extra-high", - width = 39, - height = 73, - shift = util.by_pixel(25.75, 1.25), - scale = 0.5, - } - } -end - - - -function pipecoverspicturesBioreactor() - return { - north = { - filename = ICONPATH .. "empty.png", - priority = "extra-high", - width = 1, - height = 1, - scale = 0.5 - }, - east = { - filename = "__base__/graphics/entity/pipe-covers/hr-pipe-cover-east.png", - priority = "extra-high", - width = 128, - height = 128, - scale = 0.5 - }, - south = { - filename = "__base__/graphics/entity/pipe-covers/hr-pipe-cover-south.png", - priority = "extra-high", - width = 128, - height = 128, - scale = 0.5 - }, - west = { - filename = "__base__/graphics/entity/pipe-covers/hr-pipe-cover-west.png", - priority = "extra-high", - width = 128, - height = 128, - scale = 0.5 - } - } - -end - - -function BioFarm_Pipe_Connectors_Left() - return - { - north = { - filename = "__Bio_Industries_2__/graphics/entities/biofarm/pipe_connections/Bio_Farm-pipe-N_l.png", - priority = "extra-high", - width = 51, - height = 35, - shift = {0.25, 1}, - }, - east = { - filename = "__Bio_Industries_2__/graphics/entities/biofarm/pipe_connections/Bio_Farm-pipe-E_l.png", - priority = "extra-high", - width = 18, - height = 48, - shift = {-1, -0.25}, - }, - south = { - filename = "__Bio_Industries_2__/graphics/entities/biofarm/pipe_connections/Bio_Farm-pipe-S_l.png", - priority = "extra-high", - width = 49, - height = 25, - shift = {0.5, -1}, - }, - west = { - filename = "__Bio_Industries_2__/graphics/entities/biofarm/pipe_connections/Bio_Farm-pipe-W_l.png", - priority = "extra-high", - width = 16, - height = 51, - shift = {0.5, 0.5}, - } - } -end - - -function bio_farm_pipe_pictures() - return - { - north = { - filename = "__base__/graphics/entity/assembling-machine-3/hr-assembling-machine-3-pipe-N.png", - priority = "extra-high", - width = 71, - height = 38, - shift = util.by_pixel(2.25, 13.5), - scale = 0.5, - }, - east = { - filename = ICONPATH .. "empty.png", - priority = "extra-high", - width = 1, - height = 1, - }, - south = { - filename = "__base__/graphics/entity/assembling-machine-3/hr-assembling-machine-3-pipe-S.png", - priority = "extra-high", - width = 88, - height = 61, - shift = util.by_pixel(0, -31.25), - scale = 0.5, - }, - west = { - filename = ICONPATH .. "empty.png", - priority = "extra-high", - width = 1, - height = 1, - } - } -end - -bio_farm_pipe_covers_pictures = function() - return { - north = { - layers = { - { - filename = "__base__/graphics/entity/pipe-covers/hr-pipe-cover-north.png", - priority = "extra-high", - width = 128, - height = 128, - scale = 0.5 - }, - { - filename = "__base__/graphics/entity/pipe-covers/hr-pipe-cover-north-shadow.png", - priority = "extra-high", - width = 128, - height = 128, - scale = 0.5, - draw_as_shadow = true - }, - }, - }, - east = { - layers = { - { - filename = "__base__/graphics/entity/pipe-covers/hr-pipe-cover-east.png", - priority = "extra-high", - width = 128, - height = 128, - shift = {-0.22, 0}, - scale = 0.5 - }, - { - filename = "__base__/graphics/entity/pipe-covers/hr-pipe-cover-east-shadow.png", - priority = "extra-high", - width = 128, - height = 128, - scale = 0.5, - shift = {-0.22, 0}, - draw_as_shadow = true - }, - }, - }, - south = { - layers = { - { - filename = "__base__/graphics/entity/pipe-covers/hr-pipe-cover-south.png", - priority = "extra-high", - width = 128, - height = 128, - scale = 0.5 - }, - { - filename = "__base__/graphics/entity/pipe-covers/hr-pipe-cover-south-shadow.png", - priority = "extra-high", - width = 128, - height = 128, - scale = 0.5, - draw_as_shadow = true - }, - }, - }, - west = { - layers = { - { - filename = "__base__/graphics/entity/pipe-covers/hr-pipe-cover-west.png", - priority = "extra-high", - width = 128, - height = 128, - shift = {0.2, 0}, - scale = 0.5 - }, - { - filename = "__base__/graphics/entity/pipe-covers/hr-pipe-cover-west-shadow.png", - priority = "extra-high", - width = 128, - height = 128, - scale = 0.5, - shift = {0.2, 0}, - draw_as_shadow = true - }, - }, - } - } -end \ No newline at end of file diff --git a/Bio_Industries_2/prototypes/Bio_Farm/recipe-categories.lua b/Bio_Industries_2/prototypes/Bio_Farm/recipe-categories.lua index 4264894..74a870a 100644 --- a/Bio_Industries_2/prototypes/Bio_Farm/recipe-categories.lua +++ b/Bio_Industries_2/prototypes/Bio_Farm/recipe-categories.lua @@ -1,33 +1,33 @@ -data:extend( -{ - { - type = "recipe-category", - name = "biofarm-mod-smelting" - }, - - { - type = "recipe-category", - name = "biofarm-mod-crushing" - }, - - { - type = "recipe-category", - name = "biofarm-mod-bioreactor" - }, - - { - type = "recipe-category", - name = "biofarm-mod-farm" - }, - - { - type = "recipe-category", - name = "biofarm-mod-greenhouse" - }, - - { - type = "recipe-category", - name = "bi-arboretum" - }, -} -) +data:extend( +{ + { + type = "recipe-category", + name = "biofarm-mod-smelting" + }, + + { + type = "recipe-category", + name = "biofarm-mod-crushing" + }, + + { + type = "recipe-category", + name = "biofarm-mod-bioreactor" + }, + + { + type = "recipe-category", + name = "biofarm-mod-farm" + }, + + { + type = "recipe-category", + name = "biofarm-mod-greenhouse" + }, + + { + type = "recipe-category", + name = "bi-arboretum" + }, +} +) diff --git a/Bio_Industries_2/prototypes/Bio_Farm/recipe.lua b/Bio_Industries_2/prototypes/Bio_Farm/recipe.lua index c7a0874..a317852 100644 --- a/Bio_Industries_2/prototypes/Bio_Farm/recipe.lua +++ b/Bio_Industries_2/prototypes/Bio_Farm/recipe.lua @@ -1,1501 +1,1533 @@ -local BioInd = require('common')('Bio_Industries_2') - -local ICONPATH = BioInd.modRoot .. "/graphics/icons/" - -data:extend({ - - - - --- Seeds from Water (BASIC) - { - type = "recipe", - name = "bi-seed-1", - icon = ICONPATH .. "bio_seed1.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bio_seed1.png", - icon_size = 64, - } - }, - category = "biofarm-mod-greenhouse", - energy_required = 200, - ingredients = { - {type = "fluid", name = "water", amount = 100}, - {type = "item", name = "wood", amount = 20}, - }, - results = { - {type = "item", name = "bi-seed", amount = 40}, - }, - main_product = "", - enabled = false, - always_show_made_in = true, - allow_decomposition = false, - subgroup = "bio-bio-farm-fluid-1", - order = "a[bi]-ssw-a1[bi-seed-1]", - -- This is a custom property for use by "Krastorio 2" (it will change - -- ingredients/results; used for wood/wood pulp) - mod = "Bio_Industries_2", - }, - - - --- Seeds from Water & Ash - { - type = "recipe", - name = "bi-seed-2", - icon = ICONPATH .. "bio_seed2.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bio_seed2.png", - icon_size = 64, - } - }, - category = "biofarm-mod-greenhouse", - energy_required = 150, - ingredients = { - {type = "fluid", name = "water", amount = 40}, - {type = "item", name = "wood", amount = 20}, - {type = "item", name = "bi-ash", amount = 10}, - }, - results = { - {type = "item", name = "bi-seed", amount = 50}, - }, - main_product = "", - enabled = false, - always_show_made_in = true, - allow_decomposition = false, - subgroup = "bio-bio-farm-fluid-1", - order = "a[bi]-ssw-a1[bi-seed-2]", - -- This is a custom property for use by "Krastorio 2" (it will change - -- ingredients/results; used for wood/wood pulp) - mod = "Bio_Industries_2", - }, - - - --- Seeds from Water & fertilizer - { - type = "recipe", - name = "bi-seed-3", - icon = ICONPATH .. "bio_seed3.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bio_seed3.png", - icon_size = 64, - } - }, - category = "biofarm-mod-greenhouse", - energy_required = 100, - ingredients = { - {type = "fluid", name = "water", amount = 40}, - {type = "item", name = "wood", amount = 20}, - {type = "item", name = "fertilizer", amount = 10}, - }, - results = { - {type = "item", name = "bi-seed", amount = 60}, - }, - main_product = "", - enabled = false, - always_show_made_in = true, - allow_decomposition = false, - subgroup = "bio-bio-farm-fluid-1", - order = "a[bi]-ssw-a1[bi-seed-3]", - -- This is a custom property for use by "Krastorio 2" (it will change - -- ingredients/results; used for wood/wood pulp) - mod = "Bio_Industries_2", - }, - - - --- Seeds from Water & Adv-fertilizer - { - type = "recipe", - name = "bi-seed-4", - icon = ICONPATH .. "bio_seed4.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bio_seed4.png", - icon_size = 64, - } - }, - category = "biofarm-mod-greenhouse", - energy_required = 50, - ingredients = { - {type = "item", name = "wood", amount = 20}, - {type = "item", name = "bi-adv-fertilizer", amount = 10}, - {type = "fluid", name = "water", amount = 40}, - }, - results = { - {type = "item", name = "bi-seed", amount = 80}, - }, - main_product = "", - enabled = false, - always_show_made_in = true, - allow_decomposition = false, - subgroup = "bio-bio-farm-fluid-1", - order = "a[bi]-ssw-a1[bi-seed-4]", - -- This is a custom property for use by "Krastorio 2" (it will change - -- ingredients/results; used for wood/wood pulp) - mod = "Bio_Industries_2", - }, - - - --- Seedlings from Water (BASIC) - { - type = "recipe", - name = "bi-seedling-1", - icon = ICONPATH .. "Seedling1.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "Seedling1.png", - icon_size = 64, - } - }, - category = "biofarm-mod-greenhouse", - energy_required = 400, - ingredients = { - {type = "item", name = "bi-seed", amount = 20}, - {type = "fluid", name = "water", amount = 100}, - }, - results = { - {type = "item", name = "seedling", amount = 40}, - }, - main_product = "", - enabled = false, - always_show_made_in = true, - allow_decomposition = false, - subgroup = "bio-bio-farm-fluid-2", - order = "b[bi]-ssw-b1[bi-Seedling_Mk1]", - -- This is a custom property for use by "Krastorio 2" (it will change - -- ingredients/results; used for wood/wood pulp) - mod = "Bio_Industries_2", - }, - - - --- Seedlings from Water & Ash - { - type = "recipe", - name = "bi-seedling-2", - icon = ICONPATH .. "Seedling2.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "Seedling2.png", - icon_size = 64, - } - }, - category = "biofarm-mod-greenhouse", - energy_required = 300, - ingredients = { - {type = "item", name = "bi-seed", amount = 25}, - {type = "item", name = "bi-ash", amount = 10}, - {type = "fluid", name = "water", amount = 100}, - }, - results = { - {type = "item", name = "seedling", amount = 60}, - }, - main_product = "", - enabled = false, - always_show_made_in = true, - allow_decomposition = false, - subgroup = "bio-bio-farm-fluid-2", - order = "b[bi]-ssw-b1[bi-Seedling_Mk2]", - -- This is a custom property for use by "Krastorio 2" (it will change - -- ingredients/results; used for wood/wood pulp) - mod = "Bio_Industries_2", - }, - - - --- Seedlings from Water & fertilizer - { - type = "recipe", - name = "bi-seedling-3", - icon = ICONPATH .. "Seedling3.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "Seedling3.png", - icon_size = 64, - } - }, - category = "biofarm-mod-greenhouse", - energy_required = 200, - ingredients = { - {type = "item", name = "bi-seed", amount = 30}, - {type = "item", name = "fertilizer", amount = 10}, - {type = "fluid", name = "water", amount = 100}, - }, - results = { - {type = "item", name = "seedling", amount = 90}, - }, - main_product = "", - enabled = false, - always_show_made_in = true, - subgroup = "bio-bio-farm-fluid-2", - order = "b[bi]-ssw-b1[bi-Seedling_Mk3]", - -- This is a custom property for use by "Krastorio 2" (it will change - -- ingredients/results; used for wood/wood pulp) - mod = "Bio_Industries_2", - }, - - - --- Seedlings from Water & Adv-fertilizer - { - type = "recipe", - name = "bi-seedling-4", - icon = ICONPATH .. "Seedling4.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "Seedling4.png", - icon_size = 64, - } - }, - category = "biofarm-mod-greenhouse", - energy_required = 100, - ingredients = { - {type = "item", name = "bi-seed", amount = 40}, - {type = "fluid", name = "water", amount = 100}, - {type = "item", name = "bi-adv-fertilizer", amount = 10}, - }, - results = { - {type = "item", name = "seedling", amount = 160}, - }, - main_product = "", - enabled = false, - always_show_made_in = true, - allow_decomposition = false, - subgroup = "bio-bio-farm-fluid-2", - order = "b[bi]-ssw-b1[bi-Seedling_Mk4]", - -- This is a custom property for use by "Krastorio 2" (it will change - -- ingredients/results; used for wood/wood pulp) - mod = "Bio_Industries_2", - }, - - - --- Raw Wood from Water (BASIC) - { - type = "recipe", - name = "bi-logs-1", - icon = ICONPATH .. "raw-wood-mk1.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "raw-wood-mk1.png", - icon_size = 64, - } - }, - category = "biofarm-mod-farm", - enabled = false, - always_show_made_in = true, - allow_decomposition = false, - energy_required = 400, - ingredients = { - {type = "item", name = "seedling", amount = 20}, - {type = "fluid", name = "water", amount = 100}, - }, - results = { - {type = "item", name = "wood", amount = 40}, - {type = "item", name = "bi-woodpulp", amount = 80}, - }, - main_product = "", - subgroup = "bio-bio-farm-fluid-3", - order = "c[bi]-ssw-c1[raw-wood1]", - -- This is a custom property for use by "Krastorio 2" (it will change - -- ingredients/results; used for wood/wood pulp) - mod = "Bio_Industries_2", - }, - - - --- Raw Wood from Water & Ash - { - type = "recipe", - name = "bi-logs-2", - icon = ICONPATH .. "raw-wood-mk2.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "raw-wood-mk2.png", - icon_size = 64, - } - }, - category = "biofarm-mod-farm", - enabled = false, - always_show_made_in = true, - allow_decomposition = false, - energy_required = 360, - ingredients = { - {type = "item", name = "seedling", amount = 30}, - {type = "item", name = "bi-ash", amount = 10}, - {type = "fluid", name = "water", amount = 100}, - }, - results = { - {type = "item", name = "wood", amount = 75}, - {type = "item", name = "bi-woodpulp", amount = 150}, - }, - main_product = "", - subgroup = "bio-bio-farm-fluid-3", - order = "c[bi]-ssw-c1[raw-wood2]", - -- This is a custom property for use by "Krastorio 2" (it will change - -- ingredients/results; used for wood/wood pulp) - mod = "Bio_Industries_2", - }, - - - --- Raw Wood from Water & fertilizer - { - type = "recipe", - name = "bi-logs-3", - icon = ICONPATH .. "raw-wood-mk3.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "raw-wood-mk3.png", - icon_size = 64, - } - }, - category = "biofarm-mod-farm", - enabled = false, - always_show_made_in = true, - allow_decomposition = false, - energy_required = 300, - ingredients = { - {type = "item", name = "seedling", amount = 45}, - {type = "item", name = "fertilizer", amount = 10}, - {type = "fluid", name = "water", amount = 100}, - }, - results = { - {type = "item", name = "wood", amount = 135}, - {type = "item", name = "bi-woodpulp", amount = 270}, - }, - main_product = "", - subgroup = "bio-bio-farm-fluid-3", - order = "c[bi]-ssw-c1[raw-wood3]", - -- This is a custom property for use by "Krastorio 2" (it will change - -- ingredients/results; used for wood/wood pulp) - mod = "Bio_Industries_2", - }, - - - --- Raw Wood from adv-fertilizer - { - type = "recipe", - name = "bi-logs-4", - icon = ICONPATH .. "raw-wood-mk4.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "raw-wood-mk4.png", - icon_size = 64, - } - }, - category = "biofarm-mod-farm", - enabled = false, - always_show_made_in = true, - allow_decomposition = false, - energy_required = 100, - ingredients = { - {type = "item", name = "seedling", amount = 40}, - {type = "fluid", name = "water", amount = 100}, - {type = "item", name = "bi-adv-fertilizer", amount = 5}, - }, - results = { - {type = "item", name = "wood", amount = 160}, - {type = "item", name = "bi-woodpulp", amount = 320}, - }, - main_product = "", - subgroup = "bio-bio-farm-fluid-3", - order = "c[bi]-ssw-c1[raw-wood4]", - -- This is a custom property for use by "Krastorio 2" (it will change - -- ingredients/results; used for wood/wood pulp) - mod = "Bio_Industries_2", - }, - - - --- Bio Greenhouse (ENTITY) - { - type = "recipe", - name = "bi-bio-greenhouse", - localised_name = {"entity-name.bi-bio-greenhouse"}, - localised_description = {"entity-description.bi-bio-greenhouse"}, - icon = ICONPATH .. "bio_greenhouse.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bio_greenhouse.png", - icon_size = 64, - } - }, - enabled = false, - energy_required = 2.5, - ingredients = { - {type="item", name="iron-stick", amount=10}, - {type="item", name="stone-brick", amount=10}, - {type="item", name="small-lamp", amount=5}, - }, - results = {{type="item", name="bi-bio-greenhouse", amount=1}}, - main_product = "", - allow_as_intermediate = true, -- Added for 0.18.34/1.1.4 - always_show_made_in = false, -- Added for 0.18.34/1.1.4 - allow_decomposition = false, -- Added for 0.18.34/1.1.4 - subgroup = "bio-bio-farm-fluid-entity", - order = "a[bi]", - }, - - - --- Bio Farm (ENTITY) - { - type = "recipe", - name = "bi-bio-farm", - localised_name = {"entity-name.bi-bio-farm"}, - localised_description = {"entity-description.bi-bio-farm"}, - icon = ICONPATH .. "Bio_Farm_Icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "Bio_Farm_Icon.png", - icon_size = 64, - } - }, - enabled = false, - energy_required = 5, - ingredients = { - {type="item", name="bi-bio-greenhouse", amount=4}, - {type="item", name="stone-crushed", amount=10}, - {type="item", name="copper-cable", amount=10}, - }, - results = {{type="item", name="bi-bio-farm", amount=1}}, - main_product = "", - allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 - always_show_made_in = false, -- Added for 0.18.34/1.1.4 - allow_decomposition = true, -- Added for 0.18.34/1.1.4 - subgroup = "bio-bio-farm-fluid-entity", - order = "b[bi]", - }, - - - -- Woodpulp-- - { - type = "recipe", - name = "bi-woodpulp", - icon = ICONPATH .. "Woodpulp_raw-wood.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "Woodpulp_raw-wood.png", - icon_size = 64, - } - }, - subgroup = "bio-bio-farm-raw", - order = "a[bi]-a-a[bi-1-woodpulp]", - enabled = false, - energy_required = 2, - ingredients = {{type="item", name="wood", amount=2}}, - results = {{type="item", name="bi-woodpulp", amount=4}}, - main_product = "", - allow_as_intermediate = true, -- Added for 0.18.34/1.1.4 - allow_intermediates = true, -- Added for 0.18.35/1.1.5 - always_show_made_in = false, -- Added for 0.18.34/1.1.4 - allow_decomposition = false, -- Added for 0.18.34/1.1.4 - -- This is a custom property for use by "Krastorio 2" (it will change - -- ingredients/results; used for wood/wood pulp) - mod = "Bio_Industries_2", - }, - - - --- Resin recipe Pulp - { - type = "recipe", - name = "bi-resin-pulp", - icon = ICONPATH .. "bi_resin_pulp.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bi_resin_pulp.png", - icon_size = 64, - } - }, - subgroup = "bio-bio-farm-raw", - order = "a[bi]-a-ba[bi-2-resin-2-pulp]", - enabled = false, - energy_required = 1, - ingredients = { - {type = "item", name = "bi-woodpulp", amount = 3}, - }, - results = {{type="item", name="resin", amount=1}}, - main_product = "", - allow_as_intermediate = true, -- Added for 0.18.34/1.1.4 - always_show_made_in = false, -- Added for 0.18.34/1.1.4 - allow_decomposition = false, -- Added for 0.18.34/1.1.4 - -- This is a custom property for use by "Krastorio 2" (it will change - -- ingredients/results; used for wood/wood pulp) - mod = "Bio_Industries_2", - }, - - - - -- Wood from pulp-- - { - type = "recipe", - name = "bi-wood-from-pulp", - icon = ICONPATH .. "wood_from_pulp.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "wood_from_pulp.png", - icon_size = 64, - } - }, - subgroup = "bio-bio-farm-raw", - order = "a[bi]-a-c[bi-3-wood_from_pulp]", - enabled = false, - energy_required = 2.5, - ingredients = { - {type = "item", name = "bi-woodpulp", amount = 8}, - {type = "item", name = "resin", amount = 2}, - }, - results = {{type="item", name="wood", amount=4}}, - main_product = "", - allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 - always_show_made_in = false, -- Added for 0.18.34/1.1.4 - allow_decomposition = false, -- Added for 0.18.34/1.1.4 - -- This is a custom property for use by "Krastorio 2" (it will change - -- ingredients/results; used for wood/wood pulp) - mod = "Bio_Industries_2", - }, - - - - -- Wood Fuel Brick - { - type = "recipe", - name = "bi-wood-fuel-brick", - icon = ICONPATH .. "Fuel_Brick.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "Fuel_Brick.png", - icon_size = 64, - } - }, - subgroup = "bio-bio-farm-raw", - order = "a[bi]-a-bx[bi-4-woodbrick]", - energy_required = 2, - ingredients = {{type="item", name="bi-woodpulp", amount=24}}, - results = {{type="item", name="wood-bricks", amount=1}}, - main_product = "", - enabled = false, - allow_as_intermediate = true, -- Changed for 0.18.34/1.1.4 - always_show_made_in = false, -- Changed for 0.18.34/1.1.4 - allow_decomposition = true, -- Changed for 0.18.34/1.1.4 - -- This is a custom property for use by "Krastorio 2" (it will change - -- ingredients/results; used for wood/wood pulp) - mod = "Bio_Industries_2", - }, - - - -- ASH -- - { - type = "recipe", - name = "bi-ash-1", - icon = ICONPATH .. "ash_raw-wood.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "ash_raw-wood.png", - icon_size = 64, - } - }, - category = "biofarm-mod-smelting", - subgroup = "bio-bio-farm-raw", - order = "a[bi]-a-cb[bi-5-ash-1]", - enabled = false, - energy_required = 3, - ingredients = {{type="item", name="wood", amount=5}}, - results = {{type="item", name="bi-ash", amount=5}}, - main_product = "", - allow_as_intermediate = true, -- Changed for 0.18.34/1.1.4 - always_show_made_in = false, -- Changed for 0.18.34/1.1.4 - allow_decomposition = true, -- Changed for 0.18.34/1.1.4 - - -- This is a custom property for use by "Krastorio 2" (it will change - -- ingredients/results; used for wood/wood pulp) - mod = "Bio_Industries_2", - }, - - - -- ASH 2-- - { - type = "recipe", - name = "bi-ash-2", - icon = ICONPATH .. "ash_woodpulp.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "ash_woodpulp.png", - icon_size = 64, - } - }, - category = "biofarm-mod-smelting", - subgroup = "bio-bio-farm-raw", - order = "a[bi]-a-ca[bi-5-ash-2]", - enabled = false, - allow_as_intermediate = true, -- Added for 0.18.34/1.1.4 - always_show_made_in = false, -- Changed for 0.18.34/1.1.4 - allow_decomposition = true, -- Changed for 0.18.34/1.1.4 - - energy_required = 2.5, - ingredients = {{type="item", name="bi-woodpulp", amount=12}}, - results = {{type="item", name="bi-ash", amount=6}}, - main_product = "", - -- This is a custom property for use by "Krastorio 2" (it will change - -- ingredients/results; used for wood/wood pulp) - mod = "Bio_Industries_2", - }, - - - -- CHARCOAL 1 - { - type = "recipe", - name = "bi-charcoal-1", - icon = ICONPATH .. "charcoal_woodpulp.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "charcoal_woodpulp.png", - icon_size = 64, - } - }, - category = "biofarm-mod-smelting", - subgroup = "bio-bio-farm-raw", - order = "a[bi]-a-d[bi-6-charcoal-1]", - energy_required = 15, - ingredients = {{type="item", name="bi-woodpulp", amount=24}}, - results = {{type="item", name="wood-charcoal", amount=5}}, - main_product = "", - enabled = false, - always_show_made_in = true, - allow_decomposition = false, - allow_as_intermediate = false, - -- This is a custom property for use by "Krastorio 2" (it will change - -- ingredients/results; used for wood/wood pulp) - mod = "Bio_Industries_2", - }, - - - -- CHARCOAL 2 - { - type = "recipe", - name = "bi-charcoal-2", - icon = ICONPATH .. "charcoal_raw-wood.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "charcoal_raw-wood.png", - icon_size = 64, - } - }, - subgroup = "bio-bio-farm-raw", - order = "a[bi]-a-d[bi-6-charcoal-2]", - category = "biofarm-mod-smelting", - energy_required = 20, - ingredients = {{type="item", name="wood", amount=20}}, - results = {{type="item", name="wood-charcoal", amount=8}}, - main_product = "", - enabled = false, - always_show_made_in = true, - allow_decomposition = false, - allow_as_intermediate = false, - -- This is a custom property for use by "Krastorio 2" (it will change - -- ingredients/results; used for wood/wood pulp) - mod = "Bio_Industries_2", - }, - - - -- COAL 1 -- - { - type = "recipe", - name = "bi-coal-1", - icon = ICONPATH .. "coal_mk1.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "coal_mk1.png", - icon_size = 64, - } - }, - category = "biofarm-mod-smelting", - subgroup = "bio-bio-farm-raw", - order = "a[bi]-a-ea[bi-6-coal-1]", - energy_required = 20, - ingredients = {{type="item", name="wood-charcoal", amount=10}}, - results = {{type="item", name="coal", amount=12}}, - main_product = "", - enabled = false, - allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 - always_show_made_in = true, -- Changed for 0.18.34/1.1.4 - allow_decomposition = true, -- Changed for 0.18.34/1.1.4 - - }, - - - -- COAL 2 -- - { - type = "recipe", - name = "bi-coal-2", - icon = ICONPATH .. "coal_mk2.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "coal_mk2.png", - icon_size = 64, - } - }, - category = "biofarm-mod-smelting", - subgroup = "bio-bio-farm-raw", - order = "a[bi]-a-eb[bi-6-coal-2]", - energy_required = 20, - ingredients = {{type="item", name="wood-charcoal", amount=10}}, - results = {{type="item", name="coal", amount=16}}, - main_product = "", - enabled = false, - allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 - always_show_made_in = true, -- Changed for 0.18.34/1.1.4 - allow_decomposition = true, -- Changed for 0.18.34/1.1.4 - - }, - - - -- Solid Fuel - { - type = "recipe", - name = "bi-solid-fuel", - icon = ICONPATH .. "bi_solid_fuel_wood_brick.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bi_solid_fuel_wood_brick.png", - icon_size = 64, - } - }, - subgroup = "bio-bio-farm-raw", - order = "a[bi]-a-fa[bi-7-solid_fuel]", - category = "chemistry", - energy_required = 2, - ingredients = {{type="item", name="wood-bricks", amount=3}}, - results = {{type="item", name="solid-fuel", amount=2}}, - main_product = "", - enabled = false, - allow_as_intermediate = true, -- Changed for 0.18.34/1.1.4 - always_show_made_in = true, -- Changed for 0.18.34/1.1.4 - allow_decomposition = true, -- Changed for 0.18.34/1.1.4 - - }, - - - -- Pellet-Coke from Coal -- Used to be Coke-Coal - { - type = "recipe", - name = "bi-coke-coal", - icon = ICONPATH .. "pellet_coke_coal.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "pellet_coke_coal.png", - icon_size = 64, - } - }, - category = "biofarm-mod-smelting", - subgroup = "bio-bio-farm-raw", - order = "a[bi]-a-g[bi-8-coke-coal]-1", - energy_required = 20, - ingredients = {{type="item", name="coal", amount=12}}, - results = {{type="item", name="pellet-coke", amount=2}}, - main_product = "", - enabled = false, - allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 - always_show_made_in = true, -- Changed for 0.18.34/1.1.4 - allow_decomposition = true, -- Changed for 0.18.34/1.1.4 - - }, - - - -- Pellet-Coke from Solid Fuel -- Used to be Coke-Coal - { - type = "recipe", - name = "bi-pellet-coke", - icon = ICONPATH .. "pellet_coke_solid.png", - --icon = "__Bio_Industries_2__/graphics/icons/pellet_coke_c.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "pellet_coke_solid.png", - icon_size = 64, - } - }, - category = "biofarm-mod-smelting", - subgroup = "bio-bio-farm-raw", - order = "a[bi]-a-g[bi-8-coke-coal]-3", - energy_required = 6, - ingredients = {{type="item", name="solid-fuel", amount=5}}, - results = {{type="item", name="pellet-coke", amount=3}}, - main_product = "", - enabled = false, - allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 - always_show_made_in = true, -- Changed for 0.18.34/1.1.4 - allow_decomposition = true, -- Changed for 0.18.34/1.1.4 - }, - - -- CRUSHED STONE from stone -- - { - type = "recipe", - name = "bi-crushed-stone-1", - icon = ICONPATH .. "crushed-stone-stone.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "crushed-stone-stone.png", - icon_size = 64, - } - }, - category = "biofarm-mod-crushing", - subgroup = "bio-bio-farm-raw", - order = "a[bi]-a-z[bi-9-stone-crushed-1]", - energy_required = 1.5, - ingredients = {{type="item", name="stone", amount=1}}, - results = {{type="item", name="stone-crushed", amount=2}}, - main_product = "", - enabled = false, - allow_as_intermediate = true, -- Added for 0.18.34/1.1.4 - always_show_made_in = true, -- Changed for 0.18.34/1.1.4 - allow_decomposition = true, -- Changed for 0.18.34/1.1.4 - - }, - - -- CRUSHED STONE from concrete -- - { - type = "recipe", - name = "bi-crushed-stone-2", - localised_description = {"recipe-description.bi-crushed-stone"}, - icon = ICONPATH .. "crushed-stone-concrete.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "crushed-stone-concrete.png", - icon_size = 64, - } - }, - category = "biofarm-mod-crushing", - subgroup = "bio-bio-farm-raw", - order = "a[bi]-a-z[bi-9-stone-crushed-2]", - energy_required = 2.5, -- Increased crafting time - ingredients = {{type="item", name="concrete", amount=1}}, - results = {{type="item", name="stone-crushed", amount=2}}, - main_product = "", - enabled = false, - allow_as_intermediate = true, -- Added for 0.18.34/1.1.4 - always_show_made_in = true, -- Changed for 0.18.34/1.1.4 - allow_decomposition = true, -- Changed for 0.18.34/1.1.4 - }, - - -- CRUSHED STONE from hazard concrete -- - { - type = "recipe", - name = "bi-crushed-stone-3", - localised_description = {"recipe-description.bi-crushed-stone"}, - icon = ICONPATH .. "crushed-stone-hazard-concrete.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "crushed-stone-hazard-concrete.png", - icon_size = 64, - } - }, - category = "biofarm-mod-crushing", - subgroup = "bio-bio-farm-raw", - order = "a[bi]-a-z[bi-9-stone-crushed-3]", - energy_required = 2.5, -- Increased crafting time - ingredients = {{type="item", name="hazard-concrete", amount=1}}, - results = {{type="item", name="stone-crushed", amount=2}}, - main_product = "", - enabled = false, - allow_as_intermediate = true, -- Added for 0.18.34/1.1.4 - always_show_made_in = true, -- Changed for 0.18.34/1.1.4 - allow_decomposition = true, -- Changed for 0.18.34/1.1.4 - - }, - - -- CRUSHED STONE from refined concrete -- - { - type = "recipe", - name = "bi-crushed-stone-4", - localised_description = {"recipe-description.bi-crushed-stone"}, - icon = ICONPATH .. "crushed-stone-refined-concrete.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "crushed-stone-refined-concrete.png", - icon_size = 64, - } - }, - category = "biofarm-mod-crushing", - subgroup = "bio-bio-farm-raw", - order = "a[bi]-a-z[bi-9-stone-crushed-4]", - energy_required = 5, -- Increased crafting time - ingredients = {{type="item", name="refined-concrete", amount=1}}, - results = {{type="item", name="stone-crushed", amount=4}}, - main_product = "", - enabled = false, - allow_as_intermediate = true, -- Added for 0.18.34/1.1.4 - always_show_made_in = true, -- Changed for 0.18.34/1.1.4 - allow_decomposition = true, -- Changed for 0.18.34/1.1.4 - }, - - -- CRUSHED STONE from refined hazard concrete -- - { - type = "recipe", - name = "bi-crushed-stone-5", - localised_description = {"recipe-description.bi-crushed-stone"}, - icon = ICONPATH .. "crushed-stone-refined-hazard-concrete.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "crushed-stone-refined-hazard-concrete.png", - icon_size = 64, - } - }, - category = "biofarm-mod-crushing", - subgroup = "bio-bio-farm-raw", - order = "a[bi]-a-z[bi-9-stone-crushed-5]", - energy_required = 5, -- Increased crafting time - ingredients = {{type="item", name="refined-hazard-concrete", amount=1}}, - results = {{type="item", name="stone-crushed", amount=4}}, - main_product = "", - enabled = false, - allow_as_intermediate = true, -- Added for 0.18.34/1.1.4 - always_show_made_in = true, -- Changed for 0.18.34/1.1.4 - allow_decomposition = true, -- Changed for 0.18.34/1.1.4 - }, - - -- STONE Brick-- - { - type = "recipe", - name = "bi-stone-brick", - icon = ICONPATH .. "bi_stone_brick.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bi_stone_brick.png", - icon_size = 64, - } - }, - --category = "smelting", - category = "chemistry", - subgroup = "bio-bio-farm-raw", - order = "a[bi]-a-z2[bi-9-stone-brick]", - energy_required = 5, - ingredients = { - {type = "item", name = "stone-crushed", amount = 6}, - {type = "item", name = "bi-ash", amount = 2}, - }, - results = { - {type = "item", name = "stone-brick", amount = 2}, - }, - enabled = false, - main_product = "", - allow_as_intermediate = true, -- Added for 0.18.34/1.1.4 - always_show_made_in = true, -- Changed for 0.18.34/1.1.4 - allow_decomposition = true, -- Changed for 0.18.34/1.1.4 - }, - - -- COKERY (ENTITY)-- - { - type = "recipe", - name = "bi-cokery", - localised_name = {"entity-name.bi-cokery"}, - localised_description = {"entity-description.bi-cokery"}, - icon = ICONPATH .. "cokery.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "cokery.png", - icon_size = 64, - } - }, - enabled = false, - energy_required = 8, - ingredients = { - {type="item", name="stone-furnace", amount=3}, - {type="item", name="steel-plate", amount=10}, - }, - results = {{type="item", name="bi-cokery", amount=1}}, - main_product = "", - allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 - always_show_made_in = false, -- Added for 0.18.34/1.1.4 - allow_decomposition = true, -- Added for 0.18.34/1.1.4 - subgroup = "bio-bio-farm-raw-entity", - order = "a[bi]", - }, - - - -- STONE CRUSHER (ENTITY) -- - { - type = "recipe", - name = "bi-stone-crusher", - localised_name = {"entity-name.bi-stone-crusher"}, - localised_description = {"entity-description.bi-stone-crusher"}, - icon = ICONPATH .. "stone_crusher.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "stone_crusher.png", - icon_size = 64, - } - }, - enabled = false, - energy_required = 3, - ingredients = { - {type="item", name="iron-plate", amount=10}, - {type="item", name="steel-plate", amount=10}, - {type="item", name="iron-gear-wheel", amount=5}, - }, - results = {{type="item", name="bi-stone-crusher", amount=1}}, - main_product = "", - allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 - always_show_made_in = false, -- Added for 0.18.34/1.1.4 - allow_decomposition = true, -- Added for 0.18.34/1.1.4 - subgroup = "bio-bio-farm-raw-entity", - order = "b[bi]", - }, - - - -- LIQUID-AIR -- - { - type = "recipe", - name = "bi-liquid-air", - icon = ICONPATH .. "liquid-air.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "liquid-air.png", - icon_size = 64, - } - }, - category = "chemistry", - energy_required = 1, - ingredients = {}, - results = { - {type = "fluid", name = "liquid-air", amount = 10} - }, - main_product = "", - enabled = false, - always_show_made_in = true, - allow_decomposition = false, - allow_as_intermediate = false, - subgroup = "bio-bio-farm-intermediate-product", - order = "aa", - }, - - ---NITROGEN -- - { - type = "recipe", - name = "bi-nitrogen", - icon = ICONPATH .. "nitrogen.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "nitrogen.png", - icon_size = 64, - } - }, - category = "chemistry", - energy_required = 10, - ingredients = { - {type = "fluid", name = "liquid-air", amount = 20} - }, - results = { - {type = "fluid", name = "nitrogen", amount = 20}, - }, - main_product = "", - enabled = false, - always_show_made_in = true, - allow_decomposition = false, - allow_as_intermediate = false, - --main_product= "nitrogen", - subgroup = "bio-bio-farm-intermediate-product", - order = "ab", - }, - - - -- fertilizer- Sulfur- - { - type = "recipe", - name = "bi-fertilizer-1", - icon = ICONPATH .. "fertilizer_sulfur.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "fertilizer_sulfur.png", - icon_size = 64, - } - }, - category = "chemistry", - energy_required = 5, - ingredients = { - {type = "item", name = "sulfur", amount = 1}, - {type = "fluid", name = "nitrogen", amount = 10}, - {type = "item", name = "bi-ash", amount = 10} - }, - results = { - {type = "item", name = "fertilizer", amount = 5} - }, - main_product = "", - enabled = false, - allow_as_intermediate = true, -- Changed for 0.18.34/1.1.4 - always_show_made_in = true, -- Changed for 0.18.34/1.1.4 - allow_decomposition = true, -- Changed for 0.18.34/1.1.4 - subgroup = "bio-bio-farm-intermediate-product", - order = "b[bi-fertilizer]", - }, - - - -- Advanced fertilizer 1 -- - { - type = "recipe", - name = "bi-adv-fertilizer-1", - icon = ICONPATH .. "advanced_fertilizer_64.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "advanced_fertilizer_64.png", - icon_size = 64, - } - }, - category = "chemistry", - energy_required = 50, - ingredients = { - {type = "item", name = "fertilizer", amount = 25}, - {type = "fluid", name = "bi-biomass", amount = 10}, -- <== Need to add during Data Updates - --{type = "fluid", name = "NE_enhanced-nutrient-solution", amount = 5}, -- Will be added if you have Natural Evolution Buildings Mod installed. - }, - results = { - {type = "item", name = "bi-adv-fertilizer", amount = 50} - }, - main_product = "", - enabled = false, - allow_as_intermediate = true, -- Changed for 0.18.34/1.1.4 - always_show_made_in = true, -- Changed for 0.18.34/1.1.4 - allow_decomposition = true, -- Changed for 0.18.34/1.1.4 - subgroup = "bio-bio-farm-intermediate-product", - order = "b[bi-fertilizer]-b[bi-adv-fertilizer-1]", - }, - - - -- Advanced fertilizer 2-- - { - type = "recipe", - name = "bi-adv-fertilizer-2", - icon = ICONPATH .. "advanced_fertilizer_64.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "advanced_fertilizer_64.png", - icon_size = 64, - } - }, - category = "chemistry", - energy_required = 50, - ingredients = { - {type = "item", name = "fertilizer", amount = 20}, - {type = "fluid", name = "bi-biomass", amount = 10}, - {type = "item", name = "bi-woodpulp", amount = 10}, - }, - results = { - {type = "item", name = "bi-adv-fertilizer", amount = 20} - }, - main_product = "", - enabled = false, - allow_as_intermediate = true, -- Changed for 0.18.34/1.1.4 - always_show_made_in = true, -- Changed for 0.18.34/1.1.4 - allow_decomposition = true, -- Changed for 0.18.34/1.1.4 - subgroup = "bio-bio-farm-intermediate-product", - order = "b[bi-fertilizer]-b[bi-adv-fertilizer-2]", - -- This is a custom property for use by "Krastorio 2" (it will change - -- ingredients/results; used for wood/wood pulp) - mod = "Bio_Industries_2", - }, - - - --- Seed Bomb - Basic - { - type = "recipe", - name = "bi-seed-bomb-basic", - icon = ICONPATH .. "Seed_bomb_icon_b.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "Seed_bomb_icon_b.png", - icon_size = 64, - } - }, - enabled = false, - energy_required = 8, - ingredients = { - {type="item", name="bi-seed", amount=400}, - {type="item", name="rocket", amount=1}, - }, - results = {{type="item", name="bi-seed-bomb-basic", amount=1}}, - main_product = "", - allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 - always_show_made_in = false, -- Added for 0.18.34/1.1.4 - allow_decomposition = true, -- Added for 0.18.34/1.1.4 - subgroup = "bi-ammo", - order = "a[rocket-launcher]-x[seed-bomb]-a", - }, - - - --- Seed Bomb - Standard - { - type = "recipe", - name = "bi-seed-bomb-standard", - icon = ICONPATH .. "Seed_bomb_icon_s.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "Seed_bomb_icon_s.png", - icon_size = 64, - } - }, - enabled = false, - energy_required = 8, - ingredients = { - {type="item", name="bi-seed", amount=400}, - {type="item", name="fertilizer", amount=200}, - {type="item", name="rocket", amount=1}, - }, - results = {{type="item", name="bi-seed-bomb-standard", amount=1}}, - main_product = "", - allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 - always_show_made_in = false, -- Added for 0.18.34/1.1.4 - allow_decomposition = true, -- Added for 0.18.34/1.1.4 - subgroup = "bi-ammo", - order = "a[rocket-launcher]-x[seed-bomb]-b", - }, - - - --- Seed Bomb - Advanced - { - type = "recipe", - name = "bi-seed-bomb-advanced", - icon = ICONPATH .. "Seed_bomb_icon_a.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "Seed_bomb_icon_a.png", - icon_size = 64, - } - }, - enabled = false, - energy_required = 8, - ingredients = { - {type="item", name="bi-seed", amount=400}, - {type="item", name="bi-adv-fertilizer", amount=200}, - {type="item", name="rocket", amount=1}, - }, - results = {{type="item", name="bi-seed-bomb-advanced", amount=1}}, - main_product = "", - allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 - always_show_made_in = false, -- Added for 0.18.34/1.1.4 - allow_decomposition = true, -- Added for 0.18.34/1.1.4 - subgroup = "bi-ammo", - order = "a[rocket-launcher]-x[seed-bomb]-c", - }, - - - --- Arboretum (ENTITY) - { - type = "recipe", - name = "bi-arboretum", - localised_name = {"entity-name.bi-arboretum"}, - localised_description = {"entity-description.bi-arboretum"}, - icon = ICONPATH .. "Arboretum_Icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "Arboretum_Icon.png", - icon_size = 64, - } - }, - enabled = false, - energy_required = 10, - ingredients = { - {type="item", name="bi-bio-greenhouse", amount=4}, - {type="item", name="assembling-machine-2", amount=2}, - {type="item", name="stone-brick", amount=10}, - }, - results = {{type="item", name="bi-arboretum-area", amount=1}}, - main_product = "", - allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 - always_show_made_in = false, -- Added for 0.18.34/1.1.4 - allow_decomposition = true, -- Added for 0.18.34/1.1.4 - }, - - - --- Arboretum - Plant Trees - { - type = "recipe", - name = "bi-arboretum-r1", - icon = ICONPATH .. "Seedling_b.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "Seedling_b.png", - icon_size = 64, - } - }, - category = "bi-arboretum", - energy_required = 10000, - ingredients = { - {type = "item", name = "seedling", amount = 1}, - {type = "fluid", name = "water", amount = 100}, - }, - results = { - {type = "item", name = "bi-arboretum-r1", amount = 1, probability = 0}, - }, - main_product = "", - enabled = false, - always_show_made_in = true, - allow_decomposition = false, - allow_as_intermediate = false, - subgroup = "bio-arboretum-fluid", - order = "a[bi]-ssw-a1[bi-arboretum-r1]", - }, - - - --- Arboretum - Change Terrain - { - type = "recipe", - name = "bi-arboretum-r2", - icon = ICONPATH .. "bi_change_1.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bi_change_1.png", - icon_size = 64, - } - }, - category = "bi-arboretum", - energy_required = 10000, - ingredients = { - {type = "item", name = "fertilizer", amount = 1}, - {type = "fluid", name = "water", amount = 100}, - }, - results = { - {type = "item", name = "bi-arboretum-r2", amount = 1, probability = 0}, - }, - main_product = "", - enabled = false, - always_show_made_in = true, - allow_decomposition = false, - allow_as_intermediate = false, - subgroup = "bio-arboretum-fluid", - order = "a[bi]-ssw-a1[bi-arboretum-r2]", - }, - - - --- Arboretum - Change Terrain - Advanced - { - type = "recipe", - name = "bi-arboretum-r3", - icon = ICONPATH .. "bi_change_2.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bi_change_2.png", - icon_size = 64, - } - }, - category = "bi-arboretum", - energy_required = 10000, - ingredients = { - {type = "item", name = "bi-adv-fertilizer", amount = 1}, - {type = "fluid", name = "water", amount = 100}, - }, - results = { - {type = "item", name = "bi-arboretum-r3", amount = 1, probability = 0}, - }, - main_product = "", - enabled = false, - always_show_made_in = true, - allow_decomposition = false, - allow_as_intermediate = false, - subgroup = "bio-arboretum-fluid", - order = "a[bi]-ssw-a1[bi-arboretum-r3]", - }, - - - --- Arboretum - Plant Trees & Change Terrain - { - type = "recipe", - name = "bi-arboretum-r4", - icon = ICONPATH .. "bi_change_plant_1.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bi_change_plant_1.png", - icon_size = 64, - } - }, - category = "bi-arboretum", - energy_required = 10000, - ingredients = { - {type = "item", name = "seedling", amount = 1}, - {type = "item", name = "fertilizer", amount = 1}, - {type = "fluid", name = "water", amount = 100}, - }, - results = { - {type = "item", name = "bi-arboretum-r4", amount = 1, probability = 0}, - }, - main_product = "", - enabled = false, - always_show_made_in = true, - allow_decomposition = false, - allow_as_intermediate = false, - subgroup = "bio-arboretum-fluid", - order = "a[bi]-ssw-a1[bi-arboretum-r4]", - }, - - - --- Arboretum - Plant Trees & Change Terrain Advanced - { - type = "recipe", - name = "bi-arboretum-r5", - icon = ICONPATH .. "bi_change_plant_2.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bi_change_plant_2.png", - icon_size = 64, - } - }, - category = "bi-arboretum", - energy_required = 10000, - ingredients = { - {type = "item", name = "seedling", amount = 1}, - {type = "item", name = "bi-adv-fertilizer", amount = 1}, - {type = "fluid", name = "water", amount = 100}, - }, - results = { - {type = "item", name = "bi-arboretum-r5", amount = 1, probability = 0}, - }, - main_product = "", - enabled = false, - always_show_made_in = true, - allow_decomposition = false, - allow_as_intermediate = false, - subgroup = "bio-arboretum-fluid", - order = "a[bi]-ssw-a1[bi-arboretum-r5]", - }, -}) +local BioInd = require('common')('Bio_Industries_2') +local ICONPATH = BioInd.modRoot .. "/graphics/icons/" +local ICONPATH_W = BioInd.modRoot .. "/graphics/icons/weapons/" +local ICONPATH_E = BioInd.modRoot .. "/graphics/icons/entity/" + +local nitrogen = data.raw.fluid["kr-nitrogen"] and "kr-nitrogen" or "nitrogen" + +data:extend({ + + --- Seeds from Water (BASIC) + { + type = "recipe", + name = "bi-seed-1", + icon = ICONPATH .. "bio_seed1.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "bio_seed1.png", + icon_size = 64, + } + }, + category = "biofarm-mod-greenhouse", + energy_required = 200, + ingredients = { + { type = "fluid", name = "water", amount = 100 }, + { type = "item", name = "wood", amount = 20 }, + }, + results = { + { type = "item", name = "bi-seed", amount_min = 30, amount_max = 50 }, + }, + main_product = "", + enabled = false, + allow_productivity = true, + always_show_made_in = true, + allow_decomposition = false, + subgroup = "bio-bio-farm-fluid-1", + order = "a[bi]-ssw-a1[bi-seed-1]", + -- This is a custom property for use by "Krastorio 2" (it will change + -- ingredients/results; used for wood/wood pulp) + mod = "Bio_Industries_2", + }, + + + --- Seeds from Water & Ash + { + type = "recipe", + name = "bi-seed-2", + icon = ICONPATH .. "bio_seed2.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "bio_seed2.png", + icon_size = 64, + } + }, + category = "biofarm-mod-greenhouse", + energy_required = 150, + ingredients = { + { type = "fluid", name = "water", amount = 40 }, + { type = "item", name = "wood", amount = 20 }, + { type = "item", name = "bi-ash", amount = 10 }, + }, + results = { + { type = "item", name = "bi-seed", amount_min = 40, amount_max = 60 }, + }, + main_product = "", + enabled = false, + allow_productivity = true, + always_show_made_in = true, + allow_decomposition = false, + subgroup = "bio-bio-farm-fluid-1", + order = "a[bi]-ssw-a1[bi-seed-2]", + -- This is a custom property for use by "Krastorio 2" (it will change + -- ingredients/results; used for wood/wood pulp) + mod = "Bio_Industries_2", + }, + + + --- Seeds from Water & fertilizer + { + type = "recipe", + name = "bi-seed-3", + icon = ICONPATH .. "bio_seed3.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "bio_seed3.png", + icon_size = 64, + } + }, + category = "biofarm-mod-greenhouse", + energy_required = 100, + ingredients = { + { type = "fluid", name = "water", amount = 40 }, + { type = "item", name = "wood", amount = 20 }, + { type = "item", name = "fertilizer", amount = 10 }, + }, + results = { + { type = "item", name = "bi-seed", amount_min = 50, amount_max = 70 }, + }, + main_product = "", + enabled = false, + allow_productivity = true, + always_show_made_in = true, + allow_decomposition = false, + subgroup = "bio-bio-farm-fluid-1", + order = "a[bi]-ssw-a1[bi-seed-3]", + -- This is a custom property for use by "Krastorio 2" (it will change + -- ingredients/results; used for wood/wood pulp) + mod = "Bio_Industries_2", + }, + + + --- Seeds from Water & Adv-fertilizer + { + type = "recipe", + name = "bi-seed-4", + icon = ICONPATH .. "bio_seed4.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "bio_seed4.png", + icon_size = 64, + } + }, + category = "biofarm-mod-greenhouse", + energy_required = 50, + ingredients = { + { type = "item", name = "wood", amount = 20 }, + { type = "item", name = "bi-adv-fertilizer", amount = 10 }, + { type = "fluid", name = "water", amount = 40 }, + }, + results = { + { type = "item", name = "bi-seed", amount_min = 60, amount_max = 100 }, + }, + main_product = "", + enabled = false, + allow_productivity = true, + always_show_made_in = true, + allow_decomposition = false, + subgroup = "bio-bio-farm-fluid-1", + order = "a[bi]-ssw-a1[bi-seed-4]", + -- This is a custom property for use by "Krastorio 2" (it will change + -- ingredients/results; used for wood/wood pulp) + mod = "Bio_Industries_2", + }, + + + --- Seedlings from Water (BASIC) + { + type = "recipe", + name = "bi-seedling-1", + icon = ICONPATH .. "Seedling1.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "Seedling1.png", + icon_size = 64, + } + }, + category = "biofarm-mod-greenhouse", + energy_required = 400, + ingredients = { + { type = "fluid", name = "water", amount = 100 }, + }, + results = { + { type = "item", name = "seedling", amount_min = 25, amount_max = 55 }, + }, + main_product = "", + enabled = false, + allow_productivity = true, + always_show_made_in = true, + allow_decomposition = false, + subgroup = "bio-bio-farm-fluid-2", + order = "b[bi]-ssw-b1[bi-Seedling_Mk1]", + -- This is a custom property for use by "Krastorio 2" (it will change + -- ingredients/results; used for wood/wood pulp) + mod = "Bio_Industries_2", + }, + + + --- Seedlings from Water & Ash + { + type = "recipe", + name = "bi-seedling-2", + icon = ICONPATH .. "Seedling2.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "Seedling2.png", + icon_size = 64, + } + }, + category = "biofarm-mod-greenhouse", + energy_required = 300, + ingredients = { + { type = "item", name = "bi-seed", amount = 25 }, + { type = "item", name = "bi-ash", amount = 10 }, + { type = "fluid", name = "water", amount = 100 }, + }, + results = { + { type = "item", name = "seedling", amount_min = 45, amount_max = 75 }, + }, + main_product = "", + enabled = false, + allow_productivity = true, + always_show_made_in = true, + allow_decomposition = false, + subgroup = "bio-bio-farm-fluid-2", + order = "b[bi]-ssw-b1[bi-Seedling_Mk2]", + -- This is a custom property for use by "Krastorio 2" (it will change + -- ingredients/results; used for wood/wood pulp) + mod = "Bio_Industries_2", + }, + + + --- Seedlings from Water & fertilizer + { + type = "recipe", + name = "bi-seedling-3", + icon = ICONPATH .. "Seedling3.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "Seedling3.png", + icon_size = 64, + } + }, + category = "biofarm-mod-greenhouse", + energy_required = 200, + ingredients = { + { type = "item", name = "bi-seed", amount = 30 }, + { type = "item", name = "fertilizer", amount = 10 }, + { type = "fluid", name = "water", amount = 100 }, + }, + results = { + { type = "item", name = "seedling", amount_min = 75, amount_max = 105 }, + }, + main_product = "", + enabled = false, + allow_productivity = true, + always_show_made_in = true, + subgroup = "bio-bio-farm-fluid-2", + order = "b[bi]-ssw-b1[bi-Seedling_Mk3]", + -- This is a custom property for use by "Krastorio 2" (it will change + -- ingredients/results; used for wood/wood pulp) + mod = "Bio_Industries_2", + }, + + + --- Seedlings from Water & Adv-fertilizer + { + type = "recipe", + name = "bi-seedling-4", + icon = ICONPATH .. "Seedling4.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "Seedling4.png", + icon_size = 64, + } + }, + category = "biofarm-mod-greenhouse", + energy_required = 100, + ingredients = { + { type = "item", name = "bi-seed", amount = 40 }, + { type = "fluid", name = "water", amount = 100 }, + { type = "item", name = "bi-adv-fertilizer", amount = 10 }, + }, + results = { + { type = "item", name = "seedling", amount_min = 140, amount_max = 180 }, + }, + main_product = "", + enabled = false, + allow_productivity = true, + always_show_made_in = true, + allow_decomposition = false, + subgroup = "bio-bio-farm-fluid-2", + order = "b[bi]-ssw-b1[bi-Seedling_Mk4]", + -- This is a custom property for use by "Krastorio 2" (it will change + -- ingredients/results; used for wood/wood pulp) + mod = "Bio_Industries_2", + }, + + + --- Raw Wood from Water (BASIC) + { + type = "recipe", + name = "bi-logs-1", + icon = ICONPATH .. "raw-wood-mk1.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "raw-wood-mk1.png", + icon_size = 64, + } + }, + category = "biofarm-mod-farm", + enabled = false, + allow_productivity = true, + always_show_made_in = true, + allow_decomposition = false, + energy_required = 400, + ingredients = { + { type = "item", name = "seedling", amount = 20 }, + { type = "fluid", name = "water", amount = 100 }, + }, + results = { + { type = "item", name = "wood", amount_min = 25, amount_max = 55 }, + { type = "item", name = "bi-woodpulp", amount_min = 65, amount_max = 95 }, + }, + main_product = "wood", + subgroup = "bio-bio-farm-fluid-3", + order = "c[bi]-ssw-c1[raw-wood1]", + -- This is a custom property for use by "Krastorio 2" (it will change + -- ingredients/results; used for wood/wood pulp) + mod = "Bio_Industries_2", + }, + + + --- Raw Wood from Water & Ash + { + type = "recipe", + name = "bi-logs-2", + icon = ICONPATH .. "raw-wood-mk2.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "raw-wood-mk2.png", + icon_size = 64, + } + }, + category = "biofarm-mod-farm", + enabled = false, + allow_productivity = true, + always_show_made_in = true, + allow_decomposition = false, + energy_required = 360, + ingredients = { + { type = "item", name = "seedling", amount = 30 }, + { type = "item", name = "bi-ash", amount = 10 }, + { type = "fluid", name = "water", amount = 100 }, + }, + results = { + { type = "item", name = "wood", amount_min = 60, amount_max = 90 }, + { type = "item", name = "bi-woodpulp", amount_min = 135, amount_max = 165 }, + }, + main_product = "wood", + subgroup = "bio-bio-farm-fluid-3", + order = "c[bi]-ssw-c1[raw-wood2]", + -- This is a custom property for use by "Krastorio 2" (it will change + -- ingredients/results; used for wood/wood pulp) + mod = "Bio_Industries_2", + }, + + + --- Raw Wood from Water & fertilizer + { + type = "recipe", + name = "bi-logs-3", + icon = ICONPATH .. "raw-wood-mk3.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "raw-wood-mk3.png", + icon_size = 64, + } + }, + category = "biofarm-mod-farm", + enabled = false, + allow_productivity = true, + always_show_made_in = true, + allow_decomposition = false, + energy_required = 300, + ingredients = { + { type = "item", name = "seedling", amount = 45 }, + { type = "item", name = "fertilizer", amount = 10 }, + { type = "fluid", name = "water", amount = 100 }, + }, + results = { + { type = "item", name = "wood", amount_min = 120, amount_max = 150 }, + { type = "item", name = "bi-woodpulp", amount_min = 255, amount_max = 285 }, + }, + main_product = "wood", + subgroup = "bio-bio-farm-fluid-3", + order = "c[bi]-ssw-c1[raw-wood3]", + -- This is a custom property for use by "Krastorio 2" (it will change + -- ingredients/results; used for wood/wood pulp) + mod = "Bio_Industries_2", + }, + + + --- Raw Wood from adv-fertilizer + { + type = "recipe", + name = "bi-logs-4", + icon = ICONPATH .. "raw-wood-mk4.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "raw-wood-mk4.png", + icon_size = 64, + } + }, + category = "biofarm-mod-farm", + enabled = false, + allow_productivity = true, + always_show_made_in = true, + allow_decomposition = false, + energy_required = 100, + ingredients = { + { type = "item", name = "seedling", amount = 40 }, + { type = "fluid", name = "water", amount = 100 }, + { type = "item", name = "bi-adv-fertilizer", amount = 5 }, + }, + results = { + { type = "item", name = "wood", amount_min = 140, amount_max = 180 }, + { type = "item", name = "bi-woodpulp", amount_min = 300, amount_max = 340 }, + }, + main_product = "wood", + subgroup = "bio-bio-farm-fluid-3", + order = "c[bi]-ssw-c1[raw-wood4]", + -- This is a custom property for use by "Krastorio 2" (it will change + -- ingredients/results; used for wood/wood pulp) + mod = "Bio_Industries_2", + }, + + + --- Bio Greenhouse (ENTITY) + { + type = "recipe", + name = "bi-bio-greenhouse", + localised_name = { "entity-name.bi-bio-greenhouse" }, + localised_description = { "entity-description.bi-bio-greenhouse" }, + icon = ICONPATH_E .. "bio_greenhouse.png", + icon_size = 64, + icons = { + { + icon = ICONPATH_E .. "bio_greenhouse.png", + icon_size = 64, + } + }, + enabled = false, + energy_required = 2.5, + ingredients = { + { type = "item", name = "iron-stick", amount = 10 }, + { type = "item", name = "stone-brick", amount = 10 }, + { type = "item", name = "small-lamp", amount = 5 }, + }, + results = { { type = "item", name = "bi-bio-greenhouse", amount = 1 } }, + main_product = "", + allow_as_intermediate = true, -- Added for 0.18.34/1.1.4 + always_show_made_in = false, -- Added for 0.18.34/1.1.4 + allow_decomposition = false, -- Added for 0.18.34/1.1.4 + subgroup = "bio-bio-farm-fluid-entity", + order = "a[bi]", + }, + + + --- Bio Farm (ENTITY) + { + type = "recipe", + name = "bi-bio-farm", + localised_name = { "entity-name.bi-bio-farm" }, + localised_description = { "entity-description.bi-bio-farm" }, + icon = ICONPATH_E .. "bio_Farm_Icon.png", + icon_size = 64, + icons = { + { + icon = ICONPATH_E .. "bio_Farm_Icon.png", + icon_size = 64, + } + }, + enabled = false, + energy_required = 5, + ingredients = { + { type = "item", name = "bi-bio-greenhouse", amount = 4 }, + { type = "item", name = "stone-crushed", amount = 10 }, + { type = "item", name = "copper-cable", amount = 10 }, + }, + results = { { type = "item", name = "bi-bio-farm", amount = 1 } }, + main_product = "", + allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 + always_show_made_in = false, -- Added for 0.18.34/1.1.4 + allow_decomposition = true, -- Added for 0.18.34/1.1.4 + subgroup = "bio-bio-farm-fluid-entity", + order = "b[bi]", + }, + + + -- Woodpulp-- + { + type = "recipe", + name = "bi-woodpulp", + icon = ICONPATH .. "Woodpulp_raw-wood.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "Woodpulp_raw-wood.png", + icon_size = 64, + } + }, + subgroup = "bio-bio-farm-raw", + order = "a[bi]-a-a[bi-1-woodpulp]", + enabled = false, + energy_required = 2, + ingredients = { { type = "item", name = "wood", amount = 2 } }, + results = { { type = "item", name = "bi-woodpulp", amount = 4 } }, + main_product = "", + allow_as_intermediate = true, -- Added for 0.18.34/1.1.4 + allow_productivity = true, + allow_intermediates = true, -- Added for 0.18.35/1.1.5 + always_show_made_in = false, -- Added for 0.18.34/1.1.4 + allow_decomposition = false, -- Added for 0.18.34/1.1.4 + -- This is a custom property for use by "Krastorio 2" (it will change + -- ingredients/results; used for wood/wood pulp) + mod = "Bio_Industries_2", + }, + + + --- Resin recipe Pulp + { + type = "recipe", + name = "bi-resin-pulp", + icon = ICONPATH .. "bi_resin_pulp.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "bi_resin_pulp.png", + icon_size = 64, + } + }, + subgroup = "bio-bio-farm-raw", + order = "a[bi]-a-ba[bi-2-resin-2-pulp]", + enabled = false, + energy_required = 1, + ingredients = { + { type = "item", name = "bi-woodpulp", amount = 3 }, + }, + results = { { type = "item", name = "resin", amount = 1 } }, + main_product = "", + allow_as_intermediate = true, -- Added for 0.18.34/1.1.4 + always_show_made_in = false, -- Added for 0.18.34/1.1.4 + allow_decomposition = false, -- Added for 0.18.34/1.1.4 + allow_productivity = true, + -- This is a custom property for use by "Krastorio 2" (it will change + -- ingredients/results; used for wood/wood pulp) + mod = "Bio_Industries_2", + }, + + + + -- Wood from pulp-- + { + type = "recipe", + name = "bi-wood-from-pulp", + icon = ICONPATH .. "wood_from_pulp.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "wood_from_pulp.png", + icon_size = 64, + } + }, + subgroup = "bio-bio-farm-raw", + order = "a[bi]-a-c[bi-3-wood_from_pulp]", + enabled = false, + energy_required = 2.5, + ingredients = { + { type = "item", name = "bi-woodpulp", amount = 8 }, + { type = "item", name = "resin", amount = 2 }, + }, + results = { { type = "item", name = "wood", amount = 4 } }, + main_product = "", + allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 + always_show_made_in = false, -- Added for 0.18.34/1.1.4 + allow_decomposition = false, -- Added for 0.18.34/1.1.4 + allow_productivity = true, + -- This is a custom property for use by "Krastorio 2" (it will change + -- ingredients/results; used for wood/wood pulp) + mod = "Bio_Industries_2", + }, + + + + -- Wood Fuel Brick + { + type = "recipe", + name = "bi-wood-fuel-brick", + icon = ICONPATH .. "Fuel_Brick.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "Fuel_Brick.png", + icon_size = 64, + } + }, + subgroup = "bio-bio-farm-raw", + order = "a[bi]-a-bx[bi-4-woodbrick]", + energy_required = 8, + ingredients = { { type = "item", name = "bi-woodpulp", amount = 192 } }, + results = { { type = "item", name = "wood-bricks", amount = 6 } }, + main_product = "", + enabled = false, + allow_as_intermediate = true, -- Changed for 0.18.34/1.1.4 + always_show_made_in = false, -- Changed for 0.18.34/1.1.4 + allow_decomposition = true, -- Changed for 0.18.34/1.1.4 + allow_productivity = true, + -- This is a custom property for use by "Krastorio 2" (it will change + -- ingredients/results; used for wood/wood pulp) + mod = "Bio_Industries_2", + }, + + + -- ASH -- + { + type = "recipe", + name = "bi-ash-1", + icon = ICONPATH .. "ash_raw-wood.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "ash_raw-wood.png", + icon_size = 64, + } + }, + category = "biofarm-mod-smelting", + subgroup = "bio-bio-farm-raw", + order = "a[bi]-a-cb[bi-5-ash-1]", + enabled = false, + energy_required = 3, + ingredients = { { type = "item", name = "wood", amount = 5 } }, + results = { { type = "item", name = "bi-ash", amount = 5 } }, + main_product = "", + allow_as_intermediate = true, -- Changed for 0.18.34/1.1.4 + always_show_made_in = false, -- Changed for 0.18.34/1.1.4 + allow_decomposition = true, -- Changed for 0.18.34/1.1.4 + allow_productivity = true, + -- This is a custom property for use by "Krastorio 2" (it will change + -- ingredients/results; used for wood/wood pulp) + mod = "Bio_Industries_2", + }, + + + -- ASH 2-- + { + type = "recipe", + name = "bi-ash-2", + icon = ICONPATH .. "ash_woodpulp.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "ash_woodpulp.png", + icon_size = 64, + } + }, + category = "biofarm-mod-smelting", + subgroup = "bio-bio-farm-raw", + order = "a[bi]-a-ca[bi-5-ash-2]", + enabled = false, + allow_as_intermediate = true, -- Added for 0.18.34/1.1.4 + always_show_made_in = false, -- Changed for 0.18.34/1.1.4 + allow_decomposition = true, -- Changed for 0.18.34/1.1.4 + allow_productivity = true, + energy_required = 2.5, + ingredients = { { type = "item", name = "bi-woodpulp", amount = 12 } }, + results = { { type = "item", name = "bi-ash", amount = 6 } }, + main_product = "", + -- This is a custom property for use by "Krastorio 2" (it will change + -- ingredients/results; used for wood/wood pulp) + mod = "Bio_Industries_2", + }, + + + -- CHARCOAL 1 + { + type = "recipe", + name = "bi-charcoal-1", + icon = ICONPATH .. "charcoal_woodpulp.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "charcoal_woodpulp.png", + icon_size = 64, + } + }, + category = "biofarm-mod-smelting", + subgroup = "bio-bio-farm-raw", + order = "a[bi]-a-d[bi-6-charcoal-1]", + energy_required = 15, + ingredients = { { type = "item", name = "bi-woodpulp", amount = 24 } }, + results = { { type = "item", name = "wood-charcoal", amount = 5 } }, + main_product = "", + enabled = false, + always_show_made_in = true, + allow_decomposition = false, + allow_as_intermediate = false, + allow_productivity = true, + -- This is a custom property for use by "Krastorio 2" (it will change + -- ingredients/results; used for wood/wood pulp) + mod = "Bio_Industries_2", + }, + + + -- CHARCOAL 2 + { + type = "recipe", + name = "bi-charcoal-2", + icon = ICONPATH .. "charcoal_raw-wood.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "charcoal_raw-wood.png", + icon_size = 64, + } + }, + subgroup = "bio-bio-farm-raw", + order = "a[bi]-a-d[bi-6-charcoal-2]", + category = "biofarm-mod-smelting", + energy_required = 20, + ingredients = { { type = "item", name = "wood", amount = 20 } }, + results = { { type = "item", name = "wood-charcoal", amount = 8 } }, + main_product = "", + enabled = false, + always_show_made_in = true, + allow_decomposition = false, + allow_as_intermediate = false, + allow_productivity = true, + -- This is a custom property for use by "Krastorio 2" (it will change + -- ingredients/results; used for wood/wood pulp) + mod = "Bio_Industries_2", + }, + + + -- COAL 1 -- + { + type = "recipe", + name = "bi-coal-1", + icon = ICONPATH .. "coal_mk1.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "coal_mk1.png", + icon_size = 64, + } + }, + category = "biofarm-mod-smelting", + subgroup = "bio-bio-farm-raw", + order = "a[bi]-a-ea[bi-6-coal-1]", + energy_required = 20, + ingredients = { { type = "item", name = "wood-charcoal", amount = 10 } }, + results = { { type = "item", name = "coal", amount = 12 } }, + main_product = "", + enabled = false, + allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 + always_show_made_in = true, -- Changed for 0.18.34/1.1.4 + allow_decomposition = true, -- Changed for 0.18.34/1.1.4 + allow_productivity = true, + }, + + + -- COAL 2 -- + { + type = "recipe", + name = "bi-coal-2", + icon = ICONPATH .. "coal_mk2.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "coal_mk2.png", + icon_size = 64, + } + }, + category = "biofarm-mod-smelting", + subgroup = "bio-bio-farm-raw", + order = "a[bi]-a-eb[bi-6-coal-2]", + energy_required = 20, + ingredients = { { type = "item", name = "wood-charcoal", amount = 10 } }, + results = { { type = "item", name = "coal", amount = 16 } }, + main_product = "", + enabled = false, + allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 + always_show_made_in = true, -- Changed for 0.18.34/1.1.4 + allow_decomposition = true, -- Changed for 0.18.34/1.1.4 + allow_productivity = true, + }, + + + -- Solid Fuel + { + type = "recipe", + name = "bi-solid-fuel", + icon = ICONPATH .. "bi_solid_fuel_wood_brick.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "bi_solid_fuel_wood_brick.png", + icon_size = 64, + } + }, + subgroup = "bio-bio-farm-raw", + order = "a[bi]-a-fa[bi-7-solid_fuel]", + category = "chemistry", + energy_required = 2, + ingredients = { { type = "item", name = "wood-bricks", amount = 3 } }, + results = { { type = "item", name = "solid-fuel", amount = 2 } }, + main_product = "", + enabled = false, + allow_as_intermediate = true, -- Changed for 0.18.34/1.1.4 + always_show_made_in = true, -- Changed for 0.18.34/1.1.4 + allow_decomposition = true, -- Changed for 0.18.34/1.1.4 + allow_productivity = true, + }, + + + -- Pellet-Coke from Coal -- Used to be Coke-Coal + { + type = "recipe", + name = "bi-coke-coal", + icon = ICONPATH .. "pellet_coke_coal.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "pellet_coke_coal.png", + icon_size = 64, + } + }, + category = "biofarm-mod-smelting", + subgroup = "bio-bio-farm-raw", + order = "a[bi]-a-g[bi-8-coke-coal]-1", + energy_required = 20, + ingredients = { { type = "item", name = "coal", amount = 12 } }, + results = { { type = "item", name = "pellet-coke", amount = 2 } }, + main_product = "", + enabled = false, + allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 + always_show_made_in = true, -- Changed for 0.18.34/1.1.4 + allow_decomposition = true, -- Changed for 0.18.34/1.1.4 + allow_productivity = true, + }, + + + -- Pellet-Coke from Solid Fuel -- Used to be Coke-Coal + { + type = "recipe", + name = "bi-pellet-coke", + icon = ICONPATH .. "pellet_coke_solid.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "pellet_coke_solid.png", + icon_size = 64, + } + }, + category = "biofarm-mod-smelting", + subgroup = "bio-bio-farm-raw", + order = "a[bi]-a-g[bi-8-coke-coal]-3", + energy_required = 6, + ingredients = { { type = "item", name = "solid-fuel", amount = 5 } }, + results = { { type = "item", name = "pellet-coke", amount = 3 } }, + main_product = "", + enabled = false, + allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 + always_show_made_in = true, -- Changed for 0.18.34/1.1.4 + allow_decomposition = true, -- Changed for 0.18.34/1.1.4 + allow_productivity = true, + }, + + -- CRUSHED STONE from stone -- + { + type = "recipe", + name = "bi-crushed-stone-1", + icon = ICONPATH .. "crushed-stone-stone.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "crushed-stone-stone.png", + icon_size = 64, + } + }, + category = "biofarm-mod-crushing", + subgroup = "bio-bio-farm-raw", + order = "a[bi]-a-z[bi-9-stone-crushed-1]", + energy_required = 1.5, + ingredients = { { type = "item", name = "stone", amount = 1 } }, + results = { { type = "item", name = "stone-crushed", amount = 2 } }, + main_product = "", + enabled = false, + allow_as_intermediate = true, -- Added for 0.18.34/1.1.4 + always_show_made_in = true, -- Changed for 0.18.34/1.1.4 + allow_decomposition = true, -- Changed for 0.18.34/1.1.4 + allow_productivity = true, + }, + + -- CRUSHED STONE from concrete -- + { + type = "recipe", + name = "bi-crushed-stone-2", + localised_description = { "recipe-description.bi-crushed-stone" }, + icon = ICONPATH .. "crushed-stone-concrete.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "crushed-stone-concrete.png", + icon_size = 64, + } + }, + category = "biofarm-mod-crushing", + subgroup = "bio-bio-farm-raw", + order = "a[bi]-a-z[bi-9-stone-crushed-2]", + energy_required = 2.5, -- Increased crafting time + ingredients = { { type = "item", name = "concrete", amount = 1 } }, + results = { { type = "item", name = "stone-crushed", amount = 2 } }, + main_product = "", + enabled = false, + allow_as_intermediate = true, -- Added for 0.18.34/1.1.4 + always_show_made_in = true, -- Changed for 0.18.34/1.1.4 + allow_decomposition = true, -- Changed for 0.18.34/1.1.4 + allow_productivity = true, + }, + + -- CRUSHED STONE from hazard concrete -- + { + type = "recipe", + name = "bi-crushed-stone-3", + localised_description = { "recipe-description.bi-crushed-stone" }, + icon = ICONPATH .. "crushed-stone-hazard-concrete.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "crushed-stone-hazard-concrete.png", + icon_size = 64, + } + }, + category = "biofarm-mod-crushing", + subgroup = "bio-bio-farm-raw", + order = "a[bi]-a-z[bi-9-stone-crushed-3]", + energy_required = 2.5, -- Increased crafting time + ingredients = { { type = "item", name = "hazard-concrete", amount = 1 } }, + results = { { type = "item", name = "stone-crushed", amount = 2 } }, + main_product = "", + enabled = false, + allow_as_intermediate = true, -- Added for 0.18.34/1.1.4 + always_show_made_in = true, -- Changed for 0.18.34/1.1.4 + allow_decomposition = true, -- Changed for 0.18.34/1.1.4 + allow_productivity = true, + + }, + + -- CRUSHED STONE from refined concrete -- + { + type = "recipe", + name = "bi-crushed-stone-4", + localised_description = { "recipe-description.bi-crushed-stone" }, + icon = ICONPATH .. "crushed-stone-refined-concrete.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "crushed-stone-refined-concrete.png", + icon_size = 64, + } + }, + category = "biofarm-mod-crushing", + subgroup = "bio-bio-farm-raw", + order = "a[bi]-a-z[bi-9-stone-crushed-4]", + energy_required = 5, -- Increased crafting time + ingredients = { { type = "item", name = "refined-concrete", amount = 1 } }, + results = { { type = "item", name = "stone-crushed", amount = 4 } }, + main_product = "", + enabled = false, + allow_as_intermediate = true, -- Added for 0.18.34/1.1.4 + always_show_made_in = true, -- Changed for 0.18.34/1.1.4 + allow_decomposition = true, -- Changed for 0.18.34/1.1.4 + allow_productivity = true, + }, + + -- CRUSHED STONE from refined hazard concrete -- + { + type = "recipe", + name = "bi-crushed-stone-5", + localised_description = { "recipe-description.bi-crushed-stone" }, + icon = ICONPATH .. "crushed-stone-refined-hazard-concrete.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "crushed-stone-refined-hazard-concrete.png", + icon_size = 64, + } + }, + category = "biofarm-mod-crushing", + subgroup = "bio-bio-farm-raw", + order = "a[bi]-a-z[bi-9-stone-crushed-5]", + energy_required = 5, -- Increased crafting time + ingredients = { { type = "item", name = "refined-hazard-concrete", amount = 1 } }, + results = { { type = "item", name = "stone-crushed", amount = 4 } }, + main_product = "", + enabled = false, + allow_as_intermediate = true, -- Added for 0.18.34/1.1.4 + always_show_made_in = true, -- Changed for 0.18.34/1.1.4 + allow_decomposition = true, -- Changed for 0.18.34/1.1.4 + allow_productivity = true, + }, + + -- STONE Brick-- + { + type = "recipe", + name = "bi-stone-brick", + icon = ICONPATH .. "bi_stone_brick.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "bi_stone_brick.png", + icon_size = 64, + } + }, + --category = "smelting", + category = "chemistry", + subgroup = "bio-bio-farm-raw", + order = "a[bi]-a-z2[bi-9-stone-brick]", + energy_required = 5, + ingredients = { + { type = "item", name = "stone-crushed", amount = 6 }, + { type = "item", name = "bi-ash", amount = 2 }, + }, + results = { + { type = "item", name = "stone-brick", amount = 2 }, + }, + enabled = false, + main_product = "", + allow_as_intermediate = true, -- Added for 0.18.34/1.1.4 + always_show_made_in = true, -- Changed for 0.18.34/1.1.4 + allow_decomposition = true, -- Changed for 0.18.34/1.1.4 + allow_productivity = true, + }, + + -- COKERY (ENTITY)-- + { + type = "recipe", + name = "bi-cokery", + localised_name = { "entity-name.bi-cokery" }, + localised_description = { "entity-description.bi-cokery" }, + icon = ICONPATH_E .. "cokery.png", + icon_size = 64, + icons = { + { + icon = ICONPATH_E .. "cokery.png", + icon_size = 64, + } + }, + enabled = false, + energy_required = 8, + ingredients = { + { type = "item", name = "stone-furnace", amount = 3 }, + { type = "item", name = "steel-plate", amount = 10 }, + }, + results = { { type = "item", name = "bi-cokery", amount = 1 } }, + main_product = "", + allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 + always_show_made_in = false, -- Added for 0.18.34/1.1.4 + allow_decomposition = true, -- Added for 0.18.34/1.1.4 + subgroup = "bio-bio-farm-raw-entity", + order = "a[bi]", + }, + + + -- STONE CRUSHER (ENTITY) -- + { + type = "recipe", + name = "bi-stone-crusher", + localised_name = { "entity-name.bi-stone-crusher" }, + localised_description = { "entity-description.bi-stone-crusher" }, + icon = ICONPATH_E .. "stone_crusher.png", + icon_size = 64, + icons = { + { + icon = ICONPATH_E .. "stone_crusher.png", + icon_size = 64, + } + }, + enabled = false, + energy_required = 3, + ingredients = { + { type = "item", name = "iron-plate", amount = 10 }, + { type = "item", name = "steel-plate", amount = 10 }, + { type = "item", name = "iron-gear-wheel", amount = 5 }, + }, + results = { { type = "item", name = "bi-stone-crusher", amount = 1 } }, + main_product = "", + allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 + always_show_made_in = false, -- Added for 0.18.34/1.1.4 + allow_decomposition = true, -- Added for 0.18.34/1.1.4 + allow_productivity = true, + subgroup = "bio-bio-farm-raw-entity", + order = "b[bi]", + }, + + + -- LIQUID-AIR -- + { + type = "recipe", + name = "bi-liquid-air", + icon = ICONPATH .. "liquid-air.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "liquid-air.png", + icon_size = 64, + } + }, + category = "chemistry", + energy_required = 1, + ingredients = {}, + results = { + { type = "fluid", name = "liquid-air", amount = 10 } + }, + main_product = "", + enabled = false, + always_show_made_in = true, + allow_decomposition = false, + allow_as_intermediate = false, + subgroup = "bio-bio-farm-intermediate-product", + order = "aa", + }, + + ---NITROGEN -- + { + type = "recipe", + name = "bi-nitrogen", + icon = ICONPATH .. "nitrogen.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "nitrogen.png", + icon_size = 64, + } + }, + category = "chemistry", + energy_required = 10, + ingredients = { + { type = "fluid", name = "liquid-air", amount = 20 } + }, + results = { + { type = "fluid", name = nitrogen, amount = 20 }, + }, + crafting_machine_tint = { + primary = { r = 0.0, g = 0.8, b = 0.0, a = 0.000 }, + secondary = { r = 0.5, g = 1.0, b = 0.5, a = 0.000 }, + tertiary = { r = 0.25, g = 0.5, b = 0.25, a = 0.000 }, + }, + enabled = false, + always_show_made_in = true, + allow_decomposition = false, + allow_as_intermediate = false, + subgroup = "bio-bio-farm-intermediate-product", + order = "ab", + }, + + + -- fertilizer- Sulfur- + { + type = "recipe", + name = "bi-fertilizer-1", + icon = ICONPATH .. "fertilizer_sulfur.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "fertilizer_sulfur.png", + icon_size = 64, + } + }, + category = "chemistry", + energy_required = 5, + ingredients = { + { type = "item", name = "sulfur", amount = 1 }, + { type = "fluid", name = nitrogen, amount = 10 }, + { type = "item", name = "bi-ash", amount = 10 } + }, + results = { + { type = "item", name = "fertilizer", amount = 5 } + }, + main_product = "", + enabled = false, + allow_as_intermediate = true, -- Changed for 0.18.34/1.1.4 + always_show_made_in = true, -- Changed for 0.18.34/1.1.4 + allow_decomposition = true, -- Changed for 0.18.34/1.1.4 + allow_productivity = true, + subgroup = "bio-bio-farm-intermediate-product", + order = "b[bi-fertilizer]", + }, + + + -- Advanced fertilizer 1 -- + { + type = "recipe", + name = "bi-adv-fertilizer-1", + icon = ICONPATH .. "fertilizer_advanced.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "fertilizer_advanced.png", + icon_size = 64, + } + }, + category = "chemistry", + energy_required = 50, + ingredients = { + { type = "item", name = "fertilizer", amount = 25 }, + { type = "fluid", name = "bi-biomass", amount = 10 }, -- <== Need to add during Data Updates + --{type = "fluid", name = "NE_enhanced-nutrient-solution", amount = 5}, -- Will be added if you have Natural Evolution Buildings Mod installed. + }, + results = { + { type = "item", name = "bi-adv-fertilizer", amount = 50 } + }, + main_product = "", + enabled = false, + allow_as_intermediate = true, -- Changed for 0.18.34/1.1.4 + always_show_made_in = true, -- Changed for 0.18.34/1.1.4 + allow_decomposition = true, -- Changed for 0.18.34/1.1.4 + allow_productivity = true, + subgroup = "bio-bio-farm-intermediate-product", + order = "b[bi-fertilizer]-b[bi-adv-fertilizer-1]", + }, + + + -- Advanced fertilizer 2-- + { + type = "recipe", + name = "bi-adv-fertilizer-2", + icon = ICONPATH .. "fertilizer_advanced.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "fertilizer_advanced.png", + icon_size = 64, + } + }, + category = "chemistry", + energy_required = 50, + ingredients = { + { type = "item", name = "fertilizer", amount = 20 }, + { type = "fluid", name = "bi-biomass", amount = 10 }, + { type = "item", name = "bi-woodpulp", amount = 10 }, + }, + results = { + { type = "item", name = "bi-adv-fertilizer", amount = 20 } + }, + main_product = "", + enabled = false, + allow_as_intermediate = true, -- Changed for 0.18.34/1.1.4 + always_show_made_in = true, -- Changed for 0.18.34/1.1.4 + allow_decomposition = true, -- Changed for 0.18.34/1.1.4 + allow_productivity = true, + subgroup = "bio-bio-farm-intermediate-product", + order = "b[bi-fertilizer]-b[bi-adv-fertilizer-2]", + -- This is a custom property for use by "Krastorio 2" (it will change + -- ingredients/results; used for wood/wood pulp) + mod = "Bio_Industries_2", + }, + + + --- Seed Bomb - Basic + { + type = "recipe", + name = "bi-seed-bomb-basic", + icon = ICONPATH_W .. "seed_bomb_icon_b.png", + icon_size = 64, + icons = { + { + icon = ICONPATH_W .. "seed_bomb_icon_b.png", + icon_size = 64, + } + }, + enabled = false, + energy_required = 8, + ingredients = { + { type = "item", name = "bi-seed", amount = 400 }, + { type = "item", name = "rocket", amount = 1 }, + }, + results = { { type = "item", name = "bi-seed-bomb-basic", amount = 1 } }, + main_product = "", + allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 + always_show_made_in = false, -- Added for 0.18.34/1.1.4 + allow_decomposition = true, -- Added for 0.18.34/1.1.4 + subgroup = "bi-ammo", + order = "a[rocket-launcher]-x[seed-bomb]-a", + }, + + + --- Seed Bomb - Standard + { + type = "recipe", + name = "bi-seed-bomb-standard", + icon = ICONPATH_W .. "seed_bomb_icon_s.png", + icon_size = 64, + icons = { + { + icon = ICONPATH_W .. "seed_bomb_icon_s.png", + icon_size = 64, + } + }, + enabled = false, + energy_required = 8, + ingredients = { + { type = "item", name = "bi-seed", amount = 400 }, + { type = "item", name = "fertilizer", amount = 200 }, + { type = "item", name = "rocket", amount = 1 }, + }, + results = { { type = "item", name = "bi-seed-bomb-standard", amount = 1 } }, + main_product = "", + allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 + always_show_made_in = false, -- Added for 0.18.34/1.1.4 + allow_decomposition = true, -- Added for 0.18.34/1.1.4 + subgroup = "bi-ammo", + order = "a[rocket-launcher]-x[seed-bomb]-b", + }, + + + --- Seed Bomb - Advanced + { + type = "recipe", + name = "bi-seed-bomb-advanced", + icon = ICONPATH_W .. "seed_bomb_icon_a.png", + icon_size = 64, + icons = { + { + icon = ICONPATH_W .. "seed_bomb_icon_a.png", + icon_size = 64, + } + }, + enabled = false, + energy_required = 8, + ingredients = { + { type = "item", name = "bi-seed", amount = 400 }, + { type = "item", name = "bi-adv-fertilizer", amount = 200 }, + { type = "item", name = "rocket", amount = 1 }, + }, + results = { { type = "item", name = "bi-seed-bomb-advanced", amount = 1 } }, + main_product = "", + allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 + always_show_made_in = false, -- Added for 0.18.34/1.1.4 + allow_decomposition = true, -- Added for 0.18.34/1.1.4 + subgroup = "bi-ammo", + order = "a[rocket-launcher]-x[seed-bomb]-c", + }, + + + --- Arboretum (ENTITY) + { + type = "recipe", + name = "bi-arboretum", + localised_name = { "entity-name.bi-arboretum" }, + localised_description = { "entity-description.bi-arboretum" }, + icon = ICONPATH_E .. "arboretum_Icon.png", + icon_size = 64, + icons = { + { + icon = ICONPATH_E .. "arboretum_Icon.png", + icon_size = 64, + } + }, + subgroup = "production-machine", + order = "x[bi]-a[bi-arboretum]", + enabled = false, + energy_required = 10, + ingredients = { + { type = "item", name = "bi-bio-greenhouse", amount = 4 }, + { type = "item", name = "assembling-machine-2", amount = 2 }, + { type = "item", name = "stone-brick", amount = 10 }, + }, + results = { { type = "item", name = "bi-arboretum-area", amount = 1 } }, + main_product = "", + allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 + always_show_made_in = false, -- Added for 0.18.34/1.1.4 + allow_decomposition = true, -- Added for 0.18.34/1.1.4 + }, + + + --- Arboretum - Plant Trees + { + type = "recipe", + name = "bi-arboretum-r1", + icon = ICONPATH .. "Seedling_b.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "Seedling_b.png", + icon_size = 64, + } + }, + category = "bi-arboretum", + energy_required = 10000, + ingredients = { + { type = "item", name = "seedling", amount = 1 }, + { type = "fluid", name = "water", amount = 100 }, + }, + results = { + { type = "item", name = "bi-arboretum-r1", amount = 1, probability = 0 }, + }, + main_product = "", + enabled = false, + always_show_made_in = true, + allow_decomposition = false, + allow_as_intermediate = false, + subgroup = "bio-arboretum-fluid", + order = "a[bi]-ssw-a1[bi-arboretum-r1]", + }, + + + --- Arboretum - Change Terrain + { + type = "recipe", + name = "bi-arboretum-r2", + icon = ICONPATH .. "bi_change_1.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "bi_change_1.png", + icon_size = 64, + } + }, + category = "bi-arboretum", + energy_required = 10000, + ingredients = { + { type = "item", name = "fertilizer", amount = 1 }, + { type = "fluid", name = "water", amount = 100 }, + }, + results = { + { type = "item", name = "bi-arboretum-r2", amount = 1, probability = 0 }, + }, + main_product = "", + enabled = false, + always_show_made_in = true, + allow_decomposition = false, + allow_as_intermediate = false, + subgroup = "bio-arboretum-fluid", + order = "a[bi]-ssw-a1[bi-arboretum-r2]", + }, + + + --- Arboretum - Change Terrain - Advanced + { + type = "recipe", + name = "bi-arboretum-r3", + icon = ICONPATH .. "bi_change_2.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "bi_change_2.png", + icon_size = 64, + } + }, + category = "bi-arboretum", + energy_required = 10000, + ingredients = { + { type = "item", name = "bi-adv-fertilizer", amount = 1 }, + { type = "fluid", name = "water", amount = 100 }, + }, + results = { + { type = "item", name = "bi-arboretum-r3", amount = 1, probability = 0 }, + }, + main_product = "", + enabled = false, + always_show_made_in = true, + allow_decomposition = false, + allow_as_intermediate = false, + subgroup = "bio-arboretum-fluid", + order = "a[bi]-ssw-a1[bi-arboretum-r3]", + }, + + + --- Arboretum - Plant Trees & Change Terrain + { + type = "recipe", + name = "bi-arboretum-r4", + icon = ICONPATH .. "bi_change_plant_1.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "bi_change_plant_1.png", + icon_size = 64, + } + }, + category = "bi-arboretum", + energy_required = 10000, + ingredients = { + { type = "item", name = "seedling", amount = 1 }, + { type = "item", name = "fertilizer", amount = 1 }, + { type = "fluid", name = "water", amount = 100 }, + }, + results = { + { type = "item", name = "bi-arboretum-r4", amount = 1, probability = 0 }, + }, + main_product = "", + enabled = false, + always_show_made_in = true, + allow_decomposition = false, + allow_as_intermediate = false, + subgroup = "bio-arboretum-fluid", + order = "a[bi]-ssw-a1[bi-arboretum-r4]", + }, + + + --- Arboretum - Plant Trees & Change Terrain Advanced + { + type = "recipe", + name = "bi-arboretum-r5", + icon = ICONPATH .. "bi_change_plant_2.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "bi_change_plant_2.png", + icon_size = 64, + } + }, + category = "bi-arboretum", + energy_required = 10000, + ingredients = { + { type = "item", name = "seedling", amount = 1 }, + { type = "item", name = "bi-adv-fertilizer", amount = 1 }, + { type = "fluid", name = "water", amount = 100 }, + }, + results = { + { type = "item", name = "bi-arboretum-r5", amount = 1, probability = 0 }, + }, + main_product = "", + enabled = false, + always_show_made_in = true, + allow_decomposition = false, + allow_as_intermediate = false, + subgroup = "bio-arboretum-fluid", + order = "a[bi]-ssw-a1[bi-arboretum-r5]", + }, +}) diff --git a/Bio_Industries_2/prototypes/Bio_Farm/technology.lua b/Bio_Industries_2/prototypes/Bio_Farm/technology.lua index 40d3241..303d06d 100644 --- a/Bio_Industries_2/prototypes/Bio_Farm/technology.lua +++ b/Bio_Industries_2/prototypes/Bio_Farm/technology.lua @@ -1,223 +1,230 @@ -local BioInd = require('common')('Bio_Industries_2') -local coal_processing = require("prototypes.Bio_Farm.coal_processing") - -local ICONPATH = BioInd.modRoot .. "/graphics/technology/" - ----- Bio Farm -data:extend({ - { - type = "technology", - name = "bi-tech-bio-farming", - icon_size = 128, - icon = ICONPATH .. "Bio_Farm_Tech_128.png", - icons = { - { - icon = ICONPATH .. "Bio_Farm_Tech_128.png", - icon_size = 128, - } - }, - effects = { - { - type = "unlock-recipe", - recipe = "bi-seed-1" - }, - { - type = "unlock-recipe", - recipe = "bi-seedling-1" - }, - { - type = "unlock-recipe", - recipe = "bi-logs-1" - }, - { - type = "unlock-recipe", - recipe = "bi-bio-greenhouse" - }, - { - type = "unlock-recipe", - recipe = "bi-bio-farm" - }, - { - type = "unlock-recipe", - recipe = "bi-arboretum" - }, - { - type = "unlock-recipe", - recipe = "bi-arboretum-r1" - }, - { - type = "unlock-recipe", - recipe = "bi-woodpulp" - }, - { - type = "unlock-recipe", - recipe = "bi-resin-pulp" - }, - { - type = "unlock-recipe", - recipe = "bi-wood-from-pulp" - }, - }, - prerequisites = {"lamp"}, - unit = { - count = 25, - ingredients = { - {"automation-science-pack", 1} - }, - time = 20 - }, - }, - - { - type = "technology", - name = "bi-tech-coal-processing-1", - localised_name = {"technology-name.bi-tech-coal-processing-1"}, - localised_description = {"technology-description.bi-tech-coal-processing-1"}, - icon_size = 128, - icon = ICONPATH .. "Coal_128.png", - icons = { - { - icon = ICONPATH .. "Coal_128.png", - icon_size = 128, - } - }, - effects = coal_processing[1], - prerequisites = {"advanced-material-processing"}, - unit = { - count = 150, - ingredients = { - {"automation-science-pack", 1}, - {"logistic-science-pack", 1} - }, - time = 30 - }, - }, - - { - type = "technology", - name = "bi-tech-coal-processing-2", - localised_name = {"technology-name.bi-tech-coal-processing-2"}, - localised_description = {"technology-description.bi-tech-coal-processing-2"}, - icon_size = 128, - icon = ICONPATH .. "Coal_128.png", - icons = { - { - icon = ICONPATH .. "Coal_128.png", - icon_size = 128, - } - }, - effects = coal_processing[2], - prerequisites = {"bi-tech-coal-processing-1", "chemical-science-pack"}, - unit = { - count = 150, - ingredients = { - {"automation-science-pack", 1}, - {"logistic-science-pack", 1}, - {"chemical-science-pack", 1}, - }, - time = 35 - }, - }, - - { - type = "technology", - name = "bi-tech-coal-processing-3", - localised_name = {"technology-name.bi-tech-coal-processing-3"}, - localised_description = {"technology-description.bi-tech-coal-processing-3"}, - icon_size = 128, - icon = ICONPATH .. "Coal_128.png", - icons = { - { - icon = ICONPATH .. "Coal_128.png", - icon_size = 128, - } - }, - effects = coal_processing[3], - prerequisites = {"bi-tech-coal-processing-2", "production-science-pack"}, - unit = { - count = 250, - ingredients = { - {"automation-science-pack", 1}, - {"logistic-science-pack", 1}, - {"chemical-science-pack", 1}, - {"production-science-pack", 1}, - }, - time = 40 - }, - }, - - { - type = "technology", - name = "bi-tech-fertilizer", - icon_size = 128, - icon = ICONPATH .. "Fertilizer_128.png", - icons = { - { - icon = ICONPATH .. "Fertilizer_128.png", - icon_size = 128, - } - }, - effects = { - { - type = "unlock-recipe", - recipe = "bi-liquid-air" - }, - { - type = "unlock-recipe", - recipe = "bi-nitrogen" - }, - { - type = "unlock-recipe", - recipe = "bi-fertilizer-1" - }, - { - type = "unlock-recipe", - recipe = "bi-seed-3" - }, - { - type = "unlock-recipe", - recipe = "bi-seedling-3" - }, - { - type = "unlock-recipe", - recipe = "bi-logs-3" - }, - { - type = "unlock-recipe", - recipe = "bi-bio-garden" - }, - { - type = "unlock-recipe", - recipe = "bi-purified-air-1" - }, - { - type = "unlock-recipe", - recipe = "bi-seed-bomb-basic" - }, - { - type = "unlock-recipe", - recipe = "bi-seed-bomb-standard" - }, - { - type = "unlock-recipe", - recipe = "bi-arboretum-r2" - }, - { - type = "unlock-recipe", - recipe = "bi-arboretum-r4" - }, - }, - prerequisites = { - "fluid-handling", - "bi-tech-bio-farming" - }, - unit = { - count = 250, - ingredients = { - {"automation-science-pack", 1}, - {"logistic-science-pack", 1} - }, - time = 30 - } - } -}) +local BioInd = require('common')('Bio_Industries_2') +local coal_processing = require("prototypes.Bio_Farm.coal_processing") +local ICONPATH = BioInd.modRoot .. "/graphics/technology/" + +---- Bio Farm +data:extend({ + { + type = "technology", + name = "bi-tech-bio-farming", + icon_size = 256, + icon = ICONPATH .. "bi-tech-bio-farming.png", + icons = { + { + icon = ICONPATH .. "bi-tech-bio-farming.png", + icon_size = 256, + } + }, + effects = { + { + type = "unlock-recipe", + recipe = "bi-seed-1" + }, + { + type = "unlock-recipe", + recipe = "bi-seedling-1" + }, + { + type = "unlock-recipe", + recipe = "bi-logs-1" + }, + { + type = "unlock-recipe", + recipe = "bi-bio-greenhouse" + }, + { + type = "unlock-recipe", + recipe = "bi-bio-farm" + }, + { + type = "unlock-recipe", + recipe = "bi-arboretum" + }, + { + type = "unlock-recipe", + recipe = "bi-arboretum-r1" + }, + { + type = "unlock-recipe", + recipe = "bi-woodpulp" + }, + { + type = "unlock-recipe", + recipe = "bi-resin-pulp" + }, + { + type = "unlock-recipe", + recipe = "bi-wood-from-pulp" + }, + }, + prerequisites = {"lamp"}, + unit = { + count = 25, + ingredients = { + {"automation-science-pack", 1} + }, + time = 20 + }, + }, + + { + type = "technology", + name = "bi-tech-coal-processing-1", + localised_name = {"technology-name.bi-tech-coal-processing-1"}, + localised_description = {"technology-description.bi-tech-coal-processing-1"}, + icon_size = 256, + icon = ICONPATH .. "bi-tech-coal-processing-1.png", + icons = { + { + icon = ICONPATH .. "bi-tech-coal-processing-1.png", + icon_size = 256, + } + }, + effects = coal_processing[1], + prerequisites = {"advanced-material-processing"}, + unit = { + count = 150, + ingredients = { + {"automation-science-pack", 1}, + {"logistic-science-pack", 1} + }, + time = 30 + }, + }, + + { + type = "technology", + name = "bi-tech-coal-processing-2", + localised_name = {"technology-name.bi-tech-coal-processing-2"}, + localised_description = {"technology-description.bi-tech-coal-processing-2"}, + icon_size = 256, + icon = ICONPATH .. "bi-tech-coal-processing-2.png", + icons = { + { + icon = ICONPATH .. "bi-tech-coal-processing-2.png", + icon_size = 256, + } + }, + effects = coal_processing[2], + prerequisites = {"bi-tech-coal-processing-1", "chemical-science-pack"}, + unit = { + count = 150, + ingredients = { + {"automation-science-pack", 1}, + {"logistic-science-pack", 1}, + {"chemical-science-pack", 1}, + }, + time = 35 + }, + }, + + { + type = "technology", + name = "bi-tech-coal-processing-3", + localised_name = {"technology-name.bi-tech-coal-processing-3"}, + localised_description = {"technology-description.bi-tech-coal-processing-3"}, + icon_size = 256, + icon = ICONPATH .. "bi-tech-coal-processing-3.png", + icons = { + { + icon = ICONPATH .. "bi-tech-coal-processing-3.png", + icon_size = 256, + } + }, + effects = coal_processing[3], + prerequisites = {"bi-tech-coal-processing-2", "production-science-pack"}, + unit = { + count = 250, + ingredients = { + {"automation-science-pack", 1}, + {"logistic-science-pack", 1}, + {"chemical-science-pack", 1}, + {"production-science-pack", 1}, + }, + time = 40 + }, + }, + + { + type = "technology", + name = "bi-tech-fertilizer", + icon_size = 256, + icon = ICONPATH .. "bi-tech-fertilizer.png", + icons = { + { + icon = ICONPATH .. "bi-tech-fertilizer.png", + icon_size = 256, + } + }, + effects = { + { + type = "unlock-recipe", + recipe = "bi-liquid-air" + }, + { + type = "unlock-recipe", + recipe = "bi-nitrogen" + }, + { + type = "unlock-recipe", + recipe = "bi-fertilizer-1" + }, + { + type = "unlock-recipe", + recipe = "bi-seed-3" + }, + { + type = "unlock-recipe", + recipe = "bi-seedling-3" + }, + { + type = "unlock-recipe", + recipe = "bi-logs-3" + }, + { + type = "unlock-recipe", + recipe = "bi-bio-garden" + }, + { + type = "unlock-recipe", + recipe = "bi-bio-garden-large" + }, + { + type = "unlock-recipe", + recipe = "bi-bio-garden-huge" + }, + { + type = "unlock-recipe", + recipe = "bi-purified-air-1" + }, + { + type = "unlock-recipe", + recipe = "bi-seed-bomb-basic" + }, + { + type = "unlock-recipe", + recipe = "bi-seed-bomb-standard" + }, + { + type = "unlock-recipe", + recipe = "bi-arboretum-r2" + }, + { + type = "unlock-recipe", + recipe = "bi-arboretum-r4" + }, + }, + prerequisites = { + "fluid-handling", + "bi-tech-bio-farming" + }, + unit = { + count = 250, + ingredients = { + {"automation-science-pack", 1}, + {"logistic-science-pack", 1} + }, + time = 30 + } + } +}) diff --git a/Bio_Industries_2/prototypes/Bio_Farm/technology2.lua b/Bio_Industries_2/prototypes/Bio_Farm/technology2.lua index 1a734d2..14e088d 100644 --- a/Bio_Industries_2/prototypes/Bio_Farm/technology2.lua +++ b/Bio_Industries_2/prototypes/Bio_Farm/technology2.lua @@ -1,83 +1,83 @@ -local BioInd = require('common')('Bio_Industries_2') - -local ICONPATH = BioInd.modRoot .. "/graphics/technology/" - - - data:extend( - { - { - type = "technology", - name = "bi-tech-advanced-biotechnology", - icon_size = 128, - icon = ICONPATH .. "Biomass_128.png", - icons = { - { - icon = ICONPATH .. "Biomass_128.png", - icon_size = 128, - } - }, - effects = { - { - type = "unlock-recipe", - recipe = "bi-seed-4" - }, - { - type = "unlock-recipe", - recipe = "bi-seedling-4" - }, - { - type = "unlock-recipe", - recipe = "bi-logs-4" - }, - { - type = "unlock-recipe", - recipe = "bi-adv-fertilizer-2" - }, - { - type = "unlock-recipe", - recipe = "bi-seed-bomb-advanced" - }, - { - type = "unlock-recipe", - recipe = "bi-arboretum-r3" - }, - { - type = "unlock-recipe", - recipe = "bi-arboretum-r5" - }, - -- Added for 0.18.29: We always want to make advanced fertilizer, so we need to - -- unlock the bio-reactor and the most basic recipe for algae biomass even if - -- BI.Settings.BI_Bio_Fuel has been turned off! - { - type = "unlock-recipe", - recipe = "bi-bio-reactor" - }, - { - type = "unlock-recipe", - recipe = "bi-biomass-1" - }, - - -- Added for 0.18.29: Now that we always make advanced fertilizer, we can also add - -- the advanced recipe for purified air even if BI.Settings.BI_Bio_Fuel has been - -- turned off! - { - type = "unlock-recipe", - recipe = "bi-purified-air-2" - }, - - - }, - prerequisites = { - "bi-tech-fertilizer" - }, - unit = { - count = 200, - ingredients = { - {"automation-science-pack", 1}, - {"logistic-science-pack", 1}, - {"chemical-science-pack", 1}, - }, - time = 30 - } - }, - }) +local BioInd = require('common')('Bio_Industries_2') + +local ICONPATH = BioInd.modRoot .. "/graphics/technology/" + + + data:extend( + { + { + type = "technology", + name = "bi-tech-advanced-biotechnology", + icon_size = 256, + icon = ICONPATH .. "bi-tech-biomass.png", + icons = { + { + icon = ICONPATH .. "bi-tech-biomass.png", + icon_size = 256, + } + }, + effects = { + { + type = "unlock-recipe", + recipe = "bi-seed-4" + }, + { + type = "unlock-recipe", + recipe = "bi-seedling-4" + }, + { + type = "unlock-recipe", + recipe = "bi-logs-4" + }, + { + type = "unlock-recipe", + recipe = "bi-adv-fertilizer-2" + }, + { + type = "unlock-recipe", + recipe = "bi-seed-bomb-advanced" + }, + { + type = "unlock-recipe", + recipe = "bi-arboretum-r3" + }, + { + type = "unlock-recipe", + recipe = "bi-arboretum-r5" + }, + -- Added for 0.18.29: We always want to make advanced fertilizer, so we need to + -- unlock the bio-reactor and the most basic recipe for algae biomass even if + -- BI.Settings.BI_Bio_Fuel has been turned off! + { + type = "unlock-recipe", + recipe = "bi-bio-reactor" + }, + { + type = "unlock-recipe", + recipe = "bi-biomass-1" + }, + + -- Added for 0.18.29: Now that we always make advanced fertilizer, we can also add + -- the advanced recipe for purified air even if BI.Settings.BI_Bio_Fuel has been + -- turned off! + { + type = "unlock-recipe", + recipe = "bi-purified-air-2" + }, + + + }, + prerequisites = { + "bi-tech-fertilizer" + }, + unit = { + count = 200, + ingredients = { + {"automation-science-pack", 1}, + {"logistic-science-pack", 1}, + {"chemical-science-pack", 1}, + }, + time = 30 + } + }, + }) diff --git a/Bio_Industries_2/prototypes/Bio_Farm/tree_entities.lua b/Bio_Industries_2/prototypes/Bio_Farm/tree_entities.lua index 951c66a..3390d62 100644 --- a/Bio_Industries_2/prototypes/Bio_Farm/tree_entities.lua +++ b/Bio_Industries_2/prototypes/Bio_Farm/tree_entities.lua @@ -1,182 +1,182 @@ -local default_masks = require("collision-mask-defaults") -local BioInd = require('common')('Bio_Industries_2') - ---[[ - -Big thanks to OwnlyMe and his "Robot Tree Farm" code! -https://mods.factorio.com/mod/robot_tree_farm -License: CC BY-SA 4.0 - -]] - --- Don't create prototypes for trees in this table! -local ignore_trees = BioInd.get_tree_ignore_list() -BioInd.show("Ignoring these trees", ignore_trees) - -local COLLISION_BOX = {{-0.1, -0.1}, {0.1, 0.1}} -local TREE_LEVELS = 4 -local extend = {} -local wooden, branch, leaf - -for i = 1, TREE_LEVELS do - wooden = table.deepcopy(data.raw["optimized-particle"]["wooden-particle"]) - wooden.name = "bio-" .. wooden.name .. "-" .. i - for _, pic in pairs(wooden.pictures) do - pic.scale = (pic.scale or 1)/TREE_LEVELS*i - end - for _, pic in pairs(wooden.shadows) do - pic.scale = (pic.scale or 1)/TREE_LEVELS*i - end - - branch = table.deepcopy(data.raw["optimized-particle"]["branch-particle"]) - branch.name = "bio-" .. branch.name .. "-" .. i - for _, pic in pairs(branch.pictures) do - pic.scale = (pic.scale or 1)/TREE_LEVELS*i - end - for _, pic in pairs(branch.shadows) do - pic.scale = (pic.scale or 1)/TREE_LEVELS*i - end - - leaf = table.deepcopy(data.raw["optimized-particle"]["leaf-particle"]) - leaf.name = "bio-" .. leaf.name .. "-" .. i - for _, pic in pairs(leaf.pictures) do - pic.scale = (pic.scale or 1)/TREE_LEVELS*math.max(2, i) - end - for _, pic in pairs(leaf.shadows) do - pic.scale = (pic.scale or 1)/TREE_LEVELS*math.max(2, i) - end - - data:extend({wooden, branch, leaf}) -end - - -local tree, stump -for id, prototype in pairs(data.raw.tree) do - if prototype.variations and not ignore_trees[id] then - for i = 1, TREE_LEVELS do - tree = table.deepcopy(prototype) - tree.name = "bio-tree-" .. tree.name .. "-" .. i - if i < (TREE_LEVELS-1) then - tree.localised_name = {"bi-misc.growing-tree"} - tree.localised_description = {"bi-misc.growing-tree-desc"} - else - tree.localised_name = {"bi-misc.young-tree"} - tree.localised_description = {"bi-misc.young-tree-desc"} - end - tree.max_health = math.floor(50 * i/TREE_LEVELS) - tree.flags = {"placeable-neutral", "breaths-air"} - tree.collision_mask = table.deepcopy(default_masks["tree"]) - tree.autoplace = nil - tree.selection_box = { - {-0.9/TREE_LEVELS * i, -2.2/TREE_LEVELS * i}, - {0.9/TREE_LEVELS * i, 0.6/TREE_LEVELS * i} - } - if BI.Settings.BI_Game_Tweaks_Small_Tree_Collisionbox then - tree.collision_box = COLLISION_BOX - end - tree.minable.mining_particle = "bio-wooden-particle-" .. i - -- The longer a tree has grown, the harder it is to mine - tree.minable.mining_time = 0.25 * i - - -- Now the tree-level thingie starts to make sense: higher growing stages correspond - -- to a higher probability of getting something when the tree is mined! - - tree.minable.results = { - { - type = "item", - name = (i < TREE_LEVELS) and "seedling" or "wood", - probability = i/TREE_LEVELS, - amount = 1, - } - } - -- minable.result will be ignored by Factorio if minable.results exists, but - -- in data-final-fixes, we check for minable.result == "wood" before setting - -- minable.results to yield a random number of wood. We therefore must remove - -- tree.minable.result! - tree.minable.result = nil - - for var_id, variation in pairs(tree.variations) do - variation.trunk.scale = (variation.trunk.scale or 1) * i / TREE_LEVELS - if variation.trunk.shift then - variation.trunk.shift[1] = variation.trunk.shift[1]/TREE_LEVELS*i - variation.trunk.shift[2] = variation.trunk.shift[2]/TREE_LEVELS*i - end - - -- This doesn't make sense, the condition can never be true! Either more - -- than 4 levels have been used originally, or it should be compared to just - -- TREE_LEVELS, not TREE_LEVELS/10 (i.e. typo) - -- EDIT: OwnlyMe's Robot Tree Farm has 20 grow stages per default (min 3, max 200), - -- so we should use a limit of i<=2.) - local max = 2 - if i <= max then - variation.trunk.layers = {{ - filename = "__Bio_Industries_2__/graphics/icons/Seedling_a.png", - priority = "extra-high", - width = 64, - height = 64, - scale = 0.5, - frame_count = 1, - tint= { - r = 0.7-0.5*i/max, - g = 0.7-0.5*i/max, - b = 0.7-0.5*i/max, - a = 0.7-0.5*i/max - } - }} - variation.trunk.frame_count = 1 - end - - variation.leaves.scale = (variation.leaves.scale or 1) * i / TREE_LEVELS - if variation.leaves.shift then - variation.leaves.shift[1] = (variation.leaves.shift[1] or 0)/TREE_LEVELS*i - variation.leaves.shift[2] = (variation.leaves.shift[2] or 0)/TREE_LEVELS*i - end - - variation.leaf_generation.scale = (variation.leaf_generation.scale or 1) * i / TREE_LEVELS - variation.leaf_generation.offset_deviation = {{-0.5, -0.5}, {0.5, 0.5}} - variation.leaf_generation.initial_height = 2/TREE_LEVELS*i - variation.leaf_generation.initial_height_deviation = 1/TREE_LEVELS*i - variation.leaf_generation.entity_name = "bio-leaf-particle-" .. i - variation.branch_generation.scale = (variation.branch_generation.scale or 1) * i / TREE_LEVELS - variation.branch_generation.offset_deviation = { - {0.5*i/TREE_LEVELS, 0.5*i/TREE_LEVELS}, - {0.5*i/TREE_LEVELS, 0.5*i/TREE_LEVELS} - } - variation.branch_generation.initial_height = 2/TREE_LEVELS*i - variation.branch_generation.initial_height_deviation = 2/TREE_LEVELS*i - variation.branch_generation.entity_name = "bio-branch-particle-" .. i - variation.shadow.scale = (variation.shadow.scale or 1) * i / TREE_LEVELS - - if variation.shadow.shift then - variation.shadow.shift[1] = (variation.shadow.shift[1] or 0)/TREE_LEVELS*i - variation.shadow.shift[2] = (variation.shadow.shift[2] or 0)/TREE_LEVELS*i - end - end - - - stump = table.deepcopy(data.raw.corpse[tree.remains_when_mined]) - - if stump then - stump.name = "bio-tree-" .. stump.name .. "-" .. i - stump.time_before_removed = 60 * 5 -- 5 secs - - tree.remains_when_mined = stump.name - tree.corpse = stump.name - table.insert(extend, tree) - - for _, variation in pairs(stump.animation) do - variation.scale = (variation.scale or 1) * i / TREE_LEVELS - variation.shift[1] = variation.shift[1]/TREE_LEVELS*i - variation.shift[2] = variation.shift[2]/TREE_LEVELS*i - - end - - table.insert(extend, stump) - - end - end - end -end - -data:extend(extend) - +local default_masks = require("collision-mask-defaults") +local BioInd = require('common')('Bio_Industries_2') + +--[[ + +Big thanks to OwnlyMe and his "Robot Tree Farm" code! +https://mods.factorio.com/mod/robot_tree_farm +License: CC BY-SA 4.0 + +]] + +-- Don't create prototypes for trees in this table! +local ignore_trees = BioInd.get_tree_ignore_list() +BioInd.show("Ignoring these trees", ignore_trees) + +local COLLISION_BOX = {{-0.1, -0.1}, {0.1, 0.1}} +local TREE_LEVELS = 4 +local extend = {} +local wooden, branch, leaf + +for i = 1, TREE_LEVELS do + wooden = table.deepcopy(data.raw["optimized-particle"]["wooden-particle"]) + wooden.name = "bio-" .. wooden.name .. "-" .. i + for _, pic in pairs(wooden.pictures) do + pic.scale = (pic.scale or 1)/TREE_LEVELS*i + end + for _, pic in pairs(wooden.shadows) do + pic.scale = (pic.scale or 1)/TREE_LEVELS*i + end + + branch = table.deepcopy(data.raw["optimized-particle"]["branch-particle"]) + branch.name = "bio-" .. branch.name .. "-" .. i + for _, pic in pairs(branch.pictures) do + pic.scale = (pic.scale or 1)/TREE_LEVELS*i + end + for _, pic in pairs(branch.shadows) do + pic.scale = (pic.scale or 1)/TREE_LEVELS*i + end + + leaf = table.deepcopy(data.raw["optimized-particle"]["leaf-particle"]) + leaf.name = "bio-" .. leaf.name .. "-" .. i + for _, pic in pairs(leaf.pictures) do + pic.scale = (pic.scale or 1)/TREE_LEVELS*math.max(2, i) + end + for _, pic in pairs(leaf.shadows) do + pic.scale = (pic.scale or 1)/TREE_LEVELS*math.max(2, i) + end + + data:extend({wooden, branch, leaf}) +end + + +local tree, stump +for id, prototype in pairs(data.raw.tree) do + if prototype.variations and not ignore_trees[id] then + for i = 1, TREE_LEVELS do + tree = table.deepcopy(prototype) + tree.name = "bio-tree-" .. tree.name .. "-" .. i + if i < (TREE_LEVELS-1) then + tree.localised_name = {"bi-misc.growing-tree"} + tree.localised_description = {"bi-misc.growing-tree-desc"} + else + tree.localised_name = {"bi-misc.young-tree"} + tree.localised_description = {"bi-misc.young-tree-desc"} + end + tree.max_health = math.floor(50 * i/TREE_LEVELS) + tree.flags = {"placeable-neutral", "breaths-air"} + tree.collision_mask = table.deepcopy(default_masks["tree"]) + tree.autoplace = nil + tree.selection_box = { + {-0.9/TREE_LEVELS * i, -2.2/TREE_LEVELS * i}, + {0.9/TREE_LEVELS * i, 0.6/TREE_LEVELS * i} + } + if BI.Settings.BI_Game_Tweaks_Small_Tree_Collisionbox then + tree.collision_box = COLLISION_BOX + end + tree.minable.mining_particle = "bio-wooden-particle-" .. i + -- The longer a tree has grown, the harder it is to mine + tree.minable.mining_time = 0.25 * i + + -- Now the tree-level thingie starts to make sense: higher growing stages correspond + -- to a higher probability of getting something when the tree is mined! + + tree.minable.results = { + { + type = "item", + name = (i < TREE_LEVELS) and "seedling" or "wood", + probability = i/TREE_LEVELS, + amount = 1, + } + } + -- minable.result will be ignored by Factorio if minable.results exists, but + -- in data-final-fixes, we check for minable.result == "wood" before setting + -- minable.results to yield a random number of wood. We therefore must remove + -- tree.minable.result! + tree.minable.result = nil + + for var_id, variation in pairs(tree.variations) do + variation.trunk.scale = (variation.trunk.scale or 1) * i / TREE_LEVELS + if variation.trunk.shift then + variation.trunk.shift[1] = variation.trunk.shift[1]/TREE_LEVELS*i + variation.trunk.shift[2] = variation.trunk.shift[2]/TREE_LEVELS*i + end + + -- This doesn't make sense, the condition can never be true! Either more + -- than 4 levels have been used originally, or it should be compared to just + -- TREE_LEVELS, not TREE_LEVELS/10 (i.e. typo) + -- EDIT: OwnlyMe's Robot Tree Farm has 20 grow stages per default (min 3, max 200), + -- so we should use a limit of i<=2.) + local max = 2 + if i <= max then + variation.trunk.layers = {{ + filename = "__Bio_Industries_2__/graphics/icons/Seedling_a.png", + priority = "extra-high", + width = 64, + height = 64, + scale = 0.5, + frame_count = 1, + tint= { + r = 0.7-0.5*i/max, + g = 0.7-0.5*i/max, + b = 0.7-0.5*i/max, + a = 0.7-0.5*i/max + } + }} + variation.trunk.frame_count = 1 + end + + variation.leaves.scale = (variation.leaves.scale or 1) * i / TREE_LEVELS + if variation.leaves.shift then + variation.leaves.shift[1] = (variation.leaves.shift[1] or 0)/TREE_LEVELS*i + variation.leaves.shift[2] = (variation.leaves.shift[2] or 0)/TREE_LEVELS*i + end + + variation.leaf_generation.scale = (variation.leaf_generation.scale or 1) * i / TREE_LEVELS + variation.leaf_generation.offset_deviation = {{-0.5, -0.5}, {0.5, 0.5}} + variation.leaf_generation.initial_height = 2/TREE_LEVELS*i + variation.leaf_generation.initial_height_deviation = 1/TREE_LEVELS*i + variation.leaf_generation.entity_name = "bio-leaf-particle-" .. i + variation.branch_generation.scale = (variation.branch_generation.scale or 1) * i / TREE_LEVELS + variation.branch_generation.offset_deviation = { + {0.5*i/TREE_LEVELS, 0.5*i/TREE_LEVELS}, + {0.5*i/TREE_LEVELS, 0.5*i/TREE_LEVELS} + } + variation.branch_generation.initial_height = 2/TREE_LEVELS*i + variation.branch_generation.initial_height_deviation = 2/TREE_LEVELS*i + variation.branch_generation.entity_name = "bio-branch-particle-" .. i + variation.shadow.scale = (variation.shadow.scale or 1) * i / TREE_LEVELS + + if variation.shadow.shift then + variation.shadow.shift[1] = (variation.shadow.shift[1] or 0)/TREE_LEVELS*i + variation.shadow.shift[2] = (variation.shadow.shift[2] or 0)/TREE_LEVELS*i + end + end + + + stump = table.deepcopy(data.raw.corpse[tree.remains_when_mined]) + + if stump then + stump.name = "bio-tree-" .. stump.name .. "-" .. i + stump.time_before_removed = 60 * 5 -- 5 secs + + tree.remains_when_mined = stump.name + tree.corpse = stump.name + table.insert(extend, tree) + + for _, variation in pairs(stump.animation) do + variation.scale = (variation.scale or 1) * i / TREE_LEVELS + variation.shift[1] = variation.shift[1]/TREE_LEVELS*i + variation.shift[2] = variation.shift[2]/TREE_LEVELS*i + + end + + table.insert(extend, stump) + + end + end + end +end + +data:extend(extend) + diff --git a/Bio_Industries_2/prototypes/Bio_Fuel/entities.lua b/Bio_Industries_2/prototypes/Bio_Fuel/entities.lua index 392acf3..b35cb7b 100644 --- a/Bio_Industries_2/prototypes/Bio_Fuel/entities.lua +++ b/Bio_Industries_2/prototypes/Bio_Fuel/entities.lua @@ -1,387 +1,522 @@ -local BioInd = require('common')('Bio_Industries_2') - -local ICONPATH = BioInd.modRoot .. "/graphics/icons/" -local ENTITYPATH = "__base__/graphics/entity/boiler/" - -require ("util") -require ("prototypes.Bio_Fuel.pipeConnectors") - -bio_boiler_tint = {r = 0.5, g = 0.5, b = 0.1, a = 0.7} - --- Changed for 0.18.29: We always want to make advanced fertilizer, so we need to --- unlock the bio-reactor and the most basic recipe for algae biomass even if --- BI.Settings.BI_Bio_Fuel has been turned off! -data:extend({ - -- BIOREACTOR - { - type = "assembling-machine", - name = "bi-bio-reactor", - icon = ICONPATH .. "bioreactor.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bioreactor.png", - icon_size = 64, - } - }, - -- This is necessary for "Space Exploration" (if not true, the entity can only be - -- placed on Nauvis)! - se_allow_in_space = true, - flags = {"placeable-neutral", "player-creation"}, - minable = {hardness = 0.2, mining_time = 0.5, result = "bi-bio-reactor"}, - max_health = 100, - corpse = "big-remnants", - fluid_boxes = { - { - production_type = "input", - pipe_picture = assembler2pipepicturesBioreactor(), - pipe_covers = pipecoverspicturesBioreactor(), - volume = 1000, - base_level = -1, - pipe_connections = {{ flow_direction = "input", direction = defines.direction.north, position = {0, -1} }} - }, - { - production_type = "input", - pipe_picture = assembler2pipepicturesBioreactor(), - pipe_covers = pipecoverspicturesBioreactor(), - volume = 1000, - base_level = -1, - pipe_connections = {{ flow_direction = "input", direction = defines.direction.north, position = {1, 0} }} - }, - { - production_type = "input", - pipe_picture = assembler2pipepicturesBioreactor(), - pipe_covers = pipecoverspicturesBioreactor(), - volume = 1000, - base_level = -1, - pipe_connections = {{ flow_direction = "input", direction = defines.direction.north, position = {0, 1} }} - }, - { - production_type = "output", - pipe_picture = assembler2pipepicturesBioreactor(), - pipe_covers = pipecoverspicturesBioreactor(), - volume = 1000, - base_level = 1, - pipe_connections = {{ flow_direction = "output", direction = defines.direction.north, position = {-1, -1} }} - }, - { - production_type = "output", - pipe_picture = assembler2pipepicturesBioreactor(), - pipe_covers = pipecoverspicturesBioreactor(), - volume = 1000, - base_level = 1, - pipe_connections = {{ flow_direction = "output", direction = defines.direction.north, position = {-1, 1} }} - }, - }, - fluid_boxes_off_when_no_fluid_recipe = true, - collision_box = {{-1.2, -1.2}, {1.2, 1.2}}, - selection_box = {{-1.5, -1.5}, {1.5, 1.5}}, - animation = { - filename = "__Bio_Industries_2__/graphics/entities/bioreactor/bioreactor.png", - priority = "high", - width = 128, - height = 150, - frame_count = 26, - line_length = 13, - animation_speed = 0.4, - shift = {0.55, -0.33} - }, - energy_source = { - type = "electric", - usage_priority = "secondary-input" - }, - crafting_categories = {"biofarm-mod-bioreactor"}, - ingredient_count = 3, - crafting_speed = 1, - energy_usage = "10kW", - module_specification = { - module_slots = 3 - }, - allowed_effects = {"consumption", "speed", "productivity", "pollution"}, - }, -}) - -if BI.Settings.BI_Bio_Fuel then - data:extend({ - --- Bio Boiler - { - type = "boiler", - name = "bi-bio-boiler", - localised_name = {"entity-name.bi-bio-boiler"}, - localised_description = {"entity-description.bi-bio-boiler"}, - icon = ICONPATH .. "bio_boiler.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bio_boiler.png", - icon_size = 64, - } - }, - -- This is necessary for "Space Exploration" (if not true, the entity can only be - -- placed on Nauvis)! - se_allow_in_space = true, - flags = {"placeable-neutral", "player-creation"}, - minable = {hardness = 0.2, mining_time = 0.5, result = "bi-bio-boiler"}, - max_health = 300, - corpse = "small-remnants", - mode = "output-to-separate-pipe", - resistances = { - { - type = "fire", - percent = 100 - }, - { - type = "explosion", - percent = 100 - }, - { - type = "impact", - percent = 35 - } - }, - collision_box = {{-1.29, -0.79}, {1.29, 0.79}}, - selection_box = {{-1.5, -1}, {1.5, 1}}, - target_temperature = 165, - fluid_box = { - volume = 200, - base_level = -1, - pipe_covers = pipecoverspictures(), - pipe_connections = { - {flow_direction = "input-output", direction = defines.direction.north, position = {-1, 0.5}}, - {flow_direction = "input-output", direction = defines.direction.north, position = {1, 0.5}} - }, - production_type = "input-output", - filter = "water" - }, - output_fluid_box = { - volume = 200, - base_level = 1, - pipe_covers = pipecoverspictures(), - pipe_connections = { - {flow_direction = "output", direction = defines.direction.north, position = {0, -0.5}} - }, - production_type = "output", - filter = "steam" - }, - energy_consumption = "3.6MW", - energy_source = { - type = "burner", - fuel_categories = { "chemical" }, - effectivity = 1, - fuel_inventory_size = 2, - emissions_per_minute = { pollution = 15 }, - smoke = { - { - name = "smoke", - north_position = util.by_pixel(-38, -47.5), - south_position = util.by_pixel(38.5, -32), - east_position = util.by_pixel(20, -70), - west_position = util.by_pixel(-19, -8.5), - frequency = 20, - starting_vertical_speed = 0.0, - starting_frame_deviation = 60 - } - } - }, - working_sound = { - sound = { - filename = "__base__/sound/boiler.ogg", - volume = 0.8 - }, - max_sounds_per_type = 3 - }, - structure = { - north = { - layers = { - { - filename = ENTITYPATH .. "boiler-N-idle.png", - priority = "extra-high", - width = 269, - height = 221, - shift = util.by_pixel(-1.25, 5.25), - scale = 0.5, - tint = bio_boiler_tint, - }, - { - filename = ENTITYPATH .. "boiler-N-shadow.png", - priority = "extra-high", - width = 274, - height = 164, - scale = 0.5, - shift = util.by_pixel(20.5, 9), - draw_as_shadow = true, - } - } - }, - east = { - layers = { - { - filename = ENTITYPATH .. "boiler-E-idle.png", - priority = "extra-high", - width = 216, - height = 301, - shift = util.by_pixel(-3, 1.25), - scale = 0.5, - tint = bio_boiler_tint, - }, - { - filename = ENTITYPATH .. "boiler-E-shadow.png", - priority = "extra-high", - width = 184, - height = 194, - scale = 0.5, - shift = util.by_pixel(30, 9.5), - draw_as_shadow = true, - } - } - }, - south = { - layers = { - { - filename = ENTITYPATH .. "boiler-S-idle.png", - priority = "extra-high", - width = 260, - height = 192, - shift = util.by_pixel(4, 13), - scale = 0.5, - tint = bio_boiler_tint, - }, - { - filename = ENTITYPATH .. "boiler-S-shadow.png", - priority = "extra-high", - width = 311, - height = 131, - scale = 0.5, - shift = util.by_pixel(29.75, 15.75), - draw_as_shadow = true, - } - } - }, - west = { - layers = { - { - filename = ENTITYPATH .. "boiler-W-idle.png", - priority = "extra-high", - width = 196, - height = 273, - shift = util.by_pixel(1.5, 7.75), - scale = 0.5, - tint = bio_boiler_tint, - }, - { - filename = ENTITYPATH .. "boiler-W-shadow.png", - priority = "extra-high", - width = 206, - height = 218, - scale = 0.5, - shift = util.by_pixel(19.5, 6.5), - draw_as_shadow = true, - } - } - } - }, - patch = { - east = { - filename = ENTITYPATH .. "boiler-E-patch.png", - width = 6, - height = 36, - shift = util.by_pixel(33.5, -13.5), - scale = 0.5, - tint = bio_boiler_tint, - }, - }, - fire_flicker_enabled = true, - fire = { - north = { - filename = ENTITYPATH .. "boiler-N-fire.png", - priority = "extra-high", - frame_count = 64, - line_length = 8, - width = 26, - height = 26, - animation_speed = 0.5, - shift = util.by_pixel(0, -8.5), - scale = 0.5 - }, - east = { - filename = ENTITYPATH .. "boiler-E-fire.png", - priority = "extra-high", - frame_count = 64, - line_length = 8, - width = 28, - height = 28, - animation_speed = 0.5, - shift = util.by_pixel(-9.5, -22), - scale = 0.5 - }, - south = { - filename = ENTITYPATH .. "boiler-S-fire.png", - priority = "extra-high", - frame_count = 64, - line_length = 8, - width = 26, - height = 16, - animation_speed = 0.5, - shift = util.by_pixel(-1, -26.5), - scale = 0.5 - }, - west = { - filename = ENTITYPATH .. "boiler-W-fire.png", - priority = "extra-high", - frame_count = 64, - line_length = 8, - width = 30, - height = 29, - animation_speed = 0.5, - shift = util.by_pixel(13, -23.25), - scale = 0.5 - } - }, - fire_glow_flicker_enabled = true, - fire_glow = { - north = { - filename = ENTITYPATH .. "boiler-N-light.png", - priority = "extra-high", - frame_count = 1, - width = 200, - height = 173, - shift = util.by_pixel(-1, -6.75), - blend_mode = "additive", - scale = 0.5 - }, - east = { - filename = ENTITYPATH .. "boiler-E-light.png", - priority = "extra-high", - frame_count = 1, - width = 139, - height = 244, - shift = util.by_pixel(0.25, -13), - blend_mode = "additive", - scale = 0.5 - }, - south = { - filename = ENTITYPATH .. "boiler-S-light.png", - priority = "extra-high", - frame_count = 1, - width = 200, - height = 162, - shift = util.by_pixel(1, 5.5), - blend_mode = "additive", - scale = 0.5 - }, - west = { - filename = ENTITYPATH .. "boiler-W-light.png", - priority = "extra-high", - frame_count = 1, - width = 136, - height = 217, - shift = util.by_pixel(2, -6.25), - blend_mode = "additive", - scale = 0.5 - } - }, - burning_cooldown = 20 - }, - - }) -end +local BioInd = require('common')('Bio_Industries_2') + +local ICONPATH = BioInd.modRoot .. "/graphics/icons/" +local ICONPATH_E = BioInd.modRoot .. "/graphics/icons/entity/" +local ENTITYPATH = "__base__/graphics/entity/boiler/" +local ENTITYPATH_BIO = BioInd.modRoot .. "/graphics/entities/" +local REMNANTSPATH = BioInd.modRoot .. "/graphics/entities/remnants/" + + +require("util") +--require("prototypes.Bio_Fuel.pipeConnectors") + + +-- Changed for 0.18.29: We always want to make advanced fertilizer, so we need to +-- unlock the bio-reactor and the most basic recipe for algae biomass even if +-- BI.Settings.BI_Bio_Fuel has been turned off! + + +------------------------------------------------------------------------------------ +-- Bio reactor -- +------------------------------------------------------------------------------------ +-- Pipes +function assembler2pipepicturesBioreactor() + return { + north = { + filename = "__core__/graphics/empty.png", + priority = "low", + width = 1, + height = 1, + shift = util.by_pixel(2.5, 14), + }, + east = { + filename = ENTITYPATH_BIO .. "bio_reactor/pipes/bioreactor-pipe-e.png", + priority = "low", + width = 42, + height = 76, + shift = util.by_pixel(-24.5, 1), + scale = 0.5, + }, + south = { + filename = ENTITYPATH_BIO .. "bio_reactor/pipes/bioreactor-pipe-s.png", + priority = "low", + width = 88, + height = 61, + shift = util.by_pixel(0, -31.25), + scale = 0.5, + }, + west = { + filename = ENTITYPATH_BIO .. "bio_reactor/pipes/bioreactor-pipe-w.png", + priority = "low", + width = 39, + height = 73, + shift = util.by_pixel(25.75, 1.25), + scale = 0.5, + }, + } +end + + + + +data:extend({ + -- BIO_REACTOR + { + type = "assembling-machine", + name = "bi-bio-reactor", + icons = {{ icon = ICONPATH_E .. "bioreactor.png", icon_size = 64 }}, + -- This is necessary for "Space Exploration" (if not true, the entity can only be + -- placed on Nauvis)! + se_allow_in_space = true, + flags = { "placeable-neutral", "player-creation" }, + minable = { hardness = 0.2, mining_time = 0.5, result = "bi-bio-reactor" }, + max_health = 100, + corpse = "bi-bio-reactor-remnant", + fluid_boxes = { + { + production_type = "input", + pipe_picture = assembler2pipepicturesBioreactor(), + pipe_covers = pipecoverspictures(), + volume = 1000, + base_area = 10, + base_level = -1, + pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 0, -1 } } }, + -- pipe_connections = {{ type = "input", position = {0, -2} }}, + render_layer = "higher-object-under", + }, + { + production_type = "input", + pipe_picture = assembler2pipepicturesBioreactor(), + pipe_covers = pipecoverspictures(), + volume = 1000, + base_area = 10, + base_level = -1, + pipe_connections = { { flow_direction = "input", direction = defines.direction.east, position = { 1, 0 } } }, + -- pipe_connections = {{ type = "input", position = {2, 0} }}, + render_layer = "higher-object-under", + }, + { + production_type = "input", + pipe_picture = assembler2pipepicturesBioreactor(), + pipe_covers = pipecoverspictures(), + volume = 1000, + base_area = 10, + base_level = -1, + pipe_connections = { { flow_direction = "input", direction = defines.direction.south, position = { 0, 1 } } }, + --pipe_connections = {{ type = "input", position = {0, 2} }}, + render_layer = "higher-object-under", + }, + { + production_type = "output", + pipe_picture = assembler2pipepicturesBioreactor(), + pipe_covers = pipecoverspictures(), + volume = 1000, + base_area = 10, + base_level = 1, + pipe_connections = { { flow_direction = "output", direction = defines.direction.west, position = { -1, -1 } } }, + --pipe_connections = {{ type = "output", position = {-2, -1} }}, + render_layer = "higher-object-under", + }, + { + production_type = "output", + pipe_picture = assembler2pipepicturesBioreactor(), + pipe_covers = pipecoverspictures(), + volume = 1000, + base_area = 10, + base_level = 1, + pipe_connections = { { flow_direction = "output", direction = defines.direction.west, position = { -1, 1 } } }, + --pipe_connections = {{ type = "output", position = {-2, 1} }}, + render_layer = "higher-object-under", + }, + + }, + fluid_boxes_off_when_no_fluid_recipe = true, + collision_box = { { -1.2, -1.2 }, { 1.2, 1.2 } }, + selection_box = { { -1.5, -1.5 }, { 1.5, 1.5 } }, + + graphics_set = { + -- Base animation (idle state) - Factorio 2.0 syntax + animation = { + layers = { + { + filename = ENTITYPATH_BIO .. "bio_reactor/bioreactor_idle.png", + priority = "high", + width = 182, + height = 256, + frame_count = 1, + repeat_count = 18, -- match working animation frame count + shift = { 0, -0.125 }, -- Consistent shift (converted from -0.5 to tiles) + scale = 0.5 + }, + { + filename = ENTITYPATH_BIO .. "bio_reactor/bioreactor_shadow.png", + width = 270, + height = 256, + frame_count = 1, + repeat_count = 18, -- match working animation frame count + draw_as_shadow = true, + shift = { 0.5, -0.125 }, -- Consistent shift with main sprite + scale = 0.5 + } + } + }, + + -- Working visualizations - triggers when recipe is active + working_visualisations = { + { + -- Main working animation + animation = { + layers = { + { + filename = ENTITYPATH_BIO .. "bio_reactor/bioreactor_anim.png", + priority = "high", + width = 182, + height = 256, + frame_count = 18, + line_length = 6, + animation_speed = 0.4, + shift = { 0, -0.125 }, -- FIXED: Same shift as idle animation + scale = 0.5 + } + } + }, + -- This ensures the working animation plays over the idle animation + always_draw = false, -- Only draw when working + apply_recipe_tint = "primary", -- Optional: tint based on recipe + } + } + }, + + energy_source = { + type = "electric", + usage_priority = "secondary-input" + }, + crafting_categories = { "biofarm-mod-bioreactor" }, + ingredient_count = 3, + crafting_speed = 1, + energy_usage = "10kW", + module_specification = { + module_slots = 3 + }, + allowed_effects = { "consumption", "speed", "productivity", "pollution" }, + }, + + --- corpse + + { + type = "corpse", + name = "bi-bio-reactor-remnant", + localised_name = {"entity-name.bi-bio-reactor-remnant"}, + icon = "__base__/graphics/icons/remnants.png", + icon_size = 64, + icon_mipmaps = 4, + BI_add_icon = true, + flags = {"placeable-neutral", "building-direction-8-way", "not-on-map"}, + subgroup = "remnants", + order = "z-z-z", + selection_box = {{-1.5, -1.5}, {1.5, 1.5}}, + tile_width = 3, + tile_height = 3, + selectable_in_game = false, + time_before_removed = 60 * 60 * 15, -- 15 minutes + final_render_layer = "remnants", + remove_on_tile_placement = false, + animation = + { + { + filename = REMNANTSPATH .. "bioreactor_remnant.png", + line_length = 1, + width = 182, + height = 256, + frame_count = 1, + direction_count = 1, + shift = {0, -0.5}, + scale = 0.5 + } + } + }, + +}) + +if BI.Settings.BI_Bio_Fuel then + data:extend({ + --- Bio Boiler + { + type = "boiler", + name = "bi-bio-boiler", + localised_name = { "entity-name.bi-bio-boiler" }, + localised_description = { "entity-description.bi-bio-boiler" }, + icons = { {icon = ICONPATH_E .. "bio_boiler.png", icon_size = 64,} }, + -- This is necessary for "Space Exploration" (if not true, the entity can only be + -- placed on Nauvis)! + se_allow_in_space = true, + flags = { "placeable-neutral", "player-creation" }, + minable = { hardness = 0.2, mining_time = 0.5, result = "bi-bio-boiler" }, + max_health = 300, + corpse = "boiler-remnants", + dying_explosion = "boiler-explosion", + impact_category = "metal-large", + mode = "output-to-separate-pipe", + resistances = { + { + type = "fire", + percent = 100 + }, + { + type = "explosion", + percent = 100 + }, + { + type = "impact", + percent = 35 + } + }, + collision_box = { { -1.29, -0.79 }, { 1.29, 0.79 } }, + selection_box = { { -1.5, -1 }, { 1.5, 1 } }, + target_temperature = 165, + fluid_box = { + volume = 200, + base_level = -1, + pipe_covers = pipecoverspictures(), + pipe_connections = { + { flow_direction = "input-output", direction = defines.direction.west, position = { -1, 0.5 } }, + { flow_direction = "input-output", direction = defines.direction.east, position = { 1, 0.5 } } + }, + production_type = "input-output", + filter = "water" + }, + output_fluid_box = { + volume = 200, + base_level = 1, + pipe_covers = pipecoverspictures(), + pipe_connections = { + { flow_direction = "output", direction = defines.direction.north, position = { 0, -0.5 } } + }, + production_type = "output", + filter = "steam" + }, + energy_consumption = "3.6MW", + energy_source = { + type = "burner", + fuel_categories = { "chemical" }, + effectivity = 1, + fuel_inventory_size = 2, + emissions_per_minute = { pollution = 15 }, + smoke = { + { + name = "smoke", + north_position = util.by_pixel(-38, -47.5), + south_position = util.by_pixel(38.5, -32), + east_position = util.by_pixel(20, -70), + west_position = util.by_pixel(-19, -8.5), + frequency = 20, + starting_vertical_speed = 0.0, + starting_frame_deviation = 60 + } + } + }, + working_sound = { + sound = { + filename = "__base__/sound/boiler.ogg", + volume = 0.8 + }, + max_sounds_per_type = 3 + }, + pictures = { + north = { + structure = { + layers = { + { + filename = ENTITYPATH_BIO .. "bio_boiler/boiler-N-idle.png", + priority = "extra-high", + width = 269, + height = 221, + shift = util.by_pixel(-1.25, 5.25), + scale = 0.5, + }, + { + filename = ENTITYPATH .. "boiler-N-shadow.png", + priority = "extra-high", + width = 274, + height = 164, + scale = 0.5, + shift = util.by_pixel(20.5, 9), + draw_as_shadow = true, + } + } + } + }, + east = { + structure = { + layers = { + { + filename = ENTITYPATH_BIO .. "bio_boiler/boiler-E-idle.png", + priority = "extra-high", + width = 216, + height = 301, + shift = util.by_pixel(-3, 1.25), + scale = 0.5, + }, + { + filename = ENTITYPATH .. "boiler-E-shadow.png", + priority = "extra-high", + width = 184, + height = 194, + scale = 0.5, + shift = util.by_pixel(30, 9.5), + draw_as_shadow = true, + } + } + } + }, + south = { + structure = { + layers = { + { + filename = ENTITYPATH_BIO .. "bio_boiler/boiler-S-idle.png", + priority = "extra-high", + width = 260, + height = 192, + shift = util.by_pixel(4, 13), + scale = 0.5, + }, + { + filename = ENTITYPATH .. "boiler-S-shadow.png", + priority = "extra-high", + width = 311, + height = 131, + scale = 0.5, + shift = util.by_pixel(29.75, 15.75), + draw_as_shadow = true, + } + } + } + }, + west = { + structure = { + layers = { + { + filename = ENTITYPATH_BIO .. "bio_boiler/boiler-W-idle.png", + priority = "extra-high", + width = 196, + height = 273, + shift = util.by_pixel(1.5, 7.75), + scale = 0.5, + }, + { + filename = ENTITYPATH .. "boiler-W-shadow.png", + priority = "extra-high", + width = 206, + height = 218, + scale = 0.5, + shift = util.by_pixel(19.5, 6.5), + draw_as_shadow = true, + } + } + } + } + }, + patch = { + east = { + filename = ENTITYPATH .. "boiler-E-patch.png", + width = 6, + height = 36, + shift = util.by_pixel(33.5, -13.5), + scale = 0.5, + }, + }, + fire_flicker_enabled = true, + fire = { + north = { + filename = ENTITYPATH .. "boiler-N-fire.png", + priority = "extra-high", + frame_count = 64, + line_length = 8, + width = 26, + height = 26, + animation_speed = 0.5, + shift = util.by_pixel(0, -8.5), + scale = 0.5 + }, + east = { + filename = ENTITYPATH .. "boiler-E-fire.png", + priority = "extra-high", + frame_count = 64, + line_length = 8, + width = 28, + height = 28, + animation_speed = 0.5, + shift = util.by_pixel(-9.5, -22), + scale = 0.5 + }, + south = { + filename = ENTITYPATH .. "boiler-S-fire.png", + priority = "extra-high", + frame_count = 64, + line_length = 8, + width = 26, + height = 16, + animation_speed = 0.5, + shift = util.by_pixel(-1, -26.5), + scale = 0.5 + }, + west = { + filename = ENTITYPATH .. "boiler-W-fire.png", + priority = "extra-high", + frame_count = 64, + line_length = 8, + width = 30, + height = 29, + animation_speed = 0.5, + shift = util.by_pixel(13, -23.25), + scale = 0.5 + } + }, + fire_glow_flicker_enabled = true, + fire_glow = { + north = { + filename = ENTITYPATH .. "boiler-N-light.png", + priority = "extra-high", + frame_count = 1, + width = 200, + height = 173, + shift = util.by_pixel(-1, -6.75), + blend_mode = "additive", + scale = 0.5 + }, + east = { + filename = ENTITYPATH .. "boiler-E-light.png", + priority = "extra-high", + frame_count = 1, + width = 139, + height = 244, + shift = util.by_pixel(0.25, -13), + blend_mode = "additive", + scale = 0.5 + }, + south = { + filename = ENTITYPATH .. "boiler-S-light.png", + priority = "extra-high", + frame_count = 1, + width = 200, + height = 162, + shift = util.by_pixel(1, 5.5), + blend_mode = "additive", + scale = 0.5 + }, + west = { + filename = ENTITYPATH .. "boiler-W-light.png", + priority = "extra-high", + frame_count = 1, + width = 136, + height = 217, + shift = util.by_pixel(2, -6.25), + blend_mode = "additive", + scale = 0.5 + } + }, + burning_cooldown = 20 + }, + + }) +end diff --git a/Bio_Industries_2/prototypes/Bio_Fuel/fluid.lua b/Bio_Industries_2/prototypes/Bio_Fuel/fluid.lua index c03ed45..1abf26f 100644 --- a/Bio_Industries_2/prototypes/Bio_Fuel/fluid.lua +++ b/Bio_Industries_2/prototypes/Bio_Fuel/fluid.lua @@ -1,27 +1,28 @@ -local BioInd = require('common')('Bio_Industries_2') - -local ICONPATH = BioInd.modRoot .. "/graphics/icons/" - -data:extend({ - { - type = "fluid", - name = "bi-Bio_Fuel", - icon = ICONPATH .. "bio-fuel.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bio_boiler.png", - icon_size = 64, - } - }, - default_temperature = 25, - max_temperature = 100, - heat_capacity = "1kJ", - base_color = {r = 1.00, g = 0.35, b = 0.35}, - flow_color = {r = 1.00, g = 0.35, b = 0.35}, - pressure_to_speed_ratio = 0.4, - flow_to_energy_ratio = 0.59, - }, - - -}) +local BioInd = require('common')('Bio_Industries_2') + +local ICONPATH = BioInd.modRoot .. "/graphics/icons/" +local ICONPATH_E = BioInd.modRoot .. "/graphics/icons/entity/" + +data:extend({ + { + type = "fluid", + name = "bi-Bio_Fuel", + icon = ICONPATH .. "bio-fuel.png", + icon_size = 64, + icons = { + { + icon = ICONPATH_E .. "bio_boiler.png", + icon_size = 64, + } + }, + default_temperature = 25, + max_temperature = 100, + heat_capacity = "1kJ", + base_color = {r = 1.00, g = 0.35, b = 0.35}, + flow_color = {r = 1.00, g = 0.35, b = 0.35}, + pressure_to_speed_ratio = 0.4, + flow_to_energy_ratio = 0.59, + }, + + +}) diff --git a/Bio_Industries_2/prototypes/Bio_Fuel/item.lua b/Bio_Industries_2/prototypes/Bio_Fuel/item.lua index 062218a..fa8fb16 100644 --- a/Bio_Industries_2/prototypes/Bio_Fuel/item.lua +++ b/Bio_Industries_2/prototypes/Bio_Fuel/item.lua @@ -1,67 +1,68 @@ -local BioInd = require('common')('Bio_Industries_2') - -local ICONPATH = BioInd.modRoot .. "/graphics/icons/" - - --- Changed for 0.18.29: We always want to make advanced fertilizer, so we need to --- unlock the bio-reactor and the most basic recipe for algae biomass even if --- BI.Settings.BI_Bio_Fuel has been turned off! -data:extend({ - --- BioReactor - { - type = "item", - name = "bi-bio-reactor", - icon = ICONPATH .. "bioreactor.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bioreactor.png", - icon_size = 64, - } - }, - subgroup = "production-machine", - order = "z[bi]-a[bi-bio-reactor]", - place_result = "bi-bio-reactor", - stack_size = 10 - }, -}) - - -if BI.Settings.BI_Bio_Fuel then - data:extend({ - ---- Cellulose - { - type = "item", - name = "bi-cellulose", - icon = ICONPATH .. "cellulose.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "cellulose.png", - icon_size = 64, - } - }, - subgroup = "intermediate-product", - order = "b[cellulose]", - stack_size = 200 - }, - - --- Bio Boiler - { - type = "item", - name = "bi-bio-boiler", - icon = ICONPATH .. "bio_boiler.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bio_boiler.png", - icon_size = 64, - } - }, - subgroup = "energy", - order = "b[steam-power]-b[boiler]", - place_result = "bi-bio-boiler", - stack_size = 50 - }, - }) -end +local BioInd = require('common')('Bio_Industries_2') + +local ICONPATH = BioInd.modRoot .. "/graphics/icons/" +local ICONPATH_E = BioInd.modRoot .. "/graphics/icons/entity/" + + +-- Changed for 0.18.29: We always want to make advanced fertilizer, so we need to +-- unlock the bio-reactor and the most basic recipe for algae biomass even if +-- BI.Settings.BI_Bio_Fuel has been turned off! +data:extend({ + --- BioReactor + { + type = "item", + name = "bi-bio-reactor", + icon = ICONPATH_E .. "bioreactor.png", + icon_size = 64, + icons = { + { + icon = ICONPATH_E .. "bioreactor.png", + icon_size = 64, + } + }, + subgroup = "production-machine", + order = "z[bi]-a[bi-bio-reactor]", + place_result = "bi-bio-reactor", + stack_size = 10 + }, +}) + + +if BI.Settings.BI_Bio_Fuel then + data:extend({ + ---- Cellulose + { + type = "item", + name = "bi-cellulose", + icon = ICONPATH .. "cellulose.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "cellulose.png", + icon_size = 64, + } + }, + subgroup = "intermediate-product", + order = "b[cellulose]", + stack_size = 200 + }, + + --- Bio Boiler + { + type = "item", + name = "bi-bio-boiler", + icon = ICONPATH_E .. "bio_boiler.png", + icon_size = 64, + icons = { + { + icon = ICONPATH_E .. "bio_boiler.png", + icon_size = 64, + } + }, + subgroup = "energy", + order = "b[steam-power]-b[boiler]", + place_result = "bi-bio-boiler", + stack_size = 50 + }, + }) +end diff --git a/Bio_Industries_2/prototypes/Bio_Fuel/pipeConnectors.lua b/Bio_Industries_2/prototypes/Bio_Fuel/pipeConnectors.lua deleted file mode 100644 index d401ef5..0000000 --- a/Bio_Industries_2/prototypes/Bio_Fuel/pipeConnectors.lua +++ /dev/null @@ -1,76 +0,0 @@ -local BioInd = require('common')('Bio_Industries_2') - -local ICONPATH = BioInd.modRoot .. "/graphics/icons/" -local ENTITYPATH = "__base__/graphics/entity/assembling-machine-2/" -local PIPEPATH = "__base__/graphics/entity/pipe-covers/" - -function assembler2pipepicturesBioreactor() - return { - north = { - filename = ICONPATH .. "empty.png", - priority = "extra-high", - width = 1, - height = 1, - shift = util.by_pixel(2.25, 13.5), - scale = 0.5, - }, - east = { - filename = ENTITYPATH .. "assembling-machine-2-pipe-E.png", - priority = "extra-high", - width = 42, - height = 76, - shift = util.by_pixel(-24.5, 1), - scale = 0.5, - }, - south = { - filename = ENTITYPATH .. "assembling-machine-2-pipe-S.png", - priority = "extra-high", - width = 88, - height = 61, - shift = util.by_pixel(0, -31.25), - scale = 0.5, - }, - west = { - filename = ENTITYPATH .. "assembling-machine-2-pipe-W.png", - priority = "extra-high", - width = 39, - height = 73, - shift = util.by_pixel(25.75, 1.25), - scale = 0.5, - } - } -end - - -function pipecoverspicturesBioreactor() - return { - north = { - filename = ICONPATH .. "empty.png", - priority = "extra-high", - width = 1, - height = 1, - scale = 0.5 - }, - east = { - filename = PIPEPATH .. "pipe-cover-east.png", - priority = "extra-high", - width = 128, - height = 128, - scale = 0.5 - }, - south = { - filename = PIPEPATH .. "pipe-cover-south.png", - priority = "extra-high", - width = 128, - height = 128, - scale = 0.5 - }, - west = { - filename = PIPEPATH .. "pipe-cover-west.png", - priority = "extra-high", - width = 128, - height = 128, - scale = 0.5 - } - } -end diff --git a/Bio_Industries_2/prototypes/Bio_Fuel/recipe.lua b/Bio_Industries_2/prototypes/Bio_Fuel/recipe.lua index d7802ec..13f368a 100644 --- a/Bio_Industries_2/prototypes/Bio_Fuel/recipe.lua +++ b/Bio_Industries_2/prototypes/Bio_Fuel/recipe.lua @@ -1,608 +1,494 @@ -local BioInd = require('common')('Bio_Industries_2') - -local ICONPATH = BioInd.modRoot .. "/graphics/icons/" - --- Changed for 0.18.29: We always want to make advanced fertilizer, so we need to --- unlock the bio-reactor and the most basic recipe for algae biomass even if --- BI.Settings.BI_Bio_Fuel has been turned off! -data:extend({ - -- BIO Reactor (ENTITY)-- - { - type = "recipe", - name = "bi-bio-reactor", - localised_name = {"entity-name.bi-bio-reactor"}, - localised_description = {"entity-description.bi-bio-reactor"}, - icon = ICONPATH .. "bioreactor.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bioreactor.png", - icon_size = 64, - } - }, - enabled = false, - energy_required = 20, - ingredients = { - {type="item", name="assembling-machine-1", amount=1}, - {type="item", name="steel-plate", amount=5}, - {type="item", name="electronic-circuit", amount=5}, - }, - results = {{type="item", name="bi-bio-reactor", amount=1}}, - main_product = "", - allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 - always_show_made_in = false, -- Added for 0.18.34/1.1.4 - allow_decomposition = true, -- Added for 0.18.34/1.1.4 - subgroup = "bio-bio-fuel-fluid", - order = "a", - }, - -- BIOMASS 1 -- - { - type = "recipe", - name = "bi-biomass-1", - localised_name = {"recipe-name.bi-biomass-1"}, - localised_description = {"recipe-description.bi-biomass-1"}, - icon = ICONPATH .. "biomass_1.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "biomass_1.png", - icon_size = 64, - } - }, - category = "biofarm-mod-bioreactor", - energy_required = 10, - ingredients = { - {type = "fluid", name = "water", amount = 100}, - {type = "item", name = "fertilizer", amount = 10}, - }, - results = { - {type = "fluid", name = "bi-biomass", amount = 50}, - }, - main_product = "", - enabled = false, - always_show_made_in = true, - allow_decomposition = true, - subgroup = "bio-bio-fuel-fluid", - order = "x[oil-processing]-z1[bi-biomass]" - }, -}) - - -if BI.Settings.BI_Bio_Fuel then - data:extend({ - -- Basic petroleum-gas processing - -- (Added for 0.17.49/0.18.17) - { - type = "recipe", - name = "bi-basic-gas-processing", - icon = ICONPATH .. "bi_basic_gas_processing.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bi_basic_gas_processing.png", - icon_size = 64, - } - }, - category = "chemistry", - enabled = false, - energy_required = 5, - ingredients = { - {type = "item", name = "coal", amount = 20}, - {type = "item", name = "resin", amount = 10}, - {type = "fluid", name ="steam", amount = 50} - }, - results = { - {type = "fluid", name = "petroleum-gas", amount = 15}, - {type = "item", name = "bi-ash", amount = 15} - }, - subgroup = "bio-bio-fuel-other", - order = "[bi_basic_gas_processing]", - main_product = "", - allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 - always_show_made_in = true, -- Added for 0.18.34/1.1.4 - allow_decomposition = true, -- Added for 0.18.34/1.1.4 - }, - - --- Bio Boiler (ENTITY) --- - { - type = "recipe", - name = "bi-bio-boiler", - localised_name = {"entity-name.bi-bio-boiler"}, - localised_description = {"entity-description.bi-bio-boiler"}, - icon = ICONPATH .. "bio_boiler.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bio_boiler.png", - icon_size = 64, - } - }, - enabled = false, - energy_required = 10, - ingredients = { - {type="item", name="boiler", amount=1}, - {type="item", name="steel-plate", amount=5}, - {type="item", name="concrete", amount=5}, - }, - results = {{type="item", name="bi-bio-boiler", amount=1}}, - main_product = "", - allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 - always_show_made_in = false, -- Added for 0.18.34/1.1.4 - allow_decomposition = true, -- Added for 0.18.34/1.1.4 - subgroup = "energy", -- Changed for 0.18.34/1.1.4 - order = "b-[steam-power]-a[boiler]-a[bi-bio-boiler]" -- Changed for 0.18.34/1.1.4 - }, - - - -- CELLULOSE 1 -- - { - type = "recipe", - name = "bi-cellulose-1", - localised_name = {"recipe-name.bi-cellulose-1"}, - localised_description = {"recipe-description.bi-cellulose-1"}, - icon = ICONPATH .. "cellulose.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "cellulose.png", - icon_size = 64, - } - }, - category = "chemistry", - energy_required = 20, - ingredients = { - {type = "item", name = "bi-woodpulp", amount = 10}, - {type = "fluid", name = "sulfuric-acid", amount = 10}, - }, - results= { - {type = "item", name = "bi-cellulose", amount = 10 } - }, - main_product = "", - enabled = false, - always_show_made_in = true, - allow_decomposition = false, - subgroup = "bio-bio-fuel-other", - order = "[bi-cellulose-1]", - }, - - -- CELLULOSE 2 -- - { - type = "recipe", - name = "bi-cellulose-2", - localised_name = {"recipe-name.bi-cellulose-2"}, - localised_description = {"recipe-description.bi-cellulose-2"}, - icon = ICONPATH .. "cellulose_2.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "cellulose_2.png", - icon_size = 64, - } - }, - category = "chemistry", - energy_required = 5, - ingredients = { - {type = "fluid", name = "steam", amount = 10}, - {type = "item", name = "bi-woodpulp", amount = 10}, - {type = "fluid", name = "sulfuric-acid", amount = 20}, - }, - results = { - {type = "item", name = "bi-cellulose", amount = 10 } - }, - main_product = "", - enabled = false, - always_show_made_in = true, - allow_decomposition = false, - subgroup = "bio-bio-fuel-other", - order = "[bi-cellulose-2]", - -- This is a custom property for use by "Krastorio 2" (it will change - -- ingredients/results; used for wood/wood pulp) - mod = "Bio_Industries_2", - }, - - -- PLASTIC 1 -- - { - type = "recipe", - name = "bi-plastic-1", - localised_name = {"recipe-name.bi-plastic-1"}, - localised_description = {"recipe-description.bi-plastic-1"}, - icon = ICONPATH .. "plastic_bar_1.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "plastic_bar_1.png", - icon_size = 64, - } - }, - category = "chemistry", - --subgroup = "raw-material", - energy_required = 1, - ingredients = { - {type = "fluid", name = "steam", amount = 10}, - -- Let's use woodpulp instead of wood for the new version! Not changing this - -- for 0.18.34/1.1.4 to avoid an additional (potentially factory-breaking) - -- change shortly before the new release will change so many things anyway! - {type = "item", name = "wood", amount = 10}, - {type = "fluid", name = "light-oil", amount = 20}, - }, - results = { - {type = "item", name = "plastic-bar", amount = 2} - }, - main_product = "", - enabled = false, - always_show_made_in = true, - allow_decomposition = false, - subgroup = "bio-bio-fuel-solid", - order = "g[plastic-bar-1]", - -- This is a custom property for use by "Krastorio 2" (it will change - -- ingredients/results; used for wood/wood pulp) - mod = "Bio_Industries_2", - }, - - -- PLASTIC 2 -- - { - type = "recipe", - name = "bi-plastic-2", - localised_name = {"recipe-name.bi-plastic-2"}, - localised_description = {"recipe-description.bi-plastic-2"}, - icon = ICONPATH .. "plastic_bar_2.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "plastic_bar_2.png", - icon_size = 64, - } - }, - category = "chemistry", - energy_required = 1, - ingredients = { - {type = "item", name = "bi-cellulose", amount = 1}, - {type = "fluid", name = "petroleum-gas", amount = 10}, - }, - results = { - {type = "item", name = "plastic-bar", amount = 2} - }, - main_product = "", - enabled = false, - always_show_made_in = true, - allow_decomposition = false, - subgroup = "bio-bio-fuel-solid", - order = "g[plastic-bar-2]", - }, - - -- BIOMASS 2 -- - { - type = "recipe", - name = "bi-biomass-2", - localised_name = {"recipe-name.bi-biomass-2"}, - localised_description = {"recipe-description.bi-biomass-2"}, - icon = ICONPATH .. "biomass_2.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "biomass_2.png", - icon_size = 64, - } - }, - category = "biofarm-mod-bioreactor", - energy_required = 60, - ingredients = { - {type = "fluid", name = "water", amount = 90}, - {type = "fluid", name = "liquid-air", amount = 10}, - {type = "fluid", name = "bi-biomass", amount = 10}, - }, - results = { - {type = "fluid", name = "bi-biomass", amount = 35}, - }, - main_product = "", - enabled = false, - always_show_made_in = true, - allow_decomposition = false, - subgroup = "bio-bio-fuel-fluid", - order = "x[oil-processing]-z2[bi-biomass]" -- This recipe is not as good as bi_biomass_2! - }, - - -- BIOMASS 3 -- - { - type = "recipe", - name = "bi-biomass-3", - localised_name = {"recipe-name.bi-biomass-3"}, - localised_description = {"recipe-description.bi-biomass-3"}, - icon = ICONPATH .. "biomass_3.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "biomass_3.png", - icon_size = 64, - } - }, - category = "biofarm-mod-bioreactor", - energy_required = 10, - ingredients = { - {type = "fluid", name = "water", amount = 90}, - {type = "fluid", name = "liquid-air", amount = 10}, - {type = "fluid", name = "bi-biomass", amount = 10}, - {type = "item", name = "bi-ash", amount = 10}, - }, - results = { - {type = "fluid", name = "bi-biomass", amount = 100}, - }, - main_product = "", - enabled = false, - always_show_made_in = true, - allow_decomposition = false, - subgroup = "bio-bio-fuel-fluid", - order = "x[oil-processing]-z3[bi-biomass]" -- This recipe is more powerful than bi_biomass_3! - }, - - ---- Biomass to Light-oil - { - type = "recipe", - name = "bi-biomass-conversion-1", - localised_name = {"recipe-name.bi-biomass-conversion-1"}, - localised_description = {"recipe-description.bi-biomass-conversion-1"}, - icon = ICONPATH .. "bio_conversion_1.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bio_conversion_1.png", - icon_size = 64, - } - }, - category = "oil-processing", - enabled = false, - always_show_made_in = true, - allow_decomposition = false, - energy_required = 5, - ingredients = { - {type = "fluid", name = "bi-biomass", amount = 100}, - {type = "fluid", name = "water", amount = 10}, - }, - results = { - {type = "item", name = "bi-cellulose", amount = 2}, - {type = "fluid", name = "light-oil", amount = 80}, - }, - main_product = "", - subgroup = "bio-bio-fuel-other", - order = "a[oil-processing]-b[advanced-oil-processing]-y[bi-Fuel_Conversion-1]", - }, - - ---- Biomass to PG - { - type = "recipe", - name = "bi-biomass-conversion-2", - localised_name = {"recipe-name.bi-biomass-conversion-2"}, - localised_description = {"recipe-description.bi-biomass-conversion-2"}, - icon = ICONPATH .. "bio_conversion_2.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bio_conversion_2.png", - icon_size = 64, - } - }, - category = "oil-processing", - enabled = false, - always_show_made_in = true, - allow_decomposition = false, - energy_required = 5, - ingredients = { - {type = "fluid", name = "bi-biomass", amount = 10}, - {type = "fluid", name = "water", amount = 10}, - }, - results = { - {type = "fluid", name = "petroleum-gas", amount = 20} - }, - main_product = "", - subgroup = "bio-bio-fuel-other", - order = "a[oil-processing]-b[advanced-oil-processing]-y[bi-Fuel_Conversion-2]", - }, - - ---- Biomass to Lube - { - type = "recipe", - name = "bi-biomass-conversion-3", - localised_name = {"recipe-name.bi-biomass-conversion-3"}, - localised_description = {"recipe-description.bi-biomass-conversion-3"}, - icon = ICONPATH .. "bio_conversion_3.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bio_conversion_3.png", - icon_size = 64, - } - }, - category = "oil-processing", - enabled = false, - always_show_made_in = true, - allow_decomposition = false, - energy_required = 2.5, - ingredients = { - {type = "fluid", name = "bi-biomass", amount = 10}, - {type = "fluid", name = "water", amount = 10}, - }, - results = { - {type = "fluid", name = "lubricant", amount = 10} - }, - main_product ="", - crafting_machine_tint = { - primary = {r = 0.000, g = 0.260, b = 0.010, a = 0.000}, -- #00420200 - secondary = {r = 0.071, g = 0.640, b = 0.000, a = 0.000}, -- #12a30000 - tertiary = {r = 0.026, g = 0.520, b = 0.000, a = 0.000}, -- #06840000 - }, - subgroup = "bio-bio-fuel-other", - order = "a[oil-processing]-b[advanced-oil-processing]-y[bi-Fuel_Conversion-3]", - }, - - ---- Biomass to Crude - { - type = "recipe", - name = "bi-biomass-conversion-4", - localised_name = {"recipe-name.bi-biomass-conversion-4"}, - localised_description = {"recipe-description.bi-biomass-conversion-4"}, - icon = ICONPATH .. "bio_conversion_4.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bio_conversion_4.png", - icon_size = 64, - } - }, - category = "oil-processing", - enabled = false, - always_show_made_in = true, - allow_decomposition = false, - energy_required = 10, - ingredients = { - {type = "item", name = "coal", amount = 20}, - {type = "fluid", name = "bi-biomass", amount = 10}, - {type = "fluid", name = "steam", amount = 50} - }, - results = { - {type = "fluid", name = "crude-oil", amount = 50}, - {type = "fluid", name = "water", amount = 50}, - }, - main_product = "", - crafting_machine_tint = { - primary = {r = 0.000, g = 0.260, b = 0.010, a = 0.000}, -- #00420200 - secondary = {r = 0.071, g = 0.640, b = 0.000, a = 0.000}, -- #12a30000 - tertiary = {r = 0.026, g = 0.520, b = 0.000, a = 0.000}, -- #06840000 - }, - subgroup = "bio-bio-fuel-other", - order = "a[oil-processing]-b[advanced-oil-processing]-y[bi-Fuel_Conversion-4]", - }, - - --- Bio Battery - { - type = "recipe", - name = "bi-battery", - icon = ICONPATH .. "bio_battery.png", - icon_size = 64, - icon_mipmaps = 4, - icons = { - { - icon = ICONPATH .. "bio_battery.png", - icon_size = 64, - icon_mipmaps = 4, - } - }, - category = "chemistry", - energy_required = 5, - ingredients = { - {type = "item", name = "plastic-bar", amount = 1}, - {type = "fluid", name = "bi-biomass", amount = 10}, - {type = "item", name = "bi-cellulose", amount = 1}, - }, - results = { - {type = "item", name = "battery", amount = 1}, - }, - main_product = "", - enabled = false, - allow_as_intermediate = false, -- Changed for 0.18.34/1.1.4 - always_show_made_in = true, -- Added for 0.18.34/1.1.4 - allow_decomposition = true, -- Added for 0.18.34/1.1.4 - crafting_machine_tint = { - primary = {r = 0.970, g = 0.611, b = 0.000, a = 0.000}, -- #f79b0000 - secondary = {r = 0.000, g = 0.680, b = 0.894, a = 0.357}, -- #00ade45b - tertiary = {r = 0.430, g = 0.805, b = 0.726, a = 0.000}, -- #6dcdb900 - }, - subgroup = "bio-bio-fuel-solid", - order = "h", - }, - - --- Bio Acid - { - type = "recipe", - name = "bi-acid", - icon = ICONPATH .. "bio_acid.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bio_acid.png", - icon_size = 64, - } - }, - category = "chemistry", - energy_required = 10, - ingredients = { - {type = "fluid", name = "water", amount = 90}, - {type = "fluid", name = "bi-biomass", amount = 10}, - {type = "item", name = "bi-cellulose", amount = 5}, - }, - results = { - {type = "fluid", name = "sulfuric-acid", amount = 50}, - }, - main_product = "", - enabled = false, - always_show_made_in = true, - allow_decomposition = false, - crafting_machine_tint = { - primary = {r = 0.875, g = 0.735, b = 0.000, a = 0.000}, -- #dfbb0000 - secondary = {r = 0.103, g = 0.940, b = 0.000, a = 0.000}, -- #1aef0000 - tertiary = {r = 0.564, g = 0.795, b = 0.000, a = 0.000}, -- #8fca0000 - }, - subgroup = "bio-bio-fuel-other", - order = "a", - }, - - -- Sulfuric acid to Sulfur -- - { - type = "recipe", - name = "bi-sulfur", - icon = ICONPATH .. "bio_sulfur.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bio_sulfur.png", - icon_size = 64, - } - }, - category = "chemistry", - energy_required = 10, - ingredients = { - {type = "fluid", name = "sulfuric-acid", amount = 10}, - {type = "item", name = "bi-ash", amount = 10}, - }, - results = { - {type = "item", name = "sulfur", amount = 10} - }, - main_product = "", - enabled = false, - always_show_made_in = true, - allow_decomposition = false, - subgroup = "bio-bio-fuel-solid", - order = "i1", - }, - - -- Sulfuric acid to Sulfur --IF ANGELS INSTALLED (More Expensice) - { - type = "recipe", - name = "bi-sulfur-angels", - icon = ICONPATH .. "bio_sulfur.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bio_sulfur.png", - icon_size = 64, - } - }, - category = "chemistry", - energy_required = 10, - ingredients = { - {type = "fluid", name = "sulfuric-acid", amount = 50}, - {type = "item", name = "bi-ash", amount = 10}, - }, - results = { - {type = "item", name = "sulfur", amount = 10} - }, - main_product = "", - enabled = false, - always_show_made_in = true, - allow_decomposition = false, - subgroup = "bio-bio-fuel-solid", - order = "i2", - }, - - - }) -end +local BioInd = require('common')('Bio_Industries_2') + +local ICONPATH = BioInd.modRoot .. "/graphics/icons/" +local ICONPATH_E = BioInd.modRoot .. "/graphics/icons/entity/" + +-- Changed for 0.18.29: We always want to make advanced fertilizer, so we need to +-- unlock the bio-reactor and the most basic recipe for algae biomass even if +-- BI.Settings.BI_Bio_Fuel has been turned off! + +data:extend({ + -- BIO Reactor (ENTITY)-- + { + type = "recipe", + name = "bi-bio-reactor", + localised_name = {"entity-name.bi-bio-reactor"}, + localised_description = {"entity-description.bi-bio-reactor"}, + icons = { {icon = ICONPATH_E .. "bioreactor.png", icon_size = 64, } }, + enabled = false, + energy_required = 20, + ingredients = { + {type="item", name="assembling-machine-1", amount=1}, + {type="item", name="steel-plate", amount=5}, + {type="item", name="electronic-circuit", amount=5}, + }, + results = {{type="item", name="bi-bio-reactor", amount=1}}, + main_product = "", + allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 + always_show_made_in = false, -- Added for 0.18.34/1.1.4 + allow_decomposition = true, -- Added for 0.18.34/1.1.4 + subgroup = "bio-bio-fuel-fluid", + order = "a", + }, + + -- BIOMASS 1 -- + { + type = "recipe", + name = "bi-biomass-1", + localised_name = {"recipe-name.bi-biomass-1"}, + localised_description = {"recipe-description.bi-biomass-1"}, + icons = { {icon = ICONPATH .. "biomass_1.png", icon_size = 64, } }, + category = "biofarm-mod-bioreactor", + energy_required = 10, + ingredients = { + {type = "fluid", name = "water", amount = 100}, + {type = "item", name = "fertilizer", amount = 10}, + }, + results = { + {type = "fluid", name = "bi-biomass", amount = 50}, + }, + main_product = "", + enabled = false, + always_show_made_in = true, + allow_decomposition = true, + allow_productivity = true, + subgroup = "bio-bio-fuel-fluid", + order = "x[oil-processing]-z1[bi-biomass]" + }, +}) + + +if BI.Settings.BI_Bio_Fuel then + data:extend({ + -- Basic petroleum-gas processing + -- (Added for 0.17.49/0.18.17) + { + type = "recipe", + name = "bi-basic-gas-processing", + icons = { {icon = ICONPATH .. "bi_basic_gas_processing.png", icon_size = 64, } }, + category = "chemistry", + enabled = false, + energy_required = 5, + ingredients = { + {type = "item", name = "coal", amount = 20}, + {type = "item", name = "resin", amount = 10}, + {type = "fluid", name ="steam", amount = 50} + }, + results = { + {type = "fluid", name = "petroleum-gas", amount = 15}, + {type = "item", name = "bi-ash", amount = 15} + }, + subgroup = "bio-bio-fuel-other", + order = "[bi_basic_gas_processing]", + main_product = "", + allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 + always_show_made_in = true, -- Added for 0.18.34/1.1.4 + allow_decomposition = true, -- Added for 0.18.34/1.1.4 + allow_productivity = true, + }, + + --- Bio Boiler (ENTITY) --- + { + type = "recipe", + name = "bi-bio-boiler", + localised_name = {"entity-name.bi-bio-boiler"}, + localised_description = {"entity-description.bi-bio-boiler"}, + icons = { {icon = ICONPATH_E .. "bio_boiler.png", icon_size = 64, } }, + enabled = false, + energy_required = 10, + ingredients = { + {type="item", name="boiler", amount=1}, + {type="item", name="steel-plate", amount=5}, + {type="item", name="concrete", amount=5}, + }, + results = {{type="item", name="bi-bio-boiler", amount=1}}, + main_product = "", + allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 + always_show_made_in = false, -- Added for 0.18.34/1.1.4 + allow_decomposition = true, -- Added for 0.18.34/1.1.4 + subgroup = "energy", -- Changed for 0.18.34/1.1.4 + order = "b-[steam-power]-a[boiler]-a[bi-bio-boiler]" -- Changed for 0.18.34/1.1.4 + }, + + + -- CELLULOSE 1 -- + { + type = "recipe", + name = "bi-cellulose-1", + localised_name = {"recipe-name.bi-cellulose-1"}, + localised_description = {"recipe-description.bi-cellulose-1"}, + icons = { {icon = ICONPATH .. "cellulose.png", icon_size = 64, } }, + category = "chemistry", + energy_required = 20, + ingredients = { + {type = "item", name = "bi-woodpulp", amount = 10}, + {type = "fluid", name = "sulfuric-acid", amount = 10}, + }, + results= { + {type = "item", name = "bi-cellulose", amount = 10 } + }, + main_product = "", + enabled = false, + always_show_made_in = true, + allow_decomposition = false, + allow_productivity = true, + subgroup = "bio-bio-fuel-other", + order = "[bi-cellulose-1]", + }, + + -- CELLULOSE 2 -- + { + type = "recipe", + name = "bi-cellulose-2", + localised_name = {"recipe-name.bi-cellulose-2"}, + localised_description = {"recipe-description.bi-cellulose-2"}, + icons = { {icon = ICONPATH .. "cellulose_2.png", icon_size = 64, } }, + category = "chemistry", + energy_required = 5, + ingredients = { + {type = "fluid", name = "steam", amount = 10}, + {type = "item", name = "bi-woodpulp", amount = 10}, + {type = "fluid", name = "sulfuric-acid", amount = 20}, + }, + results = { + {type = "item", name = "bi-cellulose", amount = 10 } + }, + main_product = "", + enabled = false, + always_show_made_in = true, + allow_decomposition = false, + allow_productivity = true, + subgroup = "bio-bio-fuel-other", + order = "[bi-cellulose-2]", + -- This is a custom property for use by "Krastorio 2" (it will change + -- ingredients/results; used for wood/wood pulp) + mod = "Bio_Industries_2", + }, + + -- PLASTIC 1 -- + { + type = "recipe", + name = "bi-plastic-1", + localised_name = {"recipe-name.bi-plastic-1"}, + localised_description = {"recipe-description.bi-plastic-1"}, + icons = { {icon = ICONPATH .. "plastic_bar_1.png", icon_size = 64, } }, + category = "chemistry", + energy_required = 1, + ingredients = { + {type = "fluid", name = "steam", amount = 10}, + {type = "item", name = "bi-woodpulp", amount = 20}, + {type = "fluid", name = "light-oil", amount = 20}, + }, + results = { + {type = "item", name = "plastic-bar", amount = 2} + }, + main_product = "", + enabled = false, + always_show_made_in = true, + allow_decomposition = false, + allow_productivity = true, + subgroup = "bio-bio-fuel-solid", + order = "g[plastic-bar-1]", + -- This is a custom property for use by "Krastorio 2" (it will change + -- ingredients/results; used for wood/wood pulp) + mod = "Bio_Industries_2", + }, + + -- PLASTIC 2 -- + { + type = "recipe", + name = "bi-plastic-2", + localised_name = {"recipe-name.bi-plastic-2"}, + localised_description = {"recipe-description.bi-plastic-2"}, + icons = { {icon = ICONPATH .. "plastic_bar_2.png", icon_size = 64, } }, + category = "chemistry", + energy_required = 1, + ingredients = { + {type = "item", name = "bi-cellulose", amount = 1}, + {type = "fluid", name = "petroleum-gas", amount = 10}, + }, + results = { + {type = "item", name = "plastic-bar", amount = 2} + }, + main_product = "", + enabled = false, + always_show_made_in = true, + allow_decomposition = false, + allow_productivity = true, + subgroup = "bio-bio-fuel-solid", + order = "g[plastic-bar-2]", + }, + + -- BIOMASS 2 -- + { + type = "recipe", + name = "bi-biomass-2", + localised_name = {"recipe-name.bi-biomass-2"}, + localised_description = {"recipe-description.bi-biomass-2"}, + icons = { {icon = ICONPATH .. "biomass_2.png", icon_size = 64, } }, + category = "biofarm-mod-bioreactor", + energy_required = 60, + ingredients = { + {type = "fluid", name = "water", amount = 90}, + {type = "fluid", name = "liquid-air", amount = 10}, + {type = "fluid", name = "bi-biomass", amount = 10}, + }, + results = { + {type = "fluid", name = "bi-biomass", amount = 35}, + }, + main_product = "", + enabled = false, + always_show_made_in = true, + allow_decomposition = false, + allow_productivity = true, + subgroup = "bio-bio-fuel-fluid", + order = "x[oil-processing]-z2[bi-biomass]" -- This recipe is not as good as bi_biomass_2! + }, + + -- BIOMASS 3 -- + { + type = "recipe", + name = "bi-biomass-3", + localised_name = {"recipe-name.bi-biomass-3"}, + localised_description = {"recipe-description.bi-biomass-3"}, + icons = { {icon = ICONPATH .. "biomass_3.png", icon_size = 64, } }, + category = "biofarm-mod-bioreactor", + energy_required = 10, + ingredients = { + {type = "fluid", name = "water", amount = 90}, + {type = "fluid", name = "liquid-air", amount = 10}, + {type = "fluid", name = "bi-biomass", amount = 10}, + {type = "item", name = "bi-ash", amount = 10}, + }, + results = { + {type = "fluid", name = "bi-biomass", amount = 100}, + }, + main_product = "", + enabled = false, + always_show_made_in = true, + allow_decomposition = false, + allow_productivity = true, + subgroup = "bio-bio-fuel-fluid", + order = "x[oil-processing]-z3[bi-biomass]" -- This recipe is more powerful than bi_biomass_3! + }, + + ---- Biomass to Light-oil + { + type = "recipe", + name = "bi-biomass-conversion-1", + localised_name = {"recipe-name.bi-biomass-conversion-1"}, + localised_description = {"recipe-description.bi-biomass-conversion-1"}, + icons = { {icon = ICONPATH .. "bio_conversion_1.png", icon_size = 64, } }, + category = "oil-processing", + enabled = false, + always_show_made_in = true, + allow_decomposition = false, + energy_required = 5, + ingredients = { + {type = "fluid", name = "bi-biomass", amount = 100}, + {type = "fluid", name = "water", amount = 10}, + }, + results = { + {type = "item", name = "bi-cellulose", amount = 2}, + {type = "fluid", name = "light-oil", amount = 80}, + }, + main_product = "", + subgroup = "bio-bio-fuel-other", + order = "a[oil-processing]-b[advanced-oil-processing]-y[bi-Fuel_Conversion-1]", + }, + + ---- Biomass to PG + { + type = "recipe", + name = "bi-biomass-conversion-2", + localised_name = {"recipe-name.bi-biomass-conversion-2"}, + localised_description = {"recipe-description.bi-biomass-conversion-2"}, + icons = { {icon = ICONPATH .. "bio_conversion_2.png", icon_size = 64, } }, + category = "oil-processing", + enabled = false, + always_show_made_in = true, + allow_decomposition = false, + allow_productivity = true, + energy_required = 5, + ingredients = { + {type = "fluid", name = "bi-biomass", amount = 10}, + {type = "fluid", name = "water", amount = 10}, + }, + results = { + {type = "fluid", name = "petroleum-gas", amount = 20} + }, + main_product = "", + subgroup = "bio-bio-fuel-other", + order = "a[oil-processing]-b[advanced-oil-processing]-y[bi-Fuel_Conversion-2]", + }, + + ---- Biomass to Lube + { + type = "recipe", + name = "bi-biomass-conversion-3", + localised_name = {"recipe-name.bi-biomass-conversion-3"}, + localised_description = {"recipe-description.bi-biomass-conversion-3"}, + icons = { {icon = ICONPATH .. "bio_conversion_3.png", icon_size = 64, } }, + category = "oil-processing", + enabled = false, + always_show_made_in = true, + allow_decomposition = false, + allow_productivity = true, + energy_required = 2.5, + ingredients = { + {type = "fluid", name = "bi-biomass", amount = 10}, + {type = "fluid", name = "water", amount = 10}, + }, + results = { + {type = "fluid", name = "lubricant", amount = 10} + }, + main_product ="", + crafting_machine_tint = { + primary = {r = 0.000, g = 0.260, b = 0.010, a = 0.000}, -- #00420200 + secondary = {r = 0.071, g = 0.640, b = 0.000, a = 0.000}, -- #12a30000 + tertiary = {r = 0.026, g = 0.520, b = 0.000, a = 0.000}, -- #06840000 + }, + subgroup = "bio-bio-fuel-other", + order = "a[oil-processing]-b[advanced-oil-processing]-y[bi-Fuel_Conversion-3]", + }, + + ---- Biomass to Crude + { + type = "recipe", + name = "bi-biomass-conversion-4", + localised_name = {"recipe-name.bi-biomass-conversion-4"}, + localised_description = {"recipe-description.bi-biomass-conversion-4"}, + icons = { {icon = ICONPATH .. "bio_conversion_4.png", icon_size = 64, } }, + category = "oil-processing", + enabled = false, + always_show_made_in = true, + allow_decomposition = false, + allow_productivity = true, + energy_required = 10, + ingredients = { + {type = "item", name = "coal", amount = 20}, + {type = "fluid", name = "bi-biomass", amount = 10}, + {type = "fluid", name = "steam", amount = 50} + }, + results = { + {type = "fluid", name = "crude-oil", amount = 50}, + {type = "fluid", name = "water", amount = 50}, + }, + main_product = "", + crafting_machine_tint = { + primary = {r = 0.000, g = 0.260, b = 0.010, a = 0.000}, -- #00420200 + secondary = {r = 0.071, g = 0.640, b = 0.000, a = 0.000}, -- #12a30000 + tertiary = {r = 0.026, g = 0.520, b = 0.000, a = 0.000}, -- #06840000 + }, + subgroup = "bio-bio-fuel-other", + order = "a[oil-processing]-b[advanced-oil-processing]-y[bi-Fuel_Conversion-4]", + }, + + --- Bio Battery + { + type = "recipe", + name = "bi-battery", + icons = { {icon = ICONPATH .. "bio_battery.png", icon_size = 64, } }, + category = "chemistry", + energy_required = 5, + ingredients = { + {type = "item", name = "plastic-bar", amount = 1}, + {type = "fluid", name = "bi-biomass", amount = 10}, + {type = "item", name = "bi-cellulose", amount = 1}, + }, + results = { + {type = "item", name = "battery", amount = 1}, + }, + main_product = "", + enabled = false, + allow_as_intermediate = false, -- Changed for 0.18.34/1.1.4 + always_show_made_in = true, -- Added for 0.18.34/1.1.4 + allow_decomposition = true, -- Added for 0.18.34/1.1.4 + allow_productivity = true, + crafting_machine_tint = { + primary = {r = 0.970, g = 0.611, b = 0.000, a = 0.000}, -- #f79b0000 + secondary = {r = 0.000, g = 0.680, b = 0.894, a = 0.357}, -- #00ade45b + tertiary = {r = 0.430, g = 0.805, b = 0.726, a = 0.000}, -- #6dcdb900 + }, + subgroup = "bio-bio-fuel-solid", + order = "h", + }, + + --- Bio Acid + { + type = "recipe", + name = "bi-acid", + icons = { {icon = ICONPATH .. "bio_acid.png", icon_size = 64, } }, + category = "chemistry", + energy_required = 10, + ingredients = { + {type = "fluid", name = "water", amount = 90}, + {type = "fluid", name = "bi-biomass", amount = 10}, + {type = "item", name = "bi-cellulose", amount = 5}, + }, + results = { + {type = "fluid", name = "sulfuric-acid", amount = 50}, + }, + main_product = "", + enabled = false, + always_show_made_in = true, + allow_decomposition = false, + allow_productivity = true, + crafting_machine_tint = { + primary = {r = 0.875, g = 0.735, b = 0.000, a = 0.000}, -- #dfbb0000 + secondary = {r = 0.103, g = 0.940, b = 0.000, a = 0.000}, -- #1aef0000 + tertiary = {r = 0.564, g = 0.795, b = 0.000, a = 0.000}, -- #8fca0000 + }, + subgroup = "bio-bio-fuel-other", + order = "a", + }, + + -- Sulfuric acid to Sulfur -- + { + type = "recipe", + name = "bi-sulfur", + icons = { {icon = ICONPATH .. "bio_sulfur.png", icon_size = 64, } }, + category = "chemistry", + energy_required = 10, + ingredients = { + {type = "fluid", name = "sulfuric-acid", amount = 10}, + {type = "item", name = "bi-ash", amount = 10}, + }, + results = { + {type = "item", name = "sulfur", amount = 10} + }, + main_product = "", + enabled = false, + always_show_made_in = true, + allow_decomposition = false, + allow_productivity = true, + subgroup = "bio-bio-fuel-solid", + order = "i1", + }, + + -- Sulfuric acid to Sulfur --IF ANGELS INSTALLED (More Expensice) + { + type = "recipe", + name = "bi-sulfur-angels", + icons = { {icon = ICONPATH .. "bio_sulfur.png", icon_size = 64, } }, + category = "chemistry", + energy_required = 10, + ingredients = { + {type = "fluid", name = "sulfuric-acid", amount = 50}, + {type = "item", name = "bi-ash", amount = 10}, + }, + results = { + {type = "item", name = "sulfur", amount = 10} + }, + main_product = "", + enabled = false, + always_show_made_in = true, + allow_decomposition = false, + allow_productivity = true, + subgroup = "bio-bio-fuel-solid", + order = "i2", + }, + + + }) +end diff --git a/Bio_Industries_2/prototypes/Bio_Fuel/technology.lua b/Bio_Industries_2/prototypes/Bio_Fuel/technology.lua index ac27442..67d17d6 100644 --- a/Bio_Industries_2/prototypes/Bio_Fuel/technology.lua +++ b/Bio_Industries_2/prototypes/Bio_Fuel/technology.lua @@ -1,45 +1,45 @@ -local BioInd = require('common')('Bio_Industries_2') - -local ICONPATH = BioInd.modRoot .. "/graphics/technology/" - -if BI.Settings.BI_Bio_Fuel then - - data:extend({ - { - type = "technology", - name = "bi-tech-organic-plastic", - icon_size = 128, - icon = ICONPATH .. "Cellulose_128.png", - icons = { - { - icon = ICONPATH .. "Cellulose_128.png", - icon_size = 128, - } - }, - effects = { - { - type = "unlock-recipe", - recipe = "bi-plastic-1" - }, - { - type = "unlock-recipe", - recipe = "bi-plastic-2" - } - }, - prerequisites = { - "bi-tech-advanced-biotechnology" - }, - unit = { - count = 200, - ingredients = { - {"automation-science-pack", 1}, - {"logistic-science-pack", 1}, - {"chemical-science-pack", 1}, - {"production-science-pack", 1}, - }, - time = 30 - } - }, - }) - -end +local BioInd = require('common')('Bio_Industries_2') + +local ICONPATH = BioInd.modRoot .. "/graphics/technology/" + +if BI.Settings.BI_Bio_Fuel then + + data:extend({ + { + type = "technology", + name = "bi-tech-organic-plastic", + icon_size = 256, + icon = ICONPATH .. "bi-tech-cellulose.png", + icons = { + { + icon = ICONPATH .. "bi-tech-cellulose.png", + icon_size = 256, + } + }, + effects = { + { + type = "unlock-recipe", + recipe = "bi-plastic-1" + }, + { + type = "unlock-recipe", + recipe = "bi-plastic-2" + } + }, + prerequisites = { + "bi-tech-advanced-biotechnology" + }, + unit = { + count = 200, + ingredients = { + {"automation-science-pack", 1}, + {"logistic-science-pack", 1}, + {"chemical-science-pack", 1}, + {"production-science-pack", 1}, + }, + time = 30 + } + }, + }) + +end diff --git a/Bio_Industries_2/prototypes/Bio_Garden/entities.lua b/Bio_Industries_2/prototypes/Bio_Garden/entities.lua index 6b761b8..c18e8e3 100644 --- a/Bio_Industries_2/prototypes/Bio_Garden/entities.lua +++ b/Bio_Industries_2/prototypes/Bio_Garden/entities.lua @@ -1,79 +1,445 @@ -local BioInd = require('common')('Bio_Industries_2') - -local ICONPATH = BioInd.modRoot .. "/graphics/icons/" - -require ("util") - - ---- Bio Garden -data:extend({ - { - type = "assembling-machine", - name = "bi-bio-garden", - icon = ICONPATH .. "bio_garden_icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bio_garden_icon.png", - icon_size = 64, - } - }, - flags = {"placeable-neutral", "placeable-player", "player-creation"}, - minable = {hardness = 0.2, mining_time = 0.5, result = "bi-bio-garden"}, - fast_replaceable_group = "bi-bio-garden", - max_health = 150, - corpse = "medium-remnants", - collision_box = {{-1.2, -1.2}, {1.2, 1.2}}, - selection_box = {{-1.5, -1.5}, {1.5, 1.5}}, - fluid_boxes = { - { - production_type = "input", - pipe_picture = assembler3pipepictures(), - pipe_covers = pipecoverspictures(), - volume = 1000, - base_level = -1, - pipe_connections = {{ flow_direction = "input", direction = defines.direction.north, position = {0, -1} }} - }, - }, - fluid_boxes_off_when_no_fluid_recipe = true, - animation = { - filename = "__Bio_Industries_2__/graphics/entities/biogarden/bio_garden_x.png", - width = 160, - height = 160, - frame_count = 12, - line_length = 4, - animation_speed = 0.025, - shift = {0.45, 0} - }, - open_sound = { filename = "__base__/sound/machine-open.ogg", volume = 0.85 }, - close_sound = { filename = "__base__/sound/machine-close.ogg", volume = 0.75 }, - working_sound = { - sound = { { filename = "__Bio_Industries_2__/sound/rainforest_ambience.ogg", volume = 0.8 } }, - idle_sound = { filename = "__base__/sound/idle1.ogg", volume = 0.6 }, - apparent_volume = 1.5, - }, - crafting_categories = {"clean-air"}, - source_inventory_size = 1, - result_inventory_size = 1, - crafting_speed = 1.0, - energy_source = { - type = "electric", - usage_priority = "secondary-input", - emissions_per_minute = { pollution = -45 }, -- Negative value: pollution is absorbed! - }, - energy_usage = "200kW", - ingredient_count = 1, - -- Changed for 0.18.34/1.1.4 -- Modules don't make sense for the gardens! - -- (Efficiency modules are also meant to reduce pollution, but as the base value - -- is negative, the resulting value is greater than the base value! ) - module_specification = { - module_slots = 1 - }, - -- Changed for 0.18.34/1.1.4 -- We need to use an empty table here, so the gardens - -- won't be affected by beacons! - allowed_effects = {"consumption", "speed"}, - }, -}) - - - +local BioInd = require('common')('Bio_Industries_2') +local ICONPATH = BioInd.modRoot .. "/graphics/icons/" +local ICONPATH_E = BioInd.modRoot .. "/graphics/icons/entity/" +local ENTITYPATH_BIO = BioInd.modRoot .. "/graphics/entities/" +local REMNANTSPATH = BioInd.modRoot .. "/graphics/entities/remnants/" + +require("util") + + +--- Bio Garden +data:extend({ + { + type = "assembling-machine", + name = "bi-bio-garden", + icon = ICONPATH_E .. "bio_garden_icon.png", + icon_size = 64, + icons = { + { + icon = ICONPATH_E .. "bio_garden_icon.png", + icon_size = 64, + } + }, + flags = { "placeable-neutral", "placeable-player", "player-creation" }, + minable = { hardness = 0.2, mining_time = 0.5, result = "bi-bio-garden" }, + fast_replaceable_group = "bi-bio-garden", + max_health = 150, + corpse = "bi-bio-garden-remnant", + collision_box = { { -1.2, -1.2 }, { 1.2, 1.2 } }, + selection_box = { { -1.5, -1.5 }, { 1.5, 1.5 } }, + fluid_boxes = { + { + production_type = "input", + pipe_picture = assembler3pipepictures(), + pipe_covers = pipecoverspictures(), + volume = 1000, + base_level = -1, + pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 0, -1 } } } + }, + }, + fluid_boxes_off_when_no_fluid_recipe = true, + graphics_set = { + animation = { + layers = { + { + filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_anim_trees.png", + width = 256, height = 320, + frame_count = 20, line_length = 5, + animation_speed = 0.15, scale = 0.5, shift = {0, -0.75} + }, + { + filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_shadow.png", + width = 384, height = 320, + frame_count = 1, repeat_count = 20, -- repeat to match + draw_as_shadow = true, scale = 0.5, shift = {1, -0.75} + } + } + } + }, + open_sound = { filename = "__base__/sound/machine-open.ogg", volume = 0.85 }, + close_sound = { filename = "__base__/sound/machine-close.ogg", volume = 0.75 }, + working_sound = { + sound = { { filename = "__Bio_Industries_2__/sound/rainforest_ambience.ogg", volume = 0.8 } }, + idle_sound = { filename = "__base__/sound/idle1.ogg", volume = 0.6 }, + apparent_volume = 1.5, + max_sounds_per_type = 3, + }, + crafting_categories = { "clean-air" }, + source_inventory_size = 1, + result_inventory_size = 1, + crafting_speed = 1.0, + energy_source = { + type = "electric", + usage_priority = "secondary-input", + emissions_per_minute = { pollution = -1.5 * 60 }, -- Negative value: pollution is absorbed! + }, + energy_usage = "200kW", + ingredient_count = 1, + -- Changed for 0.18.34/1.1.4 -- Modules don't make sense for the gardens! + -- (Efficiency modules are also meant to reduce pollution, but as the base value + -- is negative, the resulting value is greater than the base value! ) + module_specification = { + module_slots = 1 + }, + -- Changed for 0.18.34/1.1.4 -- We need to use an empty table here, so the gardens + -- won't be affected by beacons! + allowed_effects = { "consumption", "speed" }, + }, + + ---- corpse + { + type = "corpse", + name = "bi-bio-garden-remnant", + localised_name = {"entity-name.bi-bio-garden-remnant"}, + icon = "__base__/graphics/icons/remnants.png", + icon_size = 64, + icon_mipmaps = 4, + BI_add_icon = true, + flags = {"placeable-neutral", "building-direction-8-way", "not-on-map"}, + subgroup = "remnants", + order = "z-z-z", + selection_box = {{-1.5, -1.5}, {1.5, 1.5}}, + tile_width = 3, + tile_height = 3, + selectable_in_game = false, + time_before_removed = 60 * 60 * 15, -- 15 minutes + final_render_layer = "remnants", + remove_on_tile_placement = false, + animation = + { + { + filename = REMNANTSPATH .. "bio_garden_remnant.png", + line_length = 1, + width = 256, + height = 320, + frame_count = 1, + direction_count = 1, + shift = {0, -0.75}, + scale = 0.5 + } + } + }, + + + +---- Bio Garden Large + { + type = "assembling-machine", + name = "bi-bio-garden-large", + icon = ICONPATH_E .. "bio_garden_large_icon.png", + icon_size = 64, + icons = { + { + icon = ICONPATH_E .. "bio_garden_large_icon.png", + icon_size = 64, + } + }, + flags = { "placeable-neutral", "placeable-player", "player-creation" }, + minable = { hardness = 0.6, mining_time = 1, result = "bi-bio-garden-large" }, + fast_replaceable_group = "bi-bio-garden-large", + max_health = 1200, + corpse = "bi-bio-garden-large-remnant", + collision_box = {{-4.3, -4.3}, {4.3, 4.3}}, + selection_box = {{-4.5, -4.5}, {4.5, 4.5}}, + scale_entity_info_icon = true, + fluid_boxes = { + { + production_type = "input", + pipe_covers = pipecoverspictures(), + base_area = 1, + base_level = -1, + volume = 1000, + filter = "water", + pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 0, -4 } } }, + --pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 0, 4 } } }, + -- pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { -4, 0 } } }, + -- pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 4, 0 } } }, + + + }, + }, + off_when_no_fluid_recipe = false, + graphics_set = { + animation = { + layers = { + { + filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_large.png", + width = 640, + height = 704, + scale = 0.5, + shift = {0, -0.5}, + }, + { + filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_large_shadow.png", + width = 704, + height = 640, + scale = 0.5, + shift = {0.5, 0}, + draw_as_shadow = true, + } + } + }, + + working_visualisations = { + { + light = {intensity = 1.2, size = 20 }, + draw_as_light = true, + effect = "flicker", + constant_speed = true, + fadeout = true, + animation = { + filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_large_light.png", + width = 640, + height = 640, + scale = 0.5, + shift = {0, 0}, + }, + }, + }, + }, + open_sound = { filename = "__base__/sound/machine-open.ogg", volume = 0.85 }, + close_sound = { filename = "__base__/sound/machine-close.ogg", volume = 0.75 }, + working_sound = { + sound = { { filename = "__Bio_Industries_2__/sound/rainforest_ambience.ogg", volume = 1 } }, + idle_sound = { filename = "__base__/sound/idle1.ogg", volume = 0.8 }, + apparent_volume = 1.5, + max_sounds_per_type = 3, + }, + crafting_categories = { "clean-air" }, + source_inventory_size = 1, + result_inventory_size = 1, + crafting_speed = 4.0, + energy_source = { + type = "electric", + usage_priority = "secondary-input", + emissions_per_minute = { pollution = -12 * 60 }, -- Negative value: pollution is absorbed! + }, + energy_usage = "800kW", + ingredient_count = 1, + -- Changed for 0.18.34/1.1.4 -- Modules don't make sense for the gardens! + -- (Efficiency modules are also meant to reduce pollution, but as the base value + -- is negative, the resulting value is greater than the base value! ) + module_specification = { + module_slots = 2 + }, + -- Changed for 0.18.34/1.1.4 -- We need to use an empty table here, so the gardens + -- won't be affected by beacons! + allowed_effects = { "consumption", "speed" }, + }, + + --- corpse + { + type = "corpse", + name = "bi-bio-garden-large-remnant", + localised_name = {"entity-name.bi-bio-garden-large-remnant"}, + icon = "__base__/graphics/icons/remnants.png", + icon_size = 64, + icon_mipmaps = 4, + BI_add_icon = true, + flags = {"placeable-neutral", "building-direction-8-way", "not-on-map"}, + subgroup = "remnants", + order = "z-z-z", + selection_box = {{-4.5, -4.5}, {4.5, 4.5}}, + tile_width = 9, + tile_height = 9, + selectable_in_game = false, + time_before_removed = 60 * 60 * 15, -- 15 minutes + final_render_layer = "remnants", + remove_on_tile_placement = false, + animation = + { + { + filename = REMNANTSPATH .. "bio_garden_large_remnant.png", + line_length = 1, + width = 640, + height = 704, + frame_count = 1, + direction_count = 1, + shift = {0, -0.5}, + scale = 0.5 + } + } +}, +---- Bio Garden Huge + { + type = "assembling-machine", + name = "bi-bio-garden-huge", + icon = ICONPATH_E .. "bio_garden_huge_icon.png", + icon_size = 64, + icons = { + { + icon = ICONPATH_E .. "bio_garden_huge_icon.png", + icon_size = 64, + } + }, + flags = { "placeable-neutral", "placeable-player", "player-creation" }, + minable = { hardness = 1.2, mining_time = 2, result = "bi-bio-garden-huge" }, + fast_replaceable_group = "bi-bio-garden-huge", + max_health = 2000, + corpse = "bi-bio-garden-huge-remnant", + collision_box = {{-13.3, -13.3}, {13.3, 13.3}}, + selection_box = {{-13.5, -13.5}, {13.5, 13.5}}, + scale_entity_info_icon = true, + fluid_boxes = { + { + production_type = "input", + pipe_covers = pipecoverspictures(), + base_area = 1, + base_level = -1, + volume = 1000, + filter = "water", + pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 0, -13 } } }, + -- pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 0, 13 } } }, + -- pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { -13, 0 } } }, + -- pipe_connections = { { flow_direction = "input", direction = defines.direction.north, position = { 13, 0 } } }, + }, + }, + off_when_no_fluid_recipe = false, + graphics_set = { + animation = { + layers = { + { + filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_huge.png", + width = 1792, + height = 1856, + scale = 0.5, + frame_count = 1, + line_length = 1, + repeat_count = 8, + animation_speed = 1, + shift = {0, -0.5}, + }, + { + filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_huge_shadow.png", + width = 256, + height = 1856, + scale = 0.5, + frame_count = 1, + line_length = 1, + repeat_count = 8, + animation_speed = 1, + shift = {14, -0.5}, + draw_as_shadow = true, + }, + }, + }, + + working_visualisations = { + { + constant_speed = true, + fadeout = true, + animation = { + layers = { + { + filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_huge_turbine_anim.png", + width = 128, + height = 96, + scale = 0.5, + frame_count = 8, + line_length = 8, + repeat_count = 1, + animation_speed = 1, + shift = {-4.5, -4.5}, + }, + { + filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_huge_turbine_anim.png", + width = 128, + height = 96, + scale = 0.5, + frame_count = 8, + line_length = 8, + repeat_count = 1, + animation_speed = 1, + shift = {4.5, 4.5}, + }, + { + filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_huge_turbine_anim.png", + width = 128, + height = 96, + scale = 0.5, + frame_count = 8, + line_length = 8, + repeat_count = 1, + animation_speed = 1, + shift = {4.5, -4.5}, + }, + { + filename = ENTITYPATH_BIO .. "bio_garden/bio_garden_huge_turbine_anim.png", + width = 128, + height = 96, + scale = 0.5, + frame_count = 8, + line_length = 8, + repeat_count = 1, + animation_speed = 1, + shift = {-4.5, 4.5}, + }, + }, + }, + }, + }, + }, + open_sound = { filename = "__base__/sound/machine-open.ogg", volume = 0.85 }, + close_sound = { filename = "__base__/sound/machine-close.ogg", volume = 0.75 }, + working_sound = { + sound = { { filename = "__Bio_Industries_2__/sound/rainforest_ambience.ogg", volume = 1.8 } }, + idle_sound = { filename = "__base__/sound/idle1.ogg", volume = 0.9 }, + apparent_volume = 2, + max_sounds_per_type = 3, + }, + crafting_categories = { "clean-air" }, + source_inventory_size = 1, + result_inventory_size = 1, + crafting_speed = 16, + energy_source = { + type = "electric", + usage_priority = "secondary-input", + emissions_per_minute = { pollution = -96 * 60 }, -- Negative value: pollution is absorbed! + }, + energy_usage = "3200kW", + ingredient_count = 1, + -- Changed for 0.18.34/1.1.4 -- Modules don't make sense for the gardens! + -- (Efficiency modules are also meant to reduce pollution, but as the base value + -- is negative, the resulting value is greater than the base value! ) + module_specification = { + module_slots = 4 + }, + -- Changed for 0.18.34/1.1.4 -- We need to use an empty table here, so the gardens + -- won't be affected by beacons! + allowed_effects = { "consumption", "speed" }, + }, + ---- corpse + +{ + type = "corpse", + name = "bi-bio-garden-huge-remnant", + localised_name = {"entity-name.bi-bio-garden-huge-remnant"}, + icon = "__base__/graphics/icons/remnants.png", + icon_size = 64, + icon_mipmaps = 4, + BI_add_icon = true, + flags = {"placeable-neutral", "building-direction-8-way", "not-on-map"}, + subgroup = "remnants", + order = "z-z-z", + selection_box = {{-13.5, -13.5}, {13.5, 13.5}}, + tile_width = 27, + tile_height = 27, + selectable_in_game = false, + time_before_removed = 60 * 60 * 15, -- 15 minutes + final_render_layer = "remnants", + remove_on_tile_placement = false, + animation = + { + { + filename = REMNANTSPATH .. "bio_garden_huge_remnant.png", + line_length = 1, + width = 896, + height = 928, + frame_count = 1, + direction_count = 1, + shift = {0, -0.5}, + } + } +} + +}) diff --git a/Bio_Industries_2/prototypes/Bio_Garden/fluid_fertilizer.lua b/Bio_Industries_2/prototypes/Bio_Garden/fluid_fertilizer.lua index f41fb27..29cc817 100644 --- a/Bio_Industries_2/prototypes/Bio_Garden/fluid_fertilizer.lua +++ b/Bio_Industries_2/prototypes/Bio_Garden/fluid_fertilizer.lua @@ -1,196 +1,196 @@ ------------------------------------------------------------------------------------- --- Create fluid fertilizers, recipes, and unlocks if the setting requires it! -- ------------------------------------------------------------------------------------- -local BioInd = require('common')('Bio_Industries_2') -local ICONPATH = BioInd.modRoot .. "/graphics/icons/" - - -local function make_colors(color) - local r, g, b = color.r, color.g, color.b - local black = {r = 0, g = 0, b = 0, a = .25} - - local function mult(v, f) - return (v * f) % 1 - end - - ret = { - base = color, - flow = {r = mult(r, 3), g = mult(g, 3), b = mult(b, 3), a = .25}, - primary = {r = r, g = g, b = b, a = .5}, - secondary = {r = mult(r, .5), g = mult(g, .5), b = mult(b, .5), a = .25}, - tertiary = {r = mult(r, 2), g = mult(g, 2), b = mult(b, 2), a = .25}, - secondary = black, - } - return ret -end - -local fertilizer_fluid_colors = make_colors({r = 0.098, g = 0.811, b = 0.269, a = .5}) -local adv_fertilizer_fluid_colors = make_colors({r = 0, g = 1, b = 0.071, a = .5}) - -data:extend({ - ------------------------------------------------------------------------------------ - -- FLUIDS -- - ------------------------------------------------------------------------------------ - - -- Fertilizer fluid - { - type = "fluid", - name = "bi-fertilizer-fluid", - icon = ICONPATH .. "fluid_fertilizer_64.png", - icon_size = 64, - icon_mipmaps = 1, - icons = { - { - icon = ICONPATH .. "fluid_fertilizer_64.png", - icon_size = 64, - icon_mipmaps = 1, - } - }, - default_temperature = 25, - max_temperature = 100, - heat_capacity = "1kJ", - -- 19cf44 - base_color = fertilizer_fluid_colors.base, - flow_color = fertilizer_fluid_colors.flow, - pressure_to_speed_ratio = 0.4, - flow_to_energy_ratio = 0.59, - order = "a[fluid]-b[fertilizer]" - }, - - -- Advanced fertilizer fluid - { - type = "fluid", - name = "bi-adv-fertilizer-fluid", - icon = ICONPATH .. "fluid_advanced_fertilizer_64.png", - icon_size = 64, - icon_mipmaps = 1, - icons = { - { - icon = ICONPATH .. "fluid_advanced_fertilizer_64.png", - icon_size = 64, - icon_mipmaps = 1, - } - }, - default_temperature = 25, - max_temperature = 100, - heat_capacity = "1kJ", - --00ff12 - base_color = adv_fertilizer_fluid_colors.base, - flow_color = adv_fertilizer_fluid_colors.flow, - pressure_to_speed_ratio = 0.4, - flow_to_energy_ratio = 0.59, - order = "a[fluid]-b[fertilizer-advanced]" - }, - - - ------------------------------------------------------------------------------------ - -- RECIPES -- - ------------------------------------------------------------------------------------ - - -- Fertilizer fluid - { - type = "recipe", - name = "bi-fertilizer-fluid", - icon = ICONPATH .. "fluid_fertilizer_recipe_64.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "fluid_fertilizer_recipe_64.png", - icon_size = 64, - } - }, - category = "chemistry", - energy_required = 5, - ingredients = { - {type = "item", name = "fertilizer", amount = 3}, - {type = "fluid", name = "water", amount = 100}, - }, - results = { - {type = "fluid", name = "bi-fertilizer-fluid", amount = 100} - }, - main_product = "", - enabled = false, - always_show_made_in = true, - allow_decomposition = false, - allow_as_intermediate = false, - subgroup = "bio-bio-farm-intermediate-product", - order = "b[bi-fertilizer]-b[bi-fertilizer-fluid-1]", - crafting_machine_tint = { - -- Kettle - primary = fertilizer_fluid_colors.primary, - secondary = fertilizer_fluid_colors.secondary, - -- Chimney - tertiary = fertilizer_fluid_colors.tertiary, - quaternary = fertilizer_fluid_colors.quaternary, - }, - }, - - -- Advanced fertilizer fluid - { - type = "recipe", - name = "bi-adv-fertilizer-fluid", - icon = ICONPATH .. "fluid_advanced_fertilizer_recipe_64.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "fluid_advanced_fertilizer_recipe_64.png", - icon_size = 64, - } - }, - category = "chemistry", - energy_required = 5, - ingredients = { - {type = "item", name = "bi-adv-fertilizer", amount = 3}, - {type = "fluid", name = "water", amount = 100}, - }, - results = { - {type = "fluid", name = "bi-adv-fertilizer-fluid", amount = 100} - }, - main_product = "", - enabled = false, - always_show_made_in = true, - allow_decomposition = false, - allow_as_intermediate = false, - subgroup = "bio-bio-farm-intermediate-product", - order = "b[bi-fertilizer]-b[bi-fertilizer-fluid-2]", - crafting_machine_tint = { - primary = adv_fertilizer_fluid_colors.primary, - secondary = adv_fertilizer_fluid_colors.secondary, - -- Chimney - tertiary = adv_fertilizer_fluid_colors.tertiary, - quaternary = adv_fertilizer_fluid_colors.quaternary, - }, - }, -}) - ------------------------------------------------------------------------------------- --- UNLOCKS -- ------------------------------------------------------------------------------------- -BioInd.writeDebug("Unlocking fluid fertilizers!") -thxbob.lib.tech.add_recipe_unlock ("bi-tech-fertilizer", "bi-fertilizer-fluid") -thxbob.lib.tech.add_recipe_unlock ("bi-tech-advanced-biotechnology", "bi-adv-fertilizer-fluid") - - - ------------------------------------------------------------------------------------- --- CHANGE RECIPES -- ------------------------------------------------------------------------------------- --- Purified air (fertilizer) -thxbob.lib.recipe.remove_ingredient("bi-purified-air-1", "fertilizer") -thxbob.lib.recipe.remove_ingredient("bi-purified-air-1", "water") -thxbob.lib.recipe.add_new_ingredient("bi-purified-air-1", { - type = "fluid", - name = "bi-fertilizer-fluid", - amount = 50 -}) -data.raw.recipe["bi-purified-air-1"].localised_description = {"recipe-description.bi-purified-air-1-fluid"} - --- Purified air (advanced fertilizer) -thxbob.lib.recipe.remove_ingredient("bi-purified-air-2", "bi-adv-fertilizer") -thxbob.lib.recipe.remove_ingredient("bi-purified-air-2", "water") -thxbob.lib.recipe.add_new_ingredient("bi-purified-air-2", { - type = "fluid", - name = "bi-adv-fertilizer-fluid", - amount = 50 -}) -data.raw.recipe["bi-purified-air-2"].localised_description = {"recipe-description.bi-purified-air-2-fluid"} +------------------------------------------------------------------------------------ +-- Create fluid fertilizers, recipes, and unlocks if the setting requires it! -- +------------------------------------------------------------------------------------ +local BioInd = require('common')('Bio_Industries_2') +local ICONPATH = BioInd.modRoot .. "/graphics/icons/" + + +local function make_colors(color) + local r, g, b = color.r, color.g, color.b + local black = {r = 0, g = 0, b = 0, a = .25} + + local function mult(v, f) + return (v * f) % 1 + end + + ret = { + base = color, + flow = {r = mult(r, 3), g = mult(g, 3), b = mult(b, 3), a = .25}, + primary = {r = r, g = g, b = b, a = .5}, + secondary = {r = mult(r, .5), g = mult(g, .5), b = mult(b, .5), a = .25}, + tertiary = {r = mult(r, 2), g = mult(g, 2), b = mult(b, 2), a = .25}, + secondary = black, + } + return ret +end + +local fertilizer_fluid_colors = make_colors({r = 0.098, g = 0.811, b = 0.269, a = .5}) +local adv_fertilizer_fluid_colors = make_colors({r = 0, g = 1, b = 0.071, a = .5}) + +data:extend({ + ------------------------------------------------------------------------------------ + -- FLUIDS -- + ------------------------------------------------------------------------------------ + + -- Fertilizer fluid + { + type = "fluid", + name = "bi-fertilizer-fluid", + icon = ICONPATH .. "fluid_fertilizer.png", + icon_size = 64, + icon_mipmaps = 1, + icons = { + { + icon = ICONPATH .. "fluid_fertilizer.png", + icon_size = 64, + icon_mipmaps = 1, + } + }, + default_temperature = 25, + max_temperature = 100, + heat_capacity = "1kJ", + -- 19cf44 + base_color = fertilizer_fluid_colors.base, + flow_color = fertilizer_fluid_colors.flow, + pressure_to_speed_ratio = 0.4, + flow_to_energy_ratio = 0.59, + order = "a[fluid]-b[fertilizer]" + }, + + -- Advanced fertilizer fluid + { + type = "fluid", + name = "bi-adv-fertilizer-fluid", + icon = ICONPATH .. "fluid_advanced_fertilizer.png", + icon_size = 64, + icon_mipmaps = 1, + icons = { + { + icon = ICONPATH .. "fluid_advanced_fertilizer.png", + icon_size = 64, + icon_mipmaps = 1, + } + }, + default_temperature = 25, + max_temperature = 100, + heat_capacity = "1kJ", + --00ff12 + base_color = adv_fertilizer_fluid_colors.base, + flow_color = adv_fertilizer_fluid_colors.flow, + pressure_to_speed_ratio = 0.4, + flow_to_energy_ratio = 0.59, + order = "a[fluid]-b[fertilizer-advanced]" + }, + + + ------------------------------------------------------------------------------------ + -- RECIPES -- + ------------------------------------------------------------------------------------ + + -- Fertilizer fluid + { + type = "recipe", + name = "bi-fertilizer-fluid", + icon = ICONPATH .. "fluid_fertilizer.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "fluid_fertilizer.png", + icon_size = 64, + } + }, + category = "chemistry", + energy_required = 5, + ingredients = { + {type = "item", name = "fertilizer", amount = 3}, + {type = "fluid", name = "water", amount = 100}, + }, + results = { + {type = "fluid", name = "bi-fertilizer-fluid", amount = 100} + }, + main_product = "", + enabled = false, + always_show_made_in = true, + allow_decomposition = false, + allow_as_intermediate = false, + subgroup = "bio-bio-farm-intermediate-product", + order = "b[bi-fertilizer]-b[bi-fertilizer-fluid-1]", + crafting_machine_tint = { + -- Kettle + primary = fertilizer_fluid_colors.primary, + secondary = fertilizer_fluid_colors.secondary, + -- Chimney + tertiary = fertilizer_fluid_colors.tertiary, + quaternary = fertilizer_fluid_colors.quaternary, + }, + }, + + -- Advanced fertilizer fluid + { + type = "recipe", + name = "bi-adv-fertilizer-fluid", + icon = ICONPATH .. "fluid_advanced_fertilizer.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "fluid_advanced_fertilizer.png", + icon_size = 64, + } + }, + category = "chemistry", + energy_required = 5, + ingredients = { + {type = "item", name = "bi-adv-fertilizer", amount = 3}, + {type = "fluid", name = "water", amount = 100}, + }, + results = { + {type = "fluid", name = "bi-adv-fertilizer-fluid", amount = 100} + }, + main_product = "", + enabled = false, + always_show_made_in = true, + allow_decomposition = false, + allow_as_intermediate = false, + subgroup = "bio-bio-farm-intermediate-product", + order = "b[bi-fertilizer]-b[bi-fertilizer-fluid-2]", + crafting_machine_tint = { + primary = adv_fertilizer_fluid_colors.primary, + secondary = adv_fertilizer_fluid_colors.secondary, + -- Chimney + tertiary = adv_fertilizer_fluid_colors.tertiary, + quaternary = adv_fertilizer_fluid_colors.quaternary, + }, + }, +}) + +------------------------------------------------------------------------------------ +-- UNLOCKS -- +------------------------------------------------------------------------------------ +BioInd.writeDebug("Unlocking fluid fertilizers!") +thxbob.lib.tech.add_recipe_unlock ("bi-tech-fertilizer", "bi-fertilizer-fluid") +thxbob.lib.tech.add_recipe_unlock ("bi-tech-advanced-biotechnology", "bi-adv-fertilizer-fluid") + + + +------------------------------------------------------------------------------------ +-- CHANGE RECIPES -- +------------------------------------------------------------------------------------ +-- Purified air (fertilizer) +thxbob.lib.recipe.remove_ingredient("bi-purified-air-1", "fertilizer") +thxbob.lib.recipe.remove_ingredient("bi-purified-air-1", "water") +thxbob.lib.recipe.add_new_ingredient("bi-purified-air-1", { + type = "fluid", + name = "bi-fertilizer-fluid", + amount = 50 +}) +data.raw.recipe["bi-purified-air-1"].localised_description = {"recipe-description.bi-purified-air-1-fluid"} + +-- Purified air (advanced fertilizer) +thxbob.lib.recipe.remove_ingredient("bi-purified-air-2", "bi-adv-fertilizer") +thxbob.lib.recipe.remove_ingredient("bi-purified-air-2", "water") +thxbob.lib.recipe.add_new_ingredient("bi-purified-air-2", { + type = "fluid", + name = "bi-adv-fertilizer-fluid", + amount = 50 +}) +data.raw.recipe["bi-purified-air-2"].localised_description = {"recipe-description.bi-purified-air-2-fluid"} diff --git a/Bio_Industries_2/prototypes/Bio_Garden/item.lua b/Bio_Industries_2/prototypes/Bio_Garden/item.lua index e37f9fe..eb1b7f5 100644 --- a/Bio_Industries_2/prototypes/Bio_Garden/item.lua +++ b/Bio_Industries_2/prototypes/Bio_Garden/item.lua @@ -1,42 +1,77 @@ -local BioInd = require('common')('Bio_Industries_2') - -local ICONPATH = BioInd.modRoot .. "/graphics/icons/" - --------- Bio Garden - -data:extend({ - - { - type = "item", - name = "bi-bio-garden", - icon = ICONPATH .. "bio_garden_icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bio_garden_icon.png", - icon_size = 64, - } - }, - subgroup = "production-machine", - order = "x[bi]-b[bi-bio-garden]", - place_result = "bi-bio-garden", - stack_size = 10 - }, - - { - type = "item", - name = "bi-purified-air", - icon = ICONPATH .. "Clean_Air2.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "Clean_Air2.png", - icon_size = 64, - } - }, - hidden = true, - subgroup = "bio-bio-gardens-fluid", - order = "bi-purified-air", - stack_size = 100 - }, -}) +local BioInd = require('common')('Bio_Industries_2') + +local ICONPATH = BioInd.modRoot .. "/graphics/icons/" +local ICONPATH_E = BioInd.modRoot .. "/graphics/icons/entity/" + +-------- Bio Garden + +data:extend({ + + { + type = "item", + name = "bi-bio-garden", + icon = ICONPATH_E .. "bio_garden_icon.png", + icon_size = 64, + icons = { + { + icon = ICONPATH_E .. "bio_garden_icon.png", + icon_size = 64, + } + }, + subgroup = "production-machine", + order = "x[bi]-b[bi-bio-garden]", + place_result = "bi-bio-garden", + stack_size = 10 + }, + + { + type = "item", + name = "bi-bio-garden-large", + icon = ICONPATH_E .. "bio_garden_large_icon.png", + icon_size = 64, + icons = { + { + icon = ICONPATH_E .. "bio_garden_large_icon.png", + icon_size = 64, + } + }, + subgroup = "production-machine", + order = "x[bi]-c[bi-bio-garden]", + place_result = "bi-bio-garden-large", + stack_size = 10 + }, + + { + type = "item", + name = "bi-bio-garden-huge", + icon = ICONPATH_E .. "bio_garden_huge_icon.png", + icon_size = 64, + icons = { + { + icon = ICONPATH_E .. "bio_garden_huge_icon.png", + icon_size = 64, + } + }, + subgroup = "production-machine", + order = "x[bi]-d[bi-bio-garden]", + place_result = "bi-bio-garden-huge", + stack_size = 10 + }, + + { + type = "item", + name = "bi-purified-air", + icon = ICONPATH .. "Clean_Air2.png", + icon_size = 64, + icons = { + { + icon = ICONPATH .. "Clean_Air2.png", + icon_size = 64, + } + }, + hidden = true, + subgroup = "bio-bio-gardens-fluid", + order = "bi-purified-air", + stack_size = 100 + }, +}) diff --git a/Bio_Industries_2/prototypes/Bio_Garden/recipe-categories.lua b/Bio_Industries_2/prototypes/Bio_Garden/recipe-categories.lua index f4137b0..9c117e1 100644 --- a/Bio_Industries_2/prototypes/Bio_Garden/recipe-categories.lua +++ b/Bio_Industries_2/prototypes/Bio_Garden/recipe-categories.lua @@ -1,9 +1,9 @@ -data:extend({ - - -- Bio Garden - { - type = "recipe-category", - name = "clean-air" - } - -}) +data:extend({ + + -- Bio Garden + { + type = "recipe-category", + name = "clean-air" + } + +}) diff --git a/Bio_Industries_2/prototypes/Bio_Garden/recipe.lua b/Bio_Industries_2/prototypes/Bio_Garden/recipe.lua index 2ad48a7..d399041 100644 --- a/Bio_Industries_2/prototypes/Bio_Garden/recipe.lua +++ b/Bio_Industries_2/prototypes/Bio_Garden/recipe.lua @@ -1,102 +1,131 @@ -local BioInd = require('common')('Bio_Industries_2') - -local ICONPATH = BioInd.modRoot .. "/graphics/icons/" - ---- Bio Gardens -data:extend({ - - --- Garden (ENTITY) - { - type = "recipe", - name = "bi-bio-garden", - localised_name = {"entity-name.bi-bio-garden"}, - localised_description = {"entity-description.bi-bio-garden"}, - icon = ICONPATH .. "bio_garden_icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bio_garden_icon.png", - icon_size = 64, - } - }, - enabled = false, - energy_required = 10, - ingredients = { - {type="item", name="stone-wall", amount=12}, - {type="item", name="stone-crushed", amount=50}, - {type="item", name="seedling", amount=50} - }, - results = {{type="item", name="bi-bio-garden", amount=1}}, - main_product = "", - subgroup = "bio-bio-gardens-fluid", - order = "a[bi]", - allow_as_intermediate = false, -- Changed for 0.18.34/1.1.4 - always_show_made_in = false, -- Changed for 0.18.34/1.1.4 - allow_decomposition = true, -- Changed for 0.18.34/1.1.4 -- This is a custom property for use by "Krastorio 2" (it will change - -- ingredients/results; used for wood/wood pulp) - mod = "Bio_Industries_2", - }, - - - --- Clean Air 1 - { - type = "recipe", - name = "bi-purified-air-1", - icon = ICONPATH .. "clean-air_mk1.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "clean-air_mk1.png", - icon_size = 64, - } - }, - order = "zzz-clean-air", - category = "clean-air", - subgroup = "bio-bio-gardens-fluid", - order = "bi-purified-air-1", - enabled = false, - always_show_made_in = true, - allow_decomposition = false, - energy_required = 40, - ingredients = { - {type = "fluid", name = "water", amount = 50}, - {type = "item", name = "fertilizer", amount = 1} - }, - results = { - {type = "item", name = "bi-purified-air", amount = 1, probability = 0}, - }, - main_product = "", - }, - - - --- Clean Air 2 - { - type = "recipe", - name = "bi-purified-air-2", - icon = ICONPATH .. "clean-air_mk2.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "clean-air_mk2.png", - icon_size = 64, - } - }, - order = "zzz-clean-air2", - category = "clean-air", - subgroup = "bio-bio-gardens-fluid", - order = "bi-purified-air-2", - enabled = false, - always_show_made_in = true, - allow_decomposition = false, - energy_required = 100, - ingredients = { - {type = "fluid", name = "water", amount = 50}, - {type = "item", name = "bi-adv-fertilizer", amount = 1}, - }, - results = { - {type = "item", name = "bi-purified-air", amount = 1, probability = 0}, - }, - main_product = "", - }, - -}) +local BioInd = require('common')('Bio_Industries_2') + +local ICONPATH = BioInd.modRoot .. "/graphics/icons/" +local ICONPATH_E = BioInd.modRoot .. "/graphics/icons/entity/" + +--- Bio Gardens +data:extend({ + + --- Garden (ENTITY) + { + type = "recipe", + name = "bi-bio-garden", + localised_name = {"entity-name.bi-bio-garden"}, + localised_description = {"entity-description.bi-bio-garden"}, + icons = { {icon = ICONPATH_E .. "bio_garden_icon.png", icon_size = 64, } }, + enabled = false, + energy_required = 10, + ingredients = { + {type="item", name="stone-wall", amount=12}, + {type="item", name="stone-crushed", amount=50}, + {type="item", name="seedling", amount=50} + }, + results = {{type="item", name="bi-bio-garden", amount=1}}, + main_product = "", + subgroup = "bio-bio-gardens-fluid", + order = "a[bi-garden-1]", + allow_as_intermediate = false, -- Changed for 0.18.34/1.1.4 + always_show_made_in = false, -- Changed for 0.18.34/1.1.4 + allow_decomposition = true, -- Changed for 0.18.34/1.1.4 -- This is a custom property for use by "Krastorio 2" (it will change + -- ingredients/results; used for wood/wood pulp) + mod = "Bio_Industries_2", + }, + + --- Garden - Large(ENTITY) + { + type = "recipe", + name = "bi-bio-garden-large", + localised_name = {"entity-name.bi-bio-garden-large"}, + localised_description = {"entity-description.bi-bio-garden-large"}, + icons = { {icon = ICONPATH_E .. "bio_garden_large_icon.png", icon_size = 64, } }, + enabled = false, + energy_required = 15, + ingredients = { + {type="item", name="stone-wall", amount=48}, + {type="item", name="stone-crushed", amount=200}, + {type="item", name="bi-bio-garden", amount=4} + }, + results = {{type="item", name="bi-bio-garden-large", amount=1}}, + main_product = "", + subgroup = "bio-bio-gardens-fluid", + order = "a[bi-garden-2]", + allow_as_intermediate = false, -- Changed for 0.18.34/1.1.4 + always_show_made_in = false, -- Changed for 0.18.34/1.1.4 + allow_decomposition = true, -- Changed for 0.18.34/1.1.4 -- This is a custom property for use by "Krastorio 2" (it will change + -- ingredients/results; used for wood/wood pulp) + mod = "Bio_Industries_2", + }, + + --- Garden - Huge(ENTITY) + { + type = "recipe", + name = "bi-bio-garden-huge", + localised_name = {"entity-name.bi-bio-garden-huge"}, + localised_description = {"entity-description.bi-bio-garden-huge"}, + icons = { {icon = ICONPATH_E .. "bio_garden_huge_icon.png", icon_size = 64, } }, + enabled = false, + energy_required = 15, + ingredients = { + {type="item", name="stone-wall", amount=192}, + {type="item", name="stone-crushed", amount=800}, + {type="item", name="bi-bio-garden-large", amount=4} + }, + results = {{type="item", name="bi-bio-garden-huge", amount=1}}, + main_product = "", + subgroup = "bio-bio-gardens-fluid", + order = "a[bi-garden-3]", + allow_as_intermediate = false, -- Changed for 0.18.34/1.1.4 + always_show_made_in = false, -- Changed for 0.18.34/1.1.4 + allow_decomposition = true, -- Changed for 0.18.34/1.1.4 -- This is a custom property for use by "Krastorio 2" (it will change + -- ingredients/results; used for wood/wood pulp) + mod = "Bio_Industries_2", + }, + + --- Clean Air 1 + { + type = "recipe", + name = "bi-purified-air-1", + icons = { {icon = ICONPATH .. "clean-air_mk1.png", icon_size = 64, } }, + order = "zzz-clean-air", + category = "clean-air", + subgroup = "bio-bio-gardens-fluid", + order = "bi-purified-air-1", + enabled = false, + always_show_made_in = true, + allow_decomposition = false, + energy_required = 40, + ingredients = { + {type = "fluid", name = "water", amount = 50}, + {type = "item", name = "fertilizer", amount = 1} + }, + results = { + {type = "item", name = "bi-purified-air", amount = 1, probability = 0}, + }, + main_product = "", + }, + + + --- Clean Air 2 + { + type = "recipe", + name = "bi-purified-air-2", + icons = { {icon = ICONPATH .. "clean-air_mk2.png", icon_size = 64, } }, + order = "zzz-clean-air2", + category = "clean-air", + subgroup = "bio-bio-gardens-fluid", + order = "bi-purified-air-2", + enabled = false, + always_show_made_in = true, + allow_decomposition = false, + energy_required = 100, + ingredients = { + {type = "fluid", name = "water", amount = 50}, + {type = "item", name = "bi-adv-fertilizer", amount = 1}, + }, + results = { + {type = "item", name = "bi-purified-air", amount = 1, probability = 0}, + }, + main_product = "", + }, + +}) diff --git a/Bio_Industries_2/prototypes/Bio_Solar_Farm/entities.lua b/Bio_Industries_2/prototypes/Bio_Solar_Farm/entities.lua index f2784f4..1038ecb 100644 --- a/Bio_Industries_2/prototypes/Bio_Solar_Farm/entities.lua +++ b/Bio_Industries_2/prototypes/Bio_Solar_Farm/entities.lua @@ -1,450 +1,757 @@ -local tile_graphics = require("__base__/prototypes/tile/tile-graphics") -local BioInd = require('common')('Bio_Industries_2') -require ("util") - -local ICONPATH = BioInd.modRoot .. "/graphics/icons/" -local ENTITYPATH = "__Bio_Industries_2__/graphics/entities/bio_solar_farm/" - - - -if BI.Settings.BI_Solar_Additions then - - -local sounds = {} -sounds.walking_sound = {} -for i = 1, 11 do - sounds.walking_sound[i] = { - filename = "__base__/sound/walking/concrete-" .. i ..".ogg", - volume = 1.2 - } -end - -data:extend({ - ------- Bio Farm Solar Panel - { - type = "solar-panel", - name = "bi-bio-solar-farm", - icon = ICONPATH .. "Bio_Solar_Farm_Icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "Bio_Solar_Farm_Icon.png", - icon_size = 64, - } - }, - -- This is necessary for "Space Exploration" (if not true, the entity can only be - -- placed on Nauvis)! - se_allow_in_space = true, - flags = {"placeable-neutral", "player-creation"}, - minable = {hardness = 0.25, mining_time = 0.5, result = "bi-bio-solar-farm"}, - max_health = 600, - corpse = "big-remnants", - dying_explosion = "medium-explosion", - resistances = {{type = "fire", percent = 80}}, - collision_box = {{-4.2, -4.2}, {4.2, 4.2}}, - selection_box = {{-4.5, -4.5}, {4.5, 4.5}}, - energy_source = { - type = "electric", - usage_priority = "solar" - }, - picture = { - filename = ENTITYPATH .. "Bio_Solar_Farm_On.png", - priority = "low", - width = 312, - height = 289, - frame_count = 1, - direction_count = 1, - --scale = 3/2, - shift = {0.30, 0} - }, - production = "3600kW" - }, - - - ---- BI Accumulator - { - type = "accumulator", - name = "bi-bio-accumulator", - icon = ICONPATH .. "bi_LargeAccumulator.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bi_LargeAccumulator.png", - icon_size = 64, - } - }, - -- This is necessary for "Space Exploration" (if not true, the entity can only be - -- placed on Nauvis)! - se_allow_in_space = true, - flags = {"placeable-neutral", "player-creation"}, - minable = {hardness = 0.2, mining_time = 0.5, result = "bi-bio-accumulator"}, - max_health = 500, - corpse = "big-remnants", - collision_box = {{-1.75, -1.75}, {1.75, 1.75}}, - selection_box = {{-2, -2}, {2, 2}}, - --collision_box = {{-2, -2}, {2, 2}}, - --selection_box = {{-2.5, -2.5}, {2.5, 2.5}}, - energy_source = { - type = "electric", - buffer_capacity = "300MJ", - usage_priority = "tertiary", - input_flow_limit = "20MW", - output_flow_limit = "20MW" - }, - picture = { - filename = ENTITYPATH .. "bi_LargeAccumulator.png", - priority = "extra-high", - width = 245, - height = 245, - shift = {0.75, -0.5}, - scale = 0.75, - }, - charge_animation = { - filename = ENTITYPATH .. "bi_LargeAccumulatorAnimated.png", - width = 250, - height = 250, - line_length = 8, - frame_count = 24, - shift = {0.75, -0.5}, - scale = 0.75, - animation_speed = 0.5 - }, - charge_cooldown = 30, - charge_light = {intensity = 0.3, size = 7, color = {r = 1.0, g = 1.0, b = 1.0}}, - discharge_animation = { - filename = ENTITYPATH .. "bi_LargeAccumulatorAnimated.png", - width = 250, - height = 250, - line_length = 8, - frame_count = 24, - shift = {0.75, -0.5}, - scale = 0.75, - animation_speed = 0.5 - }, - discharge_cooldown = 60, - discharge_light = {intensity = 0.7, size = 7, color = {r = 1.0, g = 1.0, b = 1.0}}, - working_sound = { - sound = { - filename = "__base__/sound/accumulator-working.ogg", - volume = 1 - }, - idle_sound = { - filename = "__base__/sound/accumulator-idle.ogg", - volume = 0.4 - }, - max_sounds_per_type = 5 - }, - circuit_wire_connection_point = { - shadow = { - red = {0.984375, 1.10938}, - green = {0.890625, 1.10938} - }, - wire = { - red = {0.6875, 0.59375}, - green = {0.6875, 0.71875} - } - }, - --circuit_connector_sprites = get_circuit_connector_sprites({0.46875, 0.5}, {0.46875, 0.8125}, 26), - circuit_wire_max_distance = 9, - default_output_signal = {type = "virtual", name = "signal-A"} - }, - - - ---- Large Substation - { - type = "electric-pole", - name = "bi-large-substation", - localised_name = {"entity-name.bi-large-substation"}, - localised_description = {"entity-description.bi-large-substation"}, - icon = ICONPATH .. "bi_LargeSubstation_icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bi_LargeSubstation_icon.png", - icon_size = 64, - } - }, - -- This is necessary for "Space Exploration" (if not true, the entity can only be - -- placed on Nauvis)! - se_allow_in_space = true, - flags = {"placeable-neutral", "player-creation"}, - minable = {hardness = 0.2, mining_time = 0.5, result = "bi-large-substation"}, - max_health = 600, - corpse = "big-remnants", - dying_explosion = "big-explosion", - track_coverage_during_build_by_moving = true, - resistances = { - { - type = "fire", - percent = 90 - } - }, - collision_box = {{-2.4, -2.4}, {2.4, 2.4}}, - selection_box = {{-2.5, -2.5}, {2.5, 2.5}}, - drawing_box = {{-2.5, -5}, {2.5, 2.5}}, - maximum_wire_distance = 25, - -- Changed for 0.18.34/1.1.4 - supply_area_distance = 50.5, - pictures = { - filename = ENTITYPATH .. "bi_LargeSubstation.png", - priority = "high", - width = 450, - height = 380, - shift = {1, -0.5}, - direction_count = 1, - scale = 0.5, - }, - working_sound = { - sound = { filename = "__base__/sound/substation.ogg" }, - apparent_volume = 1.8, - audible_distance_modifier = 0.5, - probability = 1 / (3 * 60) -- average pause between the sound is 3 seconds - }, - connection_points = { - { - shadow = { - copper = {1.9, -0.6}, - green = {1.3, -0.6}, - red = {2.65, -0.6} - }, - wire = { - copper = {-0.25, -2.71875}, - green = {-0.84375, -2.71875}, - red = {0.34375, -2.71875} - } - }, - }, - radius_visualisation_picture = { - filename = "__base__/graphics/entity/small-electric-pole/electric-pole-radius-visualization.png", - width = 12, - height = 12, - --scale = 3, - --shift = {0.6, -0.6}, - priority = "extra-high-no-scale" - }, - }, - - - ---- Solar Floor - { - type = "tile", - name = "bi-solar-mat", - localised_name = {"entity-name.bi-solar-mat"}, - localised_description = {"entity-description.bi-solar-mat"}, - icon = ICONPATH .. "solar-mat.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "solar-mat.png", - icon_size = 64, - } - }, - needs_correction = false, - minable = {hardness = 0.1, mining_time = 0.25, result = "bi-solar-mat"}, - mined_sound = { filename = "__base__/sound/deconstruct-bricks.ogg" }, - collision_mask = { layers = { ground_tile = true }}, - collision_box = {{-0.5, -0.5}, {0.5, 0.5}}, - walking_speed_modifier = 1.45, - layer = 62, - decorative_removal_probability = 1, - variants = { - transition = tile_graphics.generic_masked_tile_transitions1, - main = { - { - picture = ENTITYPATH .. "solar1.png", - count = 1, - size = 1, - probability = 1, - }, - }, - inner_corner = { - picture = ENTITYPATH .. "solar-inner-corner.png", - count = 8 - }, - outer_corner = { - picture = ENTITYPATH .. "solar-outer-corner.png", - count = 8 - }, - side = { - picture = ENTITYPATH .. "solar-side.png", - count = 8 - }, - u_transition = { - picture = ENTITYPATH .. "solar-u.png", - count = 8 - }, - o_transition = { - picture = ENTITYPATH .. "solar-o.png", - count = 1 - } - }, - walking_sound = sounds.walking_sound, - map_color = {r = 93, g = 138, b = 168}, - vehicle_friction_modifier = dirt_vehicle_speed_modifer - }, -}) - -data:extend({ - ------- Boiler for Solar Plant / Boiler - { - type = "boiler", - name = "bi-solar-boiler", - icon = ICONPATH .. "Bio_Solar_Boiler_Boiler_Icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "Bio_Solar_Boiler_Boiler_Icon.png", - icon_size = 64, - } - }, - -- This is necessary for "Space Exploration" (if not true, the entity can only be - -- placed on Nauvis)! - se_allow_in_space = true, - flags = {"placeable-neutral", "player-creation"}, - minable = {hardness = 0.2, mining_time = 1, result = "bi-solar-boiler"}, - max_health = 400, - corpse = "small-remnants", - vehicle_impact_sound = sounds.generic_impact, - mode = "output-to-separate-pipe", - resistances = { - { - type = "fire", - percent = 100 - }, - { - type = "explosion", - percent = 30 - }, - { - type = "impact", - percent = 30 - } - }, - collision_box = {{-4.2, -4.2}, {4.2, 4.2}}, - selection_box = {{-4.5, -4.5}, {4.5, 4.5}}, - target_temperature = 235, - fluid_box = { - volume = 200, - base_level = -1, - pipe_covers = pipecoverspictures(), - pipe_connections = { - {flow_direction = "input-output", direction = defines.direction.north, position = {4, 0}}, - {flow_direction = "input-output", direction = defines.direction.north, position = {-4, 0}}, - }, - production_type = "input-output", - filter = "water" - }, - output_fluid_box = { - volume = 200, - base_level = 1, - pipe_covers = pipecoverspictures(), - pipe_connections = { - {flow_direction = "input-output", direction = defines.direction.north, position = {0, 4}}, - {flow_direction = "input-output", direction = defines.direction.north, position = {0, -4}}, - }, - production_type = "output", - filter = "steam" - }, - energy_consumption = "1.799MW", - energy_source = { - type = "electric", - input_priority = "primary", - usage_priority = "primary-input", - --emissions_per_minute = 0 -- NO Emmisions - }, - working_sound = { - sound = { - filename = "__base__/sound/boiler.ogg", - volume = 0.9 - }, - max_sounds_per_type = 3 - }, - structure = { - north = { - layers = { - { - filename = ENTITYPATH .. "Bio_Solar_Boiler.png", - priority = "high", - width = 288, - height = 288, - }, - } - }, - east = { - layers = { - { - filename = ENTITYPATH .. "Bio_Solar_Boiler.png", - priority = "high", - width = 288, - height = 288, - }, - }, - }, - south = { - layers = { - { - filename = ENTITYPATH .. "Bio_Solar_Boiler.png", - priority = "high", - width = 288, - height = 288, - }, - } - }, - west = { - layers = { - { - filename = ENTITYPATH .. "Bio_Solar_Boiler.png", - priority = "high", - width = 288, - height = 288, - }, - } - } - }, - fire_flicker_enabled = false, - fire = {}, - fire_glow_flicker_enabled = false, - fire_glow = { - north = { - filename = "__Bio_Industries_2__/graphics/entities/small-lamp/light-on-patch.png", - priority = "extra-high", - frame_count = 1, - width = 62, - height = 62, - shift = {0.09, -2.8}, - scale = 1.5, - blend_mode = "additive", - }, - east = { - filename = "__Bio_Industries_2__/graphics/entities/small-lamp/light-on-patch.png", - priority = "extra-high", - frame_count = 1, - width = 62, - height = 62, - shift = {0, -3}, - blend_mode = "additive", - }, - south = { - filename = "__Bio_Industries_2__/graphics/entities/small-lamp/light-on-patch.png", - priority = "extra-high", - frame_count = 1, - width = 62, - height = 62, - shift = {0, -3}, - blend_mode = "additive", - }, - west = { - filename = "__Bio_Industries_2__/graphics/entities/small-lamp/light-on-patch.png", - priority = "extra-high", - frame_count = 1, - width = 62, - height = 62, - shift = {0, -3}, - blend_mode = "additive", - }, - }, - burning_cooldown = 20 - }, -}) - -end +local tile_graphics = require("__base__/prototypes/tile/tile-graphics") +local BioInd = require('common')('Bio_Industries_2') +require("util") + +local ICONPATH = BioInd.modRoot .. "/graphics/icons/" +local ICONPATH_E = BioInd.modRoot .. "/graphics/icons/entity/" +local ENTITYPATH_BIO = BioInd.modRoot .. "/graphics/entities/" +local REMNANTSPATH = BioInd.modRoot .. "/graphics/entities/remnants/" + + + +if BI.Settings.BI_Solar_Additions then + local sounds = {} + sounds.walking_sound = {} + for i = 1, 11 do + sounds.walking_sound[i] = { + filename = "__base__/sound/walking/concrete-" .. i .. ".ogg", + volume = 1.2 + } + end + + + function big_accumulator_picture(tint, repeat_count) + return + { + layers = + { + { + filename = ENTITYPATH_BIO .. "bio_accumulator/bi_large_accumulator.png", + priority = "extra-high", + width = 307, + height = 362, + scale = 0.5, + repeat_count = repeat_count, + tint = tint, + shift = {0, -0.6}, + }, + { + filename = ENTITYPATH_BIO .. "bio_accumulator/bi_large_accumulator_shadow.png", + priority = "extra-high", + width = 384, + height = 272, + repeat_count = repeat_count, + shift = {1, 0}, + scale = 0.5, + draw_as_shadow = true, + } + } + } + end + + function big_accumulator_charge() + return + { + layers = + { + big_accumulator_picture({1, 1, 1, 1} , 24), + { + filename = ENTITYPATH_BIO .. "bio_accumulator/bi_large_accumulator_anim_charge.png", + priority = "extra-high", + width = 307, + height = 362, + line_length = 6, + frame_count = 12, + repeat_count = 2, + draw_as_glow = true, + shift = {0, -0.6}, + scale = 0.5, + animation_speed = 0.3, + } + } + } + end + + function big_accumulator_reflection() + return + { + pictures = + { + filename = ENTITYPATH_BIO .. "bio_accumulator/big-bi_large_accumulator_reflection.png", + priority = "extra-high", + width = 20, + height = 24, + shift = util.by_pixel(0, 50), + variation_count = 1, + scale = 5 + }, + rotate = false, + orientation_to_variation = false + } + end + + function big_accumulator_discharge() + return + { + layers = + { + big_accumulator_picture({1, 1, 1, 1} , 24), + { + filename = ENTITYPATH_BIO .. "bio_accumulator/bi_large_accumulator_anim_discharge.png", + priority = "extra-high", + width = 307, + height = 362, + line_length = 6, + frame_count = 24, + draw_as_glow = true, + shift = {0, -0.6}, + scale = 0.5, + animation_speed = 0.4, + } + } + } + end + + + data:extend({ + ------- Bio Farm Solar Panel + { + type = "solar-panel", + name = "bi-bio-solar-farm", + icon = ICONPATH_E .. "bio_Solar_Farm_Icon.png", + icon_size = 64, + icons = { + { + icon = ICONPATH_E .. "bio_Solar_Farm_Icon.png", + icon_size = 64, + } + }, + -- This is necessary for "Space Exploration" (if not true, the entity can only be + -- placed on Nauvis)! + se_allow_in_space = true, + flags = { "placeable-neutral", "player-creation" }, + minable = { hardness = 0.25, mining_time = 0.5, result = "bi-bio-solar-farm" }, + max_health = 600, + corpse = "bi-bio-solar-farm-remnant", + dying_explosion = "medium-explosion", + resistances = { { type = "fire", percent = 80 } }, + collision_box = { { -4.2, -4.2 }, { 4.2, 4.2 } }, + selection_box = { { -4.5, -4.5 }, { 4.5, 4.5 } }, + energy_source = { + type = "electric", + usage_priority = "solar" + }, + picture = + { + layers = + { + { + filename = ENTITYPATH_BIO .. "bio_solar_farm/bio_Solar_Farm.png", + priority = "high", + width = 624, + height = 578, + shift = { 0.30, 0 }, + scale = 0.5 + }, + { + filename = ENTITYPATH_BIO .. "bio_solar_farm/bio_Solar_Farm_shadow.png", + priority = "high", + width = 624, + height = 578, + shift = { 1.30, 0 }, + draw_as_shadow = true, + scale = 0.5 + } + } + }, + production = "3600kW" + }, + + ---- corpse + { + type = "corpse", + name = "bi-bio-solar-farm-remnant", + localised_name = {"entity-name.bi-bio-solar-farm-remnant"}, + icon = "__base__/graphics/icons/remnants.png", + icon_size = 64, + icon_mipmaps = 4, + BI_add_icon = true, + flags = {"placeable-neutral", "building-direction-8-way", "not-on-map"}, + subgroup = "remnants", + order = "z-z-z", + selection_box = {{-4.5, -4.5}, {4.5, 4.5}}, + tile_width = 9, + tile_height = 9, + selectable_in_game = false, + time_before_removed = 60 * 60 * 15, -- 15 minutes + final_render_layer = "remnants", + remove_on_tile_placement = false, + animation = + { + { + filename = REMNANTSPATH .. "bio_solar_farm_remnant.png", + line_length = 1, + width = 624, + height = 578, + frame_count = 1, + direction_count = 1, + shift = {0.3, 0}, + scale = 0.5 + } + } + }, + + ---- BI Accumulator +{ + type = "accumulator", + name = "bi-bio-accumulator", + icon = ICONPATH_E .. "bi_LargeAccumulator.png", + icon_size = 64, + icons = { + { + icon = ICONPATH_E .. "bi_LargeAccumulator.png", + icon_size = 64, + } + }, + -- This is necessary for "Space Exploration" + se_allow_in_space = true, + flags = { "placeable-neutral", "player-creation" }, + minable = { hardness = 0.2, mining_time = 0.5, result = "bi-bio-accumulator" }, + max_health = 500, + corpse = "bi-bio-accumulator-remnant", + collision_box = { { -1.75, -1.75 }, { 1.75, 1.75 } }, + selection_box = { { -2, -2 }, { 2, 2 } }, + + energy_source = { + type = "electric", + buffer_capacity = "300MJ", + usage_priority = "tertiary", + input_flow_limit = "25MW", + output_flow_limit = "25MW" + }, + + chargable_graphics = + { + picture = big_accumulator_picture(), + charge_animation = big_accumulator_charge(), + charge_cooldown = 30, + discharge_animation = big_accumulator_discharge(), + discharge_cooldown = 60 + --discharge_light = {intensity = 0.7, size = 7, color = {r = 1.0, g = 1.0, b = 1.0}}, + }, + water_reflection = big_accumulator_reflection(), + impact_category = "metal", + open_sound = sounds.electric_large_open, + close_sound = sounds.electric_large_close, + working_sound = + { + main_sounds = + { + { + sound = {filename = "__base__/sound/accumulator-working.ogg", volume = 0.4, modifiers = volume_multiplier("main-menu", 1.44)}, + match_volume_to_activity = true, + activity_to_volume_modifiers = {offset = 2, inverted = true}, + fade_in_ticks = 4, + fade_out_ticks = 20 + }, + { + sound = {filename = "__base__/sound/accumulator-discharging.ogg", volume = 0.4, modifiers = volume_multiplier("main-menu", 1.44)}, + match_volume_to_activity = true, + activity_to_volume_modifiers = {offset = 1}, + fade_in_ticks = 4, + fade_out_ticks = 20 + } + }, + idle_sound = {filename = "__base__/sound/accumulator-idle.ogg", volume = 0.35}, + max_sounds_per_type = 3, + audible_distance_modifier = 0.5 + }, + + circuit_connector = circuit_connector_definitions["accumulator"], + circuit_wire_max_distance = 9, + + default_output_signal = {type = "virtual", name = "signal-A"}, + weight = 200 * kg + }, + + --- corpse + + { + type = "corpse", + name = "bi-bio-accumulator-remnant", + localised_name = {"entity-name.bi-bio-accumulator-remnant"}, + icon = "__base__/graphics/icons/remnants.png", + icon_size = 64, + icon_mipmaps = 4, + BI_add_icon = true, + flags = {"placeable-neutral", "building-direction-8-way", "not-on-map"}, + subgroup = "remnants", + order = "z-z-z", + selection_box = {{-2, -2}, {2, 2}}, + tile_width = 4, + tile_height = 4, + selectable_in_game = false, + time_before_removed = 60 * 60 * 15, -- 15 minutes + final_render_layer = "remnants", + remove_on_tile_placement = false, + animation = + { + { + filename = REMNANTSPATH .. "bi_large_accumulator_remnant.png", + line_length = 1, + width = 307, + height = 362, + frame_count = 1, + direction_count = 1, + shift = {0, -0.6}, + scale = 0.5 + } + } + }, + + + ---- Large Substation + { + type = "electric-pole", + name = "bi-large-substation", + localised_name = { "entity-name.bi-large-substation" }, + localised_description = { "entity-description.bi-large-substation" }, + icon = ICONPATH_E .. "bi_LargeSubstation_icon.png", + icon_size = 64, + icons = { + { + icon = ICONPATH_E .. "bi_LargeSubstation_icon.png", + icon_size = 64, + } + }, + -- This is necessary for "Space Exploration" (if not true, the entity can only be + -- placed on Nauvis)! + se_allow_in_space = true, + flags = { "placeable-neutral", "player-creation" }, + minable = { hardness = 0.2, mining_time = 0.5, result = "bi-large-substation" }, + max_health = 600, + corpse = "bi-large-substation-remnant", + dying_explosion = "big-explosion", + track_coverage_during_build_by_moving = true, + resistances = { + { + type = "fire", + percent = 90 + } + }, + collision_box = { { -2.4, -2.4 }, { 2.4, 2.4 } }, + selection_box = { { -2.5, -2.5 }, { 2.5, 2.5 } }, + drawing_box = { { -2.5, -5 }, { 2.5, 2.5 } }, + maximum_wire_distance = 25, + -- Changed for 0.18.34/1.1.4 + supply_area_distance = 50.5, + pictures = { + layers = { + { + filename = ENTITYPATH_BIO .. "bio_substation/bio_substation.png", + priority = "high", + width = 384, + height = 384, + shift = { 0, 0 }, + direction_count = 1, + scale = 0.5, + }, + { + filename = ENTITYPATH_BIO .. "bio_substation/bio_substation_shadow.png", + priority = "high", + width = 384, + height = 384, + shift = { 1, 0 }, + direction_count = 1, + draw_as_shadow = true, + scale = 0.5, + }, + } + }, + working_sound = { + sound = { filename = "__base__/sound/substation.ogg" }, + apparent_volume = 1.8, + audible_distance_modifier = 0.5, + probability = 1 / (3 * 60) -- average pause between the sound is 3 seconds + }, + connection_points = { + { + shadow = { + copper = { 1.9, -0.6 }, + green = { 1.3, -0.6 }, + red = { 2.65, -0.6 } + }, + wire = { + copper = { -0.25, -2.71875 }, + green = { -0.84375, -2.71875 }, + red = { 0.34375, -2.71875 } + } + }, + }, + radius_visualisation_picture = { + filename = "__base__/graphics/entity/small-electric-pole/electric-pole-radius-visualization.png", + width = 12, + height = 12, + --scale = 3, + --shift = {0.6, -0.6}, + priority = "extra-high-no-scale" + }, + }, + + --- corpse + { + type = "corpse", + name = "bi-large-substation-remnant", + localised_name = {"entity-name.bi-large-substation-remnant"}, + icon = "__base__/graphics/icons/remnants.png", + icon_size = 64, + icon_mipmaps = 4, + BI_add_icon = true, + flags = {"placeable-neutral", "building-direction-8-way", "not-on-map"}, + subgroup = "remnants", + order = "z-z-z", + selection_box = {{-2.5, -2.5}, {2.5, 2.5}}, + tile_width = 5, + tile_height = 5, + selectable_in_game = false, + time_before_removed = 60 * 60 * 15, -- 15 minutes + final_render_layer = "remnants", + remove_on_tile_placement = false, + animation = + { + { + filename = REMNANTSPATH .. "large_substation_remnant.png", + line_length = 1, + width = 384, + height = 384, + frame_count = 1, + direction_count = 1, + shift = {0,0}, + scale = 0.5 + } + } + }, + + + ---- Solar Floor / Musk Floor + { + type = "tile", + name = "bi-solar-mat", + localised_name = { "entity-name.bi-solar-mat" }, + localised_description = { "entity-description.bi-solar-mat" }, + icon = ICONPATH_E .. "solar-mat.png", + icon_size = 64, + icons = { + { + icon = ICONPATH_E .. "solar-mat.png", + icon_size = 64, + } + }, + needs_correction = false, + minable = { hardness = 0.1, mining_time = 0.25, result = "bi-solar-mat" }, + mined_sound = { filename = "__base__/sound/deconstruct-bricks.ogg" }, + collision_mask = { layers = { ground_tile = true } }, + --collision_box = { { -0.5, -0.5 }, { 0.5, 0.5 } }, + walking_speed_modifier = 1.45, + layer = 13, + layer_group = "ground-artificial", + transition_overlay_layer_offset = 2, + decorative_removal_probability = 1, + variants = { + transition = tile_graphics.generic_masked_tile_transitions1, + main = { + { + picture = ENTITYPATH_BIO .. "bio_musk_floor/solarfloor.png", + count = 1, + size = 1, + scale = 0.5, + probability = 1, + }, + }, + inner_corner = { + picture = ENTITYPATH_BIO .. "bio_musk_floor/solarfloor_inner-corner.png", + count = 1, + scale = 0.5, + }, + inner_corner_mask = { + picture = ENTITYPATH_BIO .. "bio_musk_floor/solarfloor_inner-corner-mask.png", + count = 1, + scale = 0.5, + }, + outer_corner = { + picture = ENTITYPATH_BIO .. "bio_musk_floor/solarfloor_outer-corner.png", + count = 1, + scale = 0.5, + }, + outer_corner_mask = { + picture = ENTITYPATH_BIO .. "bio_musk_floor/solarfloor_outer-corner-mask.png", + count = 1, + scale = 0.5, + }, + side = { + picture = ENTITYPATH_BIO .. "bio_musk_floor/solarfloor_side.png", + count = 1, + scale = 0.5, + }, + side_mask = { + picture = ENTITYPATH_BIO .. "bio_musk_floor/solarfloor_side-mask.png", + count = 1, + scale = 0.5, + }, + u_transition = { + picture = ENTITYPATH_BIO .. "bio_musk_floor/solarfloor_u.png", + count = 1, + scale = 0.5, + }, + u_transition_mask = { + picture = ENTITYPATH_BIO .. "bio_musk_floor/solarfloor_u-mask.png", + count = 1, + scale = 0.5, + }, + o_transition = { + picture = ENTITYPATH_BIO .. "bio_musk_floor/solarfloor_o.png", + count = 1, + scale = 0.5, + }, + o_transition_mask = { + picture = ENTITYPATH_BIO .. "bio_musk_floor/solarfloor_o-mask.png", + count = 1, + scale = 0.5, + }, + material_background = { + picture = ENTITYPATH_BIO .. "bio_musk_floor/solarfloor.png", + count = 1, + scale = 0.5, + }, + + }, + walking_sound = sounds.walking_sound, + map_color = { r = 93, g = 138, b = 168 }, + vehicle_friction_modifier = dirt_vehicle_speed_modifer + }, + }) + + data:extend({ + ------- Boiler for Solar Plant / Boiler + { + type = "boiler", + name = "bi-solar-boiler", + icon = ICONPATH_E .. "bio_Solar_Boiler_Icon.png", + icon_size = 64, + icons = { + { icon = ICONPATH_E .. "bio_Solar_Boiler_Icon.png", icon_size = 64 } + }, + se_allow_in_space = true, + flags = { "placeable-neutral", "player-creation" }, + minable = { hardness = 0.2, mining_time = 1, result = "bi-solar-boiler" }, + max_health = 400, + corpse = "bi-solar-boiler-remnant", + vehicle_impact_sound = sounds.generic_impact, + mode = "output-to-separate-pipe", + resistances = { + { type = "fire", percent = 100 }, + { type = "explosion", percent = 30 }, + { type = "impact", percent = 30 } + }, + collision_box = { { -4.2, -4.2 }, { 4.2, 4.2 } }, + selection_box = { { -4.5, -4.5 }, { 4.5, 4.5 } }, + target_temperature = 235, + fluid_box = { + volume = 200, + base_level = -1, + pipe_covers = pipecoverspictures(), + pipe_connections = { + { flow_direction = "input-output", direction = defines.direction.east, position = { 4, 0 } }, + { flow_direction = "input-output", direction = defines.direction.west, position = { -4, 0 } } + }, + production_type = "input-output", + filter = "water" + }, + output_fluid_box = { + volume = 200, + base_level = 1, + pipe_covers = pipecoverspictures(), + pipe_connections = { + { flow_direction = "input-output", direction = defines.direction.south, position = { 0, 4 } }, + { flow_direction = "input-output", direction = defines.direction.north, position = { 0, -4 } } + }, + production_type = "output", + filter = "steam" + }, + energy_consumption = "1.799MW", + energy_source = { + type = "electric", + usage_priority = "primary-input", + emissions_per_minute = { pollution = -1 }, -- Negative value: pollution is absorbed! + }, + working_sound = { + sound = { filename = "__base__/sound/boiler.ogg", volume = 0.9 }, + max_sounds_per_type = 3 + }, + pictures = { + north = { + structure = { + layers = { + { + filename = ENTITYPATH_BIO .. "bio_solar_boiler/bio_Solar_Boiler.png", + priority = "high", + width = 576, + height = 576, + scale = 0.5 + }, + { + filename = ENTITYPATH_BIO .. "bio_solar_boiler/bio_Solar_Boiler_shadow.png", + priority = "high", + width = 576, + height = 576, + scale = 0.5, + draw_as_shadow = true + } + } + }, + fire_glow = { + filename = ENTITYPATH_BIO .. "bio_solar_boiler/bio_Solar_Boiler_light.png", + priority = "extra-high", + frame_count = 1, + width = 576, + height = 576, + scale = 0.5, + blend_mode = "additive" + } + }, + + east = { + structure = { + layers = { + { + filename = ENTITYPATH_BIO .. "bio_solar_boiler/bio_Solar_Boiler.png", + priority = "high", + width = 576, + height = 576, + scale = 0.5 + }, + { + filename = ENTITYPATH_BIO .. "bio_solar_boiler/bio_Solar_Boiler_shadow.png", + priority = "high", + width = 576, + height = 576, + scale = 0.5, + draw_as_shadow = true + } + } + }, + fire_glow = { + filename = ENTITYPATH_BIO .. "bio_solar_boiler/bio_Solar_Boiler_light.png", + priority = "extra-high", + frame_count = 1, + width = 576, + height = 576, + scale = 0.5, + blend_mode = "additive" + } + }, + + south = { + structure = { + layers = { + { + filename = ENTITYPATH_BIO .. "bio_solar_boiler/bio_Solar_Boiler.png", + priority = "high", + width = 576, + height = 576, + scale = 0.5 + }, + { + filename = ENTITYPATH_BIO .. "bio_solar_boiler/bio_Solar_Boiler_shadow.png", + priority = "high", + width = 576, + height = 576, + scale = 0.5, + draw_as_shadow = true + } + } + }, + fire_glow = { + filename = ENTITYPATH_BIO .. "bio_solar_boiler/bio_Solar_Boiler_light.png", + priority = "extra-high", + frame_count = 1, + width = 576, + height = 576, + scale = 0.5, + blend_mode = "additive" + } + }, + + west = { + structure = { + layers = { + { + filename = ENTITYPATH_BIO .. "bio_solar_boiler/bio_Solar_Boiler.png", + priority = "high", + width = 576, + height = 576, + scale = 0.5 + }, + { + filename = ENTITYPATH_BIO .. "bio_solar_boiler/bio_Solar_Boiler_shadow.png", + priority = "high", + width = 576, + height = 576, + scale = 0.5, + draw_as_shadow = true + } + } + }, + fire_glow = { + filename = ENTITYPATH_BIO .. "bio_solar_boiler/bio_Solar_Boiler_light.png", + priority = "extra-high", + frame_count = 1, + width = 576, + height = 576, + scale = 0.5, + blend_mode = "additive" + } + } + }, + + fire_flicker_enabled = false, + fire_glow_flicker_enabled = false, + burning_cooldown = 20 + }, + + { + type = "corpse", + name = "bi-solar-boiler-remnant", + localised_name = {"entity-name.bi-solar-boiler-remnant"}, + icon = "__base__/graphics/icons/remnants.png", + icon_size = 64, + icon_mipmaps = 4, + BI_add_icon = true, + flags = {"placeable-neutral", "building-direction-8-way", "not-on-map"}, + subgroup = "remnants", + order = "z-z-z", + selection_box = {{-4.5, -4.5}, {4.5, 4.5}}, + tile_width = 9, + tile_height = 9, + selectable_in_game = false, + time_before_removed = 60 * 60 * 15, -- 15 minutes + final_render_layer = "remnants", + remove_on_tile_placement = false, + animation = + { + { + filename = REMNANTSPATH .. "bio_solar_boiler_remnant.png", + line_length = 1, + width = 576, + height = 576, + frame_count = 1, + direction_count = 1, + shift = {0,0}, + scale = 0.5 + } + } + }, + + + }) +end diff --git a/Bio_Industries_2/prototypes/Bio_Solar_Farm/item.lua b/Bio_Industries_2/prototypes/Bio_Solar_Farm/item.lua index f51c161..d9a5431 100644 --- a/Bio_Industries_2/prototypes/Bio_Solar_Farm/item.lua +++ b/Bio_Industries_2/prototypes/Bio_Solar_Farm/item.lua @@ -1,114 +1,115 @@ -local BioInd = require('common')('Bio_Industries_2') - -local ICONPATH = BioInd.modRoot .. "/graphics/icons/" - -if BI.Settings.BI_Solar_Additions then - - data:extend({ - -- Solar Farm - { - type = "item", - name = "bi-bio-solar-farm", - localised_name = {"entity-name.bi-bio-solar-farm"}, - localised_description = {"entity-description.bi-bio-solar-farm"}, - icon = ICONPATH .. "Bio_Solar_Farm_Icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "Bio_Solar_Farm_Icon.png", - icon_size = 64, - } - }, - subgroup = "energy", - order = "d[solar-panel]-a[solar-panel]-a[bi-bio-solar-farm]", - place_result = "bi-bio-solar-farm", - stack_size = 10, - }, - - --- Solar Mat - { - type = "item", - name = "bi-solar-mat", - localised_name = {"entity-name.bi-solar-mat"}, - localised_description = {"entity-description.bi-solar-mat"}, - icon = ICONPATH .. "solar-mat.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "solar-mat.png", - icon_size = 64, - } - }, - subgroup = "energy", - order = "d[solar-panel]-aa[solar-panel-1-a]", - stack_size = 400, - place_as_tile = { - result = "bi-solar-mat", - condition_size = 4, - condition = { layers = { water_tile = true }} - } - }, - - - --- BI Accumulator - { - type = "item", - name = "bi-bio-accumulator", - localised_name = {"entity-name.bi-bio-accumulator"}, - localised_description = {"entity-description.bi-bio-accumulator"}, - icon = ICONPATH .. "bi_LargeAccumulator.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bi_LargeAccumulator.png", - icon_size = 64, - } - }, - subgroup = "energy", - order = "e[accumulator]-a[bi-accumulator]", - place_result = "bi-bio-accumulator", - stack_size = 5 - }, - - - --- Large Substation - { - type = "item", - name = "bi-large-substation", - localised_name = {"entity-name.bi-large-substation"}, - localised_description = {"entity-description.bi-large-substation"}, - icon = ICONPATH .. "bi_LargeSubstation_icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bi_LargeSubstation_icon.png", - icon_size = 64, - } - }, - subgroup = "energy-pipe-distribution", - order = "a[energy]-d[substation]-b[large-substation]", - place_result = "bi-large-substation", - stack_size = 10 - }, - - ----- Solar Boiler - Boiler - { - type = "item", - name = "bi-solar-boiler", - localised_name = {"entity-name.bi-solar-boiler"}, - localised_description = {"entity-description.bi-solar-boiler"}, - icon = ICONPATH .. "Bio_Solar_Boiler_Icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "Bio_Solar_Boiler_Icon.png", - icon_size = 64, - } - }, - subgroup = "energy", - order = "b[steam-power]-c[steam-engine]", - place_result = "bi-solar-boiler", - stack_size = 20, - }, - }) -end +local BioInd = require('common')('Bio_Industries_2') + +local ICONPATH = BioInd.modRoot .. "/graphics/icons/" +local ICONPATH_E = BioInd.modRoot .. "/graphics/icons/entity/" + +if BI.Settings.BI_Solar_Additions then + + data:extend({ + -- Solar Farm + { + type = "item", + name = "bi-bio-solar-farm", + localised_name = {"entity-name.bi-bio-solar-farm"}, + localised_description = {"entity-description.bi-bio-solar-farm"}, + icon = ICONPATH_E .. "bio_Solar_Farm_Icon.png", + icon_size = 64, + icons = { + { + icon = ICONPATH_E .. "bio_Solar_Farm_Icon.png", + icon_size = 64, + } + }, + subgroup = "energy", + order = "d[solar-panel]-a[solar-panel]-a[bi-bio-solar-farm]", + place_result = "bi-bio-solar-farm", + stack_size = 10, + }, + + --- Solar Mat + { + type = "item", + name = "bi-solar-mat", + localised_name = {"entity-name.bi-solar-mat"}, + localised_description = {"entity-description.bi-solar-mat"}, + icon = ICONPATH_E .. "solar-mat.png", + icon_size = 64, + icons = { + { + icon = ICONPATH_E .. "solar-mat.png", + icon_size = 64, + } + }, + subgroup = "energy", + order = "d[solar-panel]-aa[solar-panel-1-a]", + stack_size = 400, + place_as_tile = { + result = "bi-solar-mat", + condition_size = 4, + condition = { layers = { water_tile = true }} + } + }, + + + --- BI Accumulator + { + type = "item", + name = "bi-bio-accumulator", + localised_name = {"entity-name.bi-bio-accumulator"}, + localised_description = {"entity-description.bi-bio-accumulator"}, + icon = ICONPATH_E .. "bi_LargeAccumulator.png", + icon_size = 64, + icons = { + { + icon = ICONPATH_E .. "bi_LargeAccumulator.png", + icon_size = 64, + } + }, + subgroup = "energy", + order = "e[accumulator]-a[bi-accumulator]", + place_result = "bi-bio-accumulator", + stack_size = 5 + }, + + + --- Large Substation + { + type = "item", + name = "bi-large-substation", + localised_name = {"entity-name.bi-large-substation"}, + localised_description = {"entity-description.bi-large-substation"}, + icon = ICONPATH_E .. "bi_LargeSubstation_icon.png", + icon_size = 64, + icons = { + { + icon = ICONPATH_E .. "bi_LargeSubstation_icon.png", + icon_size = 64, + } + }, + subgroup = "energy-pipe-distribution", + order = "a[energy]-d[substation]-b[large-substation]", + place_result = "bi-large-substation", + stack_size = 10 + }, + + ----- Solar Boiler - Boiler + { + type = "item", + name = "bi-solar-boiler", + localised_name = {"entity-name.bi-solar-boiler"}, + localised_description = {"entity-description.bi-solar-boiler"}, + icon = ICONPATH_E .. "bio_Solar_Boiler_Icon.png", + icon_size = 64, + icons = { + { + icon = ICONPATH_E .. "bio_Solar_Boiler_Icon.png", + icon_size = 64, + } + }, + subgroup = "energy", + order = "b[steam-power]-c[steam-engine]", + place_result = "bi-solar-boiler", + stack_size = 20, + }, + }) +end diff --git a/Bio_Industries_2/prototypes/Bio_Solar_Farm/recipe.lua b/Bio_Industries_2/prototypes/Bio_Solar_Farm/recipe.lua index b7b6a3d..749a4ef 100644 --- a/Bio_Industries_2/prototypes/Bio_Solar_Farm/recipe.lua +++ b/Bio_Industries_2/prototypes/Bio_Solar_Farm/recipe.lua @@ -1,158 +1,124 @@ -local BioInd = require('common')('Bio_Industries_2') - -local ICONPATH = BioInd.modRoot .. "/graphics/icons/" - -if BI.Settings.BI_Solar_Additions then - - data:extend({ - - --- Bio Solar Farm - { - type = "recipe", - name = "bi-bio-solar-farm", - localised_name = {"entity-name.bi-bio-solar-farm"}, - localised_description = {"entity-description.bi-bio-solar-farm"}, - icon = ICONPATH .. "Bio_Solar_Farm_Icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "Bio_Solar_Farm_Icon.png", - icon_size = 64, - } - }, - enabled = false, - energy_required = 60, - ingredients = { - {type="item", name="solar-panel", amount=50}, - {type="item", name="medium-electric-pole", amount=25}, - {type="item", name="concrete", amount=400}, - }, - results = {{type="item", name="bi-bio-solar-farm", amount=1}}, - main_product = "", - subgroup = "energy", - order = "d[solar-panel]-a[solar-panel]-a[bi-bio-solar-farm]", - allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 - always_show_made_in = false, -- Changed for 0.18.34/1.1.4 - allow_decomposition = true, -- Changed for 0.18.34/1.1.4 - }, - - -- solar boiler - { - type = "recipe", - name = "bi-solar-boiler-hidden-panel", - localised_name = {"entity-name.bi-solar-boiler"}, - localised_description = {"entity-description.bi-solar-boiler"}, - icon = ICONPATH .. "Bio_Solar_Boiler_Icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "Bio_Solar_Boiler_Icon.png", - icon_size = 64, - } - }, - enabled = false, - energy_required = 15, - ingredients = { - {type="item", name="solar-panel", amount=30}, - {type="item", name="storage-tank", amount=4}, - {type="item", name="boiler", amount=1}, - }, - results = {{type="item", name="bi-solar-boiler", amount=1}}, - main_product = "", - subgroup = "energy", - order = "b[steam-power]-c[steam-engine]", - allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 - always_show_made_in = false, -- Changed for 0.18.34/1.1.4 - allow_decomposition = true, -- Changed for 0.18.34/1.1.4 - }, - - -- solar mat - { - type = "recipe", - name = "bi-solar-mat", - localised_name = {"entity-name.bi-solar-mat"}, - localised_description = {"entity-description.bi-solar-mat"}, - icon = ICONPATH .. "solar-mat.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "solar-mat.png", - icon_size = 64, - } - }, - enabled = false, - energy_required = 5, - ingredients = { - {type="item", name="steel-plate", amount=1}, - {type="item", name="advanced-circuit", amount=3}, - {type="item", name="copper-cable", amount=4} - }, - results = {{type="item", name="bi-solar-mat", amount=1}}, - main_product = "", - subgroup = "energy", - order = "d[solar-panel]-aa[solar-panel-1-a]", - allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 - always_show_made_in = false, -- Changed for 0.18.34/1.1.4 - allow_decomposition = true, -- Changed for 0.18.34/1.1.4 - }, - - --- BI Accumulator - { - type = "recipe", - name = "bi-bio-accumulator", - localised_name = {"entity-name.bi-bio-accumulator"}, - localised_description = {"entity-description.bi-bio-accumulator"}, - icon = ICONPATH .. "bi_LargeAccumulator.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bi_LargeAccumulator.png", - icon_size = 64, - } - }, - energy_required = 60, - enabled = false, - ingredients = { - {type="item", name="accumulator", amount=50}, - {type="item", name="copper-cable", amount=50}, - {type="item", name="concrete", amount=200}, - }, - results = {{type="item", name="bi-bio-accumulator", amount=1}}, - main_product = "", - subgroup = "energy", - order = "e[accumulator]-a[bi-accumulator]", - allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 - always_show_made_in = false, -- Changed for 0.18.34/1.1.4 - allow_decomposition = true, -- Changed for 0.18.34/1.1.4 - }, - - -- Large Substation - { - type = "recipe", - name = "bi-large-substation", - localised_name = {"entity-name.bi-large-substation"}, - localised_description = {"entity-description.bi-large-substation"}, - icon = ICONPATH .. "bi_LargeSubstation_icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bi_LargeSubstation_icon.png", - icon_size = 64, - } - }, - enabled = false, - ingredients = { - {type="item", name="steel-plate", amount=10}, - {type="item", name="concrete", amount=200}, - {type="item", name="substation", amount=4} - }, - results = {{type="item", name="bi-large-substation", amount=1}}, - main_product = "", - subgroup = "energy-pipe-distribution", - order = "a[energy]-d[substation]-b[large-substation]", - allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 - always_show_made_in = false, -- Changed for 0.18.34/1.1.4 - allow_decomposition = true, -- Changed for 0.18.34/1.1.4 - }, - }) -end +local BioInd = require('common')('Bio_Industries_2') + +local ICONPATH = BioInd.modRoot .. "/graphics/icons/" +local ICONPATH_E = BioInd.modRoot .. "/graphics/icons/entity/" + +if BI.Settings.BI_Solar_Additions then + + data:extend({ + + --- Bio Solar Farm + { + type = "recipe", + name = "bi-bio-solar-farm", + localised_name = {"entity-name.bi-bio-solar-farm"}, + localised_description = {"entity-description.bi-bio-solar-farm"}, + icons = { {icon = ICONPATH_E .. "bio_Solar_Farm_Icon.png", icon_size = 64, } }, + enabled = false, + energy_required = 60, + ingredients = { + {type="item", name="solar-panel", amount=50}, + {type="item", name="medium-electric-pole", amount=25}, + {type="item", name="concrete", amount=400}, + }, + results = {{type="item", name="bi-bio-solar-farm", amount=1}}, + main_product = "", + subgroup = "energy", + order = "d[solar-panel]-a[solar-panel]-a[bi-bio-solar-farm]", + allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 + always_show_made_in = false, -- Changed for 0.18.34/1.1.4 + allow_decomposition = true, -- Changed for 0.18.34/1.1.4 + }, + + -- solar boiler + { + type = "recipe", + name = "bi-solar-boiler-hidden-panel", + localised_name = {"entity-name.bi-solar-boiler"}, + localised_description = {"entity-description.bi-solar-boiler"}, + icons = { {icon = ICONPATH_E .. "bio_Solar_Boiler_Icon.png", icon_size = 64, } }, + enabled = false, + energy_required = 15, + ingredients = { + {type="item", name="solar-panel", amount=30}, + {type="item", name="storage-tank", amount=4}, + {type="item", name="boiler", amount=1}, + }, + results = {{type="item", name="bi-solar-boiler", amount=1}}, + main_product = "", + subgroup = "energy", + order = "b[steam-power]-c[steam-engine]", + allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 + always_show_made_in = false, -- Changed for 0.18.34/1.1.4 + allow_decomposition = true, -- Changed for 0.18.34/1.1.4 + }, + + -- solar mat + { + type = "recipe", + name = "bi-solar-mat", + localised_name = {"entity-name.bi-solar-mat"}, + localised_description = {"entity-description.bi-solar-mat"}, + icons = { {icon = ICONPATH_E .. "solar-mat.png", icon_size = 64, } }, + enabled = false, + energy_required = 5, + ingredients = { + {type="item", name="steel-plate", amount=1}, + {type="item", name="advanced-circuit", amount=3}, + {type="item", name="copper-cable", amount=4} + }, + results = {{type="item", name="bi-solar-mat", amount=1}}, + main_product = "", + subgroup = "energy", + order = "d[solar-panel]-aa[solar-panel-1-a]", + allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 + always_show_made_in = false, -- Changed for 0.18.34/1.1.4 + allow_decomposition = true, -- Changed for 0.18.34/1.1.4 + }, + + --- BI Accumulator + { + type = "recipe", + name = "bi-bio-accumulator", + localised_name = {"entity-name.bi-bio-accumulator"}, + localised_description = {"entity-description.bi-bio-accumulator"}, + icons = { {icon = ICONPATH_E .. "bi_LargeAccumulator.png", icon_size = 64, } }, + energy_required = 60, + enabled = false, + ingredients = { + {type="item", name="accumulator", amount=50}, + {type="item", name="copper-cable", amount=50}, + {type="item", name="concrete", amount=200}, + }, + results = {{type="item", name="bi-bio-accumulator", amount=1}}, + main_product = "", + subgroup = "energy", + order = "e[accumulator]-a[bi-accumulator]", + allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 + always_show_made_in = false, -- Changed for 0.18.34/1.1.4 + allow_decomposition = true, -- Changed for 0.18.34/1.1.4 + }, + + -- Large Substation + { + type = "recipe", + name = "bi-large-substation", + localised_name = {"entity-name.bi-large-substation"}, + localised_description = {"entity-description.bi-large-substation"}, + icons = { {icon = ICONPATH_E .. "bi_LargeSubstation_icon.png", icon_size = 64, } }, + enabled = false, + ingredients = { + {type="item", name="steel-plate", amount=10}, + {type="item", name="concrete", amount=200}, + {type="item", name="substation", amount=4} + }, + results = {{type="item", name="bi-large-substation", amount=1}}, + main_product = "", + subgroup = "energy-pipe-distribution", + order = "a[energy]-d[substation]-b[large-substation]", + allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 + always_show_made_in = false, -- Changed for 0.18.34/1.1.4 + allow_decomposition = true, -- Changed for 0.18.34/1.1.4 + }, + }) +end diff --git a/Bio_Industries_2/prototypes/Bio_Solar_Farm/tmp_bio-farm-panel.lua b/Bio_Industries_2/prototypes/Bio_Solar_Farm/tmp_bio-farm-panel.lua deleted file mode 100644 index e479dc4..0000000 --- a/Bio_Industries_2/prototypes/Bio_Solar_Farm/tmp_bio-farm-panel.lua +++ /dev/null @@ -1,36 +0,0 @@ - ------- Bio Farm Solar Panel - { - type = "solar-panel", - name = "bi-bio-solar-farm", - icon = ICONPATH .. "Bio_Solar_Farm_Icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "Bio_Solar_Farm_Icon.png", - icon_size = 64, - } - }, - flags = {"placeable-neutral", "player-creation"}, - minable = {hardness = 0.25, mining_time = 0.5, result = "bi-bio-solar-farm"}, - max_health = 600, - corpse = "big-remnants", - dying_explosion = "medium-explosion", - resistances = {{type = "fire", percent = 80}}, - collision_box = {{-4.2, -4.2}, {4.2, 4.2}}, - selection_box = {{-4.5, -4.5}, {4.5, 4.5}}, - energy_source = { - type = "electric", - usage_priority = "solar" - }, - picture = { - filename = ENTITYPATH .. "Bio_Solar_Farm_On.png", - priority = "low", - width = 312, - height = 289, - frame_count = 1, - direction_count = 1, - --scale = 3/2, - shift = {0.30, 0} - }, - production = "3600kW" - }, diff --git a/Bio_Industries_2/prototypes/Bio_Solar_Farm/tmp_solar-mat-panel.lua b/Bio_Industries_2/prototypes/Bio_Solar_Farm/tmp_solar-mat-panel.lua deleted file mode 100644 index 17b2837..0000000 --- a/Bio_Industries_2/prototypes/Bio_Solar_Farm/tmp_solar-mat-panel.lua +++ /dev/null @@ -1,31 +0,0 @@ - ------- Hidden Solar Panel for Solar Mat - { - type = "solar-panel", - name = "bi-musk-mat-hidden-panel", - icon = ICONPATH .. "solar-mat.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "solar-mat.png", - icon_size = 64, - } - }, - flags = {"not-blueprintable", "not-deconstructable", "placeable-off-grid", "not-on-map", "not-repairable"}, - selectable_in_game = false, - max_health = 1, - resistances = {{type = "fire", percent = 100}}, - collision_mask = { layers = { ground_tile = true }}, - collision_box = {{-0.0, -0.0}, {0.0, 0.0}}, - selection_box = {{0, 0}, {0, 0}}, - energy_source = { - type = "electric", - usage_priority = "solar" - }, - picture = { - filename = ICONPATH .. "empty.png", - priority = "low", - width = 1, - height = 1, - }, - production = "10kW" - }, diff --git a/Bio_Industries_2/prototypes/Bio_Turret/damage-type.lua b/Bio_Industries_2/prototypes/Bio_Turret/damage-type.lua index 1f66075..8a5a7a5 100644 --- a/Bio_Industries_2/prototypes/Bio_Turret/damage-type.lua +++ b/Bio_Industries_2/prototypes/Bio_Turret/damage-type.lua @@ -1,10 +1,10 @@ -data:extend({ - ---- Damage for Dart Turret Ammo - - { - type = "damage-type", - name = "bob-pierce" - }, - -}) +data:extend({ + +--- Damage for Dart Turret Ammo + + { + type = "damage-type", + name = "bob-pierce" + }, + +}) diff --git a/Bio_Industries_2/prototypes/Bio_Turret/entity.lua b/Bio_Industries_2/prototypes/Bio_Turret/entity.lua index 377f99a..1a247d3 100644 --- a/Bio_Industries_2/prototypes/Bio_Turret/entity.lua +++ b/Bio_Industries_2/prototypes/Bio_Turret/entity.lua @@ -1,323 +1,304 @@ -local BioInd = require('common')('Bio_Industries_2') - -local ICONPATH = BioInd.modRoot .. "/graphics/icons/" - -data:extend({ - --- Basic Dart - { - type = "ammo", - name = "bi-dart-magazine-basic", - icon = ICONPATH .. "basic_dart_icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "basic_dart_icon.png", - icon_size = 64, - } - }, - ammo_category = "bullet", - ammo_type = { - category = "Bio_Turret_Ammo", - action = { - type = "direct", - action_delivery = { - type = "instant", - source_effects = { - type = "create-explosion", - entity_name = "explosion-gunshot", - }, - target_effects = { - { - type = "create-entity", - entity_name = "explosion-hit" - }, - { - type = "damage", - damage = { amount = 3 , type = "physical"} - }, - } - } - } - }, - magazine_size = 10, - subgroup = "ammo", - order = "[aaa]-a[basic-clips]-aa[firearm-magazine]", - stack_size = 400 - }, - - --- Standard Dart - { - type = "ammo", - name = "bi-dart-magazine-standard", - icon = ICONPATH .. "standard_dart_icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "standard_dart_icon.png", - icon_size = 64, - } - }, - ammo_category = "bullet", - ammo_type = { - category = "Bio_Turret_Ammo", - action = { - type = "direct", - action_delivery = { - type = "instant", - source_effects = { - type = "create-explosion", - entity_name = "explosion-gunshot", - }, - target_effects = { - { - type = "create-entity", - entity_name = "explosion-hit" - }, - { - type = "damage", - damage = { amount = 3 , type = "physical"} - }, - { - type = "damage", - damage = { amount = 2 , type = "bob-pierce"} - }, - } - } - } - }, - magazine_size = 10, - subgroup = "ammo", - order = "[aab]-a[basic-clips]-ab[firearm-magazine]", - stack_size = 400 - }, - - - --- Enhanced Dart - { - type = "ammo", - name = "bi-dart-magazine-enhanced", - icon = ICONPATH .. "enhanced_dart_icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "enhanced_dart_icon.png", - icon_size = 64, - } - }, - ammo_category = "bullet", - ammo_type = { - category = "Bio_Turret_Ammo", - action = { - type = "direct", - action_delivery = { - type = "instant", - source_effects = { - type = "create-explosion", - entity_name = "explosion-gunshot", - }, - target_effects = { - { - type = "create-entity", - entity_name = "explosion-hit" - }, - { - type = "damage", - damage = { amount = 3 , type = "physical"} - }, - { - type = "damage", - damage = { amount = 2 , type = "bob-pierce"} - }, - { - type = "damage", - damage = { amount = 2 , type = "acid"} - }, - } - } - } - }, - magazine_size = 10, - subgroup = "ammo", - order = "[aac]-a[basic-clips]-ac[firearm-magazine]", - stack_size = 400 - }, - - - --- Poison Dart - { - type = "ammo", - name = "bi-dart-magazine-poison", - icon = ICONPATH .. "poison_dart_icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "poison_dart_icon.png", - icon_size = 64, - } - }, - ammo_category = "bullet", - ammo_type = { - category = "Bio_Turret_Ammo", - action = { - type = "direct", - action_delivery = { - type = "instant", - source_effects = { - type = "create-explosion", - entity_name = "explosion-gunshot", - }, - target_effects = { - { - type = "create-entity", - entity_name = "explosion-hit" - }, - { - type = "damage", - damage = { amount = 3 , type = "physical"} - }, - { - type = "damage", - damage = { amount = 2 , type = "bob-pierce"} - }, - { - type = "damage", - damage = { amount = 2 , type = "acid"} - }, - { - type = "damage", - damage = { amount = 2 , type = "poison"} - }, - } - } - } - }, - magazine_size = 10, - subgroup = "ammo", - order = "[aad]-a[basic-clips]-ad[firearm-magazine]", - stack_size = 400 - }, - -}) - - - - -function turret_pic(inputs) -return -{ - layers = { - { - filename = "__Bio_Industries_2__/graphics/entities/bio_turret/bio_turret.png", - priority = "medium", - scale = 0.5, - width = 224, - height = 160, - direction_count = inputs.direction_count and inputs.direction_count or 64, - frame_count = 1, - line_length = inputs.line_length and inputs.line_length or 8, - axially_symmetrical = false, - run_mode = inputs.run_mode and inputs.run_mode or "forward", - shift = { 0.25, -0.25 }, - } - } -} -end - - ---- Dart Turret -data:extend({ - { - type = "ammo-turret", - name = "bi-dart-turret", - icon = ICONPATH .. "bio_turret_icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bio_turret_icon.png", - icon_size = 64, - } - }, - flags = {"placeable-player", "player-creation"}, - minable = {mining_time = 0.25, result = "bi-dart-turret"}, - max_health = 300, - corpse = "medium-remnants", - collision_box = {{-0.2, -0.2 }, {0.2, 0.2}}, - selection_box = {{-0.4, -0.4 }, {0.4, 0.4}}, - rotation_speed = 0.05, - preparing_speed = 0.08, - folding_speed = 0.08, - dying_explosion = "medium-explosion", - inventory_size = 1, - automated_ammo_count = 14, - attacking_speed = 1, -- makes nothing, it's animation's parameter - - folded_animation = turret_pic{direction_count = 8, line_length = 1}, - preparing_animation = turret_pic{direction_count = 8, line_length = 1}, - prepared_animation = turret_pic{}, - attacking_animation = turret_pic{}, - folding_animation = turret_pic{direction_count = 8, line_length = 1, run_mode = "backward"}, - - -- darkfrei: wood impact sound for woods! - impact_category = "wood", - attack_parameters = { - type = "projectile", - ammo_category = "Bio_Turret_Ammo", - cooldown = 3.6, -- cooldown = 6 -- darkfrei: means cooldown 6/60 sec or 10 shoots at second; = 60 is one shoot/sec - projectile_creation_distance = 1.41, - projectile_center = {-0.0625, 0.55}, - -- darkfrei: darts haven't shells :) ---[[ shell_particle = { - name = "shell-particle", - direction_deviation = 0.1, - speed = 0.15, - speed_deviation = 0.03, - center = {-0.0625, 0}, - creation_distance = -1.925, - starting_frame_speed = 0.2, - starting_frame_speed_deviation = 0.1 - }, ]] - range = 20, - sound = { - filename = "__Bio_Industries_2__/sound/dart-turret.ogg", - volume = 0.85 - }, - }, - call_for_help_radius = 40, - graphics_set = {} - }, - - -}) - - ---- Dart Rifle -data:extend({ - { - type = "gun", - name = "bi-dart-rifle", - icon = ICONPATH .. "bi_dart_rifle_icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bi_dart_rifle_icon.png", - icon_size = 64, - } - }, - subgroup = "gun", - order = "a[basic-clips]-ab[submachine-gun]", - attack_parameters = { - type = "projectile", - ammo_category = "Bio_Turret_Ammo", - cooldown = 5, - movement_slow_down_factor = 0.5, - --shell_particle = {}, - projectile_creation_distance = 1.125, - range = 17, - sound = { - filename = "__Bio_Industries_2__/sound/dart-turret.ogg", - volume = 0.65 - }, - }, - stack_size = 5 - }, -}) +local BioInd = require('common')('Bio_Industries_2') +local ICONPATH = BioInd.modRoot .. "/graphics/icons/" +local ICONPATH_W = BioInd.modRoot .. "/graphics/icons/weapons/" +local ENTITYPATH_BIO = "__Bio_Industries_2__/graphics/entities/" +local REMNANTSPATH = BioInd.modRoot .. "/graphics/entities/remnants/" + +data:extend({ + --- Basic Dart + { + type = "ammo", + name = "bi-dart-magazine-basic", + icons = { { icon = ICONPATH_W .. "basic_dart_icon.png", icon_size = 64, } }, + ammo_category = "Bio_Turret_Ammo", + ammo_type = { + category = "Bio_Turret_Ammo", + action = { + type = "direct", + action_delivery = { + type = "instant", + source_effects = { + type = "create-explosion", + entity_name = "explosion-gunshot", + }, + target_effects = { + { + type = "create-entity", + entity_name = "explosion-hit" + }, + { + type = "damage", + damage = { amount = 3 , type = "physical"} + }, + } + } + } + }, + magazine_size = 10, + subgroup = "ammo", + order = "[aaa]-a[basic-clips]-aa[firearm-magazine]", + stack_size = 400 + }, + + --- Standard Dart + { + type = "ammo", + name = "bi-dart-magazine-standard", + icons = { { icon = ICONPATH_W .. "standard_dart_icon.png", icon_size = 64, } }, + ammo_category = "Bio_Turret_Ammo", + ammo_type = { + category = "Bio_Turret_Ammo", + action = { + type = "direct", + action_delivery = { + type = "instant", + source_effects = { + type = "create-explosion", + entity_name = "explosion-gunshot", + }, + target_effects = { + { + type = "create-entity", + entity_name = "explosion-hit" + }, + { + type = "damage", + damage = { amount = 3 , type = "physical"} + }, + { + type = "damage", + damage = { amount = 2 , type = "bob-pierce"} + }, + } + } + } + }, + magazine_size = 10, + subgroup = "ammo", + order = "[aab]-a[basic-clips]-ab[firearm-magazine]", + stack_size = 400 + }, + + + --- Enhanced Dart + { + type = "ammo", + name = "bi-dart-magazine-enhanced", + icons = { { icon = ICONPATH_W .. "enhanced_dart_icon.png", icon_size = 64, } }, + ammo_category = "Bio_Turret_Ammo", + ammo_type = { + category = "Bio_Turret_Ammo", + action = { + type = "direct", + action_delivery = { + type = "instant", + source_effects = { + type = "create-explosion", + entity_name = "explosion-gunshot", + }, + target_effects = { + { + type = "create-entity", + entity_name = "explosion-hit" + }, + { + type = "damage", + damage = { amount = 3 , type = "physical"} + }, + { + type = "damage", + damage = { amount = 2 , type = "bob-pierce"} + }, + { + type = "damage", + damage = { amount = 2 , type = "acid"} + }, + } + } + } + }, + magazine_size = 10, + subgroup = "ammo", + order = "[aac]-a[basic-clips]-ac[firearm-magazine]", + stack_size = 400 + }, + + + --- Poison Dart + { + type = "ammo", + name = "bi-dart-magazine-poison", + icons = { { icon = ICONPATH_W .. "poison_dart_icon.png", icon_size = 64, } }, + ammo_category = "Bio_Turret_Ammo", + ammo_type = { + category = "Bio_Turret_Ammo", + action = { + type = "direct", + action_delivery = { + type = "instant", + source_effects = { + type = "create-explosion", + entity_name = "explosion-gunshot", + }, + target_effects = { + { + type = "create-entity", + entity_name = "explosion-hit" + }, + { + type = "damage", + damage = { amount = 3 , type = "physical"} + }, + { + type = "damage", + damage = { amount = 2 , type = "bob-pierce"} + }, + { + type = "damage", + damage = { amount = 2 , type = "acid"} + }, + { + type = "damage", + damage = { amount = 2 , type = "poison"} + }, + } + } + } + }, + magazine_size = 10, + subgroup = "ammo", + order = "[aad]-a[basic-clips]-ad[firearm-magazine]", + stack_size = 400 + }, + +}) + + + + +function turret_pic(inputs) +return +{ + layers = { + { + filename = ENTITYPATH_BIO .. "bio_turret/bio_turret.png", + priority = "medium", + scale = 0.5, + width = 224, + height = 160, + direction_count = inputs.direction_count and inputs.direction_count or 64, + frame_count = 1, + line_length = inputs.line_length and inputs.line_length or 8, + axially_symmetrical = false, + run_mode = inputs.run_mode and inputs.run_mode or "forward", + shift = { 0.25, -0.25 }, + } + } +} +end + + +--- Dart Turret +data:extend({ + { + type = "ammo-turret", + name = "bi-dart-turret", + icons = { { icon = ICONPATH_W .. "bio_turret_icon.png", icon_size = 64, } }, + flags = {"placeable-player", "player-creation"}, + minable = {mining_time = 0.25, result = "bi-dart-turret"}, + max_health = 300, + corpse = "bi-dart-turret-remnant", + collision_box = {{-0.2, -0.2 }, {0.2, 0.2}}, + selection_box = {{-0.4, -0.4 }, {0.4, 0.4}}, + rotation_speed = 0.05, + preparing_speed = 0.08, + folding_speed = 0.08, + dying_explosion = "medium-explosion", + inventory_size = 1, + automated_ammo_count = 14, + attacking_speed = 1, -- makes nothing, it's animation's parameter + folded_animation = turret_pic{direction_count = 8, line_length = 1}, + preparing_animation = turret_pic{direction_count = 8, line_length = 1}, + prepared_animation = turret_pic{}, + attacking_animation = turret_pic{}, + folding_animation = turret_pic{direction_count = 8, line_length = 1, run_mode = "backward"}, + -- darkfrei: wood impact sound for woods! + impact_category = "wood", + attack_parameters = { + type = "projectile", + ammo_category = "Bio_Turret_Ammo", + cooldown = 3.6, -- cooldown = 6 -- darkfrei: means cooldown 6/60 sec or 10 shoots at second; = 60 is one shoot/sec + projectile_creation_distance = 1.41, + projectile_center = {-0.0625, 0.55}, + range = 20, + sound = { + filename = "__Bio_Industries_2__/sound/dart-turret.ogg", + volume = 0.85 + }, + }, + call_for_help_radius = 40, + graphics_set = {} + }, + + ---- corpse + + { + type = "corpse", + name = "bi-dart-turret-remnant", + localised_name = {"entity-name.bi-dart-turret-remnant"}, + icon = "__base__/graphics/icons/remnants.png", + icon_size = 64, + icon_mipmaps = 4, + BI_add_icon = true, + flags = {"placeable-neutral", "building-direction-8-way", "not-on-map"}, + subgroup = "remnants", + order = "z-z-z", + selection_box = {{-0.5, -0.5 }, {0.5, 0.5}}, + tile_width = 1, + tile_height = 1, + selectable_in_game = false, + time_before_removed = 60 * 60 * 15, -- 15 minutes + final_render_layer = "remnants", + remove_on_tile_placement = false, + animation = + { + { + filename = REMNANTSPATH .. "bio_turret_remnant.png", + line_length = 1, + width = 224, + height = 160, + frame_count = 1, + direction_count = 1, + shift = {0.25, -0.25}, + scale = 0.5, + } + } + }, + +}) + + +--- Dart Rifle +data:extend({ + { + type = "gun", + name = "bi-dart-rifle", + icons = { { icon = ICONPATH_W .. "bi_dart_rifle_icon.png", icon_size = 64, } }, + subgroup = "gun", + order = "a[basic-clips]-ab[submachine-gun]", + attack_parameters = { + type = "projectile", + ammo_category = "Bio_Turret_Ammo", + cooldown = 5, + movement_slow_down_factor = 0.5, + --shell_particle = {}, + projectile_creation_distance = 1.125, + range = 17, + sound = { + filename = "__Bio_Industries_2__/sound/dart-turret.ogg", + volume = 0.65 + }, + }, + stack_size = 5 + }, +}) diff --git a/Bio_Industries_2/prototypes/Bio_Turret/item-group.lua b/Bio_Industries_2/prototypes/Bio_Turret/item-group.lua index 3f7cd31..1ad79ff 100644 --- a/Bio_Industries_2/prototypes/Bio_Turret/item-group.lua +++ b/Bio_Industries_2/prototypes/Bio_Turret/item-group.lua @@ -1,9 +1,9 @@ - - -data:extend({ - { - type = "ammo-category", - name = "Bio_Turret_Ammo", - order = "1" - }, -}) + + +data:extend({ + { + type = "ammo-category", + name = "Bio_Turret_Ammo", + order = "1" + }, +}) diff --git a/Bio_Industries_2/prototypes/Bio_Turret/item.lua b/Bio_Industries_2/prototypes/Bio_Turret/item.lua index c40c89b..17a2c2d 100644 --- a/Bio_Industries_2/prototypes/Bio_Turret/item.lua +++ b/Bio_Industries_2/prototypes/Bio_Turret/item.lua @@ -1,24 +1,18 @@ -local BioInd = require('common')('Bio_Industries_2') - -local ICONPATH = BioInd.modRoot .. "/graphics/icons/" - -data:extend({ - - --- Conversion Turret - { - type = "item", - name = "bi-dart-turret", - icon = ICONPATH .. "bio_turret_icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bio_turret_icon.png", - icon_size = 64, - } - }, - subgroup = "defensive-structure", - order = "aa[turret]-a[gun-turret]", - place_result = "bi-dart-turret", - stack_size = 50 - }, -}) +local BioInd = require('common')('Bio_Industries_2') + +local ICONPATH = BioInd.modRoot .. "/graphics/icons/" +local ICONPATH_W = BioInd.modRoot .. "/graphics/icons/weapons/" + +data:extend({ + + --- Dart Turret + { + type = "item", + name = "bi-dart-turret", + icons = { {icon = ICONPATH_W .. "bio_turret_icon.png", icon_size = 64, } }, + subgroup = "defensive-structure", + order = "aa[turret]-a[gun-turret]", + place_result = "bi-dart-turret", + stack_size = 50 + }, +}) diff --git a/Bio_Industries_2/prototypes/Bio_Turret/recipe.lua b/Bio_Industries_2/prototypes/Bio_Turret/recipe.lua index 1e3b25a..4fa0c14 100644 --- a/Bio_Industries_2/prototypes/Bio_Turret/recipe.lua +++ b/Bio_Industries_2/prototypes/Bio_Turret/recipe.lua @@ -1,187 +1,148 @@ -local BioInd = require('common')('Bio_Industries_2') - -local ICONPATH = BioInd.modRoot .. "/graphics/icons/" - -data:extend({ - --- Basic Dart Ammo - { - type = "recipe", - name = "bi-dart-magazine-basic", - localised_name = {"item-name.bi-dart-magazine-basic"}, - localised_description = {"item-description.bi-dart-magazine-basic"}, - icon = ICONPATH .. "basic_dart_icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "basic_dart_icon.png", - icon_size = 64, - } - }, - enabled = true, - energy_required = 4, - ingredients = { - {type="item", name="wood", amount=10}, - }, - results = {{type="item", name="bi-dart-magazine-basic", amount=10}}, - main_product = "", - allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 - always_show_made_in = false, -- Added for 0.18.34/1.1.4 - allow_decomposition = true, -- Added for 0.18.34/1.1.4 - subgroup = "bi-ammo", - order = "[bio-ammo]-a-[darts]-1", - -- This is a custom property for use by "Krastorio 2" (it will change - -- ingredients/results; used for wood/wood pulp) - mod = "Bio_Industries_2", - }, - - --- Standard Dart Ammo - { - type = "recipe", - name = "bi-dart-magazine-standard", - localised_name = {"item-name.bi-dart-magazine-standard"}, - localised_description = {"item-description.bi-dart-magazine-standard"}, - icon = ICONPATH .. "standard_dart_icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "standard_dart_icon.png", - icon_size = 64, - } - }, - enabled = false, - energy_required = 5, - ingredients = { - {type="item", name="bi-dart-magazine-basic", amount=10}, - {type="item", name="copper-plate", amount=5}, - }, - results = {{type="item", name="bi-dart-magazine-standard", amount=10}}, - main_product = "", - allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 - always_show_made_in = false, -- Added for 0.18.34/1.1.4 - allow_decomposition = true, -- Added for 0.18.34/1.1.4 - subgroup = "bi-ammo", - order = "[bio-ammo]-a-[darts]-2", - }, - - --- Enhanced Dart Ammo - { - type = "recipe", - name = "bi-dart-magazine-enhanced", - localised_name = {"item-name.bi-dart-magazine-enhanced"}, - localised_description = {"item-description.bi-dart-magazine-enhanced"}, - icon = ICONPATH .. "enhanced_dart_icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "enhanced_dart_icon.png", - icon_size = 64, - } - }, - enabled = false, - energy_required = 6, - ingredients = { - {type="item", name="bi-dart-magazine-standard", amount=10}, - {type="item", name="plastic-bar", amount=5}, - }, - results = {{type="item", name="bi-dart-magazine-enhanced", amount=10}}, - main_product = "", - allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 - always_show_made_in = false, -- Added for 0.18.34/1.1.4 - allow_decomposition = true, -- Added for 0.18.34/1.1.4 - subgroup = "bi-ammo", - order = "[bio-ammo]-a-[darts]-3", - }, - - --- Poison Dart Ammo - { - type = "recipe", - name = "bi-dart-magazine-poison", - localised_name = {"item-name.bi-dart-magazine-poison"}, - localised_description = {"item-description.bi-dart-magazine-poison"}, - icon = ICONPATH .. "poison_dart_icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "poison_dart_icon.png", - icon_size = 64, - } - }, - enabled = false, - energy_required = 8, - ingredients = { - {type="item", name="bi-dart-magazine-enhanced", amount=10}, - {type="item", name="poison-capsule", amount=5}, - }, - results = {{type="item", name="bi-dart-magazine-poison", amount=10}}, - main_product = "", - allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 - always_show_made_in = false, -- Added for 0.18.34/1.1.4 - allow_decomposition = true, -- Added for 0.18.34/1.1.4 - subgroup = "bi-ammo", - order = "[bio-ammo]-a-[darts]-4", - }, - - --- Dart Turret - { - type = "recipe", - name = "bi-dart-turret", - localised_name = {"entity-name.bi-dart-turret"}, - localised_description = {"entity-description.bi-dart-turret"}, - icon = ICONPATH .. "bio_turret_icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bio_turret_icon.png", - icon_size = 64, - } - }, - enabled = true, - energy_required = 8, - ingredients = { - {type="item", name="iron-gear-wheel", amount=5}, - {type="item", name="wood", amount=20}, - }, - results = {{type="item", name="bi-dart-turret", amount=1}}, - main_product = "", - allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 - always_show_made_in = false, -- Added for 0.18.34/1.1.4 - allow_decomposition = true, -- Added for 0.18.34/1.1.4 - subgroup = "defensive-structure", - order = "b[turret]-e[bi-dart-turret]", - -- This is a custom property for use by "Krastorio 2" (it will change - -- ingredients/results; used for wood/wood pulp) - mod = "Bio_Industries_2", - }, - - --- Dart Rifle - { - type = "recipe", - name = "bi-dart-rifle", - localised_name = {"item-name.bi-dart-rifle"}, - localised_description = {"item-description.bi-dart-rifle"}, - icon = ICONPATH .. "bi_dart_rifle_icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "bi_dart_rifle_icon.png", - icon_size = 64, - } - }, - enabled = true, - energy_required = 8, - ingredients = { - {type="item", name="copper-plate", amount=5}, - {type="item", name="wood", amount=15}, - }, - results = {{type="item", name="bi-dart-rifle", amount=1}}, - main_product = "", - allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 - always_show_made_in = false, -- Added for 0.18.34/1.1.4 - allow_decomposition = true, -- Added for 0.18.34/1.1.4 - subgroup = "gun", - order = "a[basic-clips]-b[bi-dart-rifle]" - }, - -- This is a custom property for use by "Krastorio 2" (it will change - -- ingredients/results; used for wood/wood pulp) - mod = "Bio_Industries_2", -}) +local BioInd = require('common')('Bio_Industries_2') + +local ICONPATH = BioInd.modRoot .. "/graphics/icons/weapons/" +local ICONPATH_W = BioInd.modRoot .. "/graphics/icons/weapons/" + +data:extend({ + --- Basic Dart Ammo + { + type = "recipe", + name = "bi-dart-magazine-basic", + localised_name = {"item-name.bi-dart-magazine-basic"}, + localised_description = {"item-description.bi-dart-magazine-basic"}, + icons = { {icon = ICONPATH .. "basic_dart_icon.png", icon_size = 64, } }, + enabled = true, + energy_required = 4, + ingredients = { + {type="item", name="wood", amount=10}, + }, + results = {{type="item", name="bi-dart-magazine-basic", amount=10}}, + main_product = "", + allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 + always_show_made_in = false, -- Added for 0.18.34/1.1.4 + allow_decomposition = true, -- Added for 0.18.34/1.1.4 + subgroup = "bi-ammo", + order = "[bio-ammo]-a-[darts]-1", + -- This is a custom property for use by "Krastorio 2" (it will change + -- ingredients/results; used for wood/wood pulp) + mod = "Bio_Industries_2", + }, + + --- Standard Dart Ammo + { + type = "recipe", + name = "bi-dart-magazine-standard", + localised_name = {"item-name.bi-dart-magazine-standard"}, + localised_description = {"item-description.bi-dart-magazine-standard"}, + icons = { {icon = ICONPATH .. "standard_dart_icon.png", icon_size = 64, } }, + enabled = false, + energy_required = 5, + ingredients = { + {type="item", name="bi-dart-magazine-basic", amount=10}, + {type="item", name="copper-plate", amount=5}, + }, + results = {{type="item", name="bi-dart-magazine-standard", amount=10}}, + main_product = "", + allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 + always_show_made_in = false, -- Added for 0.18.34/1.1.4 + allow_decomposition = true, -- Added for 0.18.34/1.1.4 + subgroup = "bi-ammo", + order = "[bio-ammo]-a-[darts]-2", + }, + + --- Enhanced Dart Ammo + { + type = "recipe", + name = "bi-dart-magazine-enhanced", + localised_name = {"item-name.bi-dart-magazine-enhanced"}, + localised_description = {"item-description.bi-dart-magazine-enhanced"}, + icons = { {icon = ICONPATH .. "enhanced_dart_icon.png", icon_size = 64, } }, + enabled = false, + energy_required = 6, + ingredients = { + {type="item", name="bi-dart-magazine-standard", amount=10}, + {type="item", name="plastic-bar", amount=5}, + }, + results = {{type="item", name="bi-dart-magazine-enhanced", amount=10}}, + main_product = "", + allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 + always_show_made_in = false, -- Added for 0.18.34/1.1.4 + allow_decomposition = true, -- Added for 0.18.34/1.1.4 + subgroup = "bi-ammo", + order = "[bio-ammo]-a-[darts]-3", + }, + + --- Poison Dart Ammo + { + type = "recipe", + name = "bi-dart-magazine-poison", + localised_name = {"item-name.bi-dart-magazine-poison"}, + localised_description = {"item-description.bi-dart-magazine-poison"}, + icons = { {icon = ICONPATH .. "poison_dart_icon.png", icon_size = 64, } }, + enabled = false, + energy_required = 8, + ingredients = { + {type="item", name="bi-dart-magazine-enhanced", amount=10}, + {type="item", name="poison-capsule", amount=5}, + }, + results = {{type="item", name="bi-dart-magazine-poison", amount=10}}, + main_product = "", + allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 + always_show_made_in = false, -- Added for 0.18.34/1.1.4 + allow_decomposition = true, -- Added for 0.18.34/1.1.4 + subgroup = "bi-ammo", + order = "[bio-ammo]-a-[darts]-4", + }, + + --- Dart Turret + { + type = "recipe", + name = "bi-dart-turret", + localised_name = {"entity-name.bi-dart-turret"}, + localised_description = {"entity-description.bi-dart-turret"}, + icons = { {icon = ICONPATH .. "bio_turret_icon.png", icon_size = 64, } }, + enabled = true, + energy_required = 8, + ingredients = { + {type="item", name="iron-gear-wheel", amount=5}, + {type="item", name="wood", amount=20}, + }, + results = {{type="item", name="bi-dart-turret", amount=1}}, + main_product = "", + allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 + always_show_made_in = false, -- Added for 0.18.34/1.1.4 + allow_decomposition = true, -- Added for 0.18.34/1.1.4 + subgroup = "defensive-structure", + order = "b[turret]-e[bi-dart-turret]", + -- This is a custom property for use by "Krastorio 2" (it will change + -- ingredients/results; used for wood/wood pulp) + mod = "Bio_Industries_2", + }, + + --- Dart Rifle + { + type = "recipe", + name = "bi-dart-rifle", + localised_name = {"item-name.bi-dart-rifle"}, + localised_description = {"item-description.bi-dart-rifle"}, + icons = { {icon = ICONPATH .. "bi_dart_rifle_icon.png", icon_size = 64, } }, + enabled = true, + energy_required = 8, + ingredients = { + {type="item", name="copper-plate", amount=5}, + {type="item", name="wood", amount=15}, + }, + results = {{type="item", name="bi-dart-rifle", amount=1}}, + main_product = "", + allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 + always_show_made_in = false, -- Added for 0.18.34/1.1.4 + allow_decomposition = true, -- Added for 0.18.34/1.1.4 + subgroup = "gun", + order = "a[basic-clips]-b[bi-dart-rifle]", + -- This is a custom property for use by "Krastorio 2" (it will change + -- ingredients/results; used for wood/wood pulp) + mod = "Bio_Industries_2", + }, + + +}) diff --git a/Bio_Industries_2/prototypes/Bio_Turret/technology-updates.lua b/Bio_Industries_2/prototypes/Bio_Turret/technology-updates.lua index b8cc503..438f2f2 100644 --- a/Bio_Industries_2/prototypes/Bio_Turret/technology-updates.lua +++ b/Bio_Industries_2/prototypes/Bio_Turret/technology-updates.lua @@ -1,59 +1,59 @@ -local BioInd = require('common')('Bio_Industries_2') - -local ICONPATH = BioInd.modRoot .. "/graphics/icons/" - -if not mods["Natural_Evolution_Buildings"] then - -- Simplified code in 0.17.39/0.18.6 - local techs = data.raw.technology - -- Turret attack modifier - for index, modifier in pairs({ - -- Keeping indices isn't really necessary here (and in the following), but should help - -- to avoid mistakes if this file is edited in the future. - [1] = 0.1, - [2] = 0.1, - [3] = 0.2, - [4] = 0.2, - [5] = 0.2, - [6] = 0.4, - [7] = 0.7, - }) do - table.insert(techs["physical-projectile-damage-" .. tostring(index)].effects, { - type = "turret-attack", - turret_id = "bi-dart-turret", - modifier = modifier - }) - end - - -- Shooting speed modifier - for index, modifier in pairs({ - [1] = 0.1, - [2] = 0.2, - [3] = 0.2, - [4] = 0.2, - [5] = 0.2, - [6] = 0.4, - }) do - table.insert(techs["weapon-shooting-speed-" .. tostring(index)].effects, { - type = "gun-speed", - ammo_category = "Bio_Turret_Ammo", - modifier = modifier - }) - end - - -- Ammo damage modifier - for index, modifier in pairs({ - [1] = 0.1, - [2] = 0.1, - [3] = 0.2, - [4] = 0.2, - [5] = 0.2, - [6] = 0.4, - [7] = 0.4, - }) do - table.insert(techs["physical-projectile-damage-" .. tostring(index)].effects, { - type = "ammo-damage", - ammo_category = "Bio_Turret_Ammo", - modifier = modifier - }) - end -end +local BioInd = require('common')('Bio_Industries_2') + +local ICONPATH = BioInd.modRoot .. "/graphics/icons/" + +if not mods["Natural_Evolution_Buildings"] then + -- Simplified code in 0.17.39/0.18.6 + local techs = data.raw.technology + -- Turret attack modifier + for index, modifier in pairs({ + -- Keeping indices isn't really necessary here (and in the following), but should help + -- to avoid mistakes if this file is edited in the future. + [1] = 0.1, + [2] = 0.1, + [3] = 0.2, + [4] = 0.2, + [5] = 0.2, + [6] = 0.4, + [7] = 0.7, + }) do + table.insert(techs["physical-projectile-damage-" .. tostring(index)].effects, { + type = "turret-attack", + turret_id = "bi-dart-turret", + modifier = modifier + }) + end + + -- Shooting speed modifier + for index, modifier in pairs({ + [1] = 0.1, + [2] = 0.2, + [3] = 0.2, + [4] = 0.2, + [5] = 0.2, + [6] = 0.4, + }) do + table.insert(techs["weapon-shooting-speed-" .. tostring(index)].effects, { + type = "gun-speed", + ammo_category = "Bio_Turret_Ammo", + modifier = modifier + }) + end + + -- Ammo damage modifier + for index, modifier in pairs({ + [1] = 0.1, + [2] = 0.1, + [3] = 0.2, + [4] = 0.2, + [5] = 0.2, + [6] = 0.4, + [7] = 0.4, + }) do + table.insert(techs["physical-projectile-damage-" .. tostring(index)].effects, { + type = "ammo-damage", + ammo_category = "Bio_Turret_Ammo", + modifier = modifier + }) + end +end diff --git a/Bio_Industries_2/prototypes/Bio_Tweaks/recipe.lua b/Bio_Industries_2/prototypes/Bio_Tweaks/recipe.lua index 885dbe6..bc3cef5 100644 --- a/Bio_Industries_2/prototypes/Bio_Tweaks/recipe.lua +++ b/Bio_Industries_2/prototypes/Bio_Tweaks/recipe.lua @@ -1,169 +1,135 @@ -local BioInd = require('common')('Bio_Industries_2') - -local ICONPATH = BioInd.modRoot .. "/graphics/icons/" - -log("BI.Settings.BI_Game_Tweaks_Disassemble: " .. tostring(BI.Settings.BI_Game_Tweaks_Disassemble)) - -if BI.Settings.BI_Game_Tweaks_Disassemble then -log("Enabling disassemble recipes!") - --- Bio Tweaks - data:extend({ - -- Item subgroup - { - type = "item-subgroup", - name = "bio-disassemble", - group = "bio-industries", - order = "zzzz", - }, - - -- Recipes - { - type = "recipe", - name = "bi-burner-mining-drill-disassemble", - localised_description = {"recipe-description.bi-disassemble-recipes"}, - icon = ICONPATH .. "burner-mining-drill_disassemble.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "burner-mining-drill_disassemble.png", - icon_size = 64, - } - }, - category = "advanced-crafting", - subgroup = "bio-disassemble", - order = "a[Disassemble]-a[bi-burner-mining-drill-disassemble]", - enabled = false, - allow_as_intermediate = false, - always_show_made_in = true, - allow_decomposition = false, - energy_required = 2, - ingredients = { - {type = "item", name = "burner-mining-drill", amount = 1}, - }, - results = { - {type="item", name="stone", amount=4}, - {type="item", name="iron-plate", amount=4} - }, - main_product = "", - }, - - { - type = "recipe", - name = "bi-burner-inserter-disassemble", - localised_description = {"recipe-description.bi-disassemble-recipes"}, - icon = ICONPATH .. "burner_inserter_disassemble.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "burner_inserter_disassemble.png", - icon_size = 64, - } - }, - category = "advanced-crafting", - subgroup = "bio-disassemble", - order = "a[Disassemble]-b[bi-burner-inserter-disassemble]", - enabled = false, - allow_as_intermediate = false, - always_show_made_in = true, - allow_decomposition = false, - energy_required = 2, - ingredients = { - {type = "item", name = "burner-inserter", amount = 1}, - }, - results = { - {type="item", name="iron-plate", amount=2}, - }, - main_product = "", - }, - - { - type = "recipe", - name = "bi-long-handed-inserter-disassemble", - localised_description = {"recipe-description.bi-disassemble-recipes"}, - icon = ICONPATH .. "long_handed_inserter_disassemble.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "long_handed_inserter_disassemble.png", - icon_size = 64, - } - }, - category = "advanced-crafting", - subgroup = "bio-disassemble", - order = "a[Disassemble]-c[bi-long-handed-inserter-disassemble]", - enabled = false, - allow_as_intermediate = false, - always_show_made_in = true, - allow_decomposition = false, - energy_required = 2, - ingredients = { - {type = "item", name = "long-handed-inserter", amount = 1}, - }, - results = { - {type="item", name="iron-gear-wheel", amount=1}, - {type="item", name="iron-plate", amount=1}, - {type="item", name="electronic-circuit", amount=1}, - }, - main_product = "", - }, - - { - type = "recipe", - name = "bi-stone-furnace-disassemble", - localised_description = {"recipe-description.bi-disassemble-recipes"}, - icon = ICONPATH .. "stone_furnace_disassemble.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "stone_furnace_disassemble.png", - icon_size = 64, - } - }, - category = "advanced-crafting", - subgroup = "bio-disassemble", - order = "a[Disassemble]-d[bi-stone-furnace-disassemble]", - enabled = false, - allow_as_intermediate = false, - always_show_made_in = true, - allow_decomposition = false, - energy_required = 2, - ingredients = { - {type = "item", name = "stone-furnace", amount = 1}, - }, - results = { - {type="item", name="stone", amount=3}, - }, - main_product = "", - }, - - { - type = "recipe", - name = "bi-steel-furnace-disassemble", - localised_description = {"recipe-description.bi-disassemble-recipes"}, - icon = ICONPATH .. "steel-furnace_disassemble.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "steel-furnace_disassemble.png", - icon_size = 64, - } - }, - category = "advanced-crafting", - subgroup = "bio-disassemble", - order = "a[Disassemble]-e[bi-steel-furnace-disassemble]", - enabled = false, - allow_as_intermediate = false, - always_show_made_in = true, - allow_decomposition = false, - energy_required = 2, - ingredients = { - {type = "item", name = "steel-furnace", amount = 1}, - }, - results = { - {type="item", name="steel-plate", amount=4}, - {type="item", name="stone-brick", amount=4} - }, - main_product = "", - }, - }) +local BioInd = require('common')('Bio_Industries_2') + +local ICONPATH = BioInd.modRoot .. "/graphics/icons/" + +log("BI.Settings.BI_Game_Tweaks_Disassemble: " .. tostring(BI.Settings.BI_Game_Tweaks_Disassemble)) + +if BI.Settings.BI_Game_Tweaks_Disassemble then +log("Enabling disassemble recipes!") + --- Bio Tweaks + data:extend({ + -- Item subgroup + { + type = "item-subgroup", + name = "bio-disassemble", + group = "bio-industries", + order = "zzzz", + }, + + -- Recipes + { + type = "recipe", + name = "bi-burner-mining-drill-disassemble", + localised_description = {"recipe-description.bi-disassemble-recipes"}, + icons = { {icon = ICONPATH .. "burner-mining-drill_disassemble.png", icon_size = 64, } }, + category = "advanced-crafting", + subgroup = "bio-disassemble", + order = "a[Disassemble]-a[bi-burner-mining-drill-disassemble]", + enabled = false, + allow_as_intermediate = false, + always_show_made_in = true, + allow_decomposition = false, + energy_required = 2, + ingredients = { + {type = "item", name = "burner-mining-drill", amount = 1}, + }, + results = { + {type="item", name="stone", amount=4}, + {type="item", name="iron-plate", amount=4} + }, + main_product = "", + }, +---- + { + type = "recipe", + name = "bi-burner-inserter-disassemble", + localised_description = {"recipe-description.bi-disassemble-recipes"}, + icons = { {icon = ICONPATH .. "burner_inserter_disassemble.png", icon_size = 64, } }, + category = "advanced-crafting", + subgroup = "bio-disassemble", + order = "a[Disassemble]-b[bi-burner-inserter-disassemble]", + enabled = false, + allow_as_intermediate = false, + always_show_made_in = true, + allow_decomposition = false, + energy_required = 2, + ingredients = { + {type = "item", name = "burner-inserter", amount = 1}, + }, + results = { + {type="item", name="iron-plate", amount=2}, + }, + main_product = "", + }, +---- + { + type = "recipe", + name = "bi-long-handed-inserter-disassemble", + localised_description = {"recipe-description.bi-disassemble-recipes"}, + icons = { {icon = ICONPATH .. "long_handed_inserter_disassemble.png", icon_size = 64, } }, + category = "advanced-crafting", + subgroup = "bio-disassemble", + order = "a[Disassemble]-c[bi-long-handed-inserter-disassemble]", + enabled = false, + allow_as_intermediate = false, + always_show_made_in = true, + allow_decomposition = false, + energy_required = 2, + ingredients = { + {type = "item", name = "long-handed-inserter", amount = 1}, + }, + results = { + {type="item", name="iron-gear-wheel", amount=1}, + {type="item", name="iron-plate", amount=1}, + {type="item", name="electronic-circuit", amount=1}, + }, + main_product = "", + }, +--- + { + type = "recipe", + name = "bi-stone-furnace-disassemble", + localised_description = {"recipe-description.bi-disassemble-recipes"}, + icons = { {icon = ICONPATH .. "stone_furnace_disassemble.png", icon_size = 64, } }, + category = "advanced-crafting", + subgroup = "bio-disassemble", + order = "a[Disassemble]-d[bi-stone-furnace-disassemble]", + enabled = false, + allow_as_intermediate = false, + always_show_made_in = true, + allow_decomposition = false, + energy_required = 2, + ingredients = { + {type = "item", name = "stone-furnace", amount = 1}, + }, + results = { + {type="item", name="stone", amount=3}, + }, + main_product = "", + }, +--- + { + type = "recipe", + name = "bi-steel-furnace-disassemble", + localised_description = {"recipe-description.bi-disassemble-recipes"}, + icons = { {icon = ICONPATH .. "steel-furnace_disassemble.png", icon_size = 64, } }, + category = "advanced-crafting", + subgroup = "bio-disassemble", + order = "a[Disassemble]-e[bi-steel-furnace-disassemble]", + enabled = false, + allow_as_intermediate = false, + always_show_made_in = true, + allow_decomposition = false, + energy_required = 2, + ingredients = { + {type = "item", name = "steel-furnace", amount = 1}, + }, + results = { + {type="item", name="steel-plate", amount=4}, + {type="item", name="stone-brick", amount=4} + }, + main_product = "", + }, + + }) end \ No newline at end of file diff --git a/Bio_Industries_2/prototypes/Industrial_Revolution.lua b/Bio_Industries_2/prototypes/Industrial_Revolution.lua deleted file mode 100644 index c1eb1c0..0000000 --- a/Bio_Industries_2/prototypes/Industrial_Revolution.lua +++ /dev/null @@ -1,99 +0,0 @@ -local BioInd = require('common')('Bio_Industries_2') - -if mods["IndustrialRevolution"] then - ------------------------------------------------------------------------------------ - -- Our large wooden poles are unlocked by the "Logistics" research and require small - -- electric poles, which are unlocked by IR2 after the Iron Age has been reached. So, - -- if IR2 is active, we won't unlock our poles and use IR2's large wooden poles for - -- our huge poles instead. - ------------------------------------------------------------------------------------ - local big_pole = "bi-wooden-pole-big" - thxbob.lib.tech.remove_recipe_unlock ("logistics", big_pole) - thxbob.lib.tech.add_recipe_unlock ("electric-energy-distribution-1", big_pole) - - -- Adjust localizations - for k, v in ipairs({"electric-pole", "item", "recipe"}) do -BioInd.show("Changing localization for", v) - data.raw[v][big_pole].localised_name = {"entity-name.bi-wooden-pole-bigger"} - data.raw[v][big_pole].localised_description = {"entity-description.bi-wooden-pole-bigger"} - end - - ------------------------------------------------------------------------------------ - -- IR2 disables the "solar-energy" technology, so our Solar boiler, Solar farm, and - -- Musk floor will never be unlocked. Move the unlocks to IR2's technologies! - ------------------------------------------------------------------------------------ - thxbob.lib.tech.add_recipe_unlock ("ir2-solar-energy-1", "bi-solar-boiler-hidden-panel") - thxbob.lib.tech.add_recipe_unlock ("ir2-solar-energy-2", "bi-bio-solar-farm") - thxbob.lib.tech.add_recipe_unlock ("ir2-solar-energy-2", "bi-solar-mat") - - ------------------------------------------------------------------------------------ - -- Put recipe for Bio stone bricks in the same subgroup as concrete! - ------------------------------------------------------------------------------------ - data.raw.recipe["bi-stone-brick"].subgroup = "ir2-tiles" - - ------------------------------------------------------------------------------------ - -- Replace "crushed stone" with "gravel"! - ------------------------------------------------------------------------------------ - local i_old = "stone-crushed" - local i_new = "gravel" - local replaced, recipe, add - - for recipe_name, recipe in pairs(data.raw.recipe) do - -- Ingredients - replaced = thxbob.lib.recipe.replace_ingredient(recipe_name, i_old, i_new) -BioInd.writeDebug("Replaced ingredient %s with %s in recipe %s: %s", {i_old, i_new, recipe_name, replaced}) - - -- Results - thxbob.lib.result_check(recipe) -- Make sure we have results! - for r, result in ipairs(recipe and recipe.results or {}) do - if result.name == i_old then - -- Store the properties of the original result - add = { - type = result.type, - name = i_new, - amount = result.amount - } - thxbob.lib.recipe.remove_result(recipe_name, i_old) - thxbob.lib.item.add(recipe.results, add) - else -BioInd.show("Skipping", result.name) - end - end - - -- Don't forget to change main_product as well! - if recipe and recipe.main_product and recipe.main_product == i_old then - recipe.main_product = i_new - end - end - - -- Add recipe unlocks - local crushing = { - ["bi-crushed-stone-1"] = "grinding-1", - ["bi-crushed-stone-2"] = "grinding-2", - ["bi-crushed-stone-3"] = "grinding-2", - ["bi-crushed-stone-4"] = "grinding-3", - ["bi-crushed-stone-5"] = "grinding-3", - } - local r - for recipe, category in pairs(crushing) do - r = data.raw.recipe[recipe] - r.category = category - r.localised_name = {"recipe-name." .. recipe .. "_IR"} - if recipe == "bi-crushed-stone-1" then - r.localised_description = {"recipe-description.bi-crushed-stone-1_IR"} - else - r.localised_description = {"recipe-description.bi-crushed-stone_IR"} - end - thxbob.lib.tech.add_recipe_unlock("ir2-" .. category, recipe) - end - - -- Our stone crusher should be able to craft the recipes that can be made by - -- IR2's Copper crusher ("grinding-1") and Electric crusher ("grinding-2")! - local crusher = data.raw.furnace["bi-stone-crusher"] - if crusher then - table.insert(crusher.crafting_categories, "grinding-1") - table.insert(crusher.crafting_categories, "grinding-2") - table.insert(crusher.crafting_categories, "powdering-1") - table.insert(crusher.crafting_categories, "powdering-2") - end -end diff --git a/Bio_Industries_2/prototypes/Wood_Products/containers-entities.lua b/Bio_Industries_2/prototypes/Wood_Products/containers-entities.lua index f19dcb8..ee3d137 100644 --- a/Bio_Industries_2/prototypes/Wood_Products/containers-entities.lua +++ b/Bio_Industries_2/prototypes/Wood_Products/containers-entities.lua @@ -1,162 +1,282 @@ -if not BI.Settings.BI_Bigger_Wooden_Chests then - return -end - -local BioInd = require('common')('Bio_Industries_2') - - -BioInd.writeDebug("Creating bigger wooden chests!") - - -local ICONPATH = BioInd.modRoot .. "/graphics/icons/" -local WOODPATH = BioInd.modRoot .. "/graphics/entities/wood_products/" - -local SNDPATH = "__base__/sound/" - -local sounds = {} -sounds.open_sound = { filename = "__base__/sound/wooden-chest-open.ogg" } -sounds.close_sound = { filename = SNDPATH .. "wooden-chest-close.ogg" } - -sounds.walking_sound = {} -for i = 1, 11 do - sounds.walking_sound[i] = { - filename = SNDPATH .. "walking/concrete-" .. i ..".ogg", - volume = 1.2 - } -end - - ------------------------------------------------------------------------------------- --- Rename the vanill wooden chest! -- ------------------------------------------------------------------------------------- -data.raw.container["wooden-chest"].localised_name = {"entity-name.bi-wooden-chest"} - - ------------------------------------------------------------------------------------- --- Create the bigger wooden chests! -- ------------------------------------------------------------------------------------- - -------- Large Wooden Chest -data:extend({ - { - type = "container", - name = "bi-wooden-chest-large", - icon = ICONPATH .. "large_wooden_chest_icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "large_wooden_chest_icon.png", - icon_size = 64, - } - }, - -- This is necessary for "Space Exploration" (if not true, the entity can only be - -- placed on Nauvis)! - se_allow_in_space = true, - flags = {"placeable-neutral", "player-creation"}, - minable = {mining_time = 1, result = "bi-wooden-chest-large"}, - max_health = 200, - corpse = "small-remnants", - collision_box = {{-0.7, -0.7}, {0.7, 0.7}}, - selection_box = {{-1.0, -1.0}, {1.0, 1.0}}, - fast_replaceable_group = "container", - inventory_size = 128, -- 64 - open_sound = { filename = "__base__/sound/wooden-chest-open.ogg" }, - close_sound = { filename = "__base__/sound/wooden-chest-close.ogg" }, - impact_category = "wood", - picture = { - filename = WOODPATH .. "large_wooden_chest.png", - priority = "extra-high", - width = 184, - height = 132, - shift = {0.5, 0}, - scale = 0.5, - }, - circuit_wire_connection_point = circuit_connector_definitions["chest"].points, - circuit_connector_sprites = circuit_connector_definitions["chest"].sprites, - circuit_wire_max_distance = default_circuit_wire_max_distance - }, -}) - -------- Huge Wooden Chest -data:extend({ - { - type = "container", - name = "bi-wooden-chest-huge", - icon = ICONPATH .. "huge_wooden_chest_icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "huge_wooden_chest_icon.png", - icon_size = 64, - } - }, - scale_info_icons = true, - -- This is necessary for "Space Exploration" (if not true, the entity can only be - -- placed on Nauvis)! - se_allow_in_space = true, - flags = {"placeable-neutral", "player-creation"}, - minable = {mining_time = 1.5, result = "bi-wooden-chest-huge"}, - max_health = 350, - corpse = "small-remnants", - collision_box = {{-1.2, -1.2}, {1.2, 1.2}}, - selection_box = {{-1.5, -1.5}, {1.5, 1.5}}, - fast_replaceable_group = "container", - inventory_size = 432, --144 - open_sound = { filename = "__base__/sound/wooden-chest-open.ogg" }, - close_sound = { filename = "__base__/sound/wooden-chest-close.ogg" }, - impact_category = "wood", - picture = { - filename = WOODPATH .. "huge_wooden_chest.png", - priority = "extra-high", - width = 184, - height = 132, - shift = {0.5, 0}, - scale = 0.75, - }, - circuit_wire_connection_point = circuit_connector_definitions["chest"].points, - circuit_connector_sprites = circuit_connector_definitions["chest"].sprites, - circuit_wire_max_distance = default_circuit_wire_max_distance - }, -}) - -------- Giga Wooden Chest -data:extend({ - { - type = "container", - name = "bi-wooden-chest-giga", - icon = ICONPATH .. "giga_wooden_chest_icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "giga_wooden_chest_icon.png", - icon_size = 64, - } - }, - scale_info_icons = true, - -- This is necessary for "Space Exploration" (if not true, the entity can only be - -- placed on Nauvis)! - se_allow_in_space = true, - flags = {"placeable-neutral", "player-creation"}, - minable = {mining_time = 3.5, result = "bi-wooden-chest-giga"}, - max_health = 350, - corpse = "big-remnants", - collision_box = {{-2.8, -2.8}, {2.8, 2.8}}, - selection_box = {{-3, -3}, {3, 3}}, - fast_replaceable_group = "container", - inventory_size = 1728, --576 - open_sound = { filename = "__base__/sound/wooden-chest-open.ogg" }, - close_sound = { filename = "__base__/sound/wooden-chest-close.ogg" }, - impact_category = "wood", - picture = { - filename = WOODPATH .. "giga_wooden_chest.png", - priority = "extra-high", - width = 501, - height = 366, - shift = {0.88, -0.170}, - scale = 0.5, - }, - circuit_wire_connection_point = circuit_connector_definitions["chest"].points, - circuit_connector_sprites = circuit_connector_definitions["chest"].sprites, - circuit_wire_max_distance = default_circuit_wire_max_distance - }, -}) +if not BI.Settings.BI_Bigger_Wooden_Chests then + return +end + +local BioInd = require('common')('Bio_Industries_2') + +BioInd.writeDebug("Creating bigger wooden chests!") + +local ICONPATH = BioInd.modRoot .. "/graphics/icons/" +local ICONPATH_E = BioInd.modRoot .. "/graphics/icons/entity/" +local WOODPATH = BioInd.modRoot .. "/graphics/entities/wood_products/" +local REMNANTSPATH = BioInd.modRoot .. "/graphics/entities/remnants/" +local SNDPATH = "__base__/sound/" +local sounds = {} +sounds.open_sound = { filename = "__base__/sound/wooden-chest-open.ogg" } +sounds.close_sound = { filename = SNDPATH .. "wooden-chest-close.ogg" } +sounds.walking_sound = {} +for i = 1, 11 do + sounds.walking_sound[i] = { + filename = SNDPATH .. "walking/concrete-" .. i ..".ogg", + volume = 1.2 + } +end + + +------------------------------------------------------------------------------------ +-- Rename the vanill wooden chest! -- +------------------------------------------------------------------------------------ +data.raw.container["wooden-chest"].localised_name = {"entity-name.bi-wooden-chest"} + + +------------------------------------------------------------------------------------ +-- Create the bigger wooden chests! -- +------------------------------------------------------------------------------------ + +------- Large Wooden Chest +data:extend({ + { + type = "container", + name = "bi-wooden-chest-large", + icons = { {icon = ICONPATH_E .. "large_wooden_chest_icon.png", icon_size = 64, } }, + -- This is necessary for "Space Exploration" (if not true, the entity can only be + -- placed on Nauvis)! + se_allow_in_space = true, + flags = {"placeable-neutral", "player-creation"}, + minable = {mining_time = 1, result = "bi-wooden-chest-large"}, + max_health = 200, + corpse = "bi-wooden-chest-large-remnant", + collision_box = {{-0.7, -0.7}, {0.7, 0.7}}, + selection_box = {{-1.0, -1.0}, {1.0, 1.0}}, + fast_replaceable_group = "container", + inventory_size = 128, -- 64 + open_sound = { filename = "__base__/sound/wooden-chest-open.ogg" }, + close_sound = { filename = "__base__/sound/wooden-chest-close.ogg" }, + impact_category = "wood", + picture = { + layers = { + { + filename = WOODPATH .. "large_wooden_chest.png", + priority = "extra-high", + width = 128, + height = 128, + shift = {0, 0}, + scale = 0.5, + }, + { + filename = WOODPATH .. "large_wooden_chest_shadow.png", + priority = "extra-high", + width = 128, + height = 128, + shift = {1, 0}, + draw_as_shadow = true, + scale = 0.5, + }, + }, + }, + circuit_wire_connection_point = circuit_connector_definitions["chest"].points, + circuit_connector_sprites = circuit_connector_definitions["chest"].sprites, + circuit_wire_max_distance = default_circuit_wire_max_distance + }, + + --- corpse + { + type = "corpse", + name = "bi-wooden-chest-large-remnant", + localised_name = {"entity-name.bi-wooden-chest-large-remnant"}, + icon = "__base__/graphics/icons/remnants.png", + icon_size = 64, + icon_mipmaps = 4, + BI_add_icon = true, + flags = {"placeable-neutral", "building-direction-8-way", "not-on-map"}, + subgroup = "remnants", + order = "z-z-z", + selection_box = {{-1, -1}, {1, 1}}, + tile_width = 2, + tile_height = 2, + selectable_in_game = false, + time_before_removed = 60 * 60 * 15, -- 15 minutes + final_render_layer = "remnants", + remove_on_tile_placement = false, + animation = + { + { + filename = REMNANTSPATH .. "large_wooden_chest_remnant.png", + line_length = 1, + width = 256, + height = 256, + frame_count = 1, + direction_count = 1, + shift = {0,0}, + scale = 0.5 + } + } + }, + +}) + +------- Huge Wooden Chest +data:extend({ + { + type = "container", + name = "bi-wooden-chest-huge", + icons = { {icon = ICONPATH_E .. "huge_wooden_chest_icon.png", icon_size = 64, } }, + scale_info_icons = true, + -- This is necessary for "Space Exploration" (if not true, the entity can only be + -- placed on Nauvis)! + se_allow_in_space = true, + flags = {"placeable-neutral", "player-creation"}, + minable = {mining_time = 1.5, result = "bi-wooden-chest-huge"}, + max_health = 350, + corpse = "bi-wooden-chest-huge-remnant", + collision_box = {{-1.2, -1.2}, {1.2, 1.2}}, + selection_box = {{-1.5, -1.5}, {1.5, 1.5}}, + fast_replaceable_group = "container", + inventory_size = 432, --144 + open_sound = { filename = "__base__/sound/wooden-chest-open.ogg" }, + close_sound = { filename = "__base__/sound/wooden-chest-close.ogg" }, + impact_category = "wood", + picture = { + layers = { + { + filename = WOODPATH .. "huge_wooden_chest.png", + priority = "extra-high", + width = 224, + height = 224, + shift = {0, 0}, + scale = 0.5, + }, + { + filename = WOODPATH .. "huge_wooden_chest_shadow.png", + priority = "extra-high", + width = 224, + height = 224, + shift = {1, 0}, + draw_as_shadow = true, + scale = 0.5, + }, + }, + }, + circuit_wire_connection_point = circuit_connector_definitions["chest"].points, + circuit_connector_sprites = circuit_connector_definitions["chest"].sprites, + circuit_wire_max_distance = default_circuit_wire_max_distance + }, + + --- corpse + { + type = "corpse", + name = "bi-wooden-chest-huge-remnant", + localised_name = {"entity-name.bi-wooden-chest-huge-remnant"}, + icon = "__base__/graphics/icons/remnants.png", + icon_size = 64, + icon_mipmaps = 4, + BI_add_icon = true, + flags = {"placeable-neutral", "building-direction-8-way", "not-on-map"}, + subgroup = "remnants", + order = "z-z-z", + selection_box = {{-1.5, -1.5}, {1.5, 1.5}}, + tile_width = 3, + tile_height = 3, + selectable_in_game = false, + time_before_removed = 60 * 60 * 15, -- 15 minutes + final_render_layer = "remnants", + remove_on_tile_placement = false, + animation = + { + { + filename = REMNANTSPATH .. "huge_wooden_chest_remnant.png", + line_length = 1, + width = 336, + height = 336, + frame_count = 1, + direction_count = 1, + shift = {0,0}, + scale = 0.5 + } + } + }, + +}) + +------- Giga Wooden Chest +data:extend({ + { + type = "container", + name = "bi-wooden-chest-giga", + icons = { {icon = ICONPATH_E .. "giga_wooden_chest_icon.png", icon_size = 64, } }, + scale_info_icons = true, + -- This is necessary for "Space Exploration" (if not true, the entity can only be + -- placed on Nauvis)! + se_allow_in_space = true, + flags = {"placeable-neutral", "player-creation"}, + minable = {mining_time = 3.5, result = "bi-wooden-chest-giga"}, + max_health = 350, + corpse = "bi-wooden-chest-giga-remnant", + collision_box = {{-2.8, -2.8}, {2.8, 2.8}}, + selection_box = {{-3, -3}, {3, 3}}, + fast_replaceable_group = "container", + inventory_size = 1728, --576 + open_sound = { filename = "__base__/sound/wooden-chest-open.ogg" }, + close_sound = { filename = "__base__/sound/wooden-chest-close.ogg" }, + impact_category = "wood", + picture = { + layers = { + { + filename = WOODPATH .. "giga_wooden_chest.png", + priority = "extra-high", + width = 384, + height = 448, + shift = {0, -0.5}, + scale = 0.5, + }, + { + filename = WOODPATH .. "giga_wooden_chest_shadow.png", + priority = "extra-high", + width = 192, + height = 384, + shift = {1, -0.5}, + draw_as_shadow = true, + scale = 0.5, + }, + }, + }, + circuit_wire_connection_point = circuit_connector_definitions["chest"].points, + circuit_connector_sprites = circuit_connector_definitions["chest"].sprites, + circuit_wire_max_distance = default_circuit_wire_max_distance + }, + + --- corpse + { + type = "corpse", + name = "bi-wooden-chest-giga-remnant", + localised_name = {"entity-name.bi-wooden-chest-giga-remnant"}, + icon = "__base__/graphics/icons/remnants.png", + icon_size = 64, + icon_mipmaps = 4, + BI_add_icon = true, + flags = {"placeable-neutral", "building-direction-8-way", "not-on-map"}, + subgroup = "remnants", + order = "z-z-z", + selection_box = {{-3, -3}, {3, 3}}, + tile_width = 6, + tile_height = 6, + selectable_in_game = false, + time_before_removed = 60 * 60 * 15, -- 15 minutes + final_render_layer = "remnants", + remove_on_tile_placement = false, + animation = + { + { + filename = REMNANTSPATH .. "giga_wooden_chest_remnant.png", + line_length = 1, + width = 576, + height = 576, + frame_count = 1, + direction_count = 1, + shift = {0, -0}, + scale = 0.5 + } + } + }, + +}) diff --git a/Bio_Industries_2/prototypes/Wood_Products/containers-item.lua b/Bio_Industries_2/prototypes/Wood_Products/containers-item.lua index b83c7ed..ae5f8df 100644 --- a/Bio_Industries_2/prototypes/Wood_Products/containers-item.lua +++ b/Bio_Industries_2/prototypes/Wood_Products/containers-item.lua @@ -1,77 +1,57 @@ -if not BI.Settings.BI_Bigger_Wooden_Chests then - return -end - -local BioInd = require('common')('Bio_Industries_2') -local ICONPATH = BioInd.modRoot .. "/graphics/icons/" - - -BioInd.writeDebug("Creating items for bigger wooden chests!") - -data:extend({ - --- Large wooden chest 2 x 2 - { - type = "item", - name = "bi-wooden-chest-large", - localised_name = {"entity-name.bi-wooden-chest-large"}, - localised_description = {"entity-description.bi-wooden-chest-large"}, - icon = ICONPATH .. "large_wooden_chest_icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "large_wooden_chest_icon.png", - icon_size = 64, - } - }, - fuel_category = "chemical", - fuel_value = "32MJ", - subgroup = "storage", - order = "a[items]-aa[wooden-chest]", - place_result = "bi-wooden-chest-large", - stack_size = 48 - }, - - --- Huge wooden chest 3 x 3 - { - type = "item", - name = "bi-wooden-chest-huge", - localised_name = {"entity-name.bi-wooden-chest-huge"}, - localised_description = {"entity-description.bi-wooden-chest-huge"}, - icon = ICONPATH .. "huge_wooden_chest_icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "huge_wooden_chest_icon.png", - icon_size = 64, - } - }, - fuel_category = "chemical", - fuel_value = "200MJ", - subgroup = "storage", - order = "a[items]-ab[wooden-chest]", - place_result = "bi-wooden-chest-huge", - stack_size = 32 - }, - - --- Giga wooden chest 6 x 6 - { - type = "item", - name = "bi-wooden-chest-giga", - localised_name = {"entity-name.bi-wooden-chest-giga"}, - localised_description = {"entity-description.bi-wooden-chest-giga"}, - icon = ICONPATH .. "giga_wooden_chest_icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "giga_wooden_chest_icon.png", - icon_size = 64, - } - }, - fuel_category = "chemical", - fuel_value = "400MJ", - subgroup = "storage", - order = "a[items]-ac[wooden-chest]", - place_result = "bi-wooden-chest-giga", - stack_size = 16 - }, -}) +if not BI.Settings.BI_Bigger_Wooden_Chests then + return +end + +local BioInd = require('common')('Bio_Industries_2') +local ICONPATH = BioInd.modRoot .. "/graphics/icons/" +local ICONPATH_E = BioInd.modRoot .. "/graphics/icons/entity/" + + +BioInd.writeDebug("Creating items for bigger wooden chests!") + +data:extend({ + --- Large wooden chest 2 x 2 + { + type = "item", + name = "bi-wooden-chest-large", + localised_name = {"entity-name.bi-wooden-chest-large"}, + localised_description = {"entity-description.bi-wooden-chest-large"}, + icons = { {icon = ICONPATH_E .. "large_wooden_chest_icon.png", icon_size = 64, } }, + fuel_category = "chemical", + fuel_value = "32MJ", + subgroup = "storage", + order = "a[items]-aa[wooden-chest]", + place_result = "bi-wooden-chest-large", + stack_size = 48 + }, + + --- Huge wooden chest 3 x 3 + { + type = "item", + name = "bi-wooden-chest-huge", + localised_name = {"entity-name.bi-wooden-chest-huge"}, + localised_description = {"entity-description.bi-wooden-chest-huge"}, + icons = { {icon = ICONPATH_E .. "huge_wooden_chest_icon.png", icon_size = 64, } }, + fuel_category = "chemical", + fuel_value = "200MJ", + subgroup = "storage", + order = "a[items]-ab[wooden-chest]", + place_result = "bi-wooden-chest-huge", + stack_size = 32 + }, + + --- Giga wooden chest 6 x 6 + { + type = "item", + name = "bi-wooden-chest-giga", + localised_name = {"entity-name.bi-wooden-chest-giga"}, + localised_description = {"entity-description.bi-wooden-chest-giga"}, + icons = { {icon = ICONPATH_E .. "giga_wooden_chest_icon.png", icon_size = 64, } }, + fuel_category = "chemical", + fuel_value = "400MJ", + subgroup = "storage", + order = "a[items]-ac[wooden-chest]", + place_result = "bi-wooden-chest-giga", + stack_size = 16 + }, +}) diff --git a/Bio_Industries_2/prototypes/Wood_Products/containers-recipe.lua b/Bio_Industries_2/prototypes/Wood_Products/containers-recipe.lua index 6378d17..fc88fc7 100644 --- a/Bio_Industries_2/prototypes/Wood_Products/containers-recipe.lua +++ b/Bio_Industries_2/prototypes/Wood_Products/containers-recipe.lua @@ -1,103 +1,83 @@ -if not BI.Settings.BI_Bigger_Wooden_Chests then - return -end - -local BioInd = require('common')('Bio_Industries_2') -local ICONPATH = BioInd.modRoot .. "/graphics/icons/" - - -BioInd.writeDebug("Creating recipes for bigger wooden chests!") -data:extend({ - --- Large Wooden Chest - { - type = "recipe", - name = "bi-wooden-chest-large", - localised_name = {"entity-name.bi-wooden-chest-large"}, - localised_description = {"entity-description.bi-wooden-chest-large"}, - icon = ICONPATH .. "large_wooden_chest_icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "large_wooden_chest_icon.png", - icon_size = 64, - } - }, - energy_required = 2, - enabled = false, - ingredients = { - {type="item", name="copper-plate", amount=16}, - {type="item", name="resin", amount=24}, - {type="item", name="wooden-chest", amount=8} - }, - results = {{type="item", name="bi-wooden-chest-large", amount=1}}, - main_product = "", - requester_paste_multiplier = 4, - allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 - always_show_made_in = false, -- Added for 0.18.34/1.1.4 - allow_decomposition = true, -- Added for 0.18.34/1.1.4 - subgroup = "storage", - order = "a[items]-aa[wooden-chest]", - }, - - --- Huge Wooden Chest - { - type = "recipe", - name = "bi-wooden-chest-huge", - localised_name = {"entity-name.bi-wooden-chest-huge"}, - localised_description = {"entity-description.bi-wooden-chest-huge"}, - icon = ICONPATH .. "huge_wooden_chest_icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "huge_wooden_chest_icon.png", - icon_size = 64, - } - }, - energy_required = 2, - enabled = false, - ingredients = { - {type="item", name="iron-stick", amount=32}, - {type="item", name="stone-brick", amount=32}, - {type="item", name="bi-wooden-chest-large", amount=16} - }, - results = {{type="item", name="bi-wooden-chest-huge", amount=1}}, - main_product = "", - requester_paste_multiplier = 4, - allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 - always_show_made_in = false, -- Added for 0.18.34/1.1.4 - allow_decomposition = true, -- Added for 0.18.34/1.1.4 - subgroup = "storage", - order = "a[items]-ab[wooden-chest]", - }, - - --- Giga Wooden Chest - { - type = "recipe", - name = "bi-wooden-chest-giga", - localised_name = {"entity-name.bi-wooden-chest-giga"}, - localised_description = {"entity-description.bi-wooden-chest-giga"}, - icon = ICONPATH .. "giga_wooden_chest_icon.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "giga_wooden_chest_icon.png", - icon_size = 64, - } - }, - energy_required = 4, - enabled = false, - ingredients = { - {type="item", name="steel-plate", amount=32}, - {type="item", name="concrete", amount=32}, - {type="item", name="bi-wooden-chest-huge", amount=16} - }, - results = {{type="item", name="bi-wooden-chest-giga", amount=1}}, - main_product = "", - requester_paste_multiplier = 4, - allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 - always_show_made_in = false, -- Added for 0.18.34/1.1.4 - allow_decomposition = true, -- Added for 0.18.34/1.1.4 - subgroup = "storage", - order = "a[items]-ac[wooden-chest]", - }, - }) +if not BI.Settings.BI_Bigger_Wooden_Chests then + return +end + +local BioInd = require('common')('Bio_Industries_2') +local ICONPATH = BioInd.modRoot .. "/graphics/icons/" +local ICONPATH_E = BioInd.modRoot .. "/graphics/icons/entity/" + + +BioInd.writeDebug("Creating recipes for bigger wooden chests!") +data:extend({ + --- Large Wooden Chest + { + type = "recipe", + name = "bi-wooden-chest-large", + localised_name = {"entity-name.bi-wooden-chest-large"}, + localised_description = {"entity-description.bi-wooden-chest-large"}, + icons = { {icon = ICONPATH_E .. "large_wooden_chest_icon.png", icon_size = 64, } }, + energy_required = 2, + enabled = false, + ingredients = { + {type="item", name="copper-plate", amount=16}, + {type="item", name="resin", amount=24}, + {type="item", name="wooden-chest", amount=8} + }, + results = {{type="item", name="bi-wooden-chest-large", amount=1}}, + main_product = "", + requester_paste_multiplier = 4, + allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 + always_show_made_in = false, -- Added for 0.18.34/1.1.4 + allow_decomposition = true, -- Added for 0.18.34/1.1.4 + subgroup = "storage", + order = "a[items]-aa[wooden-chest]", + }, + + --- Huge Wooden Chest + { + type = "recipe", + name = "bi-wooden-chest-huge", + localised_name = {"entity-name.bi-wooden-chest-huge"}, + localised_description = {"entity-description.bi-wooden-chest-huge"}, + icons = { {icon = ICONPATH_E .. "huge_wooden_chest_icon.png", icon_size = 64, } }, + energy_required = 2, + enabled = false, + ingredients = { + {type="item", name="iron-stick", amount=32}, + {type="item", name="stone-brick", amount=32}, + {type="item", name="bi-wooden-chest-large", amount=16} + }, + results = {{type="item", name="bi-wooden-chest-huge", amount=1}}, + main_product = "", + requester_paste_multiplier = 4, + allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 + always_show_made_in = false, -- Added for 0.18.34/1.1.4 + allow_decomposition = true, -- Added for 0.18.34/1.1.4 + subgroup = "storage", + order = "a[items]-ab[wooden-chest]", + }, + + --- Giga Wooden Chest + { + type = "recipe", + name = "bi-wooden-chest-giga", + localised_name = {"entity-name.bi-wooden-chest-giga"}, + localised_description = {"entity-description.bi-wooden-chest-giga"}, + icons = { {icon = ICONPATH_E .. "giga_wooden_chest_icon.png", icon_size = 64, } }, + energy_required = 4, + enabled = false, + ingredients = { + {type="item", name="steel-plate", amount=32}, + {type="item", name="concrete", amount=32}, + {type="item", name="bi-wooden-chest-huge", amount=16} + }, + results = {{type="item", name="bi-wooden-chest-giga", amount=1}}, + main_product = "", + requester_paste_multiplier = 4, + allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 + always_show_made_in = false, -- Added for 0.18.34/1.1.4 + allow_decomposition = true, -- Added for 0.18.34/1.1.4 + subgroup = "storage", + order = "a[items]-ac[wooden-chest]", + }, + }) diff --git a/Bio_Industries_2/prototypes/Wood_Products/entities.lua b/Bio_Industries_2/prototypes/Wood_Products/entities.lua index c980af5..a76a204 100644 --- a/Bio_Industries_2/prototypes/Wood_Products/entities.lua +++ b/Bio_Industries_2/prototypes/Wood_Products/entities.lua @@ -1,838 +1,945 @@ -local tile_graphics = require("__base__/prototypes/tile/tile-graphics") - -local BioInd = require('common')('Bio_Industries_2') - -local ICONPATH = BioInd.modRoot .. "/graphics/icons/" -local WOODPATH = BioInd.modRoot .. "/graphics/entities/wood_products/" - -local ENTITYPATH = "__base__/graphics/entity/" -local PIPEPATH = ENTITYPATH .. "pipe/" - -local SNDPATH = "__base__/sound/" - -local sounds = {} -sounds.walking_sound = {} -for i = 1, 11 do - sounds.walking_sound[i] = { - filename = SNDPATH .. "walking/concrete-" .. i ..".ogg", - volume = 1.2 - } -end - --- Used for Wooden Pipe Pictures -pipepictures_w = function() - return { - straight_vertical_single = { - filename = PIPEPATH .. "pipe-straight-vertical-single.png", - priority = "extra-high", - width = 160, - height = 160, - scale = 0.5 - }, - straight_vertical = { - filename = PIPEPATH .. "pipe-straight-vertical.png", - priority = "extra-high", - size = 128, - scale = 0.5 - }, - straight_vertical_window = { - filename = PIPEPATH .. "pipe-straight-vertical-window.png", - priority = "extra-high", - size = 128, - scale = 0.5 - }, - straight_horizontal_window = { - filename = PIPEPATH .. "pipe-straight-horizontal-window.png", - priority = "extra-high", - size = 128, - scale = 0.5 - }, - straight_horizontal = { - filename = PIPEPATH .. "pipe-straight-horizontal.png", - priority = "extra-high", - size = 128, - scale = 0.5 - }, - corner_up_right = { - filename = PIPEPATH .. "pipe-corner-up-right.png", - priority = "extra-high", - size = 128, - scale = 0.5 - }, - corner_up_left = { - filename = PIPEPATH .. "pipe-corner-up-left.png", - priority = "extra-high", - size = 128, - scale = 0.5 - }, - corner_down_right = { - filename = PIPEPATH .. "pipe-corner-down-right.png", - priority = "extra-high", - size = 128, - scale = 0.5 - }, - corner_down_left = { - filename = PIPEPATH .. "pipe-corner-down-left.png", - priority = "extra-high", - size = 128, - scale = 0.5 - }, - t_up = { - filename = PIPEPATH .. "pipe-t-up.png", - priority = "extra-high", - size = 128, - scale = 0.5 - }, - t_down = { - filename = PIPEPATH .. "pipe-t-down.png", - priority = "extra-high", - size = 128, - scale = 0.5 - }, - t_right = { - filename = PIPEPATH .. "pipe-t-right.png", - priority = "extra-high", - size = 128, - scale = 0.5 - }, - t_left = { - filename = PIPEPATH .. "pipe-t-left.png", - priority = "extra-high", - size = 128, - scale = 0.5 - }, - cross = { - filename = PIPEPATH .. "pipe-cross.png", - priority = "extra-high", - size = 128, - scale = 0.5 - }, - ending_up = { - filename = PIPEPATH .. "pipe-ending-up.png", - priority = "extra-high", - size = 128, - scale = 0.5 - }, - ending_down = { - filename = PIPEPATH .. "pipe-ending-down.png", - priority = "extra-high", - size = 128, - scale = 0.5 - }, - ending_right = { - filename = PIPEPATH .. "pipe-ending-right.png", - priority = "extra-high", - size = 128, - scale = 0.5 - }, - ending_left = { - filename = PIPEPATH .. "pipe-ending-left.png", - priority = "extra-high", - size = 128, - scale = 0.5 - }, - horizontal_window_background = { - filename = PIPEPATH .. "pipe-horizontal-window-background.png", - priority = "extra-high", - size = 128, - scale = 0.5 - }, - vertical_window_background = { - filename = PIPEPATH .. "pipe-vertical-window-background.png", - priority = "extra-high", - size = 128, - scale = 0.5 - }, - fluid_background = { - filename = PIPEPATH .. "fluid-background.png", - priority = "extra-high", - width = 64, - height = 40, - scale = 0.5 - }, - low_temperature_flow = { - filename = PIPEPATH .. "fluid-flow-low-temperature.png", - priority = "extra-high", - width = 160, - height = 18 - }, - middle_temperature_flow = { - filename = PIPEPATH .. "fluid-flow-medium-temperature.png", - priority = "extra-high", - width = 160, - height = 18 - }, - high_temperature_flow = { - filename = PIPEPATH .. "fluid-flow-high-temperature.png", - priority = "extra-high", - width = 160, - height = 18 - }, - gas_flow = { - filename = PIPEPATH .. "steam.png", - priority = "extra-high", - line_length = 10, - width = 48, - height = 30, - frame_count = 60, - axially_symmetrical = false, - direction_count = 1 - } - } -end - ----- Wood Floor -data:extend({ - { - type = "tile", - name = "bi-wood-floor", - needs_correction = false, - minable = {hardness = 0.2, mining_time = 0.25, result = "wood"}, - mined_sound = { filename = "__base__/sound/deconstruct-bricks.ogg" }, - collision_mask = { layers = { ground_tile = true }}, - walking_speed_modifier = 1.2, - layer = 62, - decorative_removal_probability = 0.4, - variants = { - transition = tile_graphics.generic_masked_tile_transitions1, - main = { - { - picture = WOODPATH .. "wood_floor/wood1.png", - count = 4, - size = 1 - }, - { - picture = WOODPATH .. "wood_floor/wood2.png", - count = 1, - size = 2, - probability = 1, - }, - }, - inner_corner = { - picture = WOODPATH .. "wood_floor/wood-inner-corner.png", - count = 8 - }, - outer_corner = { - picture = WOODPATH .. "wood_floor/wood-outer-corner.png", - count = 8 - }, - side = { - picture = WOODPATH .. "wood_floor/wood-side.png", - count = 8 - }, - u_transition = { - picture = WOODPATH .. "wood_floor/wood-u.png", - count = 8 - }, - o_transition = { - picture = WOODPATH .. "wood_floor/wood-o.png", - count = 1 - } - }, - walking_sound = sounds.walking_sound, - map_color = {r = 139, g = 115, b = 85}, - vehicle_friction_modifier = dirt_vehicle_speed_modifer - }, -}) - ----- Big Wooden Pole -data:extend({ - { - type = "electric-pole", - name = "bi-wooden-pole-big", - icon = ICONPATH .. "big-wooden-pole.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "big-wooden-pole.png", - icon_size = 64, - } - }, - -- This is necessary for "Space Exploration" (if not true, the entity can only be - -- placed on Nauvis)! - se_allow_in_space = true, - flags = {"placeable-neutral", "player-creation"}, - minable = {hardness = 0.2, mining_time = 0.5, result = "bi-wooden-pole-big"}, - max_health = 150, - corpse = "medium-remnants", - resistances = { - { - type = "fire", - percent = 100 - }, - { - type = "physical", - percent = 10 - } - }, - collision_box = {{-0.3, -0.3}, {0.3, 0.3}}, - selection_box = {{-0.5, -0.5}, {0.5, 0.5}}, - drawing_box = {{-1, -6}, {1, 0.5}}, - maximum_wire_distance = 24, - supply_area_distance = 1.5, -- This is the radius, so the supply area is 3x3. - pictures = { - filename = WOODPATH .. "big-wooden-pole-01.png", - priority = "high", - width = 180, - height = 180, - axially_symmetrical = false, - direction_count = 1, - shift = {2.2, -2.5} - }, - connection_points = { - { - shadow = { - copper = {3.3, -0.1}, - green = {3.3, -0.2}, - red = {3.3, -0.3} - }, - wire = { - copper = {0.7, -4.3}, - green = {0.7, -4.3}, - red = {0.7, -4.3} - } - } - }, - copper_wire_picture = { - filename = ENTITYPATH .. "/small-electric-pole/copper-wire.png", - priority = "extra-high-no-scale", - width = 224, - height = 46, - }, - green_wire_picture = { - filename = ENTITYPATH .. "/small-electric-pole/green-wire.png", - priority = "extra-high-no-scale", - width = 224, - height = 46 - }, - red_wire_picture = { - filename = ENTITYPATH .. "/small-electric-pole/red-wire.png", - priority = "extra-high-no-scale", - width = 224, - height = 46 - }, - wire_shadow_picture = { - filename = ENTITYPATH .. "/small-electric-pole/wire-shadow.png", - priority = "extra-high-no-scale", - width = 224, - height = 46 - }, - radius_visualisation_picture = { - filename = ENTITYPATH .. "/small-electric-pole/electric-pole-radius-visualization.png", - width = 12, - height = 12 - }, - } -}) - ----- Huge Wooden Pole -data:extend({ - { - type = "electric-pole", - name = "bi-wooden-pole-huge", - icon = ICONPATH .. "huge-wooden-pole.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "huge-wooden-pole.png", - icon_size = 64, - } - }, - -- This is necessary for "Space Exploration" (if not true, the entity can only be - -- placed on Nauvis)! - se_allow_in_space = true, - flags = {"placeable-neutral", "player-creation"}, - minable = {hardness = 0.2, mining_time = 0.5, result = "bi-wooden-pole-huge"}, - max_health = 250, - corpse = "medium-remnants", - resistances = { - { - type = "fire", - percent = 100 - }, - { - type = "physical", - percent = 10 - } - }, - collision_box = {{-0.3, -0.3}, {0.3, 0.3}}, - selection_box = {{-0.5, -0.5}, {0.5, 0.5}}, - drawing_box = {{-1, -7}, {1, 0.5}}, - maximum_wire_distance = 64, -- Factorio Max - supply_area_distance = 1, -- This is the radius, so the supply area is 2x2. - pictures = { - filename = WOODPATH .. "huge-wooden-pole.png", - priority = "high", - width = 182, - height = 167, - direction_count = 4, - shift = {3, -3.45}, - scale = 1.5, - }, - connection_points = { - { - shadow = { - copper = {5.7, -1.5}, - green = {4.8, -1.5}, - red = {6.6, -1.50} - }, - wire = { - copper = {0, -6.125}, - green = {-0.59375, -6.125}, - red = {0.625, -6.125} - } - }, - { - shadow = { - copper = {6.1, -1.3}, - green = {5.3, -1.8}, - red = {6.8, -0.9} - }, - wire = { - copper = {-0.0625, -6.125}, - green = {-0.5, -6.4375}, - red = {0.34375, -5.8125} - } - }, - { - shadow = { - copper = {5.9, -1.44}, - green = {6.0, -2.1}, - red = {6.0, -0.7} - }, - wire = { - copper = {-0.09375, -6.09375}, - green = {-0.09375, -6.53125}, - red = {-0.09375, -5.65625} - } - }, - { - shadow = { - copper = {6.1, -1.3}, - green = {6.8, -1.8}, - red = {5.35, -0.9} - }, - wire = { - copper = {-0.0625, -6.1875}, - green = {0.375, -6.5}, - red = {-0.46875, -5.90625} - } - } - }, - radius_visualisation_picture = { - filename = ENTITYPATH .. "/small-electric-pole/electric-pole-radius-visualization.png", - width = 12, - height = 12, - priority = "extra-high-no-scale" - }, - }, -}) - ----- Wood Fence -data:extend({ - { - type = "wall", - name = "bi-wooden-fence", - icon = ICONPATH .. "wooden-fence.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "wooden-fence.png", - icon_size = 64, - } - }, - flags = {"placeable-neutral", "player-creation"}, - collision_box = {{-0.29, -0.09}, {0.29, 0.49}}, - selection_box = {{-0.5, -0.5}, {0.5, 0.5}}, - minable = {mining_time = 1, result = "bi-wooden-fence"}, - fast_replaceable_group = "wall", - max_health = 150, - repair_speed_modifier = 2, - corpse = "wall-remnants", - repair_sound = { filename = "__base__/sound/manual-repair-simple.ogg" }, - impact_category = "wood", - resistances = { - { - type = "physical", - decrease = 2, - percent = 15 - }, - { - type = "fire", - percent = -25 - }, - { - type = "impact", - decrease = 15, - percent = 20 - } - }, - pictures = { - single = { - layers = { - { - filename = WOODPATH .. "wood_fence/fence-single-1.png", - priority = "extra-high", - width = 7, - height = 46, - shift = {0, -0.15625} - }, - { - filename = WOODPATH .. "wood_fence/fence-single-shadow.png", - priority = "extra-high", - width = 38, - height = 25, - shift = {0.459375, 0.75}, - draw_as_shadow = true - } - } - }, - straight_vertical = { - { - layers = { - { - filename = WOODPATH .. "wood_fence/fence-straight-vertical-1.png", - priority = "extra-high", - width = 7, - height = 53, - shift = {0, -0.15625} - }, - { - filename = WOODPATH .. "wood_fence/fence-straight-vertical-shadow.png", - priority = "extra-high", - width = 39, - height = 66, - shift = {0.490625, 1.425}, - draw_as_shadow = true - } - } - }, - { - layers = { - { - filename = WOODPATH .. "wood_fence/fence-straight-vertical-1.png", - priority = "extra-high", - width = 7, - height = 53, - shift = {0, -0.15625} - }, - { - filename = WOODPATH .. "wood_fence/fence-straight-vertical-shadow.png", - priority = "extra-high", - width = 39, - height = 66, - shift = {0.490625, 1.425}, - draw_as_shadow = true - } - } - }, - { - layers = { - { - filename = WOODPATH .. "wood_fence/fence-straight-vertical-1.png", - priority = "extra-high", - width = 7, - height = 53, - shift = {0, -0.15625} - }, - { - filename = WOODPATH .. "wood_fence/fence-straight-vertical-shadow.png", - priority = "extra-high", - width = 39, - height = 66, - shift = {0.490625, 1.425}, - draw_as_shadow = true - } - } - } - }, - straight_horizontal = { - { - layers = { - { - filename = WOODPATH .. "wood_fence/fence-straight-horizontal-1.png", - priority = "extra-high", - width = 34, - height = 47, - shift = {0, -0.15625} - }, - { - filename = WOODPATH .. "wood_fence/fence-straight-horizontal-shadow.png", - priority = "extra-high", - width = 84, - height = 28, - shift = {0.421875, 0.85}, - draw_as_shadow = true - } - } - }, - { - layers = { - { - filename = WOODPATH .. "wood_fence/fence-straight-horizontal-2.png", - priority = "extra-high", - width = 34, - height = 47, - shift = {0, -0.15625} - }, - { - filename = WOODPATH .. "wood_fence/fence-straight-horizontal-shadow.png", - priority = "extra-high", - width = 84, - height = 28, - shift = {0.421875, 0.85}, - draw_as_shadow = true - } - } - }, - { - layers = { - { - filename = WOODPATH .. "wood_fence/fence-straight-horizontal-3.png", - priority = "extra-high", - width = 34, - height = 47, - shift = {0, -0.15625} - }, - { - filename = WOODPATH .. "wood_fence/fence-straight-horizontal-shadow.png", - priority = "extra-high", - width = 84, - height = 28, - shift = {0.421875, 0.85}, - draw_as_shadow = true - } - } - } - }, - corner_right_down = { - layers = { - { - filename = WOODPATH .. "wood_fence/fence-corner-right-down.png", - priority = "extra-high", - width = 23, - height = 53, - shift = {0.248125, -0.07625} - }, - { - filename = WOODPATH .. "wood_fence/fence-corner-right-down-shadow.png", - priority = "extra-high", - width = 52, - height = 56, - shift = {0.724375, 1.30625}, - draw_as_shadow = true - } - } - }, - corner_left_down = { - layers = { - { - filename = WOODPATH .. "wood_fence/fence-corner-left-down.png", - priority = "extra-high", - width = 21, - height = 53, - shift = {-0.248125, -0.07625} - }, - { - filename = WOODPATH .. "wood_fence/fence-corner-left-down-shadow.png", - priority = "extra-high", - width = 60, - height = 56, - shift = {0.128125, 1.30625}, - draw_as_shadow = true - } - } - }, - t_up = { - layers = { - { - filename = WOODPATH .. "wood_fence/fence-t-down.png", - priority = "extra-high", - width = 34, - height = 53, - shift = {0, -0.07625} - }, - { - filename = WOODPATH .. "wood_fence/fence-t-down-shadow.png", - priority = "extra-high", - width = 71, - height = 55, - shift = {0.286875, 1.280625}, - draw_as_shadow = true - } - } - }, - ending_right = { - layers = { - { - filename = WOODPATH .. "wood_fence/fence-ending-right.png", - priority = "extra-high", - width = 23, - height = 47, - shift = {0.248125, -0.15625} - }, - { - filename = WOODPATH .. "wood_fence/fence-ending-right-shadow.png", - priority = "extra-high", - width = 49, - height = 27, - shift = {0.684375, 0.85}, - draw_as_shadow = true - } - } - }, - ending_left = { - layers = { - { - filename = WOODPATH .. "wood_fence/fence-ending-left.png", - priority = "extra-high", - width = 21, - height = 47, - shift = {-0.248125, -0.15625} - }, - { - filename = WOODPATH .. "wood_fence/fence-ending-left-shadow.png", - priority = "extra-high", - width = 63, - height = 27, - shift = {0.128125, 0.85}, - draw_as_shadow = true - } - } - } - } - }, -}) - ----- Wood Pipe -data:extend({ - { - type = "pipe", - name = "bi-wood-pipe", - icon = ICONPATH .. "wood_pipe.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "wood_pipe.png", - icon_size = 64, - } - }, - flags = {"placeable-neutral", "player-creation"}, - minable = {mining_time = 0.075, result = "bi-wood-pipe"}, - max_health = 100, - corpse = "small-remnants", - resistances = { - { - type = "fire", - percent = 20 - }, - { - type = "impact", - percent = 30 - } - }, - fast_replaceable_group = "pipe", - collision_box = {{-0.29, -0.29}, {0.29, 0.29}}, - selection_box = {{-0.5, -0.5}, {0.5, 0.5}}, - fluid_box = { - volume = 100, - pipe_connections = { - { direction = defines.direction.north, position = {0, 0} }, - { direction = defines.direction.east, position = {0, 0} }, - { direction = defines.direction.south, position = {0, 0} }, - { direction = defines.direction.west, position = {0, 0} } - }, - }, - pictures = pipepictures_w(), - working_sound = { - sound = { - { - filename = "__base__/sound/pipe.ogg", - volume = 0.85 - }, - }, - match_volume_to_activity = true, - max_sounds_per_type = 3 - }, - horizontal_window_bounding_box = {{-0.25, -0.28125}, {0.25, 0.15625}}, - vertical_window_bounding_box = {{-0.28125, -0.5}, {0.03125, 0.125}} - }, -}) - ----- Wood Pipe to Ground -data:extend({ - { - type = "pipe-to-ground", - name = "bi-wood-pipe-to-ground", - icon = ICONPATH .. "pipe-to-ground-wood.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "pipe-to-ground-wood.png", - icon_size = 64, - } - }, - flags = {"placeable-neutral", "player-creation"}, - minable = {mining_time = 0.075, result = "bi-wood-pipe-to-ground"}, - max_health = 150, - corpse = "small-remnants", - resistances = { - { - type = "fire", - percent = 20 - }, - { - type = "impact", - percent = 40 - } - }, - fast_replaceable_group = "pipe", - collision_box = {{-0.29, -0.29}, {0.29, 0.2}}, - selection_box = {{-0.5, -0.5}, {0.5, 0.5}}, - fluid_box = { - volume = 100, - pipe_covers = pipecoverspictures(), - pipe_connections = { - { direction = defines.direction.north, position = {0, 0} }, - { - direction = defines.direction.south, - position = {0, 0}, - connection_type = "underground", - max_underground_distance = 10 - } - }, - }, - underground_sprite = { - filename = "__core__/graphics/arrows/underground-lines.png", - priority = "extra-high-no-scale", - size = 64, - scale = 0.5 - }, - pictures = { - north = { - filename = ENTITYPATH .. "/pipe-to-ground/pipe-to-ground-up.png", - priority = "extra-high", - size = 128, - scale = 0.5 - }, - south = { - filename = ENTITYPATH .. "/pipe-to-ground/pipe-to-ground-down.png", - priority = "extra-high", - size = 128, - scale = 0.5 - }, - west = { - filename = ENTITYPATH .. "/pipe-to-ground/pipe-to-ground-left.png", - priority = "extra-high", - size = 128, - scale = 0.5 - }, - east = { - filename = ENTITYPATH .. "/pipe-to-ground/pipe-to-ground-right.png", - priority = "extra-high", - size = 128, - scale = 0.5 - }, - }, - }, +local tile_graphics = require("__base__/prototypes/tile/tile-graphics") +local BioInd = require('common')('Bio_Industries_2') +local ICONPATH = BioInd.modRoot .. "/graphics/icons/" +local ICONPATH_E = BioInd.modRoot .. "/graphics/icons/entity/" +local WOODPATH = BioInd.modRoot .. "/graphics/entities/wood_products/" +local REMNANTSPATH = BioInd.modRoot .. "/graphics/entities/remnants/" +local ENTITYPATH = "__base__/graphics/entity/" +local PIPEPATH = ENTITYPATH .. "pipe/" +local SNDPATH = "__base__/sound/" + +local sounds = {} +sounds.walking_sound = {} + for i = 1, 11 do + sounds.walking_sound[i] = { + filename = SNDPATH .. "walking/concrete-" .. i ..".ogg", + volume = 1.2 + } + end + +-- Used for Wooden Pipe Pictures +pipepictures_w = function() + return { + straight_vertical_single = { + filename = PIPEPATH .. "pipe-straight-vertical-single.png", + priority = "extra-high", + width = 160, + height = 160, + scale = 0.5 + }, + straight_vertical = { + filename = PIPEPATH .. "pipe-straight-vertical.png", + priority = "extra-high", + size = 128, + scale = 0.5 + }, + straight_vertical_window = { + filename = PIPEPATH .. "pipe-straight-vertical-window.png", + priority = "extra-high", + size = 128, + scale = 0.5 + }, + straight_horizontal_window = { + filename = PIPEPATH .. "pipe-straight-horizontal-window.png", + priority = "extra-high", + size = 128, + scale = 0.5 + }, + straight_horizontal = { + filename = PIPEPATH .. "pipe-straight-horizontal.png", + priority = "extra-high", + size = 128, + scale = 0.5 + }, + corner_up_right = { + filename = PIPEPATH .. "pipe-corner-up-right.png", + priority = "extra-high", + size = 128, + scale = 0.5 + }, + corner_up_left = { + filename = PIPEPATH .. "pipe-corner-up-left.png", + priority = "extra-high", + size = 128, + scale = 0.5 + }, + corner_down_right = { + filename = PIPEPATH .. "pipe-corner-down-right.png", + priority = "extra-high", + size = 128, + scale = 0.5 + }, + corner_down_left = { + filename = PIPEPATH .. "pipe-corner-down-left.png", + priority = "extra-high", + size = 128, + scale = 0.5 + }, + t_up = { + filename = PIPEPATH .. "pipe-t-up.png", + priority = "extra-high", + size = 128, + scale = 0.5 + }, + t_down = { + filename = PIPEPATH .. "pipe-t-down.png", + priority = "extra-high", + size = 128, + scale = 0.5 + }, + t_right = { + filename = PIPEPATH .. "pipe-t-right.png", + priority = "extra-high", + size = 128, + scale = 0.5 + }, + t_left = { + filename = PIPEPATH .. "pipe-t-left.png", + priority = "extra-high", + size = 128, + scale = 0.5 + }, + cross = { + filename = PIPEPATH .. "pipe-cross.png", + priority = "extra-high", + size = 128, + scale = 0.5 + }, + ending_up = { + filename = PIPEPATH .. "pipe-ending-up.png", + priority = "extra-high", + size = 128, + scale = 0.5 + }, + ending_down = { + filename = PIPEPATH .. "pipe-ending-down.png", + priority = "extra-high", + size = 128, + scale = 0.5 + }, + ending_right = { + filename = PIPEPATH .. "pipe-ending-right.png", + priority = "extra-high", + size = 128, + scale = 0.5 + }, + ending_left = { + filename = PIPEPATH .. "pipe-ending-left.png", + priority = "extra-high", + size = 128, + scale = 0.5 + }, + horizontal_window_background = { + filename = PIPEPATH .. "pipe-horizontal-window-background.png", + priority = "extra-high", + size = 128, + scale = 0.5 + }, + vertical_window_background = { + filename = PIPEPATH .. "pipe-vertical-window-background.png", + priority = "extra-high", + size = 128, + scale = 0.5 + }, + fluid_background = { + filename = PIPEPATH .. "fluid-background.png", + priority = "extra-high", + width = 64, + height = 40, + scale = 0.5 + }, + low_temperature_flow = { + filename = PIPEPATH .. "fluid-flow-low-temperature.png", + priority = "extra-high", + width = 160, + height = 18 + }, + middle_temperature_flow = { + filename = PIPEPATH .. "fluid-flow-medium-temperature.png", + priority = "extra-high", + width = 160, + height = 18 + }, + high_temperature_flow = { + filename = PIPEPATH .. "fluid-flow-high-temperature.png", + priority = "extra-high", + width = 160, + height = 18 + }, + gas_flow = { + filename = PIPEPATH .. "steam.png", + priority = "extra-high", + line_length = 10, + width = 48, + height = 30, + frame_count = 60, + axially_symmetrical = false, + direction_count = 1 + } + } +end + +---- Wood Floor +data:extend({ + { + type = "tile", + name = "bi-wood-floor", + needs_correction = false, + minable = {hardness = 0.2, mining_time = 0.25, result = "wood"}, + mined_sound = { filename = "__base__/sound/deconstruct-bricks.ogg" }, + collision_mask = { layers = { ground_tile = true } }, + walking_speed_modifier = 1.2, + layer = 13, + decorative_removal_probability = 1, + variants = { + transition = tile_graphics.generic_masked_tile_transitions1, + main = { + { + picture = WOODPATH .. "wood_floor/woodfloor.png", + count = 4, + size = 1, + scale = 0.5 + }, + }, + inner_corner = { + picture = WOODPATH .. "wood_floor/woodfloor_inner-corner.png", + count = 4 + }, + outer_corner = { + picture = WOODPATH .. "wood_floor/woodfloor_outer-corner.png", + count = 4, + scale = 0.5 + }, + side = { + picture = WOODPATH .. "wood_floor/woodfloor_side.png", + count = 4, + scale = 0.5 + }, + u_transition = { + picture = WOODPATH .. "wood_floor/woodfloor_u.png", + count = 4, + scale = 0.5 + }, + o_transition = { + picture = WOODPATH .. "wood_floor/hr_woodfloor_o.png", + count = 1, + scale = 0.5 + } + }, + walking_sound = sounds.walking_sound, + map_color = {r = 139, g = 115, b = 85}, + vehicle_friction_modifier = dirt_vehicle_speed_modifer + }, +}) + +---- Big Wooden Pole +data:extend({ + { + type = "electric-pole", + name = "bi-wooden-pole-big", + icons = { {icon = ICONPATH_E .. "big-wooden-pole.png", icon_size = 64, } }, + -- This is necessary for "Space Exploration" (if not true, the entity can only be + -- placed on Nauvis)! + se_allow_in_space = true, + flags = {"placeable-neutral", "player-creation"}, + minable = {hardness = 0.2, mining_time = 0.5, result = "bi-wooden-pole-big"}, + max_health = 150, + corpse = "bi-wooden-pole-big-remnant", + resistances = { + { + type = "fire", + percent = 100 + }, + { + type = "physical", + percent = 10 + } + }, + collision_box = {{-0.3, -0.3}, {0.3, 0.3}}, + selection_box = {{-0.5, -0.5}, {0.5, 0.5}}, + drawing_box = {{-1, -6}, {1, 0.5}}, + maximum_wire_distance = 24, + supply_area_distance = 1.5, -- This is the radius, so the supply area is 3x3. + pictures = { + filename = WOODPATH .. "big-wooden-pole-01.png", + priority = "high", + width = 180, + height = 180, + axially_symmetrical = false, + direction_count = 1, + shift = {2.2, -2.5} + }, + connection_points = { + { + shadow = { + copper = {3.3, -0.1}, + green = {3.3, -0.2}, + red = {3.3, -0.3} + }, + wire = { + copper = {0.7, -4.3}, + green = {0.7, -4.3}, + red = {0.7, -4.3} + } + } + }, + copper_wire_picture = { + filename = ENTITYPATH .. "/small-electric-pole/copper-wire.png", + priority = "extra-high-no-scale", + width = 224, + height = 46, + }, + green_wire_picture = { + filename = ENTITYPATH .. "/small-electric-pole/green-wire.png", + priority = "extra-high-no-scale", + width = 224, + height = 46 + }, + red_wire_picture = { + filename = ENTITYPATH .. "/small-electric-pole/red-wire.png", + priority = "extra-high-no-scale", + width = 224, + height = 46 + }, + wire_shadow_picture = { + filename = ENTITYPATH .. "/small-electric-pole/wire-shadow.png", + priority = "extra-high-no-scale", + width = 224, + height = 46 + }, + radius_visualisation_picture = { + filename = ENTITYPATH .. "/small-electric-pole/electric-pole-radius-visualization.png", + width = 12, + height = 12 + }, + }, + + ---- corpse + { + type = "corpse", + name = "bi-wooden-pole-big-remnant", + localised_name = {"entity-name.bi-wooden-pole-big-remnant"}, + icon = "__base__/graphics/icons/remnants.png", + icon_size = 64, + BI_add_icon = true, + flags = {"placeable-neutral", "building-direction-8-way", "not-on-map"}, + subgroup = "remnants", + order = "z-z-z", + selection_box = {{-0.5, -0.5}, {0.5, 0.5}}, + tile_width = 1, + tile_height = 1, + selectable_in_game = false, + time_before_removed = 60 * 60 * 15, -- 15 minutes + final_render_layer = "remnants", + remove_on_tile_placement = false, + animation = + { + { + filename = REMNANTSPATH .. "big-wooden-pole_remnant.png", + line_length = 1, + width = 108, + height = 360, + frame_count = 1, + direction_count = 1, + shift = {0, -2.5}, + scale = 0.5 + } + } + }, + +}) + +---- Huge Wooden Pole +data:extend({ + { + type = "electric-pole", + name = "bi-wooden-pole-huge", + icons = { {icon = ICONPATH_E .. "huge-wooden-pole.png", icon_size = 64, } }, + -- This is necessary for "Space Exploration" (if not true, the entity can only be + -- placed on Nauvis)! + se_allow_in_space = true, + flags = {"placeable-neutral", "player-creation"}, + minable = {hardness = 0.2, mining_time = 0.5, result = "bi-wooden-pole-huge"}, + max_health = 250, + corpse = "bi-wooden-pole-huge-remnant", + resistances = { + { + type = "fire", + percent = 100 + }, + { + type = "physical", + percent = 10 + } + }, + collision_box = {{-0.3, -0.3}, {0.3, 0.3}}, + selection_box = {{-0.5, -0.5}, {0.5, 0.5}}, + drawing_box = {{-1, -7}, {1, 0.5}}, + maximum_wire_distance = 64, -- Factorio Max + supply_area_distance = 2, -- This is the radius, so the supply area is 4x4. + pictures = { + filename = WOODPATH .. "huge-wooden-pole.png", + priority = "high", + width = 182, + height = 167, + direction_count = 4, + shift = {3, -3.45}, + scale = 1.5, + }, + connection_points = { + { + shadow = { + copper = {5.7, -1.5}, + green = {4.8, -1.5}, + red = {6.6, -1.50} + }, + wire = { + copper = {0, -6.125}, + green = {-0.59375, -6.125}, + red = {0.625, -6.125} + } + }, + { + shadow = { + copper = {6.1, -1.3}, + green = {5.3, -1.8}, + red = {6.8, -0.9} + }, + wire = { + copper = {-0.0625, -6.125}, + green = {-0.5, -6.4375}, + red = {0.34375, -5.8125} + } + }, + { + shadow = { + copper = {5.9, -1.44}, + green = {6.0, -2.1}, + red = {6.0, -0.7} + }, + wire = { + copper = {-0.09375, -6.09375}, + green = {-0.09375, -6.53125}, + red = {-0.09375, -5.65625} + } + }, + { + shadow = { + copper = {6.1, -1.3}, + green = {6.8, -1.8}, + red = {5.35, -0.9} + }, + wire = { + copper = {-0.0625, -6.1875}, + green = {0.375, -6.5}, + red = {-0.46875, -5.90625} + } + } + }, + radius_visualisation_picture = { + filename = ENTITYPATH .. "/small-electric-pole/electric-pole-radius-visualization.png", + width = 12, + height = 12, + priority = "extra-high-no-scale" + }, + }, + + ---- corpse + { + type = "corpse", + name = "bi-wooden-pole-huge-remnant", + localised_name = {"entity-name.bi-wooden-pole-huge-remnant"}, + icon = "__base__/graphics/icons/remnants.png", + icon_size = 64, + BI_add_icon = true, + flags = {"placeable-neutral", "building-direction-8-way", "not-on-map"}, + subgroup = "remnants", + order = "z-z-z", + selection_box = {{-0.5, -0.5}, {0.5, 0.5}}, + tile_width = 1, + tile_height = 1, + selectable_in_game = false, + time_before_removed = 60 * 60 * 15, -- 15 minutes + final_render_layer = "remnants", + remove_on_tile_placement = false, + animation = + { + { + filename = REMNANTSPATH .. "huge_wooden_pole_remnant.png", + line_length = 1, + width = 128, + height = 402, + frame_count = 1, + direction_count = 1, + shift = {0, -2.76}, + scale = 0.5 + } + } +}, + +}) + +---- Wood Fence +data:extend({ + { + type = "wall", + name = "bi-wooden-fence", + icons = { {icon = ICONPATH_E .. "wooden-fence.png", icon_size = 64, } }, + flags = {"placeable-neutral", "player-creation"}, + collision_box = {{-0.29, -0.09}, {0.29, 0.49}}, + selection_box = {{-0.5, -0.5}, {0.5, 0.5}}, + minable = {mining_time = 1, result = "bi-wooden-fence"}, + fast_replaceable_group = "wall", + max_health = 150, + repair_speed_modifier = 2, + corpse = "wall-remnants", + repair_sound = { filename = "__base__/sound/manual-repair-simple.ogg" }, + impact_category = "wood", + resistances = { + { + type = "physical", + decrease = 2, + percent = 15 + }, + { + type = "fire", + percent = -25 + }, + { + type = "impact", + decrease = 15, + percent = 20 + } + }, + pictures = { + single = { + layers = { + { + filename = WOODPATH .. "wood_fence/fence-single-1.png", + priority = "extra-high", + width = 7, + height = 46, + shift = {0, -0.15625} + }, + { + filename = WOODPATH .. "wood_fence/fence-single-shadow.png", + priority = "extra-high", + width = 38, + height = 25, + shift = {0.459375, 0.75}, + draw_as_shadow = true + } + } + }, + straight_vertical = { + { + layers = { + { + filename = WOODPATH .. "wood_fence/fence-straight-vertical-1.png", + priority = "extra-high", + width = 7, + height = 53, + shift = {0, -0.15625} + }, + { + filename = WOODPATH .. "wood_fence/fence-straight-vertical-shadow.png", + priority = "extra-high", + width = 39, + height = 66, + shift = {0.490625, 1.425}, + draw_as_shadow = true + } + } + }, + { + layers = { + { + filename = WOODPATH .. "wood_fence/fence-straight-vertical-1.png", + priority = "extra-high", + width = 7, + height = 53, + shift = {0, -0.15625} + }, + { + filename = WOODPATH .. "wood_fence/fence-straight-vertical-shadow.png", + priority = "extra-high", + width = 39, + height = 66, + shift = {0.490625, 1.425}, + draw_as_shadow = true + } + } + }, + { + layers = { + { + filename = WOODPATH .. "wood_fence/fence-straight-vertical-1.png", + priority = "extra-high", + width = 7, + height = 53, + shift = {0, -0.15625} + }, + { + filename = WOODPATH .. "wood_fence/fence-straight-vertical-shadow.png", + priority = "extra-high", + width = 39, + height = 66, + shift = {0.490625, 1.425}, + draw_as_shadow = true + } + } + } + }, + straight_horizontal = { + { + layers = { + { + filename = WOODPATH .. "wood_fence/fence-straight-horizontal-1.png", + priority = "extra-high", + width = 34, + height = 47, + shift = {0, -0.15625} + }, + { + filename = WOODPATH .. "wood_fence/fence-straight-horizontal-shadow.png", + priority = "extra-high", + width = 84, + height = 28, + shift = {0.421875, 0.85}, + draw_as_shadow = true + } + } + }, + { + layers = { + { + filename = WOODPATH .. "wood_fence/fence-straight-horizontal-2.png", + priority = "extra-high", + width = 34, + height = 47, + shift = {0, -0.15625} + }, + { + filename = WOODPATH .. "wood_fence/fence-straight-horizontal-shadow.png", + priority = "extra-high", + width = 84, + height = 28, + shift = {0.421875, 0.85}, + draw_as_shadow = true + } + } + }, + { + layers = { + { + filename = WOODPATH .. "wood_fence/fence-straight-horizontal-3.png", + priority = "extra-high", + width = 34, + height = 47, + shift = {0, -0.15625} + }, + { + filename = WOODPATH .. "wood_fence/fence-straight-horizontal-shadow.png", + priority = "extra-high", + width = 84, + height = 28, + shift = {0.421875, 0.85}, + draw_as_shadow = true + } + } + } + }, + corner_right_down = { + layers = { + { + filename = WOODPATH .. "wood_fence/fence-corner-right-down.png", + priority = "extra-high", + width = 23, + height = 53, + shift = {0.248125, -0.07625} + }, + { + filename = WOODPATH .. "wood_fence/fence-corner-right-down-shadow.png", + priority = "extra-high", + width = 52, + height = 56, + shift = {0.724375, 1.30625}, + draw_as_shadow = true + } + } + }, + corner_left_down = { + layers = { + { + filename = WOODPATH .. "wood_fence/fence-corner-left-down.png", + priority = "extra-high", + width = 21, + height = 53, + shift = {-0.248125, -0.07625} + }, + { + filename = WOODPATH .. "wood_fence/fence-corner-left-down-shadow.png", + priority = "extra-high", + width = 60, + height = 56, + shift = {0.128125, 1.30625}, + draw_as_shadow = true + } + } + }, + t_up = { + layers = { + { + filename = WOODPATH .. "wood_fence/fence-t-down.png", + priority = "extra-high", + width = 34, + height = 53, + shift = {0, -0.07625} + }, + { + filename = WOODPATH .. "wood_fence/fence-t-down-shadow.png", + priority = "extra-high", + width = 71, + height = 55, + shift = {0.286875, 1.280625}, + draw_as_shadow = true + } + } + }, + ending_right = { + layers = { + { + filename = WOODPATH .. "wood_fence/fence-ending-right.png", + priority = "extra-high", + width = 23, + height = 47, + shift = {0.248125, -0.15625} + }, + { + filename = WOODPATH .. "wood_fence/fence-ending-right-shadow.png", + priority = "extra-high", + width = 49, + height = 27, + shift = {0.684375, 0.85}, + draw_as_shadow = true + } + } + }, + ending_left = { + layers = { + { + filename = WOODPATH .. "wood_fence/fence-ending-left.png", + priority = "extra-high", + width = 21, + height = 47, + shift = {-0.248125, -0.15625} + }, + { + filename = WOODPATH .. "wood_fence/fence-ending-left-shadow.png", + priority = "extra-high", + width = 63, + height = 27, + shift = {0.128125, 0.85}, + draw_as_shadow = true + } + } + } + } + }, + --- corpse + { + type = "corpse", + name = "bi-wooden-fence-remnant", + localised_name = {"entity-name.bi-wooden-fence-remnant"}, + icon = "__base__/graphics/icons/remnants.png", + icon_size = 64, + icon_mipmaps = 4, + BI_add_icon = true, + flags = {"placeable-neutral", "building-direction-8-way", "not-on-map"}, + subgroup = "remnants", + order = "z-z-z", + selection_box = {{-0.5, -0.5}, {0.5, 0.5}}, + tile_width = 1, + tile_height = 1, + selectable_in_game = false, + time_before_removed = 60 * 60 * 15, -- 15 minutes + final_render_layer = "remnants", + remove_on_tile_placement = false, + animation = + { + { + filename = REMNANTSPATH .. "wooden_fence_remnant.png", + line_length = 1, + width = 128, + height = 128, + frame_count = 1, + direction_count = 1, + shift = {0, 0}, + scale = 0.5 + } + } + }, + +}) + +---- Wood Pipe +data:extend({ + { + type = "pipe", + name = "bi-wood-pipe", + icons = { {icon = ICONPATH_E .. "wood_pipe.png", icon_size = 64, } }, + flags = {"placeable-neutral", "player-creation"}, + minable = {mining_time = 0.075, result = "bi-wood-pipe"}, + max_health = 100, + corpse = "bi-wood-pipe-remnant", + resistances = { + { + type = "fire", + percent = 20 + }, + { + type = "impact", + percent = 30 + } + }, + fast_replaceable_group = "pipe", + collision_box = {{-0.29, -0.29}, {0.29, 0.29}}, + selection_box = {{-0.5, -0.5}, {0.5, 0.5}}, + fluid_box = { + volume = 100, + pipe_connections = { + { direction = defines.direction.north, position = {0, 0} }, + { direction = defines.direction.east, position = {0, 0} }, + { direction = defines.direction.south, position = {0, 0} }, + { direction = defines.direction.west, position = {0, 0} } + }, + }, + pictures = pipepictures_w(), + working_sound = { + sound = { + { + filename = "__base__/sound/pipe.ogg", + volume = 0.85 + }, + }, + match_volume_to_activity = true, + max_sounds_per_type = 3 + }, + horizontal_window_bounding_box = {{-0.25, -0.28125}, {0.25, 0.15625}}, + vertical_window_bounding_box = {{-0.28125, -0.5}, {0.03125, 0.125}} + }, + + ---- corpse + { + type = "corpse", + name = "bi-wood-pipe-remnant", + localised_name = {"entity-name.bi-wood-pipe-remnant"}, + icon = "__base__/graphics/icons/remnants.png", + icon_size = 64, + icon_mipmaps = 4, + BI_add_icon = true, + flags = {"placeable-neutral", "building-direction-8-way", "not-on-map"}, + subgroup = "remnants", + order = "z-z-z", + selection_box = {{-0.5, -0.5}, {0.5, 0.5}}, + tile_width = 1, + tile_height = 1, + selectable_in_game = false, + time_before_removed = 60 * 60 * 15, -- 15 minutes + final_render_layer = "remnants", + remove_on_tile_placement = false, + animation = + { + { + filename = REMNANTSPATH .. "woodpipe_remnant.png", + line_length = 1, + width = 128, + height = 128, + frame_count = 1, + direction_count = 1, + shift = {0,0}, + scale = 0.5 + } + } +}, + + +}) + +---- Wood Pipe to Ground +data:extend({ + { + type = "pipe-to-ground", + name = "bi-wood-pipe-to-ground", + icon = ICONPATH_E .. "pipe-to-ground-wood.png", + icon_size = 64, + icons = { + { + icon = ICONPATH_E .. "pipe-to-ground-wood.png", + icon_size = 64, + } + }, + flags = {"placeable-neutral", "player-creation"}, + minable = {mining_time = 0.075, result = "bi-wood-pipe-to-ground"}, + max_health = 150, + corpse = "bi-wood-pipe-remnant", + resistances = { + { + type = "fire", + percent = 20 + }, + { + type = "impact", + percent = 40 + } + }, + fast_replaceable_group = "pipe", + collision_box = {{-0.29, -0.29}, {0.29, 0.2}}, + selection_box = {{-0.5, -0.5}, {0.5, 0.5}}, + fluid_box = { + volume = 100, + pipe_covers = pipecoverspictures(), + pipe_connections = { + { direction = defines.direction.north, position = {0, 0} }, + { + direction = defines.direction.south, + position = {0, 0}, + connection_type = "underground", + max_underground_distance = 10 + } + }, + }, + underground_sprite = { + filename = "__core__/graphics/arrows/underground-lines.png", + priority = "extra-high-no-scale", + size = 64, + scale = 0.5 + }, + pictures = { + north = { + filename = ENTITYPATH .. "/pipe-to-ground/pipe-to-ground-up.png", + priority = "extra-high", + size = 128, + scale = 0.5 + }, + south = { + filename = ENTITYPATH .. "/pipe-to-ground/pipe-to-ground-down.png", + priority = "extra-high", + size = 128, + scale = 0.5 + }, + west = { + filename = ENTITYPATH .. "/pipe-to-ground/pipe-to-ground-left.png", + priority = "extra-high", + size = 128, + scale = 0.5 + }, + east = { + filename = ENTITYPATH .. "/pipe-to-ground/pipe-to-ground-right.png", + priority = "extra-high", + size = 128, + scale = 0.5 + }, + }, + }, }) \ No newline at end of file diff --git a/Bio_Industries_2/prototypes/Wood_Products/item.lua b/Bio_Industries_2/prototypes/Wood_Products/item.lua index bee8f2e..c858d96 100644 --- a/Bio_Industries_2/prototypes/Wood_Products/item.lua +++ b/Bio_Industries_2/prototypes/Wood_Products/item.lua @@ -1,116 +1,80 @@ -local BioInd = require('common')('Bio_Industries_2') - -local ICONPATH = BioInd.modRoot .. "/graphics/icons/" - -data:extend({ - - --- Big Wooden Electric Pole - { - type = "item", - name = "bi-wooden-pole-big", - localised_name = {"entity-name.bi-wooden-pole-big"}, - localised_description = {"entity-description.bi-wooden-pole-big"}, - icon = ICONPATH .. "big-wooden-pole.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "big-wooden-pole.png", - icon_size = 64, - } - }, - subgroup = "energy-pipe-distribution", - order = "a[energy]-b[small-electric-pole]", - place_result = "bi-wooden-pole-big", - fuel_value = "14MJ", - fuel_category = "chemical", - stack_size = 50 - }, - - --- Huge Wooden Pole - { - type = "item", - name = "bi-wooden-pole-huge", - localised_name = {"entity-name.bi-wooden-pole-huge"}, - localised_description = {"entity-description.bi-wooden-pole-huge"}, - icon = ICONPATH .. "huge-wooden-pole.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "huge-wooden-pole.png", - icon_size = 64, - } - }, - subgroup = "energy-pipe-distribution", - order = "a[energy]-d[big-electric-pole]", - place_result = "bi-wooden-pole-huge", - fuel_value = "90MJ", - fuel_category = "chemical", - stack_size = 50 - }, - - -- Wooden Fence - { - type = "item", - name = "bi-wooden-fence", - localised_name = {"entity-name.bi-wooden-fence"}, - localised_description = {"entity-description.bi-wooden-fence"}, - icon = ICONPATH .. "wooden-fence.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "wooden-fence.png", - icon_size = 64, - } - }, - subgroup = "defensive-structure", - order = "a-a[stone-wall]-a[wooden-fence]", - place_result = "bi-wooden-fence", - fuel_value = "4MJ", - fuel_category = "chemical", - stack_size = 50 - }, - - --- Wood Pipe - { - type = "item", - name = "bi-wood-pipe", - localised_name = {"entity-name.bi-wood-pipe"}, - localised_description = {"entity-description.bi-wood-pipe"}, - icon = ICONPATH .. "wood_pipe.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "wood_pipe.png", - icon_size = 64, - } - }, - subgroup = "energy-pipe-distribution", - order = "a[pipe]-1a[pipe]", - place_result = "bi-wood-pipe", - fuel_value = "4MJ", - fuel_category = "chemical", - stack_size = 100 - }, - - --- Wood Pipe to Ground - { - type = "item", - name = "bi-wood-pipe-to-ground", - localised_name = {"entity-name.bi-wood-pipe-to-ground"}, - localised_description = {"entity-description.bi-wood-pipe-to-ground"}, - icon = ICONPATH .. "pipe-to-ground-wood.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "pipe-to-ground-wood.png", - icon_size = 64, - } - }, - subgroup = "energy-pipe-distribution", - order = "a[pipe]-1b[pipe-to-ground]", - place_result = "bi-wood-pipe-to-ground", - fuel_value = "20MJ", - fuel_category = "chemical", - stack_size = 50 - }, -}) +local BioInd = require('common')('Bio_Industries_2') +local ICONPATH = BioInd.modRoot .. "/graphics/icons/" +local ICONPATH_E = BioInd.modRoot .. "/graphics/icons/entity/" +local item_sounds = require("__base__.prototypes.item_sounds") + +data:extend({ + + --- Big Wooden Electric Pole + { + type = "item", + name = "bi-wooden-pole-big", + localised_name = {"entity-name.bi-wooden-pole-big"}, + localised_description = {"entity-description.bi-wooden-pole-big"}, + icons = { {icon = ICONPATH_E .. "big-wooden-pole.png", icon_size = 64, } }, + subgroup = "energy-pipe-distribution", + order = "a[energy]-b[small-electric-pole]", + place_result = "bi-wooden-pole-big", + stack_size = 50 + }, + + --- Huge Wooden Pole + { + type = "item", + name = "bi-wooden-pole-huge", + localised_name = {"entity-name.bi-wooden-pole-huge"}, + localised_description = {"entity-description.bi-wooden-pole-huge"}, + icons = { {icon = ICONPATH_E .. "huge-wooden-pole.png", icon_size = 64, } }, + subgroup = "energy-pipe-distribution", + order = "a[energy]-d[big-electric-pole]", + place_result = "bi-wooden-pole-huge", + stack_size = 50 + }, + + -- Wooden Fence + { + type = "item", + name = "bi-wooden-fence", + localised_name = {"entity-name.bi-wooden-fence"}, + localised_description = {"entity-description.bi-wooden-fence"}, + icons = { {icon = ICONPATH_E .. "wooden-fence.png", icon_size = 64, } }, + subgroup = "defensive-structure", + order = "a-a[stone-wall]-a[wooden-fence]", + place_result = "bi-wooden-fence", + fuel_value = "4MJ", + fuel_category = "chemical", + stack_size = 50 + }, + + --- Wood Pipe + { + type = "item", + name = "bi-wood-pipe", + localised_name = {"entity-name.bi-wood-pipe"}, + localised_description = {"entity-description.bi-wood-pipe"}, + icons = { {icon = ICONPATH_E .. "wood_pipe.png", icon_size = 64, } }, + subgroup = "energy-pipe-distribution", + order = "a[pipe]-1a[pipe]", + place_result = "bi-wood-pipe", + fuel_value = "4MJ", + fuel_category = "chemical", + stack_size = 100 + }, + + --- Wood Pipe to Ground + { + type = "item", + name = "bi-wood-pipe-to-ground", + localised_name = {"entity-name.bi-wood-pipe-to-ground"}, + localised_description = {"entity-description.bi-wood-pipe-to-ground"}, + icons = { {icon = ICONPATH_E .. "pipe-to-ground-wood.png", icon_size = 64, } }, + subgroup = "energy-pipe-distribution", + order = "a[pipe]-1b[pipe-to-ground]", + place_result = "bi-wood-pipe-to-ground", + fuel_value = "20MJ", + fuel_category = "chemical", + stack_size = 50 + }, + +}) + diff --git a/Bio_Industries_2/prototypes/Wood_Products/pipes.lua b/Bio_Industries_2/prototypes/Wood_Products/pipes.lua index e786335..9497a38 100644 --- a/Bio_Industries_2/prototypes/Wood_Products/pipes.lua +++ b/Bio_Industries_2/prototypes/Wood_Products/pipes.lua @@ -1,198 +1,223 @@ - - -local pipes_sheet = { - straight_vertical_single = { - number = 11, - position = {x = 0, y = 0}, - size = {x = 8, y = 8}, - }, - - ending_right = { - number = 12, - position = {x = 8, y = 0}, - size = {x = 6, y = 8}, - shift = {x = 1, y = 0}, --where must be center - }, - straight_horizontal_window = { - number = 13, - position = {x = 14, y = 0}, - size = {x = 4, y = 8}, - }, - straight_horizontal = { - number = 14, - position = {x = 18, y = 0}, - size = {x = 4, y = 8}, - }, - ending_left = { - number = 15, - position = {x = 22, y = 0}, - size = {x = 6, y = 8}, - shift = {x = -1, y = 0}, - }, - ending_down = { - number = 21, - position = {x = 0, y = 8}, - size = {x = 8, y = 6}, - shift = {x = 0, y = 1}, - }, - straight_vertical_window = { - number = 31, - position = {x = 0, y = 14}, - size = {x = 8, y = 4}, - }, - straight_vertical = { - number = 41, - position = {x = 0, y = 18}, - size = {x = 8, y = 4}, - }, - ending_up = { - number = 51, - position = {x = 0, y = 22}, - size = {x = 8, y = 6}, - shift = {x = 0, y = -1}, - }, - corner_down_right = { - number = 22, - position = {x = 8, y = 8}, - size = {x = 6, y = 6}, - shift = {x = 1, y = 1}, - }, - t_down = { - number = 23, - position = {x = 14, y = 8}, - size = {x = 4, y = 6}, - shift = {x = 0, y = 1}, - }, - corner_down_left = { - number = 24, - position = {x = 18, y = 8}, - size = {x = 6, y = 6}, - shift = {x = -1, y = 1}, - }, - t_right = { - number = 32, - position = {x = 8, y = 14}, - size = {x = 6, y = 4}, - shift = {x = 1, y = 0}, - }, - cross = { - number = 33, - position = {x = 14, y = 14}, - size = {x = 4, y = 4}, - }, - t_left = { - number = 34, - position = {x = 18, y = 14}, - size = {x = 6, y = 4}, - shift = {x = -1, y = 0}, - }, - corner_up_right = { - number = 42, - position = {x = 8, y = 18}, - size = {x = 6, y = 6}, - shift = {x = 1, y = -1}, - }, - t_up = { - number = 43, - position = {x = 14, y = 18}, - size = {x = 4, y = 6}, - shift = {x = 0, y = -1}, - }, - corner_up_left = { - number = 44, - position = {x = 18, y = 18}, - size = {x = 6, y = 6}, - shift = {x = -1, y = -1}, - }, - - --data.raw[pipe-to-ground][pipe-to-ground].pictures.up - down = { - number = 25, - position = {x = 24, y = 8}, - size = {x = 8, y = 6}, - shift = {x = 0, y = 1}, - }, - up = { - number = 35, - position = {x = 24, y = 14}, - size = {x = 8, y = 6}, - shift = {x = 0, y = -1}, -- not 26 - }, - right = { - number = 52, - position = {x = 8, y = 24}, - size = {x = 6, y = 8}, - shift = {x = 1, y = 0}, - }, - left = { - number = 53, - position = {x = 14, y = 24}, - size = {x = 6, y = 8}, - shift = {x = -1, y = 0}, - } -} - -local sheet_path = "__Bio_Industries_2__/graphics/entities/wood_products/wood_pipe/" -local sheet_name = "pipe_sheet.png" - -function change_graphics (was_picture, sheet_element, quality) - local picture = {} - local k = 1 - if not sheet_element.shift then - sheet_element.shift = {x = 0, y = 0} - end - --BioInd.writeDebug("lq") - picture = was_picture - k = 1 - --BioInd.writeDebug("%s Quality: %s", {sheet_element.number, quality}) - - if not (picture) then - return - end - - local size = sheet_element.size - if type(size) == "number" then - size = {x = size, y = size} - elseif type(size) == "table" and not (size.x and size.y) then - size = {x = size[1], y = size[2]} - end - - picture.filename = sheet_path .. quality .. "_" .. sheet_name - picture.size = {8 * k * size.x, 8 * k * size.y} - picture.scale = 1/k - picture.x = 8 * k * (sheet_element.position.x or sheet_element.position[1]) - picture.y = 8 * k * (sheet_element.position.y or sheet_element.position[2]) - picture.shift = {} - --picture.shift.x = -8/32 * k * sheet_element.shift.x - --picture.shift.y = -8/32 * k * sheet_element.shift.y - picture.shift.x = -8/32 * (sheet_element.shift.x or sheet_element.shift[1]) - picture.shift.y = -8/32 * (sheet_element.shift.y or sheet_element.shift[2]) - --BioInd.writeDebug("%s Quality: %s - Success", {sheet_element.number, quality}) -end - - --------------------------------pipes ---local pipe_pictures = data.raw.pipe.pipe.pictures -local pipe_pictures = data.raw.pipe["bi-wood-pipe"].pictures -for i, was_picture in pairs (pipe_pictures) do - for j, sheet_element in pairs (pipes_sheet) do - if i == j then - --BioInd.writeDebug("%s", {i})) - change_graphics (was_picture, sheet_element, "hq") - change_graphics (was_picture, sheet_element, "lq") - end - end -end - ---------------------------------underground pipes -local pipe_to_ground_pictures = data.raw["pipe-to-ground"]["bi-wood-pipe-to-ground"].pictures - -for i, was_picture in pairs (pipe_to_ground_pictures) do - for j, sheet_element in pairs (pipes_sheet) do - if i == j then - --BioInd.writeDebug("%s", {i}) - change_graphics (was_picture, sheet_element, "hq") - change_graphics (was_picture, sheet_element, "lq") - end - end -end + + +local pipes_sheet = { + straight_vertical_single = { + number = 11, + position = {x = 0, y = 0}, + size = {x = 8, y = 8}, + }, + + ending_right = { + number = 12, + position = {x = 8, y = 0}, + size = {x = 6, y = 8}, + shift = {x = 1, y = 0}, --where must be center + }, + straight_horizontal_window = { + number = 13, + position = {x = 14, y = 0}, + size = {x = 4, y = 8}, + }, + straight_horizontal = { + number = 14, + position = {x = 18, y = 0}, + size = {x = 4, y = 8}, + }, + ending_left = { + number = 15, + position = {x = 22, y = 0}, + size = {x = 6, y = 8}, + shift = {x = -1, y = 0}, + }, + ending_down = { + number = 21, + position = {x = 0, y = 8}, + size = {x = 8, y = 6}, + shift = {x = 0, y = 1}, + }, + straight_vertical_window = { + number = 31, + position = {x = 0, y = 14}, + size = {x = 8, y = 4}, + }, + straight_vertical = { + number = 41, + position = {x = 0, y = 18}, + size = {x = 8, y = 4}, + }, + ending_up = { + number = 51, + position = {x = 0, y = 22}, + size = {x = 8, y = 6}, + shift = {x = 0, y = -1}, + }, + corner_down_right = { + number = 22, + position = {x = 8, y = 8}, + size = {x = 6, y = 6}, + shift = {x = 1, y = 1}, + }, + t_down = { + number = 23, + position = {x = 14, y = 8}, + size = {x = 4, y = 6}, + shift = {x = 0, y = 1}, + }, + corner_down_left = { + number = 24, + position = {x = 18, y = 8}, + size = {x = 6, y = 6}, + shift = {x = -1, y = 1}, + }, + t_right = { + number = 32, + position = {x = 8, y = 14}, + size = {x = 6, y = 4}, + shift = {x = 1, y = 0}, + }, + cross = { + number = 33, + position = {x = 14, y = 14}, + size = {x = 4, y = 4}, + }, + t_left = { + number = 34, + position = {x = 18, y = 14}, + size = {x = 6, y = 4}, + shift = {x = -1, y = 0}, + }, + corner_up_right = { + number = 42, + position = {x = 8, y = 18}, + size = {x = 6, y = 6}, + shift = {x = 1, y = -1}, + }, + t_up = { + number = 43, + position = {x = 14, y = 18}, + size = {x = 4, y = 6}, + shift = {x = 0, y = -1}, + }, + corner_up_left = { + number = 44, + position = {x = 18, y = 18}, + size = {x = 6, y = 6}, + shift = {x = -1, y = -1}, + }, + + --data.raw[pipe-to-ground][pipe-to-ground].pictures.up + down = { + number = 25, + position = {x = 24, y = 8}, + size = {x = 8, y = 6}, + shift = {x = 0, y = 1}, + }, + up = { + number = 35, + position = {x = 24, y = 14}, + size = {x = 8, y = 6}, + shift = {x = 0, y = -1}, -- not 26 + }, + right = { + number = 52, + position = {x = 8, y = 24}, + size = {x = 6, y = 8}, + shift = {x = 1, y = 0}, + }, + left = { + number = 53, + position = {x = 14, y = 24}, + size = {x = 6, y = 8}, + shift = {x = -1, y = 0}, + } +} + +local sheet_path = "__Bio_Industries_2__/graphics/entities/wood_products/wood_pipe/" +local sheet_name = "pipe_sheet.png" + +function change_graphics (was_picture, sheet_element, quality) + local picture = {} + local k = 1 + if not sheet_element.shift then + sheet_element.shift = {x = 0, y = 0} + end + --BioInd.writeDebug("lq") + picture = was_picture + k = 1 + --BioInd.writeDebug("%s Quality: %s", {sheet_element.number, quality}) + + if not (picture) then + return + end + + local size = sheet_element.size + if type(size) == "number" then + size = {x = size, y = size} + elseif type(size) == "table" and not (size.x and size.y) then + size = {x = size[1], y = size[2]} + end + + picture.filename = sheet_path .. quality .. "_" .. sheet_name + picture.size = {8 * k * size.x, 8 * k * size.y} + picture.scale = 1/k + picture.x = 8 * k * (sheet_element.position.x or sheet_element.position[1]) + picture.y = 8 * k * (sheet_element.position.y or sheet_element.position[2]) + picture.shift = {} + --picture.shift.x = -8/32 * k * sheet_element.shift.x + --picture.shift.y = -8/32 * k * sheet_element.shift.y + picture.shift.x = -8/32 * (sheet_element.shift.x or sheet_element.shift[1]) + picture.shift.y = -8/32 * (sheet_element.shift.y or sheet_element.shift[2]) + --BioInd.writeDebug("%s Quality: %s - Success", {sheet_element.number, quality}) +end + + +-------------------------------pipes +--local pipe_pictures = data.raw.pipe.pipe.pictures +local pipe_pictures = data.raw.pipe["bi-wood-pipe"].pictures +for i, was_picture in pairs (pipe_pictures) do + for j, sheet_element in pairs (pipes_sheet) do + if i == j then + --BioInd.writeDebug("%s", {i})) + change_graphics (was_picture, sheet_element, "hq") + change_graphics (was_picture, sheet_element, "lq") + end + end +end + +--------------------------------underground pipes +--[[ +local pipe_to_ground_pictures = data.raw["pipe-to-ground"]["bi-wood-pipe-to-ground"].pictures + +for i, was_picture in pairs (pipe_to_ground_pictures) do + for j, sheet_element in pairs (pipes_sheet) do + if i == j then + --BioInd.writeDebug("%s", {i}) + change_graphics (was_picture, sheet_element, "hq") + change_graphics (was_picture, sheet_element, "lq") + end + end +end +]] + +--------------------------------underground pipes +local pipe_to_ground_pictures = data.raw["pipe-to-ground"]["bi-wood-pipe-to-ground"].pictures +-- map the pipe-to-ground picture keys (north/south/east/west) to our sheet keys (up/down/right/left) +local direction_map = { + north = "up", + south = "down", + west = "left", + east = "right", + -- keep backwards compatibility if somehow up/down/left/right already present + up = "up", + down = "down", + left = "left", + right = "right" +} + +for i, was_picture in pairs(pipe_to_ground_pictures) do + local sheet_key = direction_map[i] + if sheet_key and pipes_sheet[sheet_key] then + change_graphics(was_picture, pipes_sheet[sheet_key], "hq") + change_graphics(was_picture, pipes_sheet[sheet_key], "lq") + end +end \ No newline at end of file diff --git a/Bio_Industries_2/prototypes/Wood_Products/rail-pictures-vanilla.lua b/Bio_Industries_2/prototypes/Wood_Products/rail-pictures-vanilla.lua new file mode 100644 index 0000000..bb2ea8a --- /dev/null +++ b/Bio_Industries_2/prototypes/Wood_Products/rail-pictures-vanilla.lua @@ -0,0 +1,267 @@ +local util = require("util") + +local ground_rail_render_layers = +{ + stone_path_lower = "rail-stone-path-lower", + stone_path = "rail-stone-path", + tie = "rail-tie", + screw = "rail-screw", + metal = "rail-metal" +} + +local rail_segment_visualisation_endings = +{ + filename = "__base__/graphics/entity/rails/rail/rail-segment-visualisations-endings.png", + priority = "extra-high", + flags = { "low-object" }, + width = 64, + height = 64, + scale = 0.5, + direction_count = 16, + frame_count = 6, + usage = "rail" +} + + +local function make_new_rail_pictures(keys, elems, max_variations) + local function make_sprite_definition(filename, elem, key, variation_count) + return + { + filename = filename, + priority = elem.priority or "extra-high", + flags = elem.mipmap and { "trilinear-filtering" } or { "low-object" }, + draw_as_shadow = elem.draw_as_shadow, + allow_forced_downscale = elem.allow_forced_downscale, + width = key[3][1], + height = key[3][2], + x = key[2][1], + y = key[2][2], + scale = 0.5; + shift = util.by_pixel(key[4][1], key[4][2]), + variation_count = variation_count, + usage = "rail" + } + end + + local res = {} + for _ , key in ipairs(keys) do + local part = {} + local variation_count = key[5] or 1 + if max_variations then + variation_count = math.min(variation_count, max_variations) + end + if (variation_count > 0) then + for _ , elem in ipairs(elems) do + local layers = nil + local variations = variation_count; + if (elem[1] == "segment_visualisation_middle") then + variations = nil + end + if (type(elem[2]) == "table") then + layers = { layers = {} } + for _, subelem in ipairs(elem[2]) do + table.insert(layers.layers, make_sprite_definition(subelem[1], subelem, key, variations)) + end + else + layers = make_sprite_definition(elem[2], elem, key, variations) + end + + if (elem[1] ~= nil) then + part[elem[1]] = layers + else + part = layers + end + end + end + + res[key[1]] = part + end + return res +end + +function new_rail_pictures_vanilla(rail_type) + local keys + local NOT_USED_POSITION = {0, 0} + local NOT_USED_SIZE = {1, 1} + local NOT_USED_SHIFT = {0, 0} + if rail_type == "straight" then + keys = + { + {"north", { 0, 256 }, {256, 256}, {0,0}, 8}, + {"northeast", { 0, 2048 }, {384, 384}, {0,0}, 3}, + {"east", { 0, 0 }, {256, 256}, {0,0}, 8}, + {"southeast", { 0, 896 }, {384, 384}, {0,0}, 3}, + {"south", NOT_USED_POSITION, NOT_USED_SIZE, NOT_USED_SHIFT, 0}, + {"southwest", NOT_USED_POSITION, NOT_USED_SIZE, NOT_USED_SHIFT, 0}, + {"west", NOT_USED_POSITION, NOT_USED_SIZE, NOT_USED_SHIFT, 0}, + {"northwest", NOT_USED_POSITION, NOT_USED_SIZE, NOT_USED_SHIFT, 0} + } + elseif rail_type == "half-diagonal" then + keys = + { + {"north", { 0, 1280 }, {384, 384}, {0,0}, 3}, + {"northeast", { 0, 1664 }, {384, 384}, {0,0}, 3}, + {"east", { 0, 2432 }, {384, 384}, {0,0}, 3}, + {"southeast", { 0, 512 }, {384, 384}, {0,0}, 3}, + {"south", NOT_USED_POSITION, NOT_USED_SIZE, NOT_USED_SHIFT, 0}, + {"southwest", NOT_USED_POSITION, NOT_USED_SIZE, NOT_USED_SHIFT, 0}, + {"west", NOT_USED_POSITION, NOT_USED_SIZE, NOT_USED_SHIFT, 0}, + {"northwest", NOT_USED_POSITION, NOT_USED_SIZE, NOT_USED_SHIFT, 0} + } + elseif rail_type == "curved-a" then + keys = + { + {"north", { 2048, 3 * 512 }, {512, 512}, {0,0}, 4},-- piece 04 + {"northeast", { 2048, 12 * 512 }, {512, 512}, {0,0}, 4},-- piece 13 + {"east", { 2048, 7 * 512 }, {512, 512}, {0,0}, 4},-- piece 08 + {"southeast", { 2048, 0 * 512 }, {512, 512}, {0,0}, 4},-- piece 01 + {"south", { 2048, 11 * 512 }, {512, 512}, {0,0}, 4},-- piece 12 + {"southwest", { 2048, 4 * 512 }, {512, 512}, {0,0}, 4},-- piece 05 + {"west", { 2048, 15 * 512 }, {512, 512}, {0,0}, 4},-- piece 16 + {"northwest", { 2048, 8 * 512 }, {512, 512}, {0,0}, 4},-- piece 09 + } + elseif rail_type == "curved-b" then + keys = + { + {"north", { 2048, 2 * 512 }, {512, 512}, {0,0}, 4},-- piece 03 + {"northeast", { 2048, 13 * 512 }, {512, 512}, {0,0}, 4},-- piece 14 + {"east", { 2048, 6 * 512 }, {512, 512}, {0,0}, 4},-- piece 07 + {"southeast", { 2048, 1 * 512 }, {512, 512}, {0,0}, 4},-- piece 02 + {"south", { 2048, 10 * 512 }, {512, 512}, {0,0}, 4},-- piece 11 + {"southwest", { 2048, 5 * 512 }, {512, 512}, {0,0}, 4},-- piece 06 + {"west", { 2048, 14 * 512 }, {512, 512}, {0,0}, 4},-- piece 15 + {"northwest", { 2048, 9 * 512 }, {512, 512}, {0,0}, 4},-- piece 10 + } + end + local elems = + { + { "metals", "__base__/graphics/entity/rails/rail/rail-metals.png", mipmap = true }, + { "backplates", "__base__/graphics/entity/rails/rail/rail-backplates.png", mipmap = true }, + { "ties", "__Bio_Industries_2__/graphics/entities/wood_products/rails/new_rail/rail-ties-concrete.png" }, + { "stone_path", "__base__/graphics/entity/rails/rail/rail-stone-path-inside.png" }, + { "stone_path_background", "__base__/graphics/entity/rails/rail/rail-stone-path.png" }, + { "segment_visualisation_middle", "__base__/graphics/entity/rails/rail/rail-segment-visualisations-middle.png" }, + } + + local res = make_new_rail_pictures(keys, elems) + res["rail_endings"] = + { + sheets = + { + { + filename = "__base__/graphics/entity/rails/rail/rail-endings-background.png", + priority = "high", + flags = { "low-object" }, + width = 256, + height = 256, + scale = 0.5, + usage = "rail" + }, + { + filename = "__base__/graphics/entity/rails/rail/rail-endings-foreground.png", + priority = "high", + flags = { "trilinear-filtering" }, + width = 256, + height = 256, + scale = 0.5, + usage = "rail" + } + } + } + res["render_layers"] = ground_rail_render_layers + res["segment_visualisation_endings"] = rail_segment_visualisation_endings + return res +end + +function new_rail_remnants_pictures_vanilla(rail_type) + local keys + local NOT_USED_POSITION = {0, 0} + local NOT_USED_SIZE = {1, 1} + local NOT_USED_SHIFT = {0, 0} + if rail_type == "straight" then + keys = + { + {"north", { 0, 256 }, {256, 256}, {0,0}, 8}, + {"northeast", { 0, 2048 }, {384, 384}, {0,0}, 3}, + {"east", { 0, 0 }, {256, 256}, {0,0}, 8}, + {"southeast", { 0, 896 }, {384, 384}, {0,0}, 3}, + {"south", NOT_USED_POSITION, NOT_USED_SIZE, NOT_USED_SHIFT, 0}, + {"southwest", NOT_USED_POSITION, NOT_USED_SIZE, NOT_USED_SHIFT, 0}, + {"west", NOT_USED_POSITION, NOT_USED_SIZE, NOT_USED_SHIFT, 0}, + {"northwest", NOT_USED_POSITION, NOT_USED_SIZE, NOT_USED_SHIFT, 0} + } + elseif rail_type == "half-diagonal" then + keys = + { + {"north", { 0, 1280 }, {384, 384}, {0,0}, 3}, + {"northeast", { 0, 1664 }, {384, 384}, {0,0}, 3}, + {"east", { 0, 2432 }, {384, 384}, {0,0}, 3}, + {"southeast", { 0, 512 }, {384, 384}, {0,0}, 3}, + {"south", NOT_USED_POSITION, NOT_USED_SIZE, NOT_USED_SHIFT, 0}, + {"southwest", NOT_USED_POSITION, NOT_USED_SIZE, NOT_USED_SHIFT, 0}, + {"west", NOT_USED_POSITION, NOT_USED_SIZE, NOT_USED_SHIFT, 0}, + {"northwest", NOT_USED_POSITION, NOT_USED_SIZE, NOT_USED_SHIFT, 0} + } + elseif rail_type == "curved-a" then + keys = + { + {"north", { 2048, 3 * 512 }, {512, 512}, {0,0}, 4},-- piece 04 + {"northeast", { 2048, 12 * 512 }, {512, 512}, {0,0}, 4},-- piece 13 + {"east", { 2048, 7 * 512 }, {512, 512}, {0,0}, 4},-- piece 08 + {"southeast", { 2048, 0 * 512 }, {512, 512}, {0,0}, 4},-- piece 01 + {"south", { 2048, 11 * 512 }, {512, 512}, {0,0}, 4},-- piece 12 + {"southwest", { 2048, 4 * 512 }, {512, 512}, {0,0}, 4},-- piece 05 + {"west", { 2048, 15 * 512 }, {512, 512}, {0,0}, 4},-- piece 16 + {"northwest", { 2048, 8 * 512 }, {512, 512}, {0,0}, 4},-- piece 09 + } + elseif rail_type == "curved-b" then + keys = + { + {"north", { 2048, 2 * 512 }, {512, 512}, {0,0}, 4},-- piece 03 + {"northeast", { 2048, 13 * 512 }, {512, 512}, {0,0}, 4},-- piece 14 + {"east", { 2048, 6 * 512 }, {512, 512}, {0,0}, 4},-- piece 07 + {"southeast", { 2048, 1 * 512 }, {512, 512}, {0,0}, 4},-- piece 02 + {"south", { 2048, 10 * 512 }, {512, 512}, {0,0}, 4},-- piece 11 + {"southwest", { 2048, 5 * 512 }, {512, 512}, {0,0}, 4},-- piece 06 + {"west", { 2048, 14 * 512 }, {512, 512}, {0,0}, 4},-- piece 15 + {"northwest", { 2048, 9 * 512 }, {512, 512}, {0,0}, 4},-- piece 10 + } + end + local elems = + { + { "metals", "__base__/graphics/entity/rails/rail/remnants/rail-remnants-metals.png", mipmap = true, allow_forced_downscale = true }, + { "backplates", "__base__/graphics/entity/rails/rail/remnants/rail-remnants-backplates.png", mipmap = true, allow_forced_downscale = true }, + { "ties", "__Bio_Industries_2__/graphics/entities/wood_products/rails/new_rail/rail-remnants-ties-concrete.png" , allow_forced_downscale = true }, + { "stone_path", "__base__/graphics/entity/rails/rail/remnants/rail-remnants-stone-path-inside.png" , allow_forced_downscale = true }, + { "stone_path_background", "__base__/graphics/entity/rails/rail/remnants/rail-remnants-stone-path.png" , allow_forced_downscale = true } + } + + local res = make_new_rail_pictures(keys, elems) + res["rail_endings"] = + { + sheets = + { + { + filename = "__base__/graphics/entity/rails/rail/rail-endings-background.png", + priority = "high", + flags = { "low-object" }, + width = 256, + height = 256, + scale = 0.5, + usage = "rail" + }, + { + filename = "__base__/graphics/entity/rails/rail/rail-endings-foreground.png", + priority = "high", + flags = { "trilinear-filtering" }, + width = 256, + height = 256, + scale = 0.5, + usage = "rail" + } + } + } + res["render_layers"] = ground_rail_render_layers + return res +end + diff --git a/Bio_Industries_2/prototypes/Wood_Products/rail-pictures-wood.lua b/Bio_Industries_2/prototypes/Wood_Products/rail-pictures-wood.lua new file mode 100644 index 0000000..c2b151b --- /dev/null +++ b/Bio_Industries_2/prototypes/Wood_Products/rail-pictures-wood.lua @@ -0,0 +1,275 @@ +local util = require("util") + +local wood_tint = {r = 183/255, g = 125/255, b = 62/255, a = 1} + +local ground_rail_render_layers = +{ + stone_path_lower = "rail-stone-path-lower", + stone_path = "rail-stone-path", + tie = "rail-tie", + screw = "rail-screw", + metal = "rail-metal" +} + +local rail_segment_visualisation_endings = +{ + filename = "__base__/graphics/entity/rails/rail/rail-segment-visualisations-endings.png", + priority = "extra-high", + flags = { "low-object" }, + width = 64, + height = 64, + scale = 0.5, + direction_count = 16, + frame_count = 6, + -- tint = wood_tint, + usage = "rail" +} + +local function make_new_rail_pictures_wood(keys, elems, max_variations) + local function make_sprite_definition_wood(filename, elem, key, variation_count) + return + { + filename = filename, + priority = elem.priority or "extra-high", + flags = elem.mipmap and { "trilinear-filtering" } or { "low-object" }, + draw_as_shadow = elem.draw_as_shadow, + allow_forced_downscale = elem.allow_forced_downscale, + width = key[3][1], + height = key[3][2], + x = key[2][1], + y = key[2][2], + scale = 0.5; + shift = util.by_pixel(key[4][1], key[4][2]), + variation_count = variation_count, + -- tint = wood_tint, + usage = "rail" + } + end + + local res = {} + for _ , key in ipairs(keys) do + local part = {} + local variation_count = key[5] or 1 + if max_variations then + variation_count = math.min(variation_count, max_variations) + end + if (variation_count > 0) then + for _ , elem in ipairs(elems) do + local layers = nil + local variations = variation_count; + if (elem[1] == "segment_visualisation_middle") then + variations = nil + end + if (type(elem[2]) == "table") then + layers = { layers = {} } + for _, subelem in ipairs(elem[2]) do + table.insert(layers.layers, make_sprite_definition_wood(subelem[1], subelem, key, variations)) + end + else + layers = make_sprite_definition_wood(elem[2], elem, key, variations) + end + + if (elem[1] ~= nil) then + part[elem[1]] = layers + else + part = layers + end + end + end + + res[key[1]] = part + end + return res +end + +function new_rail_pictures_wood(rail_type) + local keys + local NOT_USED_POSITION = {0, 0} + local NOT_USED_SIZE = {1, 1} + local NOT_USED_SHIFT = {0, 0} + if rail_type == "straight" then + keys = + { + {"north", { 0, 256 }, {256, 256}, {0,0}, 8}, + {"northeast", { 0, 2048 }, {384, 384}, {0,0}, 3}, + {"east", { 0, 0 }, {256, 256}, {0,0}, 8}, + {"southeast", { 0, 896 }, {384, 384}, {0,0}, 3}, + {"south", NOT_USED_POSITION, NOT_USED_SIZE, NOT_USED_SHIFT, 0}, + {"southwest", NOT_USED_POSITION, NOT_USED_SIZE, NOT_USED_SHIFT, 0}, + {"west", NOT_USED_POSITION, NOT_USED_SIZE, NOT_USED_SHIFT, 0}, + {"northwest", NOT_USED_POSITION, NOT_USED_SIZE, NOT_USED_SHIFT, 0} + } + elseif rail_type == "half-diagonal" then + keys = + { + {"north", { 0, 1280 }, {384, 384}, {0,0}, 3}, + {"northeast", { 0, 1664 }, {384, 384}, {0,0}, 3}, + {"east", { 0, 2432 }, {384, 384}, {0,0}, 3}, + {"southeast", { 0, 512 }, {384, 384}, {0,0}, 3}, + {"south", NOT_USED_POSITION, NOT_USED_SIZE, NOT_USED_SHIFT, 0}, + {"southwest", NOT_USED_POSITION, NOT_USED_SIZE, NOT_USED_SHIFT, 0}, + {"west", NOT_USED_POSITION, NOT_USED_SIZE, NOT_USED_SHIFT, 0}, + {"northwest", NOT_USED_POSITION, NOT_USED_SIZE, NOT_USED_SHIFT, 0} + } + elseif rail_type == "curved-a" then + keys = + { + {"north", { 2048, 3 * 512 }, {512, 512}, {0,0}, 4},-- piece 04 + {"northeast", { 2048, 12 * 512 }, {512, 512}, {0,0}, 4},-- piece 13 + {"east", { 2048, 7 * 512 }, {512, 512}, {0,0}, 4},-- piece 08 + {"southeast", { 2048, 0 * 512 }, {512, 512}, {0,0}, 4},-- piece 01 + {"south", { 2048, 11 * 512 }, {512, 512}, {0,0}, 4},-- piece 12 + {"southwest", { 2048, 4 * 512 }, {512, 512}, {0,0}, 4},-- piece 05 + {"west", { 2048, 15 * 512 }, {512, 512}, {0,0}, 4},-- piece 16 + {"northwest", { 2048, 8 * 512 }, {512, 512}, {0,0}, 4},-- piece 09 + } + elseif rail_type == "curved-b" then + keys = + { + {"north", { 2048, 2 * 512 }, {512, 512}, {0,0}, 4},-- piece 03 + {"northeast", { 2048, 13 * 512 }, {512, 512}, {0,0}, 4},-- piece 14 + {"east", { 2048, 6 * 512 }, {512, 512}, {0,0}, 4},-- piece 07 + {"southeast", { 2048, 1 * 512 }, {512, 512}, {0,0}, 4},-- piece 02 + {"south", { 2048, 10 * 512 }, {512, 512}, {0,0}, 4},-- piece 11 + {"southwest", { 2048, 5 * 512 }, {512, 512}, {0,0}, 4},-- piece 06 + {"west", { 2048, 14 * 512 }, {512, 512}, {0,0}, 4},-- piece 15 + {"northwest", { 2048, 9 * 512 }, {512, 512}, {0,0}, 4},-- piece 10 + } + end + local elems = + { + { "metals", "__base__/graphics/entity/rails/rail/rail-metals.png", mipmap = true }, + { "backplates", "__base__/graphics/entity/rails/rail/rail-backplates.png", mipmap = true }, + { "ties", "__Bio_Industries_2__/graphics/entities/wood_products/rails/new_rail/rail-ties-wood.png" }, + { "stone_path", "__base__/graphics/entity/rails/rail/rail-stone-path-inside.png" }, + { "stone_path_background", "__base__/graphics/entity/rails/rail/rail-stone-path.png" }, + { "segment_visualisation_middle", "__base__/graphics/entity/rails/rail/rail-segment-visualisations-middle.png" }, + } + + local res = make_new_rail_pictures_wood(keys, elems) + res["rail_endings"] = + { + sheets = + { + { + filename = "__base__/graphics/entity/rails/rail/rail-endings-background.png", + priority = "high", + flags = { "low-object" }, + width = 256, + height = 256, + scale = 0.5, + -- tint = wood_tint, + usage = "rail" + }, + { + filename = "__base__/graphics/entity/rails/rail/rail-endings-foreground.png", + priority = "high", + flags = { "trilinear-filtering" }, + width = 256, + height = 256, + scale = 0.5, + -- tint = wood_tint, + usage = "rail" + } + } + } + res["render_layers"] = ground_rail_render_layers + res["segment_visualisation_endings"] = rail_segment_visualisation_endings + return res +end + +function new_rail_remnants_pictures(rail_type) + local keys + local NOT_USED_POSITION = {0, 0} + local NOT_USED_SIZE = {1, 1} + local NOT_USED_SHIFT = {0, 0} + if rail_type == "straight" then + keys = + { + {"north", { 0, 256 }, {256, 256}, {0,0}, 8}, + {"northeast", { 0, 2048 }, {384, 384}, {0,0}, 3}, + {"east", { 0, 0 }, {256, 256}, {0,0}, 8}, + {"southeast", { 0, 896 }, {384, 384}, {0,0}, 3}, + {"south", NOT_USED_POSITION, NOT_USED_SIZE, NOT_USED_SHIFT, 0}, + {"southwest", NOT_USED_POSITION, NOT_USED_SIZE, NOT_USED_SHIFT, 0}, + {"west", NOT_USED_POSITION, NOT_USED_SIZE, NOT_USED_SHIFT, 0}, + {"northwest", NOT_USED_POSITION, NOT_USED_SIZE, NOT_USED_SHIFT, 0} + } + elseif rail_type == "half-diagonal" then + keys = + { + {"north", { 0, 1280 }, {384, 384}, {0,0}, 3}, + {"northeast", { 0, 1664 }, {384, 384}, {0,0}, 3}, + {"east", { 0, 2432 }, {384, 384}, {0,0}, 3}, + {"southeast", { 0, 512 }, {384, 384}, {0,0}, 3}, + {"south", NOT_USED_POSITION, NOT_USED_SIZE, NOT_USED_SHIFT, 0}, + {"southwest", NOT_USED_POSITION, NOT_USED_SIZE, NOT_USED_SHIFT, 0}, + {"west", NOT_USED_POSITION, NOT_USED_SIZE, NOT_USED_SHIFT, 0}, + {"northwest", NOT_USED_POSITION, NOT_USED_SIZE, NOT_USED_SHIFT, 0} + } + elseif rail_type == "curved-a" then + keys = + { + {"north", { 2048, 3 * 512 }, {512, 512}, {0,0}, 4},-- piece 04 + {"northeast", { 2048, 12 * 512 }, {512, 512}, {0,0}, 4},-- piece 13 + {"east", { 2048, 7 * 512 }, {512, 512}, {0,0}, 4},-- piece 08 + {"southeast", { 2048, 0 * 512 }, {512, 512}, {0,0}, 4},-- piece 01 + {"south", { 2048, 11 * 512 }, {512, 512}, {0,0}, 4},-- piece 12 + {"southwest", { 2048, 4 * 512 }, {512, 512}, {0,0}, 4},-- piece 05 + {"west", { 2048, 15 * 512 }, {512, 512}, {0,0}, 4},-- piece 16 + {"northwest", { 2048, 8 * 512 }, {512, 512}, {0,0}, 4},-- piece 09 + } + elseif rail_type == "curved-b" then + keys = + { + {"north", { 2048, 2 * 512 }, {512, 512}, {0,0}, 4},-- piece 03 + {"northeast", { 2048, 13 * 512 }, {512, 512}, {0,0}, 4},-- piece 14 + {"east", { 2048, 6 * 512 }, {512, 512}, {0,0}, 4},-- piece 07 + {"southeast", { 2048, 1 * 512 }, {512, 512}, {0,0}, 4},-- piece 02 + {"south", { 2048, 10 * 512 }, {512, 512}, {0,0}, 4},-- piece 11 + {"southwest", { 2048, 5 * 512 }, {512, 512}, {0,0}, 4},-- piece 06 + {"west", { 2048, 14 * 512 }, {512, 512}, {0,0}, 4},-- piece 15 + {"northwest", { 2048, 9 * 512 }, {512, 512}, {0,0}, 4},-- piece 10 + } + end + local elems = + { + { "metals", "__base__/graphics/entity/rails/rail/remnants/rail-remnants-metals.png", mipmap = true, allow_forced_downscale = true }, + { "backplates", "__base__/graphics/entity/rails/rail/remnants/rail-remnants-backplates.png", mipmap = true, allow_forced_downscale = true }, + { "ties", "__Bio_Industries_2__/graphics/entities/wood_products/rails/new_rail/rail-remnants-ties-wood.png" , allow_forced_downscale = true }, + { "stone_path", "__base__/graphics/entity/rails/rail/remnants/rail-remnants-stone-path-inside.png" , allow_forced_downscale = true }, + { "stone_path_background", "__base__/graphics/entity/rails/rail/remnants/rail-remnants-stone-path.png" , allow_forced_downscale = true } + } + + local res = make_new_rail_pictures_wood(keys, elems) + res["rail_endings"] = + { + sheets = + { + { + filename = "__base__/graphics/entity/rails/rail/rail-endings-background.png", + priority = "high", + flags = { "low-object" }, + width = 256, + height = 256, + scale = 0.5, + -- tint = wood_tint, + usage = "rail" + }, + { + filename = "__base__/graphics/entity/rails/rail/rail-endings-foreground.png", + priority = "high", + flags = { "trilinear-filtering" }, + width = 256, + height = 256, + scale = 0.5, + -- tint = wood_tint, + usage = "rail" + } + } + } + res["render_layers"] = ground_rail_render_layers + return res +end + + diff --git a/Bio_Industries_2/prototypes/Wood_Products/rail.lua b/Bio_Industries_2/prototypes/Wood_Products/rail.lua new file mode 100644 index 0000000..97c7da1 --- /dev/null +++ b/Bio_Industries_2/prototypes/Wood_Products/rail.lua @@ -0,0 +1,243 @@ +require ("prototypes.Wood_Products.rail-pictures-wood") + +local BioInd = require('common')('Bio_Industries_2') +local ICONPATH = BioInd.modRoot .. "/graphics/icons/" +local ICONPATH_E = BioInd.modRoot .. "/graphics/icons/entity/" +local item_sounds = require("__base__.prototypes.item_sounds") + + +local hit_effects = require ("__base__.prototypes.entity.hit-effects") +local sounds = require("__base__.prototypes.entity.sounds") +local tile_sounds = require("__base__.prototypes.tile.tile-sounds") +local simulations = require("__base__.prototypes.factoriopedia-simulations") + + + if BI.Settings.BI_Game_Tweaks_Recipe then + + + data:extend({ + ---- ITEM + { + type = "rail-planner", + name = "bi-rail-wood", + icons = { {icon = ICONPATH_E .. "rail-wood.png", icon_size = 64, } }, + localised_name = {"item-name.bi-rail-wood"}, + subgroup = "train-transport", + order = "a[rail]-0[rail]", + inventory_move_sound = item_sounds.train_inventory_move, + pick_sound = item_sounds.train_inventory_pickup, + drop_sound = item_sounds.train_inventory_move, + place_result = "bi-straight-rail-wood", + stack_size = 100, + rails = + { + "bi-straight-rail-wood", + "bi-curved-rail-a-wood", + "bi-curved-rail-b-wood", + "bi-half-diagonal-rail-wood" + }, + manual_length_limit = 22.5 -- 2*(Curved-A) + 2*(Curved-B) + their planner penalty + margin + }, + +---- Recipe + { + type = "recipe", + name = "bi-rail-wood-to-concrete", + icons = { {icon = ICONPATH_E .. "rail-wood-to-concrete.png", icon_size = 64, } }, + enabled = false, + ingredients = + { + {type = "item", name = "bi-rail-wood", amount = 2}, + {type = "item", name = "stone-brick", amount = 6}, + + }, + results = {{type="item", name="rail", amount=2}} + }, + + + --- Entity + + { + type = "straight-rail", + name = "bi-straight-rail-wood", + order = "a[ground-rail]-a[bi-straight-rail-wood]", + icon = ICONPATH_E .. "straight-rail-wood.png", + localised_name = {"entity-name.bi-straight-rail-wood"}, + collision_box = {{-1, -1}, {1, 1}}, -- has custommly generated box, but the prototype needs something that is used to generate building smokes + flags = {"placeable-neutral", "player-creation", "building-direction-8-way"}, + minable = {mining_time = 0.2, result = "bi-rail-wood", count = 1}, + max_health = 200, + corpse = "straight-rail-remnants", + dying_explosion = + { + name = "rail-explosion" + }, + resistances = + { + { + type = "fire", + percent = 100 + }, + { + type = "acid", + percent = 80 + } + }, + -- collision box is hardcoded for rails as to avoid unexpected changes in the way rail blocks are merged + selection_box = {{-1.7, -0.8}, {1.7, 0.8}}, + damaged_trigger_effect = hit_effects.wall(), + pictures = new_rail_pictures_wood("straight"), + placeable_by = {item = "bi-rail-wood", count = 1}, + walking_sound = tile_sounds.walking.rails, + extra_planner_goal_penalty = -4, + factoriopedia_alternative = "straight-rail" + }, + + { + type = "half-diagonal-rail", + name = "bi-half-diagonal-rail-wood", + order = "a[ground-rail]-b[bi-half-diagonal-rail-wood]", + deconstruction_alternative = "bi-straight-rail-wood", + icon = ICONPATH_E .. "curved-rail-wood.png", + localised_name = {"entity-name.bi-half-diagonal-rail-wood"}, + collision_box = {{-0.75, -2.236}, {0.75, 2.236}}, -- has custommly generated box, but the prototype needs something that is used to generate building smokes + tile_height = 2, + extra_planner_goal_penalty = -4, + flags = {"placeable-neutral", "player-creation", "building-direction-8-way"}, + minable = {mining_time = 0.2, result = "bi-rail-wood", count = 2}, + max_health = 200, + corpse = "half-diagonal-rail-remnants", + dying_explosion = + { + { + name = "rail-explosion", + offset = {0.9, 2.2} + }, + { + name = "rail-explosion" + }, + { + name = "rail-explosion", + offset = {-1.2, -2} + } + }, + resistances = + { + { + type = "fire", + percent = 100 + }, + { + type = "acid", + percent = 80 + } + }, + -- collision box is hardcoded for rails as to avoid unexpected changes in the way rail blocks are merged + selection_box = {{-1.7, -0.8}, {1.7, 0.8}}, + damaged_trigger_effect = hit_effects.wall(), + pictures = new_rail_pictures_wood("half-diagonal"), + placeable_by = {item = "bi-rail-wood", count = 2}, + walking_sound = tile_sounds.walking.rails, + extra_planner_penalty = 0, + factoriopedia_alternative = "straight-rail" + }, + { + type = "curved-rail-a", + name = "bi-curved-rail-a-wood", + order = "a[ground-rail]-c[bi-curved-rail-a-wood]", + deconstruction_alternative = "bi-straight-rail-wood", + icon = ICONPATH_E .. "curved-rail-wood.png", + localised_name = {"entity-name.bi-curved-rail-a-wood"}, + collision_box = {{-0.75, -2.516}, {0.75, 2.516}}, -- has custommly generated box, but the prototype needs something that is used to generate building smokes + flags = {"placeable-neutral", "player-creation", "building-direction-8-way"}, + minable = {mining_time = 0.2, result = "bi-rail-wood", count = 3}, + max_health = 200, + corpse = "curved-rail-a-remnants", + dying_explosion = + { + { + name = "rail-explosion", + offset = {0.9, 2.2} + }, + { + name = "rail-explosion" + }, + { + name = "rail-explosion", + offset = {-1.2, -2} + } + }, + resistances = + { + { + type = "fire", + percent = 100 + }, + { + type = "acid", + percent = 80 + } + }, + -- collision box is hardcoded for rails as to avoid unexpected changes in the way rail blocks are merged + selection_box = {{-1.7, -0.8}, {1.7, 0.8}}, + damaged_trigger_effect = hit_effects.wall(), + pictures = new_rail_pictures_wood("curved-a"), + placeable_by = {item = "bi-rail-wood", count = 3}, + walking_sound = tile_sounds.walking.rails, + extra_planner_penalty = 0.5, + deconstruction_marker_positions = rail_8shifts_vector(-0.248, -0.533), + factoriopedia_alternative = "straight-rail" + }, + { + type = "curved-rail-b", + name = "bi-curved-rail-b-wood", + order = "a[ground-rail]-d[bi-curved-rail-b-wood]", + deconstruction_alternative = "bi-straight-rail-wood", + icon = ICONPATH_E .. "curved-rail-wood.png", + localised_name = {"entity-name.bi-curved-rail-b-wood"}, + collision_box = {{-0.75, -2.441}, {0.75, 2.441}}, -- has custommly generated box, but the prototype needs something that is used to generate building smokes + flags = {"placeable-neutral", "player-creation", "building-direction-8-way"}, + minable = {mining_time = 0.2, result = "bi-rail-wood", count = 3}, + max_health = 200, + corpse = "curved-rail-b-remnants", + dying_explosion = + { + { + name = "rail-explosion", + offset = {0.9, 2.2} + }, + { + name = "rail-explosion" + }, + { + name = "rail-explosion", + offset = {-1.2, -2} + } + }, + resistances = + { + { + type = "fire", + percent = 100 + }, + { + type = "acid", + percent = 80 + } + }, + -- collision box is hardcoded for rails as to avoid unexpected changes in the way rail blocks are merged + selection_box = {{-1.7, -0.8}, {1.7, 0.8}}, + damaged_trigger_effect = hit_effects.wall(), + pictures = new_rail_pictures_wood("curved-b"), + placeable_by = {item = "bi-rail-wood", count = 3}, + walking_sound = tile_sounds.walking.rails, + extra_planner_penalty = 0.5, + deconstruction_marker_positions = rail_8shifts_vector(-0.309, -0.155), + factoriopedia_alternative = "straight-rail" + }, +}) + + + end + + diff --git a/Bio_Industries_2/prototypes/Wood_Products/recipe.lua b/Bio_Industries_2/prototypes/Wood_Products/recipe.lua index 1cb5b1b..84f7cf3 100644 --- a/Bio_Industries_2/prototypes/Wood_Products/recipe.lua +++ b/Bio_Industries_2/prototypes/Wood_Products/recipe.lua @@ -1,160 +1,127 @@ -local BioInd = require('common')('Bio_Industries_2') - -local ICONPATH = BioInd.modRoot .. "/graphics/icons/" - -data:extend({ - - --- Big Electric Pole - { - type = "recipe", - name = "bi-wooden-pole-big", - localised_name = {"entity-name.bi-wooden-pole-big"}, - localised_description = {"entity-description.bi-wooden-pole-big"}, - icon = ICONPATH .. "big-wooden-pole.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "big-wooden-pole.png", - icon_size = 64, - } - }, - enabled = false, - ingredients = { - {type="item", name="wood", amount=5}, - {type="item", name="small-electric-pole", amount=2}, - }, - results = {{type="item", name="bi-wooden-pole-big", amount=1}}, - main_product = "", - allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 - always_show_made_in = false, -- Added for 0.18.34/1.1.4 - allow_decomposition = true, -- Added for 0.18.34/1.1.4 - subgroup = "energy-pipe-distribution", - order = "a[energy]-b[small-electric-pole]", - -- This is a custom property for use by "Krastorio 2" (it will change - -- ingredients/results; used for wood/wood pulp) - mod = "Bio_Industries_2", - }, - - --- Huge Wooden Pole - { - type = "recipe", - name = "bi-wooden-pole-huge", - localised_name = {"entity-name.bi-wooden-pole-huge"}, - localised_description = {"entity-description.bi-wooden-pole-huge"}, - icon = ICONPATH .. "huge-wooden-pole.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "huge-wooden-pole.png", - icon_size = 64, - } - }, - enabled = false, - ingredients = { - {type="item", name="wood", amount=5}, - {type="item", name="concrete", amount=100}, - {type="item", name="bi-wooden-pole-big", amount=6}, - }, - results = {{type="item", name="bi-wooden-pole-huge", amount=1}}, - main_product = "", - allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 - always_show_made_in = false, -- Added for 0.18.34/1.1.4 - allow_decomposition = true, -- Added for 0.18.34/1.1.4 - subgroup = "energy-pipe-distribution", - order = "a[energy]-d[big-electric-pole]", - -- This is a custom property for use by "Krastorio 2" (it will change - -- ingredients/results; used for wood/wood pulp) - mod = "Bio_Industries_2", - }, - - --- Wooden Fence - { - type = "recipe", - name = "bi-wooden-fence", - localised_name = {"entity-name.bi-wooden-fence"}, - localised_description = {"entity-description.bi-wooden-fence"}, - icon = ICONPATH .. "wooden-fence.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "wooden-fence.png", - icon_size = 64, - } - }, - enabled = true, - ingredients = { - {type="item", name="wood", amount=2}, - }, - results = {{type="item", name="bi-wooden-fence", amount=1}}, - main_product = "", - allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 - always_show_made_in = false, -- Added for 0.18.34/1.1.4 - allow_decomposition = true, -- Added for 0.18.34/1.1.4 - subgroup = "defensive-structure", - -- This is a custom property for use by "Krastorio 2" (it will change - -- ingredients/results; used for wood/wood pulp) - mod = "Bio_Industries_2", - }, - - --- Wood Pipe - { - type = "recipe", - name = "bi-wood-pipe", - localised_name = {"entity-name.bi-wood-pipe"}, - localised_description = {"entity-description.bi-wood-pipe"}, - icon = ICONPATH .. "wood_pipe.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "wood_pipe.png", - icon_size = 64, - } - }, - energy_required = 1, - enabled = true, - ingredients = { - {type="item", name="copper-plate", amount=1}, - {type="item", name="wood", amount=8} - }, - results = {{type="item", name="bi-wood-pipe", amount=4}}, - main_product = "", - requester_paste_multiplier = 15, - allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 - always_show_made_in = false, -- Added for 0.18.34/1.1.4 - allow_decomposition = true, -- Added for 0.18.34/1.1.4 - subgroup = "energy-pipe-distribution", - order = "a[pipe]-1a[pipe]", - -- This is a custom property for use by "Krastorio 2" (it will change - -- ingredients/results; used for wood/wood pulp) - mod = "Bio_Industries_2", - }, - - -- Wood Pipe to Ground - { - type = "recipe", - name = "bi-wood-pipe-to-ground", - localised_name = {"entity-name.bi-wood-pipe-to-ground"}, - localised_description = {"entity-description.bi-wood-pipe-to-ground"}, - icon = ICONPATH .. "pipe-to-ground-wood.png", - icon_size = 64, - icons = { - { - icon = ICONPATH .. "pipe-to-ground-wood.png", - icon_size = 64, - } - }, - energy_required = 2, - enabled = true, - ingredients = { - {type="item", name="copper-plate", amount=4}, - {type="item", name="bi-wood-pipe", amount=5} - }, - results = {{type="item", name="bi-wood-pipe-to-ground", amount=2}}, - main_product = "", - allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 - always_show_made_in = false, -- Added for 0.18.34/1.1.4 - allow_decomposition = true, -- Added for 0.18.34/1.1.4 - subgroup = "energy-pipe-distribution", - order = "a[pipe]-1b[pipe-to-ground]", - }, - }) +local BioInd = require('common')('Bio_Industries_2') + +local ICONPATH = BioInd.modRoot .. "/graphics/icons/" +local ICONPATH_E = BioInd.modRoot .. "/graphics/icons/entity/" + +data:extend({ + + --- Big Electric Pole + { + type = "recipe", + name = "bi-wooden-pole-big", + localised_name = {"entity-name.bi-wooden-pole-big"}, + localised_description = {"entity-description.bi-wooden-pole-big"}, + icons = { {icon = ICONPATH_E .. "big-wooden-pole.png", icon_size = 64, } }, + enabled = false, + ingredients = { + {type="item", name="wood", amount=5}, + {type="item", name="small-electric-pole", amount=2}, + }, + results = {{type="item", name="bi-wooden-pole-big", amount=1}}, + main_product = "", + allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 + always_show_made_in = false, -- Added for 0.18.34/1.1.4 + allow_decomposition = true, -- Added for 0.18.34/1.1.4 + subgroup = "energy-pipe-distribution", + order = "a[energy]-b[small-electric-pole]", + -- This is a custom property for use by "Krastorio 2" (it will change + -- ingredients/results; used for wood/wood pulp) + mod = "Bio_Industries_2", + }, + + --- Huge Wooden Pole + { + type = "recipe", + name = "bi-wooden-pole-huge", + localised_name = {"entity-name.bi-wooden-pole-huge"}, + localised_description = {"entity-description.bi-wooden-pole-huge"}, + icons = { {icon = ICONPATH_E .. "huge-wooden-pole.png", icon_size = 64, } }, + enabled = false, + ingredients = { + {type="item", name="wood", amount=5}, + {type="item", name="concrete", amount=100}, + {type="item", name="bi-wooden-pole-big", amount=6}, + }, + results = {{type="item", name="bi-wooden-pole-huge", amount=1}}, + main_product = "", + allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 + always_show_made_in = false, -- Added for 0.18.34/1.1.4 + allow_decomposition = true, -- Added for 0.18.34/1.1.4 + subgroup = "energy-pipe-distribution", + order = "a[energy]-d[big-electric-pole]", + -- This is a custom property for use by "Krastorio 2" (it will change + -- ingredients/results; used for wood/wood pulp) + mod = "Bio_Industries_2", + }, + + --- Wooden Fence + { + type = "recipe", + name = "bi-wooden-fence", + localised_name = {"entity-name.bi-wooden-fence"}, + localised_description = {"entity-description.bi-wooden-fence"}, + icons = { {icon = ICONPATH_E .. "wooden-fence.png", icon_size = 64, } }, + enabled = true, + ingredients = { + {type="item", name="wood", amount=2}, + }, + results = {{type="item", name="bi-wooden-fence", amount=1}}, + main_product = "", + allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 + always_show_made_in = false, -- Added for 0.18.34/1.1.4 + allow_decomposition = true, -- Added for 0.18.34/1.1.4 + subgroup = "defensive-structure", + -- This is a custom property for use by "Krastorio 2" (it will change + -- ingredients/results; used for wood/wood pulp) + mod = "Bio_Industries_2", + }, + + --- Wood Pipe + { + type = "recipe", + name = "bi-wood-pipe", + localised_name = {"entity-name.bi-wood-pipe"}, + localised_description = {"entity-description.bi-wood-pipe"}, + icons = { {icon = ICONPATH_E .. "wood_pipe.png", icon_size = 64, } }, + energy_required = 1, + enabled = true, + ingredients = { + {type="item", name="copper-plate", amount=1}, + {type="item", name="wood", amount=8} + }, + results = {{type="item", name="bi-wood-pipe", amount=4}}, + main_product = "", + requester_paste_multiplier = 15, + allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 + always_show_made_in = false, -- Added for 0.18.34/1.1.4 + allow_decomposition = true, -- Added for 0.18.34/1.1.4 + subgroup = "energy-pipe-distribution", + order = "a[pipe]-1a[pipe]", + -- This is a custom property for use by "Krastorio 2" (it will change + -- ingredients/results; used for wood/wood pulp) + mod = "Bio_Industries_2", + }, + + -- Wood Pipe to Ground + { + type = "recipe", + name = "bi-wood-pipe-to-ground", + localised_name = {"entity-name.bi-wood-pipe-to-ground"}, + localised_description = {"entity-description.bi-wood-pipe-to-ground"}, + icons = { {icon = ICONPATH_E .. "pipe-to-ground-wood.png", icon_size = 64, } }, + energy_required = 2, + enabled = true, + ingredients = { + {type="item", name="copper-plate", amount=4}, + {type="item", name="bi-wood-pipe", amount=5} + }, + results = {{type="item", name="bi-wood-pipe-to-ground", amount=2}}, + main_product = "", + allow_as_intermediate = false, -- Added for 0.18.34/1.1.4 + always_show_made_in = false, -- Added for 0.18.34/1.1.4 + allow_decomposition = true, -- Added for 0.18.34/1.1.4 + subgroup = "energy-pipe-distribution", + order = "a[pipe]-1b[pipe-to-ground]", + }, + +}) diff --git a/Bio_Industries_2/prototypes/category.lua b/Bio_Industries_2/prototypes/category.lua index 886cb20..625ab3c 100644 --- a/Bio_Industries_2/prototypes/category.lua +++ b/Bio_Industries_2/prototypes/category.lua @@ -1,255 +1,255 @@ - -data:extend( - { - - { - type = "item-group", - name = "bio-industries", - order = "vaa-a", - inventory_order = "v-a", - icon = "__Bio_Industries_2__/graphics/technology/BioIndustries_64.png", - icon_size = 64, - icons = { - { - icon = "__Bio_Industries_2__/graphics/technology/BioIndustries_64.png", - icon_size = 64, - } - }, - }, - - { - type = "item-subgroup", - name = "bio-bio-farm", - group = "bio-industries", - order = "a-a", - }, - - - --- Bio Farm and Nursery - { - type = "item-subgroup", - name = "bio-bio-farm-fluid-1", - group = "bio-industries", - order = "a-a", - }, - { - type = "item-subgroup", - name = "bio-bio-farm-fluid-2", - group = "bio-industries", - order = "a-b", - }, - { - type = "item-subgroup", - name = "bio-bio-farm-fluid-3", - group = "bio-industries", - order = "a-c", - }, - { - type = "item-subgroup", - name = "bio-bio-farm-fluid-entity", - group = "bio-industries", - order = "a-d", - }, - - ---- Solar Entities - { - type = "item-subgroup", - name = "bio-bio-solar-entity", - group = "bio-industries", - order = "a-solar", - }, - - - --- Coals and Cokery and Crushed Stone and Crusher - { - type = "item-subgroup", - name = "bio-bio-farm-raw", - group = "bio-industries", - order = "b-a", - }, - { - type = "item-subgroup", - name = "bio-bio-farm-raw-entity", - group = "bio-industries", - order = "b-b", - }, - - ----- Other Int Products - { - type = "item-subgroup", - name = "bio-bio-farm-intermediate-product", - group = "bio-industries", - order = "c-a", - }, - - ---- Arboretum - { - type = "item-subgroup", - name = "bio-arboretum-fluid", - group = "bio-industries", - order = "c-c", - }, - { - type = "item-subgroup", - name = "bio-arboretum-fluid-entity", - group = "bio-industries", - order = "c-d", - }, - - --- Bio Reactor and Bio-Mass - { - type = "item-subgroup", - name = "bio-bio-fuel-fluid", - group = "bio-industries", - order = "d-a-1" - }, - { - type = "item-subgroup", - name = "bio-bio-fuel-fluid-entity", - group = "bio-industries", - order = "d-a-2" - }, - ---- Bio Fuel Solids - { - type = "item-subgroup", - name = "bio-bio-fuel-solid", - group = "bio-industries", - order = "e" - }, - ---- Bio Fuel OTHER - { - type = "item-subgroup", - name = "bio-bio-fuel-other", - group = "bio-industries", - order = "f" - }, - - ---- Garden - { - type = "item-subgroup", - name = "bio-bio-gardens-fluid", - group = "bio-industries", - order = "x-a" - }, - { - type = "item-subgroup", - name = "bio-bio-gardens-fluid-entity", - group = "bio-industries", - order = "x-b" - }, - - { - type = "item-subgroup", - name = "bio-transport", - group = "bio-industries", - order = "e-a", - }, - { - type = "item-subgroup", - name = "bio-logistic-robots", - group = "bio-industries", - order = "f-a", - }, - { - type = "item-subgroup", - name = "bio-logistic-roboport", - group = "bio-industries", - order = "f-b", - }, - - - { - type = "item-subgroup", - name = "bio-tool", - group = "production", - order = "a-1", - }, - { - type = "item-subgroup", - name = "bio-energy-boiler", - group = "production", - order = "b-a" - }, - { - type = "item-subgroup", - name = "bio-energy-steam-engine", - group = "production", - order = "b-b" - }, - { - type = "item-subgroup", - name = "bio-energy-solar-panel", - group = "production", - order = "b-c" - }, - { - type = "item-subgroup", - name = "bio-energy-accumulator", - group = "production", - order = "b-d" - }, - { - type = "item-subgroup", - name = "bio-extraction-machine", - group = "production", - order = "c-a", - }, - { - type = "item-subgroup", - name = "bio-pump", - group = "production", - order = "c-b", - }, - { - type = "item-subgroup", - name = "bio-smelting-machine", - group = "production", - order = "d-a", - }, - { - type = "item-subgroup", - name = "bio-production-machine", - group = "production", - order = "e-a", - }, - { - type = "item-subgroup", - name = "bio-assembly-machine", - group = "production", - order = "e-b", - }, - { - type = "item-subgroup", - name = "bio-chemical-machine", - group = "production", - order = "e-c", - }, - { - type = "item-subgroup", - name = "bio-electrolyser-machine", - group = "production", - order = "e-d", - }, - { - type = "item-subgroup", - name = "bio-refinery-machine", - group = "production", - order = "e-e", - }, - - ---- Ammo for Bio Turrets/Bio Cannon - { - type = "item-subgroup", - name = "bi-ammo", - group = "combat", - order = "b-[bi-ammo]" - }, - - --[[ - { - type = "recipe-category", - name = "crafting-machine" - }, - ]] - } -) + +data:extend( + { + + { + type = "item-group", + name = "bio-industries", + order = "vaa-a", + inventory_order = "v-a", + icon = "__Bio_Industries_2__/graphics/technology/BioIndustries_itemgroup.png", + icon_size = 128, + icons = { + { + icon = "__Bio_Industries_2__/graphics/technology/BioIndustries_itemgroup.png", + icon_size = 128, + } + }, + }, + + { + type = "item-subgroup", + name = "bio-bio-farm", + group = "bio-industries", + order = "a-a", + }, + + + --- Bio Farm and Nursery + { + type = "item-subgroup", + name = "bio-bio-farm-fluid-1", + group = "bio-industries", + order = "a-a", + }, + { + type = "item-subgroup", + name = "bio-bio-farm-fluid-2", + group = "bio-industries", + order = "a-b", + }, + { + type = "item-subgroup", + name = "bio-bio-farm-fluid-3", + group = "bio-industries", + order = "a-c", + }, + { + type = "item-subgroup", + name = "bio-bio-farm-fluid-entity", + group = "bio-industries", + order = "a-d", + }, + + ---- Solar Entities + { + type = "item-subgroup", + name = "bio-bio-solar-entity", + group = "bio-industries", + order = "a-solar", + }, + + + --- Coals and Cokery and Crushed Stone and Crusher + { + type = "item-subgroup", + name = "bio-bio-farm-raw", + group = "bio-industries", + order = "b-a", + }, + { + type = "item-subgroup", + name = "bio-bio-farm-raw-entity", + group = "bio-industries", + order = "b-b", + }, + + ----- Other Int Products + { + type = "item-subgroup", + name = "bio-bio-farm-intermediate-product", + group = "bio-industries", + order = "c-a", + }, + + ---- Arboretum + { + type = "item-subgroup", + name = "bio-arboretum-fluid", + group = "bio-industries", + order = "c-c", + }, + { + type = "item-subgroup", + name = "bio-arboretum-fluid-entity", + group = "bio-industries", + order = "c-d", + }, + + --- Bio Reactor and Bio-Mass + { + type = "item-subgroup", + name = "bio-bio-fuel-fluid", + group = "bio-industries", + order = "d-a-1" + }, + { + type = "item-subgroup", + name = "bio-bio-fuel-fluid-entity", + group = "bio-industries", + order = "d-a-2" + }, + ---- Bio Fuel Solids + { + type = "item-subgroup", + name = "bio-bio-fuel-solid", + group = "bio-industries", + order = "e" + }, + ---- Bio Fuel OTHER + { + type = "item-subgroup", + name = "bio-bio-fuel-other", + group = "bio-industries", + order = "f" + }, + + ---- Garden + { + type = "item-subgroup", + name = "bio-bio-gardens-fluid", + group = "bio-industries", + order = "x-a" + }, + { + type = "item-subgroup", + name = "bio-bio-gardens-fluid-entity", + group = "bio-industries", + order = "x-b" + }, + + { + type = "item-subgroup", + name = "bio-transport", + group = "bio-industries", + order = "e-a", + }, + { + type = "item-subgroup", + name = "bio-logistic-robots", + group = "bio-industries", + order = "f-a", + }, + { + type = "item-subgroup", + name = "bio-logistic-roboport", + group = "bio-industries", + order = "f-b", + }, + + + { + type = "item-subgroup", + name = "bio-tool", + group = "production", + order = "a-1", + }, + { + type = "item-subgroup", + name = "bio-energy-boiler", + group = "production", + order = "b-a" + }, + { + type = "item-subgroup", + name = "bio-energy-steam-engine", + group = "production", + order = "b-b" + }, + { + type = "item-subgroup", + name = "bio-energy-solar-panel", + group = "production", + order = "b-c" + }, + { + type = "item-subgroup", + name = "bio-energy-accumulator", + group = "production", + order = "b-d" + }, + { + type = "item-subgroup", + name = "bio-extraction-machine", + group = "production", + order = "c-a", + }, + { + type = "item-subgroup", + name = "bio-pump", + group = "production", + order = "c-b", + }, + { + type = "item-subgroup", + name = "bio-smelting-machine", + group = "production", + order = "d-a", + }, + { + type = "item-subgroup", + name = "bio-production-machine", + group = "production", + order = "e-a", + }, + { + type = "item-subgroup", + name = "bio-assembly-machine", + group = "production", + order = "e-b", + }, + { + type = "item-subgroup", + name = "bio-chemical-machine", + group = "production", + order = "e-c", + }, + { + type = "item-subgroup", + name = "bio-electrolyser-machine", + group = "production", + order = "e-d", + }, + { + type = "item-subgroup", + name = "bio-refinery-machine", + group = "production", + order = "e-e", + }, + + ---- Ammo for Bio Turrets/Bio Cannon + { + type = "item-subgroup", + name = "bi-ammo", + group = "combat", + order = "b-[bi-ammo]" + }, + + --[[ + { + type = "recipe-category", + name = "crafting-machine" + }, + ]] + } +) diff --git a/Bio_Industries_2/prototypes/compound_entities/hidden_entities.lua b/Bio_Industries_2/prototypes/compound_entities/hidden_entities.lua index 5845910..d64e75a 100644 --- a/Bio_Industries_2/prototypes/compound_entities/hidden_entities.lua +++ b/Bio_Industries_2/prototypes/compound_entities/hidden_entities.lua @@ -1,204 +1,208 @@ --- Add functions that are also used in other files (debugging output etc.) -local BioInd = require('common')('Bio_Industries_2') -local ICONPATH = "__core__/graphics/" - -local HIDDENPATH = BioInd.modRoot .. "/prototypes/compound_entities/" -BioInd.writeDebug("Entered prototypes.hidden_entities.lua of \"%s\".", {BioInd.modName}) - ------------------------------------------------------------------------------------- --- Keep a list of all hidden entities we create, so we can modify them easily in -- --- data-updates.lua or data-final-fixes.lua. -- ------------------------------------------------------------------------------------- -BI.hidden_entities = {} -BI.hidden_entities.types = {} - -local no_sound = { - filename = "__base__/sound/silence-1sec.ogg", - -} ------------------------------------------------------------------------------------- --- Some common properties that should be used by all hidden entity types -- ------------------------------------------------------------------------------------- -BI.hidden_entities.flags = { - "hide-alt-info", - "no-copy-paste", - "not-blueprintable", - "not-deconstructable", - "not-flammable", - "not-in-kill-statistics", - "not-on-map", - "not-repairable", - "not-upgradable", - "placeable-off-grid", -} -if not BioInd.is_debug then - table.insert(BI.hidden_entities.flags, "not-selectable-in-game") -end - -BI.hidden_entities.collision_mask = nil -BI.hidden_entities.collision_box = {{0, 0}, {0, 0}} -BI.hidden_entities.selection_box = BioInd.is_debug and - {{-0.5, -0.5}, {0.5, 0.5}} or - {{0, 0}, {0, 0}} -BI.hidden_entities.selectable_in_game = BioInd.is_debug -BI.hidden_entities.max_health = 1 - -BI.hidden_entities.icon = ICONPATH .. "empty.png" -BI.hidden_entities.icon_size = 1 -BI.hidden_entities.icon_mipmaps = 0 - -BI.hidden_entities.icons = { - { - icon = BI.hidden_entities.icon, - icon_size = BI.hidden_entities.icon_size, - icon_mipmaps = BI.hidden_entities.icon_mipmaps - } -} -BI.hidden_entities.picture = { - filename = ICONPATH .. "empty.png", - priority = "low", - size = 1, - frame_count = 1, - axially_symmetrical = false, - direction_count = 1, -} -BI.hidden_entities.overlay = BI.hidden_entities.picture - --- The resistances will be set in data-updates.lua, when all mods have had --- a chance to create their damage types! -BI.hidden_entities.hide_resistances = true - -BI.hidden_entities.sounds = { - build_sound = no_sound, - close_sound = no_sound, - mined_sound = no_sound, - open_sound = no_sound, - repair_sound = no_sound, - rotated_sound = no_sound, - vehicle_impact_sound = no_sound, - working_sound = no_sound, -} - -BI.hidden_entities.misc = { - active_picture = BI.hidden_entities.picture, - circuit_wire_max_distance = 0, - corpse = "", - created_effect = nil, - created_smoke = nil, - damaged_trigger_effect = nil, - energy_source = { - render_no_network_icon = false, - render_no_power_icon = false, - }, - fast_replaceable_group = "", - light = nil, - next_upgrade = "", - remove_decoratives = "false", - water_reflection = {pictures = BI.hidden_entities.picture}, -} - - ------------------------------------------------------------------------------------- --- Apply the common properties to this hidden-entity prototype! -- ------------------------------------------------------------------------------------- -BI.set_common_properties = function(h_entity) - for s, sound in pairs(BI.hidden_entities.sounds) do - h_entity[s] = sound - end - - for s, setting in pairs(BI.hidden_entities.misc) do - h_entity[s] = setting - end - - h_entity.icon = BI.hidden_entities.icon - h_entity.icon_size = BI.hidden_entities.icon_size - h_entity.icon_mipmaps = BI.hidden_entities.icon_mipmaps - - if BioInd.is_debug then - h_entity.icons = h_entity.icons or { - { - icon = h_entity.icon, - icon_size = h_entity.icon_size or 1, - icon_mipmaps = h_entity.icon_mipmaps - } - } - else - h_entity.icons = BI.hidden_entities.icons - end - - h_entity.picture = BioInd.is_debug and h_entity.picture or BI.hidden_entities.picture - h_entity.pictures = BioInd.is_debug and h_entity.pictures or BI.hidden_entities.picture - h_entity.overlay = BioInd.is_debug and h_entity.overlay or BI.hidden_entities.overlay - h_entity.flags = BI.hidden_entities.flags - h_entity.selectable_in_game = BI.hidden_entities.selectable_in_game - h_entity.max_health = BI.hidden_entities.max_health - - h_entity.collision_mask = BI.hidden_entities.collision_mask - h_entity.collision_box = BI.hidden_entities.collision_box - h_entity.selection_box = BI.hidden_entities.selection_box - - h_entity.hidden = true -end - - ------------------------------------------------------------------------------------- --- Compile a list of the hidden-entity prototype of this compound entity! -- ------------------------------------------------------------------------------------- --- The list of compound entities contains duplicate data for related entities (e.g. --- curved and straight rails, or entities where an overlay is placed first). So, we --- should look for the tables instead: They are guaranteed to be unique! -BI.make_hidden_entity_list = function(hidden_type) - BioInd.check_args(hidden_type, "string", "valid handle for hidden entities") - - local name, entity_locale - for c_name, c_data in pairs(BioInd.compound_entities) do - BioInd.writeDebug("Checking %s for hidden %ss", {c_name, hidden_type}) - local h_type = c_data.hidden[hidden_type] - if h_type then - name = h_type and h_type.name or c_data.base and c_data.base.name .. "-hidden-" .. hidden_type - -- Store the name of the compound entity -- we'll need it for the localization! - BI.hidden_entities.types[hidden_type] = BI.hidden_entities.types[hidden_type] or {} - -- If the base entity is just an overlay, it won't have its own localization key - -- but use the same localizations as the final entity. So, we'll check for the - -- "new_base_name" property first and use the base entity's name if it hasn't been - -- set. - BI.hidden_entities.types[hidden_type][name] = h_type.localize_entity or - c_data.new_base_name or - c_name - BioInd.writeDebug("Must create %s!", {name}) - end - end -end - - ------------------------------------------------------------------------------------- --- Add a layer to a picture -- ------------------------------------------------------------------------------------- --- The hidden entities DO need to have images, so that they can be identified in the --- production tab! -BI.add_layer = function(layers, data) - BioInd.check_args(data, "table", "layer data") - layers = layers or {} - - local name = data.name - local priority = data.priority - local height = data.height - local width = data.width - local size = data.size - local shadow = data.shadow - - layers[#layers + 1] = { - filename = name, - priority = priority or "low", - width = width and width * 2, - height = height and height * 2, - size = size and size * 2, - draw_as_shadow = shadow, - scale = 0.5, - } - return layers -end - -require(HIDDENPATH .. "hidden_lamps") -require(HIDDENPATH .. "hidden_panels") -require(HIDDENPATH .. "hidden_radars") \ No newline at end of file +-- Add functions that are also used in other files (debugging output etc.) +local BioInd = require('common')('Bio_Industries_2') +local ICONPATH = "__core__/graphics/" +local ICONPATH_E = BioInd.modRoot .. "/graphics/icons/entity/" +local HIDDENPATH = BioInd.modRoot .. "/prototypes/compound_entities/" + +BioInd.writeDebug("Entered prototypes.hidden_entities.lua of \"%s\".", {BioInd.modName}) + +------------------------------------------------------------------------------------ +-- Keep a list of all hidden entities we create, so we can modify them easily in -- +-- data-updates.lua or data-final-fixes.lua. -- +------------------------------------------------------------------------------------ +BI.hidden_entities = {} +BI.hidden_entities.types = {} + +local no_sound = { + filename = "__base__/sound/silence-1sec.ogg", + +} +------------------------------------------------------------------------------------ +-- Some common properties that should be used by all hidden entity types -- +------------------------------------------------------------------------------------ +BI.hidden_entities.flags = { + "hide-alt-info", + "no-copy-paste", + "not-blueprintable", + "not-deconstructable", + "not-flammable", + "not-in-kill-statistics", + "not-on-map", + "not-repairable", + "not-upgradable", + "placeable-off-grid", +} +if not BioInd.is_debug then + table.insert(BI.hidden_entities.flags, "not-selectable-in-game") +end + +-- make hidden entities non-colliding by default +BI.hidden_entities.collision_mask = { layers = {} } +BI.hidden_entities.collision_box = {{0, 0}, {0, 0}} +BI.hidden_entities.selection_box = BioInd.is_debug and + {{-0.5, -0.5}, {0.5, 0.5}} or + {{0, 0}, {0, 0}} +BI.hidden_entities.selectable_in_game = BioInd.is_debug +BI.hidden_entities.max_health = 1 + +BI.hidden_entities.icon = ICONPATH .. "empty.png" +BI.hidden_entities.icon_size = 1 +BI.hidden_entities.icon_mipmaps = 0 + +BI.hidden_entities.icons = { + { + icon = BI.hidden_entities.icon, + icon_size = BI.hidden_entities.icon_size, + icon_mipmaps = BI.hidden_entities.icon_mipmaps + } +} +BI.hidden_entities.picture = { + filename = ICONPATH .. "empty.png", + priority = "low", + size = 1, + frame_count = 1, + axially_symmetrical = false, + direction_count = 1, +} +BI.hidden_entities.overlay = BI.hidden_entities.picture + +-- The resistances will be set in data-updates.lua, when all mods have had +-- a chance to create their damage types! +BI.hidden_entities.hide_resistances = true + +BI.hidden_entities.sounds = { + build_sound = no_sound, + close_sound = no_sound, + mined_sound = no_sound, + open_sound = no_sound, + repair_sound = no_sound, + rotated_sound = no_sound, + vehicle_impact_sound = no_sound, + working_sound = no_sound, +} + +BI.hidden_entities.misc = { + active_picture = BI.hidden_entities.picture, + circuit_wire_max_distance = 0, + corpse = "", + created_effect = nil, + created_smoke = nil, + damaged_trigger_effect = nil, + energy_source = { + render_no_network_icon = false, + render_no_power_icon = false, + }, + fast_replaceable_group = "", + light = nil, + next_upgrade = "", + remove_decoratives = "false", + water_reflection = {pictures = BI.hidden_entities.picture}, +} + + +------------------------------------------------------------------------------------ +-- Apply the common properties to this hidden-entity prototype! -- +------------------------------------------------------------------------------------ +BI.set_common_properties = function(h_entity) + for s, sound in pairs(BI.hidden_entities.sounds) do + h_entity[s] = sound + end + + for s, setting in pairs(BI.hidden_entities.misc) do + h_entity[s] = setting + end + + h_entity.icon = BI.hidden_entities.icon + h_entity.icon_size = BI.hidden_entities.icon_size + h_entity.icon_mipmaps = BI.hidden_entities.icon_mipmaps + + if BioInd.is_debug then + h_entity.icons = h_entity.icons or { + { + icon = h_entity.icon, + icon_size = h_entity.icon_size or 1, + icon_mipmaps = h_entity.icon_mipmaps + } + } + else + h_entity.icons = BI.hidden_entities.icons + end + + h_entity.picture = BioInd.is_debug and h_entity.picture or BI.hidden_entities.picture + h_entity.pictures = BioInd.is_debug and h_entity.pictures or BI.hidden_entities.picture + h_entity.overlay = BioInd.is_debug and h_entity.overlay or BI.hidden_entities.overlay + h_entity.flags = BI.hidden_entities.flags + h_entity.selectable_in_game = BI.hidden_entities.selectable_in_game + h_entity.max_health = BI.hidden_entities.max_health + + --h_entity.collision_mask = {} + h_entity.collision_mask = BI.hidden_entities.collision_mask + h_entity.collision_box = BI.hidden_entities.collision_box + h_entity.selection_box = BI.hidden_entities.selection_box + + h_entity.hidden = true +end + + +------------------------------------------------------------------------------------ +-- Compile a list of the hidden-entity prototype of this compound entity! -- +------------------------------------------------------------------------------------ +-- The list of compound entities contains duplicate data for related entities (e.g. +-- curved and straight rails, or entities where an overlay is placed first). So, we +-- should look for the tables instead: They are guaranteed to be unique! +BI.make_hidden_entity_list = function(hidden_type) + BioInd.check_args(hidden_type, "string", "valid handle for hidden entities") + + local name, entity_locale + for c_name, c_data in pairs(BioInd.compound_entities) do + BioInd.writeDebug("Checking %s for hidden %ss", {c_name, hidden_type}) + local h_type = c_data.hidden[hidden_type] + if h_type then + name = h_type and h_type.name or c_data.base and c_data.base.name .. "-hidden-" .. hidden_type + -- Store the name of the compound entity -- we'll need it for the localization! + BI.hidden_entities.types[hidden_type] = BI.hidden_entities.types[hidden_type] or {} + -- If the base entity is just an overlay, it won't have its own localization key + -- but use the same localizations as the final entity. So, we'll check for the + -- "new_base_name" property first and use the base entity's name if it hasn't been + -- set. + BI.hidden_entities.types[hidden_type][name] = h_type.localize_entity or + c_data.new_base_name or + c_name + BioInd.writeDebug("Must create %s!", {name}) + end + end +end + + +------------------------------------------------------------------------------------ +-- Add a layer to a picture -- +------------------------------------------------------------------------------------ +-- The hidden entities DO need to have images, so that they can be identified in the +-- production tab! +BI.add_layer = function(layers, data) + BioInd.check_args(data, "table", "layer data") + layers = layers or {} + + local name = data.name + local priority = data.priority + local height = data.height + local width = data.width + local size = data.size + local shadow = data.shadow + + layers[#layers + 1] = { + filename = name, + priority = priority or "low", + width = width and width * 2, + height = height and height * 2, + size = size and size * 2, + draw_as_shadow = shadow, + scale = 0.5, + } + return layers +end + +require(HIDDENPATH .. "hidden_lamps") +require(HIDDENPATH .. "hidden_panels") +require(HIDDENPATH .. "hidden_poles") +require(HIDDENPATH .. "hidden_radars") diff --git a/Bio_Industries_2/prototypes/compound_entities/hidden_lamps.lua b/Bio_Industries_2/prototypes/compound_entities/hidden_lamps.lua index ffbddc2..98449dc 100644 --- a/Bio_Industries_2/prototypes/compound_entities/hidden_lamps.lua +++ b/Bio_Industries_2/prototypes/compound_entities/hidden_lamps.lua @@ -1,74 +1,77 @@ --- Add functions that are also used in other files (debugging output etc.) -local BioInd = require('common')('Bio_Industries_2') -BioInd.writeDebug("Entered prototypes.hidden_lamps.lua of \"%s\".", {BioInd.modName}) - -local ICONPATH = BioInd.modRoot .. "/graphics/icons/" - ------------------------------------------------------------------------------------- --- Create the main prototype for hidden lamps. All others will be based on this! -- ------------------------------------------------------------------------------------- --- The short name of the hidden entity (e.g. "lamp" or "pole") -local h_key = "lamp" --- The actual prototype type, identified by h_key -local h_type = BioInd.HE_map[h_key] -local h_entity = table.deepcopy(data.raw[h_type]["small-lamp"]) - -BI.set_common_properties(h_entity) - ------------------------------------------------------------------------------------- --- Lamp specific attributes! -h_entity.energy_source.type = "void" -h_entity.energy_source.usage_priority = "lamp" - -h_entity.energy_usage_per_tick = "100kW" -h_entity.light = {intensity = 1, size = 45} -h_entity.light_when_colored= {intensity = 0, size = 0} -h_entity.signal_to_color_mapping = {} - -h_entity.circuit_connector_sprites = {} -for l, led in ipairs({"red", "green", "blue", "light"}) do - h_entity.circuit_connector_sprites["led_" .. led] = BI.hidden_entities.picture - h_entity.circuit_connector_sprites["led_" .. led].intensity = 0 -end - -h_entity.picture_off = BI.hidden_entities.picture - -h_entity.picture_on = BI.hidden_entities.picture - - ------------------------------------------------------------------------------------- --- Make a copy of the hidden-entity prototype for each compound entity! -- ------------------------------------------------------------------------------------- - ------------------------------------------------------------------------------------- --- Compile a list of the hidden entities we'll need -BI.make_hidden_entity_list(h_key) - ------------------------------------------------------------------------------------- --- Make the copies! -local lamp -local c_entities = BioInd.compound_entities - -for lamp_name, locale_name in pairs(BI.hidden_entities.types[h_key]) do - lamp = table.deepcopy(h_entity) - lamp.name = lamp_name - lamp.localised_name = {"entity-name." .. locale_name} - lamp.localised_description = {"entity-description." .. locale_name} - - -- Adjust properties for hidden lamp of Bio farm - if c_entities["bi-bio-farm"] and - lamp_name == c_entities["bi-bio-farm"].hidden[h_type].name then - - lamp.icon = ICONPATH .. "Bio_Farm_Lamp.png" - lamp.icon_size = 64 - lamp.BI_add_icon = true - BioInd.show("Adjusted properties of", lamp_name) - end - data:extend({lamp}) - - BioInd.show("Created", lamp_name) -end - - ------------------------------------------------------------------------------------- --- Testing +-- Add functions that are also used in other files (debugging output etc.) +local BioInd = require('common')('Bio_Industries_2') +BioInd.writeDebug("Entered prototypes.hidden_lamps.lua of \"%s\".", {BioInd.modName}) + +local ICONPATH = BioInd.modRoot .. "/graphics/icons/" +local ICONPATH_E = BioInd.modRoot .. "/graphics/icons/entity/" + +------------------------------------------------------------------------------------ +-- Create the main prototype for hidden lamps. All others will be based on this! -- +------------------------------------------------------------------------------------ +-- The short name of the hidden entity (e.g. "lamp" or "pole") +local h_key = "lamp" +-- The actual prototype type, identified by h_key +local h_type = BioInd.HE_map[h_key] +local h_entity = table.deepcopy(data.raw[h_type]["small-lamp"]) + +BI.set_common_properties(h_entity) + +------------------------------------------------------------------------------------ +-- Lamp specific attributes! +h_entity.energy_source.type = "void" +h_entity.energy_source.usage_priority = "lamp" + +h_entity.energy_usage_per_tick = "100kW" +h_entity.light = {intensity = 1, size = 45} +h_entity.light_when_colored= {intensity = 0, size = 0} +h_entity.signal_to_color_mapping = {} + +h_entity.circuit_connector_sprites = {} +for l, led in ipairs({"red", "green", "blue", "light"}) do + h_entity.circuit_connector_sprites["led_" .. led] = BI.hidden_entities.picture + h_entity.circuit_connector_sprites["led_" .. led].intensity = 0 +end + +h_entity.picture_off = BI.hidden_entities.picture + +h_entity.picture_on = BI.hidden_entities.picture + + +------------------------------------------------------------------------------------ +-- Make a copy of the hidden-entity prototype for each compound entity! -- +------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------ +-- Compile a list of the hidden entities we'll need +BI.make_hidden_entity_list(h_key) + +------------------------------------------------------------------------------------ +-- Make the copies! +local lamp +local c_entities = BioInd.compound_entities + +for lamp_name, locale_name in pairs(BI.hidden_entities.types[h_key]) do + lamp = table.deepcopy(h_entity) + lamp.name = lamp_name + lamp.localised_name = {"entity-name." .. locale_name} + lamp.localised_description = {"entity-description." .. locale_name} + lamp.collision_mask = { layers = {} } + lamp.collision_box = {{0,0},{0,0}} + + -- Adjust properties for hidden lamp of Bio farm + if c_entities["bi-bio-farm"] and + lamp_name == c_entities["bi-bio-farm"].hidden[h_type].name then + + lamp.icon = ICONPATH_E .. "bio_Farm_Lamp.png" + lamp.icon_size = 64 + lamp.BI_add_icon = true + BioInd.show("Adjusted properties of", lamp_name) + end + data:extend({lamp}) + + BioInd.show("Created", lamp_name) +end + + +------------------------------------------------------------------------------------ +-- Testing diff --git a/Bio_Industries_2/prototypes/compound_entities/hidden_panels.lua b/Bio_Industries_2/prototypes/compound_entities/hidden_panels.lua index 574a79e..614b6bd 100644 --- a/Bio_Industries_2/prototypes/compound_entities/hidden_panels.lua +++ b/Bio_Industries_2/prototypes/compound_entities/hidden_panels.lua @@ -1,102 +1,97 @@ --- Add functions that are also used in other files (debugging output etc.) -local BioInd = require('common')('Bio_Industries_2') -BioInd.writeDebug("Entered prototypes.hidden_panels.lua of \"%s\".", {BioInd.modName}) - -local ICONPATH = BioInd.modRoot .. "/graphics/icons/" - ------------------------------------------------------------------------------------- --- Create the main prototype for hidden lamps. All others will be based on this! -- ------------------------------------------------------------------------------------- --- The short name of the hidden entity (e.g. "lamp" or "pole") -local h_key = "panel" --- The actual prototype type, identified by h_key -local h_type = BioInd.HE_map[h_key] -local h_entity = table.deepcopy(data.raw[h_type]["solar-panel"]) - -BioInd.show("Panel data", h_entity) - -BI.set_common_properties(h_entity) - -BioInd.show("Panel data after set_common_properties", h_entity) ------------------------------------------------------------------------------------- --- Panel specific attributes! -h_entity.energy_source = { - type = "electric", - usage_priority = "solar" -} - - ------------------------------------------------------------------------------------- --- Make a copy of the hidden-entity prototype for each compound entity! -- ------------------------------------------------------------------------------------- - ------------------------------------------------------------------------------------- --- Compile a list of the hidden entities we'll need -BI.make_hidden_entity_list(h_key) - --- Musk floor is not an entity, but a tile, so we don't have a compound-entity table --- for it and must add it manually! -local Musk_name = "bi-musk-mat-hidden-panel" -BI.hidden_entities.types[h_key][Musk_name] = "bi-solar-mat" - - ------------------------------------------------------------------------------------- --- Make the copies! -local tmp, panel -local c_entities = BioInd.compound_entities - -for panel_name, locale_name in pairs(BI.hidden_entities.types[h_key]) do - panel = table.deepcopy(h_entity) - panel.name = panel_name - panel.localised_name = {"entity-name." .. locale_name} - panel.localised_description = {"entity-description." .. locale_name} - - - -- Adjust properties for hidden panel of Solar boiler - if c_entities["bi-solar-boiler"] and - panel_name == c_entities["bi-solar-boiler"].hidden[h_key].name then - - panel.icon = ICONPATH .. "Bio_Solar_Boiler_Icon.png" - panel.icon_size = 64 - panel.BI_add_icon = true - - panel.picture = {} - panel.picture = BI.add_layer(panel.picture, { - name = BioInd.modRoot .. "/graphics/entities/bio_solar_farm/Bio_Solar_Boiler.png", - size = 288 - }) - panel.overlay = {} - panel.overlay = table.deepcopy(panel.picture) - - panel.max_health = 400 - panel.render_no_power_icon = true - panel.collision_box = {{-4.2, -4.2}, {4.2, 4.2}} - panel.production = "1.8MW" - BioInd.show("Adjusted properties of", panel_name) - - -- Adjust properties for hidden panel of bio farms - elseif c_entities["bi-bio-farm"] and - c_entities["bi-bio-farm"].hidden[h_key] and - panel_name == c_entities["bi-bio-farm"].hidden[h_key].name then - panel.icon = ICONPATH .. "Bio_Farm_Solar.png" - panel.icon_size = 64 - panel.BI_add_icon = true - panel.production = "100kW" - BioInd.show("Adjusted properties of", panel_name) - - -- Adjust properties for hidden panel of Musk floor - elseif panel_name == Musk_name then - panel.icon = ICONPATH .. "solar-mat.png" - panel.icon_size = 64 - panel.BI_add_icon = true - panel.production = "10kW" - BioInd.show("Adjusted properties of", panel_name) - end - - data:extend({panel}) - - BioInd.show("Created", panel_name) -end - - ------------------------------------------------------------------------------------- +-- Add functions that are also used in other files (debugging output etc.) +local BioInd = require('common')('Bio_Industries_2') +BioInd.writeDebug("Entered prototypes.hidden_panels.lua of \"%s\".", { BioInd.modName }) + +local ICONPATH = BioInd.modRoot .. "/graphics/icons/" +local ICONPATH_E = BioInd.modRoot .. "/graphics/icons/entity/" + +------------------------------------------------------------------------------------ +-- Create the main prototype for hidden lamps. All others will be based on this! -- +------------------------------------------------------------------------------------ +-- The short name of the hidden entity (e.g. "lamp" or "pole") +local h_key = "panel" +-- The actual prototype type, identified by h_key +local h_type = BioInd.HE_map[h_key] +local h_entity = table.deepcopy(data.raw[h_type]["solar-panel"]) + +BioInd.show("Panel data", h_entity) + +BI.set_common_properties(h_entity) + +BioInd.show("Panel data after set_common_properties", h_entity) +------------------------------------------------------------------------------------ +-- Panel specific attributes! +h_entity.energy_source = { + type = "electric", + usage_priority = "solar" +} + + +------------------------------------------------------------------------------------ +-- Make a copy of the hidden-entity prototype for each compound entity! -- +------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------ +-- Compile a list of the hidden entities we'll need +BI.make_hidden_entity_list(h_key) + +-- Musk floor is not an entity, but a tile, so we don't have a compound-entity table +-- for it and must add it manually! +local Musk_name = "bi-musk-mat-hidden-panel" +BI.hidden_entities.types[h_key][Musk_name] = "bi-solar-mat" + + +------------------------------------------------------------------------------------ +-- Make the copies! +local tmp, panel +local c_entities = BioInd.compound_entities + +for panel_name, locale_name in pairs(BI.hidden_entities.types[h_key]) do + panel = table.deepcopy(h_entity) + panel.name = panel_name + panel.localised_name = { "entity-name." .. locale_name } + panel.localised_description = { "entity-description." .. locale_name } + panel.collision_mask = { layers = {} } + panel.collision_box = {{0,0},{0,0}} + + + -- Adjust properties for hidden panel of Solar boiler + if c_entities["bi-solar-boiler"] and + panel_name == c_entities["bi-solar-boiler"].hidden[h_key].name then + panel.icon = ICONPATH_E .. "bio_Solar_Boiler_Icon.png" + panel.icon_size = 64 + panel.BI_add_icon = true + panel.picture = nil + panel.overlay = nil + panel.max_health = 400 + panel.render_no_power_icon = true + panel.collision_box = { { -4.2, -4.2 }, { 4.2, 4.2 } } + panel.production = "1.8MW" + BioInd.show("Adjusted properties of", panel_name) + + -- Adjust properties for hidden panel of bio farms + elseif c_entities["bi-bio-farm"] and + c_entities["bi-bio-farm"].hidden[h_key] and + panel_name == c_entities["bi-bio-farm"].hidden[h_key].name then + panel.icon = ICONPATH_E .. "bio_Farm_Solar.png" + panel.icon_size = 64 + panel.BI_add_icon = true + panel.production = "100kW" + BioInd.show("Adjusted properties of", panel_name) + + -- Adjust properties for hidden panel of Musk floor + elseif panel_name == Musk_name then + panel.icon = ICONPATH_E .. "solar-mat.png" + panel.icon_size = 64 + panel.BI_add_icon = true + panel.production = "10kW" + BioInd.show("Adjusted properties of", panel_name) + end + + data:extend({ panel }) + + BioInd.show("Created", panel_name) +end + + +------------------------------------------------------------------------------------ diff --git a/Bio_Industries_2/prototypes/compound_entities/hidden_poles.lua b/Bio_Industries_2/prototypes/compound_entities/hidden_poles.lua new file mode 100644 index 0000000..7818844 --- /dev/null +++ b/Bio_Industries_2/prototypes/compound_entities/hidden_poles.lua @@ -0,0 +1,193 @@ +-- Add functions that are also used in other files (debugging output etc.) +local BioInd = require('common')('Bio_Industries_2') +BioInd.writeDebug("Entered prototypes.hidden_poles.lua of \"%s\".", {BioInd.modName}) + +local ICONPATH = BioInd.modRoot .. "/graphics/icons/" +local ICONPATH_E = BioInd.modRoot .. "/graphics/icons/entity/" + +------------------------------------------------------------------------------------ +-- Create the main prototype for hidden poles. All others will be based on this! -- +------------------------------------------------------------------------------------ +--~ local h_type = "electric-pole" +--~ local h_entity = table.deepcopy(data.raw[h_type]["small-electric-pole"]) +-- The short name of the hidden entity (e.g. "lamp" or "pole") +local h_key = "pole" +-- The actual prototype type, identified by h_key +local h_type = BioInd.HE_map[h_key] +local h_entity = table.deepcopy(data.raw[h_type]["small-electric-pole"]) + +BI.set_common_properties(h_entity) + +------------------------------------------------------------------------------------ +-- Pole specific attributes! +h_entity.draw_copper_wires = BioInd.is_debug +h_entity.draw_circuit_wires = BioInd.is_debug + +h_entity.maximum_wire_distance = 10 +h_entity.supply_area_distance = 5 +h_entity.connection_points = BioInd.is_debug and + h_entity.connection_points or { + { + shadow = {}, + wire = { copper_wire_tweak = {0, 0} } + } + } +h_entity.radius_visualisation_picture = BioInd.is_debug and + h_entity.radius_visualisation_picture or + BI.hidden_entities.picture + + +h_entity.energy_source = { + type = "electric", + usage_priority = "solar" +} + + +------------------------------------------------------------------------------------ +-- Make a copy of the hidden-entity prototype for each compound entity! -- +------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------ +-- Compile a list of the hidden entities we'll need +BI.make_hidden_entity_list(h_key) + +-- Musk floor is not an entity, but a tile, so we don't have a compound-entity table +-- for it and must add it manually! +local Musk_name = "bi-musk-mat-hidden-pole" +BI.hidden_entities.types[h_key][Musk_name] = "bi-solar-mat" + +-- We only have one "connector" at the moment. No need to add another file just for that, +-- so let's add this connector manually to the list! +BI.hidden_entities.types[h_key]["bi-bio-farm-hidden-connector_pole"] = "bi-bio-farm" + +local function shift_picture(pole, offset) + if not BioInd.is_debug then + pole.pictures.shift = offset or {0, 0} + end +end + +------------------------------------------------------------------------------------ +-- Make the copies! +local tmp, pole +local c_entities = BioInd.compound_entities + +BioInd.writeDebug("BI.hidden_entities.types[%s]: %s", {h_key, BI.hidden_entities.types[h_key]}) +--~ for pole_name, locale_name in pairs(pole_list) do +for pole_name, locale_name in pairs(BI.hidden_entities.types[h_key]) do +BioInd.show("pole_name", pole_name) +BioInd.show("locale_name", locale_name) + --~ pole = table.deepcopy(data.raw["electric-pole"]["bi-hidden-power-pole"]) + pole = table.deepcopy(h_entity) + pole.name = pole_name + pole.localised_name = {"entity-name." .. locale_name} + pole.localised_description = {"entity-description." .. locale_name} + pole.icon_size = BioInd.is_debug and pole.icon_size or 64 + pole.collision_mask = { layers = {} } + pole.collision_box = {{0,0},{0,0}} + + ------------------------------------------------------------------------------------ + -- Adjust properties for hidden biofarm poles + ------------------------------------------------------------------------------------ + --~ if c_entities["bi-bio-farm"] then + --~ -- We have connectors on the roof of Bio farms, so we want to display connections + --~ if c_entities["bi-bio-farm"].hidden["connector"] and + --~ pole_name == c_entities["bi-bio-farm"].hidden["connector"].name then + local biofarm_connector = c_entities["bi-bio-farm"].hidden["connector"] and + pole_name == c_entities["bi-bio-farm"].hidden["connector"].name + local biofarm_pole = (c_entities["bi-bio-farm"].hidden[h_key] and + pole_name == c_entities["bi-bio-farm"].hidden[h_key].name) + if c_entities["bi-bio-farm"] and biofarm_connector or biofarm_pole then + + -- We have connectors on the roof of Bio farms, so we want to display connections + --~ if (c_entities["bi-bio-farm"].hidden["connector"] and + --~ pole_name == c_entities["bi-bio-farm"].hidden["connector"].name) then + if biofarm_connector then + + pole.draw_copper_wires = true + local vanilla = table.deepcopy(data.raw[h_type]["small-electric-pole"]) + local cp = vanilla.connection_points[1] + local offset_y = 2.7 + + for img, img_data in ipairs({"shadow", "wire"}) do + cp[img_data].green = nil + cp[img_data].red = nil + + cp[img_data].copper[1] = cp[img_data].copper[1] + (offset_x or 0) + cp[img_data].copper[2] = cp[img_data].copper[2] + (offset_y or 0) + end + pole.connection_points = BioInd.is_debug and vanilla.connection_points or {cp} + pole.pictures = BioInd.is_debug and vanilla.pictures or pole.pictures + --~ pole.supply_area_distance = 1 + pole.supply_area_distance = 5 + pole.maximum_wire_distance = 5 + + shift_picture(pole) + BioInd.show("Adjusted properties of", pole_name) + + -- Hidden center pole for supplying the area around the building + --~ elseif pole_name == c_entities["bi-bio-farm"].hidden[h_key].name then + + --~ elseif (c_entities["bi-bio-farm"].hidden[h_key] and + --~ pole_name == c_entities["bi-bio-farm"].hidden[h_key].name) then + else + --~ pole.draw_copper_wires = true + pole.maximum_wire_distance = 2 + pole.supply_area_distance = 5 + --~ pole.selection_box = {{-.25, -.25}, {.25, .25}} + --~ pole.selectable_in_game = true + + shift_picture(pole) + BioInd.show("Adjusted properties of", pole_name) + end + + ------------------------------------------------------------------------------------ + -- Adjust properties for hidden power-rail pole + ------------------------------------------------------------------------------------ + elseif (c_entities["bi-straight-rail-power"] and + c_entities["bi-straight-rail-power"].hidden[h_key] and + pole_name == c_entities["bi-straight-rail-power"].hidden[h_key].name) or + (c_entities["bi-curved-rail-power"] and + c_entities["bi-curved-rail-power"].hidden[h_key] and + pole_name == c_entities["bi-curved-rail-power"].hidden[h_key].name) then + --~ elseif pole_name == c_entities["bi-straight-rail-power"].hidden[h_key].name then + + --~ pole.localised_name = {"entity-name.bi-rail-power"} + --~ pole.localised_description = {"entity-description.bi-rail-power"} + pole.maximum_wire_distance = 9 + pole.supply_area_distance = 2 + shift_picture(pole) + BioInd.show("Adjusted properties of", pole_name) + + ------------------------------------------------------------------------------------ + -- Adjust properties for hidden pole of bio gardens + ------------------------------------------------------------------------------------ + elseif c_entities["bi-bio-garden"] and + -- This pole may have been removed because "Easy Gardens" is disabled! + c_entities["bi-bio-garden"].hidden[h_key] and + pole_name == c_entities["bi-bio-garden"].hidden[h_key].name then + pole.maximum_wire_distance = 4 + pole.supply_area_distance = 1 + shift_picture(pole) + BioInd.show("Adjusted properties of", pole_name) + + ------------------------------------------------------------------------------------ + -- Adjust properties for hidden pole of Musk floor + ------------------------------------------------------------------------------------ + elseif pole_name == Musk_name then + pole.icon = ICONPATH_E .. "solar-mat.png" + pole.icon_size = 64 + pole.maximum_wire_distance = 1 + pole.supply_area_distance = 3 + BioInd.show("Adjusted properties of", pole_name) + end + + data:extend({pole}) + BioInd.show("Created", pole_name) +end + + +------------------------------------------------------------------------------------ +--~ -- Testing +--~ for k, v in pairs(data.raw[h_entity.type]) do + --~ BioInd.writeDebug("%s: %s", {k, v}) +--~ end diff --git a/Bio_Industries_2/prototypes/compound_entities/hidden_radars.lua b/Bio_Industries_2/prototypes/compound_entities/hidden_radars.lua index 294b56b..a529a22 100644 --- a/Bio_Industries_2/prototypes/compound_entities/hidden_radars.lua +++ b/Bio_Industries_2/prototypes/compound_entities/hidden_radars.lua @@ -1,134 +1,139 @@ --- Add functions that are also used in other files (debugging output etc.) -local BioInd = require('common')('Bio_Industries_2') -BioInd.writeDebug("Entered prototypes.hidden_radars.lua of \"%s\".", {BioInd.modName}) - -local ICONPATH = BioInd.modRoot .. "/graphics/icons/" - -require ("util") - - ------------------------------------------------------------------------------------- --- Create the main prototype for hidden radars. All others will be based on this! -- ------------------------------------------------------------------------------------- --- The short name of the hidden entity (e.g. "lamp" or "pole") -local h_key = "radar" --- The actual prototype type, identified by h_key -local h_type = BioInd.HE_map[h_key] -local h_entity = table.deepcopy(data.raw[h_type]["radar"]) - -BI.set_common_properties(h_entity) - ------------------------------------------------------------------------------------- --- Lamp specific attributes! -h_entity.energy_source.type = "electric" -h_entity.energy_source.usage_priority = "secondary-input" - - ------------------------------------------------------------------------------------- --- Make a copy of the hidden-entity prototype for each compound entity! -- ------------------------------------------------------------------------------------- - ------------------------------------------------------------------------------------- --- Compile a list of the hidden entities we'll need -BI.make_hidden_entity_list(h_key) - - ------------------------------------------------------------------------------------- --- Make the copies! -local radar -local c_entities = BioInd.compound_entities - -for radar_name, locale_name in pairs(BI.hidden_entities.types[h_key]) do - radar = table.deepcopy(h_entity) - -BioInd.show("radar_name", radar_name) -BioInd.show("locale_name", locale_name) - radar.name = radar_name - radar.localised_name = {"entity-name." .. locale_name} - radar.localised_description = {"entity-description." .. locale_name} - -BioInd.show("radar_name", radar_name) -BioInd.show("radar.name", c_entities["bi-arboretum"].hidden[h_key].name) - -- Adjust properties for hidden radar of Bio cannon - if c_entities["bi-bio-cannon"] and - radar_name == c_entities["bi-bio-cannon"].hidden[h_key].name then - - local base = c_entities["bi-bio-cannon"].base - base = data.raw[base.type][base.name] - - radar.icon = ICONPATH .. "biocannon_icon.png" - radar.icon_size = 64 - radar.BI_add_icon = true - - radar.energy_per_sector = "22MJ" - radar.energy_per_nearby_scan = "400kW" - radar.energy_usage = "6kW" - - -- The cannon can only shoot if the radar has power, so we need to show - -- if it is connected. Also, the collision_box of the radar should be big - -- enough that it is within reach even of poles with a small supply_area. - radar.collision_box = base.collision_box - radar.energy_source.render_no_network_icon = true - radar.energy_source.render_no_power_icon = true - - radar.max_distance_of_nearby_sector_revealed = 5 - radar.max_distance_of_sector_revealed = 5 - BioInd.show("Adjusted properties of", radar_name) - - -- Adjust properties for hidden radar of Terraformer - elseif c_entities["bi-arboretum"] and - radar_name == c_entities["bi-arboretum"].hidden[h_key].name then - - radar.localised_name = {"entity-name." .. radar.name} - - radar.icon = ICONPATH .. "Arboretum_Icon.png" - radar.icon_size = 64 - radar.BI_add_icon = true - - -- We want to be able to see the scanning progress of this radar! - for f, flag in pairs(radar.flags) do - if flag == "not-selectable-in-game" then - radar.flags[f] = nil - end - end - radar.selectable_in_game = true - -- For some reason, the default collision_mask (unset properties will be - -- set to the default value automatically at the end of the data stage) - -- must be set to make the radar selectable! - radar.collision_mask = nil - radar.collision_box = {{-0.70, -0.70}, {0.70, 0.70}} - radar.selection_box = {{-0.75, -0.75}, {0.75, 0.75}} - - radar.energy_per_sector = "2MJ" - radar.energy_per_nearby_scan = "200kW" - radar.energy_source.emissions_per_minute = {} - radar.energy_usage = "150kW" - radar.max_distance_of_nearby_sector_revealed = 2 - radar.max_distance_of_sector_revealed = 5 - - radar.max_health = 250 - radar.pictures = { - layers = { - { - filename = "__base__/graphics/entity/radar/radar.png", - priority = "extra-high", - width = 196, - height = 254, - apply_projection = false, - direction_count = 64, - line_length = 8, - shift = util.by_pixel(1, -16), - scale = 0.25 - } - } - } - BioInd.show("Adjusted properties of", radar_name) - end - - data:extend({radar}) - - BioInd.show("Created", radar_name) -end - - ------------------------------------------------------------------------------------- +-- Add functions that are also used in other files (debugging output etc.) +local BioInd = require('common')('Bio_Industries_2') +BioInd.writeDebug("Entered prototypes.hidden_radars.lua of \"%s\".", {BioInd.modName}) + +local ICONPATH = BioInd.modRoot .. "/graphics/icons/" +local ICONPATH_W = BioInd.modRoot .. "/graphics/icons/weapons/" +local ICONPATH_E = BioInd.modRoot .. "/graphics/icons/entity/" + +require ("util") + + +------------------------------------------------------------------------------------ +-- Create the main prototype for hidden radars. All others will be based on this! -- +------------------------------------------------------------------------------------ +-- The short name of the hidden entity (e.g. "lamp" or "pole") +local h_key = "radar" +-- The actual prototype type, identified by h_key +local h_type = BioInd.HE_map[h_key] +local h_entity = table.deepcopy(data.raw[h_type]["radar"]) + +BI.set_common_properties(h_entity) + +------------------------------------------------------------------------------------ +-- Lamp specific attributes! +h_entity.energy_source.type = "electric" +h_entity.energy_source.usage_priority = "secondary-input" + + +------------------------------------------------------------------------------------ +-- Make a copy of the hidden-entity prototype for each compound entity! -- +------------------------------------------------------------------------------------ + +------------------------------------------------------------------------------------ +-- Compile a list of the hidden entities we'll need +BI.make_hidden_entity_list(h_key) + + +------------------------------------------------------------------------------------ +-- Make the copies! +local radar +local c_entities = BioInd.compound_entities + +for radar_name, locale_name in pairs(BI.hidden_entities.types[h_key]) do + radar = table.deepcopy(h_entity) + +BioInd.show("radar_name", radar_name) +BioInd.show("locale_name", locale_name) + radar.name = radar_name + radar.localised_name = {"entity-name." .. locale_name} + radar.localised_description = {"entity-description." .. locale_name} + radar.collision_mask = { layers = {} } + radar.collision_box = {{0,0},{0,0}} + + +BioInd.show("radar_name", radar_name) +BioInd.show("radar.name", c_entities["bi-arboretum"].hidden[h_key].name) + -- Adjust properties for hidden radar of Bio cannon + if c_entities["bi-bio-cannon"] and + radar_name == c_entities["bi-bio-cannon"].hidden[h_key].name then + + local base = c_entities["bi-bio-cannon"].base + base = data.raw[base.type][base.name] + + radar.icon = ICONPATH_W .. "biocannon_icon.png" + radar.icon_size = 64 + radar.BI_add_icon = true + + radar.energy_per_sector = "22MJ" + radar.energy_per_nearby_scan = "400kW" + radar.energy_usage = "6kW" + + -- The cannon can only shoot if the radar has power, so we need to show + -- if it is connected. Also, the collision_box of the radar should be big + -- enough that it is within reach even of poles with a small supply_area. + radar.collision_box = base.collision_box + radar.energy_source.render_no_network_icon = true + radar.energy_source.render_no_power_icon = true + + radar.max_distance_of_nearby_sector_revealed = 5 + radar.max_distance_of_sector_revealed = 5 + BioInd.show("Adjusted properties of", radar_name) + + -- Adjust properties for hidden radar of Terraformer + elseif c_entities["bi-arboretum"] and + radar_name == c_entities["bi-arboretum"].hidden[h_key].name then + + radar.localised_name = {"entity-name." .. radar.name} + + radar.icon = ICONPATH_E .. "arboretum_radar_icon.png" + radar.icon_size = 64 + radar.BI_add_icon = true + + -- We want to be able to see the scanning progress of this radar! + for f, flag in pairs(radar.flags) do + if flag == "not-selectable-in-game" then + radar.flags[f] = nil + end + end + radar.selectable_in_game = true + -- For some reason, the default collision_mask (unset properties will be + -- set to the default value automatically at the end of the data stage) + -- must be set to make the radar selectable! + radar.collision_mask = { layers = {} } + radar.collision_box = {{-0.70, -0.70}, {0.70, 0.70}} + radar.selection_box = {{-0.75, -0.75}, {0.75, 0.75}} + + radar.energy_per_sector = "2MJ" + radar.energy_per_nearby_scan = "200kW" + radar.energy_source.emissions_per_minute = {} + radar.energy_usage = "150kW" + radar.max_distance_of_nearby_sector_revealed = 2 + radar.max_distance_of_sector_revealed = 5 + + radar.max_health = 250 + radar.pictures = { + layers = { + { + filename = "__base__/graphics/entity/radar/radar.png", + priority = "extra-high", + width = 196, + height = 254, + apply_projection = false, + direction_count = 64, + line_length = 8, + shift = util.by_pixel(1, -16), + scale = 0.25 + } + } + } + BioInd.show("Adjusted properties of", radar_name) + end + + data:extend({radar}) + + BioInd.show("Created", radar_name) +end + + +------------------------------------------------------------------------------------ diff --git a/Bio_Industries_2/prototypes/compound_entities/main_list.lua b/Bio_Industries_2/prototypes/compound_entities/main_list.lua index c8d8be4..0c05f34 100644 --- a/Bio_Industries_2/prototypes/compound_entities/main_list.lua +++ b/Bio_Industries_2/prototypes/compound_entities/main_list.lua @@ -1,239 +1,239 @@ ------------------------------------------------------------------------------------- --- This file contains the data of all compound entities. It will be used in the -- --- data stage to create the prototypes for the hidden enitities, and during the -- --- control stage to combine the compound entities and pass on any optional data -- --- that may be required by the scripts. ------------------------------------------------------------------------------------- -require("util") - --- During the data stage, we want to remove compound entities (or some of their --- hidden entities) that have been disabled via startup setting, so that we don't --- spam the game with unnecessary prototypes. --- During the control stage, we build a separate list of all the compound entities --- that are available and store it in a global table. We'll need a complete list in --- this case, so that we can keep track of the removed prototypes and clean out the --- obsolete tables. We can achieve this by checking for "script" or "data". --- However, we may also need a complete list during the data stage (e.g. for finding --- recipes, items etc. of removed compound entity parts). In this case, we'll need --- to pass on a valid argument (anything not nil) to this function. - -local ret = {} - --- Map short handles for hidden entities in the table to actual prototype types -ret.HE_map = { - ammo_turret = "ammo-turret", - assembler = "assembling-machine", - boiler = "boiler", - lamp = "lamp", - panel = "solar-panel", - connector = "electric-pole", - pole = "electric-pole", - radar = "radar" -} - -ret.HE_map_reverse = {} -for k, v in pairs(ret.HE_map) do - ret.HE_map_reverse[v] = k -end ------------------------------------------------------------------------------------- --- List of compound entities --- Key: name of the base entity --- tab: name of the global table where data of these entity are stored --- hidden: table containing the hidden entities needed by this entity --- Key: handle of the hidden entity --- Value: data needed when placing the hidden entity --- localize_entity: Pointer to an entity name -- e.g. {"entity-name.NAME"} -- that --- will be used to localize this entity. This is needed when the --- same string is used for differently named entity names, such --- as "straight-rail"/"curved-rail"/"rail-planner". --- new_base_name: If the placed entity is used as overlay, it will be replaced --- with this entity. --- add_global_tables table of names of other tables in global that are needed by --- this entity --- add_global_values table of names and values of variables that should be added to --- the global table if this compound entity is used --- optional: Any optional data affecting the compound entity that must be - -- stored in the global table. ------------------------------------------------------------------------------------- --- Data of hidden entities --- name: name of the entity prototype --- type: prototype type --- base_offset: Position of the hidden entity relative to the base entity ------------------------------------------------------------------------------------- - --- We add full data for the base entities because their type can't be deduced from --- their name. For the hidden entities, we just create the fields and fill in any --- optional data that may be needed. Name and type of the prototypes will be added --- later automatically. -ret.compound_entities = { - ["bi-bio-farm"] = { - tab = "bi_bio_farm_table", - base = { - name = "bi-bio-farm", - type = ret.HE_map.assembler, - }, - hidden = { - connector = { - name = "bi-bio-farm-hidden-connector_pole", - type = ret.HE_map.pole, - -- base_offset = {x = 1.0, y = 1.0}, - -- base_offset = (script and script.active_mods["_debug"] or mods and mods["_debug"]) and - }, - panel = { - -- name = "bi-bio-farm-hidden-panel", - -- type = ret.HE_map.panel, - }, - lamp = { - -- name = "bi-bio-farm-hidden-lamp", - -- type = ret.HE_map.lamp - }, - } - }, - ["bi-bio-garden"] = { - tab = "bi_bio_garden_table", - base = { - name = "bi-bio-garden", - type = ret.HE_map.assembler, - }, - hidden = { - pole = { - -- name = "bi-bio-garden-hidden-pole", - -- type = ret.HE_map.pole, - }, - } - }, - ["bi-bio-solar-farm"] = { - tab = "bi_solar_farm_table", - base = { - name = "bi-bio-solar-farm", - type = ret.HE_map.panel, - }, - hidden = { - pole = { - -- name = "bi-solar-farm-hidden-pole", - -- type = ret.HE_map.pole, - }, - } - }, - ["bi-solar-boiler"] = { - tab = "bi_solar_boiler_table", - base = { - name = "bi-solar-boiler", - type = ret.HE_map.boiler, - }, - hidden = { - panel = { - -- name = "bi-solar-boiler-hidden-panel", - -- type = ret.HE_map.panel, - }, - pole = { - -- name = "bi-solar-boiler-hidden-pole", - -- type = ret.HE_map.pole, - }, - } - }, - -- Built from blueprint - ["bi-arboretum"] = { - tab = "bi_arboretum_table", - base = { - name = "bi-arboretum", - type = ret.HE_map.assembler, - }, - hidden = { - radar = { - -- name = "bi-arboretum-hidden-radar", - -- type = ret.HE_map.radar, - base_offset = {x = -3.5, y = 3.5}, - }, - pole = { - -- name = "bi-arboretum-hidden-pole", - -- type = ret.HE_map.pole, - }, - lamp = { - -- name = "bi-arboretum-hidden-lamp", - -- type = ret.HE_map.lamp, - }, - }, - add_global_tables = {"bi_arboretum_radar_table", "bi_arboretum_recipe_table"}, - new_base_name = "bi-arboretum", - }, - -- Built from blueprint - ["bi-bio-cannon"] = { - tab = "bi_bio_cannon_table", - base = { - name = "bi-bio-cannon", - type = "ammo-turret", - }, - hidden = { - radar = { - -- name = "bi-bio-cannon-hidden-radar", - -- type = ret.HE_map.radar, - }, - }, - add_global_values = { Bio_Cannon_Counter = 0 }, - optional = {delay = 0}, - new_base_name = "bi-bio-cannon", - }, -} - ------------------------------------------------------------------------------------- --- Fill in the missing names and types of the hidden entities' prototypes! -- ------------------------------------------------------------------------------------- -for c_name, c_data in pairs(ret.compound_entities) do - for h_key, h_data in pairs(c_data.hidden) do - h_data.name = h_data.name or c_name .. "-hidden-" .. h_key - h_data.type = h_data.type or ret.HE_map[h_key] - end -end - ------------------------------------------------------------------------------------- --- Remove entries for disabled compound entities. Do this before making copies! -- ------------------------------------------------------------------------------------- -ret.get_HE_list = function(get_complete_list) - if get_complete_list or script then - - else - - local settings = settings.startup - local function get_settings(name) - return settings[name] and settings[name].value - end - - -- Bio Cannon - if not get_settings("BI_Bio_Cannon") then - ret.compound_entities["bi-bio-cannon"] = nil - end - - -- Solar additions - if not get_settings("BI_Solar_Additions") then - for e, entry in ipairs({"bi-bio-solar-farm", "bi-solar-boiler"}) do - ret.compound_entities[entry] = nil - end - end - - -- Easy Bio gardens: We only need the hidden pole if the setting is enabled. (But we - -- want to keep the rest of the table even if the setting is disabled.) - if not get_settings("BI_Easy_Bio_Gardens") then - ret.compound_entities["bi-bio-garden"].hidden.pole = nil - end - end - - - -- Some entities share almost the same data, so we can copy them - local make_copies = { - -- Overlay entities - ["bi-arboretum"] = { name = "bi-arboretum-area", type = ret.HE_map.ammo_turret }, - ["bi-bio-cannon"] = { name = "bi-bio-cannon-area", type = ret.HE_map.ammo_turret }, - } - for old, new in pairs(make_copies) do - if ret.compound_entities[old] then - ret.compound_entities[new.name] = util.table.deepcopy(ret.compound_entities[old]) - ret.compound_entities[new.name].base.type = new.type - ret.compound_entities[new.name].base.name = new.name - end - end - - return ret.compound_entities -end - -return ret +------------------------------------------------------------------------------------ +-- This file contains the data of all compound entities. It will be used in the -- +-- data stage to create the prototypes for the hidden enitities, and during the -- +-- control stage to combine the compound entities and pass on any optional data -- +-- that may be required by the scripts. +------------------------------------------------------------------------------------ +require("util") + +-- During the data stage, we want to remove compound entities (or some of their +-- hidden entities) that have been disabled via startup setting, so that we don't +-- spam the game with unnecessary prototypes. +-- During the control stage, we build a separate list of all the compound entities +-- that are available and store it in a global table. We'll need a complete list in +-- this case, so that we can keep track of the removed prototypes and clean out the +-- obsolete tables. We can achieve this by checking for "script" or "data". +-- However, we may also need a complete list during the data stage (e.g. for finding +-- recipes, items etc. of removed compound entity parts). In this case, we'll need +-- to pass on a valid argument (anything not nil) to this function. + +local ret = {} + +-- Map short handles for hidden entities in the table to actual prototype types +ret.HE_map = { + ammo_turret = "ammo-turret", + assembler = "assembling-machine", + boiler = "boiler", + lamp = "lamp", + panel = "solar-panel", + connector = "electric-pole", + pole = "electric-pole", + radar = "radar" +} + +ret.HE_map_reverse = {} +for k, v in pairs(ret.HE_map) do + ret.HE_map_reverse[v] = k +end +------------------------------------------------------------------------------------ +-- List of compound entities +-- Key: name of the base entity +-- tab: name of the global table where data of these entity are stored +-- hidden: table containing the hidden entities needed by this entity +-- Key: handle of the hidden entity +-- Value: data needed when placing the hidden entity +-- localize_entity: Pointer to an entity name -- e.g. {"entity-name.NAME"} -- that +-- will be used to localize this entity. This is needed when the +-- same string is used for differently named entity names, such +-- as "straight-rail"/"curved-rail"/"rail-planner". +-- new_base_name: If the placed entity is used as overlay, it will be replaced +-- with this entity. +-- add_global_tables table of names of other tables in global that are needed by +-- this entity +-- add_global_values table of names and values of variables that should be added to +-- the global table if this compound entity is used +-- optional: Any optional data affecting the compound entity that must be + -- stored in the global table. +------------------------------------------------------------------------------------ +-- Data of hidden entities +-- name: name of the entity prototype +-- type: prototype type +-- base_offset: Position of the hidden entity relative to the base entity +------------------------------------------------------------------------------------ + +-- We add full data for the base entities because their type can't be deduced from +-- their name. For the hidden entities, we just create the fields and fill in any +-- optional data that may be needed. Name and type of the prototypes will be added +-- later automatically. +ret.compound_entities = { + ["bi-bio-farm"] = { + tab = "bi_bio_farm_table", + base = { + name = "bi-bio-farm", + type = ret.HE_map.assembler, + }, + hidden = { + connector = { + name = "bi-bio-farm-hidden-connector_pole", + type = ret.HE_map.pole, + -- base_offset = {x = 1.0, y = 1.0}, + -- base_offset = (script and script.active_mods["_debug"] or mods and mods["_debug"]) and + }, + panel = { + -- name = "bi-bio-farm-hidden-panel", + -- type = ret.HE_map.panel, + }, + lamp = { + -- name = "bi-bio-farm-hidden-lamp", + -- type = ret.HE_map.lamp + }, + } + }, + ["bi-bio-garden"] = { + tab = "bi_bio_garden_table", + base = { + name = "bi-bio-garden", + type = ret.HE_map.assembler, + }, + hidden = { + pole = { + -- name = "bi-bio-garden-hidden-pole", + -- type = ret.HE_map.pole, + }, + } + }, + ["bi-bio-solar-farm"] = { + tab = "bi_solar_farm_table", + base = { + name = "bi-bio-solar-farm", + type = ret.HE_map.panel, + }, + hidden = { + pole = { + -- name = "bi-solar-farm-hidden-pole", + -- type = ret.HE_map.pole, + }, + } + }, + ["bi-solar-boiler"] = { + tab = "bi_solar_boiler_table", + base = { + name = "bi-solar-boiler", + type = ret.HE_map.boiler, + }, + hidden = { + panel = { + -- name = "bi-solar-boiler-hidden-panel", + -- type = ret.HE_map.panel, + }, + pole = { + -- name = "bi-solar-boiler-hidden-pole", + -- type = ret.HE_map.pole, + }, + } + }, + -- Built from blueprint + ["bi-arboretum"] = { + tab = "bi_arboretum_table", + base = { + name = "bi-arboretum", + type = ret.HE_map.assembler, + }, + hidden = { + radar = { + -- name = "bi-arboretum-hidden-radar", + -- type = ret.HE_map.radar, + base_offset = {x = -3.5, y = 3.5}, + }, + pole = { + -- name = "bi-arboretum-hidden-pole", + -- type = ret.HE_map.pole, + }, + lamp = { + -- name = "bi-arboretum-hidden-lamp", + -- type = ret.HE_map.lamp, + }, + }, + add_global_tables = {"bi_arboretum_radar_table", "bi_arboretum_recipe_table"}, + new_base_name = "bi-arboretum", + }, + -- Built from blueprint + ["bi-bio-cannon"] = { + tab = "bi_bio_cannon_table", + base = { + name = "bi-bio-cannon", + type = "ammo-turret", + }, + hidden = { + radar = { + -- name = "bi-bio-cannon-hidden-radar", + -- type = ret.HE_map.radar, + }, + }, + add_global_values = { Bio_Cannon_Counter = 0 }, + optional = {delay = 0}, + new_base_name = "bi-bio-cannon", + }, +} + +------------------------------------------------------------------------------------ +-- Fill in the missing names and types of the hidden entities' prototypes! -- +------------------------------------------------------------------------------------ +for c_name, c_data in pairs(ret.compound_entities) do + for h_key, h_data in pairs(c_data.hidden) do + h_data.name = h_data.name or c_name .. "-hidden-" .. h_key + h_data.type = h_data.type or ret.HE_map[h_key] + end +end + +------------------------------------------------------------------------------------ +-- Remove entries for disabled compound entities. Do this before making copies! -- +------------------------------------------------------------------------------------ +ret.get_HE_list = function(get_complete_list) + if get_complete_list or script then + + else + + local settings = settings.startup + local function get_settings(name) + return settings[name] and settings[name].value + end + + -- Bio Cannon + if not get_settings("BI_Bio_Cannon") then + ret.compound_entities["bi-bio-cannon"] = nil + end + + -- Solar additions + if not get_settings("BI_Solar_Additions") then + for e, entry in ipairs({"bi-bio-solar-farm", "bi-solar-boiler"}) do + ret.compound_entities[entry] = nil + end + end + + -- Easy Bio gardens: We only need the hidden pole if the setting is enabled. (But we + -- want to keep the rest of the table even if the setting is disabled.) + if not get_settings("BI_Easy_Bio_Gardens") then + ret.compound_entities["bi-bio-garden"].hidden.pole = nil + end + end + + + -- Some entities share almost the same data, so we can copy them + local make_copies = { + -- Overlay entities + ["bi-arboretum"] = { name = "bi-arboretum-area", type = ret.HE_map.ammo_turret }, + ["bi-bio-cannon"] = { name = "bi-bio-cannon-area", type = ret.HE_map.ammo_turret }, + } + for old, new in pairs(make_copies) do + if ret.compound_entities[old] then + ret.compound_entities[new.name] = util.table.deepcopy(ret.compound_entities[old]) + ret.compound_entities[new.name].base.type = new.type + ret.compound_entities[new.name].base.name = new.name + end + end + + return ret.compound_entities +end + +return ret diff --git a/Bio_Industries_2/remote.lua b/Bio_Industries_2/remote.lua new file mode 100644 index 0000000..6df4b5c --- /dev/null +++ b/Bio_Industries_2/remote.lua @@ -0,0 +1,73 @@ +BioInd = require("__" .. script.mod_name .. "__.common")(script.mod_name) +-- Presets for Milestones mod +local function milestones_preset_addons() +local grouped_milestones = {} + + + grouped_milestones["resorces"] = { + { type = "group", name = "Resources" }, + { type = "item", name = "bi-woodpulp", quantity = 1 }, + { type = "item", name = "bi-woodpulp", quantity = 1000, next = "x10", hidden = true }, + { type = "item", name = "bi-ash", quantity = 1, next = "x10" }, + { type = "item", name = "bi-ash", quantity = 1000, next = "x10", hidden = true }, + { type = "item", name = "stone-crushed", quantity = 1 }, + { type = "item", name = "stone-crushed", quantity = 1000, next = "x10", hidden = true }, + { type = "item", name = "fertilizer", quantity = 1 }, + { type = "item", name = "fertilizer", quantity = 1000, next = "x10", hidden = true }, + { type = "item", name = "bi-adv-fertilizer", quantity = 1 }, + { type = "item", name = "bi-adv-fertilizer", quantity = 1000, next = "x10", hidden = true }, + } + +grouped_milestones["progress"] = { + {type = "group", name = "Progress" }, + {type="item", name="bi-bio-farm", quantity=1}, + {type="item", name="bi-bio-greenhouse", quantity=1}, + {type="item", name="bi-bio-garden", quantity=1}, + {type="item", name="bi-bio-garden-large", quantity=1}, + {type="item", name="bi-bio-garden-huge", quantity=1}, + + + } + + --script.active_mods["Bio_Industries_2"] and { type = "item", name = "bob-beacon-2", quantity = 1 } or nil, + + +if BioInd.get_startup_setting("BI_Bio_Cannon") then +grouped_milestones["Bio_Cannon"] = { + {type = "group", name = "Bio Cannon" }, + {type="item", name="bi-bio-cannon", quantity=1}, + -- {type="ammo", name="bi-bio-cannon-proto-ammo", quantity=1}, +-- {type = "ammo", name = "bi-bio-cannon-proto-ammo", quantity = 1000, next = "x10", hidden = true }, + } +end + +if BioInd.get_startup_setting("BI_Bio_Fuel") then +grouped_milestones["Bio_Fuel"] = { + {type = "group", name = "Bio Fuel" }, + {type="item", name="bi-bio-reactor", quantity=1}, + {type="item", name="bi-bio-boiler", quantity=1}, + } +end + + + + local milestones = {} + for group_name, group_milestones in pairs(grouped_milestones) do + for _, milestone in pairs(group_milestones) do + table.insert(milestones, milestone) + end + end + + + return { + ["Bio Industries"] = { + required_mods = { "Bio_Industries_2" }, + forbidden_mods = {}, + milestones = milestones, + }, + } +end + +remote.add_interface("Bio_Industries_2", { + milestones_preset_addons = milestones_preset_addons, +}) diff --git a/Bio_Industries_2/settings.lua b/Bio_Industries_2/settings.lua index 383a2cd..da8f4d3 100644 --- a/Bio_Industries_2/settings.lua +++ b/Bio_Industries_2/settings.lua @@ -1,205 +1,205 @@ -local setting_list = {} - -- Add/enable stuff -setting_list.BI_Solar_Additions = { - type = "bool-setting", - name = "BI_Solar_Additions", - setting_type = "startup", - default_value = true, - order = "a[modifier]-a[Solar_Farm]", -} - -setting_list.BI_Bio_Fuel = { - type = "bool-setting", - name = "BI_Bio_Fuel", - setting_type = "startup", - default_value = true, - order = "a[modifier]-b[Bio_Fuel]", -} - -setting_list.BI_Bio_Cannon = { - type = "bool-setting", - name = "BI_Bio_Cannon", - setting_type = "startup", - default_value = true, - order = "a[modifier]-c[Bio_Cannon]", -} - -setting_list.BI_Show_musk_floor_in_mapview = { - type = "bool-setting", - name = "BI_Show_musk_floor_in_mapview", - setting_type = "startup", - default_value = true, - order = "a[modifier]-d[Musk_floor]", -} - -setting_list.BI_Easy_Bio_Gardens = { - type = "bool-setting", - name = "BI_Easy_Bio_Gardens", - setting_type = "startup", - default_value = false, - order = "a[modifier]-e[Fluid_fertilizer]", -} - -setting_list.BI_Bigger_Wooden_Chests = { - type = "bool-setting", - name = "BI_Bigger_Wooden_Chests", - setting_type = "startup", - default_value = true, - order = "a[modifier]-b[Bigger_Wooden_Chests]", -} - - -- Game tweaks -setting_list.BI_Game_Tweaks_Emissions_Multiplier = { - type = "bool-setting", - name = "BI_Game_Tweaks_Emissions_Multiplier", - setting_type = "startup", - default_value = true, - order = "b[tweaks]-a[Fuel_emission_multiplier]", - per_user = true, -} -setting_list.BI_Game_Tweaks_Stack_Size = { - type = "bool-setting", - name = "BI_Game_Tweaks_Stack_Size", - setting_type = "startup", - default_value = true, - order = "b[tweaks]-b[Stack_size]", -} -setting_list.BI_Game_Tweaks_Recipe = { - type = "bool-setting", - name = "BI_Game_Tweaks_Recipe", - setting_type = "startup", - default_value = true, - order = "b[tweaks]-c1[Recipe]", -} - setting_list.BI_Game_Tweaks_Production_Science = { - type = "bool-setting", - name = "BI_Game_Tweaks_Production_Science", - setting_type = "startup", - default_value = true, - order = "b[tweaks]-c3[Production_science]", -} -setting_list.BI_Game_Tweaks_Tree = { - type = "bool-setting", - name = "BI_Game_Tweaks_Tree", - setting_type = "startup", - default_value = true, - order = "b[tweaks]-d1[Trees]", -} -setting_list.BI_Game_Tweaks_Small_Tree_Collisionbox = { - type = "bool-setting", - name = "BI_Game_Tweaks_Small_Tree_Collisionbox", - setting_type = "startup", - default_value = true, - order = "b[tweaks]-d2[Tree_collision_box]", -} -setting_list.BI_Game_Tweaks_Player = { - type = "bool-setting", - name = "BI_Game_Tweaks_Player", - setting_type = "startup", - default_value = false, - order = "b[tweaks]-e[Player_tweaks]", -} -setting_list.BI_Game_Tweaks_Bot = { - type = "bool-setting", - name = "BI_Game_Tweaks_Bot", - setting_type = "startup", - default_value = false, - order = "b[tweaks]-f[Bot_tweaks]", -} - - --- Compatibility with other mods (optional) - -- Industrial Revolution + AAI Industry -if not (mods["IndustrialRevolution"] or mods["aai-industry"]) then - setting_list.BI_Game_Tweaks_Disassemble = { - type = "bool-setting", - name = "BI_Game_Tweaks_Disassemble", - setting_type = "startup", - default_value = true, - order = "b[tweaks]-c2[Disassemble]", - } -end - - - -- Lua API global Variable Viewer (gvv) -if mods["gvv"] then - setting_list.BI_Enable_gvv_support = { - type = "bool-setting", - name = "BI_Enable_gvv_support", - setting_type = "startup", - default_value = false, - order = "c[compatibility]-c1[debugging_gvv]", - } -end - -local list = {} -for name, setting in pairs(setting_list) do - data:extend({setting}) -end ---[[ -Types of settings: - � startup - game must be restarted if changed (such a setting may affect prototypes' changes) - � runtime-global - per-world setting - � runtime-per-user - per-user setting - -Types of values: - � bool-setting - � double-setting - � int-setting - � string-setting - -Files being processed by the game: - � settings.lua - � settings-updates.lua - � settings-final-fixes.lua - -Using in DATA.lua: -data:extend({ - { - type = "int-setting", - name = "setting-name1", - setting_type = "runtime-per-user", - default_value = 25, - minimum_value = -20, - maximum_value = 100, - per_user = true, - }, - { - type = "bool-setting", - name = "setting-name2", - setting_type = "runtime-per-user", - default_value = true, - per_user = true, - }, - { - type = "double-setting", - name = "setting-name3", - setting_type = "runtime-per-user", - default_value = -23, - per_user = true, - }, - { - type = "string-setting", - name = "setting-name4", - setting_type = "runtime-per-user", - default_value = "Hello", - allowed_values = {"Hello", "foo", "bar"}, - per_user = true, - }, -}) - -Using in LOCALE.cfg: - [mod-setting-name] - setting-name1=Seting name - [mod-setting-description] - setting-name1=Seting description - -Using in CONTROL.lua and in other code for reading: - EVENT: on_runtime_mod_setting_changed - called when a player changed its setting - event.player_index - event.setting - GET: settings.startup["setting-name"].value - current value of startup setting; can be used in DATA.lua - GET: settings.storage["setting-name"].value - current value of per-world setting - GET: set = settings.get_player_settings(LuaPlayer) - current values for per-player settings; then use set["setting-name"].value - GET: settings.player - default values -]] +local setting_list = {} +-- Add/enable stuff +setting_list.BI_Solar_Additions = { + type = "bool-setting", + name = "BI_Solar_Additions", + setting_type = "startup", + default_value = true, + order = "a[modifier]-a[Solar_Farm]", +} + +setting_list.BI_Bio_Fuel = { + type = "bool-setting", + name = "BI_Bio_Fuel", + setting_type = "startup", + default_value = true, + order = "a[modifier]-b[Bio_Fuel]", +} + +setting_list.BI_Bio_Cannon = { + type = "bool-setting", + name = "BI_Bio_Cannon", + setting_type = "startup", + default_value = true, + order = "a[modifier]-c[Bio_Cannon]", +} + +setting_list.BI_Show_musk_floor_in_mapview = { + type = "bool-setting", + name = "BI_Show_musk_floor_in_mapview", + setting_type = "startup", + default_value = true, + order = "a[modifier]-d[Musk_floor]", +} + +setting_list.BI_Easy_Bio_Gardens = { + type = "bool-setting", + name = "BI_Easy_Bio_Gardens", + setting_type = "startup", + default_value = false, + order = "a[modifier]-e[Fluid_fertilizer]", +} + +setting_list.BI_Bigger_Wooden_Chests = { + type = "bool-setting", + name = "BI_Bigger_Wooden_Chests", + setting_type = "startup", + default_value = true, + order = "a[modifier]-b[Bigger_Wooden_Chests]", +} + +-- Game tweaks +setting_list.BI_Game_Tweaks_Emissions_Multiplier = { + type = "bool-setting", + name = "BI_Game_Tweaks_Emissions_Multiplier", + setting_type = "startup", + default_value = true, + order = "b[tweaks]-a[Fuel_emission_multiplier]", + per_user = true, +} +setting_list.BI_Game_Tweaks_Stack_Size = { + type = "bool-setting", + name = "BI_Game_Tweaks_Stack_Size", + setting_type = "startup", + default_value = true, + order = "b[tweaks]-b[Stack_size]", +} +setting_list.BI_Game_Tweaks_Recipe = { + type = "bool-setting", + name = "BI_Game_Tweaks_Recipe", + setting_type = "startup", + default_value = true, + order = "b[tweaks]-c1[Recipe]", +} +setting_list.BI_Game_Tweaks_Production_Science = { + type = "bool-setting", + name = "BI_Game_Tweaks_Production_Science", + setting_type = "startup", + default_value = true, + order = "b[tweaks]-c3[Production_science]", +} +setting_list.BI_Game_Tweaks_Tree = { + type = "bool-setting", + name = "BI_Game_Tweaks_Tree", + setting_type = "startup", + default_value = true, + order = "b[tweaks]-d1[Trees]", +} +setting_list.BI_Game_Tweaks_Small_Tree_Collisionbox = { + type = "bool-setting", + name = "BI_Game_Tweaks_Small_Tree_Collisionbox", + setting_type = "startup", + default_value = true, + order = "b[tweaks]-d2[Tree_collision_box]", +} +setting_list.BI_Game_Tweaks_Player = { + type = "bool-setting", + name = "BI_Game_Tweaks_Player", + setting_type = "startup", + default_value = false, + order = "b[tweaks]-e[Player_tweaks]", +} +setting_list.BI_Game_Tweaks_Bot = { + type = "bool-setting", + name = "BI_Game_Tweaks_Bot", + setting_type = "startup", + default_value = false, + order = "b[tweaks]-f[Bot_tweaks]", +} + + +-- Compatibility with other mods (optional) +-- Industrial Revolution + AAI Industry +if not (mods["IndustrialRevolution"] or mods["aai-industry"]) then + setting_list.BI_Game_Tweaks_Disassemble = { + type = "bool-setting", + name = "BI_Game_Tweaks_Disassemble", + setting_type = "startup", + default_value = true, + order = "b[tweaks]-c2[Disassemble]", + } +end + + +-- Lua API global Variable Viewer (gvv) +if mods["gvv"] then + setting_list.BI_Enable_gvv_support = { + type = "bool-setting", + name = "BI_Enable_gvv_support", + setting_type = "startup", + default_value = false, + order = "c[compatibility]-c1[debugging_gvv]", + } +end + +local list = {} +for name, setting in pairs(setting_list) do + data:extend({ setting }) +end +--[[ +Types of settings: + � startup - game must be restarted if changed (such a setting may affect prototypes' changes) + � runtime-global - per-world setting + � runtime-per-user - per-user setting + +Types of values: + � bool-setting + � double-setting + � int-setting + � string-setting + +Files being processed by the game: + � settings.lua + � settings-updates.lua + � settings-final-fixes.lua + +Using in DATA.lua: +data:extend({ + { + type = "int-setting", + name = "setting-name1", + setting_type = "runtime-per-user", + default_value = 25, + minimum_value = -20, + maximum_value = 100, + per_user = true, + }, + { + type = "bool-setting", + name = "setting-name2", + setting_type = "runtime-per-user", + default_value = true, + per_user = true, + }, + { + type = "double-setting", + name = "setting-name3", + setting_type = "runtime-per-user", + default_value = -23, + per_user = true, + }, + { + type = "string-setting", + name = "setting-name4", + setting_type = "runtime-per-user", + default_value = "Hello", + allowed_values = {"Hello", "foo", "bar"}, + per_user = true, + }, +}) + +Using in LOCALE.cfg: + [mod-setting-name] + setting-name1=Seting name + [mod-setting-description] + setting-name1=Seting description + +Using in CONTROL.lua and in other code for reading: + EVENT: on_runtime_mod_setting_changed - called when a player changed its setting + event.player_index + event.setting + GET: settings.startup["setting-name"].value - current value of startup setting; can be used in DATA.lua + GET: settings.storage["setting-name"].value - current value of per-world setting + GET: set = settings.get_player_settings(LuaPlayer) - current values for per-player settings; then use set["setting-name"].value + GET: settings.player - default values +]] diff --git a/Bio_Industries_2/settings_changed.lua b/Bio_Industries_2/settings_changed.lua index 9ae442a..d5ae878 100644 --- a/Bio_Industries_2/settings_changed.lua +++ b/Bio_Industries_2/settings_changed.lua @@ -1,230 +1,230 @@ --------------------------------------------------------------------- --- If startup settings have been changed, we need to check some stuff. --- Keep that in a separate file so the main control.lua is easier to --- read! --------------------------------------------------------------------- - - -local settings_changed = {} - --- Adjust the force of hidden poles on Musk floor! -settings_changed.musk_floor = function() -log("Entered function settings_changed.musk_floor!") - -- Look for solar panels on every surface. They determine the force poles will use - -- if the electric grid overlay will be shown in mapview. - local sm_panel_name = "bi-musk-mat-hidden-panel" - local sm_pole_name = "bi-musk-mat-hidden-pole" - - -- If dummy force is not used, force of a hidden pole should be that of the hidden solar panel. - -- That force will be "enemy" for poles/solar panels created with versions of Bio Industries - -- prior to 0.17.45/0.18.13 because of the bug. We can fix that for singleplayer games by setting - -- the force to player force. In multiplayer games, we can do this as well if all players are - -- on the same force. If there are several forces that have players, it's impossible to find out - -- which force built a certain musk floor tile, so "enemy" will still be used. - -- (Only fix in this case: Players must remove and rebuild all existing musk floor tiles!) - - local force = nil - - -- Always use dummy force if option is set - if BioInd.UseMuskForce then - force = BioInd.MuskForceName - -- Singleplayer mode: use force of first player - elseif not game.is_multiplayer() then - -- Apparently, this crashed for someone (https://mods.factorio.com/mod/Bio_Industries_2/discussion/649d41b778d997d29385b8cf). - -- Could it be that a game that was originally a multiplayer game has been saved and reused - -- as singleplayer game, but there was no player 1? Let's go over all players and break after - -- the first hit, so we make sure we'll get the single player whatever its index! - for p, player in pairs(game.players) do - force = player.force.name - break - end - -- Still got no force? Fall back to "player" -- as one of the 3 default forces, - -- it can't be removed, so we can use it! - force = force or "player" - - -- Multiplayer game - else - local count = 0 - -- Count forces with players - for _, check_force in pairs(game.forces) do - if next(check_force.players) then - force = check_force.name - count = count + 1 - end - end - -- Several forces with players: reset force to nil now and use force of panel later - -- (If this happens in a game were musk floor was created the buggy way with "force == nil", - -- it will be impossible to determine which force built it, so the force will still be - -- the default, i.e. "enemy".) - if count > 1 then - force = nil - end - end - - for name, surface in pairs(game.surfaces) do - BioInd.writeDebug("Looking for %s on surface %s", {sm_panel_name, name}) - local sm_panel = surface.find_entities_filtered{name = sm_panel_name} - local sm_pole = {} - - -- Look for hidden poles on position of hidden panels - for p, panel in ipairs(sm_panel) do - sm_pole = surface.find_entities_filtered{ - name = sm_pole_name, - position = panel.position, - } - - -- If more than one hidden pole exists at that position for some reason, remove all but the first! - if #sm_pole > 1 then -BioInd.writeDebug("Number of poles for panel %g: %g", {p, #sm_pole}) - for i = 2, #sm_pole do -BioInd.writeDebug("Destroying pole number %g", {i}) - sm_pole[i].destroy() - end - end - - -- Set force of the pole - sm_pole[1].force = force or panel.force - end - end - BioInd.writeDebug("Electric grid overlay of musk floor will be %s in map view.", - {BioInd.UseMuskForce and "hidden" or "displayed"}) -end - - -settings_changed.bio_garden = function() - BioInd.writeDebug("Entered function settings_changed.bio_garden!") - - -- Has this setting been changed since the last time the game was run? - local current = BioInd.get_startup_setting("BI_Easy_Bio_Gardens") -BioInd.show("Last state of BI_Easy_Bio_Gardens", storage.mod_settings.BI_Easy_Bio_Gardens) -BioInd.show("Current state of BI_Easy_Bio_Gardens", current) - - if storage.mod_settings.BI_Easy_Bio_Gardens ~= current then -BioInd.writeDebug("Setting has been changed!") - local pole, neighbours - -- This is the unmodified table! - local compound_entity = BioInd.compound_entities["bi-bio-garden"] - local hidden_entities = compound_entity.hidden - - -- Check that all gardens are still valid - for g, garden in pairs(storage[compound_entity.tab]) do - -- Base entity doesn't exist -- remove hidden entities!'' - if not (garden.base and garden.base.valid) then - -- Remove all hidden entities! - for hidden, h_name in pairs(compound_entity.hidden or {}) do -BioInd.show("hidden", hidden) -BioInd.writeDebug("Removing hidden entity %s %s", { - garden[hidden] and garden[hidden].valid and garden[hidden].name or "nil", - garden[hidden] and garden[hidden].valid and garden[hidden].unit_number or "nil"}) - BioInd.remove_entity(garden[hidden]) - garden[hidden] = nil - end - storage[compound_entity.tab][garden.entity.unit_number] = nil - end - end - - - -- For whatever reason, there may be hidden poles that aren't associated - -- with any garden. We want to remove these, so lets' compile a list of all - -- hidden poles first. - local remove_poles = {} - local found_poles - local pole_type = "electric-pole" - for s, surface in pairs(game.surfaces) do - -- Find poles on surface - found_poles = surface.find_entities_filtered{ - name = compound_entity.hidden[pole_type].name, - type = "electric-pole", - } - -- Add them to list of removeable poles, indexed by unit_number - for p, pole in ipairs(found_poles) do - remove_poles[pole.unit_number] = pole - end - end - - -- Setting is on, so we need to create the hidden poles - if current then - BioInd.writeDebug("Need to create hidden poles for %s Bio Gardens!", - {table_size(storage.bi_bio_garden_table) }) - - -- Restore the list of hidden entities - storage.compound_entities["bi-bio-garden"] = BioInd.compound_entities["bi-bio-garden"] - local base - for g, garden in pairs(storage.bi_bio_garden_table or {}) do - -- Make sure the base entity exists! - base = garden.base - pole = base and garden[pole_type] -BioInd.show("pole", pole) - -- There is a pole referenced in the table, and it is a valid entity - if pole and pole.valid then - -- Delete pole from list of removeable poles - BioInd.writeDebug("Pole exists -- keep it!") - remove_poles[pole.unit_number] = nil - - -- There is no valid pole, let's create one! - elseif base then - -- Create hidden poles - pole = BioInd.create_entities( - storage[compound_entity.tab], - base, - {pole = hidden_entities[pole_type].name} - ) - - -- Add the new pole to the table - if pole then - storage[compound_entity.tab][base.unit_number][pole_type] = pole - BioInd.writeDebug("Stored %s %g in table: %s", { - base.name, - base.unit_number, - storage[compound_entity.tab][base.unit_number] - }) - end - end - end - - -- Setting is off -- disconnect and remove hidden poles! - else - BioInd.writeDebug("%s Bio Gardens found -- try to disconnect hidden poles!", - {table_size(storage.bi_bio_garden_table) }) - -- Find hidden poles of registered gardens -BioInd.show("storage.bi_bio_garden_table", storage.bi_bio_garden_table) - for g, garden in pairs(storage.bi_bio_garden_table or {}) do - if garden[pole_type] then - -- Pole really exists: destroy the entity - if garden[pole_type].valid then - -- Disconnect to prevent random connections of other poles when - -- this one is removed - garden[pole_type].disconnect_neighbour() - -- Remove pole from the list of poles not associated with a garden - remove_poles[garden[pole_type].unit_number] = nil - -- Destroy pole - BioInd.remove_entity(garden[pole_type]) - BioInd.show("Removed pole of garden", garden.base.unit_number) - end - garden[pole_type] = nil - BioInd.show("Removed pole from table of garden", garden.base.unit_number) - end - end - - -- We don't want to create hidden poles if the setting is off, - -- so remove the pole from hidden entities! - storage.compound_entities["bi-bio-garden"].hidden[pole_type] = nil -BioInd.show("storage.compound_entities", storage.compound_entities) - end - - -- Remove any hidden poles that are not associated with a garden - BioInd.writeDebug("Removing %s hidden poles not associated with a bio garden!", - {table_size(remove_poles)}) - for p, pole in pairs(remove_poles) do - pole.destroy() - end - - -- Update setting! - storage.mod_settings.BI_Easy_Bio_Gardens = current - BioInd.show("Updated setting to", storage.mod_settings.BI_Easy_Bio_Gardens) - else - BioInd.writeDebug("Nothing to do!") - end -end - -return settings_changed +-------------------------------------------------------------------- +-- If startup settings have been changed, we need to check some stuff. +-- Keep that in a separate file so the main control.lua is easier to +-- read! +-------------------------------------------------------------------- + + +local settings_changed = {} + +-- Adjust the force of hidden poles on Musk floor! +settings_changed.musk_floor = function() + log("Entered function settings_changed.musk_floor!") + -- Look for solar panels on every surface. They determine the force poles will use + -- if the electric grid overlay will be shown in mapview. + local sm_panel_name = "bi-musk-mat-hidden-panel" + local sm_pole_name = "bi-musk-mat-hidden-pole" + + -- If dummy force is not used, force of a hidden pole should be that of the hidden solar panel. + -- That force will be "enemy" for poles/solar panels created with versions of Bio Industries + -- prior to 0.17.45/0.18.13 because of the bug. We can fix that for singleplayer games by setting + -- the force to player force. In multiplayer games, we can do this as well if all players are + -- on the same force. If there are several forces that have players, it's impossible to find out + -- which force built a certain musk floor tile, so "enemy" will still be used. + -- (Only fix in this case: Players must remove and rebuild all existing musk floor tiles!) + + local force = nil + + -- Always use dummy force if option is set + if BioInd.UseMuskForce then + force = BioInd.MuskForceName + -- Singleplayer mode: use force of first player + elseif not game.is_multiplayer() then + -- Apparently, this crashed for someone (https://mods.factorio.com/mod/Bio_Industries_2/discussion/649d41b778d997d29385b8cf). + -- Could it be that a game that was originally a multiplayer game has been saved and reused + -- as singleplayer game, but there was no player 1? Let's go over all players and break after + -- the first hit, so we make sure we'll get the single player whatever its index! + for p, player in pairs(game.players) do + force = player.force.name + break + end + -- Still got no force? Fall back to "player" -- as one of the 3 default forces, + -- it can't be removed, so we can use it! + force = force or "player" + + -- Multiplayer game + else + local count = 0 + -- Count forces with players + for _, check_force in pairs(game.forces) do + if next(check_force.players) then + force = check_force.name + count = count + 1 + end + end + -- Several forces with players: reset force to nil now and use force of panel later + -- (If this happens in a game were musk floor was created the buggy way with "force == nil", + -- it will be impossible to determine which force built it, so the force will still be + -- the default, i.e. "enemy".) + if count > 1 then + force = nil + end + end + + for name, surface in pairs(game.surfaces) do + BioInd.writeDebug("Looking for %s on surface %s", { sm_panel_name, name }) + local sm_panel = surface.find_entities_filtered { name = sm_panel_name } + local sm_pole = {} + + -- Look for hidden poles on position of hidden panels + for p, panel in ipairs(sm_panel) do + sm_pole = surface.find_entities_filtered { + name = sm_pole_name, + position = panel.position, + } + + -- If more than one hidden pole exists at that position for some reason, remove all but the first! + if #sm_pole > 1 then + BioInd.writeDebug("Number of poles for panel %g: %g", { p, #sm_pole }) + for i = 2, #sm_pole do + BioInd.writeDebug("Destroying pole number %g", { i }) + sm_pole[i].destroy() + end + end + + -- Set force of the pole + sm_pole[1].force = force or panel.force + end + end + BioInd.writeDebug("Electric grid overlay of musk floor will be %s in map view.", + { BioInd.UseMuskForce and "hidden" or "displayed" }) +end + + +settings_changed.bio_garden = function() + BioInd.writeDebug("Entered function settings_changed.bio_garden!") + + -- Has this setting been changed since the last time the game was run? + local current = BioInd.get_startup_setting("BI_Easy_Bio_Gardens") + BioInd.show("Last state of BI_Easy_Bio_Gardens", storage.mod_settings.BI_Easy_Bio_Gardens) + BioInd.show("Current state of BI_Easy_Bio_Gardens", current) + + if storage.mod_settings.BI_Easy_Bio_Gardens ~= current then + BioInd.writeDebug("Setting has been changed!") + local pole, neighbours + -- This is the unmodified table! + local compound_entity = BioInd.compound_entities["bi-bio-garden"] + local hidden_entities = compound_entity.hidden + + -- Check that all gardens are still valid + for g, garden in pairs(storage[compound_entity.tab]) do + -- Base entity doesn't exist -- remove hidden entities!'' + if not (garden.base and garden.base.valid) then + -- Remove all hidden entities! + for hidden, h_name in pairs(compound_entity.hidden or {}) do + BioInd.show("hidden", hidden) + BioInd.writeDebug("Removing hidden entity %s %s", { + garden[hidden] and garden[hidden].valid and garden[hidden].name or "nil", + garden[hidden] and garden[hidden].valid and garden[hidden].unit_number or "nil" }) + BioInd.remove_entity(garden[hidden]) + garden[hidden] = nil + end + storage[compound_entity.tab][garden.entity.unit_number] = nil + end + end + + + -- For whatever reason, there may be hidden poles that aren't associated + -- with any garden. We want to remove these, so lets' compile a list of all + -- hidden poles first. + local remove_poles = {} + local found_poles + local pole_type = "electric-pole" + for s, surface in pairs(game.surfaces) do + -- Find poles on surface + found_poles = surface.find_entities_filtered { + name = compound_entity.hidden[pole_type].name, + type = "electric-pole", + } + -- Add them to list of removeable poles, indexed by unit_number + for p, pole in ipairs(found_poles) do + remove_poles[pole.unit_number] = pole + end + end + + -- Setting is on, so we need to create the hidden poles + if current then + BioInd.writeDebug("Need to create hidden poles for %s Bio Gardens!", + { table_size(storage.bi_bio_garden_table) }) + + -- Restore the list of hidden entities + storage.compound_entities["bi-bio-garden"] = BioInd.compound_entities["bi-bio-garden"] + local base + for g, garden in pairs(storage.bi_bio_garden_table or {}) do + -- Make sure the base entity exists! + base = garden.base + pole = base and garden[pole_type] + BioInd.show("pole", pole) + -- There is a pole referenced in the table, and it is a valid entity + if pole and pole.valid then + -- Delete pole from list of removeable poles + BioInd.writeDebug("Pole exists -- keep it!") + remove_poles[pole.unit_number] = nil + + -- There is no valid pole, let's create one! + elseif base then + -- Create hidden poles + pole = BioInd.create_entities( + storage[compound_entity.tab], + base, + { pole = hidden_entities[pole_type].name } + ) + + -- Add the new pole to the table + if pole then + storage[compound_entity.tab][base.unit_number][pole_type] = pole + BioInd.writeDebug("Stored %s %g in table: %s", { + base.name, + base.unit_number, + storage[compound_entity.tab][base.unit_number] + }) + end + end + end + + -- Setting is off -- disconnect and remove hidden poles! + else + BioInd.writeDebug("%s Bio Gardens found -- try to disconnect hidden poles!", + { table_size(storage.bi_bio_garden_table) }) + -- Find hidden poles of registered gardens + BioInd.show("storage.bi_bio_garden_table", storage.bi_bio_garden_table) + for g, garden in pairs(storage.bi_bio_garden_table or {}) do + if garden[pole_type] then + -- Pole really exists: destroy the entity + if garden[pole_type].valid then + -- Disconnect to prevent random connections of other poles when + -- this one is removed + garden[pole_type].disconnect_neighbour() + -- Remove pole from the list of poles not associated with a garden + remove_poles[garden[pole_type].unit_number] = nil + -- Destroy pole + BioInd.remove_entity(garden[pole_type]) + BioInd.show("Removed pole of garden", garden.base.unit_number) + end + garden[pole_type] = nil + BioInd.show("Removed pole from table of garden", garden.base.unit_number) + end + end + + -- We don't want to create hidden poles if the setting is off, + -- so remove the pole from hidden entities! + storage.compound_entities["bi-bio-garden"].hidden[pole_type] = nil + BioInd.show("storage.compound_entities", storage.compound_entities) + end + + -- Remove any hidden poles that are not associated with a garden + BioInd.writeDebug("Removing %s hidden poles not associated with a bio garden!", + { table_size(remove_poles) }) + for p, pole in pairs(remove_poles) do + pole.destroy() + end + + -- Update setting! + storage.mod_settings.BI_Easy_Bio_Gardens = current + BioInd.show("Updated setting to", storage.mod_settings.BI_Easy_Bio_Gardens) + else + BioInd.writeDebug("Nothing to do!") + end +end + +return settings_changed diff --git a/README.md b/README.md index fa2c967..21c46bb 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ _________________ ## Bio Industries -**Disclaimer:** This is a fork of Bio Industries to bring it to Factorio 2.x. The main reason for the fork is the preparation for [ATOM](https://mods.factorio.com/mod/all-the-overhaul-modpack). Space Age is currently not supported. Rails have been removed from the mod because of changed graphics requirements. If you want to contribute, feel free to contact me. +**Disclaimer:** This is a fork of [Bio Industries](https://mods.factorio.com/mod/Bio_Industries) to bring it to Factorio 2.x. The main reason for the fork is the preparation for [ATOM](https://mods.factorio.com/mod/all-the-overhaul-modpack). Space Age is currently not supported. Rails have been removed from the mod because of changed graphics requirements. If you want to contribute, feel free to contact me. Bio Industries provides you with some very useful buildings and products. diff --git a/Bio_Industries_2/graphics/icons/bio-battery/battery_64_vanilla.xcf b/sources/graphics/icons/bio-battery/battery_64_vanilla.xcf similarity index 100% rename from Bio_Industries_2/graphics/icons/bio-battery/battery_64_vanilla.xcf rename to sources/graphics/icons/bio-battery/battery_64_vanilla.xcf diff --git a/Bio_Industries_2/graphics/icons/bio-battery/bio_battery_vanilla.xcf b/sources/graphics/icons/bio-battery/bio_battery_vanilla.xcf similarity index 100% rename from Bio_Industries_2/graphics/icons/bio-battery/bio_battery_vanilla.xcf rename to sources/graphics/icons/bio-battery/bio_battery_vanilla.xcf diff --git a/Bio_Industries_2/graphics/icons/new/battery.xcf b/sources/graphics/icons/new/battery.xcf similarity index 100% rename from Bio_Industries_2/graphics/icons/new/battery.xcf rename to sources/graphics/icons/new/battery.xcf diff --git a/Bio_Industries_2/graphics/icons/new/fluid_fertilizer.xcf b/sources/graphics/icons/new/fluid_fertilizer.xcf similarity index 100% rename from Bio_Industries_2/graphics/icons/new/fluid_fertilizer.xcf rename to sources/graphics/icons/new/fluid_fertilizer.xcf diff --git a/Bio_Industries_2/graphics/icons/new/fluid_fertilizer_recipe.xcf b/sources/graphics/icons/new/fluid_fertilizer_recipe.xcf similarity index 100% rename from Bio_Industries_2/graphics/icons/new/fluid_fertilizer_recipe.xcf rename to sources/graphics/icons/new/fluid_fertilizer_recipe.xcf diff --git a/Bio_Industries_2/graphics/wood_gasification/source.psd b/sources/graphics/wood_gasification/source.psd similarity index 100% rename from Bio_Industries_2/graphics/wood_gasification/source.psd rename to sources/graphics/wood_gasification/source.psd diff --git a/Bio_Industries_2/graphics/wood_gasification/technology.psd b/sources/graphics/wood_gasification/technology.psd similarity index 100% rename from Bio_Industries_2/graphics/wood_gasification/technology.psd rename to sources/graphics/wood_gasification/technology.psd diff --git a/Bio_Industries_2/graphics/wood_gasification/thumbnail.psd b/sources/graphics/wood_gasification/thumbnail.psd similarity index 100% rename from Bio_Industries_2/graphics/wood_gasification/thumbnail.psd rename to sources/graphics/wood_gasification/thumbnail.psd