Merge pull request #538 from Sharkmare/patch-43

Fixing Advanced soap
This commit is contained in:
Vollybally
2019-03-17 22:11:07 -04:00
committed by GitHub
3 changed files with 6 additions and 2 deletions
+1
View File
@@ -35,6 +35,7 @@
throwforce = 0
throw_speed = 4
throw_range = 20
var/tile_clean_amount = 5
/obj/item/weapon/soap/nanotrasen
desc = "A NanoTrasen-brand bar of soap. Smells of phoron."
@@ -47,7 +47,10 @@
T.clean(src, user)
else if(istype(target,/obj/structure/sink))
to_chat(user, "<span class='notice'>You wet \the [src] in the sink.</span>")
wet()
if(tile_clean_amount)
wet(tile_clean_amount)
else
wet(5)
else
to_chat(user, "<span class='notice'>You clean \the [target.name].</span>")
target.clean_blood()
@@ -52,7 +52,7 @@
//TODO: Move Advanced soap here.
/obj/item/weapon/soap/drone
name = "Advanced Soap"
var/tile_clean_amount = 100
tile_clean_amount = 100
/obj/item/weapon/soap/drone/New()
..()