MakeSlippery made more understandable by named args tweak

Also used a max check to reduce lines of code slightly
This commit is contained in:
oranges
2016-05-21 11:39:46 +00:00
parent 3838037c97
commit f2bf80843f
7 changed files with 13 additions and 15 deletions
+2 -2
View File
@@ -182,7 +182,7 @@
else
if(istype(loc, /turf/open))
var/turf/open/tile = loc
tile.MakeSlippery(min = 5, max = 1)
tile.MakeSlippery(min_wet_time = 5, wet_time_to_add = 1)
/obj/machinery/shower/attackby(obj/item/I, mob/user, params)
@@ -492,4 +492,4 @@
/obj/structure/sink/puddle/attackby(obj/item/O, mob/user, params)
icon_state = "puddle-splash"
. = ..()
icon_state = "puddle"
icon_state = "puddle"