Skip to content
This repository was archived by the owner on Sep 5, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions alien-module/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
---------------------------------------------------------------------------------------------------
Version: 2.1.1
Changes:
- Added setting for how ore conversion recipes should recycle
- New setting allows vanilla recycling behavior of ore recipes (iron ore → iron ore)
- Added Chinese (zh-CN) locale for additional mod settings
---------------------------------------------------------------------------------------------------
Version: 2.1.0
Changes:
- Removed dependency on Total Productivity
Expand Down
2 changes: 1 addition & 1 deletion alien-module/info.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "alien-module",
"title": "Alien Loot Economy",
"version": "2.1.0",
"version": "2.1.1",
"author": "sensenmann",
"homepage": "https://github.com/renoth/factorio-alien-module",
"description": "Makes alien units drop alien ore that can be smelted into alien metal, which can be used for all sorts of alien empowered items.",
Expand Down
4 changes: 3 additions & 1 deletion alien-module/locale/en/names.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ alien-module-hyper-module-effect=Hyper Module effect per level (default 0.01)
alien-module-drop-amount=Alien ore drop amount in %
alien-module-hyper-quality-enabled=Enable quality bonus for Hypermodules?
alien-module-productivity-everything=Enable productivity bonus for all recipes?
alien-module-ore-recycle-to-alien=Enable vanilla recycling for converted ores
rampant-alienmodule-compat-max-count-turret=Max drop count from worms
rampant-alienmodule-compat-max-count-spawner=Max drop count from spawners

Expand All @@ -255,4 +256,5 @@ alien-module-level-exponent=Sets the steepness of the leveling curve.\n0.1 = 90M
alien-module-hyper-module-effect=Hyper Module effect per level (default 0.01, min = 0.001, max = 0.1). Effects get rounded to the nearest percent.
alien-module-drop-amount=Sets the amount of dropped alien ore in % (min=1, max=10000)
alien-module-hyper-quality-enabled=Activate or deactivate the quality bonus. Disabling can help with unwanted quality clutter.
alien-module-productivity-everything=Activate this to be able to put Hyper Modules into almost everyhing (very Cheaty)
alien-module-productivity-everything=Activate this to be able to put Hyper Modules into almost everyhing (very Cheaty)
alien-module-ore-recycle-to-alien=When enabled, ore recipes recycle back into themselves (iron-ore → iron-ore). When disabled, ore recipes recycle back into alien ore (iron-ore → alien-ore).
22 changes: 22 additions & 0 deletions alien-module/locale/zh-CN/alien-module_0.4.3.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -136,3 +136,25 @@ alien-module=虫子现在会掉落异星矿石,可以加工成一些新产品.

module-upgraded=异星超级插件提升至: __1__级
label=异星超级插件等级: __1__ 消灭异虫数量: __2__

[mod-setting-name]
alien-module-ore-conversion=启用矿石转换配方
alien-module-hyper-ammo-enabled=启用异星超级弹药
alien-module-level-exponent=等级指数(值越高升级越快,默认0.1)
alien-module-hyper-module-effect=超级插件每级效果(默认0.01)
alien-module-drop-amount=异星矿石掉落量百分比
alien-module-hyper-quality-enabled=为超级插件启用品质奖励?
alien-module-productivity-everything=为所有配方启用效率奖励?
alien-module-ore-recycle-to-alien=为转换矿石启用原版回收机制
rampant-alienmodule-compat-max-count-turret=蠕虫最大掉落数量
rampant-alienmodule-compat-max-count-spawner=刷怪器最大掉落数量

[mod-setting-description]
alien-module-ore-conversion=启用将异星矿石转换为其他矿石的配方
alien-module-hyper-ammo-enabled=如果不使用或觉得效果烦人可以禁用
alien-module-level-exponent=设置升级曲线陡峭程度。\n0.1 = 9000万击杀达到100级\n0.122 = 1000万击杀达到100级\n0.15 = 150万击杀达到100级\n0.2 = 13万击杀达到100级
alien-module-hyper-module-effect=超级插件每级效果(默认0.01,最小值=0.001,最大值=0.1)。效果会四舍五入到最近的百分比。
alien-module-drop-amount=设置掉落异星矿石的数量百分比(最小值=1,最大值=10000)
alien-module-hyper-quality-enabled=激活或停用品质奖励。禁用可以帮助避免不需要的品质混乱。
alien-module-productivity-everything=激活此选项可将超级插件放入几乎所有东西(非常作弊)
alien-module-ore-recycle-to-alien=当启用时,矿石配方像原版一样回收(铁矿石 → 铁矿石)。当禁用时(默认),矿石配方回收回异星矿石(铁矿石 → 异星矿石)。
15 changes: 10 additions & 5 deletions alien-module/prototypes/recipe/alien-module.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ if (settings.startup["alien-module-ore-conversion"].value) then
enabled = true,
energy_required = 10,
ingredients = { { type = "item", name = "artifact-ore", amount = 1 } },
results = { { type = "item", name = "iron-ore", amount = 5 } }
results = { { type = "item", name = "iron-ore", amount = 5 } },
auto_recycle = not settings.startup["alien-module-ore-recycle-to-alien"].value
}
})

Expand All @@ -35,7 +36,8 @@ if (settings.startup["alien-module-ore-conversion"].value) then
enabled = true,
energy_required = 10,
ingredients = { { type = "item", name = "artifact-ore", amount = 1 } },
results = { { type = "item", name = "copper-ore", amount = 5 } }
results = { { type = "item", name = "copper-ore", amount = 5 } },
auto_recycle = not settings.startup["alien-module-ore-recycle-to-alien"].value
}
})

Expand All @@ -47,7 +49,8 @@ if (settings.startup["alien-module-ore-conversion"].value) then
enabled = true,
energy_required = 10,
ingredients = { { type = "item", name = "artifact-ore", amount = 1 } },
results = { { type = "item", name = "stone", amount = 5 } }
results = { { type = "item", name = "stone", amount = 5 } },
auto_recycle = not settings.startup["alien-module-ore-recycle-to-alien"].value
}
})

Expand All @@ -59,7 +62,8 @@ if (settings.startup["alien-module-ore-conversion"].value) then
enabled = true,
energy_required = 20,
ingredients = { { type = "item", name = "artifact-ore", amount = 2 } },
results = { { type = "item", name = "uranium-ore", amount = 1 } }
results = { { type = "item", name = "uranium-ore", amount = 1 } },
auto_recycle = not settings.startup["alien-module-ore-recycle-to-alien"].value
}
})

Expand All @@ -71,7 +75,8 @@ if (settings.startup["alien-module-ore-conversion"].value) then
enabled = true,
energy_required = 10,
ingredients = { { type = "item", name = "artifact-ore", amount = 1 } },
results = { { type = "item", name = "coal", amount = 5 } }
results = { { type = "item", name = "coal", amount = 5 } },
auto_recycle = not settings.startup["alien-module-ore-recycle-to-alien"].value
}
})
end
Expand Down
9 changes: 8 additions & 1 deletion alien-module/settings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,16 @@ data:extend({
},
{
type = "bool-setting",
name = "alien-module-hyper-ammo-enabled",
name = "alien-module-ore-recycle-to-alien",
order = "aa",
setting_type = "startup",
default_value = false
},
{
type = "bool-setting",
name = "alien-module-hyper-ammo-enabled",
order = "ab",
setting_type = "startup",
default_value = true
},
{
Expand Down