mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-20 06:32:56 +00:00
* 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>
20 lines
811 B
Plaintext
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
|