Commit Graph

2688 Commits

Author SHA1 Message Date
ynot01
20c67e451b Antag Reputation Redux (#17824)
* antag repwork

* check centcom specifically

* GLOB.player_list

* Update antag_rep.txt

* Update antag_rep.txt

* better loop

* set miner to 6

* set AI to 6

* cook 5

* psyfch 5
2023-02-11 17:01:16 +00:00
Ling
f83723c389 Ports SSfoam and SSsmoke (#17742)
* Ports SSfoam and SSsmoke

* Remove dupe define
2023-02-08 00:52:57 +00:00
Ling
a6d7e3fd15 TGUI Preferences Menu + total rewrite of the preferences backend (#17381)
* TGUI Preferences Menu + total rewrite of the preferences backend (#17368)

* It compiles

* It opens

* Sync 1

* Add asset caching

* Sync 2

* It opens without dev now

* Update a few packages

* Sync 3

* Sync 4

keybind fix

* start of dehardcoded species

* Small fixes

* Add more individual preferences

* ASS sync

* Automatic changelog generation #17368 [ci skip]

* AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH

* e

* Fix some TS stuff

* Sort quirks starting from good

* Fix skin tone selector

* Jamie Fixes

* Update moth.dm

* Fix latejoin menu + tweaks

* Some fixes

* Finally fix job selection

* e

* Ling

* MORE

* config

* Convert pref: ooccolor

* Convert pref: asay color

* Convert pref: tooltips

* Convert pref: ui style

* Convert pref: buttons locked

* Convert pref: hotkeys

* Convert pref: tgui stuff

* Convert pref: windowflashing

* Convert pref: ghost stuff

* Convert pref: map & antag

* Convert pref: PDA stuff

* Convert pref: credits & glasses


1

* Convert pref: name

* Convert pref: appearances 1

* Convert pref: appearances 2

* Convert pref: jobless role

* Convert pref: runechat

* Convert pref: yogtoggles + tail wagging


1

* Convert pref: client fps

* Convert pref: graphic settings

* Convert pref: pda uplink & menuoptions

* Convert pref: map & flare

* Convert pref: Bar choice

* Fix setup character button

* Convert pref: alt announcer

* Fix

* Add cycle background button

* Convert pref: disable balloon alert

* fix

* Clean savefile

* Fix backpack pref

* Fix underwear selection

* Fixes some shit

* Updates

* Fix computer runtime

* Fix pref names

* Convert pref: donor item & hat

* More computer fixes

* Convert pref: borg hat

* Convert pref: donor pda (broken)

* Convert pref: purrbation

* Convert pref: afreeze

* Convert pref: accent

* Various savefile improvements

* Convert pref: persistent scars


1

* A few pref fixes

* Some more fixes

* Various SSoverlays improvements

* Add IPC appearances

* Add polysmorph appearances

* No icons for ipc and polysmorph

* Podpeople deserve death

* Add plasmaman appearance

* h

* fix

* fix2

* asdf

* fsdf

* aaaaa

* FUCK MOTHS

* Preternis color

* e

* e

* Update human.dmi

* icon fix

* un snowflake

* fix underwear icon

* remove color from here

* donor ree

* aa

* maybe

* Restore a bunch of TGUI files

* More TGUI fixes

* test

* Fix more errors

* a

* test

* e?

* a;lso this

* maybe

* Fix

* Revert "maybe"

This reverts commit 14d044a7e3.

* fuck off m8

* e

* fak off m8

* e2?

* AHHH

* AHA

* AHHH

* fix linter 2

* debug

* fix runtime

* Update dynamic.json

* Revert "debug"

This reverts commit 18681432bd.

* 2

* who sleeps in an async?

* Hack

* e

* Fix a few blocking calls

* Oh bother

* Stay dead

* fuck

* Update jobs.dm

* move debugging

* Update jobs.dm

* Test

* YEET

* Revert "YEET"

This reverts commit 4082e3b133.

* Update jobs.dm

* Update jobs.dm

* e

* Fix sechailer runtime

* Fix human hair color

* d

* Ports part of that job refactor

* Convert latejoin to new departments

* Fix ghost form

* Quirk validation

* Hopefully pod color fix

* oops

* Prayge job fix

* test

* Better unit test asset loading

* Remove print

* Add error just in case

* Remove brief outfit and bypass centcom deadmin

* Remove broadcast login/logout

* Remove darkened flash

* Remove fov darkness

* Remove ghost lighting

* Remove some tgui prefs

* Typo fix

* Small fixes

* IPC name fix

* IPC and pod colors

* Jobless fix

* Donor item fix

* Oopsie

* Quirk bandaid

* Misc

* Move new prefs to Preferences tab for now

* Add skillcape

* FUCK THIS SHIT

* Remove /tg/ gamer cloak

* Restrict some job related preferences to clean up UI

* Remove useless client var

* e

* Small tweaks

* Dont allow selecting mood quirks if mood is disabled

* AHHH

* Filter ckey-locked donor items

* stupid jamie

* AI core display fix

* Move donor stuff back to the top

* Remove TODOs

* Clean up perks

* Linter fixes

* e

* WORKS

* LORE

* Fix skillcape list

* Backpack why

* Fixes

* Fix cargo console

* Remove these

* Add horns, frills and mark

* Fix not applying all features

* Add some missing mutant bodyparts

* Update numberinput

* Makes animatednumber cooler

* Oops

* Add default ghost orbit

* Default to normal backpack

* Fixes skillcapes not being filtered

* Donor fix prayge

* yep

* Adds fallback latejoin menu

* Rework donor stuff a bit

* Fix donor tgui logic

* Delete unused proc

* Update FA

* Un-yogify quirks

* Better checking of quirks

* Update tgfont

* Fix quirk icons

* Fix backup name

* Fix donor stuff

* A few runtime fixes

* Fix another runtime

* Give fallback latejoin verb upon connecting

* Update AirAlarm interface

* maybe this works

* Test

* Sentient

* Remove AI core display preview icons

* Fix resetting plasmaman helmet style

* Equip plasman in preview

* Fix plasmaman preview icon

* fuck keybind fix

* Extra keybind sanity

---------

Co-authored-by: Yogbot-13 <admin@yogstation.net>
Co-authored-by: Jamie D <993128+JamieD1@users.noreply.github.com>
Co-authored-by: TheGamerdk <5618080+TheGamerdk@users.noreply.github.com>
Co-authored-by: adamsong <adamsong@users.noreply.github.com>
2023-01-28 15:26:19 +00:00
ynot01
7a26bfc17c pets runtime because she deserves it (#17645)
* pets runtime

* Update unsorted.dm

* Update unsorted.dm
2023-01-28 12:24:18 +00:00
ynot01
60465a6825 Update explosions.dm (#17626) 2023-01-26 09:34:12 -06:00
Molti
9b104f3bbb Fixes a bunch of runtime problems (probably) (#17487)
* Fixes a bunch of runtime problems

Lotta runtimes

* Update pay_stand.dm

inconsistent indentation somehow

* Update code/modules/modular_computers/file_system/programs/medical/crew_monitor.dm

* Update code/datums/traits/negative.dm
2023-01-15 11:40:11 +00:00
Ling
2de686a0a3 A few delta_time fixes (#17476)
* delta_time fixes

* Removes delta_time from SSatmos
2023-01-13 23:14:32 +00:00
Ling
df044da860 Backports several SSlighting improvements: overlay lighting (#17271)
* Backports SSlighting optimizations

* Overlay lighting, first version compiles

* Change conflicting defines

* Sparks and beams dont count towards lumcount

* Fix rendering

* Various fixes

* Fix errors

* Fix PDA light


1

* a

* Update game_options.txt

* Fix plasmaman helmet

* Fixes

* Glowy changes

Co-authored-by: Jamie D <993128+JamieD1@users.noreply.github.com>
2023-01-13 22:42:23 +00:00
Ling
9d15ddd421 A few keybinding improvements and fixes (#17457)
* Prevent SSinput from constantly requesting moving in-place

* nvm lol

* Removed proc overhead from the Input subsystem

* Fixes cases of held keys getting stuck

* Some changes suggested by lummox

* Misc changes
2023-01-13 22:30:14 +00:00
Manatee
1ba55a0a37 Replaces lag with lag(lite) (#17319)
* a couple files

* another quarter basically

* awooga

* so many changes

* comma moment

* oop and a zero

* guggugugug

* Update magic.dm

* e

* Update dcs.dm

* e

* finally

* Update watertank.dm

Fixwatertank

Co-authored-by: Molti <gamingjoelouis@gmail.com>
2023-01-12 01:07:38 +00:00
TheGamerdk
2d9715374b Update mapping.dm (#17398) 2023-01-08 21:47:14 +00:00
Ling
903246a933 Allow demos to be disabled via config (#17259)
* Allow demos to be disabled via config

* New MC

* Update config/config.txt

Co-authored-by: Jamie D <993128+JamieD1@users.noreply.github.com>
2023-01-07 15:09:01 +00:00
Ling
3c23470219 Updates latejoin menu to use TGUI (#17309)
* First work

* Add job icons

* Update FA


2


3

* Add job descriptions

* Fix tooltip color

* Misc changes

* Fix unavailable reason and random job button

* Real fix

* Remove double import

* huh

* Use tgui_alert
2023-01-05 12:40:50 +00:00
Ling
c7226a179b Modernizes components (#17260)
* Part 1

* Refactor signals into different files

* Remove redundant file

* Add missing movable signals

* Add signals log

* Split signal registering with list into new proc

* Add comments to component.dm and remove signal_enabled

* Fix yogs code

* Not this one

* Hopefully make linter happy

* Remove duplicate file

* More duplicates signals
2023-01-04 22:29:34 +00:00
Ling
1de91eb6c4 A few bug fixes (#17281)
* Fix wardrobe init

* Fix plasmameme helmet

* Fix usages of sortedAreas
2023-01-04 18:17:04 +00:00
Ling
50e3477a6e Rips out the old keybind system and ports a better version from /tg/ (#17216)
* Initial version

Ripped out old version and added new version

* Update some of the keybinds

* More changes

* Added hotkey sanity checks

* Misc. fixes and features

* Small fix

* Refactor keys_held

* Adds emote keybinds

* Small spelling fixes

* I always forget this one

* Add 1 second cooldown on emotes

* Fix DME

* Don't spam

* Make linter happy

* New MC init
2023-01-04 15:55:09 +00:00
Jamie D
37a75475ad [TG UPDATE] 4 - TGUI - WOULD YOU LIKE TO UPGRADE TO THIS EDITION? (#17311)
* e

* https://github.com/tgstation/tgstation/pull/55157

* manual

* Replace alert usage with tgui_alert (#58419)

Pretty much every alert() call is replaced with tgui_alert, except one I replaced with tgalert as a fallback. If tgui_alert exists, why not use it?

* e

* e

Co-authored-by: Celotajs <81999976+celotajstg@users.noreply.github.com>
2023-01-04 15:52:06 +00:00
Jamie D
9476880488 [TG Update] 2 - Slows down the Statpanel MC (#17298)
* E

* e
2023-01-03 23:25:19 +00:00
Jamie D
d2065a26ec [Admin] Statpanel Split Tabs (#17296)
* e

* E
2023-01-03 22:10:03 +00:00
Ling
1e546cd676 Speeds up the preference menu, implement object pooling (#17133)
* Speeds up the preference menu

https://github.com/tgstation/tgstation/pull/63225

* Fix compile
2023-01-02 00:22:11 +00:00
Ling
d6f0bb5378 Backports several SSatoms improvements (#17209)
* I shaved 2 seconds off atom init times and it's boring

https://github.com/tgstation/tgstation/pull/69742
s

* More SSatoms ports

* Small fix

* Forgot about this
2022-12-31 16:17:55 +00:00
Ling
17c5a68c33 Backports several SSmapping improvements (#17208)
* Optimizes SSmapping

* Turfs inside area are stored

https://github.com/tgstation/tgstation/pull/70966

* Add async reserving of turfs

* Fix bug

* Fix shuttle init
2022-12-31 15:41:47 +00:00
Ling
980999fa79 Improves roundstart time (#17199) 2022-12-31 15:38:45 +00:00
fira
c30f297c11 MC backport (#16992)
* Break things

* fix bad replace in test code
2022-12-31 15:30:57 +00:00
Ling
0c5c733cd1 A few performance ports (#17137)
* Faster garbage collection

https://github.com/tgstation/tgstation/pull/62969

* MC bug fix

https://github.com/tgstation/tgstation/pull/64500

* Optimize RegisterSignal

https://github.com/tgstation/tgstation/pull/69638
2022-12-24 16:15:52 +00:00
Jamie D
ad7b7e7543 Revert (#17049) 2022-12-24 11:19:22 +00:00
ynot01
5f662867fb Update general.dm (#17147) 2022-12-22 19:22:46 +00:00
ynot01
905373709b [s] [admin] virtual private network lookup (#17146)
* Update admin.dm

* update more

* Update secret.txt
2022-12-22 18:20:50 +00:00
ynot01
754a905e53 [ADMIN] Post-round lobby music will no longer interrupt admin music (#16990)
* all i want for christmas is you

* Update roundend.dm
2022-12-16 15:32:45 +00:00
Bop
873a086bb3 Fix surgery computer and nanites hub not recognizing ruin tech (#16851)
* ungabunga

* cool

* ye

* Update Operating.dm

* Update Operating.dm

* cool gamn
2022-12-02 14:50:58 +00:00
monster860
8de16779d6 Replays 2.0 (#16211)
* C++ demo

* linuxy shit

* Working linuxy shit

* demo writer is necessary I guess

* use the working one

Co-authored-by: TheGamerdk <5618080+TheGamerdk@users.noreply.github.com>
2022-11-21 23:11:17 +00:00
Bop
b527b63b9f Cargo budget now gets 50% payment from energy harvester (#16505)
* Cargo budget now gets 30% from energy harvester

* fuck

* the fuck

* Update economy.dm
2022-11-19 15:07:29 +00:00
Byemoh
2c346ab1a9 mail time (#16446) 2022-11-13 15:26:18 +00:00
Bop
f761be7a15 [READY] Gives ability for free golem, free miner and delta station crew to research on a new research network, also minor tweaks (#16309)
* change

* e

* e

* thanks biomu

* done

* whoops

* up

* buff a bit
2022-11-13 12:21:14 +00:00
ChesterTheCheesy
4aa6c0b45d either destroys the entire game, or increases performance... maybe both (#16178) 2022-10-29 15:02:44 +01:00
adamsong
fa832b902f [Port] Doing mail again (#16147)
* port: cargo mail

* fix: forgot .dme file in commit

* chore: fix lints

* add postmark/stamp icons

* setup delta_time

* more of the port

* more job goodies ported

* fix sec officer

* fix some tg->yog stuff

* fix check for station faction

* only remove the waiting mail amount that was actually delivered

* fix fake nude code being obvious and check if code is already set

* fix variable name

* re-add strange reagent for HoP

* more atmostech goodies

* station engineer goodies

* warden goodies

* more goodies

* Adds null check

* Fixed small parcels not being mailable, and set the default sort for junk mail to disposals

* Makes lootdrops drop loot in the same loc in which they are, rather than just on the floor

* add purple hat icon

* fix: envelopes with two items should give both now

* fix: mail amount was using incorrect calculation

* fix typo

* Fuck your tails

* Why didn't these commit?

* Added debug verb to dump loot

Co-authored-by: Inari Whitebear <inari_whitebear@fastmail.jp>
2022-10-29 14:41:40 +01:00
ynot01
7f928a2019 NTOS PDA Messenger update username based on ID (#15560)
* namechange on id

* Update ntpda_msg.dm

* make wider and set on spawn and apply to phones

* extend max name len
2022-10-08 14:30:14 +01:00
Chubbygummibear
5b3acf10be Modular Computer Themes and PDA theme game preference option (#15735)
* themes and stuff

* theme app cleanup

* that should be it

* i said commit

* readability

* comment cleanup

* mooglecode

* moog spacing

Co-authored-by: Redmoogle <dakotamew@gmail.com>

* Bibby

* there actual names

* not needed

Co-authored-by: Redmoogle <dakotamew@gmail.com>
2022-10-01 12:38:09 +01:00
Redmoogle
a91ef5c4bf Datum lighting (#15931)
* Turns lighting objects into a datum, makes all lighting be performed with an underlay. big maptick fix very good! (#58991)

credit to zewaka for the idea of using underlays

turns the lighting object movables that were unnecessary and increased maptick into a datum which then applies and removes an underlay in update(). also applies a lot of general lighting clean ups (mostly using as anything in loops and fixing single letter var names).

multiz is a little different by necessity, now only the bottom turf's lighting matters in the brightness of the top turf unlike master where the bottom turf's lighting object is hidden from the vis_contents of the top turf. there are still some kinks to iron out here though, since currently objects suspended in openspace (like tram platforms) look bad and glass floors look bad too

only thing i have left to do is make multiz work (well)

UPDATE: multiz now appears the same as far as i can tell, its possible there are other situations in which its different but datum mats work and it automatically updates if the turf below changes. now i just need to make the system less finnicky if at all possible (and possibly merge managed_turf_vis_content with managed_overlays maybe?)

new update: its basically equivalent to normal multiz as far as i can tell (visually at least, in the circumstances ive tested so far)

NEW NEW UPDATE: turfs no longer have the VIS_HIDE vis_flag and multiz works without stacking the lighting from the floor below! so this shouldnt have any overt drawbacks to master anymore

1 needless movable per tile is terrible for maptick. this is probably a larger improvement than my emissive blocker change in terms of maptick. im guessing we'd get around 0.6 average maptick per player after this where currently we get 0.85 or so

Edit: according to lemon, sybil reached 0.71 maptick per person when tm'd with this

if this is a big enough improvement i might finally be able to get rid of the Gone discord avatar

* Revert "Turns lighting objects into a datum, makes all lighting be performed with an underlay. big maptick fix very good! (#58991)"

This reverts commit ffbbeb64f4.

* port from another codebase

Co-authored-by: Kylerace <kylerlumpkin1@gmail.com>
2022-09-30 19:54:14 +02:00
TheGamerdk
afa361fa94 Budgets are now granted free money to cover 95% of paychecks (#15704)
* money

* Update economy.dm
2022-09-28 01:25:10 +02:00
Redmoogle
f42407cfc0 makes donor work again (#15600)
* Update job.dm

* move code down

* ah, look for pda only, the brig phys laptop is getting found first
2022-09-10 20:36:01 +02:00
Redmoogle
02f7d79c9c Fixes Regal Rats & Reenables them (#15529)
* Update regalrat.dm

* rest of fixes

* Misc

* add text
2022-09-04 14:11:56 +01:00
ynot01
330f30f12e NTOS PDA Hotpatch 1 (#15507)
* Revert "update fork"

This reverts commit 67263d524d, reversing
changes made to e159e4b737.

* Revert "Revert "update fork""

This reverts commit e678f6f6da.

* Update borg_ai_skin_datums.dm

* nt

* poke turdis

* Update ntpda_msg.dm
2022-08-29 20:59:04 +01:00
ynot01
f0b0481c21 Replace roundstart PDA (2010) with PDA (2021) SECOND TRY BABYYY (#15243)
* Replace roundstart PDA (2010) with PDA (2021)

* adds NTOS PDAing

* fix signal, set phone/tablet presets

* satisfy linter

* dont require ntnet and gen code correctly

* keep donor pdas

* fix stuff, mostly donor stuff

* update line num

* gen code correct

* fix donor, uplink signal, self history

* sets username to real name on spawn

* h -> living_mob

* update plasmaman & update donor with new sprites

* adds pda bombing to ntos

* add pens to NT tablets

* Update NtosBomberMan.js

* Update tablet.dm

* Update tablet.dm
2022-08-29 13:53:59 +01:00
adamsong
44cd06ecc6 [ADMIN] Chganges auth backend to use the forums instead of the DB (#15195)
* [ADMIN] Chganges auth backend to use the forums instead of the DB

* Remove dbranks flag

* I'm dumb

* re-promotes myself

* Re-use datums, rather than continually re-making them

* Delete the datum instead, easier to manage

* Moved to an inhertiance based system for permissions management

* Proccall protection and logging

* Linter

* Update config

* Fixes pp I hope

* Two letters made it do a bad, I am sad

* Clears forums admins when reloading

* Adds db support

* Update config

* Re-enables forum integration

* No editing the funny datum

* Allow me to do the funny during the test merge

* Didn't commit the changes

* Copying and pasting hard

* Sanitize ckey

* Var is unnecessary

* Small debug log to debug dono chat

* Fixes wrong proc call

* Move log, will be a bit much, but is fine because its temporary

* Made better log message

* Fixed reload admins, added debug log to json_decode that was erroring

* Expanded forums integration error handling

* Fully protects funny lists
2022-08-28 14:26:46 +01:00
Redmoogle
e2d13b2b8e Update economy.dm (#15415) 2022-08-24 10:22:58 -04:00
ynot01
c794a5a80d pretty fix (#15430) 2022-08-23 15:43:36 -04:00
nmajask
719bdc8ca2 Port s NIRN/bounty board, tweaks budgets, and other small modular computer things (#15019)
* nirn, bounty board, and other things

* oops

* oops x2
2022-08-20 23:53:22 +01:00
Redmoogle
ee46df1041 Update achievements.dm (#15326) 2022-08-20 13:42:40 +01:00
ynot01
b581a22dc9 [ADMIN] [s] add pretty filters to announcement & shuttlecall, cd to alert level set (#15288)
* fix grief

* SECONDS

* uses cooldown defines

* Apply suggestions from code review

Co-authored-by: Jamie D <993128+JamieD1@users.noreply.github.com>
2022-08-20 13:40:24 +01:00