Commit Graph

3936 Commits

Author SHA1 Message Date
bryce0110
f51d7a9a6d Crate and Locker welded sprite now appears (#3606)
* Crate and Locker welded sprite now appears

* Address requested changes

* UpdateAppearance method

* Make all appearance updates common

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2021-04-08 22:39:50 +10:00
Alex Evgrashin
cfe427eb8c Light replacer (#3701)
* Add graphics

* Barebone light replacer

* Now light replacer stores bulbs

* More interactions

* Added text messages

* Better light refil

* Add light replacer to locker and lathe

* Added sound

* Fixed ignore error

* Better inhand

* You don't like this commas?

* Fixed typo

* Deferring spawning

* Moved interaction logic to system

Co-authored-by: Alex Evgrashin <evgrashin.adl@gmail.com>
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2021-04-08 22:28:06 +10:00
Acruid
2ae35a2270 Fix bug in GhostComponent setting the Visibility flags instead of ORing them. 2021-04-07 11:52:43 -07:00
metalgearsloth
67f9e9cb5e Split entity lookups from entity manager (#3747)
* Split entity lookups from entity manager

* IoC instead

* IoC refactor

* Fix bad resolve

* Remove EntityManager EntityLookup

* Update submodule

Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
2021-04-06 13:31:07 +10:00
DrSmugleaf
677706b117 Refactor body component to use slots instead of an army of dictionaries (#3749)
* Refactor body component to use slots instead of an army of dictionaries

* Update vox

* Replace static method call with extension

* Add setpart method, replace dispose with shutdown

* Fix tests, fix not listening to slot events when setting a part
2021-04-05 14:54:51 +02:00
DrSmugleaf
4c47cd4fe2 Add back pull moving (#3635)
* Add back pull moving

* Make pull moving event-based, use map coordinates, slow down moving when getting closer and stop moving when very close, add max range and add compensation for overshooting

* Remove compensation

* Prevent pull move from pulling you

* acruid did this

* Add unsubscriptions to shutdown

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2021-04-05 14:08:45 +02:00
Vera Aguilera Puerto
fdf663342e Fixes crash when computer prototype doesn't have a container manager but specifies a board prototype 2021-04-04 20:51:26 +02:00
Vera Aguilera Puerto
c817fa6299 Computer and machine parts are only created on map init now.
Fixes #3795
2021-04-04 20:36:44 +02:00
ShadowCommander
c4895af81a Add shutdown and clean up GhostSystem 2021-04-03 00:52:27 -07:00
collinlunn
f7aba5f701 SharedItemComponent (#3513)
* StorableComponent refactor

* ItemComponent refactor

* conflict fixes

* removes redundant null check

* removes redundant item throwing code

* fix conflicts

* ExplosionLaunchedComponent

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2021-04-02 21:01:03 +11:00
ShadowCommander
d9781c6f1c Change anchorable snap default to true (#3789) 2021-04-02 20:29:49 +11:00
metalgearsloth
5de9228c40 Content grid-trees (#3750)
* Content grid-trees

* Update submodule
2021-04-02 20:29:19 +11:00
ShadowCommander
0e32684905 Fix missing footstep sounds getting through 2021-04-01 18:22:26 -07:00
ShadowCommander
faae4c2456 Fix inflatable position (#3788) 2021-04-01 23:34:35 +02:00
Paul
2a82fa459f fixes closeverb icon 2021-04-01 22:29:58 +02:00
metalgearsloth
b6f337f7f8 Fix cursed locker collision (#3759) 2021-04-01 18:46:23 +11:00
ShadowCommander
a98c0dadd4 Implement inflatable wall (#3703)
* Implement inflatable wall

* Actually block atmos

* Fix naming and add description

* Add requested changes

* Change prototype to field

* Refactor checks to use existing methods

* Fix PrototypeIdSerializer imports

* Fix mass in yaml
2021-04-01 00:04:56 -07:00
ShadowCommander
86faf8565b Fix construction wrenching not working with anchorable (#3772) 2021-03-31 15:02:26 -07:00
ShadowCommander
951b0f425a Refactor mind and ghost deletion code (#3680)
* Refactor mind and ghost deletion code

* Refactor to use EventBus and clean up deletes

* Fix mind eject when being deleted

* Refactor entity manager calls to use IEntity.EntityManager
2021-03-31 14:17:22 -07:00
ShadowCommander
7a842f7c22 Fix tests (#3707)
* First pass

* Fix access and rename banananium to bananium

* Fix captialization of CookTimeInfoLabel

* Fix InteractUsing calls

* Remove unused [Dependency]

* Replace obsolete references to Anchored with BodyType

* Assign default value to shoving someone in disposals

* Fix naming

* Replace Initialize TryGetComponents with EnsureComponent

* Rework AnchorableComponent

* Fix singularity component

* Replace obsolete usages of Angle.South

* Fix efcore warning

* Fix container tests

* Fix DebugPressurePump invalid PressurePump yaml

* Fix getting pathfinding region of grid 0

* Fix atmos plaque missing layer and add info message when it happens

* Fix AiSteeringSystem steering in an invalid grid in entity test

* Make content able to choose which log level leads to test failures

* Revert container test fix for Acruid

* Fix sprite, pipe and saving errors
Make EntityTest print all errors instead of stopping on the first

* Reorder singularity visualizer

* Disable pvs for container occlusion adn simple predict reconcile, they use entities other than map ones

Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2021-03-31 21:41:23 +02:00
metalgearsloth
d1e4bb0304 Inertia (#3709)
* Some stuff

* Fix NaN angular velocity

* Optimise a bit

* Give throwing a bit of a spin

* Reality can be whatever I want

* Biffing it

* Cleanup

* Update submodule

Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
2021-03-30 21:43:03 +11:00
Acruid
13e1824e66 Engine update to v0.4.26 (Network View Bubble) 2021-03-29 16:32:45 -07:00
Metal Gear Sloth
117dc7bb44 Fix atmos byte cast
Thanks rider
2021-03-29 23:00:05 +11:00
Vera Aguilera Puerto
0884bcf7ec Fixes bug where the PlasmaFire reaction wouldn't reset reaction results properly.
This would cause the hotspot volume to grow more and more until the hotspot bypasses processing and therefore doesn't spread anymore.
2021-03-28 14:28:04 +02:00
DrSmugleaf
610db55454 Add command to spawn entity lists around the player and surgery tools list (#3721)
* Add command to spawn surgery tools around the player

* Generalize the command ot all entity list prototypes

* Change index to try index and rename surgery tools prototype
2021-03-28 12:59:58 +02:00
Pieter-Jan Briers
0ac4c0e85c SKREEEEEE (#3706)
* Import bird sprites and define basic mob.

* SKREEEEEEEEE

* Move hair styles to new sprite accessory prototypes.

Basic stuff, no multi-species stuff yet.

* Vox hair styles and clothes

* Make HumanoidCharacterProfile.Default() a static default to fix tests.

Usages that wanted the previous random behavior now call Random().

* Remove names from hair style prototypes.

(They're in localization files)

* Update Content.Shared/Actions/ActionType.cs

(sk)reeee github

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2021-03-28 17:26:32 +11:00
metalgearsloth
bc6a93fa02 Add pyramid physics testbed (#3710)
* Add pyramid physics testbed

From Box2D (licence is already on the file). Useful for testing solver performance for large islands.

* nulls

Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
2021-03-28 13:41:49 +11:00
Acruid
ac219e099d Moved VisibilityFlags to EyeComponent (#3716)
Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
2021-03-28 01:37:19 +01:00
DrSmugleaf
f17ead47c1 Add prototype id list serializer and tests using fixes (#3719) 2021-03-26 20:55:14 +01:00
ike709
1d052d0410 Improves the HUD (#3655)
* All good except the combat doll

* Makes the HUD inventory less terrible

* Cleanup, nuke the Combat Mode button

* Harm icon

* Switch the icon

* Basic goon hud

* Toggleable

* Nuke the popup, properly centers it

* Fix clicking the button

* Nuke some old code

* missed a comment

* Remove defaults

* Localization

* Nuke some old yaml

* New sprites

Co-authored-by: ike709 <sparebytes@protonmail.com>
2021-03-27 02:23:12 +11:00
DrSmugleaf
ec7eab2989 Fix UtensilComponent interaction returning true even when doing nothing 2021-03-26 16:00:03 +01:00
Vera Aguilera Puerto
a6f04e22e4 Entity Reagent Reactions v2 (#3714)
* Refactors reactions to be more POWERFUL and DATA-ORIENTED
2021-03-26 12:02:41 +01:00
Swept
29d02a3740 Attempts to fix all physics bugs at once (#3610)
* Fixed Rack/Shelf

* Fixes bookshelf, bed

* Placeable for beds for bedsheets

* Bunch of Physics changes, ask metalgearsloth about em'

* More modifications

* More

* Other stuff

* Organizes entities yaml a little bit

* Something new

* Fixed, happy with the state of this rn

* A

* A

* Ye

* E

* Done for now...

* Applied Reviws

* Changes

* Fix the robust commit

* Fixes tests?

* E

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
2021-03-26 12:51:26 +11:00
metalgearsloth
1499468157 Reduce disposals allocations (#3715)
Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
2021-03-26 12:48:39 +11:00
Vera Aguilera Puerto
d0abb85a6e Renames IEdgeCondition to IGraphCondition 2021-03-25 18:59:16 +01:00
Vera Aguilera Puerto
195feb70a7 Makes atmos superconduction a CVar, disables it by default. 2021-03-25 18:17:30 +01:00
Vera Aguilera Puerto
e45548ac74 Optimizes atmos 2021-03-25 14:57:57 +01:00
BulletGrade
f87b381468 Buckle icon fix (#3698) 2021-03-23 23:45:55 -07:00
Pieter-Jan Briers
f3a180c3d5 Fix DB stuff. 2021-03-22 11:00:10 +01:00
Pieter-Jan Briers
a321b4302e Use HWIDs for bans. 2021-03-22 01:32:09 +01:00
Vera Aguilera Puerto
6f3f04b61e People who get creamed while they were already creamed get stunned again. 2021-03-21 21:11:38 +01:00
Vera Aguilera Puerto
d505ce1409 Adds creampie launcher 2021-03-21 18:08:42 +01:00
Vera Aguilera Puerto
8d25e5c5de Fixes cream pies not splashing on colliding when thrown. 2021-03-21 18:07:06 +01:00
Acruid
9459400002 SoundSystem Improvements (#3697)
* Refactor all audio to use the new SoundSystem.

* Update submodule

Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
2021-03-21 17:12:03 +01:00
Vera Aguilera Puerto
696fbcd506 Fixes taser bolts not moving when being shot 2021-03-19 19:36:53 +01:00
Vera Aguilera Puerto
2e65aaf1b2 Fixes disposals not flushing down humans.
- Also works around https://github.com/space-wizards/RobustToolbox/issues/1646
2021-03-19 19:14:52 +01:00
ShadowCommander
45d93d8faa Fix chairs not unbuckling entities when deconstructed or destroyed (#3696) 2021-03-18 10:48:17 +01:00
Vera Aguilera Puerto
c455b745ba Adds announce command for admins, latejoin announcer is now "station" 2021-03-17 15:43:31 +01:00
ShadowCommander
51178b9ae7 Airlock construction (#3609)
* Add construction and deconstsruction of airlocks

* Change name to door electronics

* Rearrange things

* Fix errors

* Fix physics error from bumping

* Prevent editing the map for now

* Address reviews

* Change switch to if

* Fix newlines
2021-03-17 13:07:49 +01:00
ShadowCommander
0c0c66ff6f Stop delete if already deleted (#3692) 2021-03-17 13:06:15 +01:00