Фиксы (#228)
* fix: morgues and bodybags can store more than 1 entity * fix: rename BluespaceSilo to BluespaceStorage * fix: fix felinid`s missing sound * fix: fix missing hatch airlock`s states * add: translation for hatch airlocks * add: texture localization for airlocks * add: add new word to slang.json * fix: fix wrong letter on cargo airlock`s texture * fix: fix material whitelist part one * git commit * fix: fix lathe whitelist
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using Robust.Shared.Audio;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
||||
using Robust.Shared.Prototypes;
|
||||
|
||||
@@ -12,6 +13,9 @@ namespace Content.Server.Abilities.Felinid
|
||||
[DataField("hairballPrototype", customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>))]
|
||||
public string HairballPrototype = "Hairball";
|
||||
|
||||
[DataField]
|
||||
public SoundSpecifier MouseEatingSound = new SoundCollectionSpecifier("eating");
|
||||
|
||||
public EntityUid? HairballAction;
|
||||
|
||||
public EntityUid? EatMouseAction;
|
||||
|
||||
@@ -137,7 +137,7 @@ namespace Content.Server.Abilities.Felinid
|
||||
Del(component.PotentialTarget.Value);
|
||||
component.PotentialTarget = null;
|
||||
|
||||
_audio.PlayPvs("/Audio/Items/eatfood.ogg", uid, AudioParams.Default.WithVariation(0.15f));
|
||||
_audio.PlayPvs(component.MouseEatingSound, uid, AudioParams.Default.WithVariation(0.15f));
|
||||
|
||||
_hungerSystem.ModifyHunger(uid, 70f, hunger);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user