Compare commits

..

No commits in common. "main" and "2.0.2" have entirely different histories.
main ... 2.0.2

3 changed files with 2 additions and 15 deletions

View file

@ -1,9 +1,4 @@
--------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------
Version: 2.0.3
Date: 01.11.2025
Bug Fixes:
- Fix salt resource not being placed
---------------------------------------------------------------------------------------------------
Version: 2.0.2 Version: 2.0.2
Date: 22.10.2025 Date: 22.10.2025
Bug Fixes: Bug Fixes:

View file

@ -1,6 +1,6 @@
{ {
"name": "bzchlorine2", "name": "bzchlorine2",
"version": "2.0.3", "version": "2.0.2",
"factorio_version": "2.0", "factorio_version": "2.0",
"title": "Salt & Chlorine", "title": "Salt & Chlorine",
"description": "Adds salt, chlorine and more to the base game. Reworks advanced circuit production.", "description": "Adds salt, chlorine and more to the base game. Reworks advanced circuit production.",

View file

@ -1,14 +1,10 @@
local resource_autoplace = require('resource-autoplace'); local resource_autoplace = require('resource-autoplace');
local item_sounds = require('__base__.prototypes.item_sounds')
local futil = require("util"); local futil = require("util");
local util = require("data-util"); local util = require("data-util");
if util.me.salt() then if util.me.salt() then
data.raw.planet.nauvis.map_gen_settings.autoplace_controls["salt"] = {}
data.raw.planet.nauvis.map_gen_settings.autoplace_settings.entity.settings["salt"] = {}
resource_autoplace.initialize_patch_set("salt", true)
local particle = futil.table.deepcopy(data.raw["optimized-particle"]["stone-particle"]) local particle = futil.table.deepcopy(data.raw["optimized-particle"]["stone-particle"])
particle.name = "salt-particle" particle.name = "salt-particle"
@ -111,11 +107,7 @@ data:extend({
}, },
subgroup = "raw-resource", subgroup = "raw-resource",
order = "t-c-a", order = "t-c-a",
stack_size = 50, stack_size = 50
weight = 20*kg,
inventory_move_sound = item_sounds.resource_inventory_move,
pick_sound = item_sounds.resource_inventory_pickup,
drop_sound = item_sounds.resource_inventory_move
}, },
{ {
type = "recipe", type = "recipe",