mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-15 03:27:46 +00:00
18 lines
539 B
Plaintext
18 lines
539 B
Plaintext
/*An alternative to exit gateways, signposts send you back to the arrivals shuttle with their semiotic magic.*/
|
|
/obj/structure/signpost
|
|
icon = 'icons/obj/stationobjs.dmi'
|
|
icon_state = "signpost"
|
|
anchored = 1
|
|
density = 1
|
|
|
|
/obj/structure/signpost/attackby(obj/item/weapon/W, mob/user, params)
|
|
return attack_hand(user)
|
|
|
|
/obj/structure/signpost/attack_hand(mob/user)
|
|
switch(alert("Travel back to ss13?",,"Yes","No"))
|
|
if("Yes")
|
|
if(user.z != src.z) return
|
|
user.loc.loc.Exited(user)
|
|
user.loc = pick(latejoin)
|
|
if("No")
|
|
return |