Compare commits
1 commit
efb0b6aad7
...
f47a9121e9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f47a9121e9 |
101 changed files with 803 additions and 786 deletions
47
lignumis-base/info.json
Normal file
47
lignumis-base/info.json
Normal file
|
|
@ -0,0 +1,47 @@
|
||||||
|
{
|
||||||
|
"name": "lignumis-base",
|
||||||
|
"version": "1.1.0",
|
||||||
|
"title": "Lignumis - Base",
|
||||||
|
"description": "Base mod for Lignumis with less dependencies.",
|
||||||
|
"author": "cackling fiend",
|
||||||
|
"homepage": "https://discord.gg/ufvFUJtVwk",
|
||||||
|
"factorio_version": "2.0",
|
||||||
|
"space_travel_required": true,
|
||||||
|
"dependencies": [
|
||||||
|
"base",
|
||||||
|
"space-age >= 2.0.53",
|
||||||
|
"bioprocessing-tab",
|
||||||
|
"cf-lib >= 0.0.13",
|
||||||
|
"flib",
|
||||||
|
"lignumis-assets >= 1.0.3",
|
||||||
|
"mf-buildings >= 1.0.7",
|
||||||
|
"mf-core >= 1.0.3",
|
||||||
|
"mf-logistics >= 1.0.1",
|
||||||
|
"PlanetsLib >= 1.1.26",
|
||||||
|
"pollution-as-surface-property",
|
||||||
|
"Wood-Walls >= 1.2.0",
|
||||||
|
"?aai-industry",
|
||||||
|
"?aai-loaders",
|
||||||
|
"?aai-loaders-sane",
|
||||||
|
"?any-planet-start",
|
||||||
|
"?atan-nuclear-science",
|
||||||
|
"?crushing-industry",
|
||||||
|
"?Diversitree",
|
||||||
|
"?fulgora-coralmium-agriculture",
|
||||||
|
"?gleba-reborn",
|
||||||
|
"?hot-metals >= 1.1.0",
|
||||||
|
"?Krastorio2-spaced-out",
|
||||||
|
"?lane-splitters",
|
||||||
|
"?metal-and-stars",
|
||||||
|
"(?)secretas",
|
||||||
|
"(?)Wood_Gasification_updated",
|
||||||
|
"?wood-industry",
|
||||||
|
"?wood-military >= 2.3.3",
|
||||||
|
"!apm_power_ldinc",
|
||||||
|
"!early-agriculture",
|
||||||
|
"!planet-picker",
|
||||||
|
"!wood-logistics",
|
||||||
|
"!wood-universe-modpack",
|
||||||
|
"!rso-mod"
|
||||||
|
]
|
||||||
|
}
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,26 +1,26 @@
|
||||||
local RocketSilo = require("scripts/wooden-rocket-silo")
|
local RocketSilo = require("scripts/wooden-rocket-silo")
|
||||||
|
|
||||||
if not storage.rocket_silos then
|
if not storage.rocket_silos then
|
||||||
storage.rocket_silos = {}
|
storage.rocket_silos = {}
|
||||||
end
|
end
|
||||||
|
|
||||||
if not game.planets["lignumis"] or not game.planets["lignumis"].surface then return end
|
if not game.planets["lignumis"] or not game.planets["lignumis"].surface then return end
|
||||||
|
|
||||||
local lignumis = game.planets["lignumis"].surface
|
local lignumis = game.planets["lignumis"].surface
|
||||||
|
|
||||||
for _, silo in pairs(lignumis.find_entities_filtered { name = "provisional-rocket-silo" }) do
|
for _, silo in pairs(lignumis.find_entities_filtered { name = "provisional-rocket-silo" }) do
|
||||||
local found = false
|
local found = false
|
||||||
for _, entry in pairs(storage.rocket_silos) do
|
for _, entry in pairs(storage.rocket_silos) do
|
||||||
if type(entry) == "table" and entry.real_silo == silo then
|
if type(entry) == "table" and entry.real_silo == silo then
|
||||||
found = true
|
found = true
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
if not found then
|
if not found then
|
||||||
RocketSilo.events[defines.events.on_script_trigger_effect]({
|
RocketSilo.events[defines.events.on_script_trigger_effect]({
|
||||||
effect_id = "provisional-rocket-ready",
|
effect_id = "provisional-rocket-ready",
|
||||||
surface_index = lignumis.index,
|
surface_index = lignumis.index,
|
||||||
cause_entity = silo
|
cause_entity = silo
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
@ -1,23 +1,23 @@
|
||||||
local sounds = require("__base__.prototypes.entity.sounds")
|
local sounds = require("__base__.prototypes.entity.sounds")
|
||||||
|
|
||||||
data:extend({
|
data:extend({
|
||||||
{
|
{
|
||||||
name = "gold-rock-cluster",
|
name = "gold-rock-cluster",
|
||||||
type = "optimized-decorative",
|
type = "optimized-decorative",
|
||||||
order = "a[lignumis]-a[decorative]-a[gold-rock-clusters]",
|
order = "a[lignumis]-a[decorative]-a[gold-rock-clusters]",
|
||||||
collision_box = { { -1, -1 }, { 1, 1 } },
|
collision_box = { { -1, -1 }, { 1, 1 } },
|
||||||
collision_mask = { layers = { water_tile = true, doodad = true }, colliding_with_tiles_only = true },
|
collision_mask = { layers = { water_tile = true, doodad = true }, colliding_with_tiles_only = true },
|
||||||
render_layer = "decorative",
|
render_layer = "decorative",
|
||||||
walking_sound = sounds.sand,
|
walking_sound = sounds.sand,
|
||||||
autoplace = {
|
autoplace = {
|
||||||
order = "d[ground-surface]-b[sulfur-rock]-b[cluster]",
|
order = "d[ground-surface]-b[sulfur-rock]-b[cluster]",
|
||||||
placement_density = 1,
|
placement_density = 1,
|
||||||
probability_expression =
|
probability_expression =
|
||||||
"basis_noise{x = x, y = y, seed0 = map_seed, seed1 = 3000000, input_scale = 1/8, output_scale = 1/4}",
|
"basis_noise{x = x, y = y, seed0 = map_seed, seed1 = 3000000, input_scale = 1/8, output_scale = 1/4}",
|
||||||
tile_restriction = { "natural-gold-soil" }
|
tile_restriction = { "natural-gold-soil" }
|
||||||
},
|
},
|
||||||
pictures = get_decal_pictures(
|
pictures = get_decal_pictures(
|
||||||
"__space-age__/graphics/decorative/tiny-volcanic-rock-cluster/tiny-volcanic-rock-cluster-", "", 128, 8,
|
"__space-age__/graphics/decorative/tiny-volcanic-rock-cluster/tiny-volcanic-rock-cluster-", "", 128, 8,
|
||||||
{ 0.788, 0.627, 0.167 }, true)
|
{ 0.788, 0.627, 0.167 }, true)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
-- Override science packs in final fixes in the case other mods add their science packs to all labs in a generic way
|
-- Override science packs in final fixes in the case other mods add their science packs to all labs in a generic way
|
||||||
data.raw.lab["wood-lab"].inputs = {
|
data.raw.lab["wood-lab"].inputs = {
|
||||||
"wood-science-pack",
|
"wood-science-pack",
|
||||||
"steam-science-pack",
|
"steam-science-pack",
|
||||||
"automation-science-pack",
|
"automation-science-pack",
|
||||||
"logistic-science-pack"
|
"logistic-science-pack"
|
||||||
}
|
}
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
data:extend({
|
data:extend({
|
||||||
{
|
{
|
||||||
type = "fuel-category",
|
type = "fuel-category",
|
||||||
name = "wood"
|
name = "wood"
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
require("gold/stromatolite")
|
require("gold/stromatolite")
|
||||||
require("gold/tiles")
|
require("gold/tiles")
|
||||||
require("gold/resource")
|
require("gold/resource")
|
||||||
require("gold/intermediates")
|
require("gold/intermediates")
|
||||||
require("gold/pipes")
|
require("gold/pipes")
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
if not mods["astroponics"] then return end
|
||||||
|
|
||||||
local Technology = require("__cf-lib__/data/Technology")
|
local Technology = require("__cf-lib__/data/Technology")
|
||||||
|
|
||||||
-- This just undoes what astroponics changes to tree seeding
|
-- This just undoes what astroponics changes to tree seeding
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
if not mods["astroponics"] then return end
|
||||||
|
|
||||||
local infinite = settings.startup["lignumis-infinite-astroponics-productivity-research"].value
|
local infinite = settings.startup["lignumis-infinite-astroponics-productivity-research"].value
|
||||||
|
|
||||||
local base_levels = {
|
local base_levels = {
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
if not mods["wood-military"] then
|
if not mods["wood-military"] then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
data.raw["bool-setting"]["wood-military-rockets"].default_value = false
|
data.raw["bool-setting"]["wood-military-rockets"].default_value = false
|
||||||
data.raw["bool-setting"]["wood-military-artillery"].default_value = false
|
data.raw["bool-setting"]["wood-military-artillery"].default_value = false
|
||||||
data.raw["bool-setting"]["wood-military-damage-buff"].default_value = false
|
data.raw["bool-setting"]["wood-military-damage-buff"].default_value = false
|
||||||
data.raw["bool-setting"]["wood-military-armor"].hidden = true
|
data.raw["bool-setting"]["wood-military-armor"].hidden = true
|
||||||
data.raw["bool-setting"]["wood-military-armor"].forced_value = true
|
data.raw["bool-setting"]["wood-military-armor"].forced_value = true
|
||||||
data.raw["bool-setting"]["wood-military-nerf-start"].hidden = true
|
data.raw["bool-setting"]["wood-military-nerf-start"].hidden = true
|
||||||
data.raw["bool-setting"]["wood-military-nerf-start"].forced_value = true
|
data.raw["bool-setting"]["wood-military-nerf-start"].forced_value = true
|
||||||
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue