Commit Graph

2716 Commits

Author SHA1 Message Date
20kdc
c7f104cd93 More rotatability (#4067)
* Make barstools, PA components, and radiation collectors rotatable.

Making barstools rotatable is so that people can spin on the barstool. (RP moment.)

The other two are more "functional" changes for assembling a PA.

* Allow rotating a rotate-while-anchored object if you're buckled to it.

Barstool spinny

* Fix bug with rotation of an object that someone is buckled to

* BuckleSystem: Efficiency improvements with directed events

* Don't need to unsubscribe anymore from events, so in BuckleSystem, just don't
2021-05-27 12:51:14 +02:00
20kdc
cf6fdd40e0 Tune pull-to-location constants just a bit more so it gets stuck less often (#4077) 2021-05-27 12:48:37 +02:00
Vera Aguilera Puerto
9500c91a69 Proper exception rethrowing in AI Steering system. 2021-05-27 12:39:34 +02:00
Vera Aguilera Puerto
c1b247ff22 Proper exception rethrowing in UtilityAI 2021-05-27 12:34:52 +02:00
Vera Aguilera Puerto
0c68f2973e Adds YAML linter validators for content tiles.
- Removes invalid floor drops.
2021-05-27 11:42:04 +02:00
Vera Aguilera Puerto
f64433a14d Makes more things queue delete to prevent physics collision callback issues. 2021-05-26 18:43:12 +02:00
Vera Aguilera Puerto
74518a421f Cleanup some events. 2021-05-26 11:11:14 +02:00
Vera Aguilera Puerto
0f703b8f02 Stack examining is now ECS. 2021-05-26 10:32:40 +02:00
Vera Aguilera Puerto
33fa208214 Refactors stacks to be fully ECS. (#4046) 2021-05-26 10:20:57 +02:00
scrato
2d709f6294 Fix: #4037 Being able to dehandcuff yourself while dead (#4062)
* Fix #4037 (dead handcuffs)

* check ActionBlocker.CanInteract

* Removed unnecessary using

Co-authored-by: Michael Will <will_m@outlook.de>
2021-05-24 07:55:48 -07:00
20kdc
e88c092c3c Bring singularity back from the brink of "particles don't even hit" (#3963)
* Bring singularity back from the brink of "particles don't even hit anything"

* Remove force-disable-hard from singularity code so it doesn't just ignore containment

Shouldn't this be the prototype's job if they want that so much?
This might have some sorta downside, but this brings singulo back into being containable

* Apply ShadowCommander's suggested layers/masks for particles

Tested, singulo properly spawns and develops with this mask

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

Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
2021-05-23 21:14:15 -07:00
SethLafuente
48cd4a76c2 Protolathe Printing and R&D technology (#4039)
Co-authored-by: SETh lafuente <cetaciocascarudo@gmail.com>
2021-05-24 00:38:26 +00:00
ShadowCommander
acb102f978 Rename and clean up interaction events (#4044)
* Rename and clean up interaction events

* Fix hand equip events
2021-05-22 21:06:40 -07:00
Vera Aguilera Puerto
bf1fce006f Fix buckle not working 2021-05-22 13:53:51 +02:00
Swept
9dd2e9eeaa Removes solution transfer verbs (#4048) 2021-05-21 23:36:16 +02:00
Swept
4ca854b142 Changes - name: in StorageFillComponent.cs to - id: (#4051)
* Changes all - name: fields to - id: fields to make more sense in StorageFillComponent.cs

* Fixes test
2021-05-21 23:30:03 +02:00
SweptWasTaken
9954764c58 Adds a light code comment to StorageFillComponent.cs 2021-05-21 11:56:15 -07:00
Swept
74d044a4a9 Adds more splat and tweaks PuddleComponent.cs (#3942)
Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>
2021-05-21 00:19:18 +00:00
scrato
80a864724b Fixed 4014 (#4033)
Co-authored-by: Michael Will <will_m@outlook.de>
2021-05-20 14:58:28 +02:00
Vera Aguilera Puerto
3a27490c59 Material cleanup (#4025)
* work

* more work
2021-05-20 10:37:34 +02:00
20kdc
efc5fac7ec Fix dropping an item on a translated grid (#4027) 2021-05-19 19:26:01 +02:00
Vera Aguilera Puerto
92b01d6a7c Makes a few deletes queued. (#4015) 2021-05-17 13:14:28 +02:00
ShadowCommander
7b00489b1f Fix clicking a locker while inside of said locker (#3965)
* Fix clicking a locker while inside of said locker

Actually fixes #1535

* Address reviews

* Add test

* Clean up test
2021-05-17 02:31:10 -07:00
ShadowCommander
b907c54470 Fix kitchen spike (#4008)
* Fix kitchen spike

* Add fluent localization

* Add newline

* Prevent things that are not dead from being spiked
2021-05-17 11:12:17 +02:00
Vera Aguilera Puerto
dc03f1f545 AnchorableComponent light cleanup. (#4009)
* Remove awful commands

* Unanchoring is a word.

* Fix disposal tests....

* Slight anchorable cleanup
2021-05-16 22:33:21 +02:00
20kdc
f6a2daffa9 Objectives all use a consistent definition of "dead" defined in Mind now. DieCondition is no longer inverted. (#4006)
More brain fixes, mainly
2021-05-15 17:46:55 +02:00
20kdc
438b60310d Various Paper adjustments (#3993)
* Various Paper adjustments

+ can now have prefilled text
+ cleaned up paper sprite layering a bit,
+ adds an AME manual as a test but doesn't put it anywhere
+ Paper cannot write arbitrary Examine markup

* Paper component doesn't show text on examine anymore
2021-05-15 17:43:19 +02:00
Pieter-Jan Briers
26c2d9f479 Remove usages of physics anchored from content 2021-05-13 02:13:12 +02:00
Pieter-Jan Briers
251df93b71 Remove usages of AnchoredChangedMessage.
It was a component message which is now deprecated.
2021-05-13 02:05:46 +02:00
20kdc
23bc33a7aa drainallbatteries - a command for testing low-power conditions (#3983) 2021-05-13 01:12:36 +02:00
20kdc
3476d1de5b Fixes KillPersonCondition considering brains "alive" (#3985) 2021-05-13 01:11:26 +02:00
20kdc
e0f7ca7740 Little component to make batteries examinable. (#3982) 2021-05-13 01:10:57 +02:00
Vera Aguilera Puerto
f0c1efed9b Footstep SFX are played on entity coordinates, instead of following the entity.
This prevents client-side "can't play sound" spam when the entity is NaN'd due to PVS.
2021-05-12 14:50:15 +02:00
Vera Aguilera Puerto
722087f92a Melee arc effects are only sent to players inside PVS. 2021-05-12 14:47:56 +02:00
Vera Aguilera Puerto
462cddf860 Use ActorComponent instead of IActorComponent or BasicActorComponent. (#3966) 2021-05-12 13:42:18 +02:00
ShadowCommander
c2d66723a3 Cloning rework (#3808)
* Fix cloning

* Fix cloning after clone dies and remove unneeded code

* Fix ignored

Co-authored-by: Silver <silvertorch5@gmail.com>
2021-05-11 16:16:08 -07:00
Alex Evgrashin
bf94e37730 Fix anchoring? Maybe? (#3974) 2021-05-12 00:16:48 +02:00
Pieter-Jan Briers
4e89ba560e Add basic example NL entity localizations.
Make secret stash use fluent in one spot as example.
2021-05-11 23:13:43 +02:00
Vera Aguilera Puerto
9c3c81e8d8 Fix radio messages not being sent and messages not being escaped. 2021-05-11 12:17:47 +02:00
ShadowCommander
4780179058 Global ghost hearing (#3954)
* Add global hearing for ghosts

* Fix speech bubbles breaking when out of PVS
2021-05-11 18:37:40 +10:00
20kdc
743a12750c Pull controller manages velocity better than it did before. (#3945) 2021-05-11 18:32:11 +10:00
Vera Aguilera Puerto
0be8437645 Update ResearchSystem to not use IEntityQuery. 2021-05-10 20:46:34 +02:00
Vera Aguilera Puerto
3e0eb22921 Update RemoveExtraComponents command to not use IEntityQuery. 2021-05-10 20:36:16 +02:00
Paul
ffdf1d17fe when the transform 2021-05-09 22:36:19 +02:00
Paul
c136755df2 dropping with random rotation on unintentional drop, dropping with reset rotation on intentional 2021-05-09 10:09:14 +02:00
ShadowCommander
7c42a5d305 Fix moving items dropping them on the ground for a tick 2021-05-08 17:19:32 -07:00
ShadowCommander
31844fa88e Fix thrown breakables (#3944)
* Fix bottles and lights being parented to player

* Fix item pickup animation
2021-05-08 20:27:20 +02:00
Vera Aguilera Puerto
2c5102b85d HandsComponent now validates coordinates before attempting to drop. 2021-05-08 03:49:34 +02:00
Vera Aguilera Puerto
62a4145681 FoodComponent trash prototype ID is now validated by the YAML linter. 2021-05-08 03:44:19 +02:00
Vera Aguilera Puerto
e3a2847200 Makes some mind methods log. 2021-05-08 03:37:24 +02:00