Back to List
Maintained by SmokeDragon
Last updated 44 days ago
Created 5 months ago
download JSON metadata of what_i_paid_for
what i paid for
PLAY THIS MOD
Maintained by SmokeDragon
Last updated 44 days ago
Created 5 months ago
download JSON metadata of what_i_paid_for
[Spoiler]
[q] for name, ud in pairs(UnitDefs) do local valuemetalcost = ud.metalcost * 0.1 if ud.health and valuemetalcost then ud.health = ud.health + (valuemetalcost * 1000) end if ud.speed and valuemetalcost then ud.speed = ud.speed + (valuemetalcost * 0.1) end if ud.sightdistance and valuemetalcost then ud.sightdistance = ud.sightdistance + (valuemetalcost * 10) end if ud.customparams and ud.customparams.jump_range and valuemetalcost then ud.customparams.jump_range = ud.customparams.jump_range + valuemetalcost end if ud.weapondefs then for _, wd in pairs(ud.weapondefs) do if wd.areaofeffect and valuemetalcost then wd.areaofeffect = wd.areaofeffect + (valuemetalcost * 0.1) end if wd.weapontype == "Cannon" then if wd.weaponvelocity and valuemetalcost then wd.weaponvelocity = wd.weaponvelocity + (valuemetalcost * 10) end end if wd.range and valuemetalcost then wd.range = wd.range + (valuemetalcost * 10) end if wd.shieldpower and valuemetalcost then wd.shieldpower = wd.shieldpower + valuemetalcost end if wd.flighttime and valuemetalcost then wd.flighttime = wd.flighttime + (valuemetalcost * 10) end if wd.reloadtime and valuemetalcost then if wd.reloadtime > (valuemetalcost * 0.005) then wd.reloadtime = wd.reloadtime - (valuemetalcost * 0.005) else wd.reloadtime = 0.001 end end if wd.damage and valuemetalcost and wd.damage.default then wd.damage.default = wd.damage.default + (valuemetalcost * 10) end end end end[/q]
Zero-K is a free real time strategy (RTS), that aims to be the
best open source multi-platform strategy game available :-)