Adjusts usages of reagent transfer procs

Adds splash() proc for futureproofing.
Replaces instances of splash_mob() with splash()
Replaces instances of trans_to() with splash() where appropriate.
This commit is contained in:
mwerezak
2015-06-10 00:03:08 -04:00
parent 72a716b66c
commit 8007d42783
10 changed files with 16 additions and 9 deletions

View File

@@ -30,7 +30,7 @@
else if(ismob(A) && !M)
M = A
if(M)
reagents.splash_mob(M, reagents.total_volume)
reagents.trans_to(M, reagents.total_volume)
break
if(T == get_turf(target))
break

View File

@@ -61,7 +61,7 @@
else if(O.reagents.total_volume >= 1)
if(O.reagents.has_reagent("pacid", 1))
user << "The acid chews through the balloon!"
O.reagents.splash_mob(user, reagents.total_volume)
O.reagents.splash(user, reagents.total_volume)
qdel(src)
else
src.desc = "A translucent balloon with some form of liquid sloshing around in it."