1
0
mirror of https://github.com/Wyrrrd/Rocket_Turrets.git synced 2026-03-25 15:19:49 +01:00

Added dynamic tips&tricks page

Also:
- removed redundant wikimod integrations
- maintenance
This commit is contained in:
Wyrrrd
2022-08-10 15:40:34 +02:00
parent 323f0272d2
commit 458dfd619e
25 changed files with 122 additions and 287 deletions

View File

@@ -16,10 +16,43 @@ if mods["bobwarfare"] then
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"].icon = "__Rocket_Turrets__/graphics/icon/turret-rocket-mk1-icon.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"
-- if bobwarfare enabled, change tips&tricks page
data.raw["tips-and-tricks-item"]["rocketturrets"].image = "__Rocket_Turrets__/graphics/tips_modded.png"
data.raw["tips-and-tricks-item"]["rocketturrets"].name = "rocketturrets_modded"
data.raw["tips-and-tricks-item"]["rocketturrets"].trigger = {
type = "or",
triggers = {
{
type = "build-entity",
entity = "rocket-turret"
},
{
type = "build-entity",
entity = "rocket-turret-mk2"
},
{
type = "build-entity",
entity = "rocket-turret-mk3"
},
{
type = "build-entity",
entity = "rocket-turret-mk4"
},
{
type = "build-entity",
entity = "rocket-turret-mk5"
}
}
}
data.raw["tips-and-tricks-item"]["rocketturrets_modded"] = data.raw["tips-and-tricks-item"]["rocketturrets"]
data.raw["tips-and-tricks-item"]["rocketturrets"] = nil
-- if bobwarfare enabled, load tiered turrets
data:extend({