Files
Bubberstation/code/game/objects/items/stacks/tape.dm
SkyratBot 2183c415ab [MIRROR] Nerfs bone wounds to make them less miserable (#8245)
* Nerfs bone wounds to make them less miserable (#61196)

So I've always kinda known that bone wounds are unpleasant to receive, but since paying some closer attention to how they affect peoples rounds in the last few months, I've realized that they need to be reigned in some more. So, let's break down the big changes...
General bone wound nerfs

Limping on a busted leg is now a chance with each step of that leg, instead of always happening: No matter how small the delay added to your move time after each step (like if it was just a dislocation), and even with slings, bone wounds on your leg crippled you with the constant slowdown, because they happened every time you stepped on that leg. Now, the chance to limp on any given step with that leg is higher with worse wounds, and applying a sling to that leg further lowers that chance, as well as lowering the delay from that limp. A dislocated leg, for example, only limps 30% of the time, while a compound fracture limps 70% of the time.

Skeletons and plasmamen (aka carbons with no flesh) can now use bone gel directly on cracked limbs to fix them, in 1/4th the time it takes the normal bone gel + surgical tape improvised fix to heal them, and with none of the damage. I felt bad that the ability for skeletons to stick dismembered limbs back into their slots was destroyed because the limbs would be critically wounded already, and still useless. Now, skeletons and plasmamen can be treated with just bone gel and some time. At some point after this is merged, someone should give the pirate ship some free bone gel.

The speed of the improvised bone gel + surgical fix for broken bones is even further improved by laying down and by sleeping than it was before, meaning the improvised fixes can be cut down further by laying down for a bit while it works.

Makes bone wounds less obnoxious, reducing their ability to single-handedly ruin your round when you suffer one. I want to go further in the future and add an easier improvised fix for hairline fractures soon, but those changes can come later after these are merged.

* Nerfs bone wounds to make them less miserable

Co-authored-by: Ryll Ryll <3589655+Ryll-Ryll@users.noreply.github.com>
2021-09-18 15:05:19 +01:00

109 lines
3.8 KiB
Plaintext

/obj/item/stack/sticky_tape
name = "sticky tape"
singular_name = "sticky tape"
desc = "Used for sticking to things for sticking said things to people."
icon = 'icons/obj/tapes.dmi'
icon_state = "tape_w"
var/prefix = "sticky"
w_class = WEIGHT_CLASS_TINY
full_w_class = WEIGHT_CLASS_TINY
item_flags = NOBLUDGEON
amount = 5
max_amount = 5
resistance_flags = FLAMMABLE
grind_results = list(/datum/reagent/cellulose = 5)
splint_factor = 0.65
merge_type = /obj/item/stack/sticky_tape
var/list/conferred_embed = EMBED_HARMLESS
/obj/item/stack/sticky_tape/afterattack(obj/item/target, mob/living/user, proximity)
if(!proximity)
return
if(!istype(target))
return
//SKYRAT EDIT ADDITION
if(istype(target, /obj/item/clothing/shoes/combat/peacekeeper))
var/obj/item/clothing/shoes/combat/peacekeeper/boot = target
var/datum/component/squeak/annoyance = boot.GetComponent(/datum/component/squeak)
if(!annoyance)
to_chat(user, "<span class='notice'>[src] have already been silenced!")
return
if(do_after(user, 30, target=boot))
if(use(5))
to_chat(user, "<span class='notice'>You tape [src] tightly together, reducing the sound they make as you walk.</span>")
qdel(annoyance)
return
else
to_chat(user, "<span class='notice'>[src] does not have enough tape in it!</span>")
return
//SKYRAT EDIT END
if(target.embedding && target.embedding == conferred_embed)
to_chat(user, span_warning("[target] is already coated in [src]!"))
return
user.visible_message(span_notice("[user] begins wrapping [target] with [src]."), span_notice("You begin wrapping [target] with [src]."))
if(do_after(user, 3 SECONDS, target=target))
use(1)
if(istype(target, /obj/item/clothing/gloves/fingerless))
var/obj/item/clothing/gloves/tackler/offbrand/O = new /obj/item/clothing/gloves/tackler/offbrand
to_chat(user, span_notice("You turn [target] into [O] with [src]."))
QDEL_NULL(target)
user.put_in_hands(O)
return
if(target.embedding && target.embedding == conferred_embed)
to_chat(user, span_warning("[target] is already coated in [src]!"))
return
target.embedding = conferred_embed
target.updateEmbedding()
to_chat(user, span_notice("You finish wrapping [target] with [src]."))
target.name = "[prefix] [target.name]"
if(istype(target, /obj/item/grenade))
var/obj/item/grenade/sticky_bomb = target
sticky_bomb.sticky = TRUE
/obj/item/stack/sticky_tape/super
name = "super sticky tape"
singular_name = "super sticky tape"
desc = "Quite possibly the most mischevious substance in the galaxy. Use with extreme lack of caution."
icon_state = "tape_y"
prefix = "super sticky"
conferred_embed = EMBED_HARMLESS_SUPERIOR
splint_factor = 0.4
merge_type = /obj/item/stack/sticky_tape/super
/obj/item/stack/sticky_tape/pointy
name = "pointy tape"
singular_name = "pointy tape"
desc = "Used for sticking to things for sticking said things inside people."
icon_state = "tape_evil"
prefix = "pointy"
conferred_embed = EMBED_POINTY
merge_type = /obj/item/stack/sticky_tape/pointy
/obj/item/stack/sticky_tape/pointy/super
name = "super pointy tape"
singular_name = "super pointy tape"
desc = "You didn't know tape could look so sinister. Welcome to Space Station 13."
icon_state = "tape_spikes"
prefix = "super pointy"
conferred_embed = EMBED_POINTY_SUPERIOR
merge_type = /obj/item/stack/sticky_tape/pointy/super
/obj/item/stack/sticky_tape/surgical
name = "surgical tape"
singular_name = "surgical tape"
desc = "Made for patching broken bones back together alongside bone gel, not for playing pranks."
//icon_state = "tape_spikes"
prefix = "surgical"
conferred_embed = list("embed_chance" = 30, "pain_mult" = 0, "jostle_pain_mult" = 0, "ignore_throwspeed_threshold" = TRUE)
splint_factor = 0.5
custom_price = PAYCHECK_MEDIUM
merge_type = /obj/item/stack/sticky_tape/surgical