Phone Number System
This system allows you to customize how phone numbers are generated and formatted within your game world. It's a great tool for world-building, allowing you to create distinct number styles for different regions, factions, or corporations (e.g., standard civilian numbers, special military formats, untraceable burner phone numbers).
How to Access Phone Number System Settings:
There are two ways to access this configuration panel:
- Method 1 (Main Settings):
- Go to the main Foundry VTT Configure Settings menu (⚙️).
- Navigate to the Module Settings tab.
- Find "Smartphone Widget" in the list and click the button labeled "Phone System Settings."
- Method 2 (In-App Shortcut):
- As the GM, open your Smartphone Widget (📱).
- Navigate to the Settings app (⚙️).
- In the "GM Only" section, tap on "Phone System Settings."
Main Configuration Screen:
On this screen, you will see a list of all defined phone number "patterns."
- Pattern List: Each entry represents a unique format for generating phone numbers.
- Enable/Disable Checkbox: Only patterns with a checkmark next to them will be used when the system automatically generates a new phone number (e.g., when creating a new phone for an Actor). You must have at least one pattern enabled.
- Edit Button (✏️): Modify an existing pattern's format and details.
- Delete Button (🗑️): Permanently remove a pattern. Be cautious when deleting patterns that are currently in use.
- Add New Pattern: A button at the bottom allows you to create a completely new format from scratch.
Creating or Editing a Pattern:
When you add or edit a pattern, you can define its structure using the following fields:
- Prefix: The unique starting part of the phone number (e.g., "STD", "CORP","212" ). This must be unique for each pattern and cannot be changed after creation.
- Middle Format / Last Format: These fields define the structure of the number's segments. You can use the following special characters, which will be randomly replaced during generation:
- N: A random number (0-9)
- A: A random uppercase letter (A-Z)
- S: A random special character (!@#$%^&*)
- X: A random alphanumeric character (0-9 or A-Z)
- Any other character will be treated literally (e.g., NN-4A would result in two random numbers, a hyphen, the number 4, and a random letter).
- Separator: The single character used to separate the prefix, middle, and last parts of the number (e.g., - or #).
- Description: A simple note for yourself to remember what this pattern is for (e.g., "Standard Civilian," "Arasaka Corporate Line"). This is only visible to the GM.
Allowing Custom Phone Numbers: