Commit Graph

754 Commits

Author SHA1 Message Date
Leshana 10b0323d6f Use can_atmos_pass to reduce proc-calls in c_airblock()
- Add additional can_atmos_pass value ATMOS_PASS_PROC which indicates custom behavior requiring calling the CanZASPass proc.
  - The benefit being for the other three values we DON'T need to call CanZASPass at all!  We already know the behavior without the overhead of a proc call.
  - Obviously any atom with can_atmos_pass = ATMOS_PASS_PROC cannot now call ..() in CanZASPass() since the default behavior would be to (recursively) call CanZASPass()
  - This required re-numbering the constants, so I also fixed all code that assumed particular values for the constants.
- Switched all types which overrode CanZASPass with custom logic to be can_atmos_pass = ATMOS_PASS_PROC
- Changed /turf/c_airblock() to skip calling /atom/movable/c_airblock() for the three can_atmos_pass values that don't require calling the proc.
2020-04-30 14:50:57 -04:00
Aronai Sieyes b3c1cfd29d Merge pull request #7516 from VOREStation/upstream-merge-7045
[MIRROR] Removes limits on eating, centralizes nutrition changing.
2020-04-29 19:23:55 -04:00
Aronai Sieyes 893130bdff Merge nutrition refactor for vorestation 2020-04-29 18:34:22 -04:00
Atermonera f1cabd6742 Removes limits on eating, centralizes nutrition changing. 2020-04-29 17:15:15 -04:00
Atermonera 84eb15f9cc Merge pull request #7041 from VOREStation/vplk-disposal-consts
Slightly clean disposal pipe construction code.
2020-04-29 16:52:26 -04:00
Aronai Sieyes 8ec31c9aa4 Refactor AI into two subsystems and clean up targeting some 2020-04-26 23:32:45 -04:00
Unknown dfedf60c0f Requested Changes 2020-04-26 10:58:56 -04:00
Aronai Sieyes f2314c32bb Merge pull request #7405 from VOREStation/vplk-static-machinery-power
Static Machinery Power
2020-04-24 21:06:52 -04:00
Novacat de5b875043 Merge pull request #7351 from VOREStation/upstream-merge-6956
[MIRROR] Saycode Overhaul -- Multilingualism
2020-04-23 22:48:51 -04:00
Leshana 763753648b 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-04-23 19:04:34 -04:00
Novacat 5d41534ab8 Update is_helpers.dm 2020-04-21 14:38:00 -04:00
Aronai Sieyes 88154f0374 Adds rutile (titanium ore) and other materials 2020-04-20 12:07:45 -04:00
ShadowLarkens 139d5cd3c3 Saycode Overhaul -- Multilingualism 2020-04-20 04:12:53 -04:00
Unknown a5f62634be Adds additional safeties
Stops ships from being deployable on planet surfaces
2020-04-19 19:30:35 -04:00
Aronai Sieyes 3f03b72ea2 Adjust icon 2020-04-16 13:50:43 -04:00
Aronai Sieyes 3ea7696c38 Adds autosaving 2020-04-16 12:40:30 -04:00
Leshana 8527736ab6 Revert "Okay this was not a good change"
This reverts commit 569723547c.
2020-04-14 13:21:20 -04:00
Aronai Sieyes 68b527b518 Merge pull request #7222 from VOREStation/aro-shieldbeep
Make shield sprites look nicer hopefully
2020-04-13 10:05:27 -04:00
Aronai Sieyes 0d39c5535e Merge pull request #7200 from VOREStation/aro-offmap-rebase2
ITV Talon offmap spawn jobs
2020-04-13 09:28:19 -04:00
Atermonera 2374a40908 A Tale of Blobs and Man 2020-04-13 01:35:01 -04:00
Aronai Sieyes 984415e9c9 Merge pull request #7177 from VOREStation/sscleanup/openspace
Refactor the Open Space controller into MC Subsystem
2020-04-12 21:55:20 -04:00
Aronai Sieyes 3a41cf0656 Make shield sprites look nicer hopefully 2020-04-12 20:51:07 -04:00
Leshana 65546d4e28 Merge pull request #7150 from VOREStation/sscleanup/ticker
Refactor the gameticker controller into SSticker
2020-04-11 19:28:37 -04:00
Aronai Sieyes faacf88b5f VS: ITV Talon offmap spawn map 2020-04-11 12:04:39 -04:00
Aronai Sieyes 05f1aa7356 Convert some telecomms constants into defines 2020-04-11 12:03:10 -04:00
Atermonera 8aea6f9788 Merge pull request #6982 from VOREStation/vplk-fix-vv-lists
Fix VV on lists
2020-04-11 02:56:48 -04:00
Leshana 5bf15efcbc Refactor the Open Space controller into MC Subsystem
- Basically just refactor doWork() into fire() with the capablity to return in the middle with MC_TICK_CHECK.
- Move some vars around to be more organized.
- Only functional change is that when a turf is queued twice in one cycle, the second queue moves it to the end of the list instead of it being in the queue twice
2020-04-10 12:10:21 -04:00
Leshana c4a8aa2b7b Refactor the gameticker into SSticker
- Instead of independently spawn'd while/sleep loops, it stores its state and lets the MC fire it.
  - Convert relative path indentation procs to absolute path as per modern style standards.
  - Break apart the inner loops into separate procs so you can see what is actually going on.
  - It now shows up in MC tab, along with stats about what phase it is in.
2020-04-10 11:41:38 -04:00
Aronai Sieyes 10ffcd32aa Merge pull request #7154 from VOREStation/aro-pipes
Adds 2 new pipe types
2020-04-10 10:18:46 -04:00
Novacat fc7284ca1a Merge pull request #7189 from VOREStation/upstream-merge-6969
[MIRROR] Adds preference to output description_info with examine text
2020-04-10 08:39:33 -04:00
Atermonera a85b953ef4 Adds preference to output description_info with examine text (#6969)
* Adds preference to output description_info with examine text

* includes the defines file
2020-04-10 01:21:21 -04:00
Atermonera ba4af183f4 Increases SSjobs init priority so it's accessible earlier (#6955) 2020-04-10 01:20:08 -04:00
Aronai Sieyes ce8bda7cd7 Merge pull request #7118 from VOREStation/vplk-shields
Ports Baystation Advanced Shield Generators
2020-04-07 23:53:12 -04:00
Atermonera 5c03273ce8 Merge pull request #6884 from Neerti/event_system_fix
Rewrites the Rewritten Event System
2020-04-06 16:23:39 -04:00
Arokha Sieyes f0bc46cc49 Add 2 new pipe types 2020-04-05 23:05:33 -04:00
Leshana e2bd546f61 Ports advanced shield generators from Baystation
- Creates new advanced shield generators, designed to replace old hull and bubble shield generators.
- Upgrades the floor mounted and handheld shield diffusers.
- Makes underfloor shield diffusers actually constructable.
- Handheld diffusers orderable via uplink.
- Removes supply packs and research datums  for the old generators, but leaves their code in place for maps that still use them.
- Integrates with the meteor and electrical storm events.
- Integrates with mob AI (they know how to attack it)
2020-04-03 00:56:15 -04:00
Aronai Sieyes 74134e4ac9 Looking Glass Holodecks 2020-04-02 23:42:47 -04:00
Aronai Sieyes 1626df366c Merge pull request #7102 from VOREStation/aro-fakez
Improves space edge-of-map behavior and add mapping tools
2020-04-02 10:58:13 -04:00
Aronai Sieyes 09003a6c61 Improve space map edges 2020-04-02 01:08:07 -04:00
Leshana f022647037 Adds point defense batteries to defend against meteors
- Creates a global meteors list to make it easier to find them.
- Adds point defense mainframe, batteries, projectiles, circuitboards, and R&D designs.
- Adds sound effects and icons for the new machines.
- Original code and sprites ported from Baystation.  Adtapted to our code, added icon states and QoL elements.
2020-04-01 21:30:30 -04:00
Leshana 23482e88fa Moves topic return value defines to where they are usable everywhere. 2020-04-01 20:36:00 -04:00
Atermonera 8986eb7720 Merge pull request #6902 from VOREStation/vplk-ssalarm
Convert alarm_manager into SSalarm subsystem.
2020-03-30 20:41:10 -04:00
Aronai Sieyes 26a2a8504d Merge pull request #7020 from VOREStation/upstream-merge-6761
[MIRROR] VChat: Redone chat output done in Vue.js
2020-03-29 17:51:20 -04:00
Aronai Sieyes b2605300f2 Mergey Merge Polaris VChat 2020-03-29 15:37:43 -04:00
Atermonera 752d560d76 Converted old supply_controller to SSsupply 2020-03-27 17:38:05 -04:00
Aronai Sieyes 8a33afaff6 VChat: Redone chat output done in Vue.js 2020-03-27 17:08:14 -04:00
Leshana 96a3242c6e Remove temporary debug logging from SStimer 2020-03-25 00:18:19 -04:00
Atermonera 4384ca1727 Xenoarch Expansion 2020-03-24 21:43:27 -04:00
Aronai Sieyes 1c38bd11ca VR Cloaking framework 2020-03-23 21:34:32 -04:00
Aronai Sieyes c93c5afefa Adds atom/movable cloaking framework 2020-03-23 21:34:32 -04:00