Skip to content

Commit

Permalink
Remove 'smart' versions of warehouses
Browse files Browse the repository at this point in the history
  • Loading branch information
jakimfett committed Jun 29, 2016
1 parent c05d4b7 commit 23339a0
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 152 deletions.
108 changes: 30 additions & 78 deletions prototypes/entity.lua
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,21 @@ data:extend(
height = 240,
shift = {1.0, -0.3},
},
circuit_wire_max_distance = 7.5,
circuit_wire_connection_point =
{
shadow =
{
red = {2.01, 0.6},
green = {2.52, 0.6}
-- green = {4.5, 2.6}
},
wire =
{
red = {1.71, 0.3},
green = {2.22, 0.3}
}
},
},
{ -- Passive Provider Warehouse - 800 slots
type = "logistic-container",
Expand Down Expand Up @@ -197,45 +212,6 @@ data:extend(
}
},
},
{ -- Smart Warehouse - 800 slots
type = "smart-container",
name = "warehouse-smart",
icon = "__Warehousing__/graphics/icons/warehouse-smart.png",
flags = {"placeable-player", "player-creation"},
minable = {hardness = 0.2, mining_time = 0.5, result = "warehouse-smart"},
max_health = 450,
corpse = "big-remnants",
collision_box = {{-2.7, -2.7}, {2.7, 2.7}}, -- {{-2.2, -2.2}, {2.2, 2.2}},
selection_box = {{-3.0, -3.0}, {3.0, 3.0}}, -- {{-2.5, -2.5}, {2.5, 2.5}},
fast_replaceable_group = "container",
inventory_size = 800,
open_sound = { filename = "__base__/sound/metallic-chest-open.ogg", volume=0.65 },
close_sound = { filename = "__base__/sound/metallic-chest-close.ogg", volume = 0.7 },
vehicle_impact_sound = { filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65 },
picture =
{
filename = "__Warehousing__/graphics/entity/warehouse-smart-shadow.png",
priority = "high",
width = 260,
height = 240,
shift = {1.0, -0.3},
},
circuit_wire_max_distance = 7.5,
circuit_wire_connection_point =
{
shadow =
{
red = {2.01, 0.6},
green = {2.52, 0.6}
-- green = {4.5, 2.6}
},
wire =
{
red = {1.71, 0.3},
green = {2.22, 0.3}
}
},
},
{ -- Basic Storehouse - 150 slots
type = "container",
name = "storehouse-basic",
Expand Down Expand Up @@ -266,6 +242,21 @@ data:extend(
width = 129,
height = 100,
shift = {0.421875, 0},
},,
circuit_wire_max_distance = 7.5,
circuit_wire_connection_point =
{
shadow =
{
red = {2.01, 0.6},
green = {2.52, 0.6}
-- green = {4.5, 2.6}
},
wire =
{
red = {1.71, 0.3},
green = {2.22, 0.3}
}
},
},
{ -- Provider Storehouse - 150 slots
Expand Down Expand Up @@ -428,44 +419,5 @@ data:extend(
}
},
},
{ -- Smart Storehouse - 150 slots
type = "smart-container",
name = "storehouse-smart",
icon = "__Warehousing__/graphics/icons/storehouse-smart.png",
flags = {"placeable-player", "player-creation"},
minable = {hardness = 0.2, mining_time = 0.5, result = "storehouse-smart"},
max_health = 250,
corpse = "big-remnants",
collision_box = {{-1.2, -1.2}, {1.2, 1.2}},
selection_box = {{-1.5, -1.5}, {1.5, 1.5}},
fast_replaceable_group = "container",
inventory_size = 150,
open_sound = { filename = "__base__/sound/metallic-chest-open.ogg", volume=0.65 },
close_sound = { filename = "__base__/sound/metallic-chest-close.ogg", volume = 0.7 },
vehicle_impact_sound = { filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65 },
picture =
{
filename = "__Warehousing__/graphics/entity/storehouse-smart.png",
priority = "high",
width = 129,
height = 100,
shift = {0.421875, 0},
},
circuit_wire_max_distance = 7.5,
circuit_wire_connection_point =
{
shadow =
{
red = {.26, -0.6},
green = {.36, -0.6}
-- green = {2.36, 1.3}
},
wire =
{
red = {-0.16, -0.9},
green = {0.16, -0.9}
}
},
},
})

20 changes: 0 additions & 20 deletions prototypes/item.lua
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,6 @@ data:extend({
place_result = "warehouse-requester",
stack_size = 15
},
{
type = "item",
name = "warehouse-smart",
icon = "__Warehousing__/graphics/icons/warehouse-smart.png",
flags = {"goes-to-quickbar"},
subgroup = "storage",
order = "a[items]-d[smart-chest]",
place_result = "warehouse-smart",
stack_size = 15
},
{
type = "item",
name = "storehouse-basic",
Expand Down Expand Up @@ -114,14 +104,4 @@ data:extend({
place_result = "storehouse-requester",
stack_size = 15
},
{
type = "item",
name = "storehouse-smart",
icon = "__Warehousing__/graphics/icons/storehouse-smart.png",
flags = {"goes-to-quickbar"},
subgroup = "storage",
order = "a[items]-d[smart-chest]",
place_result = "storehouse-smart",
stack_size = 15
},
})
26 changes: 0 additions & 26 deletions prototypes/recipe.lua
Original file line number Diff line number Diff line change
Expand Up @@ -70,19 +70,6 @@ data:extend({
},
result = "warehouse-requester"
},
{ -- Smart Warehouse
type = "recipe",
name = "warehouse-smart",
enabled = "false",
ingredients =
{
{"warehouse-basic",1},
{"smart-chest",1},
{"iron-plate",20},
{"electronic-circuit", 5},
},
result = "warehouse-smart"
},
{ -- Basic Storehouse
type = "recipe",
name = "storehouse-basic",
Expand Down Expand Up @@ -149,17 +136,4 @@ data:extend({
},
result = "storehouse-requester"
},
{ -- Smart Storehouse
type = "recipe",
name = "storehouse-smart",
enabled = "false",
ingredients =
{
{"storehouse-basic",1},
{"smart-chest",1},
{"iron-plate",5},
{"electronic-circuit", 2},
},
result = "storehouse-smart"
},
})
28 changes: 0 additions & 28 deletions prototypes/technology.lua
Original file line number Diff line number Diff line change
Expand Up @@ -82,33 +82,5 @@ data:extend(
},
order = "c-k-a"
},
{
type = "technology",
name = "warehouse-smart-research",
icon = "__Warehousing__/graphics/research/warehouse-smart-research.png",
icon_size = 128,
effects =
{
{
type = "unlock-recipe",
recipe = "warehouse-smart",
},
{
type = "unlock-recipe",
recipe = "storehouse-smart",
},
},
prerequisites = { "circuit-network", "warehouse-research" },
unit =
{
count = 25,
ingredients = {
{ "science-pack-1", 1},
{ "science-pack-2", 1}
},
time = 15
},
order = "a-d-d"
},
})

0 comments on commit 23339a0

Please sign in to comment.