Commit Graph

258 Commits

Author SHA1 Message Date
Moony 3d3c9e3348
Toolshed part 2 (#18997)
* fixe

* Save work.

* Rune-aware parser.

* oogh

* pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests pass tests

* Publicizes a lot of common generic commands, so custom toolshed envs can include them.

* i think i might implode

* Tests.

* a

* b

* awa

---------

Co-authored-by: moonheart08 <moonheart08@users.noreply.github.com>
2023-08-23 16:03:41 -05:00
Vordenburg 1df650871d
Support weighted tile variantize (#18940)
* Support weighted tile variantize

* Remove unused using

* Use an array
2023-08-13 01:25:54 -06:00
Leon Friedrich 88b3417c3d
Fix setmind command (#18799) 2023-08-07 17:18:39 +10:00
Moony e2b22a4cd8
Toolshed (#17895)
* ogh

* i should save my work

* ogh

* hhcdfhjbghshbxdfhghshc
- lots of bugs in parsing still
- invocation is a stub

* expr parsing works

* awawa

* Saving work

* Improve APIs a bit all around, add shortcuts.

* awa

* awa

* AAAAAA

* save work

* Move shit to engine

* lord

* bql is kill

* forgot the fucking bike rack

* bql is kill for real

* pjb will kill me

* aughfhbdj

* adgddf

* gdsgvfvxshngfgh

* b

* hfsjhghj

* a

* tf you mean i have to document it

* follow C# standards

* Assorted cleanup and documentation pass, minor bugfix in ValueRefParser.

* Start porting old commands, remove that pesky prefix in favor of integrating with the shell.

* bw

* Fix valueref up a bit, improve autocomplete for it.

* awa

* fix tests

* git shut up

* Arithmetic commands.

* parse improvements

* Update engine.

---------

Co-authored-by: moonheart08 <moonheart08@users.noreply.github.com>
2023-08-02 16:09:08 -05:00
metalgearsloth d4a85afb88
Update GetComponents for IEnumerable (#18395) 2023-07-30 03:34:41 +10:00
TemporalOroboros df1dcb74ac
Dewarns access (#16666)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2023-07-23 14:19:51 +10:00
Pieter-Jan Briers b4b0fe41db
Admin notes bugfixes (#18189) 2023-07-21 15:43:47 +02:00
Riggle 579913b617
Better notes and bans (#14228)
Co-authored-by: Chief-Engineer <119664036+Chief-Engineer@users.noreply.github.com>
2023-07-21 13:38:52 +02:00
metalgearsloth 68480af109
Update content vectors to numerics (#17759) 2023-07-08 14:08:32 +10:00
Pieter-Jan Briers 50c278b022
Station command improvements (#17431)
* Fix renamestation command not working

* Console completions for station commands
2023-06-20 08:05:26 -05:00
ShadowCommander dd7032a860
Mind ECS (#16826) 2023-06-19 04:33:19 +10:00
Leon Friedrich b03d9a90ab
Add support for client-side replays (#17168) 2023-06-19 03:23:31 +10:00
0x6273 247c7a1d4d
Fix PDA capitalization to be PascalCase (#17335) 2023-06-15 11:44:28 +10:00
Debug 353882f6f7
Fix the AdjStationJob command (#17070) 2023-06-03 12:13:48 -07:00
metalgearsloth be14380520
Role ban UI updates (#16736) 2023-05-27 14:22:22 +10:00
Chief-Engineer f0279e9a65
fix polymorph command help text (#16713)
* fix polymorph command help text

* fix addpolymorphaction help text
2023-05-22 17:49:55 -07:00
Moony e92a8fedab
Refactor stations to properly use entity prototypes. (stationsv3) (#16570)
* Update StationSpawningSystem.cs

Web-edit to allow feeding in an existing entity.

* Update StationSpawningSystem.cs

value type moment

* Update StationSpawningSystem.cs

* Oh goddamnit this is a refactor now.

* awawawa

* aaaaaaaaaaa

* ee

* forgot records.

* no records? no records.

* What's in a name?

* Sloth forcing me to do the refactor properly smh.

* e

* optional evac in test.

* tests pls work

* awa

---------

Co-authored-by: moonheart08 <moonheart08@users.noreply.github.com>
2023-05-19 15:45:09 -05:00
Max cb7984461a
Fix index out of range exception on the admin commands (#16478) 2023-05-15 14:24:03 -07:00
metalgearsloth 407d8c3c8b
Probably fix playglobalsound completion (#16297) 2023-05-13 11:54:02 -04:00
metalgearsloth 0e81cb4319
Remove diseases (#15684) 2023-05-07 17:50:37 +10:00
Chief-Engineer 4b371ae271
Fix ban_exemption_get only listing Datacenter flag (#15814) 2023-04-27 11:56:26 -07:00
Leon Friedrich 3116621501
Try fix click sorting & other misc changes. (#15686) 2023-04-23 17:44:27 +10:00
Morb 0e6b273f1f
Add fax admin panel (#15215) 2023-04-16 23:20:57 -07:00
DrSmugleaf b947856431
Remove hands component reference (#15197) 2023-04-07 11:21:12 -07:00
Pieter-Jan Briers c8e90e561b
Server ban exemption system (#15076) 2023-04-03 10:24:55 +10:00
Leon Friedrich 4d71b1b81e
Revert "Mind ecs" (#14881) 2023-03-27 08:24:00 +11:00
ShadowCommander bfc4da9377
Mind ecs (#14412) 2023-03-26 14:31:13 -04:00
Pieter-Jan Briers 3af2e60817
Ban message improvements (#14731)
Server config now provide appeals forum link, game admins won't need to type it out manually anymore.
Add warning about trying to ban evade.
Cleaned up code a bit.
2023-03-18 19:55:12 -05:00
0x6273 3a9c71cc41
Fix SetOutfitCommand not working when mob is crit or stunned (#14593) 2023-03-12 16:40:02 -07:00
Nemanja e412eda97c
Clean up polymorphsystem (#14297) 2023-03-06 09:37:18 -08:00
Chief-Engineer b482463c91
Add prevent suicide to minds and add tag control commands (#13307) 2023-02-17 01:36:10 +01:00
Chief-Engineer 018e70cf60
add times for departmentban command to match roleban command (#14051) 2023-02-14 19:29:11 +01:00
Chief-Engineer 64fcfd553e
Add times to ban commands (#13804) 2023-01-31 12:43:44 +11:00
Morb f0429edbb1
Add panic bunker toggle to admin menu (#13450) 2023-01-20 07:25:35 -08:00
metalgearsloth 1b0e50ae19
Remove last component.Name calls (#13593) 2023-01-19 13:57:18 +11:00
metalgearsloth bf79d76666
Content update for ECS physics (#13291) 2023-01-15 15:38:59 +11:00
Chief-Engineer 60ba6fa51e
Bluespace locker event prep (#13397) 2023-01-13 15:20:28 -07:00
Leon Friedrich 466384b081
Solution rejig (#12428) 2023-01-12 14:41:40 +11:00
metalgearsloth ab07944af8
Remove IPhysBody (#13297) 2023-01-03 17:45:18 +11:00
Chief-Engineer b7af5e6109
Fix and improve bluespace lockers (#13139)
* add invulnerable plastitanium wall prototype

* fix command ClearBluespaceLockerLinks.cs

* fix and improve BluespaceLockerSystem.cs

* fix normal plastitanium wall suffix

* fix capitalization

* fix capability to create one way lockers
2022-12-24 22:35:03 -06:00
metalgearsloth bc49409a93
Add command to list someone's bans (#12927)
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
2022-12-20 11:40:13 +01:00
Chief-Engineer 2499b4e2bd
Add osay command (#13057)
* add osay command

* replace obsolete method

* inherit LocalizedCommands instead of IConsoleCommand

* streamline

* make OSay class public to match other commands

* re-scope namespace to file
2022-12-19 22:14:43 -06:00
Chief-Engineer 067932712a
Add bluespace lockers (#12954)
* add bluespace lockers

* add command linkbluespacelocker

* add command clearbluespacelockerlinks

* fix unwelding method

* move bluespace locker functionality to own component

* add options to disable transporting certain things

* remove unused imports

* unlock target lockers when opening + minor optimization to unwelding
2022-12-19 21:47:37 -06:00
metalgearsloth 6c76061887
Content changes for mapgrid kill (#12567) 2022-11-22 13:12:04 +11:00
DrSmugleaf da29a01846
Add ban list window (#12574) 2022-11-14 20:06:55 +01:00
metalgearsloth 6ab864fcda
Update content to mapsystem (#12387) 2022-11-13 17:47:48 +11:00
metalgearsloth c0abea8047
Content side for removing IMap / IMapGrid comps (#12357) 2022-11-04 10:12:25 +11:00
Jacob Tong dfd72c5db2
Fix aghost when aghosting from a ghost (#12252) 2022-10-28 19:38:53 -07:00
DrSmugleaf f323fb7644
ECS and cleanup body system, merge body templates and presets into body prototypes (#11991)
Co-authored-by: Jezithyr <Jezithyr@gmail.com>
2022-10-22 15:46:28 -07:00
Kara 7ad867fa0f
Slight localization func cleanup (#11380) 2022-10-18 19:51:18 -07:00
Leon Friedrich c44f173f5e
Fix aghost parenting issues. (#11936) 2022-10-16 10:26:24 +11:00
Morb 5af82ebe9b
Add briefcase in hand & update setoutfit (#11634) 2022-10-15 14:22:27 -07:00
Nemanja f6234c7920
view ghosts on round end (#11680)
* view ghosts on round end

* now make it good

* it toggles now i hope
2022-10-05 21:55:11 -05:00
Kara db1dfc8958
Command perm modifications (#11273)
* Command perm modifications

* actually not this one

* string
2022-09-14 19:02:38 -05:00
Visne 356a6b8d2e
Event-ify Rejuvenate (#11145) 2022-09-15 03:30:56 +10:00
metalgearsloth b3581d11c6
Update maploader to support loading onto an existing map (#10748) 2022-09-14 14:05:48 +10:00
metalgearsloth 72bc05e3ac
Add department bans (#11085)
* Add department bans

Also localised some stuff while I was there.

* loc
2022-09-08 17:06:21 -05:00
Leon Friedrich 414f32a4ee
Make ghost warp use `AttachToGridOrMap()` (#11069) 2022-09-05 22:36:52 -07:00
metalgearsloth 5b42861539
Smooth docking traversal (#10822) 2022-08-29 15:05:53 +10:00
Moony 6fe29d1c66
Update PlayTimeCommands.cs (#10596)
pjb forgor to make it possible to actually use the command.
2022-08-14 13:16:47 -07:00
wrexbe c4d135e253
Refactor lobby status (#10550) 2022-08-14 12:54:49 -07:00
Moony a2d8e96a53
Fix localization for playtime. (#10389) 2022-08-08 08:43:27 +10:00
Pieter-Jan Briers e852ada6c8
Play time tracking: Job timers 3: more titles: when the (#9978)
Co-authored-by: Veritius <veritiusgaming@gmail.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2022-08-07 16:00:42 +10:00
metalgearsloth b7bedcd282
Probably fix adminnotes for offline players (#10292)
Works with 2 clients on my machine
2022-08-04 17:52:13 +02:00
metalgearsloth 4d5d4cc564
Make controlmob not require sentience (#9479) 2022-07-14 22:34:07 +10:00
Nemanja 5edf2ccad5
EntityStorage ECS (#9291) 2022-07-14 09:11:59 +10:00
metalgearsloth a2a5df1990
Damage masks (#9402) 2022-07-06 17:58:14 +10:00
metalgearsloth bdbed1e665
Allow adminnotes to use username (#9388)
No I'm not going to the ban panel to find someone's GUID.
2022-07-03 16:34:16 -05:00
Moony e038ae4820
fix variantize (#9348) 2022-07-02 18:29:47 -07:00
Moony 8e90bf46e9
Implements panic bunkering. (#9315)
* Implements panic bunkering.
Helps with raid management, esp with unknown accounts.

* adds an enable/disable command.
2022-07-01 22:46:37 +02:00
Moony 0ec3bc23cb
Revert "Adds a tool for importing .netset files into the ban DB. (#9016)" (#9149)
This reverts commit b13e672393.
2022-06-25 14:02:41 -05:00
Moony b13e672393
Adds a tool for importing .netset files into the ban DB. (#9016)
* Adds a tool for importing .netset files into the ban DB.

* Adds a static variable so it's clear what the GUID is.
2022-06-25 10:52:05 -07:00
Kara 4d8ff35640
Roleban completions (#9114)
* Roleban completions

* helpers

* eat my peenor dumb robot
2022-06-24 21:14:47 +10:00
Rane a1affccc84
Miasma improvements (#9022) 2022-06-24 01:20:52 -07:00
metalgearsloth 3da454140d
Add department-specific radio channels (#9061)
* Add department-specific radio channels

This commit adds working department-specific radio channels, while
minimizing damage to the current codebase. It is expected that a future
refactor will clean this up a bit.

ChatSystem now has a RadioPrefix() method that recognizes
department-specific channels (e.g. ":e" and ":m") in addition to the
global channel (";"). It strips the prefix from the message and assigns
messages an integer representing the destination channel, if any.

IListen and IRadio now accept optional 'channel' arguments with this
channel in mind.

The ugly is that the integer channel number is hard-coded and also shows
up in chat.

Comms are not modeled at this time. You cannot break comms (yet).

All headsets have channels soldered into them. You cannot change
encryption keys to hop on new channels. Steal a headset instead.

* Remove debugging print

* Convert to prototypes

* Use prototype names in headset prototype

* Adjust list style

* Document prototype fields

* cringe

* some cleanup

* colours

* Remove alphas at least

* cc

Co-authored-by: Kevin Zheng <kevinz5000@gmail.com>
2022-06-23 20:11:03 +10:00
KIBORG04 58da937259
Displaying of player characters in the round end statistics (#9006)
* All in one

* using fix

* Update GameTicker.RoundFlow.cs

Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>
2022-06-23 19:32:06 +10:00
Leon Friedrich fa4c6f63f8
Nullable grid Uid (#8798) 2022-06-20 10:14:35 +10:00
Júlio César Ueti de9c5084e0
Renames jobban to roleban so all role commands follow the pattern roleX. (#8754)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2022-06-12 13:25:11 +10:00
Acruid 4f9be42f40
Remove Explicit GridId References (#8315)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2022-06-12 11:54:41 +10:00
Leon Friedrich ca7960382b
Missing nullables (#8634) 2022-06-04 17:17:48 +10:00
ike709 5ae56c67e1
Adds the ability to not play admin sounds (#8242)
Co-authored-by: ike709 <ike709@github.com>
Co-authored-by: Vera Aguilera Puerto <6766154+Zumorica@users.noreply.github.com>
2022-06-02 15:41:19 +02:00
wrexbe e649dcea14
Dirty command fix (#8534) 2022-05-30 00:10:57 -07:00
wrexbe 219609d358
Dirty Command (#8533)
Dirty Command

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2022-05-30 00:06:50 -07:00
wrexbe 1e0babbd50
Make AdminLogsSystem an IoC manager (#8492)
* Make log not entity system

* Fixes
2022-05-28 23:41:17 -07:00
Moony 130302a262
Adds twenty-one new smites, moves the explosion smite to the verb category. (#8456)
* Adds seven new smites, moves the explosion smite to the verb category.

* adds even more smites.

* Even more smites, some messages for specific smites.

* Adds even more smites.

* Removes some junk, adds a smite that angers the pointing arrows.

* get rid of dumb component.

* Remove mistake from verb menu presentation.

* How did that happen?

* whoops

* c

* e

* fuck

* Loading...

* removes the BoM go away

* adds the funny kill sign. Fixes ghost smite.

* Move systems around.

* Adjust organ vomit.

* Adds a smite that turns people into an instrument, and one that removes their gravity.

* oops

* typo

Co-authored-by: Veritius <veritiusgaming@gmail.com>
2022-05-27 00:41:18 -07:00
Pieter-Jan Briers 4f9f9e5942
Completions for the warp command (#8470) 2022-05-27 10:19:31 +10:00
Kara c6f5734bdc
Make adminwho require admin perms (#8421) 2022-05-25 10:49:22 +10:00
EmoGarbage404 2697bbf8c7
Polymorphs and Transformation (#8185) 2022-05-18 14:05:22 +10:00
Pieter-Jan Briers ddb4c00816
Console completions (content side) (#8211) 2022-05-18 12:36:21 +10:00
metalgearsloth b1ccdb7238
Fix playglobalsound volume (#8208) 2022-05-16 23:31:51 +10:00
wrexbe bc68ac96dd
Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
wrexbe 61d147aea9
Fixing warnings (#8131) 2022-05-13 15:35:13 +10:00
wrexbe 9a4892a272
Add listgamemaps command (#8093) 2022-05-11 13:48:29 -07:00
Moony 36181334b5
StationSystem/jobs/partial spawning refactor (#7580)
* Partial work on StationSystem refactor.

* WIP station jobs API.

* forgor to fire off grid events.

* Partial implementation of StationSpawningSystem

* whoops infinite loop.

* Spawners should work now.

* it compiles.

* tfw

* Vestigial code cleanup.

* fix station deletion.

* attempt to make tests go brr

* add latejoin spawnpoints to test maps.

* make sure the station still exists while destructing spawners.

* forgot an exists check.

* destruction order check.

* hopefully fix final test.

* fail-safe radstorm.

* Deep-clean job code further. This is bugged!!!!!

* Fix job bug. (init order moment)

* whooo cleanup

* New job selection algorithm that tries to distribute fairly across stations.

* small nitpicks

* Give the heads their weights to replace the head field.

* make overflow assign take a station list.

* moment

* Fixes and test #1 of many.

* please fix nullspace

* AssignJobs should no longer even consider showing up on a trace.

* add comment.

* Introduce station configs, praying i didn't miss something.

* in one small change stations are now fully serializable.

* Further doc comments.

* whoops.

* Solve bug where assignjobs didn't account for roundstart.

* Fix spawning, improve the API.
Caught an oversight in stationsystem that should've broke everything but didn't, whoops.

* Goodbye JobController.

* minor fix..

* fix test fail, remove debug logs.

* quick serialization fixes.

* fixes..

* sus

* partialing

* Update Content.Server/Station/Systems/StationJobsSystem.Roundstart.cs

Co-authored-by: Kara <lunarautomaton6@gmail.com>

* Use dirtying to avoid rebuilding the list 2,100 times.

* add a bajillion more lines of docs (mostly in AssignJobs so i don't ever forget how it works)

* Update Content.IntegrationTests/Tests/Station/StationJobsTest.cs

Co-authored-by: Kara <lunarautomaton6@gmail.com>

* Add the Mysteriously Missing Captain Check.

* Put maprender back the way it belongs.

* I love addressing reviews.

* Update Content.Server/Station/Systems/StationJobsSystem.cs

Co-authored-by: Kara <lunarautomaton6@gmail.com>

* doc cleanup.

* Fix bureaucratic error, add job slot tests.

* zero cost abstractions when

* cri

* saner error.

* Fix spawning failing certain tests due to gameticker not handling falliability correctly.
Can't fix this until I refactor the rest of spawning code.

* submodule gaming

* Packedenger.

* Documentation consistency.

Co-authored-by: Kara <lunarautomaton6@gmail.com>
2022-05-10 13:43:30 -05:00
MLGTASTICa 02de328d9c
Fixes thirst not applying speed debuffs properly , Makes Thirst a server-side component only (#7767)
Co-authored-by: MLGTASTICa <ak9bc01d@yahoo.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2022-05-09 15:50:36 +10:00
metalgearsloth 983b004607
Make playglobalsound much quiter (#7910)
* Make playglobalsound default much quieter

Also adds volume override.

* tweak

* reviews by the cutest gradient girl
2022-05-03 19:32:32 +10:00
Leon Friedrich 1141c19d76
Toggleable Hardsuit Helmets (#7559) 2022-04-23 13:31:45 +10:00
DrSmugleaf 5227d1a023
Admin notes (#7259)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2022-04-16 20:57:50 +02:00
Moony 4d70395d11
Fix maploading once and for all. (#7501) 2022-04-15 14:35:58 -07:00
Rane 28c615ea09
Rejuvenate cures all diseases (#7495) 2022-04-11 12:46:35 +02:00