Skip to content

Commit

Permalink
make alias docs less ambiguous maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
XeroOl committed Jul 27, 2024
1 parent 8ce370c commit 4806488
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/alias.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ title: Alias | The Mirin Template
[Back to main page](..)
# Alias
```lua
alias {'oldmodname', 'newmodname'}
alias {'modnickname', 'modinternalname'}
```
The `alias` function tells the game to treat two different mod names as the same mod name. The game will internally use the second provided name.

Arguments:

| -------------- | ---------- |
| `oldmodname: string` | The name of the mod to rename. |
| `newmodname: string` | The new name of the mod. |
| ------------------------- | ------------------------------ |
| `modnickname: string` | The name of the mod to rename. |
| `modinternalname: string` | The new name of the mod. |

Example:
```lua
Expand Down

0 comments on commit 4806488

Please sign in to comment.