mirror of
https://github.com/KabKebab/GS13.git
synced 2026-08-22 12:36:16 +01:00
Bluespace Patch Patch
Fixes the ability to use the thread on an item that already been made roomy, and makes the spool way smaller so you can put it into a box. Also, gives the spool more uses so that it lasts the shift, and makes it so towels have the "roomy" flag innately so you can always use them to cover your bits in a pinch.
This commit is contained in:
@@ -98,7 +98,7 @@
|
||||
//Hyper Change//
|
||||
if(istype(W, /obj/item/bluespace_thread))
|
||||
var/obj/item/bluespace_thread/B = W
|
||||
if (istype(src, /obj/item/clothing/under) || istype(src, /obj/item/clothing/suit)) //Make sure the thread is used on an item that could be ripped off in the first place
|
||||
if ((istype(src, /obj/item/clothing/under) || istype(src, /obj/item/clothing/suit)) && roomy != 1) //Make sure the thread is used on an item that could be ripped off in the first place
|
||||
roomy = 1 //True
|
||||
user.show_message("<span class='notice'>You add a few stiches to your clothing, and find them to fit a little looser.</span>", 1)
|
||||
B.uses -= 1 //One use has been used
|
||||
|
||||
@@ -115,6 +115,8 @@
|
||||
var/flat_icon = "towel_flat"
|
||||
var/folded_icon = "towel"
|
||||
var/list/possible_colors
|
||||
//Hyper Change
|
||||
var/roomy = 1 //To cover XL bits
|
||||
|
||||
/obj/item/reagent_containers/rag/towel/Initialize()
|
||||
. = ..()
|
||||
|
||||
@@ -7,7 +7,8 @@
|
||||
icon = 'hyperstation/icons/obj/bluespace_thread.dmi'
|
||||
icon_state = "thread"
|
||||
item_state = "thread"
|
||||
var/uses = 2 //Give it two charges, so you can hit your uniform and jacket
|
||||
var/uses = 5 //Give it a few charges so it can last through the shift
|
||||
w_class = WEIGHT_CLASS_TINY
|
||||
|
||||
/obj/item/bluespace_thread/attack_obj(obj/O, mob/living/user)
|
||||
. = ..()
|
||||
@@ -15,7 +16,7 @@
|
||||
user.show_message("<span class='notice'>You find yourself unable to stitch this.</span>", 1)
|
||||
return
|
||||
|
||||
|
||||
|
||||
/obj/item/bluespace_thread/attack_self(mob/living/user)
|
||||
user.show_message("<span class='notice'>The spool has [uses] uses remaining.</span>", 1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user