Files
Bubberstation/code/datums/components
SkyratBot ed1e69c761 [MIRROR] 500 cigarettes, and one edible component update (#29561)
* 500 cigarettes, and one edible component update (#85891)

## About The Pull Request

Makes cigarettes edible, and adds an achievement for eating 500 of them.

The examine text also hides all the interesting info about being able to
eat it

![image](https://github.com/user-attachments/assets/cd0eace5-721d-41e4-b68c-f377336063e1)

![image](https://github.com/user-attachments/assets/6ba87a3c-0ec9-420b-a542-d06a48b7955f)

This means the edible component has been touched up with a variable to
hide examines.

## Why It's Good For The Game

An interesting challenge for achievement hunters. Also it's kinda funny
and goes in line with the Sisyphus one

## Changelog

🆑
add: Achievement for eating 500 cigarettes
balance: Cigarettes are now edible
code: Adds a variable to hide the food examine on the edible element
/🆑

---------

Co-authored-by: MrMelbert <51863163+MrMelbert@ users.noreply.github.com>

* 500 cigarettes, and one edible component update

---------

Co-authored-by: Waterpig <49160555+Majkl-J@users.noreply.github.com>
Co-authored-by: MrMelbert <51863163+MrMelbert@ users.noreply.github.com>
2024-08-25 12:49:15 +02:00
..
2024-08-22 18:59:44 +02:00
2024-04-26 01:22:24 +02:00
2024-05-18 11:40:59 -04:00
2024-04-26 01:22:24 +02:00
2024-04-26 01:22:24 +02:00
2024-04-29 21:15:33 +02:00
2024-04-29 21:15:33 +02:00
2024-04-28 22:24:01 +02:00
2024-04-23 20:43:45 +02:00
2024-04-29 21:15:33 +02:00
2024-07-20 14:23:30 +05:30
2024-04-26 01:22:24 +02:00
2024-05-18 11:40:59 -04:00

Datum Component System (DCS)

Concept

Loosely adapted from /vg/. This is an entity component system for adding behaviours to datums when inheritance doesn't quite cut it. By using signals and events instead of direct inheritance, you can inject behaviours without hacky overloads. It requires a different method of thinking, but is not hard to use correctly. If a behaviour can have application across more than one thing. Make it generic, make it a component. Atom/mob/obj event? Give it a signal, and forward its arguments with a SendSignal() call. Now every component that want's to can also know about this happening.

HackMD page for an introduction to the system as a whole.

See/Define signals and their arguments in __DEFINES\components.dm