Commit Graph

30691 Commits

Author SHA1 Message Date
Víctor Aguilera Puerto
934f6fb7e2 Add OnDamaged method to IOnDamageBehavior (#685)
* Add OnDamaged method to IOnDamageBehavior

* Adds Source, SourceMob to OnDamage.
2020-02-13 15:57:40 +01:00
ShadowCommander
3292939756 Unset FocusChat when returning to main menu (#691)
Fixes #403
2020-02-13 15:14:03 +01:00
Daniel Thompson
b4b0f6e04b Adds config options for diagonal movement (#684)
* Adds config options for diagonal movement

* Addresses comment
2020-02-13 15:10:09 +01:00
ShadowCommander
5f26944df9 Add styles for ContainerButton and OptionButton 2020-02-13 00:47:46 -08:00
ShadowCommander
7c1b6ff5d1 Add inverted_triangle.svg for OptionButton 2020-02-13 00:46:18 -08:00
Víctor Aguilera Puerto
f8a64bcd5c Prevent items from being dropped across impassable entities (#670) 2020-02-12 00:01:44 +01:00
adrian
9544099c99 Paper and pen (#582)
* A very basic paper and pen implementation

* Removes SharedWriteComponent

* Update ContentNetIDs.cs
2020-02-12 00:01:05 +01:00
moneyl
b965dfea33 Fix toggle UI keybind in tutorial window (#669)
Is shift + f4, not F1
2020-02-09 23:35:35 +01:00
Pieter-Jan Briers
16016461c1 Merge branches 'kestrel' and '20-02-09-kestrel' 2020-02-09 23:20:23 +01:00
Pieter-Jan Briers
c21e0e9dfd Update submodule 2020-02-09 23:18:49 +01:00
Tyler Young
f34d447bde Update MoMMILink to use Kestler StatusHost handlers. 2020-02-09 09:25:48 -05:00
Acruid
d16f433f45 Adds test to make sure that calling IComponent.HandleComponentState() with null states does not throw an exception.
Fixes state handling code on components to not throw exceptions when called with null components.
2020-02-09 02:28:47 -08:00
Swept
b554d8cc8c Fixed the ce gloves sprite (#654) 2020-02-09 10:42:59 +01:00
ShadowCommander
092f234943 Add a check to make sure the CombatMode is the current player (#663) 2020-02-09 10:42:44 +01:00
adrian
253972d529 Fixes placing objects on closed lockers (#658) 2020-02-09 10:42:12 +01:00
AJCM-git
7d4dc85a6a Adds animation time to OuterClothing (#652)
* Adds animation time to OuterClothing

* Fixed golem
2020-02-09 10:41:32 +01:00
Pieter-Jan Briers
f41cff327e Update submodule 2020-02-08 23:14:31 +01:00
Pieter-Jan Briers
f8326af59a Submodule update 2020-02-08 21:54:43 +01:00
Pieter-Jan Briers
753600771f Give observers IgnorePause component. 2020-02-08 21:45:32 +01:00
Pieter-Jan Briers
77ab259d03 Update submodule. 2020-02-08 21:23:46 +01:00
Pieter-Jan Briers
913b4d97a1 Allow more lobby parameters to be configured. 2020-02-08 21:23:37 +01:00
Profane McBane
c7043d20b1 Fixes melee combat (#655) 2020-02-08 20:46:45 +01:00
moneyl
a2a3e5e2e4 Fix issues with exploding items from own hand (#645)
* Fix crash in CameraRecoilComponent from NaN values

Doesn't proceed with camera shake if either component of recoil is NaN.

* Log NaN recoil value in CameraRecoilComponent

* Fix ExplosionHelper passing NaN recoil values when exploding from hand

With other commits CameraRecoilComponent now won't crash from NaN recoil values. Still want to fix this so explosions shake the camera. Just sets a value slightly greater than 0.0 for distance if it is (0.0, 0.0)
2020-02-08 20:46:12 +01:00
Pieter-Jan Briers
eb7c80ba7a You can no longer place unless you are in admin or sandbox. 2020-02-08 20:45:02 +01:00
Pieter-Jan Briers
6b93549ff6 Update submodule 2020-02-08 20:42:23 +01:00
Pieter-Jan Briers
6d9f2b5a68 Fix attack sounds playing globally. 2020-02-08 18:26:01 +01:00
AJCM-git
5e58ae8a0a Adds SnapgridCenter to Asteroid YAML (#646) 2020-02-08 17:21:14 +01:00
Pieter-Jan Briers
d17b28866a Ignore .directory and .DS_Store files in package_release_build.py. 2020-02-08 15:33:37 +01:00
Markus W. Halvorsen
595ffb3237 Clamp out of range item drops (#631) 2020-02-08 15:32:21 +01:00
ShadowCommander
d1c5cf9607 Fix TemperatureComponent (#620)
* Remove TEMPERATURE Net ID

* Remove Temperature NetID
2020-02-08 11:29:06 +01:00
ShadowCommander
4515b5a0af Fix wires getting placed when picking up a wire coil (#628) 2020-02-08 11:27:18 +01:00
Pieter-Jan Briers
9c3692d7d0 Update Submodule 2020-02-08 11:25:42 +01:00
ike709
c6431e4c86 Exploding wires no longer creates full cable stacks (#624) 2020-02-07 15:18:51 -08:00
Profane McBane
fec20133d9 disable collisions between mobs (#625) 2020-02-07 15:15:06 -08:00
Víctor Aguilera Puerto
48af9f90c0 Disable instruments (#617) 2020-02-07 23:38:52 +01:00
Pieter-Jan Briers
425a277b11 Good job me. 2020-02-07 20:47:23 +01:00
Pieter-Jan Briers
d92f305402 Generate SHA256 hashes. 2020-02-07 20:42:35 +01:00
ShadowCommander
9ccb9aeb5c Yaml fixes (#615)
* Change BaseMagazines to abstract

* Change walls and power buildings to use SnapGrid placement
2020-02-07 18:13:48 +01:00
ShadowCommander
cf78f8aa65 Drink fixes (#605)
* Fix max_volume in cup YAML

Fixes #563

Added parsing of max_volume from YAML. Before it would get max volume only from drink content total.

* Fix drink owner getting deleted early

_contents.SplitSolution causes _contents.SolutionChanged to call Finish early causing a crash when try to get SoundComponent from the deleted Entity.
2020-02-07 18:13:11 +01:00
Tad Hardesty
34bbca5cc2 Fix powernets detecting APCs on other maps (#604) 2020-02-07 17:55:27 +01:00
Tad Hardesty
89a4265dda Change player's facing when they click on something (#598) 2020-02-07 17:54:56 +01:00
moneyl
d8afa6bc03 Update & improve tutorial window (#586)
* Update & improve tutorial window

- Fix scroll bar not showing up till window is resized/scrolled.
- Update keybinds and information.
- Add "quick controls" before detailed explanation for quick reference.
- Add section headers with larger font.

* Add more keybinds

Adds more keybinds from keybinds.yml

* Address code review

- Remove paragraph explaining controls in favor of quick list.
- Remove use of ForceRunLayoutUpdate(). Need to find bug causing scroll bar to not show up until resize. Can do in separate PR.

* Add gameplay section

Adds gameplay section with some important notes on respawning and combat node.

* Fix typo

"it's keybind" -> "its keybind"
2020-02-07 00:07:13 +01:00
Víctor Aguilera Puerto
dff24227ea Remove a bunch of base items from spawnlist (#599)
* Adds "abstract: true" to a bunch of base entities.

* Comment out test prototypes.

* whoops

* Uncomment WeaponArc, and make it abstract instead
2020-02-06 16:53:01 +01:00
Víctor Aguilera Puerto
6bd818c8ce Fix two crashes relating to food (#600)
* Fix crash when eating bread due to a missing prototype

* Fix crash when finishing a food.

It tried to get the transform component of a deleted entity.
2020-02-06 16:40:41 +01:00
Tyler Young
51c24150d3 Code Styling defaults & C# Git Diff support (#593)
uncomment csharp diff logic in .gitattributes
2020-02-06 16:16:15 +01:00
ike709
dea2be8321 Fixes "joingame" command allowing players to join before round s… (#595) 2020-02-06 16:15:39 +01:00
moneyl
6a1d2124df Revert unnecessary changes made by previous PR to SolutionCompon… (#583)
#574 added an out arg to `SolutionComponent.TryRemoveSolution` containing the solution that was removed. I made this change since I thought there was no way to get the removed solution for further use. Didn't notice `SplitSolution` which provides nearly the same behavior. With this PR I want to remove that out arg from `TryRemoveSolution` to keep the SolutionComponent API simple and to avoid having multiple ways of doing things. Existing code uses `SplitSolution`, I just wasn't paying attention.

Feel free to deny merging this if I'm over thinking it. I think it'll help keep solution code from becoming a mess.
2020-02-06 16:13:32 +01:00
moneyl
184f2fb68d Remove duplicate code in client EntryPoint.cs (#580) 2020-02-06 16:13:10 +01:00
Pieter-Jan Briers
4375e66489 Update submodule. 2020-02-06 16:11:12 +01:00
Tyler Young
ef751f68dc Faster Power (#596)
uses SnapGridComponent to select nearby wires instead of entity list (only marginally faster if entity queries are using DynamicTree)

TheoreticalLoad double dipping property setter, reduced to one update

minor refactoring

Co-authored-by: Tyler Young <tyler.young@impromptu.ninja>
2020-02-06 14:50:52 +01:00