mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-20 11:40:07 +01:00
[MIRROR] Add wisdom text to fortune cookies [MDB IGNORE] (#15728)
* Add wisdom text to fortune cookies (#69235) * Add wisdom text to fortune cookies Co-authored-by: Tim <timothymtorres@gmail.com>
This commit is contained in:
@@ -116,7 +116,7 @@
|
||||
name = "fortune cookie"
|
||||
desc = "A true prophecy in each cookie!"
|
||||
icon_state = "fortune_cookie"
|
||||
trash_type = /obj/item/paper
|
||||
trash_type = /obj/item/paperslip
|
||||
food_reagents = list(/datum/reagent/consumable/nutriment = 5)
|
||||
tastes = list("cookie" = 1)
|
||||
foodtypes = GRAIN | SUGAR
|
||||
@@ -131,9 +131,14 @@
|
||||
if (fortune)
|
||||
fortune.forceMove(drop_location)
|
||||
return fortune
|
||||
// Otherwise, make a blank page.
|
||||
var/out_paper = new trash_type(drop_location)
|
||||
return out_paper
|
||||
|
||||
// Otherwise, use a generic one
|
||||
var/obj/item/paperslip/fortune_slip = new trash_type(drop_location)
|
||||
fortune_slip.name = "fortune slip"
|
||||
// if someone adds lottery tickets in the future, be sure to add random numbers to this
|
||||
fortune_slip.desc = pick(GLOB.wisdoms)
|
||||
|
||||
return fortune_slip
|
||||
|
||||
/obj/item/food/fortunecookie/MakeLeaveTrash()
|
||||
if(trash_type)
|
||||
|
||||
Reference in New Issue
Block a user