- Joined
- Feb 23, 2013
- Messages
- 979
- Reaction score
- 80
- First Language
- English
- Primarily Uses
- RMVXA
So recently I picked back up scripting and I'm trying to build small, simple custom scripts for it. One of which is a Quest Log. Now, granted, I could use other people scripts to save time but this is a hurdle I want to cross myself. However, I cannot for the life of me figure out how to display the info in a hash from a module.
Here's my example:
Here's my example:
Code:
module QuestList
Quests = {}
Quests[:questID01] = {
:name => "Test Quest",
:description => "This is a test quest.",
}
end
[\code]
Now what I want to do from here is to move it into a class that holds the values here based on which quest id is needed. I tried to decode both Vlue and ModernAlgebra's version of a quest script, but I cannot understand how they operate. Nor could I understand the quest script from Starfield. If anyone could help me figure out the direction I want to go to from here I'd be thankful. I have a fairly intermediate working knowledge of RGSS3, not so much Ruby in and of itself, so I would also like to see what I am missing here if anything.
Thank you for all the future help!
