mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-02-09 07:49:09 +00:00
## About The Pull Request This sprite file had been a dumping ground for miscellaneous sprites for the past decade. It's bloated and full of random kinds of icons and even has a few unused ones. It's time to reorganize them into their own separate dmi's based on theme. ## Why It's Good For The Game Better organization and easier access when looking for stuff. ## Changelog 🆑 imageadd: Split all icons in weapons_and_items.dmi to their own categories imagedel: Removed some unused icons /🆑
37 lines
1.1 KiB
Plaintext
37 lines
1.1 KiB
Plaintext
/**
|
|
* Pitchfork item
|
|
*
|
|
* Essentially spears with different stats and sprites.
|
|
* Also fireproof for some reason.
|
|
*/
|
|
/obj/item/pitchfork
|
|
icon = 'icons/obj/weapons/spear.dmi'
|
|
icon_state = "pitchfork0"
|
|
base_icon_state = "pitchfork"
|
|
lefthand_file = 'icons/mob/inhands/weapons/polearms_lefthand.dmi'
|
|
righthand_file = 'icons/mob/inhands/weapons/polearms_righthand.dmi'
|
|
name = "pitchfork"
|
|
desc = "A simple tool used for moving hay."
|
|
force = 7
|
|
throwforce = 15
|
|
w_class = WEIGHT_CLASS_BULKY
|
|
attack_verb_continuous = list("attacks", "impales", "pierces")
|
|
attack_verb_simple = list("attack", "impale", "pierce")
|
|
hitsound = 'sound/weapons/bladeslice.ogg'
|
|
sharpness = SHARP_EDGED
|
|
max_integrity = 200
|
|
armor_type = /datum/armor/item_pitchfork
|
|
resistance_flags = FIRE_PROOF
|
|
|
|
/datum/armor/item_pitchfork
|
|
fire = 100
|
|
acid = 30
|
|
|
|
/obj/item/pitchfork/Initialize(mapload)
|
|
. = ..()
|
|
AddComponent(/datum/component/two_handed, force_unwielded=7, force_wielded=15, icon_wielded="[base_icon_state]1")
|
|
|
|
/obj/item/pitchfork/update_icon_state()
|
|
icon_state = "[base_icon_state]0"
|
|
return ..()
|