Changes

Update to new improvement format
Line 31: Line 31:  
_scrap_bauxite = false,
 
_scrap_bauxite = false,
 
_buildable = true,
 
_buildable = true,
_upgradable = {
+
_improvements = {
[0] = {
+
_fuel = 10,
_fuel = 10,
+
_ammo = 50,
_ammo = 50,
+
_steel = 80,
_steel = 80,
+
_bauxite = false,
_bauxite = 0,
+
_products = {
_development_material = 1,
+
["14cm Twin Gun Mount"] = {
_development_material_x = 2,
  −
_improvement_material = 1,
  −
_improvement_material_x = 2,
  −
_ship = {
   
[false] = {Monday = true, Tuesday = true, Wednesday = true, Thursday = true, Friday = true, Saturday = true, Sunday = true},
 
[false] = {Monday = true, Tuesday = true, Wednesday = true, Thursday = true, Friday = true, Saturday = true, Sunday = true},
 +
[0] = {
 +
_development_material = 1,
 +
_development_material_x = 2,
 +
_improvement_material = 1,
 +
_improvement_material_x = 2,
 +
_equipment = false,
 +
},
 +
[6] = {
 +
_development_material = 1,
 +
_development_material_x = 2,
 +
_improvement_material = 1,
 +
_improvement_material_x = 2,
 +
_equipment = {[true] = 1},
 +
},
 +
[10] = {
 +
_development_material = 3,
 +
_development_material_x = 4,
 +
_improvement_material = 3,
 +
_improvement_material_x = 6,
 +
_equipment = {[true] = 2},
 +
},
 
},
 
},
_equipment = false,
  −
},
  −
[6] = {
  −
_fuel = 10,
  −
_ammo = 50,
  −
_steel = 80,
  −
_bauxite = 0,
  −
_development_material = 1,
  −
_development_material_x = 2,
  −
_improvement_material = 1,
  −
_improvement_material_x = 2,
  −
_ship = {
  −
[false] = {Monday = true, Tuesday = true, Wednesday = true, Thursday = true, Friday = true, Saturday = true, Sunday = true},
  −
},
  −
_equipment = {"self"},
  −
},
  −
[10] = {
  −
_fuel = 10,
  −
_ammo = 50,
  −
_steel = 80,
  −
_bauxite = 0,
  −
_development_material = 1,
  −
_development_material_x = 2,
  −
_improvement_material = 1,
  −
_improvement_material_x = 2,
  −
_ship = {
  −
[false] = {Monday = true, Tuesday = true, Wednesday = true, Thursday = true, Friday = true, Saturday = true, Sunday = true},
  −
},
  −
_equipment = {"self", "self"},
  −
_to = "14cm Twin Gun Mount",
   
},
 
},
 
},
 
},
Anonymous user