mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
[MIRROR] migrate power cells to initialize (#9423)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
f7fa760102
commit
1d918c276f
@@ -6,11 +6,11 @@
|
||||
desc = "You can't top the plasma top." //TOTALLY TRADEMARK INFRINGEMENT
|
||||
origin_tech = list(TECH_POWER = 0)
|
||||
icon_state = "crap"
|
||||
charge = 500
|
||||
maxcharge = 500
|
||||
matter = list(MAT_STEEL = 700, MAT_GLASS = 40)
|
||||
|
||||
/obj/item/cell/crap/empty/Initialize() //ChompEDIT New --> Initialize
|
||||
..()
|
||||
/obj/item/cell/crap/empty
|
||||
charge = 0
|
||||
|
||||
/*
|
||||
@@ -18,6 +18,7 @@
|
||||
*/
|
||||
/obj/item/cell/robot_station
|
||||
name = "standard robot power cell"
|
||||
charge = 7500
|
||||
maxcharge = 7500
|
||||
|
||||
/*
|
||||
@@ -27,6 +28,7 @@
|
||||
name = "syndicate robot power cell"
|
||||
description_fluff = "Almost as good as a hyper."
|
||||
icon_state = "b_sup" //We don't want roboticists confuse it with a low standard cell
|
||||
charge = 25000
|
||||
maxcharge = 25000
|
||||
|
||||
/*
|
||||
@@ -36,13 +38,12 @@
|
||||
name = "security borg rechargable D battery"
|
||||
origin_tech = list(TECH_POWER = 0)
|
||||
icon_state = "secborg"
|
||||
charge = 2400
|
||||
maxcharge = 2400 //who the hell thought 6 shots was enough for a dogborg taser?
|
||||
matter = list(MAT_STEEL = 700, MAT_GLASS = 40)
|
||||
|
||||
/obj/item/cell/secborg/empty/Initialize() //ChompEDIT New --> Initialize
|
||||
..()
|
||||
/obj/item/cell/secborg/empty
|
||||
charge = 0
|
||||
update_icon()
|
||||
|
||||
/*
|
||||
* APC
|
||||
@@ -51,6 +52,7 @@
|
||||
name = "heavy-duty power cell"
|
||||
origin_tech = list(TECH_POWER = 1)
|
||||
icon_state = "apc"
|
||||
charge = 5000
|
||||
maxcharge = 5000
|
||||
matter = list(MAT_STEEL = 700, MAT_GLASS = 50)
|
||||
|
||||
@@ -61,13 +63,12 @@
|
||||
name = "high-capacity power cell"
|
||||
origin_tech = list(TECH_POWER = 2)
|
||||
icon_state = "b_hi"
|
||||
charge = 10000
|
||||
maxcharge = 10000
|
||||
matter = list(MAT_STEEL = 700, MAT_GLASS = 60)
|
||||
|
||||
/obj/item/cell/high/empty/Initialize() //ChompEDIT New --> Initialize
|
||||
..()
|
||||
/obj/item/cell/high/empty
|
||||
charge = 0
|
||||
update_icon()
|
||||
|
||||
/*
|
||||
* Super
|
||||
@@ -76,13 +77,12 @@
|
||||
name = "super-capacity power cell"
|
||||
origin_tech = list(TECH_POWER = 5)
|
||||
icon_state = "b_sup"
|
||||
charge = 20000
|
||||
maxcharge = 20000
|
||||
matter = list(MAT_STEEL = 700, MAT_GLASS = 70)
|
||||
|
||||
/obj/item/cell/super/empty/Initialize() //ChompEDIT New --> Initialize
|
||||
..()
|
||||
/obj/item/cell/super/empty
|
||||
charge = 0
|
||||
update_icon()
|
||||
|
||||
/*
|
||||
* Hyper
|
||||
@@ -91,13 +91,12 @@
|
||||
name = "hyper-capacity power cell"
|
||||
origin_tech = list(TECH_POWER = 6)
|
||||
icon_state = "b_hy"
|
||||
charge = 30000
|
||||
maxcharge = 30000
|
||||
matter = list(MAT_STEEL = 700, MAT_GLASS = 80)
|
||||
|
||||
/obj/item/cell/hyper/empty/Initialize() //ChompEDIT New --> Initialize
|
||||
..()
|
||||
/obj/item/cell/hyper/empty
|
||||
charge = 0
|
||||
update_icon()
|
||||
|
||||
/*
|
||||
* Giga
|
||||
@@ -106,13 +105,12 @@
|
||||
name = "giga-capacity power cell"
|
||||
origin_tech = list(TECH_POWER = 8)
|
||||
icon_state = "meb_b_hi"
|
||||
charge = 40000
|
||||
maxcharge = 40000
|
||||
matter = list(MAT_STEEL = 1000, MAT_GLASS = 100)
|
||||
|
||||
/obj/item/cell/giga/empty/Initialize() //ChompEDIT New --> Initialize
|
||||
..()
|
||||
/obj/item/cell/giga/empty
|
||||
charge = 0
|
||||
update_icon()
|
||||
/*
|
||||
* Mecha
|
||||
*/
|
||||
@@ -146,6 +144,7 @@
|
||||
name = "infinite-capacity power cell!"
|
||||
icon_state = "infinite_b"
|
||||
origin_tech = null
|
||||
charge = 30000
|
||||
maxcharge = 30000 //determines how badly mobs get shocked
|
||||
matter = list(MAT_STEEL = 700, MAT_GLASS = 80)
|
||||
|
||||
@@ -177,6 +176,7 @@
|
||||
icon = 'icons/mob/slimes.dmi' //'icons/obj/harvest.dmi'
|
||||
icon_state = "yellow slime extract" //"potato_battery"
|
||||
description_info = "This 'cell' holds a max charge of 20k and self recharges over time."
|
||||
charge = 20000
|
||||
maxcharge = 20000
|
||||
charge_amount = 500 // 2.5%.
|
||||
matter = null
|
||||
@@ -189,6 +189,7 @@
|
||||
/obj/item/cell/emergency_light
|
||||
name = "miniature power cell"
|
||||
desc = "A tiny power cell with a very low power capacity. Used in light fixtures to power them in the event of an outage."
|
||||
charge = 120
|
||||
maxcharge = 120 //Emergency lights use 0.2 W per tick, meaning ~10 minutes of emergency power from a cell
|
||||
matter = list(MAT_GLASS = 20)
|
||||
icon_state = "em_light"
|
||||
|
||||
Reference in New Issue
Block a user