Commit Graph

33 Commits

Author SHA1 Message Date
deltanedas 06e8f159ba
Revert "upstream merge 22/9" (#1892)
Revert "upstream merge 22/9 (#1891)"

This reverts commit fd398ea6e0.
2024-09-22 11:49:47 +00:00
deltanedas fd398ea6e0
upstream merge 22/9 (#1891)
* New gauze customization (#30852)

* Sprite&Meta

* Marking_Prototype

* Locale

* Meta_copyright_change

* Sprite_Change

* New_Sprite

* And_another_new_sprite

* Change_Locale

* Automatic changelog update

* Automatic changelog update

* Dev mouse acorgillation (#32040)

* Update dev_map.yml

* real mouse returned

* add test for lathe recipes having results (#32100)

* add test for lathe recipes having results

* id

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>

* Allow ghosts to read books (#32151)

Co-authored-by: Eoin Mcloughlin <helloworld@eoinrul.es>

* Fix some issues with pulling system (#32145)

Joints were created with pivots at object origin, causing unintuitive behaviour when an object was not centered on the origin. Now puts the pivots at the COM.
Joint limits were set based on fractions of the union of the AABB of objects, which did not make geometric sense. Now uses the pivot length with an additional [arbitrary] length.
Joints were created with a very low spring stiffness, which had a negligible effect most of the time but caused very unintuitive behaviour when the pulled object had a low mass (#28028) - disable the spring limit, and just use the hard min/max limits.

Co-authored-by: Eoin Mcloughlin <helloworld@eoinrul.es>

* Automatic changelog update

* Vox LoneOp loadout fix (#31641)

oh shit here we go again

* Automatic changelog update

* Add snakes to vent spawn event (#32070)

Add snakes to vents

* Automatic changelog update

* Moved hardcoded string "PEOPLE" to Loc.GetString() (#32164)

* reinforce command intercom (#32169)

* secure command intercom

* Update intercom.yml

* Automatic changelog update

* clean up clothing lathe recipes (#31520)

* clean up clothing lathe recipes

* add result

* :trollface:

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>

* Use Transform instead of TryComp<TransformComponent> (#32170)

Use Transform instead of TryComp

* Fix animals sprites in critical state (#32175)

Initial commit

* fix infinite banana bug (#32167)

* Rename fix (#31654)

* Localize RenameCommand and delegate most of the process to MetaDataSystem.SetEntityName()

* Make renaming rely on the EntityRenamedEvent. Fix issue where renaming would keep old Examine text

Requires engine change

* Fix localisation strings

* Make PDA search be based on a renamed entity's Uid instead of its old name

To do this the pda component now has an PdaOwner field which gets
assigned when it is given as a loadout to a player

* Fix bad merge???

huh

* Use AllEntityQuery

* Automatic changelog update

* Automatic changelog update

* Make pressure and volume pumps require power (#28995)

* Automatic changelog update

* Update SharedBuckleSystem to use PopupClient (#31498)

* Botany Rework Part 1: Mutations (#31163)

Instead of each mutation being a flag that gets checked at some unique point in BotanySystem somewhere, they're now EntityEffects that get applied when the mutation occurs and when produce is harvested. One new list was added to SeedData so that multiple other fields could be removed.

All the non-stat-change mutations that have been rolled are added to the Mutations list, and get applied to the plant when the mutation occurs or when a seed with the mutation is planted. Produce get mutations applied at harvest if they apply to the produce, and carry all of the plant's mutations over as a seed. This gets rid of the one-off checks for things like Slippery, Bioluminescent, Sentient, etc.

The base odds of a mutation applying should be equal to the odds of the original mutation check. It pretended to have 1 bit flip (on averge) per mutation power, and odds of each mutation was the odds of one of its bit being flipped (1 /275 * bits). The 'thermometer code' applied for numbers will be replaced with simple random rolls, as both average out to the middle value. The new checks are much easier to understand and don't obfuscate the actual changes of something happening behind 3 layers of math. The biggest player-facing change is that Potency will be able to get over 65 significantly more often than it did in the previous system, but it will be just as common to get low values as high ones.

Mutation definitions have been moved to a .yml file. These include the odds per tick per mutagen strength of that mutation applying that tick, the effect applied, if it applies to the plant and/or its produce. This makes mutations simpler to add and edit.

This PR is limited specifically to the mutation logic. Improving other aspects of the system will be done in other PRs per the design document. Mutations was chosen first because its got the largest amount of one-off checks scattered all over that could be consolidated. Once this is merged, mutations could be contributed to the codebase with minimal extra work for later botany refactor PRs.

* Fix build and lint (#32180)

* prevent using holo inside containers (#32068)

Co-authored-by: deltanedas <@deltanedas:kde.org>

* Automatic changelog update

* localize skeleton accent (#32166)

* localize skeleton accent

* commit number 2

* remove that from this

* this

* babushka

* Automatic changelog update

* Nerfs meteor penetration force (#32109)

nerf meteor penetration force

* Automatic changelog update

* Fix plushie cutlass swing animation (#32157)

Fix plushie cutlass animation

* Rubber chicken toy (#29637)

* -added rubber chicken toy

* -Removed faulty SolutionContainerManager type

-Replaced default toy squeak sound with rubber chicken sound for on-trigger and on-collide.

* fixed raw material cost

* adjusted material composition

* - Added rubber chicken to CrateFunToyBox
- Added rubber chicken to MaintFluffTable under "uncommon group" so that it will spawn in maintenance

* Update Resources/Prototypes/Entities/Objects/Fun/toys.yml

---------

Co-authored-by: gambesun <116504990+gambesun@users.noreply.github.com>
Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>

* Fix sentient produce (#32192)

sentient does not apply to produce

Co-authored-by: PraxisMapper <praxismapper@gmail.com>

* Automatic changelog update

* Add glass morgue airlock (#32163)

* Fix examine flickering until you examine something around you (#32205)

* Automatic changelog update

* Adds the syndicate Booze-O-Mat (Bruise-O-Mat) to nukie planet (#32107)

* Automatic changelog update

* Change the binary translator key's contraband designation to syndicate contraband + minor sprite change for consistency (#32193)

* adds new icon, changes binary key icon and frame, changes contraband designation

* added back the regular key as admeme because it makes sense (why am I not thinking about these things)

* hehe I cannot read!

* Remove blurry vision examine mispredict (#29633)

remove blurry vision examine mispredict

* Automatic changelog update

* Immovable Rod Spawn Addition: Lizard Plushie (#32113)

* a deadly weh

* Updated meteorswarms.yml

Updated probabilities to match exactly 1

* Updated immovable_rod.yml

Removed rotation

---------

Co-authored-by: august-sun <45527070+august.sun@users.noreply.github.com>

* Lizards now metabolize chocolate (#32147)

* Eat the chocolate

* Update toxins.yml

* fully delete threshold lines

* Update snacks.yml

* Fix tags

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>

* Automatic changelog update

* Localization of steal targets (#30153)

* Localization of steal targets

* Correction of localization of theft objects

* The second correction of the localization of theft targets

* Update steal-target-groups.ftl

Co-authored-by: Ed <96445749+TheShuEd@users.noreply.github.com>

* Revision of the localization method

* Choosing a simple option for localization

* Fix TechnologyDisk name

* Corrections based on feedback received

* correction of declension

---------

Co-authored-by: Ed <96445749+TheShuEd@users.noreply.github.com>

* Crayons buffed to 45 uses (#32061)

* Buffs crayons to 45 uses

* Update Resources/Prototypes/Entities/Objects/Fun/crayons.yml

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>

* Automatic changelog update

* Anomalous infections (#31876)

* inner anomaly

* anomaly pulse action

* test anom mine

* Update anomalies.yml

* fix action cooldown

* pyro_eyes

* clientsystem

* experiments

* blya

* some telegraphy

* shock eyes!

* shadow eyes

* separate files

* frosty eyes

* fix

* flora eyes

* bluespace eyes

* flesh eyes

* redoing injction

* auto add layers

* пипяу

* new injector component

* stupid me

* nice marker injectors

* anomaly spawn on shutdown

* gravity anom

* dead anomaly spawning

* add VOX states

* sprite specific layers support

* technology anom infection

* auto detach anomalies that have moved away

* Update anomaly_injections.yml

* anomalyspawner integration

* rock anomaly!

* Update anomaly_injections.yml

* fix crash bug

* tag filter

* fix anom dublication spawns

* Update anomaly.yml

* Update InnerBodyAnomalyComponent.cs

* Update anomaly_injections.yml

* dont spawn anomalies after decay

* fix morb sprite, add end message

* gravity resprite

* admin logging, double injection fix

* make flesh and living light mobs friendly to anomaly hosts

* popups

* severity feedback

* sloth review

* A

* keep organs after gib

* punpun host

* sloth synchronization

* Update arachnid.yml

* increase infections spawnrate

* Automatic changelog update

* fix Tech anomaly loud sounds and superfast flickering (#32245)

Update TechAnomalySystem.cs

* Automatic changelog update

* Fix plant mutations carrying over to other plants and future rounds (#32257)

Lists are a reference type, so each component should get a new one, not point at the previous one.

Co-authored-by: PraxisMapper <praxismapper@gmail.com>

* Automatic changelog update

* Added a number of new and very nerdy names for the AI (#31951)

* added many new names for AIs

* fixed mistakes

* removed Intel and AMD trademarks. Rip AI named Pentium.

* Automatic changelog update

* Fix Anomaly infections infinity growing after curing (#32259)

* Fix borg defib module throwing an exception (#32260)

ToggleCellDraw was erroneously added to the parent prototype instead of the one that actually has a battery.

* Easy IconSmooth spriting (#32210)

* фыр

* Update IconSmoothingTemplate README.txt

* Fix AudioSystem nullability checks for engine PR (#32233)

* Use TurfSystem.IsTileBlocked instead of TurfHelpers (#32174)

* Use TurfSystem.IsTileBlocked instead of TurfHelpers

* !

* Update submodule to 235.0.0 (#32265)

* New publish workflow for Robust.Cdn (#32222)

This uses multiple API requests to directly send the publish to the CDN server, no more GitHub artifacts.

Faster, less moving parts.

Needs Robust.Cdn 2.2.0

* chmod +x publish_multi_request.py (#32274)

Fuck.

* ghost-role-information-silicon-rules (#32275)

changes missing ghost-role-information-rules-default-silicon to ghost-role-information-silicon-rules

* Fix guidebook cakebatter recipe (#32276)

Bugfix: Add 5 milk to cake batter recipe in the guidebook to correctly reflect new recipe

* Automatic changelog update

* Wires ui tooltip localization (#32284)

* Wires ui tooltip localization

* Corrections after review

* Localization of the shuttle call sender (#32286)

* change jamjar glasses description (#32215)

nerds only please

* Fix recycler eating materials (Salvage mains rejoice) (#32144)

first commit

* Automatic changelog update

* Localization cooldown/remaining string in alerts (#32282)

Cooldown localization

* add interaction success/failure events (#32216)

* add interaction success/failure events

* pro

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>

* make epinephrine adrenaline (#32076)

Co-authored-by: deltanedas <@deltanedas:kde.org>

* change cdn to deltav

* Automatic changelog update

* Add mapping editor (#23427)

* Add mapping editor (#757)

* Remove mapping actions, never again

* Cleanup actions system

* Jarvis, remove all references to CM14

* Fix InventoryUIController crashing when an InventoryGui is not found

* Rename mapping1 to mapping

* Clean up context calls

* Add doc comments

* Add delegate for hiding decals in the mapping screen

* Jarvis mission failed

* a

* Add test

* Fix not flushing save stream in mapping manager

* change

* Fix verbs

* fixes

* localise

---------

Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>

* Add flip button to mapping state (#30636)

* Give prototype refactor (#29697)

* Update GivePrototype

* File scoped namespace

* Change to EntProtoId instead of ProtoId<> for better validation

* Allow containment field generators to be enabled on mapinit (#31158)

* Initial commit

* review fix

* Make fire leave burnt decals on the tiles (#31939)

* Make fire leave burnt decals on the tiles

* License

* Yes

* Update

* Spelling error

* Prototypes reload support

* To array

* Automatic changelog update

* Coordinates under IFF Label on Mass Scanners and Shuttle Consoles (#31501)

* adds coord label beneath iff label

* fixed wrong coordinate system being used

* changes the clamping on the label UI to instead normalise the UI's distance vector from the centre of the screen, fixes corner-hugging

* cleaned up if-statement by moving the calc ahead of it

* fixed clamping, fixed parenting issue, added draw cull on coord label

---------

Co-authored-by: archrbx <punk.gear5260@fastmail.com>

* Automatic changelog update

* Fix TEG acting as infinite energy source on destruction (#29972)

* TEG now checks for power supply before checking for IsFullyBuilt

* Update Content.Server/Power/Generation/Teg/TegSystem.cs

Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>

---------

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

* Automatic changelog update

* Clean up solution regen and drain comps (#29777)

* clean up solution regen and drain comps

* Tape applied.

* Update Content.Server/Chemistry/Components/SolutionRegenerationComponent.cs

Co-authored-by: Tayrtahn <tayrtahn@gmail.com>

* remain entity

* That has to be a rogue test fail.

---------

Co-authored-by: Tayrtahn <tayrtahn@gmail.com>

* Make status effect networking not use `TryAddStatusEffect` (#28766)

* Make status effect networking not use `TryAddStatusEffect`

* a

* Move PlaceableSurfaceComponent usages to PlaceableSurfaceSystem (#28384)

* Move placeable check to PlaceableSurfaceSystem

This check stops entities from being inserted into a storage entity
when it has a PlaceableSurfaceComponent.

The entity is instead placed on top of the entity like a table.

* Move SetPlaceable to PlaceableSurfaceSystem

* Update to transform system and consolidate code

* Fix interaction with storage that has a placeable component

* deadlock

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>

* Padded ItemStatus Text (#29560)

* Back in the saddle again! <(8o)

* if you like my STYLE you should see my SHEETS ;-)

* stylesheet change works for ItemStatusNotHeld but broken for ItemStatus. Just using xaml for now.

* teehee

* beeg

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>

* Fix Set Outfit command/verb (#29672)

* Filter Set Outfit menu to exclude loadout sets

* Apply loadouts to job outfits

* Use appropriate species for Urists

* squishy

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>

* adds plasma and uranium arrows (#31241)

* Automatic changelog update

* Automatic changelog update

* Crew Monitor filter (#31659)

* crewmon filter

* string case matching

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>

* Automatic changelog update

* make flare recipe roundstart instead of blueprint (#32303)

* make flare recipe roundstart instead of blueprint

* migrate it

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>

* Automatic changelog update

* fix conjugate have in cryo locale string (#31993)

* increase thieving beacon range to 2 (#31340)

* increase thieving beacon range to 2

* add obstruction check

* review

* Entity<T?> strikes again

* webedit ops because github died or something

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>

* Automatic changelog update

* Dialog windows now grab the keyboard focus (#31294)

* Dialog windows now grab the keyboard focus

* Comment

* Automatic changelog update

* Allows you to buckle transfer person from bed to bed (#32089)

* unbuckle if the target is buckled

* better way to do it

* Automatic changelog update

* Automatic changelog update

* Removes cockroach/mothroach melee damage (#32221)

no more cockroach and mothroach damage

* Automatic changelog update

* Makes the rat king's cheeseEm order more convenient to use (#32181)

more convenient cheeseem

* Automatic changelog update

* Make small clamp use 2% battery instead of recharging 2% battery. (#32320)

Make small clamp user 2% battery instead of recharge 2% battery.

Co-authored-by: JIPDawg <JIPDawg93@gmail.com>

* Adds the Head of Greytide stamp (#30189)

suggested changes from discord discussion, sprite change, add to refactored loot table

* Psychologist's Stamp (#31881)

* added sprite and began implementation

* fixed sprite name, fixed meta files

* silly whitespace

* added paper-stamp file

* figured out where to add the componet, added 'credits'

* spelling is hard

* hmm

* GAHHHHH

* how did i do this again

* remove duplicate psych stamp

* Automatic changelog update

* Security Clown Mask is now security restricted. (#32335)

made security clown masks security contraband.

* Soda water and Vodka recipes  (#32252)

* SodaWater and Vodka recipes

* Changed crystals recipe in fun.yml

* plasma is now a catalyst to create crystals

* Revert "plasma is now a catalyst to create crystals"

This reverts commit 1002d9927a3597f7a02611071ef3f706cd056a41.

* Revert "Changed crystals recipe in fun.yml"

This reverts commit 30b6b602228ec1b11a46e390c6a5868494e2b61f.

* Stir to make Vodka

* Shake to make soda water

* fix

* Automatic changelog update

* Fix medical PDA/health analyzer long range intel bug (#31879)

* hide spriteview from health analyzer while inactive

* add out of range indicator if analyzer becomes inactive

* hide out of range icon if there is no patient data

* Automatic changelog update

* Added a directory to station maps (#31156)

* Added directory to station maps

* Add null checks to map directory sorting/filtering

* Reworked station map directory to be more readable and responsive

* Automatic changelog update

* Add skirt of life in contraband medidrobe (#32214)

* Fix a spelling mistake in the DonutVend's advertisments (#32348)

change that one line so i never think about this again

* Flora anomaly seeds (#31987)

* content

* Update meta.json

* Update mobspawn.yml

* Update mobspawn.yml

* Update Resources/Prototypes/Entities/Objects/Consumable/Food/produce.yml

* Update Resources/Prototypes/Entities/Objects/Consumable/Food/produce.yml

* Update Resources/Prototypes/Entities/Objects/Specific/Hydroponics/seeds.yml

* Update Resources/Prototypes/Entities/Effects/mobspawn.yml

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>

* Automatic changelog update

* fix cargo order scams, fix internals crate desc (#32350)

fix description, fix scams

* Rat kings can butcher things (#32232)

* rat kings can butcher things

* minor organization

* fix

* important comma

* Automatic changelog update

* :trollface:

* :trollface:

* remove shock collar objective as it isn't stealing it's using a lathe, fix things

* :trollface:

* g

---------

Co-authored-by: Арт <123451459+JustArt1m@users.noreply.github.com>
Co-authored-by: PJBot <pieterjan.briers+bot@gmail.com>
Co-authored-by: Ed <96445749+TheShuEd@users.noreply.github.com>
Co-authored-by: eoineoineoin <github@eoinrul.es>
Co-authored-by: Eoin Mcloughlin <helloworld@eoinrul.es>
Co-authored-by: Errant <35878406+Errant-4@users.noreply.github.com>
Co-authored-by: Plykiya <58439124+Plykiya@users.noreply.github.com>
Co-authored-by: BIGZi0348 <118811750+BIGZi0348@users.noreply.github.com>
Co-authored-by: lzk <124214523+lzk228@users.noreply.github.com>
Co-authored-by: Winkarst <74284083+Winkarst-cpu@users.noreply.github.com>
Co-authored-by: de0rix <151521628+de0rix@users.noreply.github.com>
Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
Co-authored-by: nikthechampiongr <32041239+nikthechampiongr@users.noreply.github.com>
Co-authored-by: Partmedia <kevinz5000@gmail.com>
Co-authored-by: drakewill-CRL <46307022+drakewill-CRL@users.noreply.github.com>
Co-authored-by: xprospero <116504990+xprospero@users.noreply.github.com>
Co-authored-by: gambesun <116504990+gambesun@users.noreply.github.com>
Co-authored-by: PraxisMapper <praxismapper@gmail.com>
Co-authored-by: DrSmugleaf <10968691+DrSmugleaf@users.noreply.github.com>
Co-authored-by: ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com>
Co-authored-by: Nemanja <98561806+EmoGarbage404@users.noreply.github.com>
Co-authored-by: august-sun <45527070+august-sun@users.noreply.github.com>
Co-authored-by: august-sun <45527070+august.sun@users.noreply.github.com>
Co-authored-by: MissKay1994 <15877268+MissKay1994@users.noreply.github.com>
Co-authored-by: chavonadelal <156101927+chavonadelal@users.noreply.github.com>
Co-authored-by: Kanashi-Panda <lliamrtmc@gmail.com>
Co-authored-by: Moomoobeef <62638182+Moomoobeef@users.noreply.github.com>
Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
Co-authored-by: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com>
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Co-authored-by: AsnDen <75905158+AsnDen@users.noreply.github.com>
Co-authored-by: Calecute <34964590+Calecute@users.noreply.github.com>
Co-authored-by: Skarletto <122584947+Skarletto@users.noreply.github.com>
Co-authored-by: beck-thompson <107373427+beck-thompson@users.noreply.github.com>
Co-authored-by: deltanedas <@deltanedas:kde.org>
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
Co-authored-by: SlamBamActionman <83650252+SlamBamActionman@users.noreply.github.com>
Co-authored-by: ArchRBX <5040911+ArchRBX@users.noreply.github.com>
Co-authored-by: archrbx <punk.gear5260@fastmail.com>
Co-authored-by: Luiz Costa <33888056+luizwritescode@users.noreply.github.com>
Co-authored-by: IProduceWidgets <107586145+IProduceWidgets@users.noreply.github.com>
Co-authored-by: Tayrtahn <tayrtahn@gmail.com>
Co-authored-by: Willhelm53 <97707302+Willhelm53@users.noreply.github.com>
Co-authored-by: Boaz1111 <149967078+Boaz1111@users.noreply.github.com>
Co-authored-by: PopGamer46 <yt1popgamer@gmail.com>
Co-authored-by: JIPDawg <51352440+JIPDawg@users.noreply.github.com>
Co-authored-by: JIPDawg <JIPDawg93@gmail.com>
Co-authored-by: cohanna <160202097+cohanna@users.noreply.github.com>
Co-authored-by: Golden Can <greentopcan@gmail.com>
Co-authored-by: saga3152 <133799418+saga3152@users.noreply.github.com>
Co-authored-by: goet <6637097+goet@users.noreply.github.com>
Co-authored-by: TGRCDev <tgrc@tgrc.dev>
Co-authored-by: voidnull000 <18663194+voidnull000@users.noreply.github.com>
Co-authored-by: Ilya246 <57039557+Ilya246@users.noreply.github.com>
2024-09-22 04:10:05 +00:00
Plykiya a289f0f934 Update SpawnAfterInteractSystem.cs to not use Component.Owner (#29968)
* Update SpawnAfterInteractSystem.cs

* what the fuck is that condition

---------

Co-authored-by: plykiya <plykiya@protonmail.com>
2024-08-09 17:45:46 +01:00
Tayrtahn eb4cd9bc0b
Code Cleanup: Purge obsolete MapManager methods (#26279)
* GetGrid

* GridExists

* TryGetGrid

(cherry picked from commit ae3d745430e3c5250d19553429e7cda2b8050d10)
2024-03-24 00:13:35 +01:00
nikthechampiongr ad5628777b
Simplify DoAfterArgs behavior for movement and distance checks (#25226)
* Merge BreakOnWeightlessMove and BreakOnMove. Provide different theshold for weightless movement.

* Adjust WeightlessMovementThresholds. Put a thing I forgot to put in the doafterargs.

* Make DoAfterArgs only use OnMove to determine whether to check for
movement and MoveThreshold to determine the threshold regardless of
weightlessness. Gave DistanceThreshold a default value which will always
be checked now.

* Fix issue introduced by merge.

* Use interaction system for determining whether a distance is within range

* Fix incorrect doafter args introduced by previous merge.
Forgor to commit these.

* Exorcise ghost.

The execution system should have been deleted when I merged previously.
For a reason I cannot comprehend it came back, but only the execution
system.

* Exorcise ghost Pt. 2

* Allow for movement check to be overriden in zero g and adjust doafter args where needed.

You can now override checking for movement in zero g with the BreakOnWeightlessMove bool. By default it will check.
The following doafters were made to ignore the movement check in zero g:
- Healing yourself with healing items,
- Removing embedded projectiles,
- Using tools like welders and crowbars

* Adjust distance for cuffing/uncuffing to work. Make injections not break on weightless movement.

* Fix evil incorrect and uneeded comments

(cherry picked from commit 362d56981fd7654f6ebec36f16cc8fabdd04b6a7)
2024-03-24 00:03:28 +01:00
DrSmugleaf 9cc8a7fc81 Remove 700 usages of Component.Owner (#21100) 2023-10-20 15:31:13 +02:00
metalgearsloth c9648da984 Content update for NetEntities (#18935) 2023-09-27 21:59:12 +02:00
DrSmugleaf 35107f7c2b
Fix component generic usages where IComponent would not be valid (#19482) 2023-08-24 20:10:55 +10:00
Ben c858c76341
Anchorable shared (#17422)
Co-authored-by: BenOwnby <ownbyb@appstate.edu>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2023-06-29 22:35:54 +10:00
Leon Friedrich 19277a2276
More DoAfter Changes (#14609)
* DoAfters

* Compact Clone()

* Fix mice and cuffables

* Try generalize attempt events

* moves climbabledoafter event to shared, fixes issue with climbable target

* Fix merge (cuffing)

* Make all events netserializable

* handful of doafter events moved

* moves the rest of the events to their respective shared folders

* Changes all mentions of server doafter to shared

* stop stripping cancellation

* fix merge errors

* draw paused doafters

* handle unpausing

* missing netserializable ref

* removes break on stun reference

* removes cuffing state reference

* Fix tools

* Fix door prying.

* Fix construction

* Fix dumping

* Fix wielding assert

* fix rev

* Fix test

* more test fixes

---------

Co-authored-by: keronshb <keronshb@live.com>
2023-04-02 21:13:48 -04:00
keronshb 9ebb452a3c
DoAfter Refactor (#13225)
Co-authored-by: DrSmugleaf <drsmugleaf@gmail.com>
2023-02-25 01:01:25 +01:00
Nemanja faca40b8d5
more component ref removal + combining server/client comps (#13178)
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
2022-12-25 05:28:21 +01:00
Leon Friedrich fa4c6f63f8
Nullable grid Uid (#8798) 2022-06-20 10:14:35 +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
themias b4109669e0
Prevent inflatables from being placed on walls/doors (#8624)
* Check if tile is blocked

* Move check to IsTileClear
2022-06-03 19:15:46 -07:00
Flipp Syder d93b250653
Inflatable wall fix (#8409)
* adds a check for canreach in SpawnAfterInteract

* adds a check for the new field
2022-05-25 12:34:39 +10:00
wrexbe bc68ac96dd
Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00
Leon Friedrich 4a00d01ced
Remove ignore-inside-blocker (#6692)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2022-02-16 19:40:03 -07:00
mirrorcult ec4d4688c7
Seal/abstract/virtual everything (#6739) 2022-02-16 18:23:23 +11:00
Vera Aguilera Puerto 8b09d55b10 Fix weird lifestage autorefactors. 2021-12-09 12:39:51 +01:00
Vera Aguilera Puerto c8b65be747 Replace IEntityManager resolves in systems for cached EntityManager 2021-12-08 13:00:43 +01:00
DrSmugleaf 2a3b7d809d Fix 3000 errors 2021-12-05 18:09:01 +01:00
Vera Aguilera Puerto 5cd42c9ad6 Inline UID 2021-12-03 15:53:09 +01:00
Vera Aguilera Puerto 69b270017b Inline TryGetComponent completely, for real 2021-12-03 14:17:01 +01:00
Vera Aguilera Puerto e3227546b3 Inline Delete 2021-12-03 11:43:03 +01:00
Vera Aguilera Puerto b2035543e2 Inline Deleted 2021-12-03 11:30:03 +01:00
Vera Aguilera Puerto 61d8852799
Update StackSystem to use Resolves. (#4664)
* Update StackSystem to use Resolves.

* Compile
2021-09-20 13:39:05 +02:00
Vera Aguilera Puerto 1033d8bbe5 Use EntitySystem dependencies in a bunch of systems. 2021-07-26 13:01:47 +02:00
Visne b7dc3c81ae
Remove redundant #nullable enable (#4275) 2021-07-16 17:37:09 -07:00
Vera Aguilera Puerto ef958185fb
DoAfter can now raise events so you don't need to use async with it (#4253) 2021-07-04 21:32:24 +10:00
DrSmugleaf e44663e99f
Remove obsolete system event unsubscriptions (#4190) 2021-06-16 23:54:00 +10:00
Vera Aguilera Puerto 0093a961bc
Refactor stacks to not use method events (#4177) 2021-06-12 11:24:34 +02:00
DrSmugleaf ff1a2d97ea
Re-organize all projects (#4166) 2021-06-09 22:19:39 +02:00