mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
Alt PKA balance pass (#5253)
## About The Pull Request Tweaks the alt-PKA damage values to accomodate for the fact some of them fire in special ways, or fire more projectiles The shockwave is now no longer able to fit any variant of an AOE mod, to stop people from one-shotting everything, The shotgun damage has been reduced as well, making up for the fact it fires three shots. Comments have been added for the existing variants explaining the reasoning for their current damage level. Adds a new var for restricted MOD types, allowing for other pkas having this added in the future. ## Why It's Good For The Game It is not fun for other miners when someone three shots a boss they havent even had a chance to think about yet. ## Proof Of Testing <details> <summary>Screenshots/Videos</summary> # change </details> ## Changelog 🆑 balance: rebalanced PKA-Alts fix: the shockwave PKA can no longer attach AOE kits. /🆑 --------- Co-authored-by: Roxy <94389951+SapphoQueer@users.noreply.github.com>
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
///The max capacity of modkits the PKA can have installed at once.
|
||||
var/max_mod_capacity = 100
|
||||
var/disablemodification = FALSE // Bubber edit, stops removal and addition of mods.
|
||||
var/disabled_modkits // BUBBER EDIT - ADDITION - Additional var to handle certain modkits being disallwoed on specific PKAs
|
||||
|
||||
|
||||
/obj/item/gun/energy/recharge/kinetic_accelerator/add_bayonet_point()
|
||||
@@ -344,11 +345,14 @@
|
||||
|
||||
if(KA.get_remaining_mod_capacity() >= cost)
|
||||
if(.)
|
||||
if(transfer_to_loc && !user.transferItemToLoc(src, KA))
|
||||
return
|
||||
to_chat(user, span_notice("You install the modkit."))
|
||||
playsound(loc, 'sound/items/tools/screwdriver.ogg', 100, TRUE)
|
||||
KA.modkits |= src
|
||||
if(!is_type_in_list(src, KA.disabled_modkits)) // BUBBER EDIT - ADDITION - If statement to check if this modkit is disabled on this PKA
|
||||
if(transfer_to_loc && !user.transferItemToLoc(src, KA))
|
||||
return
|
||||
to_chat(user, span_notice("You install the modkit."))
|
||||
playsound(loc, 'sound/items/tools/screwdriver.ogg', 100, TRUE)
|
||||
KA.modkits |= src
|
||||
else
|
||||
to_chat(user, span_notice("The modkit cannot be installed on this model of kinetic accelerator.")) // BUBBER EDIT - ADDITION - END
|
||||
else
|
||||
to_chat(user, span_notice("The modkit you're trying to install would conflict with an already installed modkit. Remove existing modkits first."))
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user