deltanedas
a3a1538d32
move gamerule components to shared ( #28572 )
...
* move MinMax to shared
* cleanup MinMax
* move other ticking components to shared just because
* remove unused prototype file
* update everything to use shared components
* test
* test 2
* test 3
---------
Co-authored-by: deltanedas <@deltanedas:kde.org>
2024-06-04 21:53:24 +10:00
deltanedas
16b3fb1204
LoadMapRule grid storage rework ( #28210 )
...
*
2024-06-03 20:04:19 -04:00
Plykiya
c5ff647ca6
Replace obsolete EntityWhitelist IsValid usages part 2 ( #28506 )
2024-06-03 17:40:03 -04:00
AJCM-git
509e3aedf7
RespawnRuleSystem tweaks. ( #28528 )
2024-06-02 23:28:38 -04:00
Leon Friedrich
6235fa1ac6
Content changes for entity categories PR ( #27232 )
...
* Content changes for entity categories PR
* Poke tests
* Why are tests suddenly working?
2024-06-02 14:08:15 +10:00
Nemanja
be6f55a090
Clean up store system ( #28463 )
2024-06-01 11:29:17 -04:00
Repo
90d3699c1d
Fix gamerule display issues ( #28178 )
...
* A comprehensive rule list for joining admins and mid round command to get rule list added
* Fix up for when a rule is added vs started and some logging
* fix command help localization, fix admin flags and spam anouncement.
* Send admin message only to the joining player not all admins.
* Bit better formatting in chat box
2024-05-25 16:18:05 -04:00
deltanedas
739c81c230
move nukie profile loading into its own rule ( #28208 )
...
* move profile loading out of nukeops rule
* make BaseNukeopsRule and use AntagLoadProfileRule
* untroll
---------
Co-authored-by: deltanedas <@deltanedas:kde.org>
2024-05-25 16:15:56 -04:00
deltanedas
a06ea58249
antag objective issuing refactor ( #28216 )
...
* add AntagObjectives from GenericAntag
* add AntagRandomObjectives that traitor and thief can use
* make ObjectivesSystem use initial character name which AntagSelection passes
* make thief and traitor use AntagRandomObjectives
* remove now unused locale
* make sleeper agents rule use baseTraitorRule
* restore dragon rule oop
* bandaid for genericantag
* real
* typo
---------
Co-authored-by: deltanedas <@deltanedas:kde.org>
2024-05-25 16:14:48 -04:00
Kara
855234aa30
Resolve 'TransformComponent.MapPosition' is obsolete in content ( #27939 )
...
* Resolve `'TransformComponent.MapPosition' is obsolete: 'Use TransformSystem.GetMapCoordinates'` in content
* build?
2024-05-12 10:31:54 -04:00
Ed
e522bbf90d
New event: Approaching unknown shuttle ( #24490 )
...
* setup codebase
* Add first shuttle
* tak
* sync striker
* sync 2
* pipipi
* Preloaded roundstart shuttles!
* Make it abstract "PreloaderGrid" not "PreloaderShuttle"
* to do
* added china cuisin shuttle
* fixes
* add disaster evacpod
* remove enemy
* final shuttles
* weight 5 -> 10
* move data to component
* remove autotrailer touching
* doc, respath
* fix frozen positioning
* fixes + cvar
* finally
* fix evacpod
* remove blacklistrules
* remove `UnknownShuttleSpawnRule`, refactor `LoadMapRule` to support preloaded grids
* use tryload
* cleanup
* fixes
* use preloadedgrid for loneops
* weight unknown shuttles differently (preliminal)
* leftover
* cleanup and raffling
* partial review
* singleton gridpreloader no station coupling
* fix grid atmoses
* `roleLoadout` support for `LoadoutComponent`, fix missing gear
* weighting changes
* init logic fix
---------
Co-authored-by: Kara <lunarautomaton6@gmail.com >
2024-05-10 04:35:59 -07:00
username
42571b12e9
Traitor objective issuers ( #27855 )
...
* the thing
* another one
---------
Co-authored-by: whateverusername0 <whateveremail>
2024-05-09 19:01:02 -07:00
Mr. 27
fe5f4162ac
Prevent non-inital infected from getting the succumb to zombie action ( #27820 )
...
* b
* Update ZombieRuleSystem.cs
* hi
2024-05-09 17:45:23 -04:00
Killerqu00
7d918c95d0
Revolutionaries can now cuff command instead of killing/exiling them ( #27627 )
...
* command can now be restrained for revs victory
* headrevs still must be killed
2024-05-08 23:48:32 -07:00
Kara
aaabd5e914
Fix TryFindRandomTile grid weighting ( #27724 )
2024-05-06 04:25:11 -07:00
Mr. 27
96a3967c3f
Change return to continue in gamerulesystem ( #27656 )
...
Update GameRuleSystem.cs
2024-05-04 13:03:56 +10:00
Mr. 27
6ecbf0a04c
Fix some gamerules' round summary not working ( #27654 )
...
Update GameRuleSystem.cs
2024-05-03 20:03:52 -04:00
Leon Friedrich
8f1a44fe05
Prevent SecretRule from picking invalid presets ( #27456 )
...
* Prevent SecretRule from picking invalid presets
* remove lonely semicolon
---------
Co-authored-by: Nemanja <98561806+EmoGarbage404@users.noreply.github.com >
2024-04-29 00:00:41 -04:00
Nemanja
a0b3a6b679
fix antag bugs ( #27319 )
...
* fix antag bugs
* Update NukeopsRuleComponent.cs
2024-04-25 17:25:57 -07:00
Nemanja
161fd6c83c
Mega Antag Refactor ( #25786 )
...
* Mega Antag Refactor
* last minute delta save
* more workshopping
* more shit
* ok tested this for once
* okkkkk sure
* generic delays for starting rules
* well darn
* nukies partially
* ouagh
* ballin' faded and smonkin wed
* obliterated the diff
* Spread my arms and soak up congratulations
* I've got plenty of love, but nothing to show for it
* but there’s too much sunlight
Shining on my laptop monitor, so I
Can’t see anything with any amount of clarity
* ok this junk
* OOK!
* fubar
* most of sloth's review
* oh boy
* eek
* hell yea!
* ASDFJASDJFvsakcvjkzjnhhhyh
2024-04-25 11:31:45 +10:00
Leon Friedrich
91aa16f08a
Add NukeOps Test ( #27207 )
...
* Add NukeOps Test
* Update EvacShuttleTest to also check mapinit
* Update RuleMaxTimeRestartTest
* Fix cvar cleanup
* A
* Revert some changes
* comments
* Add MappingTests
* Finally fix the test
* A
2024-04-24 15:38:43 +10:00
ElectroJr
3a8249e5fd
Un-revert #26994
2024-04-20 17:01:15 -04:00
Vasilis
5769bf38f8
Revert #26994 and #27077 ( #27090 )
2024-04-18 17:06:56 +02:00
Nemanja
3af744e4a9
Flash buff ( #25730 )
...
* flash buff
* oops!
* bool
* 3 -> 1.5 seconds
* okay fix
* sluth
2024-04-18 16:30:01 +10:00
Leon Friedrich
ee96d8aa66
Content changes for MapManager/System refactor ( #26994 )
...
* Content changes for MapManager/System refactor
* Poke Tests
* Why is this failing?
* Will this make the analyzer happy?
2024-04-18 14:30:06 +10:00
metalgearsloth
12766fe6e3
Loadouts redux ( #25715 )
...
* Loadouts redux
* Loadout window mockup
* More workout
* rent
* validation
* Developments
* bcs
* More cleanup
* Rebuild working
* Fix model and loading
* obsession
* efcore
* We got a stew goin
* Cleanup
* Optional + SeniorEngineering fix
* Fixes
* Update science.yml
* add
add
* Automatic naming
* Update nukeops
* Coming together
* Right now
* stargate
* rejig the UI
* weh
* Loadouts tweaks
* Merge conflicts + ordering fix
* yerba mate
* chocolat
* More updates
* Add multi-selection support
* test
h
* fikss
* a
* add tech assistant and hazard suit
* huh
* Latest changes
* add medical loadouts
* and science
* finish security loadouts
* cargo
* service done
* added wildcards
* add command
* Move restrictions
* Finalising
* Fix existing work
* Localise next batch
* clothing fix
* Fix storage names
* review
* the scooping room
* Test fixes
* Xamlify
* Xamlify this too
* Update Resources/Prototypes/Loadouts/Jobs/Medical/paramedic.yml
Co-authored-by: Mr. 27 <45323883+Dutch-VanDerLinde@users.noreply.github.com >
* Update Resources/Prototypes/Loadouts/loadout_groups.yml
Co-authored-by: Mr. 27 <45323883+Dutch-VanDerLinde@users.noreply.github.com >
* Update Resources/Prototypes/Loadouts/Jobs/Civilian/clown.yml
Co-authored-by: Mr. 27 <45323883+Dutch-VanDerLinde@users.noreply.github.com >
* Update Resources/Prototypes/Loadouts/Jobs/Civilian/clown.yml
Co-authored-by: Mr. 27 <45323883+Dutch-VanDerLinde@users.noreply.github.com >
* Update Resources/Prototypes/Loadouts/loadout_groups.yml
Co-authored-by: Mr. 27 <45323883+Dutch-VanDerLinde@users.noreply.github.com >
* Update Resources/Prototypes/Loadouts/Jobs/Security/detective.yml
Co-authored-by: Mr. 27 <45323883+Dutch-VanDerLinde@users.noreply.github.com >
* Update Resources/Prototypes/Loadouts/loadout_groups.yml
Co-authored-by: Mr. 27 <45323883+Dutch-VanDerLinde@users.noreply.github.com >
* ben
* Margins
---------
Co-authored-by: Firewatch <54725557+musicmanvr@users.noreply.github.com >
Co-authored-by: Mr. 27 <koolthunder019@gmail.com >
Co-authored-by: Mr. 27 <45323883+Dutch-VanDerLinde@users.noreply.github.com >
2024-04-16 22:57:43 +10:00
Wrexbe (Josh)
d9c1130d8c
Make Zombie, Initial Infected fix ( #26665 )
...
Make zombie fix
2024-04-04 02:37:50 -06:00
Tayrtahn
a1a12194a5
Make the station start with random broken wiring ( #26695 )
...
Random wire cutting on round start
2024-04-04 17:28:09 +11:00
Wrexbe (Josh)
6d1511124f
Auto DeAdmin sooner ( #26551 )
...
Co-authored-by: wrexbe <wrexbe@protonmail.com >
2024-03-31 16:49:51 -04:00
lzk
69a15ada7f
Send what seleted for secret to admin chat ( #26500 )
...
* Send what seleted for secret to admin chat
* add line
* Add localization support
2024-03-29 16:03:34 +11:00
Leon Friedrich
77e029d4ca
Remove atmos method events ( #26402 )
...
* Remove HasAtmosphereMethodEvent
* Remove GetTileMixturesMethodEvent
* Remove GetTileMixtureMethodEvent
* Remove GetAdjacentTilesMethodEvent
* Add TileMixtureEnumerator
* Remove GetAdjacentTileMixturesMethodEvent
* Remove IsTileSpaceMethodEvent
* Remove HotspotExposeMethodEvent
* Remove pipe net method events
* Remove device method events
* Use Entity<T>
* Misc fixes
* A
* Theres probably a few more of these
* Fix other resolve errors
2024-03-28 13:22:19 +11:00
deltanedas
7561bef6a7
Move faction exception and everything it needs to shared ( #25154 )
...
* move faction prototype to shared
* move faction exception and member stuff to shared
* fix breaking changes for random stuff
* move pettable friend stuff to shared
* mostly fix
* final fixy
* dragonops
* final fixy II
* use querys and fix warpspeed fish (probably)
* fixer
* Rrrr!
---------
Co-authored-by: deltanedas <@deltanedas:kde.org>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com >
2024-03-18 18:23:25 +11:00
LordCarve
7d275a4b5e
Obsolete Logger cleanup for EntitySystems part 2 ( #26159 )
...
* Kill the static InRangeUnOccluded
* Adjusted 4 more EntitySystems that were missed.
2024-03-17 18:31:09 +11:00
Brandon Hu
511e245de1
Remove the ability for command or any antag-safe role from being initial infected in zombie mode #25529 ( #25785 )
...
* fix(antags): respects canBeAntag = true
* updated more
* includeAllJobs = False??????????
* fixed comma placement
* removed unused dependencies
2024-03-04 23:34:18 -05:00
deltanedas
7f060eb129
make thief a subgamemode ( #25740 )
...
* add SubGamemodes comp/sys
* remove RuleChance from thief rule
* use SubGamemodes for adding thief rule instead of adding ThiefRule component to random gamemodes
* clean up thief rule prototype
* add better logging + end rule if it fails to start
* march 1st incident
* preset ops
* the dreaded
---------
Co-authored-by: deltanedas <@deltanedas:kde.org>
2024-03-02 11:33:24 -05:00
Rainfey
4e6c59cfe5
Refactor antag rule code ( #23445 )
...
* Initial Pass, Rev, Thief
* Zombie initial pass
* Rebase, Traitor
* Nukeops, More overloads
* Revert RevolutionaryRuleComponent
* Use TryRoundStartAttempt, Rewrite nukie spawning
* Comments, Add task scheduler to GameRuleSystem
* Zombie initial testing done
* Sort methods, rework GameRuleTask
* Add CCVar, Initial testing continues
* Might as well get rid of the obsolete logging
* Oops, i dont know how to log apparently
* Suggested formatting fixes
* Suggested changes
* Fix merge issues
* Minor optimisation
* Allowed thief to choose other antags
* Review changes
* Spawn items on floor first, then inserting
* minor tweaks
* Shift as much as possible to ProtoId<>
* Remove unneeded
* Add exclusive antag attribute
* Fix merge issues
* Minor formatting fix
* Convert to struct
* Cleanup
* Review cleanup (need to test a lot)
* Some fixes, (mostly) tested
* oop
* Pass tests (for real)
---------
Co-authored-by: Rainfall <rainfey0+git@gmail.com >
Co-authored-by: AJCM <AJCM@tutanota.com >
2024-02-29 17:25:10 +11:00
metalgearsloth
a9502be29e
Revert "Fix chat bubbles ( #25643 )" ( #25645 )
...
* Revert "Fix chat bubbles (#25643 )"
This reverts commit 23d2c4d924 .
* Revert "Fixes obsolete Transform warnings in Content. (#25256 )"
This reverts commit f284b43ff6 .
2024-02-28 00:51:20 +11:00
TemporalOroboros
f284b43ff6
Fixes obsolete Transform warnings in Content. ( #25256 )
...
* Fix TransformComponent.MapPosition warnings in Content.Client
* Fix TransformComponent.MapPosition warnings in Content.IntegrationTests
* Fix TransformComponent.MapPosition warnings in Content.Shared
* Fix TransformComponent.MapPosition warnings in Content.Server
* Fix TransformComponent.WorldPosition warnings in Content.Shared
* Fix TransformComponent.WorldPosition warnings in Content.Client
Excepts ClickableComponent b/c that needs to be ECS'd entirely later
* Fix TransformComponent.WorldPosition warnings in Content.Server
* Fix TransformComponent.WorldRotation warnings in Content.*
* Fix TransformComponent.MapPosition warnings I missed
* Fix TransformComponent.WorldMatrix warnings in Content.*
* Fix TransformComponent.InvWorldMatrix warnings in Content.*
* Fix TransformComponent.GetWorldPositionRotationMatrixWithInv warnings in Content.*
* Fix TransformComponent.GetWorldPositionRotationMatrix warnings in Content.*
* Fix TransformComponent.GetWorldPositionRotation warnings in Content.*
* Fix TransformComponent.Anchored.set warnings in Content.*
* Fix TransformComponent.Coordinates.set warnings in Content.*
* Fix TransformComponent.LocalPosition.set warnings in Content.*
* Fix TransformComponent.AttachToGridOrMap warnings in Content.*
* Fix TransformComponent.AttachParent warnings in Content.*
* Preempt TransformComponent.LocalRotation.set warnings in Content.Shared
* Preempt TransformComponent.LocalRotation.set warnings in Content.Client
* Preempt TransformComponent.LocalRotation.set warnings in Content.IntegrationTests
* Preempt TransformComponent.LocalRotation.set warnings in Content.Server
* Fix/Preempt the remaining obsolete TransformComponent properties/methods in Content.*
* ECS ClickableComponent
* Fix obsolete SharedTransformSystem methods in Content.*
* Fix ExplosionOverlay `SharedTransformSystem` dependency
* Maybe fix null eye position breaking tests
* MGS requested changes
2024-02-27 12:06:20 +11:00
ArchPigeon
5806401502
Remove the ability for command or any antag-safe role from being initial infected in zombie mode ( #25529 )
...
Remove the ability for command to be initial infected in zombie mode
2024-02-24 21:40:49 -05:00
Kara
cc24ba6a31
Roundstart variation game rules ( #24397 )
...
* Raise `StationPostInitEvent` broadcast
* Basic variation pass handling
* standardize names + rule entities
* why does it work like that?
* add to defaults
* light break variation pass
* ent spawn entry
* move some stationevent utility functions to gamerule + add one for finding random tile on specified station
* forgot how statistics works
* powered light variation pass is good now
* station tile count function
* public method to ensure all solutions (for procedural use before mapinit)
* move gamerulesystem utility funcs to partial
* ensure all solutions before spilling in puddlesystem. for use when spilling before mapinit
* trash & puddle variation passes!
* oh yeah
* ehh lets live a little
* std
* utility for game rule check based on comp
* entprotoid the trash spawner oops
* generalize trash variation
* use added instead of started for secret rule
* random cleanup
* generic replacement variation system
* Wall rusting variation rule
* account for modifying while enumerating
* use localaabb
* fix test
* minor tweaks
* reinforced wall replacer + puddletweaker
2024-01-30 21:52:35 -08:00
Simon
bb828af6d3
ERT, DeathSquad and Central Command Officer Inital Infected immunity ( #23601 )
...
II immunity
Make ERT, DeathSquad and Central Command officers immune to being II
2024-01-26 21:56:09 -05:00
LordCarve
05a2e6b3a2
Obsolete refactor - ConnectedClient to Channel ( #24409 )
2024-01-23 09:14:13 +11:00
IProduceWidgets
fad00bb3b3
Zombie round shuttle autocall waits until more crew are zombied. ( #24379 )
...
More zombie more fun.
2024-01-21 21:02:25 -05:00
Trevor Day
25cde97d35
Add admin log messages for gamerule addition and end ( #24092 )
...
* Add admin log messages for gamerule addition and end
* Use EventRan end EventStopped LogTypes instead of new GameRule logtype
* Apply suggestions from code review
---------
Co-authored-by: Chief-Engineer <119664036+Chief-Engineer@users.noreply.github.com >
2024-01-20 12:02:12 -06:00
deltanedas
0a1b3ba601
more objective logging + maybe fix the no objective bug ( #24139 )
...
* more objective log
* remove hijack from group!!!!
---------
Co-authored-by: deltanedas <@deltanedas:kde.org>
2024-01-15 16:09:14 -07:00
deltanedas
a558b112a1
better deconversion ( #23315 )
...
* add deconverted window
* show deconverted window when deconverting + remove the role
* webedit ops
* antagonist -> revolutionary
* evil
* oh
* eui ops
---------
Co-authored-by: deltanedas <@deltanedas:kde.org>
2024-01-14 14:20:35 +11:00
LankLTE
993793f162
Fix deadmin on join cvar for nukies ( #20198 )
...
* fix
* oops
2024-01-06 20:29:53 +11:00
dolgovmi
7ff348f1bc
Fix player rolling agent and operative at the same time ( #23568 )
...
Update NukeopsRuleSystem.cs
Probably fix the double pick bug by removing the picked agent from the Operative list
2024-01-05 21:19:11 -07:00
LankLTE
4c179d69e7
add secret weight prototype cvar ( #23564 )
...
Add cvar
2024-01-05 18:30:00 -05:00
Mr. 27
0e18d54cf7
head revolutionaries are now blue ( #23432 )
...
* inital2
* raemove break
2024-01-03 19:32:38 +11:00