mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-21 11:07:46 +01:00
Converts bindings to the weaving system
This commit is contained in:
+1
-24
@@ -943,7 +943,7 @@
|
||||
|
||||
while(finalized == "No" && src.client)
|
||||
choice = input(src,"What would you like to weave?") as null|anything in weavable_items
|
||||
desired_result = weavable_structures[choice]
|
||||
desired_result = weavable_items[choice]
|
||||
if(!desired_result || !istype(desired_result))
|
||||
return
|
||||
|
||||
@@ -997,26 +997,3 @@
|
||||
species.silk_color = new_silk_color
|
||||
|
||||
|
||||
|
||||
|
||||
/mob/living/proc/weaveWebBindings()
|
||||
set name = "Weave Web Bindings"
|
||||
set category = "Species Powers"
|
||||
if(nutrition >= 30) //This isn't a huge problem. This is so you can bind people up.
|
||||
src.visible_message("<span class='notice'>\the [src] pulls silk from their manibles and delicately weaves it into bindings.</span>")
|
||||
adjust_nutrition(-30)
|
||||
spawn(30) //5 seconds to weave the bindings~
|
||||
var/obj/item/clothing/suit/web_bindings/bindings = new() //This sprite is amazing, I must say.
|
||||
src.put_in_hands(bindings)
|
||||
else
|
||||
to_chat(src, "You do not have enough nutrition to create webbing!") //CK~
|
||||
|
||||
/obj/item/clothing/suit/web_bindings
|
||||
icon = 'icons/vore/custom_clothes_vr.dmi'
|
||||
icon_override = 'icons/vore/custom_clothes_vr.dmi'
|
||||
name = "web bindings"
|
||||
desc = "A webbed cocoon that completely restrains the wearer."
|
||||
icon_state = "web_bindings"
|
||||
item_state = "web_bindings_mob"
|
||||
body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|FEET|ARMS|HANDS
|
||||
flags_inv = HIDEGLOVES|HIDESHOES|HIDEJUMPSUIT|HIDETAIL
|
||||
|
||||
@@ -416,6 +416,9 @@
|
||||
base_color = "#333333" //Blackish-gray
|
||||
blood_color = "#0952EF" //Spiders have blue blood.
|
||||
|
||||
silk_reserve = 500
|
||||
silk_max_reserve = 1000
|
||||
|
||||
/datum/species/spider/handle_environment_special(var/mob/living/carbon/human/H)
|
||||
if(H.stat == DEAD) // If they're dead they won't need anything.
|
||||
return
|
||||
|
||||
@@ -95,3 +95,14 @@
|
||||
|
||||
// Items
|
||||
|
||||
// TODO: Spidersilk clothing and actual bindings, once sprites are ready.
|
||||
|
||||
/obj/item/clothing/suit/web_bindings
|
||||
icon = 'icons/vore/custom_clothes_vr.dmi'
|
||||
icon_override = 'icons/vore/custom_clothes_vr.dmi'
|
||||
name = "web bindings"
|
||||
desc = "A webbed cocoon that completely restrains the wearer."
|
||||
icon_state = "web_bindings"
|
||||
item_state = "web_bindings_mob"
|
||||
body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|FEET|ARMS|HANDS
|
||||
flags_inv = HIDEGLOVES|HIDESHOES|HIDEJUMPSUIT|HIDETAIL
|
||||
@@ -29,4 +29,8 @@
|
||||
time = 15 SECONDS
|
||||
|
||||
/datum/weaver_recipe/item
|
||||
time = 10 SECONDS
|
||||
cost = 50
|
||||
|
||||
/datum/weaver_recipe/item/bindings
|
||||
title = "bindings"
|
||||
result_type = /obj/item/clothing/suit/web_bindings
|
||||
Reference in New Issue
Block a user