Change energy cell sprites and add new giga cell

Changes super and hyper cells to utilized some new and unused sprites. Adds a new energy cell past the hyper cell to also take advantage of new sprites. Requires precursor tech 1 and power tech 5
This commit is contained in:
Razgriz
2021-09-12 23:39:16 -07:00
committed by GitHub
parent d1f25f3bb8
commit 3e237fbfc5

View File

@@ -13,9 +13,9 @@
matter = list(MAT_STEEL = 350, MAT_GLASS = 50)
preserve_item = 1
//Yawn changes
//Yawn Changes
/obj/item/weapon/cell/device/weapon //Aka adv
name = "advanced device power cell"
name = "advanced device power cell" //This was a yawn change. I quite like this, makes more sense.
desc = "A small upgraded power cell designed to power handheld devices."
icon_state = "m_sup"
maxcharge = 2400
@@ -30,8 +30,7 @@
/obj/item/weapon/cell/device/super
name = "super device power cell"
desc = "A small upgraded power cell designed to power handheld devices."
icon = 'icons/obj/power_yw.dmi'
icon_state = "swcell"
icon_state = "m_hy" //CHOMP Add
maxcharge = 3600
charge_amount = 20
origin_tech = list(TECH_POWER = 3)
@@ -44,17 +43,31 @@
/obj/item/weapon/cell/device/hyper
name = "hyper device power cell"
desc = "A small upgraded power cell designed to hold much more power for handheld devices."
icon = 'icons/obj/power_yw.dmi'
icon_state = "hwcell"
icon_state = "meb_m_st" //CHOMP Add
maxcharge = 4800
charge_amount = 20
origin_tech = list(TECH_POWER = 4)
/obj/item/weapon/cell/device/hyper/empty/Initialize()
. = ..()
charge = 0
update_icon()
//End of Yawn changes
//CHOMP Add begin
/obj/item/weapon/cell/device/giga //CHOMP Add: Why not? Lets add a new one. Lets put the new sprites to use.
name = "giga device power cell"
desc = "A small power cell that holds a blistering amount of energy, constructed by clever scientists using secrets gleaned from alien technology."
icon_state = "meb_m_hi"
maxcharge = 6000
charge_amount = 20
origin_tech = list(TECH_POWER = 5, TECH_PRECURSOR = 1)
/obj/item/weapon/cell/device/giga/empty/Initialize()
. = ..()
charge = 0
update_icon()
//CHOMP Add end
/obj/item/weapon/cell/device/weapon/recharge
name = "self-charging weapon power cell"