mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 20:15:47 +01:00
Merge remote-tracking branch 'tgstation/master' into upstream-2025-11-29
# Conflicts: # _maps/RandomRuins/SpaceRuins/derelict_sulaco.dmm # _maps/RandomRuins/SpaceRuins/garbagetruck2.dmm # _maps/map_files/CatwalkStation/CatwalkStation_2023.dmm # _maps/map_files/tramstation/tramstation.dmm # code/_onclick/hud/new_player.dm # code/datums/components/squashable.dm # code/datums/diseases/advance/symptoms/heal.dm # code/datums/diseases/chronic_illness.dm # code/datums/status_effects/buffs.dm # code/datums/status_effects/debuffs/drunk.dm # code/datums/status_effects/debuffs/stamcrit.dm # code/game/machinery/computer/crew.dm # code/game/objects/items/devices/scanners/health_analyzer.dm # code/game/objects/items/wall_mounted.dm # code/game/turfs/closed/indestructible.dm # code/modules/admin/view_variables/filterrific.dm # code/modules/antagonists/heretic/influences.dm # code/modules/cargo/orderconsole.dm # code/modules/client/preferences.dm # code/modules/events/space_vines/vine_mutations.dm # code/modules/mob/dead/new_player/new_player.dm # code/modules/mob/living/carbon/human/death.dm # code/modules/mob/living/carbon/human/species_types/jellypeople.dm # code/modules/mob/living/damage_procs.dm # code/modules/mob/living/living.dm # code/modules/mob_spawn/ghost_roles/mining_roles.dm # code/modules/mob_spawn/mob_spawn.dm # code/modules/projectiles/ammunition/energy/laser.dm # code/modules/projectiles/guns/ballistic/launchers.dm # code/modules/projectiles/guns/energy/laser.dm # code/modules/reagents/chemistry/machinery/chem_dispenser.dm # code/modules/reagents/chemistry/reagents/cat2_medicine_reagents.dm # code/modules/reagents/chemistry/reagents/drinks/alcohol_reagents.dm # code/modules/reagents/chemistry/reagents/medicine_reagents.dm # code/modules/surgery/healing.dm # code/modules/unit_tests/designs.dm # icons/mob/inhands/items_lefthand.dmi # icons/mob/inhands/items_righthand.dmi # tgui/packages/tgui/interfaces/ChemDispenser.tsx
This commit is contained in:
@@ -118,7 +118,7 @@
|
||||
clicked_atom = get_turf_in_angle(tackle_angle, get_turf(user), min_distance)
|
||||
|
||||
user.Knockdown(base_knockdown, ignore_canstun = TRUE)
|
||||
user.adjustStaminaLoss(stamina_cost)
|
||||
user.adjust_stamina_loss(stamina_cost)
|
||||
user.throw_at(clicked_atom, range, speed, user, FALSE)
|
||||
addtimer(CALLBACK(src, PROC_REF(resetTackle)), base_knockdown, TIMER_STOPPABLE)
|
||||
return(COMSIG_MOB_CANCEL_CLICKON)
|
||||
@@ -470,11 +470,11 @@
|
||||
|
||||
if(human_sacker.mob_mood.sanity_level == SANITY_LEVEL_INSANE) //I've gone COMPLETELY INSANE
|
||||
attack_mod += 15
|
||||
human_sacker.adjustStaminaLoss(100) //AHAHAHAHAHAHAHAHA
|
||||
human_sacker.adjust_stamina_loss(100) //AHAHAHAHAHAHAHAHA
|
||||
|
||||
if(HAS_TRAIT(human_sacker, TRAIT_BRAWLING_KNOCKDOWN_BLOCKED)) // tackling with riot specialized armor, like riot armor, is effective but tiring
|
||||
attack_mod += 2
|
||||
human_sacker.adjustStaminaLoss(20)
|
||||
human_sacker.adjust_stamina_loss(20)
|
||||
|
||||
var/randomized_tackle_roll = rand(-3, 3) - defense_mod + attack_mod + skill_mod
|
||||
return randomized_tackle_roll
|
||||
@@ -626,7 +626,7 @@
|
||||
embed.ignore_throwspeed_threshold = initial(embed.ignore_throwspeed_threshold)
|
||||
embed.impact_pain_mult = initial(embed.impact_pain_mult)
|
||||
windscreen_casualty.atom_destruction()
|
||||
user.adjustStaminaLoss(10 * speed)
|
||||
user.adjust_stamina_loss(10 * speed)
|
||||
user.Paralyze(3 SECONDS)
|
||||
user.visible_message(span_danger("[user] smacks into [windscreen_casualty] and shatters it, shredding [user.p_them()]self with glass!"), span_userdanger("You smacks into [windscreen_casualty] and shatter it, shredding yourself with glass!"))
|
||||
|
||||
@@ -635,8 +635,8 @@
|
||||
user.Paralyze(1 SECONDS)
|
||||
user.Knockdown(3 SECONDS)
|
||||
windscreen_casualty.take_damage(30 * speed)
|
||||
user.adjustStaminaLoss(10 * speed, updating_stamina=FALSE)
|
||||
user.adjustBruteLoss(5 * speed)
|
||||
user.adjust_stamina_loss(10 * speed, updating_stamina=FALSE)
|
||||
user.adjust_brute_loss(5 * speed)
|
||||
|
||||
/datum/component/tackler/proc/delayedSmash(obj/structure/window/windscreen_casualty)
|
||||
if(windscreen_casualty)
|
||||
@@ -680,8 +680,8 @@
|
||||
HOW_big_of_a_miss_did_we_just_make = ", making a ginormous mess!" // an extra exclamation point!! for emphasis!!!
|
||||
|
||||
owner.visible_message(span_danger("[owner] trips over [kevved] and slams into it face-first[HOW_big_of_a_miss_did_we_just_make]!"), span_userdanger("You trip over [kevved] and slam into it face-first[HOW_big_of_a_miss_did_we_just_make]!"))
|
||||
owner.adjustStaminaLoss(15 + messes.len * 2, updating_stamina = FALSE)
|
||||
owner.adjustBruteLoss(8 + messes.len, updating_health = FALSE)
|
||||
owner.adjust_stamina_loss(15 + messes.len * 2, updating_stamina = FALSE)
|
||||
owner.adjust_brute_loss(8 + messes.len, updating_health = FALSE)
|
||||
owner.Paralyze(0.4 SECONDS * messes.len) // .4 seconds of paralyze for each thing you knock around
|
||||
owner.Knockdown(2 SECONDS + 0.4 SECONDS * messes.len) // 2 seconds of knockdown after the paralyze
|
||||
owner.updatehealth()
|
||||
|
||||
Reference in New Issue
Block a user