mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 07:08:00 +01:00
You can now dig through sofa pillows (#727)
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
/// Looking through pillows on sofas when rightclicked
|
||||
/obj/structure/chair/sofa/attack_hand_secondary(mob/user, list/modifiers)
|
||||
if(!ishuman(user) || !user.ckey)
|
||||
return ..()
|
||||
balloon_alert(user, "Searching under pillows...")
|
||||
to_chat(user, span_alert("You start scouring through the sofa's pillows...."))
|
||||
if(do_after(user, 10 SECONDS, src))
|
||||
if(prob(10))
|
||||
balloon_alert(user, "Found something")
|
||||
if(prob(1))
|
||||
var/datum/effect_system/spark_spread/quantum/sparks = new
|
||||
sparks.set_up(5, 1, loc)
|
||||
new /obj/item/disk/nuclear/fake(loc)
|
||||
else
|
||||
// New epic way of making money. Totally
|
||||
new /obj/item/coin/iron(loc)
|
||||
else
|
||||
balloon_alert(user, "Nothing")
|
||||
@@ -7925,6 +7925,7 @@
|
||||
#include "modular_zubbers\code\game\objects\items\storage\boxes.dm"
|
||||
#include "modular_zubbers\code\game\objects\items\storage\guncases.dm"
|
||||
#include "modular_zubbers\code\game\objects\structures\trash_pile.dm"
|
||||
#include "modular_zubbers\code\game\objects\structures\beds_chairs\sofa.dm"
|
||||
#include "modular_zubbers\code\game\objects\structures\plaques\static_plaques.dm"
|
||||
#include "modular_zubbers\code\game\traits\negative.dm"
|
||||
#include "modular_zubbers\code\game\traits\neutral.dm"
|
||||
|
||||
Reference in New Issue
Block a user