Skip to content

Commit

Permalink
donk wrappers
Browse files Browse the repository at this point in the history
donk pockets are now double wrapped for your comfort
  • Loading branch information
Meatstuff882 committed Aug 24, 2024
1 parent 67fdb88 commit 86a43f9
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion code/game/objects/items/reagent_containers/food/snacks.dm
Original file line number Diff line number Diff line change
Expand Up @@ -729,15 +729,30 @@
/obj/item/reagent_container/food/snacks/donkpocket
name = "Donk-pocket"
desc = "The food of choice for the seasoned traitor."
icon_state = "donkpocket"
icon_state = "donkpocket_wr2"
filling_color = "#DEDEAB"
package = 2
var/warm = 0

/obj/item/reagent_container/food/snacks/donkpocket/Initialize()
. = ..()
reagents.add_reagent("meatprotein", 2)
reagents.add_reagent("bread", 2)

/obj/item/reagent_container/food/snacks/donkpocket/attack_self(mob/user)
..()

if(package==1)
playsound(src.loc,'sound/effects/pageturn2.ogg', 15, 1)
to_chat(user, SPAN_NOTICE("You pull off the sleeve from the donk pocket!"))
package = 0
icon_state = "donkpocket"
if(package==2)
playsound(src.loc,'sound/effects/pageturn2.ogg', 15, 1)
to_chat(user, SPAN_NOTICE("You pull off the wrapping from the donk pocket!"))
package = 1
icon_state = "donkpocket_wr1"

/obj/item/reagent_container/food/snacks/donkpocket/proc/cooltime() //Not working, derp?
if(warm)
spawn(4200)
Expand Down Expand Up @@ -3165,6 +3180,7 @@
to_chat(user, SPAN_NOTICE("You pull off the wrapping from the squishy burrito!"))
package = 0
icon_state = "open-burrito"
package = 1

/obj/item/reagent_container/food/snacks/packaged_burger
name = "Packaged Cheeseburger"
Expand Down
Binary file modified icons/obj/items/food.dmi
Binary file not shown.

0 comments on commit 86a43f9

Please sign in to comment.