-
-
Notifications
You must be signed in to change notification settings - Fork 452
/
reagents.dm
39 lines (30 loc) · 1.82 KB
/
reagents.dm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#define SOLID 1
#define LIQUID 2
#define GAS 3
#define INJECTABLE (1<<0) // Makes it possible to add reagents through droppers and syringes.
#define DRAWABLE (1<<1) // Makes it possible to remove reagents through syringes.
#define REFILLABLE (1<<2) // Makes it possible to add reagents through any reagent container.
#define DRAINABLE (1<<3) // Makes it possible to remove reagents through any reagent container.
#define TRANSPARENT (1<<4) // Used on containers which you want to be able to see the reagents off.
#define AMOUNT_VISIBLE (1<<5) // For non-transparent containers that still have the general amount of reagents in them visible.
#define NO_REACT (1<<6) // Applied to a reagent holder, the contents will not react with each other.
#define SPILLABLE (1<<7) // Can be spilled or splashed onto an atom
// Is an open container for all intents and purposes.
#define OPENCONTAINER (REFILLABLE | DRAINABLE | TRANSPARENT | SPILLABLE)
// Is an open container for all intents and purposes, but can't spill for whatever reason.
#define OPENCONTAINER_NOSPILL (REFILLABLE | DRAINABLE | TRANSPARENT)
#define TOUCH (1<<0) // splashing, foam
#define INGEST (1<<1) // ingestion
#define VAPOR (1<<2) // spray, blob attack
#define PATCH (1<<3) // patches
#define INJECT (1<<4) // injection
#define BREATH (1<<5) // breathed gases
//defines passed through to the on_reagent_change proc
#define DEL_REAGENT 1 // reagent deleted (fully cleared)
#define ADD_REAGENT 2 // reagent added
#define REM_REAGENT 3 // reagent removed (may still exist)
#define MIMEDRINK_SILENCE_DURATION 30 //ends up being 60 seconds given 1 tick every 2 seconds
///Health threshold for synthflesh and rezadone to unhusk someone
#define UNHUSK_DAMAGE_THRESHOLD 50
///Amount of synthflesh required to unhusk someone
#define SYNTHFLESH_UNHUSK_AMOUNT 100