413 Commits

Author SHA1 Message Date
Greenjoe12345 8ac39d87f6 Update areas.dm
fix wrong path
2023-12-29 17:01:25 +00:00
Greenjoe12345 d72611e059 area blurbs (#9283)
* blurb

* fix

* oops missed a thing.
2023-12-27 21:44:48 -08:00
klorpa f445ffde0a Spelling Fixes (#8973)
* SpellingFixes

* OtherTypos

* OtherTypos
2023-04-08 21:39:28 -08:00
MistakeNot4892 0604be180e First pass on drake map.
Expanding on xenofauna.
2023-03-08 09:39:04 +11:00
Frenjo 20cdc4b676 Converts move intents to /decl/move_intent (#8993)
* Converts move intents to /decl/move_intent

Adds /decl/move_intent/walk and /decl/move_intent/run.

Switches all move intent checks to use the new IS_RUNNING and IS_WALKING macros.

Renames and refactors /mob/living/proc/set_m_intent() to /mob/living/proc/set_move_intent(decl/move_intent/intent).

Removes the unnecessary /mob/var/m_int and associated code.

Updates all move intent setters to use set_move_intent().

* Swaps incorrect config values

Swaps incorrect move delays since I got them backwards somehow, oopsies.

* Adds suggested ?. operator

Compactifies two if statements using the ?. operator instead.
2023-03-04 14:28:10 -08:00
Sypsoti 14a10960b7 Union Rep Office and ID (#8964)
* adds ID and office access

* final touches

* requested changes
2023-02-19 16:32:42 -08:00
MistakeNot4892 e89376237b Standardized area flag defines, added vendor rampancy flag check. 2022-10-23 23:56:37 +11:00
spookerton 3abdbbaa1c replaces atom.initialized with ATOM_INITIALIZED
refactors atom/var/flags to atom_flags and area_flags
moves NOBLOODY, NOBLUDGEON, and PHORONGUARD to item_flags instead of atom_flags
corrects various misapplied flags
2022-10-18 09:36:36 +01:00
Killian 1862b54013 Atmospheric Retention Fields Port (#8582)
* atmospheric retention fields

* arf updates

* Update atm_ret_field.dm

* Update circuits.dm

thought I got this one but oops

* Update polaris.dme

totally didn't forget to uncheck testmap

* Update atm_ret_field.dm

* fix a runtime, add examplemap demo area
2022-04-29 16:28:20 -08:00
spookerton c6dfdeaae2 remove unused sources in code/* 2022-04-26 21:17:59 +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 a495456e36 fire loop behavior of SSalarm, GLOB alarm handlers 2022-04-24 07:40:38 +01:00
Cerebulon 37d685d799 Moves area defines onto maps, fixes blob/vine spawns (#8421)
* Moves area defines onto maps, fixes blob/vine spawns

* Redundant region define
2022-03-17 18:16:11 -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
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
MistakeNot4892 b22a0568a3 Sideports a couple of init unit tests from Neb. (#7893)
* Sideports a couple of init unit tests from Neb.

* Trying to unfuck initialize logic.

* Removing del()s.

* Adjusting return values to Initialize().

* Moving some dangerous object logic from obj onto the two types that use it.

* Rolling back some init changes and commenting out initialized atom unit test.

* this comment formatting is a minor war crime

* Removed sleep() from signaler circuit Initialize().

* Additional Init fixes post-rebase.

* Uncomments subsystem test since that's passing.
2021-02-21 12:03:34 -09:00
Cerebulon 66b0338be2 Ports TGUI Security Stuff (#7902) 2021-02-19 22:18:09 -09:00
Verkister 527278a6c3 Adds area soundproofing. (#7881)
* Adds area soundproofing.
Areas now have a var for soundproofing in order to block sounds from other areas from entering or sounds from within leaving the area.

* Update sound.dm

* Update sound.dm
2021-02-19 22:04:54 -09:00
SubberTheFabulous 2526303dcf 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-16 23:06:53 -07:00
Atermonera 6d4d5d6efd Merge pull request #7571 from listerla/nomoresitemanager
Colony Director -> Site Manager
2020-08-27 17:41:52 -07:00
Atermonera 4bf64e6b2a Merge pull request #7459 from Rykka-Stormheart/shep-dev-sound-overhaul
Massive Ambience and Sound Overhaul + Addition
2020-08-27 16:23:38 -07:00
listerla d56974cb92 Colony Director -> Site Manager 2020-08-25 20:12:29 -04:00
Rykka 0c7a7fd2b8 Massive Ambience and Sound Overhaul + Addition, Squashed Commit Edition 2020-08-21 06:53:05 -04:00
Rykka 592e46bc7f 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-21 04:14:29 -04:00
ShadowLarkens 164c9bd143 Beginnings of a global volume control system 2020-08-14 17:19:26 -07:00
ShadowLarkens 305b18c15e Fix play_ambience in Life() causing premature loops 2020-08-10 16:30:16 -04:00
Atermonera bef865b55e Merge pull request #7383 from Neerti/meson_obfuscation
Adds Area-Based Meson Obfuscation
2020-08-01 21:05:07 -07:00
Neerti fa99507667 Implements ability for specific areas to be difficult to see with meson/material goggles. 2020-07-27 21:02:23 -04:00
Rykka e7ba45e9c6 Ambiance and Sound Updates
All living mobs will now have a check run every 30 seconds or so to replay the current ambience of the area they're in, if they've not had it played in the last minute. Said check is a 35% chance of playing the ambience. Good for if you're standing around in one area.

Computers + turrets got new sounds, turrets have a deploy, retract, and rotate sound. Arcade machines now play sound effects depending on what step you're on and what you're doing.

Replaced maintenance ambience with different ambience from Paradise/Aurora, and moved our maintenance to foreboding, and moved old foreboding to it's own folder.
2020-07-24 08:30:50 -04:00
Cerebulon 03b7a0ea0d Persistent Trash/Dirt/Graffiti/Notices (#7337)
* Port Trash/Writing Persistence from World

* stuff beyond straight portin

* Fixed admin menu

* Config, cigbutts, blood exceptions, offices....

* mapped butts
2020-07-24 02:23:34 -07:00
Atermonera 8b3bdd0863 Merge pull request #7268 from VOREStation/Arokha/baylockers
Ports Bay's lockers/cabinets/crates/etc
2020-07-03 16:09:06 -07:00
Billy Bangles da9d2124d8 adds chessboard holodeck program 2020-06-21 17:16:05 -04:00
Aronai Sieyes 5cc996d82d Port Bay's lockers, crates, largecrates, wall lockers 2020-06-01 12:38:07 -04:00
Atermonera 55e12aad7b Merge pull request #7210 from VOREStation/vplk-static-power
[PORT] Static Machinery Power
2020-05-30 21:18:27 -07:00
Rykka Stormheart 9917f31031 Merge branch 'master' into shep-dev-upstream-screenport 2020-05-30 06:54:08 -04:00
Atermonera 6ab622a2b5 Merge pull request #7205 from VOREStation/Arokha/playsound
Alter playsound paradigm
2020-05-28 16:05:59 -07:00
Rykka fc1d6e741c 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. 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 all into one proc, called container_resist().

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.

Alerts, pictured in the top right.
![https://i.imgur.com/H7Bipci.png](https://i.imgur.com/H7Bipci.png)
2020-05-23 04:48:47 -04:00
Leshana ea5d868803 Address static power review suggestions. 2020-05-19 20:18:38 -04:00
Leshana 480b01de31 Add VV command for debugging area static power. 2020-05-19 20:18:00 -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
Aronai Sieyes ad75bb86bd Alter playsound paradigm 2020-05-19 11:06:28 -04:00
Aronai Sieyes 1eb783a81a Refactor spacemoves 2020-05-19 10:40:40 -04:00
Neerti c5c0888d8e Tweaks and fixes for the new new event system. 2020-04-26 07:21:56 -04:00
Leshana 6f5fb88922 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-10 14:58:59 -04:00
Leshana 2c13bee848 Replace global all_areas list with world.
It ends up having similar performance, so might as well not bother with all_areas.
2020-04-10 14:58:59 -04:00
Neerti ba56f7951f Hopefully fixes conflicts. 2020-04-05 17:07:37 -04:00
Atermonera 70534c3a6b Merge pull request #6920 from Neerti/medical_qol
QoL: Small Medical Things
2020-04-05 00:01:57 -07:00
Neerti f35d9da9a9 A few bugfixes and QoL tweaks. 2020-03-29 02:15:49 -04:00
ShadowLarkens 6b802b61e8 Port VOREStation PR 6914 Speed up map load significantly
- Set initialized = FALSE on unsimulated turfs that need to intialize.
- Most of area/New() to initialize
- Faster lookup of self-init on atoms
- Split air alarm and fire alarm files, move new to initialize
- Tweak decals and opacity

Co-authored-by: Aronai Sieyes <arokha@arokha.com>
Co-authored-by: Leshana <Leshana@users.noreply.github.com>
2020-03-27 20:37:02 -04:00