1
0
mirror of https://github.com/Wyrrrd/Rocket_Turrets.git synced 2026-06-11 18:18:30 +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: 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) + [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 ### 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. 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 Version: 0.18.3
Date: 2020-03-11 Date: 2020-03-16
Changes: Changes:
- Moved integrations into separate directory - Moved integrations into separate directory
- Simplified check for bobplates - Simplified check for bobplates
@@ -10,10 +10,8 @@ Version: 0.18.2
Date: 2020-02-25 Date: 2020-02-25
Changes: Changes:
- Matched changelog file format to what Factorio expects - Matched changelog file format to what Factorio expects
Graphics: Graphics:
- Added HR textures for vanilla rocket turret entity (now also in lame gray) - Added HR textures for vanilla rocket turret entity (now also in lame gray)
Locale: Locale:
- Added translated mod description - Added translated mod description
--------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------
@@ -30,7 +28,6 @@ Date: 2020-02-18
- Added changelog file - Added changelog file
- Renamed mod for upload in mod portal - Renamed mod for upload in mod portal
- Matched versioning to Factorio versions - Matched versioning to Factorio versions
Locale: Locale:
- Added german 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].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"].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].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"].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].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"].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"].fast_replaceable_group = "turret"
data.raw["ammo-turret"]["rocket-turret"].folding_animation.layers[1].hr_version["filename"] = "__Rocket_Turrets__/graphics/entity/hr-rocket-mk1-sheet.png"
data.raw["item"]["rocket-turret"].icon = "__Rocket_Turrets__/graphics/icon/turret-rocket-mk1-icon.png" 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" 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_item,
rocket_mk2_recipe, rocket_mk2_recipe,
rocket_mk2_tech, rocket_mk2_tech,
rocket_mk3_entity, rocket_mk3_entity,
rocket_mk3_item, rocket_mk3_item,
rocket_mk3_recipe, rocket_mk3_recipe,
rocket_mk3_tech, rocket_mk3_tech,
rocket_mk4_entity, rocket_mk4_entity,
rocket_mk4_item, rocket_mk4_item,
rocket_mk4_recipe, rocket_mk4_recipe,
rocket_mk4_tech, rocket_mk4_tech,
rocket_mk5_entity, rocket_mk5_entity,
rocket_mk5_item, rocket_mk5_item,
-- recipe below
rocket_mk5_tech rocket_mk5_tech
}) })
@@ -173,6 +173,7 @@ rocket_mk2_entity = {
folding_animation = rocket_mk2_sheet{direction_count = 4, line_length = 1, run_mode = "backward"}, 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 }, vehicle_impact_sound = { filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65 },
fast_replaceable_group = "turret",
attack_parameters = attack_parameters =
{ {
@@ -233,6 +234,7 @@ rocket_mk3_entity = {
folding_animation = rocket_mk3_sheet{direction_count = 4, line_length = 1, run_mode = "backward"}, 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 }, vehicle_impact_sound = { filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65 },
fast_replaceable_group = "turret",
attack_parameters = attack_parameters =
{ {
@@ -293,6 +295,7 @@ rocket_mk4_entity = {
folding_animation = rocket_mk4_sheet{direction_count = 4, line_length = 1, run_mode = "backward"}, 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 }, vehicle_impact_sound = { filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65 },
fast_replaceable_group = "turret",
attack_parameters = attack_parameters =
{ {
@@ -353,6 +356,7 @@ rocket_mk5_entity = {
folding_animation = rocket_mk5_sheet{direction_count = 4, line_length = 1, run_mode = "backward"}, 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 }, vehicle_impact_sound = { filename = "__base__/sound/car-metal-impact.ogg", volume = 0.65 },
fast_replaceable_group = "turret",
attack_parameters = attack_parameters =
{ {
+6 -1
View File
@@ -7,13 +7,14 @@ rocket_mk2_recipe = {
energy_required = 10, energy_required = 10,
ingredients = ingredients =
{ {
{"rocket-turret-mk1", 1}, {"rocket-turret", 1},
{"steel-gear-wheel", 10}, {"steel-gear-wheel", 10},
{"steel-plate", 20}, {"steel-plate", 20},
{"battery", 5}, {"battery", 5},
{"electronic-circuit", 5}, {"electronic-circuit", 5},
}, },
result = "rocket-turret-mk2", result = "rocket-turret-mk2",
order = "c-a"
} }
rocket_mk3_recipe = { rocket_mk3_recipe = {
@@ -29,6 +30,7 @@ rocket_mk3_recipe = {
{"advanced-circuit", 20}, {"advanced-circuit", 20},
}, },
result = "rocket-turret-mk3", result = "rocket-turret-mk3",
order = "c-a"
} }
rocket_mk4_recipe = { rocket_mk4_recipe = {
@@ -44,6 +46,7 @@ rocket_mk4_recipe = {
{"processing-unit", 20}, {"processing-unit", 20},
}, },
result = "rocket-turret-mk4", result = "rocket-turret-mk4",
order = "c-a"
} }
rocket_mk5_recipe1 = { rocket_mk5_recipe1 = {
@@ -59,6 +62,7 @@ rocket_mk5_recipe1 = {
{"processing-unit", 20}, {"processing-unit", 20},
}, },
result = "rocket-turret-mk5", result = "rocket-turret-mk5",
order = "c-a"
} }
rocket_mk5_recipe2 = { rocket_mk5_recipe2 = {
@@ -74,4 +78,5 @@ rocket_mk5_recipe2 = {
{"advanced-processing-unit", 20}, {"advanced-processing-unit", 20},
}, },
result = "rocket-turret-mk5", result = "rocket-turret-mk5",
order = "c-a"
} }
@@ -12,7 +12,7 @@ rocket_mk2_tech = {
}, },
prerequisites = prerequisites =
{ {
"rocket-turret-mk1", "rocket-turret",
}, },
unit = unit =
{ {
+1 -1
View File
@@ -44,7 +44,7 @@ rocket_entity = {
icon = "__Rocket_Turrets__/graphics/icon/turret-rocket-icon.png", icon = "__Rocket_Turrets__/graphics/icon/turret-rocket-icon.png",
icon_size = 32, icon_size = 32,
flags = {"placeable-player", "player-creation"}, 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, max_health = 400,
corpse = "small-remnants", corpse = "small-remnants",
collision_box = {{-0.7, -0.7 }, {0.7, 0.7}}, collision_box = {{-0.7, -0.7 }, {0.7, 0.7}},
+1
View File
@@ -13,4 +13,5 @@ rocket_recipe = {
{"advanced-circuit", 15}, {"advanced-circuit", 15},
}, },
result = "rocket-turret", result = "rocket-turret",
order = "c-a"
} }