Merge pull request #7162 from Firecage/monkey_dexterity_message

Gives the monkey dexterity message to some stuff.
This commit is contained in:
tkdrg
2015-01-21 15:35:29 -03:00
3 changed files with 14 additions and 0 deletions
+6
View File
@@ -323,8 +323,14 @@
..()
/obj/structure/piano/attack_hand(mob/user as mob)
if(!user.IsAdvancedToolUser())
user << "<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())
user << "<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>"