Can someone point me to how I can increase the cost of Planetary Defenses improvements from 300 hammers to x2 that amount?
Thanks!
Code: Select all
--]]
local function init_planet_specs(design,specs)
  local size, defenses in design.planet_info!
  local s =  size_to_s[size] 
  insert(specs,
    hull=defenses*s*5,
    upkeep=defenses*3,
    crew=defenses*1000,
    speed_class=0,
    -- these are never used, but, whatever.
    hammer_cost = defenses*100,
    metal_cost = 0,
    max_munitions=max_double,
    munitions=max_double,
    power=max_double,
    ..s,
  )
end