Skip to content

convert dialogue into formatted bbcode + html for use on mspfa the website

Notifications You must be signed in to change notification settings

huckleton/MSPFA-QuickDialogueWriter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MSPFA-QuickDialogueWriter

convert dialogue into formatted bbcode + html for use on mspfa the website

how to use this

add characters

edit names.json with new characters under a key. the key is what you use for their "name" in the dialogue

all of the possible tags are included in the "_EXAMPLE" character.. study them

also html/bbcode tags accept attributes. like if you type b style='color:red' into a html tag string it will actually style like that.

write dialogue

names are defined before a colon (:). so if you type _EXAMPLE: fart poo poo then "_EXAMPLE" will be the name of the character.

the character's name should ideally match a key in the characters json file, not the actual display name of the character. if it doesn't, no biggie - it just won't add fancy bbcode to it

for the properties in the characters json file:

  • "name" affects name
  • "speech" affects the words the character is saying
  • "dialogue" encompasses the whole thing

generate dialogue

  1. have nodejs installed
  2. download the contents of this repo into its own folder
  3. type "CMD" into the explorer address bar with the folder containing this code in
  4. type "node write" into node
  5. output file is created in the same folder

to-do when motivated

  • text replacements a la mxrp, for troll quirks
  • invisible but still-screen readable names. you can do it manually but not everyone knows how to

About

convert dialogue into formatted bbcode + html for use on mspfa the website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published