Skip to content

Commit

Permalink
Basic weapons cost 50, adv 400/200
Browse files Browse the repository at this point in the history
  • Loading branch information
Arch-Shaman committed Feb 14, 2021
1 parent b5bb2b6 commit d84a3f2
Showing 1 changed file with 41 additions and 20 deletions.
61 changes: 41 additions & 20 deletions LuaRules/Configs/dynamic_comm_defs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ local moduleDefs = {
description = "Flamethrower: Good for deep-frying swarmers and large targets alike",
image = moduleImagePath .. "commweapon_flamethrower.png",
limit = 2,
cost = 5 * COST_MULT,
cost = 50 * COST_MULT,
requireChassis = {"recon", "assault", "knight"},
requireLevel = 1,
slotType = "basic_weapon",
Expand All @@ -166,8 +166,29 @@ local moduleDefs = {
description = "Heatray: Rapidly melts anything at short range; steadily loses all of its damage over distance",
image = moduleImagePath .. "commweapon_heatray.png",
limit = 2,
cost = 50 * COST_MULT,
requireChassis = {"assault", "knight"},
requireLevel = 1,
slotType = "basic_weapon",
applicationFunction = function (modules, sharedData)
if sharedData.noMoreWeapons then
return
end
if not sharedData.weapon1 then
sharedData.weapon1 = "commweapon_heatray"
else
sharedData.weapon2 = "commweapon_heatray"
end
end
},
{
name = "commweapon_heatray_recon",
humanName = "Heatray",
description = "Heatray: Rapidly melts anything at short range; steadily loses all of its damage over distance",
image = moduleImagePath .. "commweapon_heatray.png",
limit = 2,
cost = 0 * COST_MULT,
requireChassis = {"assault", "knight", "recon"},
requireChassis = {"recon"},
requireLevel = 1,
slotType = "basic_weapon",
applicationFunction = function (modules, sharedData)
Expand All @@ -187,7 +208,7 @@ local moduleDefs = {
description = "Machine Gun: Close-in automatic weapon with AoE",
image = moduleImagePath .. "commweapon_heavymachinegun.png",
limit = 2,
cost = 5 * COST_MULT,
cost = 50 * COST_MULT,
requireChassis = {"assault", "knight"},
requireLevel = 1,
slotType = "basic_weapon",
Expand All @@ -209,7 +230,7 @@ local moduleDefs = {
description = "Heavy Rifle:\n Medium range and medium damage assault rifle for hunting down light units.",
image = moduleImagePath .. "commweapon_emg.png",
limit = 2,
cost = 5 * COST_MULT,
cost = 0 * COST_MULT,
requireChassis = {"strike"},
requireLevel = 1,
slotType = "basic_weapon",
Expand All @@ -231,7 +252,7 @@ local moduleDefs = {
description = "Medium EMG Rifle\n Fast firing medium damage assault rifle. Single target only.",
image = moduleImagePath .. "commweapon_emg.png",
limit = 2,
cost = 5 * COST_MULT,
cost = 50 * COST_MULT,
requireChassis = {"recon"},
requireLevel = 1,
slotType = "basic_weapon",
Expand Down Expand Up @@ -317,7 +338,7 @@ local moduleDefs = {
description = "Lightning Rifle: Paralyzes and damages annoying bugs",
image = moduleImagePath .. "commweapon_lightninggun.png",
limit = 2,
cost = 5 * COST_MULT,
cost = 50 * COST_MULT,
requireChassis = {"support", "strike", "knight"},
requireLevel = 1,
slotType = "basic_weapon",
Expand All @@ -339,7 +360,7 @@ local moduleDefs = {
description = "Light Particle Beam: Fast, light pulsed energy weapon",
image = moduleImagePath .. "commweapon_lparticlebeam.png",
limit = 1,
cost = 5 * COST_MULT,
cost = 50 * COST_MULT,
requireChassis = {"support"},
prohibitingModules = {"commweapon_capray", "commweapon_lightninggun", "commweapon_disruptorprojector", "commweapon_beamlaser", "commweapon_shockrifle"},
requireLevel = 1,
Expand Down Expand Up @@ -368,7 +389,7 @@ local moduleDefs = {
description = "Light Particle Beam: Fast, light pulsed energy weapon",
image = moduleImagePath .. "commweapon_lparticlebeam.png",
limit = 2,
cost = 5 * COST_MULT,
cost = 50 * COST_MULT,
requireChassis = {"recon", "strike", "knight"},
requireLevel = 1,
slotType = "basic_weapon",
Expand Down Expand Up @@ -396,7 +417,7 @@ local moduleDefs = {
description = "Light Particle Beam: Fast, light pulsed energy weapon",
image = moduleImagePath .. "commweapon_lparticlebeam.png",
limit = 1,
cost = 5 * COST_MULT,
cost = 50 * COST_MULT,
requireChassis = {"support"},
requireLevel = 3,
slotType = "basic_weapon",
Expand Down Expand Up @@ -424,7 +445,7 @@ local moduleDefs = {
description = "Missile Launcher: Lightweight seeker missile with good range",
image = moduleImagePath .. "commweapon_missilelauncher.png",
limit = 2,
cost = 5 * COST_MULT,
cost = 50 * COST_MULT,
requireChassis = {"knight"},
requireLevel = 1,
slotType = "basic_weapon",
Expand All @@ -445,7 +466,7 @@ local moduleDefs = {
description = "Riot Cannon: The weapon of choice for crowd control",
image = moduleImagePath .. "commweapon_riotcannon.png",
limit = 2,
cost = 5 * COST_MULT,
cost = 50 * COST_MULT,
requireChassis = {"assault", "knight"},
requireLevel = 1,
slotType = "basic_weapon",
Expand All @@ -467,7 +488,7 @@ local moduleDefs = {
description = "Rocket Launcher: Medium-range, low-velocity hitter",
image = moduleImagePath .. "commweapon_rocketlauncher.png",
limit = 2,
cost = 5 * COST_MULT,
cost = 50 * COST_MULT,
requireChassis = {"assault", "knight"},
requireLevel = 1,
slotType = "basic_weapon",
Expand All @@ -489,7 +510,7 @@ local moduleDefs = {
description = "Virus Uplink\nUploads a capture virus onto enemy units, giving control over to you. The uplink must recharge after capturing a unit.",
image = moduleImagePath .. "commweapon_capray.png",
limit = 2,
cost = 40 * COST_MULT,
cost = 50 * COST_MULT,
requireChassis = {"support"},
requireLevel = 1,
slotType = "basic_weapon",
Expand All @@ -511,7 +532,7 @@ local moduleDefs = {
description = "Shotgun: Can hammer a single large target or shred several small ones",
image = moduleImagePath .. "commweapon_shotgun.png",
limit = 2,
cost = 5 * COST_MULT,
cost = 50 * COST_MULT,
requireChassis = {"recon", "strike", "knight"},
requireLevel = 1,
slotType = "basic_weapon",
Expand All @@ -533,7 +554,7 @@ local moduleDefs = {
description = "Canister Cannon:\nReleases tiny fragments at a certain range. May impact multiple units.",
image = moduleImagePath .. "commweapon_canister.png",
limit = 2,
cost = 5 * COST_MULT,
cost = 50 * COST_MULT,
requireChassis = {"assault"},
requireLevel = 1,
slotType = "basic_weapon",
Expand All @@ -555,7 +576,7 @@ local moduleDefs = {
description = "Deals some damage and slows targets in a small area. Low DPS. Can be converted into a heavy AOE slow beam.",
image = moduleImagePath .. "commweapon_disruptorprojector.png",
limit = 1,
cost = 20 * COST_MULT,
cost = 50 * COST_MULT,
requireChassis = {"support"},
prohibitingModules = {"commweapon_capray", "commweapon_lightninggun", "commweapon_beamlaser", "commweapon_lparticlebeam", "commweapon_shockrifle"},
requireLevel = 1,
Expand All @@ -578,7 +599,7 @@ local moduleDefs = {
description = "Deals some damage and slows targets in a small area. Low DPS. Can be converted into a heavy AOE slow beam.",
image = moduleImagePath .. "commweapon_disruptorprojector.png",
limit = 2,
cost = 20 * COST_MULT,
cost = 50 * COST_MULT,
requireChassis = {"support"},
requireLevel = 3,
slotType = "basic_weapon",
Expand All @@ -600,7 +621,7 @@ local moduleDefs = {
description = "High Frequency Beam Kit\nConverts a disruptor or beam into a heavier version.",
image = moduleImagePath .. "module_beamamplifier.png",
limit = 1,
cost = 250 * COST_MULT,
cost = 300 * COST_MULT,
requireChassis = {"support"},
requireOneOf = {"commweapon_disruptorprojector", "commweapon_beamlaser", "commweapon_lparticlebeam"},
requireLevel = 2,
Expand All @@ -625,7 +646,7 @@ local moduleDefs = {
description = "High Frequency Beam Kit\nConverts a disruptor or beam into a heavier version.",
image = moduleImagePath .. "module_beamamplifier.png",
limit = 1,
cost = 220 * COST_MULT,
cost = 300 * COST_MULT,
requireChassis = {"support"},
requireOneOf = {"commweapon_disruptorprojector2", "commweapon_beamlaser2", "commweapon_lparticlebeam2"},
requireLevel = 4,
Expand All @@ -650,7 +671,7 @@ local moduleDefs = {
description = "Sniper Rifle\n Long range sniper rifle. Long reload time, high damage, long range.",
image = moduleImagePath .. "commweapon_shockrifle.png",
limit = 2,
cost = 100 * COST_MULT,
cost = 50 * COST_MULT,
requireChassis = {"support", "knight"},
requireLevel = 1,
slotType = "basic_weapon",
Expand Down

0 comments on commit d84a3f2

Please sign in to comment.