mirror of
https://github.com/Yawn-Wider/YWPolarisVore.git
synced 2026-07-21 04:55:19 +01:00
Device and weapon
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
/obj/structure/musician/attack_hand(mob/M)
|
||||
if(!M.IsAdvancedToolUser())
|
||||
return
|
||||
|
||||
|
||||
interact(M)
|
||||
|
||||
/obj/structure/musician/proc/should_stop_playing(mob/user)
|
||||
@@ -59,7 +59,7 @@
|
||||
icon_state = "piano"
|
||||
|
||||
// YW Addition: makes it so you can move the piano using the wrench
|
||||
/obj/structure/musician/piano/attackby(obj/item/weapon/W as obj, mob/user as mob)
|
||||
/obj/structure/musician/piano/attackby(obj/item/W as obj, mob/user as mob)
|
||||
if(!W.is_wrench())
|
||||
return FALSE
|
||||
playsound(src, W.usesound, 50, 1)
|
||||
@@ -74,4 +74,4 @@
|
||||
"<span class='notice'>You [anchored ? "un" : ""]secure \the [src].</span>")
|
||||
anchored = !anchored
|
||||
update_icon()
|
||||
return TRUE
|
||||
return TRUE
|
||||
|
||||
Reference in New Issue
Block a user