Text input

**Text input** allows you to enter your own pieces of text and use them inside the game. This feature is available in several places in the game.

## List of inputs

* Names are kept in the records in the Town Hall basement (floor B1), and can be changed by talking to the Chief Name Officer there for 1000 coins. The first letter of every word will be capitalized.
	+ Sasquatch's legal name is first asked when being hired into the R Corp. The default is "Hank". The maximum length is 16 symbols.
	+ Dog's name is assigned when adopting it. The default is "Huey". The maximum length is 24 symbols.
	+ Ferry name can be changed for free after completing 15 trips as a captain. The default is random in every game. The maximum length is 24 symbols.
	+ Friends can be renamed by bringing them into the Town Hall basement after reaching the full friendship level with them. Their default names are not personal names, but their occupation. The maximum length is 20 symbols.
* Newspaper allows you to write headlines, and add photos with captions, after completing all Newspaper Photo Requests. Talk to the Printing Operator to do this. The headline is rendered in all caps, and the first letter of each word in the caption is capitalized. The maximum length for the headline and for the caption is the same: 80 symbols.
* In Automotive Customs, some decals for your vehicles include custom text. There are a side text decal, a hood text decal, and two racing numbers, side and hood. Note that racing numbers allow any text, not only digits. The first letter of each word is capitalized. The default for text decals is "Custom Text", and for racing numbers it's "88". The maximum length for each decal is 20 symbols.
* At the Island Campground, the Reception Shelter has a customizable sign. The maximum length is 20 symbols. The first letter of each word is capitalized on input. The default is empty (rendered as "CAMPGROUND").
* Billboard have two slots for entering text, top and bottom. The maximum length for each is 64 symbols. The texts are rendered in bold.
* Town customization, available after you become a Mayor, allows you to change the text on the signs of the buildings in the Town. Note that the default text is often rendered in a more elaborate font (this is particularly obvious at the Diner). The first letter of each word is capitalized on input. Most, but not all, signs render the text in all caps (see below)
	+ Town Hall: The maximum length is 32 symbols. The default is "TOWN HALL". The text is rendered in all caps.
	+ Bank: The maximum length is 64 symbols. The default is "BANK". The text is rendered in all caps.
	+ Apartment: The maximum length is 64 symbols. The default is "APARTMENTS FOR RENT". The text is rendered in all caps.
	+ Clothing Store: The maximum length is 64 symbols. The default is "Clothing".
	+ Arcade: The maximum length is 16 symbols. The default is "ARCADE". The text is rendered in all caps.
	+ Supermarket: The maximum length is 64 symbols. The default is "SUPERMARKET". The text is rendered in all caps.
	+ Gas Station: The maximum length is 64 symbols. The default is "Snack Shop" (rendered as "Stop & Snack" due to a bug).
	+ Newspaper: The maximum length is 64 symbols. The default is "The Newspaper".
	+ Police Station: The maximum length is 64 symbols. The default is "POLICE". The text is rendered in all caps.
	+ Diner: The maximum length is 64 symbols. The default is "Diner".
* Mayor Outfit sash can be customized by talking to Executive Assistant on the top floor of the Town Hall. The first letter of each word is capitalized. The default is "MAYOR". The maximum length is 64 symbols.

## Profanity filter

The game detects when you enter a bad word. The filter is very simple, so it is triggered even if the bad word is a part of another word; for example "raccoon" is considered a bad word because it contains "coon".

The full list of censored words is available to download by the link in the reference.

### Trivia

* Somewhat surprisingly, the word "poop" is considered bad despite it being used in a name of an in-game item.
* As a small Easter egg, the word "Pemberton" is considered bad too.

### Limitations

The treatment of bad words depends on where you enter them.

These inputs allow to use bad words for free:

* You can use profanity in Sasquatch, Dog, and Ferry names without any trouble. The Chief Name Officer will notice that it's a "spicy name", but will update your records anyway.
* You can publish profanities in the Newspaper. The Printing Operator mentions that it's probably not allowed, but says that you are the boss.
* Automotive customs allow obscene decal texts without any warning.

These inputs allow to use bad words for a price:

* If you try to give your friend an offensive name, they’ll ask for 1 million coins. After several questions to confirm your intent, you can pay the friend for the renaming. This sometimes may prevent you from giving your friend back their original name. For example, “Arcade Associate” is considered offensive because it contains “Ass”.

These inputs block bad words completely:

* If you try to put a profanity on the Reception Shelter, a Billboard, a Town building sign, or the Mayor Outfit sash, it says "Bad word detected!", and the save button disappears.

## Emojis and foreign symbols

On iOS, the emoji keyboard is blocked when entering the text. On macOS, the emojis can be entered, but they are rendered in a single color silhouette version.

The additional keyboards for other languages are also blocked on iOS, so you can only enter the symbols from your main language. There's no such limitation on macOS.

## Styling with rich text tags

All texts can be customized with HTML-like Rich Text markup (like italics, line breaks, etc.) Note that this feature is not documented in the game, and may be changed or removed by the developers at any time.

If the input capitalizes the first letters of the words, the capitalized tag may be not recognized by the engine. In that case thy entering the tag in all caps.

Note that the game applies various styles to the text inputs after those you entered explicitly, and they may override yours. For example, the billboard texts are bold by default, so <b> doesn't change anything. But it has a noticeable effect on the Clothing Store sign.

### Syntax

* Tags are enclosed in angular brackets.
* Some tags are paired, so there are an opening tag and a closing tag. Only the text between them is affected. For example, such tags may change the text color or make it italics.
	+ The opening tag contains the tag name and, for some tags, the parameters.
	+ The closing tag contains the tag name with a slash before it.
	+ If there is no closing tag, the effect continues until the end of the input, or until replaced by another mutually exclusive tag.
* Some tags are singular, so there's only one tag (with the tag name and, sometimes, the parameters). There's no matching closing tag. For example, the line break is a singular tag.

### List of tags

align
Change the text’s horizontal alignment. The supported values are: left, center, right, justified, flush. (The center alignment is default on billboards. With "justified", all lines except the last are stretched to fill the width, and the last one is aligned left. With "flush", the last line is stretched too.)
<align="left">Left-aligned</align><align="right">Right-aligned</align><align="justified">Justified text is stretched through the page</align><align="flush">Flush text has all line justified to the width</align>
allcaps
uppercase
Convert text to uppercase.
<allcaps>Alice and Bob watched TV.</allcaps>
or
<uppercase>Alice and Bob watched TV.</uppercase>
alpha
Change text opacity. It works with hexadecimal values.
<alpha=#FF>FF <alpha=#CC>CC <alpha=#AA>AA <alpha=#88>88 <alpha=#66>66 <alpha=#44>44 <alpha=#22>22 <alpha=#00>00
b
Render text in boldface. (Does nothing on billboards - the text is already bold.)
The fox jumps over the <b>lazy dog</b>
br
Forces a line break in text.
Break the line here <br> New line starts
color
Change text color or color and opacity. It supports color names and hexadecimal values. If you apply successive tags in the same text, the last one takes precedence over the others until you either add another tag or use a closing tag to end the current color’s scope.
<color="red">Red <color=#005500>Dark Green <#0000FF>Blue <color=#FF000088>Semitransparent Red
cspace
Change spacing between characters, either absolute or relative to the original font Asset. Use pixels or font units. Positive adjustments push the characters apart, negative adjustments pull them together.
<cspace=1em>Spacing</cspace> is just as important as <cspace=-0.5em>timing.
i
Render text in italics.
The <i>quick brown fox</i>
indent
Indent all text between the tag and the next hard line break. Use this tag to create text patterns, such as bullet points, that work with word-wrapping. Specify indentation in pixels, font units, or percentages.
<indent=15%>It is useful for things like bullet points.</indent>
line-height
Modify the line height relative to the default line height specified in the font Asset. Specify the line height in pixels, font units, or percentages.
<line-height=50%>Line height at 50% - lines are vertically close<line-height=50%>Line height at 150% - lines are vertically far
line-indent
Indent the first line after every hard line break. New lines created by word-wrapping are not indented.
<align=left><line-indent=50%>First line is indented<br>Second
lowercase
Convert text to lowercase.
<lowercase>Alice and Bob watched TV.</lowercase>
margin
margin-left
margin-right
Set the text horizontal margins. If you only want to adjust the left or right margin, you can use the <margin-left> or <margin-right> tag. Specify the margins in pixels, font units, and percentages. Negative values have no effect.
<margin=32em>This text has really wide margins<margin=32em>This text has wide left margin<margin=32em>This text has wide right margin
mark
Highlight the text with a colored overlay. The overlay must be translucent (alpha less than 1) for the text to show through.
Text <mark=#ffff00aa>can be marked with</mark> an overlay.
mspace
Override a font’s character spacing and turn it into a monospace font.
Any font can become <mspace=2.75em>narrow monospace
nobr
Keep a segment of text together.
You don't want <nobr>I M P O R T A N T</nobr> things to be broken up.
noparse
Prevent parsing of rich text tags. **Note:** this tag is affected by the profanity filter because it contains "arse", so it can't be used on billboards.
Use <NOPARSE><I></NOPARSE> For <I>Italic</I> Text.
pos
Set the horizontal caret position on the current line. Specify the horizontal position in pixels, font units, or percentages.
at <pos=75%>75%
rotate
Rotates each character about its center. Specify the amount of rotation in degrees. Positive values rotate characters counter-clockwise. Negative values rotate them clockwise. Rotation affects the spacing between characters, and might cause characters to overlap in some cases. Use the <cspace> tag to correct character spacing as needed.
Rotate text <rotate="45">counter-clockwise</rotate>Rotate text <rotate="-45">clockwise</rotate>
s
Render a line across the text.
The
quick brown
 fox
size
Adjusts the font size. Specify the new size in pixels, font units, or percentage. Pixel adjustments can be absolute (such as 5px) or relative (such as +1 or -1). Relative sizes are based on the original font size, so they’re not cumulative. (Note: if the text size is too big (more than 144 pixels), it may disappear. If the size is negative, the text is drawn outside of the border, upside down.)
<size=100%>Echo <size=80%>Echo <size=60%>Echo <size=40%>Echo <size=20%>Echo<size=200%>Large text<size=-150>Test
smallcaps
Use smaller versions of capital letters instead of normal lowercase letters.
<smallcaps>Alice and Bob watched TV.
space
Add a horizontal offset between itself and the rest of the text. Specify the offset in pixels or font units.
Give me some <space=5em> space
sprite
Add a sprite from a sprite asset into your text. Sprites discovered so far: 0 - coin, 1 - arcade ticket, 2 - bank icon, 3 - right arrow, 4 - clock.
<sprite=0><sprite=1><sprite=2><sprite=3><sprite=4>
style
Apply a custom style to the text. Styles discovered so far: H1 - very large, green, surrounded by asterisks (the asterisk in the end requires a closing tag); H2 - large, blue; H3 - slightly larger than normal text, orange.
<style="H1">Style H1</style><style="H2">Style H2</style><style="H3">Style H3</style>
sub
Convert the text to subscript.
sup
Convert the text to superscript.
We have 1m<sup>3</sup> of H<sub>2</sub>O.
u
Underline the text.
<u>The lazy dog</u>
voffset
Give the baseline a vertical offset. Specify the offset in pixels or font units. The offset is always relative to the original baseline.
Normal <voffset=8em>up <voffset=-8em>down
width
Change the horizontal size of text area.
<width=60%>Those days are long gone</width>
### Tags which don't work

The following tags are unsupported and are rendered as plain text:

* a - Define a hyperlink.
* font - Change text font.
* gradient - Apply a color gradient to text.
* strikethrough - Draws a line slightly above the baseline so it crosses out the text. (Same as "s" tag.)

These tags are rendered normally, but seem to have no effect:

* font-weight - Change the text’s font weight to any of the weights defined in the font Asset.

## Ads

Publishing phone numbers in the Newspaper and billboards works as advertising. Currently only the Island Campground and the Spaghetti Hotline can be permanently advertised. (Tip: You can advertise 2 phone numbers on 1 billboard, so you don’t need to pay for 2 separate billboards). You also have to advertise your Election Headquarters during Storyline chapter 4.

## References

1. ↑ all sneaky sasquatch badwords as of 1.9.10.zip on GitHub
2. ↑ Need to lose money quick? Rename a friend! on Reddit
3. ↑ Style text with rich text tags - Unity 2021.3 Manual
4. ↑ Supported rich text tags - Unity 2021.3 Manual