mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Add tooltips to visitable sectors on the overmap
This commit is contained in:
@@ -104,6 +104,21 @@
|
||||
/obj/effect/overmap/visitable/proc/generate_skybox()
|
||||
return
|
||||
|
||||
/obj/effect/overmap/visitable/MouseEntered(location, control, params)
|
||||
openToolTip(user = usr, tip_src = src, params = params, title = name)
|
||||
|
||||
..()
|
||||
|
||||
/obj/effect/overmap/visitable/MouseDown()
|
||||
closeToolTip(usr) //No reason not to, really
|
||||
|
||||
..()
|
||||
|
||||
/obj/effect/overmap/visitable/MouseExited()
|
||||
closeToolTip(usr) //No reason not to, really
|
||||
|
||||
..()
|
||||
|
||||
/obj/effect/overmap/visitable/sector
|
||||
name = "generic sector"
|
||||
desc = "Sector with some stuff in it."
|
||||
|
||||
Reference in New Issue
Block a user