-
-
Notifications
You must be signed in to change notification settings - Fork 681
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tonfa updates #11200
Tonfa updates #11200
Changes from 6 commits
1b99d97
c6ba26d
cb74ac4
70943b6
5be83b1
cee3817
64f1128
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -104,7 +104,7 @@ | |
transparent = TRUE | ||
|
||
/obj/item/shield/riot/attackby(obj/item/W, mob/user, params) | ||
if(istype(W, /obj/item/melee/baton)) | ||
if(istype(W, /obj/item/melee/baton) || istype(W, /obj/item/melee/tonfa)) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. should probably include /obj/item/melee/classic_baton subtypes too, no? It should clunk if I hit it with a tonfa, stunbaton, Billy club, or det baton There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'll let it work for any melee weapon that isn't sharp |
||
if(cooldown < world.time - 25) | ||
user.visible_message("<span class='warning'>[user] bashes [src] with [W]!</span>") | ||
playsound(user.loc, 'sound/effects/shieldbash.ogg', 50, 1) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
spelling