Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Jaber's Quest Log v2.1.3
#1
This time I chose to use a book-like format, because it fits better with my new menu-in-the-works than the scroll thing does. The code's a lot cleaner, the quests are easier to manage and organize, and you have -complete- control over the placement of everything in the description.


Features
- Organize your quests into categories!
- Faster loading!
- Less save-bloating!
- Easier quest data organization!
- Multi-page descriptions!
- Quest-specific variables!
- Ability to change font size, color, and name!
- Ability to use icons and pictures in descriptions!
- Greater control over objectives!
- Message codes for displaying various data in your description!
- HOLY CRAP MORE CUSTOMIZATION THAN YOU'LL EVER NEED FOR ANYTHING EVER
- Probably some other stuff that I forgot!
- wakka wakka wakka
- I am a SALAD BOAT
- VROOM VROOOM
- pinecone

Changelog
v.2.1.3
Woops.
Bugfixes:
-Fixed a bug causing the quest display to refresh itself more than neccessary.
-Fixed a bug where the category title would be drawn based on all categories in the list instead of based on only active categories.
-Fixed several other bugs caused by the above problem.

v.2.1.2
Bugfixes:
-Fixed a bug where the draw text instruction types would default to the window's default font/size/color instead of the category list's default font/size/color

New stuff:
-Added support for spaces in quest variable names and in the \\s message code
-Confirm button now closes quest window when called directly to a quest (So books and stuff will behave more like a message box)
-Updated demo


Scripts
Quest Data
Quest Handling
Quest Window
Message Codes and Instruction Types

Setup
Here's a few pictures for you to use for the background:
Book graphic
First version of the book graphic in blinding white (Size is off by like 1 pixel)

And here's some crappy next/previous page pictures:
[Image: 25gqkuw.png] [Image: 20semnq.png]

Alright, onto the setup.
In Scene_Title, locate the following line:
$game_system = Game_System.new
In the default title, it should be on line 32.
Add this line right below it:
$game_system.load_quest_data

Next, stick the following anywhere below Game_Party:
Code:
class Game_Party
  
  attr_accessor :quests
  
  alias eveningguvnr initialize
  def initialize
    eveningguvnr
    @quests = Quest_List.new
  end
  
end

To call the quest window, simply use
Quest_Window.new(x, y, z, list key, selfupdate, mode)
x, y, and z are the coordinates, obviously.
Don't know what a list key is? Read the instructions below.
selfupdate and mode are optional.
If selfupdate is set to true, the window will function as it's own scene of sorts, meaning you could, say, call it from an event on the map without interrupting Scene_Map. If you don't know what that means, you'll probably want to have this set to true all the time.
mode is an array that lets you... 'skip' sections of the quest window.
Here's the various settings for it:
[0]
This is the default setting for the mode. It'll open up to the specified list.

[1, category key, headertext]
This will skip the category list and open up a category directly. 'headertext' is what will be displayed at the top of the first page. You still need to specify a list key, as it'll use that for formatting. Useful if you, say... don't want to use the category seperation feature. You'd be able to use a category as the entire quest log, if you wanted.

[2, quest key]
This will skip everything and jump right to a quest. Usefor for things like books or notes laying around.


What the crap post size limit D8
Reply }


Messages In This Thread
Jaber's Quest Log v2.1.3 - by Jaberwocky - 11-24-2009, 06:28 AM
Jaber's Quest Log v2.1.3 - by Jaberwocky - 12-11-2009, 07:41 PM
Jaber's Quest Log v2.1.3 - by Jaberwocky - 12-13-2009, 09:16 PM
Jaber's Quest Log v2.1.3 - by ShinyToyGuns - 02-21-2010, 12:02 AM
Jaber's Quest Log v2.1.3 - by ShinyToyGuns - 02-22-2010, 06:30 PM
Jaber's Quest Log v2.1.3 - by Ace - 02-22-2010, 06:46 PM
Jaber's Quest Log v2.1.3 - by ShinyToyGuns - 02-22-2010, 06:49 PM
Jaber's Quest Log v2.1.3 - by Jaberwocky - 02-22-2010, 07:41 PM
Jaber's Quest Log v2.1.3 - by mila26 - 02-22-2010, 08:29 PM
Jaber's Quest Log v2.1.3 - by Anarook - 02-23-2010, 03:11 AM
Jaber's Quest Log v2.1.3 - by ShinyToyGuns - 02-23-2010, 04:58 AM
Jaber's Quest Log v2.1.3 - by Jaberwocky - 02-23-2010, 06:03 PM
Jaber's Quest Log v2.1.3 - by sakhawat21 - 05-28-2010, 07:11 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Single Quest Title ACE kyonides 0 604 05-21-2023, 11:33 PM
Last Post: kyonides
   Queen's Quest DerVVulfman 1 4,307 10-07-2019, 04:34 AM
Last Post: DerVVulfman
   Jaberwocky's Quest Log Jaberwocky 0 5,657 09-29-2009, 04:54 AM
Last Post: Jaberwocky



Users browsing this thread: