This website requires JavaScript.
Explore
Help
Sign In
vlad.os
/
LuaCsForBarotraumaEP
Watch
0
Star
0
Fork
0
You've already forked LuaCsForBarotraumaEP
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
6aef4073b783d5ac96c684efd72db8ceac73f5c3
LuaCsForBarotraumaEP
/
Barotrauma
/
BarotraumaShared
/
Source
/
Items
T
History
Joonas Rikkonen
6aef4073b7
(73782c3bc) Don't prevent selecting items in the sub editor when the cursor is on a wire node, because it makes it very difficult (or impossible) to select items in the wiring mode. + Don't start moving wire nodes unless the cursor is moved by at least 16px from the initial position of the node.
2019-04-18 12:05:43 +03:00
..
Components
(7e43eae73) Optimized Item.ApplyStatusEffects & ItemComponent.PlaySound: check if the item has effects/sounds of the correct type from a bool array instead of doing a dictionary lookup. A small thing, but the methods are called so frequently that it adds up to a lot.
2019-04-18 12:05:11 +03:00
CharacterInventory.cs
(ce8e185aa) Merge branch 'dev' of
https://github.com/Regalis11/Barotrauma-development
into dev
2019-04-16 17:12:09 +03:00
Inventory.cs
(50447ac17) Inventory syncing fixes. Could be related to
#768
. - When moving an item from an inventory to another, create the event for the target inventory first, then for the inventory the item is being removed from. Otherwise clients would first drop the item, and then put it in the container with the next event, which works most of the time, but if the second event is delayed enough that the item is not within the character's reach by the time it arrives, the client will be unable to put it in the container and the item will just be dropped. - Fixed item velocities not being reset when they're dropped from a character's inventory. I'm not exactly sure why, but sometimes they had very high downwards velocities (even though the body was previously inactive), which caused them to launch through floors and made the previous inventory syncing issue much worse (because a delay of just a couple of frames was enough to move the item out of the character's reach).
2019-04-08 19:18:04 +03:00
Item.cs
(73782c3bc) Don't prevent selecting items in the sub editor when the cursor is on a wire node, because it makes it very difficult (or impossible) to select items in the wiring mode. + Don't start moving wire nodes unless the cursor is moved by at least 16px from the initial position of the node.
2019-04-18 12:05:43 +03:00
ItemInventory.cs
(54ae135f5) Items can be dragged and dropped directly from the inventory into containers without having to select the container first.
2019-03-28 18:11:40 +02:00
ItemPrefab.cs
(99fb00391) Don't allow deconstructing items that don't give anything when deconstructed.
Closes
#690
2019-04-18 12:03:22 +03:00
RelatedItem.cs
(ce8e185aa) Merge branch 'dev' of
https://github.com/Regalis11/Barotrauma-development
into dev
2019-04-16 17:12:09 +03:00