Gives the monkey dexterity message to some stuff.

This commit is contained in:
Firecage
2015-01-18 11:48:53 +02:00
parent 8a61d11e2e
commit 950bc17c23
3 changed files with 14 additions and 0 deletions
@@ -19,6 +19,9 @@
..()
/obj/item/device/violin/attack_self(mob/user as mob)
if(!user.IsAdvancedToolUser())
usr << "<span class='danger'>You don't have the dexterity to do this!</span>"
return 1
interact(user)
/obj/item/device/violin/interact(mob/user as mob)
+6
View File
@@ -323,8 +323,14 @@
..()
/obj/structure/piano/attack_hand(mob/user as mob)
if(!user.IsAdvancedToolUser())
usr << "<span class='danger'>You don't have the dexterity to do this!</span>"
return 1
interact(user)
/obj/structure/piano/attack_paw(mob/user as mob)
return src.attack_hand(user)
/obj/structure/piano/interact(mob/user as mob)
if(!user || !anchored)
return
@@ -31,8 +31,13 @@
if(1 to 4) overlays += "plasma-[plasmatanks]"
if(5 to INFINITY) overlays += "plasma-5"
/obj/structure/dispenser/attack_paw(mob/user as mob)
return src.attack_hand(user)
/obj/structure/dispenser/attack_hand(mob/user as mob)
if(!user.IsAdvancedToolUser())
usr << "<span class='danger'>You don't have the dexterity to do this!</span>"
return 1
user.set_machine(src)
var/dat = "[src]<br><br>"
dat += "Oxygen tanks: [oxygentanks] - [oxygentanks ? "<A href='?src=\ref[src];oxygen=1'>Dispense</A>" : "empty"]<br>"