mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-23 16:42:13 +00:00
12 lines
458 B
Plaintext
12 lines
458 B
Plaintext
/obj/item/weapon
|
|
name = "weapon"
|
|
icon = 'icons/obj/weapons.dmi'
|
|
hitsound = "swing_hit"
|
|
|
|
//Called when the user alt-clicks on something with this item in their active hand
|
|
//this function is designed to be overridden by individual weapons
|
|
/obj/item/weapon/proc/alt_attack(var/atom/target, var/mob/user)
|
|
return 1
|
|
//A return value of 1 continues on to do the normal alt-click action.
|
|
//A return value of 0 does not continue, and will not do the alt-click
|