Files
Bubberstation/code/datums/components
SkyratBot fcc8f481e5 [MIRROR] Fixes instruments enhanced by the portable tuning rite not being able to cast any rites (#28602)
* Fixes instruments enhanced by the portable tuning rite not being able to cast any rites (#84362)

## About The Pull Request

The string path that has been passed to `perform_rite` has not been
converted to an actual type path. This meant that religious tools that
had a whitelist of rites they could perform, could not actually perform
these rights, as a string path does not equals with a typepath. This PR
fixes that.

## Why It's Good For The Game

Makes a mechanic work, allowing the chaplain to store up rite slots as
intended.
Fixes #83997

## Changelog

🆑
fix: Instruments enhanced with portable tuning can perform the rites
that have been granted
/🆑

* Fixes instruments enhanced by the portable tuning rite not being able to cast any rites

---------

Co-authored-by: Profakos <profakos@gmail.com>
2024-07-04 10:51:52 +05:30
..
2024-05-23 02:37:43 +02:00
2024-04-26 01:22:24 +02:00
2024-05-18 11:40:59 -04:00
2024-02-20 01:00:11 +01:00
2024-04-26 01:22:24 +02: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-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 it's 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