This commit is contained in:
Brevven 2025-04-07 20:10:30 -07:00
parent bce801f48b
commit 7f46bdeb25
10 changed files with 83 additions and 63 deletions

View file

@ -1,4 +1,5 @@
local util = require("data-util");
local item_sounds = require('__base__.prototypes.item_sounds')
local graphite_category = "crafting"
if mods["space-exploration"] then
@ -26,6 +27,9 @@ data:extend({
{filename="__bzcarbon__/graphics/icons/graphite-1.png", size=128, scale=0.25},
{filename="__bzcarbon__/graphics/icons/graphite-2.png", size=128, scale=0.25},
},
inventory_move_sound = item_sounds.sulfur_inventory_move,
pick_sound = item_sounds.resource_inventory_pickup,
drop_sound = item_sounds.sulfur_inventory_move,
subgroup = "raw-material",
order = "g[graphite]",
weight = 1*kg,
@ -171,6 +175,9 @@ data:extend({
type = "item",
name = "diamond",
icon = "__bzcarbon__/graphics/icons/diamond.png",
inventory_move_sound = item_sounds.brick_inventory_move,
pick_sound = item_sounds.brick_inventory_pickup,
drop_sound = item_sounds.brick_inventory_move,
icon_size = 128,
subgroup = "raw-material",
order = "g[diamond]",
@ -277,6 +284,9 @@ data:extend({
name = "graphene",
icon = "__bzcarbon__/graphics/icons/graphene.png",
icon_size = 128,
inventory_move_sound = item_sounds.plastic_inventory_move,
pick_sound = item_sounds.plastic_inventory_pickup,
drop_sound = item_sounds.plastic_inventory_move,
subgroup = "intermediate-product",
order = "g[graphite]",
weight = 2*kg,
@ -353,6 +363,9 @@ data:extend({
name = "fullerenes",
icon = "__bzcarbon__/graphics/icons/Fullerene.png",
icon_size = 128,
inventory_move_sound = item_sounds.plastic_inventory_move,
pick_sound = item_sounds.plastic_inventory_pickup,
drop_sound = item_sounds.plastic_inventory_move,
subgroup = "intermediate-product",
order = "g[graphite-fullerenes]",
weight = 2*kg,
@ -407,6 +420,9 @@ data:extend({
name = "nanotubes",
icon = "__bzcarbon__/graphics/icons/nanotube.png",
icon_size = 128,
inventory_move_sound = item_sounds.plastic_inventory_move,
pick_sound = item_sounds.plastic_inventory_pickup,
drop_sound = item_sounds.plastic_inventory_move,
subgroup = "intermediate-product",
order = "g[graphite-nanotubes]",
weight = 2*kg,
@ -483,7 +499,10 @@ data:extend({
type = "item",
name = "carbon-black",
icon = "__bzcarbon__/graphics/icons/carbon-black.png",
icon_size = 64, icon_mipmaps = 3,
icon_size = 64,
inventory_move_sound = item_sounds.sulfur_inventory_move,
pick_sound = item_sounds.resource_inventory_pickup,
drop_sound = item_sounds.sulfur_inventory_move,
subgroup = "intermediate-product",
order = "g[graphite-carbon-black]",
weight = 1*kg,
@ -532,6 +551,9 @@ data:extend({
type = "item",
name = "crucible",
icon = "__bzcarbon__/graphics/icons/crucible.png", icon_size = 128,
inventory_move_sound = item_sounds.brick_inventory_move,
pick_sound = item_sounds.brick_inventory_pickup,
drop_sound = item_sounds.brick_inventory_move,
subgroup = "intermediate-product",
order = "g[crucible]",
weight = 4*kg,