Separates affect_mob into three procs

This commit is contained in:
Kelenius
2015-03-28 19:01:51 +03:00
parent b4b635f32d
commit 30c6646671
3 changed files with 471 additions and 529 deletions

View File

@@ -78,7 +78,7 @@
//The reagents in the bottle splash all over the target, thanks for the idea Nodrak
if(reagents)
user.visible_message("<span class='notice'>The contents of the [src] splash all over [target]!</span>")
reagents.trans_to_mob(target, reagents.total_volume)
reagents.splash_mob(target, reagents.total_volume)
//Finally, smash the bottle. This kills (del) the bottle.
src.smash(target, user)