mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 04:22:39 +01:00
Xenobio Slime Extract Improvements (#8458)
This commit is contained in:
@@ -127,11 +127,24 @@
|
||||
name = "charged slime core"
|
||||
desc = "A yellow slime core infused with phoron, it crackles with power."
|
||||
origin_tech = list(TECH_POWER = 2, TECH_BIO = 4)
|
||||
icon = 'icons/mob/npc/slimes.dmi' //'icons/obj/harvest.dmi'
|
||||
icon_state = "yellow slime extract" //"potato_battery"
|
||||
icon = 'icons/mob/npc/slimes.dmi'
|
||||
icon_state = "yellow slime extract"
|
||||
maxcharge = 10000
|
||||
matter = null
|
||||
var/next_recharge
|
||||
|
||||
/obj/item/cell/slime/Initialize()
|
||||
. = ..()
|
||||
START_PROCESSING(SSprocessing, src)
|
||||
|
||||
/obj/item/cell/slime/Destroy()
|
||||
STOP_PROCESSING(SSprocessing, src)
|
||||
return ..()
|
||||
|
||||
/obj/item/cell/slime/process()
|
||||
if(next_recharge < world.time)
|
||||
charge += maxcharge / 10
|
||||
next_recharge = world.time + 1 MINUTE
|
||||
|
||||
/obj/item/cell/device/emergency_light
|
||||
name = "miniature power cell"
|
||||
|
||||
Reference in New Issue
Block a user