diff --git a/code/game/objects/items/weapons/handcuffs.dm b/code/game/objects/items/weapons/handcuffs.dm index e7370d3e027..4d1782496a8 100644 --- a/code/game/objects/items/weapons/handcuffs.dm +++ b/code/game/objects/items/weapons/handcuffs.dm @@ -145,6 +145,20 @@ else user << "You need one rod to make a wired rod!" return + else if(istype(I, /obj/item/stack/sheet/metal)) + var/obj/item/stack/sheet/metal/M = I + if(M.amount < 6) + user << "You need at least six metal sheets to make good enough weights!" + return + user << "You begin to apply [I] to [src]..." + if(do_after(user, 35, target = src)) + var/obj/item/weapon/restraints/legcuffs/bola/S = new /obj/item/weapon/restraints/legcuffs/bola + M.use(6) + user.put_in_hands(S) + user << "You make some weights out of [I] and tie them to [src]." + if(!remove_item_from_storage(user)) + user.unEquip(src) + qdel(src) /obj/item/weapon/restraints/handcuffs/cable/zipties/cyborg/attack(mob/living/carbon/C, mob/user) if(isrobot(user)) @@ -266,3 +280,21 @@ /obj/item/weapon/restraints/legcuffs/beartrap/energy/attack_hand(mob/user) Crossed(user) //honk + +/obj/item/weapon/restraints/legcuffs/bola + name = "bola" + desc = "A restraining device designed to be thrown at the target. Upon connecting with said target, it will wrap around their legs, making it difficult for them to move quickly." + icon_state = "bola" + breakouttime = 35//easy to apply, easy to break out of + gender = NEUTER + +/obj/item/weapon/restraints/legcuffs/bola/throw_impact(atom/hit_atom) + if(..() || !iscarbon(hit_atom))//if it gets caught or the target can't be cuffed, + return//abort + var/mob/living/carbon/C = hit_atom + if(!C.legcuffed) + C.legcuffed = src + src.loc = C + C.update_inv_legcuffed() + feedback_add_details("handcuffs","B") + C << "\The [src] ensares you!" \ No newline at end of file diff --git a/code/modules/crafting/recipes.dm b/code/modules/crafting/recipes.dm index 628cb2350cb..a9baaf881f0 100644 --- a/code/modules/crafting/recipes.dm +++ b/code/modules/crafting/recipes.dm @@ -77,6 +77,14 @@ time = 40 category = CAT_WEAPON +/datum/table_recipe/bola + name = "Bola" + result = /obj/item/weapon/restraints/legcuffs/bola + reqs = list(/obj/item/weapon/restraints/handcuffs/cable = 1, + /obj/item/stack/sheet/metal = 6) + time = 20//15 faster than crafting them by hand! + category= CAT_WEAPON + /datum/table_recipe/tailclub name = "Tail Club" result = /obj/item/weapon/tailclub diff --git a/icons/obj/items.dmi b/icons/obj/items.dmi index 25da8bb0887..79383dca68c 100644 Binary files a/icons/obj/items.dmi and b/icons/obj/items.dmi differ