mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Spacefarer patches (#8907)
This commit is contained in:
@@ -147,7 +147,7 @@
|
||||
|
||||
/obj/item/device/survivalcapsule/superpose
|
||||
name = "superposed surfluid shelter capsule"
|
||||
desc = "A proprietary hyperstructure of many three-dimensional spaces superposed around a supermatter nano crystal; use a pen to reach the reset button. There's a license for use printed on the bottom."
|
||||
desc = "A proprietary hyperstructure of many three-dimensional spaces superposed around a supermatter nano crystal; right-click to reset the pod. There's a license for use printed on the bottom."
|
||||
description_info = "The capsule contains pockets of compressed space in a super position stabilized by a miniscule supermatter crystal. \
|
||||
NanoTrasen stresses the safety of this model over previous prototypes but assumes no liability for sub-kiloton explosions."
|
||||
template_id = null
|
||||
@@ -181,12 +181,15 @@
|
||||
..()
|
||||
|
||||
// Allows resetting the capsule if the wrong template is chosen.
|
||||
/obj/item/device/survivalcapsule/superpose/attackby(obj/item/W, mob/user)
|
||||
if(istype(W, /obj/item/weapon/pen) && !used)
|
||||
/obj/item/device/survivalcapsule/superpose/verb/resetpod()
|
||||
set name = "Reset Active Pod"
|
||||
set desc = "Resets the pod back to factory settings."
|
||||
set category = "Object"
|
||||
if(!used)
|
||||
template_id = null
|
||||
template = null // Important to reset both, otherwise the template cannot be reset once the pod has been deployed.
|
||||
to_chat(user, "<span class='notice'>You reset the pod's selection.</span>")
|
||||
..()
|
||||
unique_id = null
|
||||
to_chat(usr, span_notice("You reset the pod's selection."))
|
||||
|
||||
/obj/item/device/survivalcapsule/superpose/shuttle
|
||||
name = "superposed surfluid shuttle capsule"
|
||||
@@ -208,11 +211,3 @@
|
||||
unique_id = answer
|
||||
return
|
||||
..()
|
||||
|
||||
/obj/item/device/survivalcapsule/superpose/attackby(obj/item/W, mob/user)
|
||||
if(istype(W, /obj/item/weapon/pen) && !used)
|
||||
template_id = null
|
||||
unique_id = null
|
||||
template = null
|
||||
to_chat(user, SPAN_NOTICE("You reset the pod's selection."))
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user