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:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user