Skip to content

Commit

Permalink
added support for yuoki industries mod
Browse files Browse the repository at this point in the history
  • Loading branch information
iGi committed Mar 5, 2015
1 parent 358833e commit 02dbb90
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 42 deletions.
70 changes: 28 additions & 42 deletions config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -43,52 +43,38 @@ require("modsupport.vanilla") -- vanilla ore/liquids (no enemies)
--[[ MODS SUPPORT ]]--
if remote and game then

-- Endless resources mod
if endless_resource_mode then
require("modsupport.endless_resource_mod")
end
-- Endless resources mod
if endless_resource_mode then
require("modsupport.endless_resource_mod")
end

if not remote.interfaces["peacemod"] then -- if the user has peacemod installed he probably doesn't want that RSO spawns them either.
require("modsupport.vanilla_enemies")
end
if not remote.interfaces["peacemod"] then -- if the user has peacemod installed he probably doesn't want that RSO spawns them either.
require("modsupport.vanilla_enemies")
end

-- Roadworks mod
if game.entityprototypes["RW_limestone"] then
require("modsupport.roadworks")
end
-- Roadworks mod
if game.entityprototypes["RW_limestone"] then
require("modsupport.roadworks")
end

-- DyTech
-- i moved everything even the checks there, i think it's cleaner this way
require("modsupport.dytech")
-- DyTech
-- i moved everything even the checks there, i think it's cleaner this way
require("modsupport.dytech")


-- BobOres
if remote.interfaces["bobores"] then
require("modsupport.bobores")
end
-- BobOres
if remote.interfaces["bobores"] then
require("modsupport.bobores")
end

-- peace mod
if remote.interfaces["peacemod"] then
require("modsupport.peacemod")
end

--yuoki industries mod
if remote.interfaces[""] then
require("modsupport.yuoki_industries")
end

-- peace mod
if remote.interfaces["peacemod"] then
require("modsupport.peacemod")
end

--[[ commented due to absence in current version of F-Mod
if remote.interfaces["F-Mod"] then
-- geyser left as is for now
config["geyser"] = {
type="resource-liquid",
minimum_amount=750000000,
allotment=0,
spawns_per_region={min=1, max=2},
richness={min=7500000000, max=7500000000}, -- total richness of site
size={min=1, max=2}, -- richness devided by this number
}
if config["lava-600"] then
config["lava-600"].multi_resource["geyser"] = 8
config["lava-1400"].multi_resource["geyser"] = 8
config["lava-2000"].multi_resource["geyser"] = 8
end
end
]]--
end
29 changes: 29 additions & 0 deletions modsupport/yuoki_industries.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
config["y-res1"] = {
type="resource-ore",
allotment=55,
spawns_per_region={min=1, max=1},
size={min=7, max=15},
richness=8000,

starting={richness=2500, size=12, probability=1},

multi_resource_chance=0.002,
multi_resource={
["stone"] = 8,
}
}

config["y-res2"] = {
type="resource-ore",
allotment=50,
spawns_per_region={min=1, max=1},
size={min=7, max=12},
richness=7000,

starting={richness=2500, size=12, probability=1},

multi_resource_chance=0.001,
multi_resource={
["iron-ore"] = 8,
}
}

0 comments on commit 02dbb90

Please sign in to comment.