Damage Question

Place to get help with not working mods / modding interface.
Post Reply
TheSAguy
Smart Inserter
Smart Inserter
Posts: 1449
Joined: Mon Jan 13, 2014 6:17 pm
Contact:

Damage Question

Post by TheSAguy »

Why does my Artillery Ammo and Dart Turret not show additional damage on them?

For the Artillary (Bio Cannon) I have the following:

Code: Select all

		table.insert(data.raw.technology["physical-projectile-damage-5"].effects,{type = "ammo-damage", ammo_category = "Bio_Cannon_Ammo", modifier = 0.9})
		table.insert(data.raw.technology["physical-projectile-damage-6"].effects,{type = "ammo-damage", ammo_category = "Bio_Cannon_Ammo", modifier = 1.3})
		table.insert(data.raw.technology["physical-projectile-damage-7"].effects,{type = "ammo-damage", ammo_category = "Bio_Cannon_Ammo", modifier = 1})
Image

For the Dart Turret I have:

Code: Select all

	table.insert(data.raw.technology["physical-projectile-damage-1"].effects,{type = "turret-attack", turret_id = "bi-dart-turret", modifier = 0.1})
	table.insert(data.raw.technology["physical-projectile-damage-2"].effects,{type = "turret-attack", turret_id = "bi-dart-turret", modifier = 0.1})
	table.insert(data.raw.technology["physical-projectile-damage-3"].effects,{type = "turret-attack", turret_id = "bi-dart-turret", modifier = 0.2})
	table.insert(data.raw.technology["physical-projectile-damage-4"].effects,{type = "turret-attack", turret_id = "bi-dart-turret", modifier = 0.2})
	table.insert(data.raw.technology["physical-projectile-damage-5"].effects,{type = "turret-attack", turret_id = "bi-dart-turret", modifier = 0.2})
	table.insert(data.raw.technology["physical-projectile-damage-6"].effects,{type = "turret-attack", turret_id = "bi-dart-turret", modifier = 0.4})
	table.insert(data.raw.technology["physical-projectile-damage-7"].effects,{type = "turret-attack", turret_id = "bi-dart-turret", modifier = 0.7})
Image

Local:

Code: Select all

Bio_Cannon_Ammo-damage-bonus=Prototype Artillery damage: +__1__
Bio_Cannon_Ammo-shooting-speed-bonus=Prototype Artillery shooting speed: +__1__
bi-dart-turret-attack-bonus=Dart turret damage bonus: +__1__
bi-dart-turret-damage-bonus=Dart turret damage bonus: +__1__
Bio_Turret_Ammo-shooting-speed-bonus=Dart turret ammo shooting speed bonus: +__1__
Bio_Turret_Ammo-damage-bonus=Dart turret ammo damage bonus: +__1__
Thanks,

Post Reply

Return to “Modding help”