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
981c6fe2a2da9e4a67e223fe7e43ff0bb3aa7cfe
LuaCsForBarotraumaEP
/
Barotrauma
/
BarotraumaShared
/
Source
/
Items
T
History
Joonas Rikkonen
88abbe28e3
Fixed entity IDs getting messed up and causing desync because of purchased items in multiplayer campaign. The server created cargo items first and then mission-related entities, while the clients only spawned mission entities and relied on the server to spawn the cargo, which caused mission entities to have wrong IDs.
Closes
#484
2018-07-17 12:50:04 +03:00
..
Components
Projectile damage range is set to the radius of the item's collider if the range is not given in the xml. Structure.AddDamage uses the edges of the sections to calculate the distance to a damage source, i.e. the damage area only has to "touch" the section to do damage.
Closes
#479
2018-07-16 15:44:26 +03:00
CharacterInventory.cs
Items removed due to the "DeleteOnUse" property are removed using EntitySpawner, removing an item removes it from the selected items of all characters.
Closes
#306
2018-03-05 12:13:52 +02:00
FixRequirement.cs
Converted the GetAttribute methods in the ToolBox class to extension methods
2017-10-04 18:38:40 +03:00
Inventory.cs
Equipped items can be swapped by double-clicking, fixed inventories getting messed up when swapping multi-slot items fails (e.g. drag a jumpsuit on an equipped diving suit).
2018-03-02 15:24:54 +02:00
Item.cs
Fixed entity IDs getting messed up and causing desync because of purchased items in multiplayer campaign. The server created cargo items first and then mission-related entities, while the clients only spawned mission entities and relied on the server to spawn the cargo, which caused mission entities to have wrong IDs.
Closes
#484
2018-07-17 12:50:04 +03:00
ItemInventory.cs
Equipped items can be swapped by double-clicking, fixed inventories getting messed up when swapping multi-slot items fails (e.g. drag a jumpsuit on an equipped diving suit).
2018-03-02 15:24:54 +02:00
ItemPrefab.cs
All items and structures have to define a sourcerect for the sprite because otherwise the dedicated server won't know the size of the entity.
Closes
#321
2018-03-06 13:55:30 +02:00
RelatedItem.cs
Converted the GetAttribute methods in the ToolBox class to extension methods
2017-10-04 18:38:40 +03:00