mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 19:17:50 +01:00
I've cleared out most of the .dm files in code/game/objects/ and put it into appropriate files/folders. The stuff I've left is stuff I believe may conflict with carn's work and some code for stuff that does not have a home yet. TODO: - Files that were left in code/game/objects that may conflict with carns work - Go through all the files in all the subfolders of code/game/objects. - Move all the defines from /defines/ to their proper spots Not much right? git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4520 316c924e-a436-60f5-8080-3fe189b3f50e
23 lines
1.2 KiB
Plaintext
23 lines
1.2 KiB
Plaintext
/obj/item/weapon/implant/uplink
|
|
name = "uplink"
|
|
desc = "Summon things."
|
|
var/activation_emote = "chuckle"
|
|
|
|
/obj/item/weapon/implant/uplink/New()
|
|
activation_emote = pick("blink", "blink_r", "eyebrow", "chuckle", "twitch_s", "frown", "nod", "blush", "giggle", "grin", "groan", "shrug", "smile", "pale", "sniff", "whimper", "wink")
|
|
hidden_uplink = new(src)
|
|
hidden_uplink.uses = 5
|
|
..()
|
|
return
|
|
|
|
/obj/item/weapon/implant/uplink/implanted(mob/source)
|
|
activation_emote = input("Choose activation emote:") in list("blink", "blink_r", "eyebrow", "chuckle", "twitch_s", "frown", "nod", "blush", "giggle", "grin", "groan", "shrug", "smile", "pale", "sniff", "whimper", "wink")
|
|
source.mind.store_memory("Uplink implant can be activated by using the [src.activation_emote] emote, <B>say *[src.activation_emote]</B> to attempt to activate.", 0, 0)
|
|
source << "The implanted uplink implant can be activated by using the [src.activation_emote] emote, <B>say *[src.activation_emote]</B> to attempt to activate."
|
|
return 1
|
|
|
|
|
|
/obj/item/weapon/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 |