[MIRROR] the fortunate cookie drop the future [MDB IGNORE] (#22370)

* the fortunate cookie drop the future (#76725)

## About The Pull Request
## Why It's Good For The Game
the fortunate cookie was dropped a blank paper but now he will drop the
future and he will dont drop a empty paper anymore.

## Changelog
the fortunate cookie was dont working because he was dropped a empty
paper but he will now dropped the future letter to tell the eater his
future.

🆑
fix: the fortunate cookie dont dropped a empty paper anymore.
/🆑

* the fortunate cookie drop the future

---------

Co-authored-by: Ben10Omintrix <138636438+Ben10Omintrix@users.noreply.github.com>
This commit is contained in:
SkyratBot
2023-07-11 18:08:26 -04:00
committed by GitHub
co-authored by Ben10Omintrix
parent 67d4bcee44
commit 3fe84d2df1
2 changed files with 9 additions and 5 deletions
+2 -5
View File
@@ -135,7 +135,7 @@
name = "fortune cookie"
desc = "A true prophecy in each cookie!"
icon_state = "fortune_cookie"
trash_type = /obj/item/paper/paperslip
trash_type = /obj/item/paper/paperslip/fortune
food_reagents = list(/datum/reagent/consumable/nutriment = 5)
tastes = list("cookie" = 1)
foodtypes = GRAIN | SUGAR
@@ -152,11 +152,8 @@
return fortune
// Otherwise, use a generic one
var/obj/item/paper/paperslip/fortune_slip = new trash_type(drop_location)
fortune_slip.name = "fortune slip"
var/obj/item/paper/paperslip/fortune/fortune_slip = new trash_type(drop_location)
// if someone adds lottery tickets in the future, be sure to add random numbers to this
fortune_slip.default_raw_text = pick(GLOB.wisdoms)
return fortune_slip
/obj/item/food/fortunecookie/make_leave_trash()
+7
View File
@@ -202,6 +202,13 @@
righthand_file = 'icons/mob/inhands/equipment/idcards_righthand.dmi'
grind_results = list(/datum/reagent/cellulose = 1.5) //It's a normal paper sheet divided in 2. 3 divided by 2 equals 1.5, this way you can't magically dupe cellulose
/obj/item/paper/paperslip/fortune
name = "fortune slip"
/obj/item/paper/paperslip/fortune/Initialize(mapload)
default_raw_text = pick(GLOB.wisdoms)
return ..()
/obj/item/paper/paperslip/corporate //More fancy and sturdy paper slip which is a "plastic card", used for things like spare ID safe code
name = "corporate plastic card"
desc = "A plastic card for confidential corporate matters. Can be written on with pen somehow."