Commit Graph

69 Commits

Author SHA1 Message Date
Aronai Sieyes
d7679264fc Show all alarms on modular alarm monitor and mark major ones (#7002)
Co-authored-by: Novacat <35587478+Novacat@users.noreply.github.com>
2020-05-01 11:19:58 -07:00
Aronai Sieyes
6c6644f86c Rewrite examine() to pass a list around (#7038) 2020-04-29 13:42:16 -07:00
Atermonera
51f61886a9 Merge pull request #7024 from atlantiscze/2020_04_21_ValveProgram
Converts Shutoff valve monitoring into a MC program
2020-04-28 14:57:24 -07:00
Aronai Sieyes
b98027d050 Various fixes while waiting on PR 2020-04-27 10:48:04 -04:00
Aronai Sieyes
3ae9a118b1 Refactor consoles to operate on logically adjacent zlevels 2020-04-27 10:45:25 -04:00
Aronai Sieyes
65cfc5bd39 Refactor telecomms to send messages to logically adjacent zlevels 2020-04-27 10:45:25 -04:00
Aronai Sieyes
c9086829ec Convert some telecomms constants into defines 2020-04-27 10:34:13 -04:00
Atlantiscze
131270c6f8 Converts Shutoff valve monitoring into a MC program
- Existing consoles remain for now, only refactored to use a shared nano_module. Included by default on engineering consoles, downloadable by anyone with basic engineering access.
- Tidies up the UI a bit, prevents manual toggling of valves when they are in Auto mode (as it would immediately toggle back)
2020-04-21 15:15:57 +02:00
Atlantiscze
56e28ec2aa Fixes supermatter monitoring EPR indicator showing Undefined
- This mirrors original sources from Bay. Nano file was apparently moved from there, but code file was not.
- As for intent of this function (i coded it originally on Bay), EPR can be considered "Amount of canisters worth of gas in the core chamber", hence the weird 23.1 constant. Unlike pressure reading, this does not change with temperature, so it can be used to accurately monitor actual amount of gas in the chamber without having to take temperature in effect.
- I know the constant is kind of shady. It could possibly be recalculated using atmos constants, but i suck at math too much to do that. If anyone who knows atmos math can find a better alternative, i will gladly toss it in instead.
2020-04-17 06:06:06 +02:00
Leshana
8da8e3e0b1 Convert alarm_manager into SSalarm subsystem.
- Switch to using MC_TICK_CHECK and replace all references.
- Optimize stat panel display by caching the active alarms.
2020-03-28 01:20:34 -04:00
Leshana
938384cb1b In fact lets use the constants instead of bare numbers for use_power everywhere. 2020-03-21 19:41:01 -04:00
Leshana
c2d16acdca Always call update_use_power() instead of directly setting the use_power var.
- This will let us react to the change appropriately.
- While we're here, lets define some constants so we can stop using bare numbers.
- Always use those constants when calling update_use_power()
2020-03-21 16:40:22 -04:00
Atermonera
0021a3b025 Merge pull request #6818 from Neerti/event_manager_fix_electric_boogaloo
Fully Implements R_EVENT for Event Managers
2020-03-12 12:01:07 -07:00
Neerti
e8c51b9291 Makes R_EVENT go everywhere. 2020-03-11 23:17:24 -04:00
Neerti
86f58ecca7 Command QoL 2020-03-09 10:51:42 -04:00
Neerti
24fbd0b87e Half-Refactors Jobs (#6762)
* Somewhat cleans up a piece of job code, makes new ID computers not be awful.

* Changes ROLE_ defines to DEPARTMENT_ to be clearer. Backports the new ID computer's assignment section of its UI to the old ID computer.

* Swaps back to southern cross map.

* Removes a block of commented code.
2020-03-03 13:27:37 -08:00
Atermonera
72f8a9c5f5 Merge pull request #6722 from Heroman3003/powerfix
Fixes MCs not being rechargable
2020-02-24 13:24:38 -08:00
Atermonera
48eba82446 Merge pull request #6710 from Cerebulon/precisionplacement
Ports precision placement of items
2020-02-21 23:34:56 -08:00
Heroman
5d786ff855 Fixes MCs not being rechargable 2020-02-22 11:28:17 +10:00
Atermonera
b96dc72800 Merge pull request #6690 from VOREStation/vplk-ntnet-fixer
Fixes to Modular Computers and NTNet Relays
2020-02-20 22:57:02 -08:00
Cerebulon
f801cc95be Allows precision placement of most items 2020-02-19 21:16:26 +00:00
Arokha Sieyes
5b15917d32 to_chat replacing stream operator 2020-02-17 13:14:08 -05:00
Leshana
b4556a3aee Fix NTNet Relays to be constructible/de-constructible
- Circuit boards should use type paths not strings.
- Use standard default component creation pattern.
- Fix race condition between /datum/ntnet/New and NTNet relay Initialize()
2020-02-12 00:03:27 -05:00
Leshana
42d25f823d Fix issues with New and Destroy in NTNet
- New() on atoms needs to call parent.
- Destroy() needs to return a qdel hint.
- Only add yourself to processing in Initialize() to make sure globals are instantiated.
2020-02-12 00:03:13 -05:00
Atermonera
d0a488d9a7 Preset (mapped-in) modular computers now have printers by default. (#6639) 2020-01-23 20:54:48 -08:00
Woodratt
d64fcdfdaf November Map Tweaks
- Fix missing scrubber in engineering.
- Shutter added to Kitchen door.
- Pressure Regulators at atmospheric cutoffs start unregulated at roundstart.
- Set Modular Computers layer to 2.9 to bring them inline with regular computer layering.
- Pump to distro set to 301 kpa to help offset issues with cutoff valves.
- One phase pistol to each explorer locker.
- One holster to each explorer locker.
2019-11-28 14:15:39 -08:00
Hawk_v3
532316f35f Bulletproofing
We already get the full info field, so fields will be always be fully totalled. Let's not assume it's zero.
2019-10-07 02:28:42 +01:00
Hawk_v3
38511bf891 Printers print Fields correctly now.
You're all welcome!
2019-10-07 02:09:46 +01:00
Heroman3003
4defc980b7 Moves data crystal recipies to protolathe properly 2019-09-19 11:38:51 +10:00
Andrew
504c28bc84 Combat Mechs Can Punch More Things (#6303)
* Combat Mechs Can Punch More Things

Removes the var to check for the 5 things it can attack, instead it can punch anything (but not everything will take damage).

Gives punching objects a check so you don't accidently smash something without meaning to.

Gives closets and canisters a proc to take_damage so they'll actually get smashed by the mechs.

* Take_Damage Boogaloo

* More take_damage Stuff

Adds click delay on attacking barriers.
Proper noises when attacking material doors and barricades.

More stuff can be broken by mech punch and simple mobs.

* Adds changelong

* usr to user
2019-07-24 12:58:39 -08:00
Heroman3003
3d46075733 MC camera and access fixes and adjustments (#6269)
* Adjusts MC camera program, fixes ID program

* Fixes oversight with network access
2019-07-09 13:00:47 -05:00
Anewbe
55caa09122 Merge pull request #6260 from Heroman3003/alarmchange
Properly splits security and engineering alarms
2019-07-03 12:10:14 -05:00
Anewbe
5eb4b3e2e0 Merge pull request #6256 from Heroman3003/fixtheone
Fixes '1' message from MCs
2019-07-03 12:09:57 -05:00
Heroman
ede313118f Properly splits security and engineering alarms 2019-07-02 13:20:56 +10:00
Heroman
ac5db23786 Fixes '1' message 2019-07-02 07:36:58 +10:00
if there were two guys on the moon
2f710a202f Fixes Z-level fuckery 2019-06-29 00:16:15 +01:00
Unknown
39a9bc45f9 Fancy new sprite for elite laptop
Pulled from the old computer3.dmi
2019-05-27 11:48:06 -04:00
Heroman3003
e9bab05e13 Fixes some bugs with laptop 2019-05-18 11:09:53 +10:00
Neerti
9a6246067f Merge pull request #6160 from Heroman3003/commod-fix
Fixes access restrictions for com&com MC program
2019-05-13 22:56:31 -04:00
Neerti
1232e68284 Merge pull request #6153 from Heroman3003/camera-access-changes
Restricts camera access on MC
2019-05-13 22:55:18 -04:00
Neerti
c07de0ad9b Merge pull request #6152 from Heroman3003/alarm-acces-restriction
Restricts alarm monitor MC program access to engineering
2019-05-13 22:55:10 -04:00
Anewbe
49b0b3b157 Merge pull request #6161 from Heroman3003/atmosaccessfix
Fixes access restriction for MC atmos control
2019-05-12 12:56:22 -05:00
Heroman
bb6c0fbd7d Fixes atmos program not giving CE out-of-alarm access 2019-05-09 12:56:22 +10:00
Heroman
d23e72bb85 Fixes access restrictions for command program 2019-05-09 10:39:45 +10:00
Unknown
dcf6b62817 Replaces Custom Laptop with Elite
Custom laptops currently have a problem in that their verb list is not properly updated. This replaces the custom laptop with an elite model that has all the modules.

Also raises cost of the elite model to 7 loadout points, due to concerns raised.
2019-05-07 19:09:01 -04:00
Heroman
19130b0560 Restricts camera access on MC more 2019-05-06 05:54:17 +10:00
Heroman
539e3ff786 Restricts alarm console access to engineering-only 2019-05-06 05:36:25 +10:00
Unknown
a41e6343b6 Fixes MC Specific bugs 2019-04-27 12:54:38 -04:00
Unknown
269940f384 Fixes Access Decryption program 2019-04-27 00:12:35 -04:00
Unknown
6eb60af801 Access Decryption, fixes nanoword 2019-04-26 21:25:28 -04:00