Commit Graph

211 Commits

Author SHA1 Message Date
Leon Friedrich 677ef07aa2
Misc implant fixes (#17172) 2023-06-06 21:53:11 -06:00
metalgearsloth cd487b66e4
Content mapmanager query changes (#16894) 2023-05-28 23:22:44 +10:00
WlarusFromDaSpace 9e78ff3913
Fix TriggerOnMobStateChanged (#16606) 2023-05-20 11:15:17 +10:00
20kdc ea64b86331
Remove plural BaseTurfs as a thing in favour of BaseTurf (#16560) 2023-05-19 17:10:56 +10:00
Leon Friedrich 2bd5fb3736
Remove obsolete `Fixture.Body` references (#16259) 2023-05-09 17:21:26 +10:00
Julian Giebel 6ebd784cb6
Device Linking and better linking ui (#13645)
Co-authored-by: AJCM-git <60196617+AJCM-git@users.noreply.github.com>
Co-authored-by: Visne <39844191+Visne@users.noreply.github.com>
Co-authored-by: ElectroJr <leonsfriedrich@gmail.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2023-05-07 16:07:24 +10:00
Leon Friedrich 8e05e26e6e
Prevent projectiles from being affected by TryThrow() (#16185) 2023-05-07 12:57:23 +10:00
Slava0135 2ab41e0f8c
Bomb suit explosion resistance (#15732) 2023-05-03 15:23:07 +10:00
Slava0135 25e5930c07
Explosive grenade sound (#15582) 2023-05-02 11:13:39 -04:00
Chief-Engineer 6c7be60a10
Add admin alerts for explosions (#15786) 2023-04-27 11:55:16 -07:00
metalgearsloth 7360ed0a7f
Add pointlight to flashbangs (#15785) 2023-04-26 13:51:48 +10:00
Slava0135 c00bd9c247
Add hot potato (#14204)
Co-authored-by: AJCM <AJCM@tutanota.com>
2023-04-22 21:40:36 +10:00
DrSmugleaf e95cd6e412
Remove explosion visuals component references (#15264) 2023-04-19 20:09:22 +10:00
keronshb ac87effca0
[Revert] Reverts Ninja (#15516)
* Revert "[Antag] add space ninja as midround antag (#14069)"

This reverts commit c1cda0dbf8.

* Revert "[Fix] move ninja objectives into NinjaRole (#15490)"

This reverts commit 251f429fb3.
2023-04-19 01:43:09 -06:00
deltanedas c1cda0dbf8
[Antag] add space ninja as midround antag (#14069)
* start of space ninja midround antag

* suit has powercell, can be upgraded only (not replaced with equal or worse battery)

* add doorjacking to ninja gloves, power cell, doorjack objective (broken), tweaks

* 💀

* add basic suit power display that uses stamina rsi

* add draining apc/sub/smes - no wires yet

* add research downloading

* ninja starts implanted, move some stuff to yaml

* add Automated field to OnUseTimerTrigger

* implement spider charge and objective

* fix client crash when taking suit off, some refactor

* add survive condition and tweak locale

* add comms console icon for objective

* add calling in a threat - currently revenant and dragon

* combine all glove abilities

* locale

* spark sounds when draining, refactoring

* toggle is actually toggle now

* prevent crash if disabling stealth with outline

* add antag ctrl for ninja, hopefully show greentext

* fix greentext and some other things

* disabling gloves if taken off or suit taken off

* basic energy katana, change ninja loadout

* recallable katana, refactoring

* start of dash - not done yet

* katana dashing ability

* merge upstream + compiling, make AutomatedTimer its own component

* docs and stuff

* partial refactor of glove abilities, still need to move handling

* make dooremaggedevent by ref

* move bunch of stuff to shared - broken

* clean ninja antag verb

* doc

* mark rule config fields as required

* fix client crash

* wip systems refactor

* big refactor of systems

* fuck

* make TryDoElectrocution callable from shared

* finish refactoring?

* no guns

* start with internals on

* clean up glove abilities, add range check

* create soap, in place of ninja throwing stars

* add emp suit ability

* able to eat chefs stolen food in space

* stuff, tell client when un/cloaked but there is bug with gloves

* fix prediction breaking gloves on client

* ninja soap despawns after a minute

* ninja spawns outside the station now, with gps + station coords to navigate

* add cooldown to stun ability

* cant use glove abilities in combat mode

* require empty hand to use glove abilities

* use ghost role spawner

* Update Content.Server/Ninja/Systems/NinjaSuitSystem.cs

Co-authored-by: keronshb <54602815+keronshb@users.noreply.github.com>

* some review changes

* show powercell charge on examine

* new is needed

* address some reviews

* ninja starts with jetpack, i hope

* partial feedback

* uhh

* pro

* remove pirate from threats list

* use doafter refactor

* pro i gave skeleton jetpack

* some stuff

* use auto gen state

* mr handy

* use EntityQueryEnumerator

* cleanup

* spider charge target anti-troll

* mmmmmm

---------

Co-authored-by: deltanedas <deltanedas@laptop>
Co-authored-by: deltanedas <user@zenith>
Co-authored-by: deltanedas <@deltanedas:kde.org>
Co-authored-by: keronshb <54602815+keronshb@users.noreply.github.com>
2023-04-17 01:33:27 -06: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
Slava0135 620c40e087
Add explosive banana peel 2 (#14491) 2023-03-23 11:54:14 -04:00
deltanedas 93425f0dd5
add exploding pen from goldeneye (#14421) 2023-03-20 15:32:28 -04:00
Chief-Engineer 0d6f64e6d0
Fix error during DB insert for explosion damage logs (#14265) 2023-02-26 04:27:22 +11:00
Chief-Engineer 95e35b94b5
Improve explosion logs (#13351)
* add types to explosion logs

* make explosions logged by default

* add cause parameter to IThresholdBehavior

* add cause to ExplodeBehaviors

* add cause to power cell explosions

* remove useless log

* add triggerer to triggers

* add logs for damage from explosions

* sneaky power cell update
2023-02-10 23:45:38 +00:00
Visne 5a5a3afbb1
Remove some obsolete AppearanceComponent method usages (#13726) 2023-02-02 12:34:53 -04:00
Visne c6d3e4f3bd
Fix warnings and code cleanup/fixes (#13570) 2023-01-19 13:56:45 +11:00
metalgearsloth bf79d76666
Content update for ECS physics (#13291) 2023-01-15 15:38:59 +11:00
Jezithyr eeb5b17b34
Mobstate Refactor (#13389)
Refactors mobstate and moves mob health thresholds to their own component

Co-authored-by: DrSmugleaf <drsmugleaf@gmail.com>
2023-01-13 16:57:10 -08:00
metalgearsloth 243fd73db4
Update tilechangedevent to ref structs (#13383) 2023-01-09 13:45:21 +11:00
Kara 7fcec9e3bc
More portal fixes (#13359)
fixes https://github.com/space-wizards/space-station-14/issues/13338
fixes https://github.com/space-wizards/space-station-14/issues/13337
2023-01-06 15:13:22 -08:00
metalgearsloth 1769807366
Remove some explosion resolves (#13330) 2023-01-04 17:52:38 -08:00
Leon Friedrich 881a2b2ece
PopupSystem public methods rejig (#12830) 2022-12-19 08:41:47 +11:00
metalgearsloth 3b3963083b
Replace GridEntityId with Owner (#12743) 2022-12-12 14:59:02 +11:00
Leon Friedrich 2dc7663d1a
Remove explosion networking jank (#12733) 2022-11-27 21:24:35 +11:00
Nemanja a93ee34a44
fixed missing localization strings for voice triggers (#12774) 2022-11-27 00:01:17 -08:00
metalgearsloth 6c76061887
Content changes for mapgrid kill (#12567) 2022-11-22 13:12:04 +11:00
keronshb 21c1cb57ce
Makes adjustment to macro bomb implants and how mobstate trigger handles suicide (#12682) 2022-11-20 20:51:44 -06:00
keronshb 671324bef8
Implanters and Subdermal Implants (#11840)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2022-11-20 17:49:37 +11:00
DrSmugleaf 7fbc2608e8
Remove redundant read-only VV from datafields (#12626) 2022-11-16 20:22:11 +01:00
Leon Friedrich 0b5a58001c
IListener and IRadio purge (#11980) 2022-11-15 15:09:27 +11:00
Leon Friedrich 86ef8c5473
Make PathfindingSystem take a nap during large explosions (#12309) 2022-11-04 12:24:41 +11:00
Leon Friedrich 23768e34e8
Update explosion lookups (#12250) 2022-10-28 12:57:00 +11:00
metalgearsloth 6b6d52850a
Deprecate entitylookupcomponent (#12159)
Co-authored-by: metalgearsloth <metalgearsloth@gmail.com>
2022-10-27 23:37:55 +11:00
Leon Friedrich 92e92dceb0
Unrevert #10934 2022-10-25 11:06:00 +11:00
Emisse 80fd37041f
Revert "Fix unintentional inventory relayed event handling " (#12182) 2022-10-24 17:06:04 +02:00
Leon Friedrich 145471be2d
Fix unintentional inventory relayed event handling (#10934)
* Add InventoryRelayedEvent<TEvent>

* implement relays

* typos

* a
2022-10-24 01:04:49 -07:00
themias b567c34e92
Add voice trigger for modular grenades (#11449) 2022-10-17 04:44:50 +11:00
Leon Friedrich 1e2ed4ae3b
Fix explosion bug (#11824) 2022-10-11 11:55:53 +11:00
Leon Friedrich 41b1044ddb
Unrevert "Remove references to obsolete GridId" (#11531) (#11801) 2022-10-10 08:41:32 +11:00
metalgearsloth 0c7d4acd7b
Revert "Remove references to obsolete GridId" (#11790) 2022-10-09 17:33:23 +11:00
SpaceManiac 0048dc5919
Remove references to obsolete GridId (#11531) 2022-10-09 16:23:49 +11:00
Paul Ritter 79854e59a4
adds a source uid to most damage & mobstate events (#11559)
Co-authored-by: Flipp Syder <76629141+vulppine@users.noreply.github.com>
2022-10-08 12:15:27 +02:00
metalgearsloth 78a4ab6eb2
Update for collision events by-ref (#10933) 2022-09-14 17:26:26 +10:00
Leon Friedrich de7bd0063a
Fix two explosion bugs (#10909)
* Fix trigger LINQ error.

* divide by zero
2022-08-28 16:48:49 -07:00
wrexbe ea95638189
Improve test stability (#10913) 2022-08-28 15:13:59 -07:00
Veritius 51fa58673a
Allow C4's auto-starting when stickied quality to be toggled (#10434) 2022-08-13 22:48:02 -07:00
Visne 58769634c7
Fix a bunch of compiler warnings (#10518) 2022-08-13 22:28:34 -07:00
Júlio César Ueti ee969c9799
Adds even more important Admin Logging (#10268) 2022-08-08 09:21:56 +10:00
Leon Friedrich 6b94db0336
Preserve explosion error stack trace (#10379) 2022-08-07 14:01:21 +10:00
Leon Friedrich c7ad6b709e
Audio System Rejig (#9635) 2022-07-29 12:13:12 +10:00
metalgearsloth 38fc066fb9
Re-implement recoil (#9406)
* Re-implement recoil

Playing around with the values atm

* Update constants

* final tweaks
2022-07-14 22:01:25 +10:00
Kara 459f8d23eb
Shards damage barefoot users + steptrigger-related general cleanup (#9585) 2022-07-10 02:28:37 -07:00
Leon Friedrich 3bfb1f0264
Fix & speed up explosion lookup (#9526)
* Speed up explosion lookup

* Ah. Fuck.
2022-07-08 13:29:43 +10:00
Nemanja 3bedfb1cbf
Make explosive armor multiplicative and not additive (#9498) 2022-07-07 13:15:20 +10:00
Leon Friedrich fcba784379
Fix another explosion error (#9325) 2022-07-02 01:33:02 +10:00
Leon Friedrich 3bbc6fcb74
Add exception tolerance to explosion processing (#9309) 2022-06-30 11:42:10 -07:00
Leon Friedrich 1cd15723fb
Make large explosions use approximate lookups (#9296) 2022-06-30 12:43:06 +10:00
Leon Friedrich c13c0b8b0b
Remove implicit GridId conversions (#8975) 2022-06-28 22:56:02 +10:00
metalgearsloth 8905996cfc
Make raiselocalevent not broadcast by default (#8998) 2022-06-22 09:53:41 +10:00
Leon Friedrich fa4c6f63f8
Nullable grid Uid (#8798) 2022-06-20 10:14:35 +10:00
keronshb f7b1bda3e5
Reorders Sound Systems signatures to match Popup Systems. (#8728) 2022-06-13 09:45:47 +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
Pieter-Jan Briers a323ba8223
Revert "Revert "Fix some friend access violations by allowing others access. (#8594) (#8703)" (working this time) (#8704) 2022-06-07 15:26:28 +02:00
Pieter-Jan Briers cecf87997b
Revert "Fix some friend access violations by allowing others access. (#8594) (#8703) 2022-06-07 13:44:31 +02:00
Vera Aguilera Puerto c5f7c61041
Fix some friend access violations by allowing others access. (#8594)
Rename Friend attribute to Access attribute.
Updates submodule to v0.21.0.0 as well.
2022-06-07 11:30:27 +02:00
Leon Friedrich ca7960382b
Missing nullables (#8634) 2022-06-04 17:17:48 +10:00
Kara da07d91895
Modular landmines (#8351) 2022-06-01 01:39:06 -07:00
wrexbe 1e0babbd50
Make AdminLogsSystem an IoC manager (#8492)
* Make log not entity system

* Fixes
2022-05-28 23:41:17 -07:00
keronshb 11f729d024
Simple Magic Spellbook System (#7823)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2022-05-29 16:29:10 +10:00
EmoGarbage404 57639943a0
OnTriggerCollide Bug fix (#8467)
* ez gg dubskis

* meteor

* Update meteors.yml
2022-05-26 18:18:57 -07: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
Leon Friedrich c00b459e31
Machine Port Prototypes (#7659)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2022-05-12 18:46:20 +10:00
Jacob Tong 8c853476fb
Rework CollisionGroups (#7656)
* Replace Mob, Vault, and Small impassable with Mid, High, Low

* Remove CollisionGroup.Underplating

* Remove CollisionGroup.Passable

* Fix constructed APCs not being interactable

* Change firelocks to occlude

* Make pipe inherit from BaseItem

* Clean up pipes

* Remove duplicate physics and fixtures from bucket

* Rework CollisionGroups on all entities

* Add SlipLayer

* Remove fixture from delta

* Fix maps

* Address reviews

* Add SubfloorMask

* Fix glass collisions for flying mobs

* Fix maps

* Update new items

* Fix bagel again

* Fix slug

* Fix maps

* Touchups

* Fix tables blocking high pressure movement

* Update StandingState to allow going under flaps

* Cleanup

* More formatting
2022-05-10 17:57:20 -07:00
Leon Friedrich d3a20c8a23
Make sure explosions reset on round restart (#7801) 2022-04-27 00:37:31 +10:00
metalgearsloth 72da2db62d
Content changes for grid splitting (#7645) (#7746)
Co-authored-by: Vera Aguilera Puerto <gradientvera@outlook.com>
2022-04-24 13:54:25 +10:00
Rane 6054c5bc53
Familiars respawn (#7640) 2022-04-23 19:27:19 -07:00
metalgearsloth ecaad9c349
Revert "Update submodule (again)" (#7730) 2022-04-24 02:26:00 +10:00
metalgearsloth 8c7772630c
Content changes for grid splitting (#7645)
Co-authored-by: Vera Aguilera Puerto <gradientvera@outlook.com>
2022-04-24 00:59:38 +10:00
Snowni 87c618db4b
Remote Explosives (#7682)
* Remote Explosives

* Apparently we forgot to push the changed files. Dumb.

We Forgor.#

* Made Requested Changes.

* And more changes.

* Added requested changes and tweaked a few other things.

* Fixed RSI issue (hopefully.) Readded Ensurecomp.
2022-04-22 16:54:39 +10:00
Alex Evgrashin fe4dbfd2f6
C4 (#7486) 2022-04-14 15:00:50 -07:00
Leon Friedrich 53f5a283ca
Mini bomb changes (#7454) 2022-04-08 14:07:02 -07:00
metalgearsloth de6651ac01
Update content for new lookup API (#7363) 2022-04-06 19:35:18 +10:00
Leon Friedrich 311450864c
Explosion refactor fixes pt1 (#7375) 2022-04-05 17:22:35 +10:00
Jack Fox f957c58906
Machine Linking Overhaul (#7160) 2022-04-04 16:13:03 +10:00
Leon Friedrich 56168e592e
Explosion refactor (#5230)
* Explosions

* fix yaml typo

and prevent silly UI inputs

* oop

* Use modified contains() checks

And remove IEnumerable

* Buff nuke, nerf meteors

* optimize the entity lookup stuff a bit

* fix tile (0,0) error

forgot to do an initial Enumerator.MoveNext(), so the first tile was always the "null" tile.

* remove celebration

* byte -> int

* remove diag edge tile dict

* fix one bug

but there is another

* fix the other bug

turns out dividing a ushort leads to rounding errors.  Why TF is the grid tile size even a ushort in the first place.

* improve edge map

* fix minor bug

If the initial-explosion tile had an airtight entity on it, the tile was processed twice.

* some reviews (transform queries, eye.mapid, and tilesizes in overlays)

* Apply suggestions from code review

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>

* is map paused

* GetAllTiles ignores space by default

* WriteLine -> WriteError

* First -> FirstOrDefault()

* default prototype const string

* entity query

* misc review changes

* grid edge max distance

* fix fire texture defn

bad use of type serializer and ioc-resolves

* Remove ExplosionLaunched

And allow nukes to throw items towards the outer part of an explosion

* no hot-reload disclaimer

* replace prototype id string with int index

* optimise damage a tiiiiny bit.

* entity queries

* comments

* misc mirror comments

* cvars

* admin logs

* move intensity-per-state to prototype

* update tile event to ECS event

* git mv

* Tweak rpg & minibomb

also fix merge bug

* you don't exist anymore go away

* Fix build

Co-authored-by: moonheart08 <moonheart08@users.noreply.github.com>
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2022-03-31 21:39:26 -05:00
Leon Friedrich ec824896ee
Changes required for serialization fix. (#7177) 2022-03-25 11:56:05 +01:00
Leon Friedrich 1b0e7ae0f5
Add Modular grenades (chemnades). (#7138) 2022-03-25 15:17:29 +11:00
Leon Friedrich de190e4e2f
Throw out throw helpers (#7195) 2022-03-24 00:33:01 +11:00
Leon Friedrich b1e719c70d
Remove IUse (#7074) 2022-03-12 23:33:23 +11:00
Leon Friedrich c95516e5b2
Revert "Explosion refactor TEST MERG (#6995)" (#7005) 2022-03-06 04:02:34 +11:00
Moony 4a466f4927
Explosion refactor TEST MERG (#6995)
* Explosions

* fix yaml typo

and prevent silly UI inputs

* oop

Co-authored-by: ElectroJr <leonsfriedrich@gmail.com>
2022-03-04 13:48:01 -06:00
metalgearsloth 836930e733
EntityLookup as a system for content (#6931) 2022-03-03 21:18:35 +11:00