mirror of
https://github.com/KabKebab/GS13.git
synced 2026-07-13 08:57:01 +01:00
Bluespace sewing kit
For big bits
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
//Jay Sparrow
|
||||
#define ROOMY = "ROOMY"
|
||||
|
||||
/obj/item/bluespace_thread
|
||||
name = "Bluespace Sewing Kit"
|
||||
desc = "Thread infused with bluespace dust to make your clothes a little more roomy."
|
||||
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
|
||||
|
||||
/obj/item/bluespace_thread/attack_obj(obj/O, mob/living/user)
|
||||
. = ..()
|
||||
if(!istype(O, /obj/item/clothing))
|
||||
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)
|
||||
|
||||
//Let's add this to the loadout screen
|
||||
/datum/gear/bluespace_thread
|
||||
name = "Bluespace Sewing Kit"
|
||||
category = SLOT_IN_BACKPACK
|
||||
path = /obj/item/bluespace_thread
|
||||
|
||||
//Crafting recipe
|
||||
/datum/crafting_recipe/bluespace_thread
|
||||
name = "Bluespace Sewing Kit"
|
||||
result = /obj/item/bluespace_thread
|
||||
time = 40
|
||||
reqs = list(/obj/item/stack/ore/bluespace_crystal = 1,
|
||||
/obj/item/stack/sheet/cloth = 2)
|
||||
category = CAT_MISC
|
||||
@@ -87,7 +87,7 @@ Icons, maybe?
|
||||
|
||||
//Called when someone is clicked with the leash
|
||||
/obj/item/leash/attack(mob/living/carbon/C, mob/living/user) //C is the target, user is the one with the leash
|
||||
if(istype(C.get_item_by_slot(SLOT_NECK), /obj/item/clothing/neck/petcollar) || istype(C.get_item_by_slot(SLOT_NECK), /obj/item/electropack/shockcollar)) //TODO: Shock collars too why not
|
||||
if(istype(C.get_item_by_slot(SLOT_NECK), /obj/item/clothing/neck/petcollar) || istype(C.get_item_by_slot(SLOT_NECK), /obj/item/electropack/shockcollar))
|
||||
var/leashtime = 50
|
||||
if(C.handcuffed)
|
||||
leashtime = 5
|
||||
@@ -394,3 +394,10 @@ Icons, maybe?
|
||||
QDEL_NULL(mobhook_leash_freepet)
|
||||
leash_pet.add_movespeed_modifier(MOVESPEED_ID_LEASH, multiplicative_slowdown = 5)
|
||||
|
||||
/datum/crafting_recipe/leash
|
||||
name = "Leash"
|
||||
result = /obj/item/leash
|
||||
time = 40
|
||||
reqs = list(/obj/item/stack/sheet/metal = 1,
|
||||
/obj/item/stack/sheet/cloth = 3)
|
||||
category = CAT_MISC
|
||||
@@ -47,3 +47,9 @@
|
||||
if (!C.handcuffed)
|
||||
return //Break when the rope is removed
|
||||
|
||||
/datum/crafting_recipe/rope
|
||||
name = "Soft Rope"
|
||||
result = /obj/item/restraints/handcuffs/rope
|
||||
time = 40
|
||||
reqs = list(/obj/item/stack/sheet/cloth = 5)
|
||||
category = CAT_MISC
|
||||
Reference in New Issue
Block a user