mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
The Creampie Throw Update (#17392)
* Items washing banana cream Allow common methods of cleaning to wash banana cream pie off your face. * Janiborg cream washing Janiborgs can now wash cream by running over people. * Added Creampie Overlay code When a banana cream pie hits a target mob, it applies a new overlay to the mob. This overlay can then be cleaned via soap, shower, cleaner spray, etc. * Cream Pie Throw Update When hit by a banana cream pie: Adds a creamy overlay to various mobs. Knock targets off for less than a second. Enable cleaning the overlay via soap, shower, and others means. * else fix replace unnecessary if w/ else * Revert "else fix" This reverts commit 5dc5707981f8bc312b8e3ac4ce9ab16e7f20c855. * else fix * Catch Fix Catching a thrown cream pie will no longer delete the item in your hands * Xeno State Creamy Fix Tossing a cream pie will now apply the appropriate overlay to a dead or sleeping xenomorph. Unfortunately, the xenomorph is still able to shake the cream off by switching state, and it keep pushing the wrong overlay on critical xenomorphs. * Human-only code Simplify code to affect only humanoids. * Revert "Human-only code" This reverts commit f74cb0e3af08fc0b793987ed9711dbbfd4d8561b. * Human Code Only Pls no Travis * Optimize code As requested * Bug Fix Overlay no longer unwashable when species get changed via badmin/magic/etc.
This commit is contained in:
@@ -47,4 +47,5 @@
|
||||
if(do_after(user,30, target = A))
|
||||
user.visible_message("[user] finishes wiping off the [A]!", "<span class='notice'>You finish wiping off the [A].</span>")
|
||||
A.clean_blood()
|
||||
A.wash_cream()
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user