Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bot Facelift - ability to show emojis / symbols on bot's screen outside of the editor #86

Open
Marutzo opened this issue Dec 15, 2023 · 0 comments

Comments

@Marutzo
Copy link

Marutzo commented Dec 15, 2023

Bots can already display StarDew Valley's in-game emojis and colored text through the command:
world.chat "[color] text [1] emoji"

Emojis & Chat Colors

Stardew Valley has its own full list of emojis for you to use within the game’s chat system, and allows for coloring of specific lines of text in case you’d like to send a message with a certain color, but not have your text be that color permanently.

Changing color of a single text line
Follow this format to color lines of chat: [color]text

For example: “[red]Stardew Valley is awesome!
Displays in the chat as: “Stardew Valley is awesome!“
Use the /color-list command to view all available colors.

Using Emojis in chat

Entering Emojis into your chat is fairly straightforward, there are a total of 195 to use, and all you need to do is enter the number of the emoji you want to use inside some brackets so like: [1] There are [2] lots of emojis [3] in this [4] sentence.

For the player /color sets default text color, this means a player will always output text in the chosen color until a new one is selected.
Sadly I couldn't get this to work with bots for some reason but [color] worked well enough. Sets the color for one line only tho!
That means you have to break chat messages into 70 char strings (one chat line). Or actually it's 70 char limit - robot name - color name

tiny version
alpha background
numbered grid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant