change emote prefix and added custom age to different races (#1835)

* change emote prefix from @ to % and added age to different races

* alt emotes prefix

* fix formating

* correcting ages
This commit is contained in:
Minokaa
2025-11-17 15:38:44 +07:00
committed by GitHub
parent 0ecbc0ac35
commit 1606ff154d
8 changed files with 32 additions and 0 deletions

View File

@@ -83,6 +83,10 @@ public sealed partial class ChatUIController : UIController
{SharedChatSystem.OOCPrefix, ChatSelectChannel.OOC}, {SharedChatSystem.OOCPrefix, ChatSelectChannel.OOC},
{SharedChatSystem.EmotesPrefix, ChatSelectChannel.Emotes}, {SharedChatSystem.EmotesPrefix, ChatSelectChannel.Emotes},
{SharedChatSystem.EmotesAltPrefix, ChatSelectChannel.Emotes}, {SharedChatSystem.EmotesAltPrefix, ChatSelectChannel.Emotes},
// CrystallEdge alternative emotes prefix
{SharedChatSystem.CEEmotesPrefix, ChatSelectChannel.Emotes},
{SharedChatSystem.CEEmotesAltPrefix, ChatSelectChannel.Emotes},
// CrystallEdge End
{SharedChatSystem.AdminPrefix, ChatSelectChannel.Admin}, {SharedChatSystem.AdminPrefix, ChatSelectChannel.Admin},
{SharedChatSystem.RadioCommonPrefix, ChatSelectChannel.Radio}, {SharedChatSystem.RadioCommonPrefix, ChatSelectChannel.Radio},
{SharedChatSystem.DeadPrefix, ChatSelectChannel.Dead} {SharedChatSystem.DeadPrefix, ChatSelectChannel.Dead}

View File

@@ -24,6 +24,10 @@ public abstract class SharedChatSystem : EntitySystem
public const char AdminPrefix = ']'; public const char AdminPrefix = ']';
public const char WhisperPrefix = ','; public const char WhisperPrefix = ',';
public const char DefaultChannelKey = 'h'; public const char DefaultChannelKey = 'h';
// CrystallEdge # and % emotes prefix
public const char CEEmotesPrefix = '%';
public const char CEEmotesAltPrefix = '#';
// CrystallEdge End
public const int VoiceRange = 10; // how far voice goes in world units public const int VoiceRange = 10; // how far voice goes in world units
public const int WhisperClearRange = 2; // how far whisper goes while still being understandable, in world units public const int WhisperClearRange = 2; // how far whisper goes while still being understandable, in world units

View File

@@ -11,6 +11,10 @@
maleFirstNames: CP14_Names_Carcat_First maleFirstNames: CP14_Names_Carcat_First
femaleFirstNames: CP14_Names_Carcat_First femaleFirstNames: CP14_Names_Carcat_First
naming: First naming: First
minAge: 18
maxAge: 110
youngAge: 20
oldAge: 80
- type: speciesBaseSprites - type: speciesBaseSprites
id: CP14MobCarcatSprites id: CP14MobCarcatSprites

View File

@@ -10,6 +10,10 @@
maleFirstNames: CP14_Names_Dwarf_Male_First #TODO maleFirstNames: CP14_Names_Dwarf_Male_First #TODO
femaleFirstNames: CP14_Names_Dwarf_Female_First #TODO femaleFirstNames: CP14_Names_Dwarf_Female_First #TODO
lastNames: CP14_Names_Dwarf_Last #TODO lastNames: CP14_Names_Dwarf_Last #TODO
minAge: 18
maxAge: 350
youngAge: 100
oldAge: 175
- type: speciesBaseSprites - type: speciesBaseSprites
id: CP14MobDwarfSprites id: CP14MobDwarfSprites

View File

@@ -10,6 +10,10 @@
maleFirstNames: CP14_Names_Elf_Male_First maleFirstNames: CP14_Names_Elf_Male_First
femaleFirstNames: CP14_Names_Elf_Female_First femaleFirstNames: CP14_Names_Elf_Female_First
lastNames: CP14_Names_Elf_Last lastNames: CP14_Names_Elf_Last
minAge: 18
maxAge: 900
youngAge: 100
oldAge: 700
- type: speciesBaseSprites - type: speciesBaseSprites
id: CP14MobElfSprites id: CP14MobElfSprites

View File

@@ -11,6 +11,10 @@
maleFirstNames: CP14_Names_Goblin_Male_First maleFirstNames: CP14_Names_Goblin_Male_First
femaleFirstNames: CP14_Names_Goblin_Female_First femaleFirstNames: CP14_Names_Goblin_Female_First
naming: First naming: First
minAge: 18
maxAge: 70
youngAge: 25
oldAge: 55
- type: speciesBaseSprites - type: speciesBaseSprites
id: CP14MobGoblinSprites id: CP14MobGoblinSprites

View File

@@ -11,6 +11,10 @@
maleFirstNames: CP14_Names_Silva_Male_First maleFirstNames: CP14_Names_Silva_Male_First
femaleFirstNames: CP14_Names_Silva_Female_First femaleFirstNames: CP14_Names_Silva_Female_First
naming: First naming: First
minAge: 18
maxAge: 500
youngAge: 100
oldAge: 300
- type: speciesBaseSprites - type: speciesBaseSprites
id: CP14MobSilvaSprites id: CP14MobSilvaSprites

View File

@@ -10,6 +10,10 @@
maleFirstNames: CP14_Names_Tiefling_Male_First maleFirstNames: CP14_Names_Tiefling_Male_First
femaleFirstNames: CP14_Names_Tiefling_Female_First femaleFirstNames: CP14_Names_Tiefling_Female_First
lastNames: CP14_Names_Tiefling_Last lastNames: CP14_Names_Tiefling_Last
minAge: 18
maxAge: 120
youngAge: 50
oldAge: 80
# The lack of a layer means that # The lack of a layer means that
# this person cannot have round-start anything # this person cannot have round-start anything