Commit Graph

55 Commits

Author SHA1 Message Date
deltanedas
89b670d0c0 run fixgridatmos on dev (#20099)
Co-authored-by: deltanedas <@deltanedas:kde.org>
2023-09-13 00:52:12 -06:00
DrSmugleaf
c71f97e3a2 Refactor actions to be entities with components (#19900) 2023-09-08 18:16:05 -07:00
Kevin Zheng
de9354a562 Add powered SCI to dev map (#19915) 2023-09-08 13:43:47 -06:00
DrSmugleaf
38a9d1e5c7 Add a rat to the test dev map (#19549) 2023-08-25 14:56:48 -07:00
Kara
1e65eea905 Fix some TEG code conventions (#19259) 2023-08-17 11:50:41 -07: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
5172188a48 Migrate machine linking and resave all maps (#18243) 2023-07-24 10:35:09 +10:00
metalgearsloth
23b6d87a79 Hotfix NPC pathfinding (#17360) 2023-06-16 01:01:26 +10:00
Emisse
8d2d42fc61 devmap cargo (#17339) 2023-06-14 20:06:01 -06:00
metalgearsloth
7dba130454 Remove mapfile name + authors (#16264) 2023-05-09 18:09:57 +10:00
metalgearsloth
dcb10d4061 Fixture updates (#15254) 2023-05-06 16:26:15 +10:00
metalgearsloth
ac9970a50f Resave every map (#15964) 2023-05-02 11:38:01 +10:00
Nemanja
823c8204c9 Simplifying Machine Upgrading (#15802) 2023-04-29 13:23:49 +10:00
metalgearsloth
317a4013eb Puddles & spreader refactor (#15191) 2023-04-10 15:37:03 +10:00
Morb
de327dbbe3 [map] Add faxes on dev map (#15218) 2023-04-08 13:48:54 -06:00
Leon Friedrich
29ad3e50ac Fix weapon cooldown serialization while mapping (#15123) 2023-04-05 17:37:50 -06:00
adamsong
94b614b078 Added tcoms server to dev map (#15128) 2023-04-04 08:26:00 -05:00
Leon Friedrich
ffe6b166d6 Remove TimedDespawn component from dev map (#14824) 2023-03-24 18:27:44 +11:00
Leon Friedrich
31e4989271 Add dev map (#14614)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2023-03-24 14:17:36 +11:00
h3half
7e75ed5280 Fix wire components in admin testing arena (#14328) 2023-03-05 05:16:11 +11:00
metalgearsloth
c4b7e64c9e Update submodule to 0.68.0.0 (#12761) 2022-11-26 16:45:37 +11:00
metalgearsloth
b09b7da92f Cleanup map files some more (#12375)
- Removed redundant prototype stuff for lights
- Removed forensics
2022-11-04 14:13:47 -05:00
metalgearsloth
4ef144d865 Content change from mass to density (#11533) 2022-10-04 15:48:23 +11:00
metalgearsloth
0286b88388 NPC refactor (#10122)
Co-authored-by: metalgearsloth <metalgearsloth@gmail.com>
2022-09-06 00:28:23 +10:00
wrexbe
40769e9824 Fix the test floor map (#10602) 2022-08-14 16:02:48 -07:00
metalgearsloth
a549a85e81 Update tiles to modern standards (#10436) 2022-08-10 17:05:40 +10:00
Morber
8a81496d62 Add BecomesStation to Empty map (#10167) 2022-07-30 22:42:59 +10:00
Moony
f98df73fae Adds even more smites and a bunch of tools. (#9825)
* Adds three new smites, headstand, locker stuff, and reptilian species swap.

* Localize all the smites.

* save work

* More smites...

* Final tweaks.

* oops

* !PLEH

* Adds disarm prone and improved hand removal options.

* fix chances.

* take out the trash.

* Add some admin TRICKS instead of more smites.

* oop

* Implements the admin test arena and associated trick.

* Tricks for granting/revoking access.

* e

* mfw

* Implement quick dialogs, for when you don't want to spend 20 minutes writing a simple dialog prompt.

* Forgot the rejuv icon.

* E

* docs

* augh

* Add rename/redescribe buttons.

* Adds objects menu, implements a couple tricks for stations.

* 1984

* Adds a trick for effectively infinite power.

* fixes some icon uggo.

* a

* HALT!

* Pause/unpause buttons.

* Forgor the textures.

* they broke every bone in their body.

* i added more

* more battery actions, touch up battery icon.

* Address reviews.
2022-07-21 17:30:00 -05:00
Peptide90
28e96be2e9 Adds new APC types (#8763)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2022-06-12 15:34:16 +10:00
metalgearsloth
01d70fbab7 Fix master + prototypes (#8772) 2022-06-12 13:50:07 +10:00
Peptide90
500430a82a Fully remove Saltern Power prototypes / file (#8545)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2022-06-12 13:03:29 +10:00
20kdc
9a8135e8be Broadly eliminate underplating tiles in various maps (#8268) 2022-05-21 00:46:07 -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
Ygg01
c76ee013b0 Fix overflow algo again so small ammounts don't spread infinitely (aka Infinite Cum Works) (#6796) 2022-02-20 12:54:05 -07:00
Peptide90
d12261f951 Construction formatting to follow PascalCase conventions (#6244) 2022-01-23 10:43:34 -07:00
20kdc
dbc92afa09 Fix singularity test map (#4744)
./Content.Server --cvar game.map=Maps/Test/singularity.yml
2021-10-02 16:44:15 -07:00
metalgearsloth
4311cec93e Update SS14 for grid contraction (#4452)
* Update SS14 for grid contraction

* Remove more dummy chunks
2021-08-23 16:00:17 +10:00
metalgearsloth
66b6c52627 Update maps for grid collisions (#4450) 2021-08-10 00:15:44 +10:00
metalgearsloth
e726e88f7a Remove PhysShapeGrid (#4264) 2021-07-14 18:48:07 +10:00
Pieter-Jan Briers
103bc19508 Pow3r: stage 1 (#4208)
Co-authored-by: 20kdc <asdd2808@gmail.com>
2021-07-04 18:11:52 +02:00
ShadowCommander
ac98260682 Fix breathing test map 2021-05-02 15:23:46 -07:00
Swept
682b36ae23 Wall YAML cleanup (#3864)
* Code Quality

* IDs and mapping

* Construction Recipes
2021-04-16 06:47:18 +00:00
metalgearsloth
4d064abcd7 Physics (#3485)
* Content side new physics structure

* BroadPhase outline done

* But we need to fix WorldAABB

* Fix static pvs AABB

* Fix import

* Rando fixes

* B is for balloon

* Change human mob hitbox to circle

* Decent movement

* Start adding friction to player controller

I think it's the best way to go about it to keep other objects somewhat consistent for physics.

* This baby can fit so many physics bugs in it.

* Slight mob mover optimisations.

* Player mover kinda works okay.

* Beginnings of testbed

* More testbed

* Circlestack bed

* Namespaces

* BB fixes

* Pull WorldAABB

* Joint pulling

* Semi-decent movement I guess.

* Pulling better

* Bullet controller + old movement

* im too dumb for this shit

* Use kinematic mob controller again

It's probably for the best TBH

* Stashed shitcode

* Remove SlipController

* In which movement code is entirely refactored

* Singularity fix

* Fix ApplyLinearImpulse

* MoveRelay fix

* Fix door collisions

* Disable subfloor collisions

Saves on broadphase a fair bit

* Re-implement ClimbController

* Zumzum's pressure

* Laggy item throwing

* Minor atmos change

* Some caching

* Optimise controllers

* Optimise CollideWith to hell and back

* Re-do throwing and tile friction

* Landing too

* Optimise controllers

* Move CCVars and other stuff swept is beautiful

* Cleanup a bunch of controllers

* Fix shooting and high pressure movement controller

* Flashing improvements

* Stuff and things

* Combat collisions

* Combat mode collisions

* Pulling distance joint again

* Cleanup physics interfaces

* More like scuffedularity

* Shit's fucked

* Haha tests go green

* Bigmoneycrab

* Fix dupe pulling

* Zumzum's based fix

* Don't run tile friction for non-predicted bodies

* Experimental pulling improvement

* Everything's a poly now

* Optimise AI region debugging a bit

Could still be better but should improve default performance a LOT

* Mover no updater

* Crazy kinematic body idea

* Good collisions

* KinematicController

* Fix aghost

* Throwing refactor

* Pushing cleanup

* Fix throwing and footstep sounds

* Frametime in ICollideBehavior

* Fix stuff

* Actually fix weightlessness

* Optimise collision behaviors a lot

* Make open lockers still collide with walls

* powwweeerrrrr

* Merge master proper

* AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

* AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

* AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

* Ch ch ch changesss

* SHIP IT

* Fix #if DEBUG

* Fix vaulting and item locker collision

* Fix throwing

* Editing yaml by hand what can go wrong

* on

* Last yaml fixes

* Okay now it's fixed

* Linter

Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
Co-authored-by: Vera Aguilera Puerto <zddm@outlook.es>
2021-03-08 04:09:59 +11:00
Acruid
6c081d9d8d Shared Containers (#3331)
* Namespace changes for containers.
Moved ContainerSlot from content to engine.

* Merged client/server ContainerManagerComponents into a single shared version.

* Mapfile and nullability fixes.

* Upgrades map.

* Update engine.
2021-03-01 15:24:46 -08:00
Pieter-Jan Briers
1eb0fbd8d0 Revert "Physics (#3452)"
This reverts commit 3e64fd56a1.
2021-02-28 18:49:48 +01:00
metalgearsloth
3e64fd56a1 Physics (#3452)
* Content side new physics structure

* BroadPhase outline done

* But we need to fix WorldAABB

* Fix static pvs AABB

* Fix import

* Rando fixes

* B is for balloon

* Change human mob hitbox to circle

* Decent movement

* Start adding friction to player controller

I think it's the best way to go about it to keep other objects somewhat consistent for physics.

* This baby can fit so many physics bugs in it.

* Slight mob mover optimisations.

* Player mover kinda works okay.

* Beginnings of testbed

* More testbed

* Circlestack bed

* Namespaces

* BB fixes

* Pull WorldAABB

* Joint pulling

* Semi-decent movement I guess.

* Pulling better

* Bullet controller + old movement

* im too dumb for this shit

* Use kinematic mob controller again

It's probably for the best TBH

* Stashed shitcode

* Remove SlipController

* In which movement code is entirely refactored

* Singularity fix

* Fix ApplyLinearImpulse

* MoveRelay fix

* Fix door collisions

* Disable subfloor collisions

Saves on broadphase a fair bit

* Re-implement ClimbController

* Zumzum's pressure

* Laggy item throwing

* Minor atmos change

* Some caching

* Optimise controllers

* Optimise CollideWith to hell and back

* Re-do throwing and tile friction

* Landing too

* Optimise controllers

* Move CCVars and other stuff swept is beautiful

* Cleanup a bunch of controllers

* Fix shooting and high pressure movement controller

* Flashing improvements

* Stuff and things

* Combat collisions

* Combat mode collisions

* Pulling distance joint again

* Cleanup physics interfaces

* More like scuffedularity

* Shit's fucked

* Haha tests go green

* Bigmoneycrab

Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
2021-03-01 03:11:29 +11:00
mirrorcult
a44d822ef0 Proper vector2i serialization for tile atmos (#3266)
* update map files

* update submodule

Co-authored-by: cyclowns <cyclowns@protonmail.ch>
2021-02-17 20:33:58 +11:00
DrSmugleaf
4272716289 Make integration tests use an empty map instead of saltern by default (#3094) 2021-02-07 00:32:48 +11:00
SweptWasTaken
ba6fa3b1b4 Done 2021-01-05 13:00:12 -08:00
SweptWasTaken
38f5185bdb Nukes Pathfinding maps 2021-01-05 12:44:03 -08:00