mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 07:33:34 +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"
|
||||
|
||||
@@ -261,6 +261,7 @@
|
||||
/obj/item/clothing/glasses/sunglasses)
|
||||
cost = 450
|
||||
containername = "sunglasses crate"
|
||||
|
||||
/datum/supply_packs/misc/randomised
|
||||
var/num_contained = 3 //number of items picked to be contained in a randomised crate
|
||||
contains = list(/obj/item/clothing/head/collectable/chef,
|
||||
@@ -292,6 +293,11 @@
|
||||
manifest += "Contains any [num_contained] of:"
|
||||
..()
|
||||
|
||||
/datum/supply_packs/misc/randomised/plushie
|
||||
name = "Collectable Plushies Crate"
|
||||
cost = 1000
|
||||
containername = "collectable plushies crate! Brought to you by Bass.inc!"
|
||||
contains = list(/obj/random/plushie, /obj/random/plushie, /obj/random/plushie/explosive)
|
||||
|
||||
/datum/supply_packs/misc/foamforce
|
||||
name = "Foam Force Crate"
|
||||
|
||||
Reference in New Issue
Block a user