Files
Bubberstation/code/game/objects/effects/particles/misc.dm
ChungusGamer666 3ec8bd669e 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>
2023-06-18 18:29:29 -06:00

46 lines
1.3 KiB
Plaintext

// General or un-matched particles, make a new file if a few can be sorted together.
/particles/pollen
icon = 'icons/effects/particles/pollen.dmi'
icon_state = "pollen"
width = 100
height = 100
count = 1000
spawning = 4
lifespan = 0.7 SECONDS
fade = 1 SECONDS
grow = -0.01
velocity = list(0, 0)
position = generator(GEN_CIRCLE, 0, 16, NORMAL_RAND)
drift = generator(GEN_VECTOR, list(0, -0.2), list(0, 0.2))
gravity = list(0, 0.95)
scale = generator(GEN_VECTOR, list(0.3, 0.3), list(1,1), NORMAL_RAND)
rotation = 30
spin = generator(GEN_NUM, -20, 20)
/particles/echo
icon = 'icons/effects/particles/echo.dmi'
icon_state = list("echo1" = 1, "echo2" = 1, "echo3" = 2)
width = 480
height = 480
count = 1000
spawning = 0.5
lifespan = 2 SECONDS
fade = 1 SECONDS
gravity = list(0, -0.1)
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)