Pet Carrier (Zookeeper gameplay?) (#21545)

* add visual

* fix item + entityStorage problem, add generation in maints

* make pet carrier two-handed

* added to cargo

* add resistlocker component
This commit is contained in:
Ed
2023-11-14 02:55:47 +03:00
committed by GitHub
parent 126c1bbab4
commit 786bb79ebc
13 changed files with 122 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
using System.Numerics;
using System.Numerics;
using Content.Shared.Physics;
using Content.Shared.Whitelist;
using Robust.Shared.Audio;
@@ -64,6 +64,12 @@ public abstract partial class SharedEntityStorageComponent : Component
[DataField, ViewVariables(VVAccess.ReadWrite)]
public float EnteringRange = 0.18f;
/// <summary>
/// If true, there may be mobs inside the container, even if the container is an Item
/// </summary>
[DataField]
public bool ItemCanStoreMobs = false;
/// <summary>
/// Whether or not to show the contents when the storage is closed
/// </summary>