(558e47075) -Reduced condition loss per use for plastiseal (-100 to -25), reduced the effect a bit (TODO: add more plastiseal to subs) -Reduced condition loss per use for antibiotic glue (-100 -> -50) -Implemented crafting recipes for antidotes -Made spacing more uniform in medical xml

This commit is contained in:
Joonas Rikkonen
2019-04-04 11:12:05 +03:00
parent 4e45876a6c
commit 7126a60b7a
2 changed files with 5 additions and 2 deletions
@@ -132,8 +132,7 @@ namespace Barotrauma
{
if (!character.SelectedItems.Contains(Weapon))
{
var slots = Weapon.AllowedSlots.FindAll(s => s == InvSlotType.LeftHand || s == InvSlotType.RightHand || s == (InvSlotType.LeftHand | InvSlotType.RightHand));
if (character.Inventory.TryPutItem(Weapon, character, slots))
if (character.Inventory.TryPutItem(Weapon, 3, true, false, character))
{
Weapon.Equip(character);
}
@@ -26,6 +26,10 @@ namespace Barotrauma.Items.Components
private float blinkTimer;
private bool itemLoaded;
private float blinkTimer;
public PhysicsBody ParentBody;
[Editable(MinValueFloat = 0.0f, MaxValueFloat = 2048.0f), Serialize(100.0f, true)]