mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-09 07:46:20 +00:00
## About The Pull Request - Removed the following unused/unchanging vars from machines - `wire_compatible` - `machine_power_rectifier` - `market_verb` - Removed setting `fair_market_price` in places which did not check for NAP violations like cryo & coffee pot - Autodoc for other vars & procs. Adds modifiers for procs where it makes sense - Merged `base_item_interaction()` with its already existing implementation. RPED now adds finger print to the machine & respects `COMSIG_TRY_USE_MACHINE` - Removed proc `locate_machinery()` which was only used by turbine machinery, ## Changelog 🆑 code: improved code for machinery /🆑 --------- Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com> Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
28 lines
526 B
Plaintext
28 lines
526 B
Plaintext
/*
|
|
Used with the various stat variables (mob, machines)
|
|
*/
|
|
|
|
//mob/var/stat things
|
|
#define CONSCIOUS 0
|
|
#define SOFT_CRIT 1
|
|
#define UNCONSCIOUS 2
|
|
#define HARD_CRIT 3
|
|
#define DEAD 4
|
|
|
|
//Maximum healthiness an individual can have
|
|
#define MAX_SATIETY 600
|
|
|
|
// bitflags for machine stat variable
|
|
|
|
/// physically broken
|
|
#define BROKEN (1<<0)
|
|
/// not powered
|
|
#define NOPOWER (1<<1)
|
|
/// under maintaince
|
|
#define MAINT (1<<2)
|
|
/// temporary broken by EMP pulse
|
|
#define EMPED (1<<3)
|
|
|
|
//ai power requirement defines
|
|
#define POWER_REQ_ALL 1
|