Skip to content

Commit

Permalink
Плюшевая акула с заказа и замена ?? в чате (#235)
Browse files Browse the repository at this point in the history
No cl, no fun
  • Loading branch information
ne4t02 authored Aug 14, 2024
1 parent 0b2d3e5 commit 49cd3d3
Show file tree
Hide file tree
Showing 13 changed files with 58 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Content.Server/Chat/Managers/ChatSanitizationManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ public sealed class ChatSanitizationManager : IChatSanitizationManager

private static readonly Dictionary<string, string> SmileyToEmote = new()
{
// ADT-Localization-Start
{ "??", "chatsan-questioned" },
// ADT-Localization-End
// Corvax-Localization-Start
{ "хд", "chatsan-laughs" },
{ "о-о", "chatsan-wide-eyed" }, // cyrillic о
Expand Down
1 change: 1 addition & 0 deletions Resources/Locale/en-US/chat/sanitizer-replacements.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ chatsan-tearfully-salutes = tearfully salutes
chatsan-shrugs = shrugs
chatsan-tearfully-smiles = tearfully smiles
chatsan-winks = winks
chatsan-questioned = gazes questioningly
1 change: 1 addition & 0 deletions Resources/Locale/ru-RU/ADT/Chat/sanitizer-replacements.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
chatsan-questioned = вопросительно смотрит
4 changes: 2 additions & 2 deletions Resources/Locale/ru-RU/corvax/chat/emotes.ftl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Имена
chat-emote-name-howl = Выть
chat-emote-name-growl = Рычать
chat-emote-name-howl = выть
chat-emote-name-growl = рычать
# Сообщение
chat-emote-msg-howl = воет
chat-emote-msg-growl = рычит
16 changes: 16 additions & 0 deletions Resources/Prototypes/ADT/Entities/Objects/Fun/toys.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,19 @@
- type: Sprite
sprite: ADT/Objects/Fun/toys.rsi
state: plushie_ursus

- type: entity
parent: BasePlushie
id: ADTBlackSharkPlushie
name: black shark plushie
description: Big and safe to have by your side if you want to discover the world below the surface of the ocean.
components:
- type: Sprite
sprite: ADT/Objects/Fun/sharkplushie.rsi
state: black
- type: Item
heldPrefix: black
- type: Tag
tags:
- PlushieSharkBlack
- Payload
4 changes: 4 additions & 0 deletions Resources/Prototypes/ADT/tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,7 @@

- type: Tag
id: SpaceCash

- type: Tag
id: PlushieSharkBlack

Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@
whitelist:
tags:
- PlushieSharkGrey
mopbucket_shark_black:
whitelist:
tags:
- PlushieSharkBlack
sprite: Objects/Fun/sharkplush.rsi
- type: Transform
noRot: true
Expand All @@ -59,6 +63,7 @@
- PlushieSharkBlue
- PlushieSharkPink
- PlushieSharkGrey
- PlushieSharkBlack
priority: 3 # Higher than drinking priority
- type: Drink
solution: bucket
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions Resources/Textures/ADT/Objects/Fun/sharkplushie.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Created by ADT team",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "black"
},
{
"name": "black-inhand-left",
"directions": 4
},
{
"name": "black-inhand-right",
"directions": 4
}
]
}
5 changes: 4 additions & 1 deletion Resources/Textures/Objects/Fun/sharkplush.rsi/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@
},
{
"name": "mopbucket_shark_grey"
},
{
"name": "mopbucket_shark_black"
}
]
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 49cd3d3

Please sign in to comment.