1
0
mirror of https://github.com/Wyrrrd/Rocket_Turrets.git synced 2026-04-20 02:31:23 +02:00

Various fixes

- Fixed some things still referring to rocket-turret-mk1
- Fixed recipe order
- Improved readability
This commit is contained in:
Wyrrrd
2020-03-16 00:13:12 +01:00
parent 0c0de13bd0
commit 2ba82873b9
8 changed files with 23 additions and 10 deletions
-1
View File
@@ -8,7 +8,6 @@ This mod adds a rocket turret to make rockets great again™. Sadly you would on
This mod should just work, but I specifically added compatibility for the following mods:
+ [Bob's Metals, Chemicals and Intermediates](https://mods.factorio.com/mod/bobplates) - more turrets (MK1-MK5)
+ [Informatron](https://mods.factorio.com/mod/informatron) - informational page to explain dangers
### Locale
If you want to contribute by translating this mod, you can view the existing translations [here](https://github.com/Wyrrrd/Rocket_Turrets/tree/master/locale). I'd be happy to add your language and credits to the next release.
+1 -4
View File
@@ -1,6 +1,6 @@
---------------------------------------------------------------------------------------------------
Version: 0.18.3
Date: 2020-03-11
Date: 2020-03-16
Changes:
- Moved integrations into separate directory
- Simplified check for bobplates
@@ -10,10 +10,8 @@ Version: 0.18.2
Date: 2020-02-25
Changes:
- Matched changelog file format to what Factorio expects
Graphics:
- Added HR textures for vanilla rocket turret entity (now also in lame gray)
Locale:
- Added translated mod description
---------------------------------------------------------------------------------------------------
@@ -30,7 +28,6 @@ Date: 2020-02-18
- Added changelog file
- Renamed mod for upload in mod portal
- Matched versioning to Factorio versions
Locale:
- Added german locale
---------------------------------------------------------------------------------------------------
+9 -2
View File
@@ -8,12 +8,15 @@ if mods["bobplates"] then
data.raw["ammo-turret"]["rocket-turret"].folded_animation.layers[1].filename = "__Rocket_Turrets__/graphics/entity/rocket-mk1-sheet.png"
data.raw["ammo-turret"]["rocket-turret"].folded_animation.layers[1].hr_version["filename"] = "__Rocket_Turrets__/graphics/entity/hr-rocket-mk1-sheet.png"
data.raw["ammo-turret"]["rocket-turret"].folding_animation.layers[1].filename = "__Rocket_Turrets__/graphics/entity/rocket-mk1-sheet.png"
data.raw["ammo-turret"]["rocket-turret"].folding_animation.layers[1].hr_version["filename"] = "__Rocket_Turrets__/graphics/entity/hr-rocket-mk1-sheet.png"
data.raw["ammo-turret"]["rocket-turret"].prepared_animation.layers[1].filename = "__Rocket_Turrets__/graphics/entity/rocket-mk1-sheet.png"
data.raw["ammo-turret"]["rocket-turret"].prepared_animation.layers[1].hr_version["filename"] = "__Rocket_Turrets__/graphics/entity/hr-rocket-mk1-sheet.png"
data.raw["ammo-turret"]["rocket-turret"].preparing_animation.layers[1].filename = "__Rocket_Turrets__/graphics/entity/rocket-mk1-sheet.png"
data.raw["ammo-turret"]["rocket-turret"].preparing_animation.layers[1].hr_version["filename"] = "__Rocket_Turrets__/graphics/entity/hr-rocket-mk1-sheet.png"
data.raw["ammo-turret"]["rocket-turret"].attacking_animation.layers[1].filename = "__Rocket_Turrets__/graphics/entity/rocket-mk1-sheet.png"
data.raw["ammo-turret"]["rocket-turret"].attacking_animation.layers[1].hr_version["filename"] = "__Rocket_Turrets__/graphics/entity/hr-rocket-mk1-sheet.png"
data.raw["ammo-turret"]["rocket-turret"].folding_animation.layers[1].filename = "__Rocket_Turrets__/graphics/entity/rocket-mk1-sheet.png"
data.raw["ammo-turret"]["rocket-turret"].folding_animation.layers[1].hr_version["filename"] = "__Rocket_Turrets__/graphics/entity/hr-rocket-mk1-sheet.png"
data.raw["ammo-turret"]["rocket-turret"].fast_replaceable_group = "turret"
data.raw["item"]["rocket-turret"].icon = "__Rocket_Turrets__/graphics/icon/turret-rocket-mk1-icon.png"
data.raw["technology"]["rocket-turret"].icon = "__Rocket_Turrets__/graphics/technology/rocket-turret-mk1.png"
@@ -24,16 +27,20 @@ if mods["bobplates"] then
rocket_mk2_item,
rocket_mk2_recipe,
rocket_mk2_tech,
rocket_mk3_entity,
rocket_mk3_item,
rocket_mk3_recipe,
rocket_mk3_tech,
rocket_mk4_entity,
rocket_mk4_item,
rocket_mk4_recipe,
rocket_mk4_tech,
rocket_mk5_entity,
rocket_mk5_item,
-- recipe below
rocket_mk5_tech
})
@@ -173,6 +173,7 @@ rocket_mk2_entity = {
folding_animation = rocket_mk2_sheet{direction_count = 4, line_length = 1, run_mode = "backward"},
vehicle_impact_sound = { filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65 },
fast_replaceable_group = "turret",
attack_parameters =
{
@@ -233,6 +234,7 @@ rocket_mk3_entity = {
folding_animation = rocket_mk3_sheet{direction_count = 4, line_length = 1, run_mode = "backward"},
vehicle_impact_sound = { filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65 },
fast_replaceable_group = "turret",
attack_parameters =
{
@@ -293,6 +295,7 @@ rocket_mk4_entity = {
folding_animation = rocket_mk4_sheet{direction_count = 4, line_length = 1, run_mode = "backward"},
vehicle_impact_sound = { filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65 },
fast_replaceable_group = "turret",
attack_parameters =
{
@@ -353,6 +356,7 @@ rocket_mk5_entity = {
folding_animation = rocket_mk5_sheet{direction_count = 4, line_length = 1, run_mode = "backward"},
vehicle_impact_sound = { filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65 },
fast_replaceable_group = "turret",
attack_parameters =
{
+6 -1
View File
@@ -7,13 +7,14 @@ rocket_mk2_recipe = {
energy_required = 10,
ingredients =
{
{"rocket-turret-mk1", 1},
{"rocket-turret", 1},
{"steel-gear-wheel", 10},
{"steel-plate", 20},
{"battery", 5},
{"electronic-circuit", 5},
},
result = "rocket-turret-mk2",
order = "c-a"
}
rocket_mk3_recipe = {
@@ -29,6 +30,7 @@ rocket_mk3_recipe = {
{"advanced-circuit", 20},
},
result = "rocket-turret-mk3",
order = "c-a"
}
rocket_mk4_recipe = {
@@ -44,6 +46,7 @@ rocket_mk4_recipe = {
{"processing-unit", 20},
},
result = "rocket-turret-mk4",
order = "c-a"
}
rocket_mk5_recipe1 = {
@@ -59,6 +62,7 @@ rocket_mk5_recipe1 = {
{"processing-unit", 20},
},
result = "rocket-turret-mk5",
order = "c-a"
}
rocket_mk5_recipe2 = {
@@ -74,4 +78,5 @@ rocket_mk5_recipe2 = {
{"advanced-processing-unit", 20},
},
result = "rocket-turret-mk5",
order = "c-a"
}
@@ -12,7 +12,7 @@ rocket_mk2_tech = {
},
prerequisites =
{
"rocket-turret-mk1",
"rocket-turret",
},
unit =
{
+1 -1
View File
@@ -44,7 +44,7 @@ rocket_entity = {
icon = "__Rocket_Turrets__/graphics/icon/turret-rocket-icon.png",
icon_size = 32,
flags = {"placeable-player", "player-creation"},
minable = {mining_time = 0.7, result = "rocket-turret-mk1"},
minable = {mining_time = 0.7, result = "rocket-turret"},
max_health = 400,
corpse = "small-remnants",
collision_box = {{-0.7, -0.7 }, {0.7, 0.7}},
+1
View File
@@ -13,4 +13,5 @@ rocket_recipe = {
{"advanced-circuit", 15},
},
result = "rocket-turret",
order = "c-a"
}