Adds the Short Stacker

This commit is contained in:
Heroman
2024-02-11 19:08:49 +10:00
parent 011f8c10e9
commit 55fe8e1657
2 changed files with 20 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
/obj/item/weapon/squishhammer
name = "The Short Stacker"
desc = "Wield the power of this weapon with responsibility (God knows you won't)."
icon = 'icons/obj/items.dmi'
icon_state = "toyhammer"
attack_verb = list("stacked")
force = 0
throwforce = 0
// Attack mob
/obj/item/weapon/squishhammer/attack(mob/M as mob, mob/user as mob)
var/is_squished = M.tf_scale_x || M.tf_scale_y
playsound(src, 'sound/items/hooh.ogg', 50, 1)
if(!is_squished)
M.SetTransform(null, (M.size_multiplier * 1.2), (M.size_multiplier * 0.5))
else
M.ClearTransform()
M.update_transform()
return ..()