Commit Graph

100 Commits

Author SHA1 Message Date
spookerton cd25cb4b3a correct mixed case QDEL_NULL/qdel_null + behavior 2022-11-03 12:38:03 +00:00
spookerton f432c68fc2 mix of old bay, vore, and tg io macros -> baylike 2022-11-03 12:38:03 +00:00
spookerton c6dfdeaae2 remove unused sources in code/* 2022-04-26 21:17:59 +01:00
spookerton 78db65f13f move some readme files in .dm sources into .md 2022-04-26 21:17:23 +01:00
Atermonera 21bd8477c7 Merge pull request #8531 from Spookerton/spkrtn/sys/global-agenda
updates all bare globals to use /global/ semantics, and all shared members to /static/
2022-04-24 19:56:07 -08:00
spookerton 556331a6a3 use /global/ sugar for bare globals, no leading / 2022-04-24 07:54:34 +01:00
spookerton 1f3ffc2433 non-flagged, non-complex overlay -> ssoverlays 2022-04-24 07:51:12 +01:00
spookerton 1ccb2df2de trivial 1:1 overlays -> overlay proc changes
NB. In some cases we go from a more complex image() to a single icon_state string and I assume this works for every case but do not care to check because of the sheer scale of extra fiddly effort. Buyer beware, not my code.
2022-04-24 07:50:21 +01:00
atermonera 9d71839ac6 Removes devices 2022-04-17 19:14:43 -08:00
atermonera 7a9806d9b4 Removes weapons 2022-04-17 19:14:32 -08:00
atermonera c7f1880394 Revert "What was supposed to be another straightforward major system overhaul that once again spiraled out of control (#8220)"
This reverts commit 4d8c43f106.
2022-03-29 16:01:32 -08:00
atermonera 762fd8591a Merge branch 'master' into cynosure_map 2022-01-25 20:17:56 -08:00
Atermonera 4d8c43f106 What was supposed to be another straightforward major system overhaul that once again spiraled out of control (#8220)
* get_tool_quality has numerical meaning

* Basic tools set tool quality

* Toolspeed is replaced by tool quality checks

* Addresses assorted results from live test

* Extra cleanup
2022-01-16 15:52:55 -08:00
Atermonera 0232be9531 Repaths obj/effect/effect, datum/effect/effect [MDB_IGNORE] (#8312)
* Repaths obj/effect/effect, datum/effect/effect

* linter fixes

* No new

Co-authored-by: Atermonera <forslandm@gmail.com>
2022-01-16 00:14:39 -08:00
MistakeNot4892 618082f500 /atom New() => Initialize() [MDB IGNORE] (#8298)
* Find and replace argless atom New() to Initialize().

* Manual replacement of no-arg New() to Initialize().

* Manually replacing remaining New() overrides.

* Fixing linter issues with now-removed New() args.

* Tidying area init overrides.

* Porting Neb's atom subsystem.

* Trying to isolate init problems.

* Adjusting Init code post-test.

* Merging duplicate Initialize() procs.

* Merge resolution.
2022-01-04 18:47:57 -08:00
MistakeNot4892 2f0a618d45 /atom New() => Initialize() [MDB IGNORE] (#8298)
* Find and replace argless atom New() to Initialize().

* Manual replacement of no-arg New() to Initialize().

* Manually replacing remaining New() overrides.

* Fixing linter issues with now-removed New() args.

* Tidying area init overrides.

* Porting Neb's atom subsystem.

* Trying to isolate init problems.

* Adjusting Init code post-test.

* Merging duplicate Initialize() procs.

* Merge resolution.
2021-11-14 00:09:14 -08:00
PrismaticGynoid 8a96fd173e Map fixes and tweaks part 7
Fixes for:
Basic NTnet cards being unable to reach telecomms from the station
Shuttles not showing location details when landed
Ship sensors printing blank papers
Certain shuttles not clearing weather visuals on landing
Ninja/merc elite shuttles being unable to dock
Mislabeled west solar SMES
Engine flow/pump sensors not connected to cooling system computer
Fixes a few non-cold tiles in telecomms compartment
Adds a few missing rails
Also, tweaks surgery rooms a bit
2021-10-07 20:35:31 -07:00
MarinaGryphon 593246b595 Linter diagnostics + bans non-var relative pathing (#8150)
* Linter diagnostics + bans non-var relative pathing

* Enable DreamChecker Annotations

* make it executable

* update hashFiles

* oops

* tries to fix it... again

* trying again

* path

* repath

* fix perms

* fixes weird capitalisation issue
2021-06-20 13:14:29 -09:00
Verkister 7c8c21ce23 Fixes modular computer game sound volume
Unfortunately this will not fix the loss of hearing the players may already have experienced.
2021-02-19 15:29:21 +02:00
ShadowLarkens dad9020f9a TGUI Engineering... and a bunch of other random things 2020-10-21 13:02:19 -07:00
Meghan-Rossi 9611ae902e Makes wall-mounted machines layer above windows (#7708)
Makes wall-mounted machines layer above windows so that they are clickable if placed on windows
2020-10-16 23:01:39 -07:00
ShadowLarkens 800573d4c5 Fix TGUI Modules in NTOS 2020-09-27 16:38:53 -07:00
ShadowLarkens 85afafbcc6 Allow separate overlays file for modular computers 2020-09-24 17:56:31 -07:00
Rykka 324cb1f12d Replace "Sleeping Agent" with Nitrous Oxide
This makes it identical to it's real-life counterpart, and brings some actual sprite improvements upstream from Virgo.

Earlyport of https://github.com/VOREStation/VOREStation/pull/8812 with an actual rename of the gas, ID, and sprite used.
2020-08-27 21:45:19 -04:00
ShadowLarkens 971a95bc0a TGUI 4.0 & Camera Console 2020-07-30 17:48:11 -07:00
ShadowLarkens c06a2d2cef TGUI v3.0
This ports TGUI, and makes the old nano crew monitor and the disposal
bins use it as first examples.
2020-07-09 22:06:23 -07:00
Neerti 91402f4f50 Should fix a few bugs and also get us a step closer to overmap. 2020-07-07 09:30:12 -04:00
Leshana ccef6cc908 Implements "static" area machinery power usage
- Instead of using auto_use_power to re-tally up machinery's power usage every cycle, track the steady "static" load separately from the transient "oneoff" usage.  Machines then only need to inform the area when they use oneoff power or *change* their steady usage.
- Remove auto_use_power and stop SSmachines from calling it.
- Add vars to track "static" usage for each of the three power channels to /area
- Rename the existing three vars to "oneoff" so its clear what they mean (and to catch people accidentally updating them directly)
- Update area power procs and APCs to use the new variables.
- Rename /area/proc/use_power() to use_power_oneoff() to make it clear what it is doing.
- Deprecate /obj/machinery/use_power() in favor of use_power_oneoff() but don't delete yet.  Can transition gradually.
- Add logic to the update_power procs on machines to calculate the deltas and update static area power whenever their usage changes.
- Add logic to machines to update area power when they are created, destroyed, or move.
- Moved /obj/machinery procs related to area power usage into machinery_power.dm to make them easier to find.
- Added or updated comments in several places to explain what is going on and how to use it.
2020-05-19 20:17:48 -04:00
Atermonera 3b3e5b3962 Merge pull request #7080 from VOREStation/pol-uavs
Add UAVs
2020-05-13 21:33:15 -07:00
Aronai Sieyes a45da3f0bb Add UAV and UAV control software 2020-05-11 21:35:06 -04:00
Cerebulon 11e0e142c2 Ports Aurora Telecomms Sprites 2020-05-09 07:12:37 +01:00
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