* - fix: Starting gear.

* - fix: Lockers.

* - tweak: Jani tweaks.

* - fix: Mindswap.

* - fix: Discounts.

* - fix: No nuke operative component on monkey and borg.

* - tweak: Ebow.

* - fix: Wizard teleport.

* - fix: Animals internals toggle.

* - fix: Thief icon.
This commit is contained in:
Aviu00
2024-07-19 12:52:40 +00:00
committed by GitHub
parent 742af4542f
commit a8002843a3
60 changed files with 330 additions and 128 deletions

View File

@@ -241,7 +241,7 @@ public sealed class InternalsSystem : EntitySystem
// 3. in-hand tanks
// 4. pocket/belt tanks
if (!Resolve(user, ref user.Comp1, ref user.Comp2, ref user.Comp3))
if (!Resolve(user, ref user.Comp2, ref user.Comp3, false)) // WD EDIT
return null;
if (_inventory.TryGetSlotEntity(user, "back", out var backEntity, user.Comp2, user.Comp3) &&
@@ -258,6 +258,9 @@ public sealed class InternalsSystem : EntitySystem
return (entity.Value, gasTank);
}
if (!Resolve(user, ref user.Comp1, false)) // WD EDIT
return null;
foreach (var item in _inventory.GetHandOrInventoryEntities((user.Owner, user.Comp1, user.Comp2)))
{
if (TryComp(item, out gasTank) && _gasTank.CanConnectToInternals(gasTank))