Commit Graph

2265 Commits

Author SHA1 Message Date
Metis
9d7f14842c ladder and chasm fix 2024-11-21 22:16:50 -05:00
evilew
9d9f805d7b Merge branch 'master' into gatofication2 2024-11-21 22:11:24 +01:00
evilew
10ef9e374a Nanotrasen to GATO - comments
I know it's a mess, but the least I can do is add comments anywhere I can
2024-11-19 01:59:28 +01:00
Metis
4bd63db80f Merge remote-tracking branch 'upstream/master' 2024-11-17 16:55:40 -05:00
AlManiak
ce1081a8dc Added Vegetarian quirk 2024-11-10 18:35:14 +01:00
evilew
edea3ae8e0 nanotrasen to gato
Replaced most instances of Nanotrasen mentions into GATO, though I've kept some that have more sense to be kept as Nanotrasen (like nanotrasen marked stuff and such)
2024-11-09 23:05:02 +01:00
Metis
f6af059a06 job titles 2024-11-02 03:16:16 -04:00
Metis
f9ee168b6a Merge remote-tracking branch 'upstream/master' 2024-10-28 22:21:26 -04:00
LemonInTheDark
b478367fd9 Saves on average 10 seconds from roundstart times (#71730)
## About The Pull Request

When runlevels change mid work, subsystems running behind have their
next_fire updated.
It's offset by a sum of random numbers, so things don't bunch up,
especially KEEPTIME SSs

The trouble is we have so many subsystems that get added at roundstart
that this offset gets LARGE, like 10 seconds on average.

So instead of randomly offsetting, why not "fill" a set of time slots?
Only 1 keeptime subsystem a tick, and 4 others. Then we just fill up
those buckets and get to it (also don't offset things that are already
processing)

I've talked to mso a bit about this. What he reccomended was sampling a
random time withing a 2 second window.
I'm not totally sure why, kinda waiting for him to tell me off, if he
does I'll fix things up.

This pattern takes the max possible delay from 16 (76 * 5 / 20)) seconds
to 0.7 (56 / 4 / 20)
It obviously scales with subsystem count, but I like this scaling a bit
better

I've applied the same pattern to the offsetting we do at the start of
Loop(), for ticker subsystems. I am less confident in this, it does take
last fire times from at worst 3.75 seconds (15 * 5 / 20) to a static
0.75 (15 / 20)
As stated I'm less sure of this, hoping to get mso'd so I can clean
things up

## Why It's Good For The Game

Makes roundstart snappier

## Changelog
🆑
code: Roundstart "starting" should be much snappier now
/🆑

Co-authored-by: Kyle Spier-Swenson <kyleshome@gmail.com>
2024-10-21 00:30:59 -04:00
Metis
75b717d7fa Merge remote-tracking branch 'upstream/master' 2024-10-15 13:22:30 -04:00
SkyratBot
80e7c0db0a [MIRROR] Sends a toast notification when initializations complete. [MDB IGNORE] (#18623)
* Sends a toast notification when initializations complete. (#72465)

Initialization is significantly slowed down by the presence of clients,
though when testing features, you need to join the server. I've been
told that some devs (particularly Mothblocks) are alt-tabbed out of
Dream Daemon while doing dev work, meaning that they are liable to miss
initializations completing, causing an effective slowdown in the dev
cycle. Mothblocks said it would be nice if there was a way to produce a
desktop notification when initialization completes.

I originally intended to add a function to rust_g that would produce a
Windows toast notification with a button allowing you to immediately
launch Dream Seeker. However, I couldn't find a reliable way to detect
if the OS version was Windows 7 or earlier, so running this function on
such an OS would cause a rust panic (which I was told is only a problem
because MSO probably still uses Windows 7).

Fortunately, PowerShell scripts can access the necessary .NET APIs to
produce toast notifications on Windows 10, while also failing more
gracefully than crashing the host process. So I recreated the
functionality I intended in PowerShell.

Toast notifications will only be sent on Windows, if the
TOAST_NOTIFICATION_ON_INIT config flag is enabled, AND there are no
clients on the server.

**Note for downstreams:** If you want the toast notification to have
your downstream's icon, copy it, scale the copy down to 16x16, and
either rename it "tg_16.png" or change that path in the call to
`world.shelleo` to the name of the new file.

Video Demo:

https://user-images.githubusercontent.com/12720844/210492033-963923d7-a1de-4326-9c9f-4f0c0b71d1a5.mp4

This isn't really a line item in the Dev Cycles Initiative, but even if
Mothblocks was exaggerating the benefits, it would still be a
significant speedup in the dev cycles.

No player-facing changes.

* Sends a toast notification when initializations complete.

Co-authored-by: Y0SH1M4S73R <legoboyo@earthlink.net>
2024-10-15 00:25:48 -04:00
Metis
b915cdcbb5 Update economy.dm 2024-10-10 16:47:56 -04:00
Metis
6494544bb8 normalizers and strong legs 2024-10-10 10:59:52 -04:00
sheepishgoat
7fc87cbc2d Merge pull request #1 from sheepishgoat/mapping-tweaks
config tweaks
2024-10-08 21:51:48 -04:00
evilew
cb5cba673b Revert "gs13 maps port"
This reverts commit f16e6cc3a6.
2024-10-08 23:12:55 +02:00
Metis
b8b3d603c4 border 2024-10-07 20:21:02 -04:00
evilew
f16e6cc3a6 gs13 maps port
- meta and box are fixed in this commit, however they will still need a lot more fixing
2024-09-30 15:21:02 +02:00
evilew
9950e38d03 doing stuff with title screens + configs 2024-09-24 22:26:57 +02:00
evilew
3d27360022 respawning config tweaks
not quite the full thing but yeah
2024-09-24 21:15:28 +02:00
Metis
4c1656f24d maps 2024-09-18 21:34:12 -04:00
Metis
8b3b46f9af mapping stuff (I am not even done yet) 2024-09-16 23:58:29 -04:00
Metis
ecf23a205e size fixed (mostly) 2024-09-15 22:31:19 -04:00
SandPoot
c07e94be66 push 2024-08-24 21:28:55 -03:00
deathride58
2e5e548369 Merge pull request #16089 from SandPoot/borg-buttons
Borg movement intent buttons
2024-05-20 17:40:38 -04:00
SandPoot
7832dbdba4 push 2024-05-20 18:25:24 -03:00
SandPoot
0a074ecb63 Purpose found
Co-authored-by: deathride58 <deathride58@users.noreply.github.com>
2024-05-17 21:38:45 -03:00
SandPoot
8d4b317800 poosh 2024-05-17 15:12:55 -03:00
deathride58
dd8c641520 Merge pull request #15486 from SandPoot/kills-cache
Solves issues with overlays by updating the whole subsystem
2024-04-12 23:31:54 -04:00
SandPoot
e40960a3a2 sadly necessary 2024-04-12 22:18:43 -03:00
SandPoot
91045350e5 overlay stuff 2024-04-12 22:01:03 -03:00
SandPoot
dfe90dfb61 Merge branch 'master' of https://github.com/Citadel-Station-13/Citadel-Station-13 into pr/SandPoot/15486 2024-04-12 20:48:41 -03:00
SandPoot
ea41329544 some random math, if it's too low, or too high, change later 2024-04-10 23:01:39 -03:00
SandPoot
ca8ce67cd6 mail 2024-04-10 20:54:04 -03:00
SandPoot
68fa21d602 content 2024-04-05 17:57:54 -03:00
SandPoot
676cb864b1 missed proc refs 2024-03-12 22:17:30 -03:00
Katherine Kiefer
7feb673279 sorted the wrong thing 2024-03-12 15:38:49 +11:00
Katherine Kiefer
461f90a0ea hmmmph 2024-03-12 15:29:22 +11:00
Katherine Kiefer
4a062ab083 shitty debug print 2024-03-12 15:20:19 +11:00
Katherine Kiefer
7fa6bb022e shit 2024-03-12 15:07:19 +11:00
Katherine Kiefer
fd29f9c902 initial 2024-03-09 21:16:02 +11:00
SandPoot
a65f323734 Merge branch 'master' of https://github.com/Citadel-Station-13/Citadel-Station-13 into proc-define-shit 2024-03-08 19:10:22 -03:00
SandPoot
fcd036dab5 final stuff, i think? 2024-03-07 20:31:53 -03:00
SandPoot
c7a2565255 stop this nonsense 2024-01-05 00:28:56 -03:00
SandPoot
7eaef36e11 d k daunkey kaung 2024-01-03 22:42:03 -03:00
deathride58
ce1d757159 Merge pull request #16016 from SandPoot/throwing-update
[TESTMERGE] Updates firemanning, throwing stuff
2023-12-28 22:44:59 -05:00
SandPoot
b9a422ee2d throw at mobs laying down 2023-12-18 14:07:25 -03:00
SandPoot
27bdd4b732 aiModule > ai_module 2023-12-17 23:20:43 -03:00
SandPoot
7b62dbe7bb ai + mech 2023-12-17 23:15:59 -03:00
SandPoot
a558377206 more stuff i can't guarantee works by itself yet 2023-11-29 23:37:15 -03:00
SandPoot
40f1d7401d procs 2023-11-29 22:40:13 -03:00