mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-01-19 22:03:57 +00:00
Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
30 lines
1006 B
Plaintext
30 lines
1006 B
Plaintext
/obj/item/material/twohanded/baseballbat
|
|
name = "bat"
|
|
desc = "HOME RUN!"
|
|
icon_state = "metalbat0"
|
|
base_icon = "metalbat"
|
|
throwforce = 7
|
|
attack_verb = list("smashed", "beaten", "slammed", "smacked", "struck", "battered", "bonked")
|
|
hitsound = 'sound/weapons/genhit3.ogg'
|
|
default_material = MAT_WOOD
|
|
force_divisor = 1.1 // 22 when wielded with weight 20 (steel)
|
|
unwielded_force_divisor = 0.7 // 15 when unwielded based on above.
|
|
dulled_divisor = 0.75 // A "dull" bat is still gonna hurt
|
|
slot_flags = SLOT_BACK
|
|
|
|
//Predefined materials go here.
|
|
/obj/item/material/twohanded/baseballbat/metal/New(var/newloc)
|
|
..(newloc,MAT_STEEL)
|
|
|
|
/obj/item/material/twohanded/baseballbat/uranium/New(var/newloc)
|
|
..(newloc,MAT_URANIUM)
|
|
|
|
/obj/item/material/twohanded/baseballbat/gold/New(var/newloc)
|
|
..(newloc,MAT_GOLD)
|
|
|
|
/obj/item/material/twohanded/baseballbat/platinum/New(var/newloc)
|
|
..(newloc,MAT_PLATINUM)
|
|
|
|
/obj/item/material/twohanded/baseballbat/diamond/New(var/newloc)
|
|
..(newloc,MAT_DIAMOND)
|