Hi, the mod seems to work but it is not retroactive for me.
- When i create a new game it generate me in the center of the galaxy too.
- Creative mod is affected : must pay to build
I put " turret.automatic = true " at the wrong place in faction.lua file:
-- create turret generator
local dps, tech = Balancing_GetSectorWeaponDPS(450, 0)
local turret = InventoryTurret(GenerateTurretTemplate(random:createSeed(), WeaponType.ChainGun, dps, tech, Rarity(RarityType.Uncommon), Material(MaterialType.Iron)))
player:getInventory():add(turret)
player:getInventory():add(turret)
local dps, tech = Balancing_GetSectorMiningDPS(450, 0)
local turret = InventoryTurret(GenerateTurretTemplate(random:createSeed(), WeaponType.MiningLaser, dps, tech, Rarity(RarityType.Uncommon), Material(MaterialType.Iron)))
player:getInventory():add(turret)
player:getInventory():add(turret)
player:createShipStyle("TestStyle")
turret.automatic = true
end
[s]turret.automatic = true[/s]
function matchResources(player)
Apparently it solve the problem