From 7fcb9347f95dfac09147884b42eb19480cbf134f Mon Sep 17 00:00:00 2001 From: Seris02 Date: Sun, 26 Feb 2023 16:57:14 +0800 Subject: [PATCH] alt click description and license update --- code/game/objects/items/toys/toys_vr.dm | 7 +++++++ icons/mob/drakeborg/Drakeborg-Licensing.txt | 3 +++ 2 files changed, 10 insertions(+) diff --git a/code/game/objects/items/toys/toys_vr.dm b/code/game/objects/items/toys/toys_vr.dm index e173df5465f..cb879b71398 100644 --- a/code/game/objects/items/toys/toys_vr.dm +++ b/code/game/objects/items/toys/toys_vr.dm @@ -100,7 +100,11 @@ /obj/item/toy/plushie/borgplushie/drake/AltClick(mob/living/user) . = ..() + var/turf/T = get_turf(src) + if(!T.AdjacentQuick(user)) // So people aren't messing with these from across the room + return FALSE lights_glowing = !lights_glowing + to_chat(user, "You turn the [src]'s glow-fabric [lights_glowing ? "on" : "off"].") update_icon() /obj/item/toy/plushie/borgplushie/drake/update_icon() @@ -108,6 +112,9 @@ if (lights_glowing) add_overlay(emissive_appearance(icon, "[icon_state]-lights")) +/obj/item/toy/plushie/borgplushie/drake/get_description_info() + return "The lights on the plushie can be toggled [lights_glowing ? "off" : "on"] by alt-clicking on it." + /obj/item/toy/plushie/borgplushie/drake/sec name = "security drake plushie" icon_state = "secdrake" diff --git a/icons/mob/drakeborg/Drakeborg-Licensing.txt b/icons/mob/drakeborg/Drakeborg-Licensing.txt index f2d3ca925ca..013b2e8376b 100644 --- a/icons/mob/drakeborg/Drakeborg-Licensing.txt +++ b/icons/mob/drakeborg/Drakeborg-Licensing.txt @@ -1,5 +1,8 @@ Drakeborg & drakeplushies are created by deviantart.com/mizartz +Drakeplushies science, engineering, mining, trauma and janitorial are Adaptations of the drakeplushies above, created by github.com/Seris02. +Drakeborg (science) in this codebase is an Adaptation of the science drakeborg (lights have been altered), altered by github.com/Seris02. + https://creativecommons.org/licenses/by-nc-sa/3.0/ Attribution-NonCommercial-ShareAlike 3.0 Unported