further updates and polish

This commit is contained in:
Brevven 2025-01-29 13:31:27 -08:00
parent b7c12bef38
commit 75f57f581d
9 changed files with 67 additions and 9 deletions

View file

@ -65,7 +65,7 @@ data:extend({
{
type = "item",
name = "basic-crusher",
icon = "__space-age__/graphics/icons/crusher.png",
icons = {{icon = "__space-age__/graphics/icons/crusher.png", icon_size=64, scale=0.8, tint={.7,.7,.7}}},
subgroup = "production-machine",
order = "s[crusher]",
inventory_move_sound = item_sounds.drill_inventory_move,
@ -78,6 +78,7 @@ data:extend({
{
type = "furnace",
name = "basic-crusher",
icons = {{icon = "__space-age__/graphics/icons/crusher.png", icon_size=64, scale=0.8, tint={.7,.7,.7}}},
source_inventory_size = 1,
result_inventory_size = 1,
icon = "__space-age__/graphics/icons/crusher.png",

View file

@ -0,0 +1,35 @@
local util = require("data-util");
if mods["space-age"] then
data:extend({
{
type = "recipe",
name = "alternative-carbonic-asteroid-crushing",
icons =
{
{icon="__space-age__/graphics/icons/carbonic-asteroid-crushing.png", size=64},
{icon="__bzcarbon__/graphics/icons/flake-graphite.png", icon_size=128, scale=0.125, shift={8,0}},
{icon="__bzcarbon__/graphics/icons/rough-diamond.png", icon_size=128, scale=0.125, shift={-8,0}},
},
category = "crushing",
subgroup="space-crushing",
order = "b-a-z-b",
auto_recycle = false,
enabled = false,
ingredients =
{
{type = "item", name = "carbonic-asteroid-chunk", amount = 1}
},
energy_required = 5,
results =
{
{type = "item", name = "flake-graphite", amount = 10},
{type = "item", name = "rough-diamond", amount = 1, probability=0.5},
{type = "item", name = "carbonic-asteroid-chunk", amount = 1, probability = 0.1}
},
allow_productivity = true,
allow_decomposition = false
},
})
util.add_unlock("space-platform-thruster", "alternative-carbonic-asteroid-crushing")
end