Spacefarer patches (#8907)

This commit is contained in:
tacoguy7765093
2024-09-05 17:34:25 -05:00
committed by GitHub
parent b67f2aef7c
commit 672d2ea60a
10 changed files with 120 additions and 47 deletions

View File

@@ -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."))
..()