mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 01:34:01 +00:00
Having a strongarm installed into each arm lets you pry open airlocks (#89509)
## About The Pull Request Using the organ set bonus system, having a Strongarm implant inserted into each of your arms lets you pry open airlocks. ## Why It's Good For The Game People don't often like getting these, since they're out of cargo and not terribly exciting for the effort. To incentivize getting both installed and add a bit of a thematic advantage if you do so, they provide the very useful benefit of door prying ~~which may or may not get you killed by security because you won't stop opening high-security airlocks~~. Engineers will love it! (Also I want to expand the set bonus stuff beyond just infusions since I think these kinds of interactions could be quite neat) ## Changelog 🆑 balance: Having a strongarm implant installed into each arm now allows you to pry open doors. /🆑 --------- Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
This commit is contained in:
@@ -405,9 +405,14 @@
|
||||
/obj/item/knife/combat/cyborg,
|
||||
)
|
||||
|
||||
#define DOAFTER_SOURCE_STRONGARM_INTERACTION "strongarm interaction"
|
||||
|
||||
// Strong-Arm Implant //
|
||||
|
||||
/obj/item/organ/cyberimp/arm/strongarm
|
||||
name = "\proper Strong-Arm empowered musculature implant"
|
||||
desc = "When implanted, this cybernetic implant will enhance the muscles of the arm to deliver more power-per-action."
|
||||
desc = "When implanted, this cybernetic implant will enhance the muscles of the arm to deliver more power-per-action. Install one in each arm \
|
||||
to pry open doors with your bare hands!"
|
||||
icon_state = "muscle_implant"
|
||||
|
||||
zone = BODY_ZONE_R_ARM
|
||||
@@ -441,6 +446,10 @@
|
||||
/obj/item/organ/cyberimp/arm/strongarm/l
|
||||
zone = BODY_ZONE_L_ARM
|
||||
|
||||
/obj/item/organ/cyberimp/arm/strongarm/Initialize(mapload)
|
||||
. = ..()
|
||||
AddElement(/datum/element/organ_set_bonus, /datum/status_effect/organ_set_bonus/strongarm)
|
||||
|
||||
/obj/item/organ/cyberimp/arm/strongarm/on_mob_insert(mob/living/carbon/arm_owner)
|
||||
. = ..()
|
||||
if(ishuman(arm_owner)) //Sorry, only humans
|
||||
@@ -534,3 +543,21 @@
|
||||
COOLDOWN_START(src, slam_cooldown, slam_cooldown_duration)
|
||||
|
||||
return COMPONENT_CANCEL_ATTACK_CHAIN
|
||||
|
||||
/datum/status_effect/organ_set_bonus/strongarm
|
||||
id = "organ_set_bonus_strongarm"
|
||||
organs_needed = 2
|
||||
bonus_activate_text = span_notice("Your improved arms allow you to open airlocks by force with your bare hands!")
|
||||
bonus_deactivate_text = span_notice("You can no longer force open airlocks with your bare hands.")
|
||||
|
||||
/datum/status_effect/organ_set_bonus/strongarm/enable_bonus()
|
||||
. = ..()
|
||||
if(!.)
|
||||
return
|
||||
owner.AddElement(/datum/element/door_pryer, pry_time = 6 SECONDS, interaction_key = DOAFTER_SOURCE_STRONGARM_INTERACTION)
|
||||
|
||||
/datum/status_effect/organ_set_bonus/strongarm/disable_bonus()
|
||||
. = ..()
|
||||
owner.RemoveElement(/datum/element/door_pryer, pry_time = 6 SECONDS, interaction_key = DOAFTER_SOURCE_STRONGARM_INTERACTION)
|
||||
|
||||
#undef DOAFTER_SOURCE_STRONGARM_INTERACTION
|
||||
|
||||
Reference in New Issue
Block a user