diff --git a/PHI-CL/changelog.txt b/PHI-CL/changelog.txt index 5f06746..f667c6f 100644 --- a/PHI-CL/changelog.txt +++ b/PHI-CL/changelog.txt @@ -1,3 +1,10 @@ +--------------------------------------------------------------------------------------------------- +Version: 3.0.124 +Date: 2025-07-13 + + Changes: + - [GM] A beta version of multi combinator. + --------------------------------------------------------------------------------------------------- Version: 3.0.123 Date: 2025-07-06 diff --git a/PHI-CL/data.lua b/PHI-CL/data.lua index 0bcef31..6020b71 100644 --- a/PHI-CL/data.lua +++ b/PHI-CL/data.lua @@ -288,6 +288,36 @@ if (settings.startup['PHI-MI'].value and settings.startup['PHI-MI-GENERIC'].valu }}) end + if data.raw['constant-combinator']['constant-combinator'] then + local item = table.deepcopy(data.raw['item']['constant-combinator']) + item.name = 'super-combinator' + item.place_result = item.name + item.order = 'c[combinators]-e[super-combinator]' + item.icons = {{icon = '__base__/graphics/icons/constant-combinator.png', tint = items['tint'][2], icon_size = 64, icon_mipmaps = 4}} + item.icon = nil + item.icon_size = nil + item.icon_mipmaps = nil + item.localised_name = {'', {'name.super-entity'}, {'entity-name.constant-combinator'}} + data:extend({item}) + + local entity = table.deepcopy(data.raw['constant-combinator']['constant-combinator']) + entity.name = item.name + entity.minable.result = item.name + entity.localised_name = {'', {'name.super-entity'}, {'entity-name.constant-combinator'}} + data:extend({entity}) + + data:extend({{ + type = 'recipe', + name = item.name, + energy_required = 2, + enabled = true, + ingredients = {{type = 'item', name = 'electronic-circuit', amount = 5}, {type = 'item', name = 'copper-wire', amount = 5}}, + results = {{type = 'item', name = item.name, amount = 1}}, + main_product = item.name, + localised_name = {'', {'name.super-entity'}, {'entity-name.constant-combinator'}} + }}) + end + for _, v in pairs(data.raw['inserter']) do if v.energy_source and (v.energy_source == 'electric' or v.energy_source == 'void' or v.energy_source == 'burner') then v.allow_custom_vectors = true diff --git a/PHI-CL/info.json b/PHI-CL/info.json index 70a6f70..2a60054 100644 --- a/PHI-CL/info.json +++ b/PHI-CL/info.json @@ -1,8 +1,8 @@ { "name": "PHI-CL", - "version": "3.0.123", + "version": "3.0.124", "factorio_version": "2.0", - "date": "2025-07-06", + "date": "2025-07-13", "title": "Phidias Collection", "author": "PHIDIAS0303", "contributers": "",