mirror of
https://github.com/ericaxu/gemmy.git
synced 2026-07-22 07:30:31 +00:00
✨ Add documentation
This commit is contained in:
parent
e3544e814b
commit
b0f88294c2
4 changed files with 27 additions and 2 deletions
0
docs/Adding-animation-to-plugin-details.md
Normal file
0
docs/Adding-animation-to-plugin-details.md
Normal file
0
docs/Adding-animations-to-Granite.md
Normal file
0
docs/Adding-animations-to-Granite.md
Normal file
23
docs/Adding-quotes-to-Granite.md
Normal file
23
docs/Adding-quotes-to-Granite.md
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
|
||||
# Adding quotes to Granite Plugin
|
||||
|
||||
Currently, all quotes are handled in [Quotes,ts](src/quotes/Quotes.ts).
|
||||
This file is a JSON array of objects, with each section controlling a certain character.
|
||||
|
||||
Quotes are grouped under `Base Quotes`, and individual `Character Quotes`.
|
||||
They are then grouped further by `General`, `Idle`, and `Writing Mode` quotes.
|
||||
|
||||
## Adding quotes to an existing character
|
||||
|
||||
1. Open up [Quotes.ts](src/quotes/Quotes.ts) and find the character you want to edit.
|
||||
2. Determine if you are editing a general quote, idle quote, or writing mode quote.
|
||||
3. In the section that you want to add your line to, use the following formatting to add your line:
|
||||
|
||||
```json
|
||||
`You are a background character in your own life.`,
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
## Adding a new character
|
||||
6
main.js
6
main.js
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue