Commit Graph
482 Commits
Author SHA1 Message Date
MarinaGryphonandVirgoBot 385fa640af Linter diagnostics + bans non-var relative pathing 2021-06-20 18:16:45 -04:00
Aronai Sieyes db14882664 Port tg lighting system
Also converts planet lighting to a new system
Too hard to separate out from this PR
2021-06-17 00:18:09 -04:00
Aronai Sieyes c5ae498418 Make area/Entered sensible, and update ghosts 2021-06-01 19:56:25 -04:00
Aronai Sieyes 5ac6bd48d9 Ports /tg/ instruments 2021-05-31 19:13:52 -04:00
Unknown b21d5f3373 Minor Refactor 2021-05-06 12:30:03 -04:00
Aronai Sieyes 4690411915 Remove unnecessary 'signatures' 2021-04-08 12:39:14 -04:00
Nyks 65c539c44e Better clamping method, more clean-up 2021-04-07 05:32:56 +03:00
Nyks 057f532e73 Added overlooked type check 2021-04-07 02:50:23 +03:00
Nyks 5b3a00a2dc Resize proc polish and fixing 2021-04-07 02:01:33 +03:00
H0lySquirr3landGitHub 0c3861d395 Update Space Station 13 areas_vr.dm 2021-03-19 17:43:22 -05:00
H0lySquirr3landGitHub 2a62d18b74 Add files via upload 2021-03-19 17:27:30 -05:00
MistakeNot4892andUnknown 3e804dc799 Sideports a couple of init unit tests from Neb. 2021-02-27 13:05:16 -05:00
Verkister 0bb7c6b046 Adds area soundproofing for dorms.
Areas can now be soundproofed to block sounds from other areas from entering or sounds within the area from leaving. Will send upstream tomorrow.
2021-02-14 00:51:17 +02:00
VerkisterandGitHub 0639ec6ac6 Merge branch 'master' into spaceweirdness 2020-10-31 21:21:46 +02:00
SubberTheFabulousandVirgoBot ea30bf3401 adds VR thunderdome to CentComm area (#7715)
* Adds a VR Thunderdome

* Adds VR Thunderdome Vendors

* Adds VR Area

* Adds VR Thunderdome Area

* Adds VR Thunderdome area

This time without upsetting Travis, I guess.

* Adds VR Thunderdome Area

This time for sure, probably, I hope.
2020-10-17 02:07:24 -04:00
NovacatandGitHub 28c19ee066 Merge pull request #8868 from VOREStation/upstream-merge-7571
[MIRROR] Colony Director -> Site Manager
2020-08-28 13:17:58 -04:00
AtermoneraandVirgoBot 21c1b12ef1 Colony Director -> Site Manager 2020-08-27 20:43:04 -04:00
Rykka d2fb9a7691 Rebase onto Master for Volume Control Panel, Squash Commits 2020-08-27 19:47:38 -04:00
Cyantime d8f87b60f8 Remove gravity from debris field and rogue mining zones 2020-08-27 05:18:26 -04:00
ShadowLarkensandRykka 7aaa40b62c Beginnings of a global volume control system 2020-08-21 04:42:47 -04:00
ShadowLarkens cefe1a0b3c TGUI Brig Timer, Prisoner Management Console, and Security Records 2020-08-18 07:57:13 -07:00
Rykka 9690f85ec3 Adds Repeating Ambience and Ambience Chance Preferences!
Adds a Random Ambience Frequency and Ambience Chance Setting under Global, underneath Client FPS. Images here:

![](https://i.imgur.com/381HPGH.png)
![](https://i.imgur.com/tWuff1W.png)
![](https://i.imgur.com/smEtoQ9.png)

Self-explanatory. Random-Ambience-Frequency controls how long before it checks if it can play ambience to you again. Setting it to 0 disables the random re-play of ambience.

Ambience Chance affects the % chance to play ambience to your client. It defaults to 35%, but can be set from 0 to 100 to disable it or always play every time you move into an area or have the Random Ambience check called.
2020-08-13 01:40:23 -04:00
ShadowLarkens 9213f2cc81 Fix play_ambience in Life() causing premature loops 2020-08-10 03:00:57 -07:00
NovacatandGitHub dc352344fa Merge pull request #8565 from VOREStation/upstream-merge-7383
[MIRROR] Adds Area-Based Meson Obfuscation
2020-08-02 02:13:21 -04:00
AtermoneraandVirgoBot c889e5ebe2 Adds Area-Based Meson Obfuscation 2020-08-02 00:05:29 -04:00
AtermoneraandVirgoBot 3f3bf073e0 Merge pull request #7366 from Rykka-Stormheart/shep-dev-soundstuff
Ambiance and Sound Updates
2020-08-01 23:47:22 -04:00
CerebulonandVirgoBot 8b031dd8ad Persistent Trash/Dirt/Graffiti/Notices 2020-07-24 05:24:56 -04:00
AtermoneraandVirgoBot c5bca5d257 Merge pull request #7303 from BillyBangles/deep-blue-can-suck-my-toe
Adds chess pieces and chessboard holodeck program
2020-06-25 15:43:34 -04:00
Aronai Sieyes 719151a74a Port Bay's lockers, crates, largecrates, wall lockers 2020-05-31 12:26:00 -04:00
Aronai SieyesandGitHub fc849d9e36 Merge pull request #7962 from VOREStation/Arokha/playsound
Alter playsound paradigm
2020-05-19 11:20:52 -04:00
Aronai Sieyes 09074eaabb Alter playsound paradigm 2020-05-18 23:42:15 -04:00
Aronai Sieyes d64a922437 Refactor spacemoves 2020-05-18 22:30:27 -04:00
ShadowLarkens f905cfc020 Ported /tg/ style screen alerts, replacing the hunger icon with them
This adds throw_alert() and /obj/screen/alert, a system that allows you
to do custom hud alerts for any variety of things from "You're too
cold!" to mecha status indicators for the pilot.

There's quite a few things that actually got replaced; the
fire/oxy/tox/co2 alerts are all now just alerts, as is nutrition. The
xenochimera feral indicator would probably be a good candidate for
conversion, but I didn't touch it in this PR. There's also a number of
new alerts, such as blindness, highness, legcuffed, buckled, handcuffed,
and probably some more I missed; read code/_onclick/hud/alert.dm and see
for yourself!

Additionally, a number of tweaks have been done to resisting code, to
make it so that there's an indicator when you're buckled or handcuffed,
and can just click the alert to start resisting. This includes a
refactor that combines the logic for lockers, holders, micros
escaping from shoes, and struggling in a gut all into one proc, called
container_resist(). This means that vore bellies actually no longer need
the resist override, but it's been left in place just in case someone
finds something else they want to use it for.

Also, the health and internals indicator got moved down one tile each.
Needed room for the alerts. If we add the oxygen tank action buttons
from /tg/ and remove the internals indicator, the health indicator can
go back where it was originally.
2020-05-13 19:36:01 -07:00
AtermoneraandVirgoBot c3537b01e9 Merge pull request #7046 from Neerti/system_3_fixes
Tweaks and fixes for the new new event system.
2020-04-29 17:27:57 -04:00
Aronai Sieyes 6910c87508 Only play messages for living mobs 2020-04-26 16:44:52 -04:00
Arokha Sieyes fc249c5561 Remove unnecessary code, replace with area enter messages 2020-04-25 23:07:15 -04:00
Leshana e36410de25 Address static power review suggestions. 2020-04-23 23:00:23 -04:00
Leshana ba7da5b9b8 Add VV command for debugging area static power. 2020-04-23 19:04:34 -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
Leshana 865303e481 Removed area.uid var and /area/New()
- var/uid was used in only a handful of places.  Because areas are singletons
  it is safe to replace the uid with \ref, areas don't get deleted.
- And with that /area/New() is empty, we can remove it!
2020-04-12 18:05:09 -04:00
Leshana 262faa38e4 Replace global all_areas list with world.
It ends up having similar performance, so might as well not bother with all_areas.
2020-04-12 18:04:54 -04:00
AtermoneraandLeshana 5c03273ce8 Merge pull request #6884 from Neerti/event_system_fix
Rewrites the Rewritten Event System
2020-04-06 16:23:39 -04:00
AtermoneraandVirgoBot ba2f4c76dc QoL: Small Medical Things 2020-04-05 03:03:06 -04:00
Aronai Sieyes c6a95000df Most of area/New() to initialize 2020-03-19 15:51:05 -04:00
Aronai SieyesandGitHub 2c88a4df7f Merge pull request #6845 from VOREStation/aro-sectors
Sector tweaks
2020-03-18 09:53:20 -04:00
LeshanaandVirgoBot 3e3241eeb2 Make area.gravitychange not require being passed a reference to... itself. (#6838) 2020-03-16 05:32:20 -04:00
Aronai Sieyes 1585388b19 Make away missions not worry about spawning as much 2020-03-14 13:51:00 -04:00
Aronai SieyesandLeshana db35a6ec53 Tether map conversion to use landmark shuttles.
- Updated shuttle datums according to the guide.
- Removed the extra shuttle areas and replaced with shuttle landmarks.
- Updated some custom code.
2020-03-05 10:29:10 -05:00
Leshana c837078105 Replaced "area" shuttles with "landmark" shuttles.
Largely ported from the work done at Baystation in https://github.com/Baystation12/Baystation12/pull/17460 and later commits.

 - Shuttles no longer require a separate area for each location they jump to.
   Instead destinations are indicated by landmark objects, which are not necessarily exclusive to that shuttle.
   This means that more than one shuttle could use the same docking port (not at the same time of course).
 - Enhanced shuttle control computers to use nanoui if they didn't.
 - Organizes shuttle datum code a bit better so there is less re-inventing the wheel in subtypes.
 - Allows the possibility of shuttles (or destinations) that start on late-loaded maps.
 - Deprecate the "extra" shuttle areas that are no longer needed and update shuttle areas in unit tests

This all required a bit of infrastructure improvements.

 - ChangeArea proc, for changing the area of a turf.
 - Fixed lighting overlays actually being able to be destroyed.
 - Added a few utility macros and procs.
 - Added "turf translation" procs which are like move_contents_to but more flexible.
2020-03-05 10:29:08 -05:00
Arokha SieyesandLeshana 47ccc655db Deprecate the stream operator 2020-02-12 19:38:43 -05:00