Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Commit

Permalink
Ghosts can understand vulps
Browse files Browse the repository at this point in the history
  • Loading branch information
FireNameFN committed May 6, 2024
1 parent 97dbb43 commit 9a44dfd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
4 changes: 1 addition & 3 deletions Content.Server/Corvax/VulpLanguage/VulpLanguageSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
using Content.Server.PowerCell;
using Content.Server.VulpLangauge;
using Content.Shared.Inventory;
using Content.Shared.Mind;
using Content.Shared.Players;
using Content.Shared.Storage;

namespace Content.Server.Corvax.VulpLanguage;
Expand Down Expand Up @@ -134,7 +132,7 @@ private void OnCheckLanguageUnderstand(CheckLanguageUnderstandEvent e)
if (!EntityManager.HasComponent<VulpLanguageSpeakerComponent>(e.Sender))
return;

if (EntityManager.HasComponent<VulpLanguageSpeakerComponent>(e.Listener))
if (EntityManager.HasComponent<VulpLanguageListenerComponent>(e.Listener))
e.Understand = true;
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
namespace Content.Server.VulpLangauge
{
[RegisterComponent]
public partial class VulpLangaugeListenerComponent : Component
public partial class VulpLanguageListenerComponent : Component
{
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
Female: FemaleVulpkanin
Unsexed: MaleVulpkanin
- type: VulpLanguageSpeaker # Corvax-Frontier-Vulpkanin
- type: VulpLangaugeListener # Corvax-Frontier-Vulpkanin
- type: VulpLanguageListener # Corvax-Frontier-Vulpkanin
- type: VulpGiveTranslator # Corvax-Frontier-Vulpkanin
- type: Speech # Corvax-Frontier-Vulpkanin
speechSounds: Vulpkanin
Expand Down
1 change: 1 addition & 0 deletions Resources/Prototypes/Entities/Mobs/Player/observer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
baseWalkSpeed: 8
- type: MovementIgnoreGravity
- type: IntrinsicRadioReceiver
- type: VulpLanguageListener
- type: ActiveRadio
receiveAllChannels: true
globalReceive: true
Expand Down

0 comments on commit 9a44dfd

Please sign in to comment.