mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-21 23:17:04 +01:00
597 B
597 B
Click Handling
Contains:
- Low level click handling
- Clickchain procs
The game's core / low-level click procs have the job of constructing
a /datum/event_args/actor/clickchain, which is then fed into unified clickchain handling.
Clickchain handling exists at the /mob, and /obj/item level.
The latter is used to handle clicking-with-item. The former is used to handle unarmed interactions.
Consequently, /mob clickchains are usually slightly less complicated than those on /obj/item.
Things like action buttons capturing clicks should be handled before entering clickchains.