Commit Graph

345 Commits

Author SHA1 Message Date
Atermonera
60c189933a Merge pull request #8583 from Spookerton/spkrtn/sys/workspace-settings-improvement
workspace improvements
2022-04-28 22:11:09 -08:00
spookerton
1b13c8dd9f fix files with invalid utf-8 2022-04-27 01:02:04 +01:00
spookerton
c6dfdeaae2 remove unused sources in code/* 2022-04-26 21:17:59 +01:00
spookerton
556331a6a3 use /global/ sugar for bare globals, no leading / 2022-04-24 07:54:34 +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
spookerton
7eedbedba5 removes some legacy procs, adds some other procs
NUFC

removed add_lspace — unused
removed add_tspace — unused
removed invertHTML — unused
removed hsl2rgb — unimplemented

removed hex2num — replaced with define
removed num2hex — replaced with define
removed add_zero — replaced with pad_left
removed add_zero2 — replaced with pad_left
removes hex2rgb — replaced with behavior of rgb2num()
removes hex2rgb_r — replaced with behavior of rgb2num()
removes hex2rgb_g — replaced with behavior of rgb2num()
removes hex2rgb_b — replaced with behavior of rgb2num()
removes assorted inline list(rgb) > hex — replaced with behavior of rgb()
removes assorted inline rand > hex — replace with random_hex_text

added hex2num define
added num2hex define
added random_hex_text
added generate_padding
added pad_left
added pad_right
2022-04-03 14:19:45 +01:00
Mechoid
4780b1efe5 Planetary Meteors (#8422)
* Begins work on Planetary meteors

* Work, clean meteor code.

* Continues work. Meteors now handle their own movement and launching.

* New meteor types, some added to waves. Large meteor type fully implemented.

* Fix and adjust for comments.
2022-04-02 17:25:27 -08:00
Verkister
7bc6f7af00 Update event_manager.dm 2022-03-25 18:11:54 +02:00
Atermonera
f603223d88 Adds antag subsystem to handle antag datum init (#8383)
* Adds antag subsystem to handle antag datum init. Moves antag datum defines to a module. Antagging new_players via traitor panel moves their created bodies to appropriate spawnpoints.

* Un-oopsies some unnecessary init order changes
2022-01-27 20:08:10 -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
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
Neerti
fdabe51ee8 Linter Introduction + Cleanup (#8085)
* Adds linter defines to repo.

* Uncomments linter defines already in the code.

* Resolves unreachable code linter errors.

* Nukes decade+ old syndie specops code except for computer since that's mapped in?????

* Resolves procs has no parent linter error.

* Proc signature fixes

* Bad comments

* "In" danger

* Type safety

* Implied nested list abuse

* Top level ..() usage

* Sleepy coder typos

* Invalid kwargs calls

* Pointless returns

* Linter hacks (see full message)

Byond doesn't care and it has no effect but linter doesn't like var/proc
for holding references to procs, despite that it's valid byond code.

Also, the linter seems to have serious issues figuring out relative
proc names. This commit is a sort of take-it-or-leave-it thing. It's not
required, it just cuts down on warnings, but this code is valid DM code.

* WHATEVER THIS IS

* Trick dreamchecker linter into ignoring this file's sins in it's weird use of vars

* Fix list decoration syntax - Its a list, not list of lists

- To declare that a var is a list you can `var/list/blah = list()` syntax or the `var/blah[0]` syntax.  Both do exactly the same thing. But if you do `var/list/blah[0]` that is just like doing `var/list/list/blah = list()`

* Hopefully stops the ai holder subtype folder from going quantum and sometimes changes capitalization over time, and incidentally causing 20+ linter errors.

* Fixes unwrapped negated object in list linter error.

* Resolves colon-like list accessing linter error.

* Turns linter on in linter config.

* Fixes closet indentation properly and cleans up suit storage unit switch.

Co-authored-by: Aronai Sieyes <arokha@arokha.com>
Co-authored-by: Leshana <Leshana@users.noreply.github.com>
2021-05-25 18:17:26 -09:00
ShadowLarkens
dad9020f9a TGUI Engineering... and a bunch of other random things 2020-10-21 13:02:19 -07:00
Heroman
c534b58efa Some missed instances of Colony Director 2020-08-29 05:11:33 +10: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
listerla
d56974cb92 Colony Director -> Site Manager 2020-08-25 20:12:29 -04:00
TheFurryFeline
2d60c95790 Hoorah. More Typo Fixy
Fancy that a downstream noticed this and got me to check all the way up here. So fix here, too for all the rest down the line.

Changelog Notes:

- Fixes typo in Solar Storm announcement with refrain being spelled "refain" instead.
2020-06-20 17:22:22 -04:00
Rykka
0667b998b9 Increase Aurora Caelus Rarity 2020-06-11 21:29:41 -04:00
Rykka
6b8bc0ab22 Add the Aurora Caelus Event!
Adds the Aurora Caelus, a rare event that occurs on the station space z-levels~!

During this event a .ogg will play to all clients, and you will see the outside appear almost like a storm - consider it a fun little break and a rare event for a moment of calm.

The event announces as soon as it fires, and assuming time dilation isn't horrible, starts 120 seconds after (60 "ticks" of the event subsystem being fired by the MC, which happens every 2 IRL seconds, affected by time dilation).

Current event weight (frequency) can be tweaked according to admin liking, and it's currently a MUNDANE level event. This can be changed to MODERATE or otherwise as determined by admins, or given a higher weight - during testing, stuff like PDA spam or news or etc very often went over it and it took giving it a lot of weight for it to fire - but it is supposed to be a "rare" cosmic thing, not something that happens every shift.
2020-06-07 13:25:16 -04:00
Aronai Sieyes
ad75bb86bd Alter playsound paradigm 2020-05-19 11:06:28 -04:00
Arokha Sieyes
07e2efb9b8 Fix/rename some timing stuff 2020-05-08 01:51:24 -04:00
Atermonera
1cae548d08 Merge pull request #6966 from VOREStation/vplk-bye-area-new
Refactor away area/New()
2020-04-11 21:40:51 -07:00
atermonera
7d959c5602 Adheres to byond's ridiculous list indexing convention in carp_migration.dm, line 44 2020-04-10 16:19:41 -07:00
atermonera
e8c70a9f63 PRIORITY CRITICAL: Fix infinite loop in carp_migration.dm, line 44 2020-04-10 16:13:43 -07: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
Leshana
d7e4c0d90d Cleanup code and comments.
- Refactor ion_storm to actually operate using start()/end()/announce()
- Remove unused variable and enhance comments.
2020-04-07 01:38:40 -04:00
Novacat
94c3f9dbef Port: Merge pull request #6980 from VOREStation/aro-dust
Fix dust zlevel choice
2020-04-07 01:08:20 -04:00
Aronai Sieyes
255a2fdf03 Port: Merge pull request 7010 from VOREStation/aro-lessdoom
Fix the doom asteroid waves
2020-04-06 17:54:33 -04:00
Aronai Sieyes
532c9d5bb2 Port: Merge pull request 7006 from VOREStation/aro-moreanounce
Remove the 'has cleared the' announcement for ships
2020-04-06 17:54:33 -04:00
Aronai Sieyes
7ff8e71db5 Port: Merge pull request 6946 from VOREStation/aro-announce
Don't announce overmap events
2020-04-06 17:54:33 -04:00
Novacat
3bb9e8cef0 Port: Merge pull request 6983 from VOREStation/events-removing-skybox
Quick fix to ensure events with skyboxes remove them at the end.
2020-04-06 17:54:33 -04:00
Aronai Sieyes
b3be065ae4 Port: Merge pull request 6900 from VOREStation/vplk-overmap-events
Overmap Events
2020-04-06 17:54:26 -04:00
Neerti
88b4e47e8b Fixes merge conflicts again. 2020-03-28 19:06:14 -04:00
Atermonera
dfda8ea952 Merge pull request #6900 from VOREStation/vplk-sssupply
Converted old supply_controller to SSsupply
2020-03-27 14:37:31 -07:00
Aronai Sieyes
715de43f35 VChat: Redone chat output done in Vue.js (#6761)
* Better notifications

* Add buttons to del/move tabs in edit mode

* Add a <span> to emotes

* Fix duplicate IDs in VChat and add more logging

* VChat: Redone chat output in Vue.js

* Ported tg asset cache

* VChat DME Update

* Replace \image macro with bicon()

* NanoUI Subsystem Fixes

Don't do this, the asset subsystem does this for you

* Allow narrate/globalnarrate shenanigans

Allows HTML if your entire thing is HTML

* Disable bicon() icon object cache, and create text tag cache

* Ore Scanner is written incorrectly

Only revealed by vchat

* Fixes 2 VChat bugs

* Underline links in VChat

* Fix LOOC color

* VChat Improvements

Hopefully, anyway.
- Arbitrary font size setting
- Line height setting
- Multiple crush settings
- Rewrote how tabs work hopefully for performance
- Hidden messages are actually put elsewhere
- Attempts to correct chat backlog restore on rejoin

* Surgery steps to use <span>

* Some VChat Tweaks

- Chat remains between client reconnects if your client didn't close (so things like using the reconnect button, or autoreconnects at round end when that feels like working)
- The client doesn't send pings to the server, the server sends pings to the client. This fixes AFK measurements for AFK kick purposes.
- Turn latency indicator into a green/red indicator to show if you're connected, and when clicked will perform a one-time ping (and block doing it again for 10 seconds). It will display '?ms' if it never got a reply, or '999ms' if it did, but it was over 1s.

* Include date in filename for VChat log save

* Merge pull request #6767 from Cyantime/patch-2

Change chat export naming scheme

* Adds VChat tab saving

Saves every time you enter/exit edit mode. Persists between rounds, VChat reloads via verb, etc.

* Fix chat exporting when someone has used unicode

Only affects clients still using 512

* Use CLIENT_FROM_VAR for ease of code reading

* Update code/modules/client/asset_cache.dm

Co-Authored-By: Novacat <35587478+Novacat@users.noreply.github.com>

* Fix runtime when client disconnects before vchat loads

* Fix polaris version of command reports

* Fix LOOC color in oldchat

* Put some styles in various adminpm messages

* Round info and advanced who spans

* Fix missing tag-end

* Maybe fix images for linux and statpanel but also doom everyone

Co-authored-by: ShadowLarkens <ShadowLarkens@users.noreply.github.com>
Co-authored-by: Novacat <35587478+Novacat@users.noreply.github.com>
2020-03-27 14:07:28 -07:00
Neerti
87c53a75af Updates to master and makes gravity event code be current. 2020-03-26 04:10:51 -04:00
Leshana
8c1ab54467 Converted old supply_controller to SSsupply
- Removed the old processController process and refactored it into a subsystem
- Updated references from supply-controller to SSsupply
- Changed from 1.5 points per 30 seconds to 1 point per 20 seconds.  Same rate of 3 per min, but avoids fractional points.
2020-03-25 00:32:10 -04:00
Neerti
33657c9e11 Event system rewrite started. 2020-03-19 07:31:30 -04:00
Leshana
b0f01961de Make area.gravitychange not require being passed a reference to... itself. (#6838) 2020-03-16 02:31:09 -07: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
Arokha Sieyes
5b15917d32 to_chat replacing stream operator 2020-02-17 13:14:08 -05:00
Heroman
2c6bd784c4 Pauses event processing while doing event actions 2020-01-11 20:42:49 +10:00
Unknown
7f4b35580d Blind port of Bay Radiation Subsystem
Figured I would do my part to move everything over to subsystems. Not tested yet.
2019-09-30 23:59:31 -04:00
Nalarac
ee3c1b0779 Lowers Bot Emag Chance from Ion Storm 2019-08-04 15:14:47 -05:00
Heroman
492dc81de1 Fixes technical cameras being affected by random event 2019-07-03 15:32:04 +10:00
if there were two guys on the moon
229b79a093 Fixes #6145 2019-05-27 18:39:24 +01:00
Mechoid
f08ee32d60 Time to get crazy. 2019-04-12 12:08:18 -07:00
kevinz000
46c79c7d3e [READY]Makes a bunch of processes subsystems instead (#5814
* Converts various New() definitions to Initialization()
* Adds absolute pathing
2019-01-15 22:58:06 -08:00
kevinz000
d15f7efa5b Merge branch 'master' into PS_PORT_SCHEDULER 2018-12-06 18:10:48 -08:00