Skip to content

Commit

Permalink
Format Code
Browse files Browse the repository at this point in the history
  • Loading branch information
KiwiHawk committed Nov 26, 2024
1 parent c0ebbae commit 751af73
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 38 deletions.
51 changes: 25 additions & 26 deletions bobelectronics/prototypes/electronics.lua
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
local electronic_part_drop_move = {
filename = "__base__/sound/item/wire-inventory-move.ogg",
volume = 0.8
volume = 0.8,
}
local electronic_part_pick = {
filename = "__base__/sound/item/wire-inventory-pickup.ogg",
volume = 0.6
volume = 0.6,
}

local electronic_board_drop_move = {
filename = "__base__/sound/item/electric-small-inventory-move.ogg",
volume = 1
volume = 1,
}
local electronic_board_pick = {
filename = "__base__/sound/item/electric-small-inventory-pickup.ogg",
volume = 0.7
volume = 0.7,
}

if data.raw.item["tin-plate"] then

data:extend({
{
type = "item",
Expand Down Expand Up @@ -272,15 +271,15 @@ data:extend({
stack_size = 200,
drop_sound = {
filename = "__base__/sound/item/wood-inventory-move.ogg",
volume = 0.7
volume = 0.7,
},
inventory_move_sound = {
filename = "__base__/sound/item/wood-inventory-move.ogg",
volume = 0.7
volume = 0.7,
},
pick_sound = {
filename = "__base__/sound/item/wood-inventory-pickup.ogg",
volume = 0.8
volume = 0.8,
},
},

Expand All @@ -307,15 +306,15 @@ data:extend({
stack_size = 200,
drop_sound = {
filename = "__base__/sound/item/solid-fuel-inventory-move.ogg",
volume = 0.7
volume = 0.7,
},
inventory_move_sound = {
filename = "__base__/sound/item/solid-fuel-inventory-move.ogg",
volume = 0.7
volume = 0.7,
},
pick_sound = {
filename = "__base__/sound/item/solid-fuel-inventory-pickup.ogg",
volume = 0.7
volume = 0.7,
},
},

Expand Down Expand Up @@ -344,15 +343,15 @@ data:extend({
stack_size = 200,
drop_sound = {
filename = "__base__/sound/item/solid-fuel-inventory-move.ogg",
volume = 0.7
volume = 0.7,
},
inventory_move_sound = {
filename = "__base__/sound/item/solid-fuel-inventory-move.ogg",
volume = 0.7
volume = 0.7,
},
pick_sound = {
filename = "__base__/sound/item/solid-fuel-inventory-pickup.ogg",
volume = 0.7
volume = 0.7,
},
},

Expand Down Expand Up @@ -380,15 +379,15 @@ data:extend({
stack_size = 200,
drop_sound = {
filename = "__base__/sound/item/wood-inventory-move.ogg",
volume = 0.7
volume = 0.7,
},
inventory_move_sound = {
filename = "__base__/sound/item/wood-inventory-move.ogg",
volume = 0.7
volume = 0.7,
},
pick_sound = {
filename = "__base__/sound/item/wood-inventory-pickup.ogg",
volume = 0.8
volume = 0.8,
},
},

Expand Down Expand Up @@ -419,15 +418,15 @@ data:extend({
stack_size = 200,
drop_sound = {
filename = "__base__/sound/item/planner-inventory-move.ogg",
volume = 0.7
volume = 0.7,
},
inventory_move_sound = {
filename = "__base__/sound/item/planner-inventory-move.ogg",
volume = 0.7
volume = 0.7,
},
pick_sound = {
filename = "__base__/sound/item/planner-inventory-pickup.ogg",
volume = 0.7
volume = 0.7,
},
},

Expand Down Expand Up @@ -459,15 +458,15 @@ data:extend({
stack_size = 200,
drop_sound = {
filename = "__base__/sound/item/planner-inventory-move.ogg",
volume = 0.7
volume = 0.7,
},
inventory_move_sound = {
filename = "__base__/sound/item/planner-inventory-move.ogg",
volume = 0.7
volume = 0.7,
},
pick_sound = {
filename = "__base__/sound/item/planner-inventory-pickup.ogg",
volume = 0.7
volume = 0.7,
},
},

Expand Down Expand Up @@ -499,15 +498,15 @@ data:extend({
stack_size = 200,
drop_sound = {
filename = "__base__/sound/item/planner-inventory-move.ogg",
volume = 0.7
volume = 0.7,
},
inventory_move_sound = {
filename = "__base__/sound/item/planner-inventory-move.ogg",
volume = 0.7
volume = 0.7,
},
pick_sound = {
filename = "__base__/sound/item/planner-inventory-pickup.ogg",
volume = 0.7
volume = 0.7,
},
},

Expand Down
24 changes: 12 additions & 12 deletions bobelectronics/prototypes/resource.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ data:extend({
stack_size = 100,
drop_sound = {
filename = "__base__/sound/item/solid-fuel-inventory-move.ogg",
volume = 0.7
volume = 0.7,
},
inventory_move_sound = {
filename = "__base__/sound/item/solid-fuel-inventory-move.ogg",
volume = 0.7
volume = 0.7,
},
pick_sound = {
filename = "__base__/sound/item/solid-fuel-inventory-pickup.ogg",
volume = 0.7
volume = 0.7,
},
},

Expand Down Expand Up @@ -70,15 +70,15 @@ data:extend({
stack_size = 100,
drop_sound = {
filename = "__base__/sound/item/solid-fuel-inventory-move.ogg",
volume = 0.7
volume = 0.7,
},
inventory_move_sound = {
filename = "__base__/sound/item/solid-fuel-inventory-move.ogg",
volume = 0.7
volume = 0.7,
},
pick_sound = {
filename = "__base__/sound/item/solid-fuel-inventory-pickup.ogg",
volume = 0.7
volume = 0.7,
},
},

Expand Down Expand Up @@ -137,15 +137,15 @@ if not data.raw.item["silicon-wafer"] then
stack_size = 500,
drop_sound = {
filename = "__base__/sound/item/planner-inventory-move.ogg",
volume = 0.5
volume = 0.5,
},
inventory_move_sound = {
filename = "__base__/sound/item/planner-inventory-move.ogg",
volume = 0.5
volume = 0.5,
},
pick_sound = {
filename = "__base__/sound/item/planner-inventory-pickup.ogg",
volume = 0.5
volume = 0.5,
},
},

Expand Down Expand Up @@ -181,15 +181,15 @@ if data.raw.item["tin-plate"] then
stack_size = 200,
drop_sound = {
filename = "__base__/sound/item/transport-belt-inventory-move.ogg",
volume = 0.5
volume = 0.5,
},
inventory_move_sound = {
filename = "__base__/sound/item/transport-belt-inventory-move.ogg",
volume = 0.5
volume = 0.5,
},
pick_sound = {
filename = "__base__/sound/item/wood-inventory-pickup.ogg",
volume = 0.6
volume = 0.6,
},
},

Expand Down

0 comments on commit 751af73

Please sign in to comment.