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

Commit

Permalink
Retira acentos na classe de sotaque gaucho
Browse files Browse the repository at this point in the history
  • Loading branch information
Arctic-Husky committed Jun 15, 2024
1 parent 69b0937 commit 5863045
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
10 changes: 10 additions & 0 deletions Content.Server/Pirata/Sotaques/SotaqueGaucho/gauchoComponent.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
namespace Pirata.Sotaque.Gaucho;

/// <summary>
/// Etcha, bah tchê
/// </summary>
[RegisterComponent]
public sealed partial class SotaqueGauchoComponent : Component
{

}
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
using System.Text.RegularExpressions;
using Content.Server.Speech;

namespace Pirata.Sotaque.Gaúcho;
namespace Pirata.Sotaque.Gaucho;

sealed class SotaqueCarioca : AccentEngine
{
public override void Initialize()
{
SubscribeLocalEvent<SotaqueGaúchoComponent, AccentGetEvent>(OnAccent);
SubscribeLocalEvent<SotaqueGauchoComponent, AccentGetEvent>(OnAccent);
getPath();
Log.Debug(file);
}
override protected string path { get; set; } = "/Prototypes/EstacaoPirata/Sotaques/Gaucho";
private void OnAccent(EntityUid uid, SotaqueGaúchoComponent component, AccentGetEvent args)
private void OnAccent(EntityUid uid, SotaqueGauchoComponent component, AccentGetEvent args)
{
args.Message = Take(args.Message);
}
Expand Down
10 changes: 0 additions & 10 deletions Content.Server/Pirata/Sotaques/SotaqueGaúcho/gaúchoComponent.cs

This file was deleted.

4 changes: 2 additions & 2 deletions Resources/Prototypes/EstacaoPirata/Sotaques/sotaques.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
- type: SotaquePortunhol

- type: trait
id: Gaúcho
id: Gaucho
name: Sotaque Gaúcho
description: Bah tche bah bah tche bah
components:
- type: SotaqueGaúcho
- type: SotaqueGaucho

- type: trait
id: Paulista
Expand Down

0 comments on commit 5863045

Please sign in to comment.