Permalink
Browse files

Fix missing character in mossberg description

Reduce metal to hitpoint ratio for buildings
Remove supply requirements for lobsters and nukes
Remove restrictions on base shields
  • Loading branch information...
ForbodingAngel committed Nov 14, 2017
1 parent 0efb5d5 commit 01062c6ea8ec2ea261cdb55e5e87a54bfd904153
@@ -241,13 +241,13 @@ function ModOptions_Post (UnitDefs, WeaponDefs)
-- Set building Hitpoints
if unitDef.customparams then
if unitDef.customparams.unittype == "building" then
unitDef.maxdamage = unitDef.buildcostmetal * 12.5
unitDef.maxdamage = unitDef.buildcostmetal * 5
end
if unitDef.customparams.unittype == "turret" then
unitDef.maxdamage = unitDef.buildcostmetal * 12.5
unitDef.maxdamage = unitDef.buildcostmetal * 5
end
if unitDef.customparams.unittype == "shield" then
unitDef.maxdamage = unitDef.buildcostmetal * 12.5
unitDef.maxdamage = unitDef.buildcostmetal * 5
end
end
end
@@ -28,7 +28,7 @@ unitDef = {
-- End Cloaking
description = [[EMP/Riot Tank Uses +]] .. supply .. [[ Supply]],
description = [[EMP/Riot Tank Uses +]] .. supply .. [[ Supply]],
energyMake = 0,
energyStorage = 0,
energyUse = 0,
@@ -6,7 +6,7 @@ local unitName = "eartyturret"
--------------------------------------------------------------------------------
local armortype = [[building]]
local supply = [[15]]
--local supply = [[15]]
local techrequired = [[tech3]]
local weapon1Damage = 1000
@@ -80,7 +80,7 @@ local unitDef = {
customParams = {
RequireTech = techrequired,
unittype = "turret",
supply_cost = supply,
--supply_cost = supply,
needed_cover = 1,
death_sounds = "generic",
armortype = armortype,
@@ -7,8 +7,8 @@ local unitName = "eshieldgen"
local armortype = [[building]]
--local supply = [[20]]
local techprovided = [[-baseshield]]
local techrequired = [[tech2, 1 baseshield]]
--local techprovided = [[-baseshield]]
local techrequired = [[tech2]]
local weapon1Damage = 2001
local weapon1AOE = 1
@@ -94,7 +94,7 @@ local unitDef = {
},
},
customParams = {
ProvideTech = techprovided,
--ProvideTech = techprovided,
RequireTech = techrequired,
unittype = "shield",
--supply_cost = supply,
@@ -7,8 +7,8 @@ local unitName = "esilo"
local armortype = [[building]]
--local supply = [[50]]
local techprovided = [[-nukesilo]]
local techrequired = [[tech3, 1 nukesilo]]
--local techprovided = [[-nukesilo]]
local techrequired = [[tech3]]
local weapon1Damage = 3000
local weapon1AOE = 1500
@@ -93,7 +93,7 @@ local unitDef = {
},
},
customParams = {
ProvideTech = techprovided,
--ProvideTech = techprovided,
RequireTech = techrequired,
unittype = "turret",
needed_cover = 8,
@@ -7,7 +7,7 @@ local unitName = "etech3"
local armortype = [[building]]
local energyproduced = [[0]]
local techprovided = [[tech0, tech1, tech2, tech3, 1 baseshield, 1 nukesilo]]
local techprovided = [[tech0, tech1, tech2, tech3]]
local tech = [[tech1, tech2]]
--local supplygranted = [[25]]

0 comments on commit 01062c6

Please sign in to comment.