Kinetic Accelerator Parts Addition (#10177)

This commit is contained in:
Snakebittenn
2020-10-07 20:17:30 +02:00
committed by GitHub
parent de67d5692e
commit faeebae31b
4 changed files with 107 additions and 5 deletions
+4 -4
View File
@@ -164,9 +164,9 @@
origin_tech = list(TECH_MATERIAL = 3,TECH_ENGINEERING = 3,TECH_MAGNET = 3,TECH_POWER = 3, TECH_ILLEGAL = 4)
/obj/item/custom_ka_upgrade/cells/kinetic_charging
name = "kinetic charging KA cell"
build_name = "kinetic recharging"
/obj/item/custom_ka_upgrade/cells/inertia_charging
name = "inertial charging KA cell"
build_name = "inertial recharging"
desc = "A curious cell and pump combo that automatically charges based on how much charge is already present in the cell."
icon_state = "cell_burst"
firedelay_increase = 0.1 SECONDS
@@ -182,7 +182,7 @@
origin_tech = list(TECH_MATERIAL = 6,TECH_ENGINEERING = 5,TECH_MAGNET = 4,TECH_POWER = 6)
/obj/item/custom_ka_upgrade/cells/kinetic_charging/on_update(var/obj/item/gun/custom_ka/the_gun)
/obj/item/custom_ka_upgrade/cells/inertia_charging/on_update(var/obj/item/gun/custom_ka/the_gun)
stored_charge = min(stored_charge + round(stored_charge*0.2),cell_increase)
+1 -1
View File
@@ -212,7 +212,7 @@
installed_upgrade_chip = /obj/item/custom_ka_upgrade/upgrade_chips/illegal
/obj/item/gun/custom_ka/frameA/prebuilt
installed_cell = /obj/item/custom_ka_upgrade/cells/kinetic_charging
installed_cell = /obj/item/custom_ka_upgrade/cells/inertia_charging
installed_barrel = /obj/item/custom_ka_upgrade/barrels/barrel02_alt
/obj/item/gun/custom_ka/frameB/prebuilt