Skip to content

Commit

Permalink
thanksgiving
Browse files Browse the repository at this point in the history
  • Loading branch information
morrowwolf committed Nov 23, 2023
1 parent a883027 commit b884060
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
10 changes: 10 additions & 0 deletions code/modules/cm_marines/equipment/gear.dm
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,16 @@
reagents.add_reagent("sugar", 9)
bitesize = 8

/obj/item/reagent_container/food/snacks/mre_pack/thanksgiving
name = "\improper USCM Prepared Meal (turkey)"
desc = "A tray of standard USCM food. A few slices of turkey and some regenerated mashed potatos with a rather viscous gravy on top. A classic, if rather half-hearted, Thanksgiving meal."
icon_state = "MREe"

/obj/item/reagent_container/food/snacks/mre_pack/thanksgiving/Initialize()
. = ..()
reagents.add_reagent("nutriment", 10)
bitesize = 3

/obj/item/storage/box/pizza
name = "food delivery box"
desc = "A space-age food storage device, capable of keeping food extra fresh. Actually, it's just a box."
Expand Down
21 changes: 21 additions & 0 deletions code/modules/holidays/thanskgiving/decorators.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/datum/game_decorator/thanksgiving

/datum/game_decorator/thanksgiving/is_active_decor()
return (text2num(time2text(world.timeofday, "MM")) == 11) && (text2num(time2text(world.timeofday, "DD")) == 23)

/datum/game_decorator/thanksgiving/turkey_meals

/datum/game_decorator/thanksgiving/turkey_meals/decorate()
. = ..()

for(var/obj/structure/machinery/cm_vending/sorted/marine_food/cycled_food_vendor in world)
cycled_food_vendor.listed_products = list(
list("PREPARED MEALS", -1, null, null),
list("USCM Prepared Meal (Turkey)", 15, /obj/item/reagent_container/food/snacks/mre_pack/thanksgiving, VENDOR_ITEM_REGULAR),
list("USCM Protein Bar", 50, /obj/item/reagent_container/food/snacks/protein_pack, VENDOR_ITEM_REGULAR),
list("FLASKS", -1, null, null),
list("Canteen", 10, /obj/item/reagent_container/food/drinks/flask/canteen, VENDOR_ITEM_REGULAR),
list("Metal Flask", 10, /obj/item/reagent_container/food/drinks/flask, VENDOR_ITEM_REGULAR),
list("USCM Flask", 5, /obj/item/reagent_container/food/drinks/flask/marine, VENDOR_ITEM_REGULAR),
list("W-Y Flask", 5, /obj/item/reagent_container/food/drinks/flask/weylandyutani, VENDOR_ITEM_REGULAR)
)
1 change: 1 addition & 0 deletions colonialmarines.dme
Original file line number Diff line number Diff line change
Expand Up @@ -1756,6 +1756,7 @@
#include "code\modules\holidays\halloween\decorators.dm"
#include "code\modules\holidays\halloween\pumpkins\patches.dm"
#include "code\modules\holidays\halloween\pumpkins\wearable.dm"
#include "code\modules\holidays\thanskgiving\decorators.dm"
#include "code\modules\hydroponics\botany_disks.dm"
#include "code\modules\hydroponics\grown_inedible.dm"
#include "code\modules\hydroponics\hydro_tools.dm"
Expand Down

0 comments on commit b884060

Please sign in to comment.