mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-20 02:27:36 +01:00
* coefficient balancing * damage and meltdowns * meltdown stuff * alert stuff * lots of work - whew * some enrichment code * rod encrichmnt * working on enrichment * more fabrication * rod fab * start to the nuke * overload sprites * overload code work * some overload tweaking * small tweak * coolant ejections and QOL things * overheat events + ripley gripper * rebase + venting code * save before rebase * some pre-work for rods * finishing the base rods * fixed my dme * de linting * tiny lint fix * more lint fixes * linting * linting * linting * linting * linting * temp delint * temp delint * undo TM stuff + minor fix * didnt save * some fixes * fixes * fixes and engine repair * fixed broken durability decay * LOTS of things * tgui * lint * linter * linter * minor shit * Update boxstation.dmm * major refactors and fixes * saved this * critical testing tweaks and fixes * fixes and tweaks * smithing start * forgot to save * craftables + grill start * saved * fix * more grill work * Update tgui.bundle.js * linter * linter * fixes * rod fabricator initial * cooking work * push * soundwork * sound work tweak * comments + sounds + toxins gen rework * lots of work * sprite stuff * deconflicting * delinting * bundle rebuild * prettier * feex * fuck you OD * who asked? * update to tgui * another edit to tgui * finish tgui * remove debug metadata button * rod tweaks for tgui * Update code/datums/uplink_items/uplink_traitor.dm Co-authored-by: Pooble <90473506+poobsie@users.noreply.github.com> Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com> * Update code/game/mecha/equipment/tools/work_tools.dm Co-authored-by: Pooble <90473506+poobsie@users.noreply.github.com> Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com> * Update code/game/mecha/equipment/tools/work_tools.dm Co-authored-by: Pooble <90473506+poobsie@users.noreply.github.com> Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com> * Update code/game/objects/items/robot/cyborg_gripper.dm Co-authored-by: Pooble <90473506+poobsie@users.noreply.github.com> Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com> * Update code/modules/mob/living/simple_animal/parrot.dm Co-authored-by: Pooble <90473506+poobsie@users.noreply.github.com> Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com> * Update code/modules/mob/living/simple_animal/parrot.dm Co-authored-by: Pooble <90473506+poobsie@users.noreply.github.com> Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com> * Update code/modules/mob/living/simple_animal/parrot.dm Co-authored-by: Pooble <90473506+poobsie@users.noreply.github.com> Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com> * Update code/modules/mob/living/simple_animal/parrot.dm Co-authored-by: Pooble <90473506+poobsie@users.noreply.github.com> Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com> * Update code/modules/power/engines/fission/nuclear_misc.dm Co-authored-by: Pooble <90473506+poobsie@users.noreply.github.com> Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com> * Update code/modules/power/engines/fission/nuclear_misc.dm Co-authored-by: Pooble <90473506+poobsie@users.noreply.github.com> Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com> * Update code/modules/power/engines/fission/nuclear_misc.dm Co-authored-by: Pooble <90473506+poobsie@users.noreply.github.com> Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com> * Update code/modules/power/engines/fission/nuclear_rods.dm Co-authored-by: Pooble <90473506+poobsie@users.noreply.github.com> Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com> * Update code/modules/power/engines/fission/nuclear_rods.dm Co-authored-by: Pooble <90473506+poobsie@users.noreply.github.com> Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com> * Update code/modules/power/engines/fission/reactor.dm Co-authored-by: Pooble <90473506+poobsie@users.noreply.github.com> Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com> * Update code/modules/power/engines/fission/reactor.dm Co-authored-by: Pooble <90473506+poobsie@users.noreply.github.com> Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com> * Update code/modules/power/engines/fission/nuclear_rods.dm Co-authored-by: Pooble <90473506+poobsie@users.noreply.github.com> Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com> * Update code/modules/power/engines/fission/nuclear_rods.dm Co-authored-by: Pooble <90473506+poobsie@users.noreply.github.com> Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com> * Update code/modules/power/engines/fission/nuclear_rods.dm Co-authored-by: Pooble <90473506+poobsie@users.noreply.github.com> Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com> * Update code/modules/power/engines/fission/reactor.dm Co-authored-by: Pooble <90473506+poobsie@users.noreply.github.com> Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com> * Update code/modules/smithing/components/misc_components.dm Co-authored-by: Pooble <90473506+poobsie@users.noreply.github.com> Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com> * Update code/modules/power/engines/fission/nuclear_rods.dm Co-authored-by: Pooble <90473506+poobsie@users.noreply.github.com> Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com> * Update tgui/packages/tgui/interfaces/NuclearRodFabricator.jsx Co-authored-by: Pooble <90473506+poobsie@users.noreply.github.com> Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com> * Spans * tgui build * rod redo * improve tgui for fabricator * sprites and centrifuge/fab work * tgui update * spritework * cyberiad + hydrogen conversion * kerberos + counter * Update code/modules/power/engines/fission/nuclear_rods.dm Co-authored-by: Pooble <90473506+poobsie@users.noreply.github.com> Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com> * sprite + fab tweak * tgui bundle * lintering * bugfixing * linting * linting * event tweak * add missing gases to fission monitor * issue fixing * sprite/overlay fixes * mapping * stations again * space lattice * tine tweak * linter * no rod alerts * buttons * loose wire * make it so you can interact through rod casings and the uhh big thing in the center, what's that called again * fixes * door fix * many bug fixes + crates * fab ghost touch * water convert + maint sprite + fixes * pack changes + neighbor fix * doors rename * didnt save * hydrogen fix * map tweaks * repair fixes + corium LETHALITY * upped broken rad damage * pipe rename + overload icons * more roundstart moderators * rod tree tweaks * tweaks * pack and enrichment fixes * misc tweaks and fixes * fixes: Density, circuits, coolant offline negation * Apply suggestions from code review Co-authored-by: warriorstar-orion <orion@snowfrost.garden> Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com> * review changes * linter + fix * reviews and fixes * LOTS of tweaks and changes * supermatter kit * spacematter balance * tgui * fixes and tweaks * didnt save this * mapping + smith fix * cargo rods arnt radioactive til opened * Apply suggestions from code review Co-authored-by: Pooble <90473506+poobsie@users.noreply.github.com> Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com> * review items * fixes * linters * moving components out of nullspace * examine fix * Update tgui.bundle.js * explosion nerf and minor fix * Apply suggestions from code review Co-authored-by: Pooble <90473506+poobsie@users.noreply.github.com> Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com> * reviews * map fix + ripley rad immune * Apply suggestions from code review Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com> * review * fix chamber examine * tweaks + rod fab disk drop * Apply suggestions from code review Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com> * review changes * Update code/modules/power/engines/fission/nuclear_rods.dm Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com> * fixes * tgui bundle * small rod tweaks * Update code/game/machinery/computer/buildandrepair.dm Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com> * Update code/modules/smithing/components/reactor_components.dm Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com> * Update code/modules/power/engines/fission/reactor_machines.dm Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com> * Update code/modules/power/engines/fission/reactor_machines.dm Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com> * reviews * Update code/modules/power/engines/fission/reactor_machines.dm Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com> --------- Signed-off-by: Kyani <65205627+EmeraldCandy@users.noreply.github.com> Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> Co-authored-by: Paul <pmerkamp@gmail.com> Co-authored-by: Pooble <90473506+poobsie@users.noreply.github.com> Co-authored-by: warriorstar-orion <orion@snowfrost.garden> Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
139 lines
5.0 KiB
Plaintext
139 lines
5.0 KiB
Plaintext
#define IMPRINTER (1<<0) //For circuits. Uses glass/chemicals.
|
|
#define PROTOLATHE (1<<1) //New stuff. Uses glass/metal/chemicals
|
|
#define AUTOLATHE (1<<2) //Uses glass/metal only.
|
|
#define CRAFTLATHE (1<<3) //Uses fuck if I know. For use eventually.
|
|
#define MECHFAB (1<<4) //Remember, objects utilising this flag should have construction_time and construction_cost vars.
|
|
// #define PODFAB (1<<5) //Used by the spacepod part fabricator. Same idea as the mechfab // AA 2021-10-02 - Removed. Kept for flag consistency.
|
|
#define BIOGENERATOR (1<<6) //Uses biomass
|
|
#define SMELTER (1<<7) //uses various minerals
|
|
/// Used for gamma armoury lathe designs
|
|
#define GAMMALATHE (1<<8)
|
|
//Note: More then one of these can be added to a design but imprinter and lathe designs are incompatable.
|
|
|
|
|
|
// Demotion Console (card/minor/*) departments
|
|
#define TARGET_DEPT_GENERIC 1
|
|
#define TARGET_DEPT_SEC 2
|
|
#define TARGET_DEPT_MED 3
|
|
#define TARGET_DEPT_SCI 4
|
|
#define TARGET_DEPT_ENG 5
|
|
#define TARGET_DEPT_SUP 6
|
|
|
|
// These are used by supermatter and supermatter monitor program, mostly for UI updating purposes. Higher should always be worse!
|
|
// These are warning defines, they should trigger before the state, not after.
|
|
#define SUPERMATTER_ERROR -1 // Unknown status, shouldn't happen but just in case.
|
|
#define SUPERMATTER_INACTIVE 0 // No or minimal energy
|
|
#define SUPERMATTER_NORMAL 1 // Normal operation
|
|
#define SUPERMATTER_NOTIFY 2 // Ambient temp > 80% of CRITICAL_TEMPERATURE
|
|
#define SUPERMATTER_WARNING 3 // Ambient temp > CRITICAL_TEMPERATURE OR integrity damaged
|
|
#define SUPERMATTER_DANGER 4 // Integrity < 75%
|
|
#define SUPERMATTER_EMERGENCY 5 // Integrity < 50%
|
|
#define SUPERMATTER_DELAMINATING 6 // Pretty obvious, Integrity < 25%
|
|
|
|
#define REACTOR_INACTIVE 0 // Reactor is not operational
|
|
#define REACTOR_NORMAL 1 // Normal operation
|
|
#define REACTOR_NOTIFY 2 // Above 90% of heat_damage_threshold
|
|
#define REACTOR_WARNING 3 // Integrity < 99%
|
|
#define REACTOR_DANGER 4 // Integrity < 50%
|
|
#define REACTOR_EMERGENCY 5 // Integrity < 25%
|
|
#define REACTOR_MELTDOWN 6 // Integrity < 5%
|
|
|
|
// The states of nuclear reactor chambers.
|
|
#define CHAMBER_DOWN 1
|
|
#define CHAMBER_UP 2
|
|
#define CHAMBER_OPEN 3
|
|
#define CHAMBER_OVERLOAD_IDLE 4
|
|
#define CHAMBER_OVERLOAD_ACTIVE 5
|
|
|
|
#define HEAT_MODIFIER 450 //! A flat multiplier for all reactor heat. Higher = more heat production.
|
|
|
|
// More defines for the suppermatter
|
|
/// Higher == Crystal safe operational temperature is higher.
|
|
#define SUPERMATTER_HEAT_PENALTY_THRESHOLD 40
|
|
|
|
// Firelock states
|
|
#define FD_OPEN 1
|
|
#define FD_CLOSED 2
|
|
|
|
// Computer login types
|
|
#define LOGIN_TYPE_NORMAL 1
|
|
#define LOGIN_TYPE_AI 2
|
|
#define LOGIN_TYPE_ROBOT 3
|
|
#define LOGIN_TYPE_ADMIN 4
|
|
|
|
// Status display maptext stuff
|
|
#define DISPLAY_CHARS_PER_LINE 5
|
|
#define DISPLAY_FONT_SIZE "5pt"
|
|
#define DISPLAY_FONT_COLOR "#09f"
|
|
#define DISPLAY_WARNING_FONT_COLOR "#f90"
|
|
#define DISPLAY_FONT_STYLE "Small Fonts"
|
|
#define DISPLAY_SCROLL_SPEED 2
|
|
|
|
// Status display mode types
|
|
#define STATUS_DISPLAY_BLANK 0
|
|
#define STATUS_DISPLAY_TRANSFER_SHUTTLE_TIME 1
|
|
#define STATUS_DISPLAY_MESSAGE 2
|
|
#define STATUS_DISPLAY_ALERT 3
|
|
#define STATUS_DISPLAY_TIME 4
|
|
#define STATUS_DISPLAY_CUSTOM 5
|
|
|
|
// AI display mode types
|
|
#define AI_DISPLAY_MODE_BLANK 0
|
|
#define AI_DISPLAY_MODE_EMOTE 1
|
|
#define AI_DISPLAY_MODE_BSOD 2
|
|
|
|
// Door operations
|
|
#define DOOR_OPENING 1
|
|
#define DOOR_CLOSING 2
|
|
#define DOOR_MALF 3
|
|
|
|
#define TURRET_PRIORITY_TARGET 2
|
|
#define TURRET_SECONDARY_TARGET 1
|
|
#define TURRET_NOT_TARGET 0
|
|
|
|
#define TURRET_PREASSESS_VALID 1
|
|
#define TURRET_PREASSESS_INVALID 0
|
|
|
|
#define AIR_ALARM_FRAME 0
|
|
#define AIR_ALARM_UNWIRED 1
|
|
#define AIR_ALARM_READY 2
|
|
|
|
/**
|
|
* Air alarm modes
|
|
*/
|
|
#define AALARM_MODE_FILTERING 1
|
|
#define AALARM_MODE_DRAUGHT 2 //makes draught
|
|
#define AALARM_MODE_PANIC 3 //like siphon, but stronger (enables widenet)
|
|
#define AALARM_MODE_CYCLE 4 //sucks off all air, then refill and swithes to scrubbing
|
|
#define AALARM_MODE_SIPHON 5 //Scrubbers suck air
|
|
#define AALARM_MODE_CONTAMINATED 6 //Turns on all filtering and widenet scrubbing.
|
|
#define AALARM_MODE_REFILL 7 //just like normal, but disables low pressure check until normalized, then switches to normal
|
|
#define AALARM_MODE_OFF 8
|
|
#define AALARM_MODE_FLOOD 9 //Emagged mode; turns off scrubbers and pressure checks on vents
|
|
#define AALARM_MODE_CUSTOM 10
|
|
|
|
#define NUKE_STATUS_INTACT 0
|
|
#define NUKE_CORE_MISSING 1
|
|
#define NUKE_MISSING 2
|
|
|
|
#define CIRCULATOR_SIDE_LEFT WEST
|
|
#define CIRCULATOR_SIDE_RIGHT EAST
|
|
|
|
// Request Console configuration bitmask.
|
|
/// [/obj/machinery/requests_console] can request assistance.
|
|
#define RC_ASSIST (1<<0)
|
|
/// [/obj/machinery/requests_console] can request supplies.
|
|
#define RC_SUPPLY (1<<1)
|
|
/// [/obj/machinery/requests_console] can relay anonymous information.
|
|
#define RC_INFO (1<<2)
|
|
|
|
/// ORM point defines
|
|
#define ORM_BASE_POINT_MULT 0.90
|
|
#define ORM_BASE_SHEET_MULT 0.90
|
|
#define ORM_POINT_MULT_ADD_PER_RATING 0.10
|
|
#define ORM_SHEET_MULT_ADD_PER_RATING 0.10
|
|
|
|
/// Salvage machine point defines
|
|
#define SALVAGE_REDEMPTION_BASE_POINT_MULT 0.6
|
|
#define SALVAGE_REDEMPTION_POINT_MULT_ADD_PER_RATING 0.1
|