mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 15:45:25 +01:00
Adds an orderable random plushies crate for 1000 credits (#21878)
* ok one second I gotta do something else * Okay we ball * Okay we are stealthier now * Does this work? I have no idea. * So cloooose * I don't know what the fuck I am doing * IT WOOOOOOORKS * Contra reviews * oops * Contra review * Now it actually works
This commit is contained in:
@@ -594,6 +594,19 @@
|
||||
/obj/random/plushie/item_to_spawn()
|
||||
return pick(subtypesof(/obj/item/toy/plushie) - typesof(/obj/item/toy/plushie/fluff) - typesof(/obj/item/toy/plushie/carpplushie)) //exclude the base type.
|
||||
|
||||
/obj/random/plushie/explosive
|
||||
var/explosive_chance = 1 // 1% to spawn a blahbomb!
|
||||
|
||||
/obj/random/plushie/explosive/spawn_item()
|
||||
var/obj/item/toy/plushie/plushie = ..()
|
||||
if(!prob(explosive_chance))
|
||||
return plushie
|
||||
var/obj/item/I = new /obj/item/grenade/syndieminibomb
|
||||
plushie.has_stuffing = FALSE
|
||||
plushie.grenade = I
|
||||
I.forceMove(plushie)
|
||||
return plushie
|
||||
|
||||
/obj/item/toy/plushie/corgi
|
||||
name = "corgi plushie"
|
||||
icon_state = "corgi"
|
||||
|
||||
Reference in New Issue
Block a user