mirror of
https://github.com/Yawn-Wider/YWPolarisVore.git
synced 2026-07-18 11:37:02 +01:00
Merge branch 'release' of https://github.com/VOREStation/VOREStation into voreupdate-2
This commit is contained in:
@@ -194,7 +194,7 @@ var/global/list/image/splatter_cache=list()
|
||||
density = FALSE
|
||||
anchored = TRUE
|
||||
icon = 'icons/effects/blood.dmi'
|
||||
icon_state = "gibbl5"
|
||||
icon_state = "gib1"
|
||||
random_icon_states = list("gib1", "gib2", "gib3", "gib5", "gib6")
|
||||
var/fleshcolor = "#FFFFFF"
|
||||
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
/// An info button that, when clicked, puts some text in the user's chat
|
||||
/obj/effect/abstract/info
|
||||
name = "info"
|
||||
icon = 'icons/effects/effects.dmi'
|
||||
icon_state = "info"
|
||||
|
||||
mouse_opacity = MOUSE_OPACITY_OPAQUE
|
||||
|
||||
/// What should the info button display when clicked?
|
||||
var/info_text
|
||||
|
||||
/obj/effect/abstract/info/Initialize(mapload, info_text)
|
||||
. = ..()
|
||||
|
||||
if (!isnull(info_text))
|
||||
src.info_text = info_text
|
||||
|
||||
/obj/effect/abstract/info/Click()
|
||||
. = ..()
|
||||
to_chat(usr, info_text)
|
||||
|
||||
/obj/effect/abstract/info/MouseEntered(location, control, params)
|
||||
. = ..()
|
||||
icon_state = "info_hovered"
|
||||
|
||||
/obj/effect/abstract/info/MouseExited()
|
||||
. = ..()
|
||||
icon_state = initial(icon_state)
|
||||
Reference in New Issue
Block a user