Poll: Are you in the Ass?
You do not have permission to vote in this poll.
I would like to submit a patch
42.31%
22 42.31%
This is bad, I dont want this
1.92%
1 1.92%
This is good, but I won't help
55.77%
29 55.77%
Total 52 vote(s) 100%
* You voted for this item. [Show Results]

Thread Rating:
  • 4 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[EVENT] An SS13 Game Jam this way comes!
#19
Instant noodles, from the sprites subforum courtesy of Jaimsey: https://forum.ss13.co/showthread.php?tid=12408

in code\datums\chemistry\tools\food_and_drink.dm
add following code: https://pastebin.com/4KaVDqei  inside /obj/item/reagent_containers/food/drinks/bowl 's attackby(obj/item/W as obj, mob/user as mob) function

in code\obj\item\food\snacks.dm
add following code: https://pastebin.com/3Y9Fk9Fp anywhere

in code\obj\machinery\vending.dm
add
product_list += new/datum/data/vending_product("/obj/item/instant_noodles_packet", 20, cost=2)
at /obj/machinery/vending/snack next to the other vendor products added similarly to have it appear in the snacks vendor.

Two .dmi files for the sprites in attachments:


icons\obj\foodNdrink\food_snacks.dmi  has new iconstates: instantnoodles_open, instantnoodles_closed, instantnoodles_noodles
and
icons\obj\foodNdrink\food_meals.dmi  has a new iconstate: noodles_bowl
(edit: oops I just noticed the request for a single dmi on submissions, if it's not too much trouble try to just incorporate these but otherwise if it is too much screwing around do reply/ping me and I'll dump them into a new dmi and change the code to reference that instead)

https://github.com/goonstation/goonstati...s?expand=1 git compare


Attached Files
.dmi   food_snacks.dmi (Size: 20.13 KB / Downloads: 261)
.dmi   food_meals.dmi (Size: 32.75 KB / Downloads: 230)
Reply


Messages In This Thread
RE: [EVENT] An SS13 Game Jam this way comes! - by Gerhazo - 06-20-2019, 05:26 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)