Learn About Quests
Let's learn about quests! In the bottom left of Godot you'll see the FileSystem browser. Open the res://quests/
folder, and you'll see two quest files, myModQuestStart.gd
and mymodQuestEnd.gd
. Let's open myModQuestStart.gd
.
info
Because you don't have access to the raw Queen's Brothel files, you will see errors when writing code. You can ignore them. If the errors become annoying, you can open the .gd files using an external text editor, not attached to Godot.
extends Quest
func _init():
id = "myModQuestStart"
dialogueID = "myModQuestStart"
name = "My Mod Quest"
description = "The start to my mod's quest."
mapKey = "MayorsOffice"
location = "Easthollow Town"
parent = "newGame"
This is a quest file. You'll notice some variables are easy to understand, like id
, name
, and description
. When
you create quests, all of the above variables are important to have. For now, let's have fun and change the description
to: "The Mayor has something important for Queen to do!"
The description line should now look like this:
description = "The Mayor has something important for Queen to do!"
Try opening the other quest file, myModQuestEnd.gd
and changing the description for that one
to: "Queen has to help find the Mayor's cat, Bubbles!"
After you're done, let's move onto changing dialogue!