mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-30 15:38:02 +01:00
next new to init (#17400)
* next new to init * . * this needs thorough testing * . * needs an istype * also vnotice * mvoe to defines
This commit is contained in:
@@ -108,9 +108,9 @@ GLOBAL_LIST_BOILERPLATE(all_tracking_implants, /obj/item/implant/tracking)
|
||||
/obj/item/implant/tracking/weak //This is for the loadout
|
||||
degrade_time = 2.5 MINUTES
|
||||
|
||||
/obj/item/implant/tracking/New()
|
||||
/obj/item/implant/tracking/Initialize(mapload, ...)
|
||||
. = ..()
|
||||
id = rand(1, 1000)
|
||||
..()
|
||||
|
||||
/obj/item/implant/tracking/post_implant(var/mob/source)
|
||||
START_PROCESSING(SSobj, src)
|
||||
|
||||
@@ -8,15 +8,15 @@
|
||||
/obj/item/implant/integrated_circuit/islegal()
|
||||
return TRUE
|
||||
|
||||
/obj/item/implant/integrated_circuit/New()
|
||||
..()
|
||||
/obj/item/implant/integrated_circuit/Initialize(mapload)
|
||||
. = ..()
|
||||
IC = new(src)
|
||||
IC.implant = src
|
||||
|
||||
/obj/item/implant/integrated_circuit/Destroy()
|
||||
IC.implant = null
|
||||
qdel(IC)
|
||||
..()
|
||||
. = ..()
|
||||
|
||||
/obj/item/implant/integrated_circuit/get_data()
|
||||
var/dat = {"
|
||||
|
||||
@@ -3,8 +3,7 @@
|
||||
/obj/item/implanter/vrlanguage
|
||||
name = "implanter-language"
|
||||
|
||||
/obj/item/implanter/vrlanguage/New()
|
||||
src.imp = new /obj/item/implant/vrlanguage( src )
|
||||
..()
|
||||
/obj/item/implanter/vrlanguage/Initialize(mapload)
|
||||
. = ..()
|
||||
imp = new /obj/item/implant/vrlanguage( src )
|
||||
update()
|
||||
return
|
||||
|
||||
@@ -3,13 +3,12 @@
|
||||
desc = "Summon things."
|
||||
var/activation_emote = "chuckle"
|
||||
|
||||
/obj/item/implant/uplink/New()
|
||||
/obj/item/implant/uplink/Initialize(mapload)
|
||||
activation_emote = pick("blink", "blink_r", "eyebrow", "chuckle", "twitch", "frown", "nod", "blush", "giggle", "grin", "groan", "shrug", "smile", "pale", "sniff", "whimper", "wink")
|
||||
hidden_uplink = new(src)
|
||||
//hidden_uplink.uses = 5
|
||||
//Code currently uses a mind var for telecrystals, balancing is currently an issue. Will investigate.
|
||||
..()
|
||||
return
|
||||
. = ..()
|
||||
|
||||
/obj/item/implant/uplink/post_implant(mob/source)
|
||||
var/choices = list("blink", "blink_r", "eyebrow", "chuckle", "twitch", "frown", "nod", "blush", "giggle", "grin", "groan", "shrug", "smile", "pale", "sniff", "whimper", "wink")
|
||||
@@ -22,4 +21,3 @@
|
||||
/obj/item/implant/uplink/trigger(emote, mob/source as mob)
|
||||
if(hidden_uplink && usr == source) // Let's not have another people activate our uplink
|
||||
hidden_uplink.check_trigger(source, emote, activation_emote)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user