Create a folder for easy access to the .lua speech files.
The files are in the scripts
folder which should be located in the
...\Steam\steamapps\common\Don't Starve Together\data\databundles\
.
Either simply unzip the scripts
folder and optionally copy all files called
speech_[character].lua
to a new folder.
Or browse the zipped scripts folder and copy all files called
speech_[character].lua
to a new folder.
If you copied the speech files to a new folder or unzipped the scripts
folder,
you must do that again when a update for DST has released, otherwise the speech files might be
outdated!
Click the browse button and select all .lua speech files.
Enter a quote identifier and click the search button. Then you can click the clipboard button () to copy the quotes template and insert it in the wiki's source editor.
The quote identifier is the name of all the variables required to find a quote, separated by a
dot.
In the example below, if you wanted to get the quotes for examining/describing the multiplayer
portal, you'd have to enter describe.multiplayer_portal
.
DESCRIBE = { MULTIPLAYER_PORTAL = "Too bad it can't get us home.", MULTIPLAYER_PORTAL_MOONROCK = "This one looks way fancier... but still can't get us home.", MOONROCKIDOL = "Usually these kind of things are locked in an ancient temple guarded by a monster.", CONSTRUCTION_PLANS = "I'm good at following instructions! I have a badge for it!", ANTLION = { GENERIC = "Hi!", VERYHAPPY = "We're becoming pals already.", UNHAPPY = "It's hard to read her expression...", }, ...
You can also enter e.g. describe.antlion
to get a template that includes all quotes
for it, separated by a tabber.
Then you should also check the default tab names and maybe change them and their order.
Optionally edit the choose
parameter or add a source
parameter, as
described in the quotes template.
If you want to get the quotes for singleplayer DS or for modded characters, just select a valid
speech_[character].lua
file and it will use [character]
as the parameter in
the quotes template for that character. This might not be the correct parameter name.
Check the page source on Github.