DrSmugleaf
42d2334334
Fix airtight entities not getting invalidated and their vacuum not being fixed ( #1876 )
2020-08-23 17:17:19 +02:00
Víctor Aguilera Puerto
39f346ed42
Fix stripping menu hands' items not showing correctly.
2020-08-23 15:03:01 +02:00
DrSmugleaf
814daaba4c
Fix the flashlight's power bar and status with no battery ( #1862 )
...
Co-authored-by: Víctor Aguilera Puerto <6766154+Zumorica@users.noreply.github.com >
2020-08-23 13:19:40 +02:00
DrSmugleaf
a4a25a9975
Remove localization manager dependencies from components ( #1864 )
...
Co-authored-by: Víctor Aguilera Puerto <6766154+Zumorica@users.noreply.github.com >
2020-08-23 12:53:09 +02:00
metalgearsloth
0b4ca168d4
Fix AI steering throw ( #1872 )
...
Entity steering wasn't properly checking if the target was deleted.
Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com >
2020-08-23 12:42:59 +02:00
DrSmugleaf
b9196d0a10
Add a test that puts all components on an entity and checks for no exceptions ( #1815 )
...
* Add test that puts all components on an entity and checks for no exceptions
Also fix all the exceptions that happened because of this
* Add comments to the test
* Fix nullable errors
* Fix more nullable errors
* More nullable error fixes
* Unignore basic actor component
* Fix more nullable errors
* NULLABLE ERROR
* Add string interpolation
* Merge if checks
* Remove redundant pragma warning disable 649
* Address reviews
* Remove null wrappers around TryGetComponent
* Merge conflict fixes
* APC battery component error fix
* Fix power test
* Fix atmos mapgrid usages
2020-08-22 22:29:20 +02:00
Víctor Aguilera Puerto
5de139d6fd
Improves examine for ranged weapons, magazines and ammo.
2020-08-22 20:18:49 +02:00
Víctor Aguilera Puerto
35e963a0ea
Lights now show a popup message when you burn yourself.
2020-08-22 19:37:23 +02:00
DrSmugleaf
7e957ceff1
Fix not dropping your items when dying while buckled ( #1856 )
...
* Fix not dropping your items when dying while buckled
* Add test for dropping items while buckled and dead
2020-08-22 17:07:41 +02:00
DrSmugleaf
092dd7c946
Fix xenos not changing sprites when going into crit or dying ( #1854 )
2020-08-22 15:51:35 +02:00
DrSmugleaf
c87a8d5b51
Fix NRE when pointing happens without player data or a mind ( #1855 )
2020-08-22 15:18:04 +02:00
Julian Giebel
265afc9929
Change NextTube in DisposalTubeComponent to consider multiple tube ( #1851 )
...
Co-authored-by: Julian Giebel <j.giebel@netrocks.info >
2020-08-22 13:55:58 +02:00
DrSmugleaf
bb923aa230
As discussed on the Discord, xenos are not humans ( #1840 )
...
* As discussed on the Discord, xenos are not humans
* Add living component for living beings without a defined body
* Merge LivingDamageable and Damageable components
* Fix ruinable and state manager inconsistencies
* Fix ruinable exposedata
* Fix new destructibles yamls
* Fix healing not healing
* Fix alive not being a valid state
* Fix valid state checking
2020-08-22 13:40:22 +02:00
Exp
1b634739ac
Observers are shown as observers in the RoundEndSummary ( #1838 )
...
* Observers are shown as observers in the RoundEndSummary
* Fix typo
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com >
2020-08-22 12:45:49 +02:00
DrSmugleaf
efbd01d0bf
Add test for airlocks opening/closing and blocking entities ( #1842 )
...
* Add test for airlocks opening/closing and blocking entities
* Nullable fix classic
2020-08-22 12:30:30 +02:00
DrSmugleaf
8a21df21f2
Fix nullable build errors ( #1849 )
2020-08-22 12:24:59 +02:00
Julian Giebel
1c21f2c3b0
Rework emergency lights ( #1830 )
...
* Implement emergency lights reacting to lost power
* Add emergency light sprites
Remove shared emergency light component
* Remove unused import
* Remove EmergencyLight NetID
* Add rich description
Change comments
Add license
Implement ExposeData
Co-authored-by: Julian Giebel <j.giebel@netrocks.info >
2020-08-22 12:06:29 +02:00
metalgearsloth
72e50cce94
AI pickup changes ( #1811 )
...
* AI pickup changes
Eating and drinking isn't spammed anymore.
AI can do InRangeUnobstructed checks for item pickups.
AI can open drink cans.
AI littering to be coded.
* #nullable enable
* github's nullable fails are actively shortening my lifespan
* Use a const instead
So it's easier to find given the performance implications.
Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com >
2020-08-22 12:03:24 +02:00
Víctor Aguilera Puerto
b3156e9934
Play special sound when you get chosen as traitor in SSS.
2020-08-21 21:09:24 +02:00
Víctor Aguilera Puerto
1086474cd0
Do not spawn the item in nullspace in InventoryHelpers
2020-08-21 20:29:29 +02:00
Víctor Aguilera Puerto
a5fbe0f024
firelock stuff I guess
2020-08-21 18:29:43 +02:00
Víctor Aguilera Puerto
fd81e05d5b
Add inventory helpers and an integration test for it ( #1841 )
2020-08-21 18:09:47 +02:00
Pieter-Jan Briers
94e85adedb
I blame Rider.
2020-08-21 17:48:22 +02:00
Pieter-Jan Briers
3f0665b908
Make deleting a visited entity not cleaning it up in the mind.
2020-08-21 17:43:27 +02:00
Pieter-Jan Briers
d5c4ed819c
Add some minor setup behavior to DummyGameTicker by giving it a common base with normal GameTicker.
...
Necessary for the game to, well, function.
2020-08-21 17:41:50 +02:00
Víctor Aguilera Puerto
68fb5d4257
Merge branch 'master' into 2020-08-19-firelocks
2020-08-21 16:51:50 +02:00
Pieter-Jan Briers
80e175aaa9
Fix deletion of inventories of dead people.
2020-08-21 14:54:38 +02:00
Víctor Aguilera Puerto
c042b46220
Fix arrow visibility for ghosts.
...
metacomming bad
2020-08-21 13:32:04 +02:00
Exp
02b5632dac
Observers are now shown in the Lobby as Observers ( #1834 )
...
* Observers are now shown in the Lobby as Observers
* Weviews adwessed
2020-08-21 11:24:06 +02:00
Exp
8fe211bf88
Make Table Vaulting use "theName" macro ( #1832 )
2020-08-21 11:00:27 +02:00
Pieter-Jan Briers
4863c0eb2d
Merge pull request #1827 from exp111/20200820-min-traitor-exception
...
Fixed Exception when ReadyPlayers < MinTraitors
2020-08-21 00:08:47 +02:00
Exp
ce1dc6d86b
Table Vaulting notify messages use the name ( #1828 )
2020-08-21 00:08:16 +02:00
Pieter-Jan Briers
b1eb320b0a
Fix exception with explosions and storage items.
2020-08-20 23:44:35 +02:00
Pieter-Jan Briers
f27ce22dc9
Reduce airlock prying time.
2020-08-20 22:38:00 +02:00
Exp
daf17e1c64
Fixed Exception when ReadyPlayers < MinTraitors
2020-08-20 22:16:34 +02:00
Pieter-Jan Briers
82c4c3eb4a
Suspicion improvements:
...
1. pull settings from cvars.
2. Fix greet.
Fixes #1823
2020-08-20 22:05:14 +02:00
Pieter-Jan Briers
fc2ee61f75
Fix verbs in-hand.
...
Properly this time.
2020-08-20 21:45:43 +02:00
Pieter-Jan Briers
8a2530e7a0
More FloatMath -> MathHelper from merge.
2020-08-20 20:34:32 +02:00
Pieter-Jan Briers
bf60a4e9fc
Merge branch 'master' into mathmerge
2020-08-20 20:33:43 +02:00
Pieter-Jan Briers
496b456120
Use in-memory SQLite prefs DB when UserData is virtual.
2020-08-20 18:47:41 +02:00
Víctor Aguilera Puerto
3203fdfb7f
Fix fallback preset DisallowLateJoin not being taken into account
2020-08-20 18:18:42 +02:00
Víctor Aguilera Puerto
9e7d698145
Allow specifying a text to be shown to players in the summary when ending the round. ( #1818 )
...
* Allow specifying a text to be shown to players when ending the round.
Also sets text
* Fix comment
2020-08-20 18:09:29 +02:00
Visne
de61a01703
Fix HasGameRule bug ( #1819 )
2020-08-20 16:59:59 +02:00
Pieter-Jan Briers
ed1a96e536
Nullability fixes.
2020-08-20 16:48:15 +02:00
Víctor Aguilera Puerto
944ce2cc92
Allow game presets to disallow latejoining ( #1816 )
...
* Allow game presets to disallow latejoining
* Update Content.Server/GameTicking/GameTicker.cs
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com >
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com >
2020-08-20 16:20:48 +02:00
Víctor Aguilera Puerto
2bdf359289
Fix readyall nullable
2020-08-20 16:20:08 +02:00
Víctor Aguilera Puerto
d703dc8dcc
Adds readyall (b)admin command.
2020-08-20 15:19:36 +02:00
metalgearsloth
d8a78f2de6
Geometric mean for AI considerations ( #1812 )
...
* Geometric mean for AI cons
More forgiving for having more considerations for an action.
* You had 1 job
Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com >
2020-08-20 14:16:12 +02:00
metalgearsloth
599b316212
Fix AI bool curves ( #1809 )
...
I was a silly billy. AI were only picking up 1 item because 0.5 was being treated as a fail.
Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com >
2020-08-20 13:47:47 +02:00
metalgearsloth
c6abeda53b
Fix AI inventory deleted exc ( #1810 )
...
Was throwing during eating / drinking.
Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com >
2020-08-20 13:47:20 +02:00