Refactors slipping to be completely general for items

This commit is contained in:
Crazylemon64
2017-07-16 19:20:55 -07:00
parent 12317a77b9
commit a8e7716649
13 changed files with 90 additions and 53 deletions
+5 -4
View File
@@ -38,10 +38,11 @@
desc = "A portable microcomputer by Thinktronic Systems, LTD. The surface is coated with polytetrafluoroethylene and banana drippings."
ttone = "honk"
/obj/item/device/pda/clown/Crossed(AM as mob|obj) //Clown PDA is slippery.
if(istype(AM, /mob/living/carbon))
var/mob/living/carbon/M = AM
M.slip("pda", 8, 5, 0, 1)
trip_stun = 8
trip_weaken = 5
trip_bonus = 100
trip_walksafe = TRUE
trip_verb = TV_SLIP
/obj/item/device/pda/mime
default_cartridge = /obj/item/weapon/cartridge/mime