Commit Graph

758 Commits

Author SHA1 Message Date
DrSmugleaf
a88e747a0b Refactor serialization copying to use source generators (#19412) 2023-08-22 18:14:33 -07:00
Leon Friedrich
89a287c1fd Split PoolManager into separate classes. (#19370) 2023-08-22 22:14:01 +10:00
Leon Friedrich
1ec014cf39 Remove prototype ignore lists from some tests (#19366) 2023-08-21 21:08:12 -07:00
Arimah Greene
3e464cd1f0 Add CVar for customizing round restart time (#19136)
Co-authored-by: TsjipTsjip <19798667+TsjipTsjip@users.noreply.github.com>
2023-08-16 04:36:50 +03:00
Nemanja
74f2ee1c60 add test for salvage map loading (#19017)
* add test for salvage map loading

* ouagh
2023-08-15 17:36:53 -04:00
Leon Friedrich
cabc834e84 Fix combat action prediction (#19152)
* Fix action predictions

* Add ActionsAddedTest
2023-08-14 23:06:45 -06:00
Leon Friedrich
ac4f496535 Fix HumanInventoryUniformSlotsTest (#19028) 2023-08-13 07:22:57 +10:00
Pieter-Jan Briers
a242af506e Adds the thermo-electric generator (#18840)
* Basic TEG start.

Connects via node group.

* Basic TEG test map

* Sensor monitoring basics, TEG circulator flow

* Basic power generation (it doesn't work)

* More sensor monitoring work

* Battery (SMES) monitoring system.

* Sensor monitoring fixes

Make it work properly when mapped.

* Test map improvements

* Revise TEG power output mechanism.

Now uses a fixed supplier with a custom ramping system.

* TEG test map fixes

* Make air alarms and pumps open UI on activate.

* Clean up thermo machines power switch.

Removed separate Enabled bool from the component that always matched the power receiver's state.

This enables adding a PowerSwitch component to give us alt click/verb menu.

* TEG but now fancy

* Make sensor monitoring console obviously WiP to mappers.

* Vending machine sound, because of course.

* Terrible, terrible graph background color

* Examine improvements for the TEG.

* Account for electrical power when equalizing gas mixtures.

* Get rid of the TegCirculatorArrow logic.

Use TimedDespawn instead. The "no show in right-click menuu" goes into a new general-purpose component.

Thanks Julian.

* Put big notice of "not ready, here's why" on the sensor monitoring console.

* TryGetComponent -> TryComp

* Lol there's a HideContextMenu tag

* Test fixes

* Guidebook for TEG

Fixed rotation on GuideEntityEmbed not working correctly.

Added Margin property to GuideEntityEmbed

* Make TEG power bar default to invisible.

So it doesn't appear in the guidebook and spawn menu.
2023-08-12 15:41:55 -05:00
Leon Friedrich
6982f238e8 Add SaveLoadSavePrototype test (#18859) 2023-08-08 17:27:16 +10:00
Leon Friedrich
5cc5a8c82e Validate that client prototypes are serializable (#18780) 2023-08-07 13:44:53 +10:00
Leon Friedrich
6a45d36457 Fix mind test issues (#18793) 2023-08-07 13:29:10 +10:00
Leon Friedrich
9af3c8862b SandboxTest changes (#18595) 2023-08-07 07:15:09 +10:00
metalgearsloth
283b900eed Another StationJobsTest fix (#18742) 2023-08-06 15:30:37 +10:00
metalgearsloth
fa16497025 Fix StationJobsTest (#18741) 2023-08-06 15:12:01 +10:00
Leon Friedrich
28a5e32f5e Add prototype serialization tests. (#18458)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2023-08-06 12:47:45 +10:00
Leon Friedrich
9c84108672 Change default test pooling options. (#18732) 2023-08-06 12:30:28 +10:00
Leon Friedrich
d58786faf4 Remove PoolSettings.ExtraPrototypes option (#18678) 2023-08-05 14:16:48 +10:00
Leon Friedrich
6a19c1a0f6 Make some tests use the PoolSettings.InLobby option (#18677) 2023-08-05 12:10:46 +10:00
Leon Friedrich
9c2af43af6 Deduplicate & fix prediction reconciliation test (#18635) 2023-08-04 12:21:44 +10:00
Leon Friedrich
f74c5861f4 Try fix test failures (#18620) 2023-08-04 06:34:51 +12:00
Leon Friedrich
5a9317027f Warn on improperly disposed tests. (#18594) 2023-08-03 13:07:21 +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
Leon Friedrich
7ce68629bc Make pardon command test non-destructive (#18518) 2023-08-02 10:57:11 +10:00
metalgearsloth
c31c848afd Shooting NPCs and more (#18042)
* Add pirate shooting

* Shooting working

* Basics working

* Refactor time

* More conversion

* Update primitives

* Update yml

* weh

* Building again

* Draft

* weh

* b

* Start shutdown

* Starting to take form

* Code side done

* is it worky

* Fix prototypes

* stuff

* Shitty working

* Juke events working

* Even more cleanup

* RTX

* Fix interaction combat mode and compquery

* GetAmmoCount relays

* Fix rotation speed

* Juke fixes

* fixes

* weh

* The collision avoidance never ends

* Fixes

* Pause support

* framework

* lazy

* Fix idling

* Fix drip

* goobed

* Fix takeover shutdown bug

* Merge fixes

* shitter

* Fix carpos
2023-08-01 19:48:56 -05:00
Leon Friedrich
5978c7f5b2 Fast recycle more tests (#18516) 2023-08-02 01:09:25 +10:00
Leon Friedrich
69c1676d9d Add enum serialization test. (#18443) 2023-07-31 14:32:08 +10:00
Leon Friedrich
3e599e2306 Add missing CleanReturnAsync() to some tests. (#18471) 2023-07-31 13:57:52 +10:00
metalgearsloth
c00601acfc Cleanup metadata + xform on entitytest (#18396) 2023-07-30 20:29:33 +10:00
Vordenburg
49f3f07e30 Add pathfinding support for NPCs climbing tables (#17415) 2023-07-28 16:37:29 +10:00
metalgearsloth
83e3d614f0 Fix ItemSlots compiler warnings (#18226) 2023-07-23 14:48:00 +10:00
TemporalOroboros
df1dcb74ac Dewarns access (#16666)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2023-07-23 14:19:51 +10:00
Vera Aguilera Puerto
9243050e1a Construction graph improvements (#17960) 2023-07-13 20:23:52 +10:00
metalgearsloth
fbf1d476f2 Component ECS (#17991) 2023-07-13 20:20:46 +10:00
metalgearsloth
e9d1e5ea1f Remove mob crit states (#17850)
* Remove mob crit states

At least where it was just a dummy mob state. I'm lazy so this will buff mobs where they will remain active until their death state.

* Update Resources/Prototypes/Entities/Mobs/NPCs/behonker.yml

Co-authored-by: faint <46868845+ficcialfaint@users.noreply.github.com>

---------

Co-authored-by: faint <46868845+ficcialfaint@users.noreply.github.com>
2023-07-08 13:44:01 -06:00
TemporalOroboros
3ac4cf85db Cleaner BoundUserInterfaces (#17736) 2023-07-09 02:02:17 +10:00
metalgearsloth
68480af109 Update content vectors to numerics (#17759) 2023-07-08 14:08:32 +10:00
TemporalOroboros
ba91023a85 Fix content.integration tests warnings (#17817)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2023-07-06 14:54:25 +10:00
metalgearsloth
3eb93988e5 Disposals refactor (#17803) 2023-07-06 13:39:34 +10:00
metalgearsloth
432e1288bd Add constraint to InteractionTest Comp (#17765) 2023-07-01 23:05:06 +10:00
faint
2f85b5ea3c Little NodeContainer ECS (#17702) 2023-06-28 21:28:38 +10:00
metalgearsloth
44a3db398b Draw MapAtmosphere gasses (#17688) 2023-06-28 21:22:03 +10:00
Nemanja
06fc0122fe don't require salvage map prototypes to specify their bounds (#17652) 2023-06-26 12:29:45 +10:00
Nemanja
5c60a27c7c Make item size scale with stack size (#17623)
* Make stack count affect item size

* and the test, too

* readd this check

* vwoom

* huh

* if you ever read this commit message ping me on discord in #contributors

* changerinos
2023-06-25 10:44:37 -05:00
Leon Friedrich
74df2a300e Try fix even more random mind test failures (#17581) 2023-06-23 13:55:54 +10:00
Leon Friedrich
878a684260 Maybe fix more mind test failures (#17577) 2023-06-23 10:54:24 +10:00
Nemanja
7ab5127286 Cargo Bounties (#17344)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2023-06-22 21:49:33 +10:00
Leon Friedrich
501bc4be04 Try fix random TestGhostToAghost test failures (#17546) 2023-06-22 13:44:11 +10:00
TemporalOroboros
9849737e5a Cleans up warnings in disposals (#17419) 2023-06-22 00:31:19 +10:00
Leon Friedrich
3fa99b8abf Slight mind test cleanup (#17521) 2023-06-21 12:11:58 +10:00
Leon Friedrich
1dde5f39ab Fix ghost respawn bug (#17511) 2023-06-21 11:04:07 +10:00