diff --git a/code/modules/economy/supply_packs.dm b/code/modules/economy/supply_packs.dm index a237a9f2c4fc1..4cbc7609c3abb 100644 --- a/code/modules/economy/supply_packs.dm +++ b/code/modules/economy/supply_packs.dm @@ -1122,7 +1122,8 @@ ABSTRACT_TYPE(/datum/supply_packs) contains = list(/obj/item/item_box/heartcandy, /obj/item/storage/goodybag, /obj/item/item_box/swedish_bag, - /obj/item/kitchen/peach_rings) + /obj/item/kitchen/peach_rings, + /obj/item/kitchen/gummy_worms_bag) cost = 500 containertype = /obj/storage/crate containername = "Candy Crate" diff --git a/code/modules/food_and_drink/candy.dm b/code/modules/food_and_drink/candy.dm index b0df38427cf10..9077c0c8d392e 100644 --- a/code/modules/food_and_drink/candy.dm +++ b/code/modules/food_and_drink/candy.dm @@ -398,6 +398,45 @@ ABSTRACT_TYPE(/obj/item/reagent_containers/food/snacks/candy/jellybean) ..() reagents.add_reagent("juice_peach",5) +/obj/item/kitchen/gummy_worms_bag + amount = 6 + icon = 'icons/obj/foodNdrink/food_candy.dmi' + icon_state = "gummyw-full" + name = "bag of gummy worms" + desc = "A bag of sour gummy worms. Still a little wriggly." + + attack_hand(mob/user as mob, unused, flag) + if (flag) + return ..() + if (user.r_hand == src || user.l_hand == src) + if(src.amount == 0) + boutput(user, "You're out of gummy worms. The world is a little bleaker.") + return + else + var/obj/item/reagent_containers/food/snacks/candy/gummy_worm/B = new(user) + user.put_in_hand_or_drop(B) + src.amount-- + if(src.amount == 0) + src.icon_state = "gummyw-empty" + src.name = "empty gummy worms bag" + src.desc = "A crumpled bag that was once full of sour gummy worms." + else + return ..() + return + +/obj/item/reagent_containers/food/snacks/candy/gummy_worm + name = "gummy worm" + desc = "A sour gummy worm sprinkled in sugar. Comes in several flavours." + icon_state = "gummyworm-1" + amount = 1 + sugar_content = 5 + + New() + ..() + src.icon_state = "gummyworm-[rand(1,3)]" + src.reagents.add_reagent(pick("juice_cherry", "juice_orange", "lemonade", "juice_strawberry", "juice_blueberry", "juice_apple", "juice_blueraspberry", "juice_watermelon", "juice_peach", "cocktail_citrus"), 5) + src.heal_amt = 1 + /obj/item/reagent_containers/food/snacks/candy/candyheart name = "candy heart" desc = "Can you find the perfect phrase for that special someone?" diff --git a/icons/obj/foodNdrink/food_candy.dmi b/icons/obj/foodNdrink/food_candy.dmi index 75aa7bcec3b1a..5f67193a04515 100644 Binary files a/icons/obj/foodNdrink/food_candy.dmi and b/icons/obj/foodNdrink/food_candy.dmi differ