Food gets stink lines when about to go rotten (#76038)

## About The Pull Request

Title says it all, food that decomposes gets stink lines halfway
through.

![image](https://github.com/tgstation/tgstation/assets/82850673/ae90220c-4b27-49dd-873a-6f349055f891)

![image](https://github.com/tgstation/tgstation/assets/82850673/c982055d-ed69-4935-bda5-7851836fad2c)

Moldy messes always gets stink lines.

## Why It's Good For The Game

1. It's funny
2. It's a visual indicator for food going bad which is kinda nice

## Changelog

🆑
add: Food now gets stink lines when going bad. Uh oh, stinky.
/🆑

---------

Co-authored-by: san7890 <the@san7890.com>
This commit is contained in:
ChungusGamer666
2023-06-18 18:29:29 -06:00
committed by GitHub
co-authored by san7890
parent 7a45369ff3
commit 3ec8bd669e
5 changed files with 82 additions and 26 deletions
@@ -30,3 +30,16 @@
position = generator(GEN_BOX, list(-240, -240), list(240, 240), NORMAL_RAND)
drift = generator(GEN_VECTOR, list(-0.1, 0), list(0.1, 0))
rotation = generator(GEN_NUM, 0, 360, NORMAL_RAND)
/particles/stink
icon = 'icons/effects/particles/stink.dmi'
icon_state = list("stink_1" = 1, "stink_2" = 2, "stink_3" = 2)
color = "#0BDA51"
width = 100
height = 100
count = 25
spawning = 0.25
lifespan = 1 SECONDS
fade = 1 SECONDS
position = generator(GEN_CIRCLE, 0, 16, UNIFORM_RAND)
gravity = list(0, 0.25)