Files
Yogstation/code/datums/components
Scrambledeggs aefeb5be80 Departmental defense as the Found Fathers intended (#22002)
* Adds maintenance musket

* Added variance and dropoff, and buffed damage

* Adds reload do-after and afterattack

* Fixes icon and gets projectile to spread correctly

* Adds smoke effect to firing cartridge

* New cartridge and caliber and AP buff

* Bayonet fix

* Made musket and cartridges craftable

* No negative AP for BP cartridge

* Update code/modules/projectiles/guns/ballistic/launchers.dm

Co-authored-by: Molti <108117184+Moltijoe@users.noreply.github.com>

* Update code/modules/projectiles/guns/ballistic/launchers.dm

Co-authored-by: Molti <108117184+Moltijoe@users.noreply.github.com>

* Reload bug fix and hopefully made moltijoe changes

* Molti's changes

* Update code/modules/projectiles/guns/ballistic/launchers.dm

Co-authored-by: Molti <108117184+Moltijoe@users.noreply.github.com>

* Update code/modules/projectiles/guns/ballistic/launchers.dm

Co-authored-by: Molti <108117184+Moltijoe@users.noreply.github.com>

* Fixed bug involving disapearing ammo

* Lowered demolition mod to 0.25

---------

Co-authored-by: Molti <108117184+Moltijoe@users.noreply.github.com>
2024-05-20 05:50:23 -05:00
..
2023-10-25 12:16:38 -07:00
2024-04-10 20:26:02 -05:00
2024-05-07 22:04:00 -05:00
2024-04-06 23:34:10 -05:00
2023-11-30 23:08:19 -06:00
2024-04-16 15:46:37 -05: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