Skip to content

Commit 1b1e5d6

Browse files
committed
version 0.1.7: update to factorio 0.15; small buff
1 parent 607323d commit 1b1e5d6

File tree

8 files changed

+59
-57
lines changed

8 files changed

+59
-57
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ GNU GPLv3
1414

1515
# Changelog
1616

17+
## 0.1.7
18+
- Update to Factorio 0.15
19+
- Small buff
20+
- Fixed locales
21+
1722
## 0.1.6
1823
- Update to Factorio 0.14
1924
- Remove redundant graphics

info.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"name": "DoubleFurnace",
3-
"version": "0.1.6",
3+
"version": "0.1.7",
44
"title": "Double Furnace",
55
"author": "raid",
66
"contact": "[email protected]",
77
"homepage": "https://mods.factorio.com/mods/raid/DoubleFurnace",
8-
"factorio_version": "0.14",
9-
"dependencies": ["base >= 0.14.0"],
10-
"description": "Mod that adds a Double Furnace to Factorio. A double furnace smelts iron ore directly to steel plates."
8+
"factorio_version": "0.15",
9+
"dependencies": ["base >= 0.15.0"],
10+
"description": "Add a Double Furnace, which smelts iron ore directly to steel."
1111
}
1212

locale/de/double-furnace.cfg

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[entity-name]
2-
double-furnace = Doppelter Lichtbogenofen
2+
double-furnace=Doppelter Lichtbogenofen
33

44
[item-description]
5-
double-furnace = Verbrennt Dinge doppelt. Kann Eisenerz direkt zu Stahl schmelzen.
5+
double-furnace=Verbrennt Dinge doppelt. Kann Eisenerz direkt zu Stahl schmelzen.
66

77
[technology-name]
8-
double-smelting-tech = Doppeltes Schmelzen
8+
double-smelting-tech=Doppeltes Schmelzen
99

1010
[technology-description]
11-
double-smelting-tech = Erforsche den doppelten Lichtbogenofen, dieser kann Eisenerz direkt zu Stahl schmelzen.
11+
double-smelting-tech=Erforsche den doppelten Lichtbogenofen, dieser kann Eisenerz direkt zu Stahl schmelzen.

locale/en/double-furnace.cfg

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[entity-name]
2-
double-furnace = Double furnace
2+
double-furnace=Double furnace
33

44
[item-description]
5-
double-furnace = Burns things twice. Can smelt iron ore directly to steel.
5+
double-furnace=Burns things twice. Can smelt iron ore directly to steel.
66

77
[technology-name]
8-
double-smelting-tech = Double smelting
8+
double-smelting-tech=Double smelting
99

1010
[technology-description]
11-
double-smelting-tech = Unlock the double furnace, which can smelt iron ore to steel directly.
11+
double-smelting-tech=Unlock the double furnace, which can smelt iron ore to steel directly.

prototypes/entity.lua

Lines changed: 16 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,15 @@ data:extend({
1010
corpse = "big-remnants",
1111
dying_explosion = "medium-explosion",
1212
light = {intensity = 1, size = 10},
13-
resistances =
14-
{
13+
resistances = {
1514
{
1615
type = "fire",
1716
percent = 80
1817
}
1918
},
2019
collision_box = {{-1.2, -1.2}, {1.2, 1.2}},
2120
selection_box = {{-1.5, -1.5}, {1.5, 1.5}},
22-
module_specification =
23-
{
21+
module_specification = {
2422
module_slots = 2,
2523
module_info_icon_shift = {0, 0.8}
2624
},
@@ -30,36 +28,30 @@ data:extend({
3028
crafting_speed = 2,
3129
energy_usage = "300kW", -- electric furnace = 180kW
3230
source_inventory_size = 1,
33-
energy_source =
34-
{
31+
energy_source = {
3532
type = "electric",
3633
usage_priority = "secondary-input",
3734
emissions = 0.012 -- electric = 0.005
3835
},
3936
vehicle_impact_sound = { filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65 },
40-
working_sound =
41-
{
42-
sound =
43-
{
37+
working_sound = {
38+
sound = {
4439
filename = "__base__/sound/electric-furnace.ogg",
4540
volume = 0.7
4641
},
4742
apparent_volume = 1.5
4843
},
49-
animation =
50-
{
44+
animation = {
5145
filename = "__DoubleFurnace__/graphics/entity/double-furnace/double-furnace-base.png",
5246
priority = "high",
5347
width = 129,
5448
height = 100,
5549
frame_count = 1,
5650
shift = {0.421875, 0}
5751
},
58-
working_visualisations =
59-
{
52+
working_visualisations = {
6053
{
61-
animation =
62-
{
54+
animation = {
6355
filename = "__DoubleFurnace__/graphics/entity/double-furnace/double-furnace-heater.png",
6456
priority = "high",
6557
width = 25,
@@ -68,11 +60,14 @@ data:extend({
6860
animation_speed = 0.5,
6961
shift = {0.015625, 0.890625}
7062
},
71-
light = {intensity = 0.4, size = 6, shift = {0.0, 1.0}}
63+
light = {
64+
intensity = 0.4,
65+
size = 6,
66+
shift = {0.0, 1.0}
67+
}
7268
},
7369
{
74-
animation =
75-
{
70+
animation = {
7671
filename = "__base__/graphics/entity/electric-furnace/electric-furnace-propeller-1.png",
7772
priority = "high",
7873
width = 19,
@@ -83,8 +78,7 @@ data:extend({
8378
}
8479
},
8580
{
86-
animation =
87-
{
81+
animation = {
8882
filename = "__base__/graphics/entity/electric-furnace/electric-furnace-propeller-2.png",
8983
priority = "high",
9084
width = 12,
@@ -98,5 +92,5 @@ data:extend({
9892
fast_replaceable_group = "furnace"
9993
}
10094

101-
10295
})
96+

prototypes/item.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ data:extend({
1313
}
1414

1515
})
16+

prototypes/recipe.lua

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
data:extend({
22

3-
-- recipe for making a double furnace.
3+
-- Recipe for making a double furnace.
44
-- This is unlocked by researching double-smelting-tech
55
{
66
type = "recipe",
@@ -15,6 +15,7 @@ data:extend({
1515
enabled = false
1616
},
1717

18+
-- Add a new recipe category for double smelting
1819
{
1920
type = "recipe-category",
2021
name = "double-smelting"
@@ -29,9 +30,10 @@ data:extend({
2930
name = "double-iron",
3031
category = "double-smelting",
3132
enabled = true,
33+
-- "energy_required" is actually the time in seconds
3234
-- 5*ore + 1*steel = 5*3.5+17.5=35
3335
-- if working in parallel -> 35/2 = 17.5
34-
energy_required = 18,
36+
energy_required = 16,
3537
ingredients = {{"iron-ore", 5}},
3638
result = "steel-plate"
3739
}

prototypes/technology.lua

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
data:extend({
2+
23
{
3-
type = "technology",
4-
name = "double-smelting-tech",
5-
icon = "__DoubleFurnace__/graphics/technology/double-smelting-tech64.png",
6-
effects =
4+
type = "technology",
5+
name = "double-smelting-tech",
6+
icon = "__DoubleFurnace__/graphics/technology/double-smelting-tech64.png", -- 128 pixel graphic doesn't get displayed correctly in 0.15.23 :(
7+
effects = {
78
{
8-
{
9-
type = "unlock-recipe",
10-
recipe = "double-furnace"
11-
}
9+
type = "unlock-recipe",
10+
recipe = "double-furnace"
11+
}
12+
},
13+
prerequisites = {"advanced-material-processing-2"},
14+
unit = {
15+
count = 100,
16+
ingredients = {
17+
{"science-pack-1", 1},
18+
{"science-pack-2", 1},
19+
{"science-pack-3", 1},
1220
},
13-
prerequisites = {"advanced-material-processing-2"},
14-
unit =
15-
{
16-
count = 100,
17-
ingredients =
18-
{
19-
{"science-pack-1", 1},
20-
{"science-pack-2", 1},
21-
{"science-pack-3", 1},
22-
},
23-
time = 30
24-
},
25-
order = "c-c-b-a"
21+
time = 30
22+
},
23+
order = "c-c-b-a"
2624
}
25+
2726
})
27+

0 commit comments

Comments
 (0)