Jump to content

Can't Edit Mod


Recommended Posts

Hello I just trying to edit a russian mod to english for personal uses. I just translated russian text boxes and didn't touched anything. But i get a crash about using unknown character called Ï but i didn't event used it. After that I changed all "i" words with "ı" but same error popup again. Can someone help me, I don't know modding.
 

PrefabFiles = {
	"clusters",
}

Assets = {
	Asset("ATLAS", "images/inventoryimages/berrybush_cluster.xml"),
	Asset("ATLAS", "images/inventoryimages/berrybush2_cluster.xml"),
	Asset("ATLAS", "images/inventoryimages/berrybush_juicy_cluster.xml"),
	Asset("ATLAS", "images/inventoryimages/sapling_cluster.xml"),
	Asset("ATLAS", "images/inventoryimages/grass_cluster.xml"),
	Asset("ATLAS", "images/inventoryimages/pinecone_cluster.xml"),
	Asset("ATLAS", "images/inventoryimages/twiggy_nut_cluster.xml"),
	Asset("ATLAS", "images/inventoryimages/acorn_cluster.xml"),
	Asset("ATLAS", "images/inventoryimages/marblebean_cluster.xml"),
}

STRINGS = GLOBAL.STRINGS
Ingredient = GLOBAL.Ingredient

GLOBAL.CLUSTERPLANT = {}

--Helper functions--

--GetSize
--Expects a string, gets data from modconfig, returns the size of the grid
local function GetSize(name)
local option = GetModConfigData(name.."_size")
	if option ~= nil and option % 2 ~= 0 then
		return {x = option, z = option}
	else
		return {3, 3}
	end
end

local gendesc = "Плантация из нескольких растений." --Generic description

-----===== Berrybush cluster =====-----
STRINGS.NAMES.BERRYBUSH_CLUSTER = "Berrybush Cluster"
STRINGS.RECIPE_DESC.BERRYBUSH_CLUSTER = gendesc

-----===== Berrybush 2 cluster =====-----
STRINGS.NAMES.BERRYBUSH2_CLUSTER = "Berrybush Cluster"
STRINGS.RECIPE_DESC.BERRYBUSH2_CLUSTER = gendesc

-----===== Juicy Berrybush cluster =====-----
STRINGS.NAMES.BERRYBUSH_JUICY_CLUSTER = "Juıcy Berrybush Cluster"
STRINGS.RECIPE_DESC.BERRYBUSH_JUICY_CLUSTER = gendesc

-----===== Sapling cluster =====-----
STRINGS.NAMES.SAPLING_CLUSTER = "Saplıng Cluster"
STRINGS.RECIPE_DESC.SAPLING_CLUSTER = gendesc

-----===== Grass cluster =====-----
STRINGS.NAMES.GRASS_CLUSTER = "Grass Cluster"
STRINGS.RECIPE_DESC.GRASS_CLUSTER = gendesc

-----===== Pinecone cluster =====-----
STRINGS.NAMES.PINECONE_CLUSTER = "Pınecone Cluster"
STRINGS.RECIPE_DESC.PINECONE_CLUSTER = gendesc

-----===== Twiggy Nut cluster =====-----
STRINGS.NAMES.TWIGGY_NUT_CLUSTER = "Twıggy Nut Cluster"
STRINGS.RECIPE_DESC.TWIGGY_NUT_CLUSTER = gendesc

-----===== Acorn(Birchnut) cluster =====-----
STRINGS.NAMES.ACORN_CLUSTER = "Acorn Cluster"
STRINGS.RECIPE_DESC.ACORN_CLUSTER = gendesc

-----===== Marble Tree cluster =====-----
STRINGS.NAMES.MARBLEBEAN_CLUSTER = "Marble Cluster"
STRINGS.RECIPE_DESC.MARBLEBEAN_CLUSTER = gendesc

GLOBAL.CLUSTERPLANT.BERRYBUSH_CLUSTER_DIM = GetSize("berrybush")
GLOBAL.CLUSTERPLANT.BERRYBUSH_CLUSTER_SIZE = GetSize("berrybush").x * GetSize("berrybush").z
GLOBAL.CLUSTERPLANT.BERRYBUSH_CLUSTER_SPACING = (1 + (GLOBAL.CLUSTERPLANT.BERRYBUSH_CLUSTER_DIM.x/2 - 0.5)) * 2
GLOBAL.CLUSTERPLANT.BERRYBUSH_CLUSTER_INGREDIENTS = {Ingredient("dug_berrybush", GLOBAL.CLUSTERPLANT.BERRYBUSH_CLUSTER_SIZE)}
GLOBAL.CLUSTERPLANT.BERRYBUSH2_CLUSTER_INGREDIENTS = {Ingredient("dug_berrybush2", GLOBAL.CLUSTERPLANT.BERRYBUSH_CLUSTER_SIZE)}

GLOBAL.CLUSTERPLANT.JUICYBERRYBUSH_CLUSTER_DIM = GetSize("juicyberrybush")
GLOBAL.CLUSTERPLANT.JUICYBERRYBUSH_CLUSTER_SIZE = GetSize("juicyberrybush").x * GetSize("juicyberrybush").z
GLOBAL.CLUSTERPLANT.JUICYBERRYBUSH_CLUSTER_SPACING = (1 + (GLOBAL.CLUSTERPLANT.JUICYBERRYBUSH_CLUSTER_DIM.x/2 - 0.5)) * 2
GLOBAL.CLUSTERPLANT.JUICYBERRYBUSH_CLUSTER_INGREDIENTS = {Ingredient("dug_berrybush_juicy", GLOBAL.CLUSTERPLANT.JUICYBERRYBUSH_CLUSTER_SIZE)}

GLOBAL.CLUSTERPLANT.SAPLING_CLUSTER_DIM = GetSize("sapling")
GLOBAL.CLUSTERPLANT.SAPLING_CLUSTER_SIZE = GetSize("sapling").x * GetSize("sapling").z
GLOBAL.CLUSTERPLANT.SAPLING_CLUSTER_SPACING = 1 + (GLOBAL.CLUSTERPLANT.SAPLING_CLUSTER_DIM.x/2 - 0.5)
GLOBAL.CLUSTERPLANT.SAPLING_CLUSTER_INGREDIENTS = {Ingredient("dug_sapling", GLOBAL.CLUSTERPLANT.SAPLING_CLUSTER_SIZE)}

GLOBAL.CLUSTERPLANT.GRASS_CLUSTER_DIM = GetSize("grass")
GLOBAL.CLUSTERPLANT.GRASS_CLUSTER_SIZE = GetSize("grass").x * GetSize("grass").z
GLOBAL.CLUSTERPLANT.GRASS_CLUSTER_SPACING = 1 + (GLOBAL.CLUSTERPLANT.GRASS_CLUSTER_DIM.x/2 - 0.5)
GLOBAL.CLUSTERPLANT.GRASS_CLUSTER_INGREDIENTS = {Ingredient("dug_grass", GLOBAL.CLUSTERPLANT.GRASS_CLUSTER_SIZE)}

GLOBAL.CLUSTERPLANT.PINECONE_CLUSTER_DIM = GetSize("pinecone")
GLOBAL.CLUSTERPLANT.PINECONE_CLUSTER_SIZE = GetSize("pinecone").x * GetSize("pinecone").z
GLOBAL.CLUSTERPLANT.PINECONE_CLUSTER_SPACING = (1 + (GLOBAL.CLUSTERPLANT.PINECONE_CLUSTER_DIM.x/2 - 0.5)) * 2
GLOBAL.CLUSTERPLANT.PINECONE_CLUSTER_INGREDIENTS = {Ingredient("pinecone", GLOBAL.CLUSTERPLANT.PINECONE_CLUSTER_SIZE)}

GLOBAL.CLUSTERPLANT.TWIGGY_CLUSTER_DIM = GetSize("twiggy")
GLOBAL.CLUSTERPLANT.TWIGGY_CLUSTER_SIZE = GetSize("twiggy").x * GetSize("twiggy").z
GLOBAL.CLUSTERPLANT.TWIGGY_CLUSTER_SPACING = (1 + (GLOBAL.CLUSTERPLANT.TWIGGY_CLUSTER_DIM.x/2 - 0.5)) * 2
GLOBAL.CLUSTERPLANT.TWIGGY_CLUSTER_INGREDIENTS = {Ingredient("twiggy_nut", GLOBAL.CLUSTERPLANT.TWIGGY_CLUSTER_SIZE)}

GLOBAL.CLUSTERPLANT.ACORN_CLUSTER_DIM = GetSize("acorn")
GLOBAL.CLUSTERPLANT.ACORN_CLUSTER_SIZE = GetSize("acorn").x * GetSize("acorn").z
GLOBAL.CLUSTERPLANT.ACORN_CLUSTER_SPACING = (1 + (GLOBAL.CLUSTERPLANT.ACORN_CLUSTER_DIM.x/2 - 0.5)) * 2
GLOBAL.CLUSTERPLANT.ACORN_CLUSTER_INGREDIENTS = {Ingredient("acorn", GLOBAL.CLUSTERPLANT.ACORN_CLUSTER_SIZE)}

GLOBAL.CLUSTERPLANT.MARBLE_CLUSTER_DIM = GetSize("marble")
GLOBAL.CLUSTERPLANT.MARBLE_CLUSTER_SIZE = GetSize("marble").x * GetSize("marble").z
GLOBAL.CLUSTERPLANT.MARBLE_CLUSTER_SPACING = (1 + (GLOBAL.CLUSTERPLANT.MARBLE_CLUSTER_DIM.x/2 - 0.5)) * 2
GLOBAL.CLUSTERPLANT.MARBLE_CLUSTER_INGREDIENTS = {Ingredient("marblebean", GLOBAL.CLUSTERPLANT.MARBLE_CLUSTER_SIZE)}

if GetModConfigData("tab_cfg") == 1 then

AddRecipe("berrybush_cluster", GLOBAL.CLUSTERPLANT.BERRYBUSH_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.SURVIVAL, GLOBAL.TECH.NONE, "berrybush_cluster_placer", GLOBAL.CLUSTERPLANT.BERRYBUSH_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/berrybush_cluster.xml")
AddRecipe("berrybush2_cluster", GLOBAL.CLUSTERPLANT.BERRYBUSH2_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.SURVIVAL, GLOBAL.TECH.NONE, "berrybush2_cluster_placer", GLOBAL.CLUSTERPLANT.BERRYBUSH_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/berrybush2_cluster.xml")
AddRecipe("berrybush_juicy_cluster", GLOBAL.CLUSTERPLANT.JUICYBERRYBUSH_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.SURVIVAL, GLOBAL.TECH.NONE, "berrybush_juicy_cluster_placer", GLOBAL.CLUSTERPLANT.JUICYBERRYBUSH_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/berrybush_juicy_cluster.xml")
AddRecipe("sapling_cluster", GLOBAL.CLUSTERPLANT.SAPLING_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.SURVIVAL, GLOBAL.TECH.NONE, "sapling_cluster_placer", GLOBAL.CLUSTERPLANT.SAPLING_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/sapling_cluster.xml")
AddRecipe("grass_cluster", GLOBAL.CLUSTERPLANT.GRASS_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.SURVIVAL, GLOBAL.TECH.NONE, "grass_cluster_placer", GLOBAL.CLUSTERPLANT.GRASS_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/grass_cluster.xml")
AddRecipe("pinecone_cluster", GLOBAL.CLUSTERPLANT.PINECONE_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.SURVIVAL, GLOBAL.TECH.NONE, "pinecone_cluster_placer", GLOBAL.CLUSTERPLANT.PINECONE_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/pinecone_cluster.xml")
AddRecipe("twiggy_nut_cluster", GLOBAL.CLUSTERPLANT.TWIGGY_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.SURVIVAL, GLOBAL.TECH.NONE, "twiggy_nut_cluster_placer", GLOBAL.CLUSTERPLANT.TWIGGY_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/twiggy_nut_cluster.xml")
AddRecipe("acorn_cluster", GLOBAL.CLUSTERPLANT.ACORN_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.SURVIVAL, GLOBAL.TECH.NONE, "acorn_cluster_placer", GLOBAL.CLUSTERPLANT.ACORN_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/acorn_cluster.xml")
AddRecipe("marblebean_cluster", GLOBAL.CLUSTERPLANT.MARBLE_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.SURVIVAL, GLOBAL.TECH.NONE, "marblebean_cluster_placer", GLOBAL.CLUSTERPLANT.MARBLE_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/marblebean_cluster.xml")

elseif GetModConfigData("tab_cfg") == 2 then
	
AddRecipe("berrybush_cluster", GLOBAL.CLUSTERPLANT.BERRYBUSH_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.FARM, GLOBAL.TECH.NONE, "berrybush_cluster_placer", GLOBAL.CLUSTERPLANT.BERRYBUSH_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/berrybush_cluster.xml")
AddRecipe("berrybush2_cluster", GLOBAL.CLUSTERPLANT.BERRYBUSH2_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.FARM, GLOBAL.TECH.NONE, "berrybush2_cluster_placer", GLOBAL.CLUSTERPLANT.BERRYBUSH_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/berrybush2_cluster.xml")
AddRecipe("berrybush_juicy_cluster", GLOBAL.CLUSTERPLANT.JUICYBERRYBUSH_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.FARM, GLOBAL.TECH.NONE, "berrybush_juicy_cluster_placer", GLOBAL.CLUSTERPLANT.JUICYBERRYBUSH_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/berrybush_juicy_cluster.xml")
AddRecipe("sapling_cluster", GLOBAL.CLUSTERPLANT.SAPLING_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.FARM, GLOBAL.TECH.NONE, "sapling_cluster_placer", GLOBAL.CLUSTERPLANT.SAPLING_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/sapling_cluster.xml")
AddRecipe("grass_cluster", GLOBAL.CLUSTERPLANT.GRASS_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.FARM, GLOBAL.TECH.NONE, "grass_cluster_placer", GLOBAL.CLUSTERPLANT.GRASS_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/grass_cluster.xml")
AddRecipe("pinecone_cluster", GLOBAL.CLUSTERPLANT.PINECONE_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.FARM, GLOBAL.TECH.NONE, "pinecone_cluster_placer", GLOBAL.CLUSTERPLANT.PINECONE_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/pinecone_cluster.xml")
AddRecipe("twiggy_nut_cluster", GLOBAL.CLUSTERPLANT.TWIGGY_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.FARM, GLOBAL.TECH.NONE, "twiggy_nut_cluster_placer", GLOBAL.CLUSTERPLANT.TWIGGY_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/twiggy_nut_cluster.xml")
AddRecipe("acorn_cluster", GLOBAL.CLUSTERPLANT.ACORN_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.FARM, GLOBAL.TECH.NONE, "acorn_cluster_placer", GLOBAL.CLUSTERPLANT.ACORN_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/acorn_cluster.xml")
AddRecipe("marblebean_cluster", GLOBAL.CLUSTERPLANT.MARBLE_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.FARM, GLOBAL.TECH.NONE, "marblebean_cluster_placer", GLOBAL.CLUSTERPLANT.MARBLE_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/marblebean_cluster.xml")
	
elseif GetModConfigData("tab_cfg") == 3 then

AddRecipe("berrybush_cluster", GLOBAL.CLUSTERPLANT.BERRYBUSH_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.SCIENCE, GLOBAL.TECH.NONE, "berrybush_cluster_placer", GLOBAL.CLUSTERPLANT.BERRYBUSH_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/berrybush_cluster.xml")
AddRecipe("berrybush2_cluster", GLOBAL.CLUSTERPLANT.BERRYBUSH2_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.SCIENCE, GLOBAL.TECH.NONE, "berrybush2_cluster_placer", GLOBAL.CLUSTERPLANT.BERRYBUSH_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/berrybush2_cluster.xml")
AddRecipe("berrybush_juicy_cluster", GLOBAL.CLUSTERPLANT.JUICYBERRYBUSH_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.SCIENCE, GLOBAL.TECH.NONE, "berrybush_juicy_cluster_placer", GLOBAL.CLUSTERPLANT.JUICYBERRYBUSH_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/berrybush_juicy_cluster.xml")
AddRecipe("sapling_cluster", GLOBAL.CLUSTERPLANT.SAPLING_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.SCIENCE, GLOBAL.TECH.NONE, "sapling_cluster_placer", GLOBAL.CLUSTERPLANT.SAPLING_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/sapling_cluster.xml")
AddRecipe("grass_cluster", GLOBAL.CLUSTERPLANT.GRASS_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.SCIENCE, GLOBAL.TECH.NONE, "grass_cluster_placer", GLOBAL.CLUSTERPLANT.GRASS_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/grass_cluster.xml")
AddRecipe("pinecone_cluster", GLOBAL.CLUSTERPLANT.PINECONE_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.SCIENCE, GLOBAL.TECH.NONE, "pinecone_cluster_placer", GLOBAL.CLUSTERPLANT.PINECONE_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/pinecone_cluster.xml")
AddRecipe("twiggy_nut_cluster", GLOBAL.CLUSTERPLANT.TWIGGY_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.SCIENCE, GLOBAL.TECH.NONE, "twiggy_nut_cluster_placer", GLOBAL.CLUSTERPLANT.TWIGGY_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/twiggy_nut_cluster.xml")
AddRecipe("acorn_cluster", GLOBAL.CLUSTERPLANT.ACORN_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.SCIENCE, GLOBAL.TECH.NONE, "acorn_cluster_placer", GLOBAL.CLUSTERPLANT.ACORN_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/acorn_cluster.xml")
AddRecipe("marblebean_cluster", GLOBAL.CLUSTERPLANT.MARBLE_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.SCIENCE, GLOBAL.TECH.NONE, "marblebean_cluster_placer", GLOBAL.CLUSTERPLANT.MARBLE_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/marblebean_cluster.xml")

elseif GetModConfigData("tab_cfg") == 4 then

AddRecipe("berrybush_cluster", GLOBAL.CLUSTERPLANT.BERRYBUSH_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.TOWN, GLOBAL.TECH.NONE, "berrybush_cluster_placer", GLOBAL.CLUSTERPLANT.BERRYBUSH_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/berrybush_cluster.xml")
AddRecipe("berrybush2_cluster", GLOBAL.CLUSTERPLANT.BERRYBUSH2_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.TOWN, GLOBAL.TECH.NONE, "berrybush2_cluster_placer", GLOBAL.CLUSTERPLANT.BERRYBUSH_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/berrybush2_cluster.xml")
AddRecipe("berrybush_juicy_cluster", GLOBAL.CLUSTERPLANT.JUICYBERRYBUSH_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.TOWN, GLOBAL.TECH.NONE, "berrybush_juicy_cluster_placer", GLOBAL.CLUSTERPLANT.JUICYBERRYBUSH_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/berrybush_juicy_cluster.xml")
AddRecipe("sapling_cluster", GLOBAL.CLUSTERPLANT.SAPLING_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.TOWN, GLOBAL.TECH.NONE, "sapling_cluster_placer", GLOBAL.CLUSTERPLANT.SAPLING_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/sapling_cluster.xml")
AddRecipe("grass_cluster", GLOBAL.CLUSTERPLANT.GRASS_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.TOWN, GLOBAL.TECH.NONE, "grass_cluster_placer", GLOBAL.CLUSTERPLANT.GRASS_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/grass_cluster.xml")
AddRecipe("pinecone_cluster", GLOBAL.CLUSTERPLANT.PINECONE_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.TOWN, GLOBAL.TECH.NONE, "pinecone_cluster_placer", GLOBAL.CLUSTERPLANT.PINECONE_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/pinecone_cluster.xml")
AddRecipe("twiggy_nut_cluster", GLOBAL.CLUSTERPLANT.TWIGGY_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.TOWN, GLOBAL.TECH.NONE, "twiggy_nut_cluster_placer", GLOBAL.CLUSTERPLANT.TWIGGY_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/twiggy_nut_cluster.xml")
AddRecipe("acorn_cluster", GLOBAL.CLUSTERPLANT.ACORN_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.TOWN, GLOBAL.TECH.NONE, "acorn_cluster_placer", GLOBAL.CLUSTERPLANT.ACORN_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/acorn_cluster.xml")
AddRecipe("marblebean_cluster", GLOBAL.CLUSTERPLANT.MARBLE_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.TOWN, GLOBAL.TECH.NONE, "marblebean_cluster_placer", GLOBAL.CLUSTERPLANT.MARBLE_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/marblebean_cluster.xml")

elseif GetModConfigData("tab_cfg") == 5 then

AddRecipe("berrybush_cluster", GLOBAL.CLUSTERPLANT.BERRYBUSH_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.REFINE, GLOBAL.TECH.NONE, "berrybush_cluster_placer", GLOBAL.CLUSTERPLANT.BERRYBUSH_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/berrybush_cluster.xml")
AddRecipe("berrybush2_cluster", GLOBAL.CLUSTERPLANT.BERRYBUSH2_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.REFINE, GLOBAL.TECH.NONE, "berrybush2_cluster_placer", GLOBAL.CLUSTERPLANT.BERRYBUSH_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/berrybush2_cluster.xml")
AddRecipe("berrybush_juicy_cluster", GLOBAL.CLUSTERPLANT.JUICYBERRYBUSH_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.REFINE, GLOBAL.TECH.NONE, "berrybush_juicy_cluster_placer", GLOBAL.CLUSTERPLANT.JUICYBERRYBUSH_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/berrybush_juicy_cluster.xml")
AddRecipe("sapling_cluster", GLOBAL.CLUSTERPLANT.SAPLING_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.REFINE, GLOBAL.TECH.NONE, "sapling_cluster_placer", GLOBAL.CLUSTERPLANT.SAPLING_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/sapling_cluster.xml")
AddRecipe("grass_cluster", GLOBAL.CLUSTERPLANT.GRASS_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.REFINE, GLOBAL.TECH.NONE, "grass_cluster_placer", GLOBAL.CLUSTERPLANT.GRASS_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/grass_cluster.xml")
AddRecipe("pinecone_cluster", GLOBAL.CLUSTERPLANT.PINECONE_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.REFINE, GLOBAL.TECH.NONE, "pinecone_cluster_placer", GLOBAL.CLUSTERPLANT.PINECONE_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/pinecone_cluster.xml")
AddRecipe("twiggy_nut_cluster", GLOBAL.CLUSTERPLANT.TWIGGY_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.REFINE, GLOBAL.TECH.NONE, "twiggy_nut_cluster_placer", GLOBAL.CLUSTERPLANT.TWIGGY_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/twiggy_nut_cluster.xml")
AddRecipe("acorn_cluster", GLOBAL.CLUSTERPLANT.ACORN_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.REFINE, GLOBAL.TECH.NONE, "acorn_cluster_placer", GLOBAL.CLUSTERPLANT.ACORN_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/acorn_cluster.xml")
AddRecipe("marblebean_cluster", GLOBAL.CLUSTERPLANT.MARBLE_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.REFINE, GLOBAL.TECH.NONE, "marblebean_cluster_placer", GLOBAL.CLUSTERPLANT.MARBLE_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/marblebean_cluster.xml")

elseif GetModConfigData("tab_cfg") == 6 then

AddRecipe("berrybush_cluster", GLOBAL.CLUSTERPLANT.BERRYBUSH_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.FARM, GLOBAL.TECH.NONE, "berrybush_cluster_placer", GLOBAL.CLUSTERPLANT.BERRYBUSH_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/berrybush_cluster.xml")
AddRecipe("berrybush2_cluster", GLOBAL.CLUSTERPLANT.BERRYBUSH2_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.FARM, GLOBAL.TECH.NONE, "berrybush2_cluster_placer", GLOBAL.CLUSTERPLANT.BERRYBUSH_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/berrybush2_cluster.xml")
AddRecipe("berrybush_juicy_cluster", GLOBAL.CLUSTERPLANT.JUICYBERRYBUSH_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.FARM, GLOBAL.TECH.NONE, "berrybush_juicy_cluster_placer", GLOBAL.CLUSTERPLANT.JUICYBERRYBUSH_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/berrybush_juicy_cluster.xml")
AddRecipe("sapling_cluster", GLOBAL.CLUSTERPLANT.SAPLING_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.REFINE, GLOBAL.TECH.NONE, "sapling_cluster_placer", GLOBAL.CLUSTERPLANT.SAPLING_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/sapling_cluster.xml")
AddRecipe("grass_cluster", GLOBAL.CLUSTERPLANT.GRASS_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.REFINE, GLOBAL.TECH.NONE, "grass_cluster_placer", GLOBAL.CLUSTERPLANT.GRASS_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/grass_cluster.xml")
AddRecipe("pinecone_cluster", GLOBAL.CLUSTERPLANT.PINECONE_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.REFINE, GLOBAL.TECH.NONE, "pinecone_cluster_placer", GLOBAL.CLUSTERPLANT.PINECONE_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/pinecone_cluster.xml")
AddRecipe("twiggy_nut_cluster", GLOBAL.CLUSTERPLANT.TWIGGY_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.REFINE, GLOBAL.TECH.NONE, "twiggy_nut_cluster_placer", GLOBAL.CLUSTERPLANT.TWIGGY_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/twiggy_nut_cluster.xml")
AddRecipe("acorn_cluster", GLOBAL.CLUSTERPLANT.ACORN_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.REFINE, GLOBAL.TECH.NONE, "acorn_cluster_placer", GLOBAL.CLUSTERPLANT.ACORN_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/acorn_cluster.xml")
AddRecipe("marblebean_cluster", GLOBAL.CLUSTERPLANT.MARBLE_CLUSTER_INGREDIENTS, GLOBAL.RECIPETABS.REFINE, GLOBAL.TECH.NONE, "marblebean_cluster_placer", GLOBAL.CLUSTERPLANT.MARBLE_CLUSTER_SPACING, nil, nil, nil, "images/inventoryimages/marblebean_cluster.xml")
	
end
 

 

Link to comment
Share on other sites

4 hours ago, FurryEskimo said:

So you tried to edit all the Russian text in the whole mod to English?  Could be you edited some variable names by accident, which would cause problems.  All you want to change are the item descriptions.

Nope, I didn't touched any English text or any codder comment. I didn't even touched configuration menu. I just changed building names to english. Also I don't think they codded it in Russian, probably it's not possible to. And I used Notebook app that came with Windows default, will that make any problem?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...