diff --git a/mods_2.0/047_advanced-centrifuge/changelog.txt b/mods_2.0/047_advanced-centrifuge/changelog.txt index 2532ae97..7bc33677 100644 --- a/mods_2.0/047_advanced-centrifuge/changelog.txt +++ b/mods_2.0/047_advanced-centrifuge/changelog.txt @@ -1,4 +1,9 @@ --------------------------------------------------------------------------------------------------- +Version: 2.1.1 +Date: 2024-12-17 + Changes: + - Added item sounds. +--------------------------------------------------------------------------------------------------- Version: 2.1.0 Date: 2024-12-16 Changes: diff --git a/mods_2.0/047_advanced-centrifuge/info.json b/mods_2.0/047_advanced-centrifuge/info.json index 6e741754..e48ed278 100644 --- a/mods_2.0/047_advanced-centrifuge/info.json +++ b/mods_2.0/047_advanced-centrifuge/info.json @@ -1,6 +1,6 @@ { "name": "advanced-centrifuge", - "version": "2.1.0", + "version": "2.1.1", "title": "Advanced Centrifuge", "description": "An advanced centrifuge, to fill in the gap of advanced buildings for Krastorio 2", "author": "kiratu11", diff --git a/mods_2.0/047_advanced-centrifuge/prototypes/items/buildings.lua b/mods_2.0/047_advanced-centrifuge/prototypes/items/buildings.lua index 3026d3c3..227eb29f 100644 --- a/mods_2.0/047_advanced-centrifuge/prototypes/items/buildings.lua +++ b/mods_2.0/047_advanced-centrifuge/prototypes/items/buildings.lua @@ -4,6 +4,8 @@ if mods["space-exploration"] then subgroup = "radiation" end +local item_sounds = require("__base__.prototypes.item_sounds") + data:extend({ { type = "item", @@ -11,6 +13,9 @@ data:extend({ icon = "__advanced-centrifuge__/graphics/advanced-centrifuge/advanced-centrifuge-icon.png", subgroup = subgroup, order = "g[centrifuge]-a[advanced-centrifuge]", -- Needs adjustment + inventory_move_sound = item_sounds.mechanical_inventory_move, + pick_sound = item_sounds.mechanical_inventory_pickup, + drop_sound = item_sounds.mechanical_inventory_move, place_result = "k11-advanced-centrifuge", stack_size = 10, }