Files
Bubberstation/code/datums/quirks/negative_quirks/poor_aim.dm
SkyratBot c83ac65e63 [MIRROR] Breaks up the three quirk code files into individual quirks [MDB IGNORE] (#23781)
* Breaks up the three quirk code files into individual quirks

* Removals + skyrat edits

* Delete positive_quirks.dm

* Update tgstation.dme

---------

Co-authored-by: Thunder12345 <Thunder12345@users.noreply.github.com>
Co-authored-by: Pinta <68373373+softcerv@users.noreply.github.com>
Co-authored-by: Giz <13398309+vinylspiders@users.noreply.github.com>
2023-09-18 17:19:28 -04:00

20 lines
811 B
Plaintext

/datum/quirk/poor_aim
name = "Stormtrooper Aim"
desc = "You've never hit anything you were aiming for in your life."
icon = FA_ICON_BULLSEYE
value = -4
medical_record_text = "Patient possesses a strong tremor in both hands."
hardcore_value = 3
mail_goodies = list(/obj/item/cardboard_cutout) // for target practice
/datum/quirk/poor_aim/add(client/client_source)
RegisterSignal(quirk_holder, COMSIG_MOB_FIRED_GUN, PROC_REF(on_mob_fired_gun))
/datum/quirk/poor_aim/remove(client/client_source)
UnregisterSignal(quirk_holder, COMSIG_MOB_FIRED_GUN)
/datum/quirk/poor_aim/proc/on_mob_fired_gun(mob/user, obj/item/gun/gun_fired, target, params, zone_override, list/bonus_spread_values)
SIGNAL_HANDLER
bonus_spread_values[MIN_BONUS_SPREAD_INDEX] += 10
bonus_spread_values[MAX_BONUS_SPREAD_INDEX] += 35