mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
* Document the world (#46495) * Document drone verbs.dm * Document the outfit datum with autodoc (#45415) * Uncurse take_damage and document obj_defense.dm (#45146) The original take_damage proc defined vars for no good reason had some duplicate code and wasn't very readable. If you are wondering why it calls obj_break every time it takes damage while below integrity_failure, that's the way it used to be. Most (if not all) stuff that takes advantage of this functionality already accounts for this. * Convert some code docs into the auto doc format (#45101) * Commit Message * Fixes * e * Documents browserOutput.dm (#51439) * Add autodoc to the callback datum (#45463) * Autodoc the vending machine (#45468) * Autodoc the vending machine * Update code/modules/vending/_vending.dm Co-Authored-By: Tad Hardesty <tad@platymuus.com> * autodoc organ helpers (#45464) * timer proc autodocs (#46530) * bunch of define autodocs * ballistic guns autodoc (#45578) * ballistic guns autodoc * fixes * client vars autodoc (#46446) About The Pull Request Autodocs client vars * Autodoc for XB and Research * shuttle docking autodoc (#48677) * Add autodocs for reagents (#49478) * Fix Co-authored-by: oranges <email@oranges.net.nz> Co-authored-by: Jonathan (JJRcop) Rubenstein <jrubcop@gmail.com> Co-authored-by: nemvar <47324920+nemvar@users.noreply.github.com> Co-authored-by: alexkar598 <> Co-authored-by: Tad Hardesty <tad@platymuus.com> Co-authored-by: spookydonut <github@spooksoftware.com> Co-authored-by: actioninja <actioninja@gmail.com>
39 lines
1.9 KiB
Plaintext
39 lines
1.9 KiB
Plaintext
/// whether can_interact() checks for anchored. only works on movables.
|
|
#define INTERACT_ATOM_REQUIRES_ANCHORED (1<<0)
|
|
/// calls try_interact() on attack_hand() and returns that.
|
|
#define INTERACT_ATOM_ATTACK_HAND (1<<1)
|
|
/// automatically calls and returns ui_interact() on interact().
|
|
#define INTERACT_ATOM_UI_INTERACT (1<<2)
|
|
/// user must be dextrous
|
|
#define INTERACT_ATOM_REQUIRES_DEXTERITY (1<<3)
|
|
/// ignores incapacitated check
|
|
#define INTERACT_ATOM_IGNORE_INCAPACITATED (1<<4)
|
|
/// incapacitated check ignores restrained
|
|
#define INTERACT_ATOM_IGNORE_RESTRAINED (1<<5)
|
|
/// incapacitated check checks grab
|
|
#define INTERACT_ATOM_CHECK_GRAB (1<<6)
|
|
/// prevents leaving fingerprints automatically on attack_hand
|
|
#define INTERACT_ATOM_NO_FINGERPRINT_ATTACK_HAND (1<<7)
|
|
/// adds hiddenprints instead of fingerprints on interact
|
|
#define INTERACT_ATOM_NO_FINGERPRINT_INTERACT (1<<8)
|
|
|
|
/// attempt pickup on attack_hand for items
|
|
#define INTERACT_ITEM_ATTACK_HAND_PICKUP (1<<0)
|
|
|
|
/// can_interact() while open
|
|
#define INTERACT_MACHINE_OPEN (1<<0)
|
|
/// can_interact() while offline
|
|
#define INTERACT_MACHINE_OFFLINE (1<<1)
|
|
/// try to interact with wires if open
|
|
#define INTERACT_MACHINE_WIRES_IF_OPEN (1<<2)
|
|
/// let silicons interact
|
|
#define INTERACT_MACHINE_ALLOW_SILICON (1<<3)
|
|
/// let silicons interact while open
|
|
#define INTERACT_MACHINE_OPEN_SILICON (1<<4)
|
|
/// must be silicon to interact
|
|
#define INTERACT_MACHINE_REQUIRES_SILICON (1<<5)
|
|
/// MACHINES HAVE THIS BY DEFAULT, SOMEONE SHOULD RUN THROUGH MACHINES AND REMOVE IT FROM THINGS LIKE LIGHT SWITCHES WHEN POSSIBLE!!--------------------------
|
|
/// This flag determines if a machine set_machine's the user when the user uses it, making updateUsrDialog make the user re-call interact() on it.
|
|
/// THIS FLAG IS ON ALL MACHINES BY DEFAULT, NEEDS TO BE RE-EVALUATED LATER!!
|
|
#define INTERACT_MACHINE_SET_MACHINE (1<<6)
|