Guest User

Untitled

a guest
May 29th, 2015
286
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Custom Category Settings - for advanced users only.
  2.   # With these options, you can create your own custom categories and define
  3.   # what each list contains, what each object displays, etc.
  4.  
  5.   CUSTOM = [] # Do not touch.
  6.   KEYS = [] # Do not touch.
  7.   DESCRIPTION = [] # Do not touch.
  8.  
  9.   # Description text shown in the information window of custom categories.
  10.  
  11. ##################################################################################################################################
  12. #Deathsia: Okay so you can see what I did below, now as far how I did this...it's gonna be a lot harder to explain but I'll do my best.
  13. #Following the scripts instructions, I tried to add my own custom category but ended up failing over and over with script errors but
  14. #then it occurred to me to merely edit the existing custom keys instead of adding new ones.
  15. #Another thing to note is that despite the fact that each number next to "Desciption" and "KEY" has a number next to it in a [], they do
  16. #NOT actually appear as such in the encyclopedia itself! I'm not sure of the details here but my best guess is that the numbers directly #next to these things are merely placeholders to keep the code organized. Though for safety's sake, I wouldn't remove them since they #most likely have an alternate function I have not yet figured out.
  17. #What DOES control this order however is the number that appears just after the "=" just before the text I input.
  18. # At the moment, I'm actually digging myself a hole as it were with my setup. I plan to go back and clean up the order but I'm getting
  19. #ahead of myself here!
  20. #Okay so one thing you need to know is that the number next to the descriptions and the number next to the keys MUST BE the same
  21. #but you CAN NOT number them out of order as far as I know without causing problems.
  22. #The Tricky part numbering the descriptions and keys in an order so that you can add keys and descriptions as you go along in making
  23. #your game.
  24. #How does this affect the order you ask? Well you'll notice in the KEYS section I've added the label :friends on one key and :Story
  25. #on the other, the order of which they appear in your keys list is the order in which they appear in the game's encyclopedia.
  26. # You will also need to rename the category's in the list above in the code I did not include in this snippet.
  27. #The list where you need to rename is located on line 159 in my script though it may be different in yours.
  28. #Basically just rename the custom categories to the keys you renamed the custom categories below where I've marked with a commented out
  29. #section to show you.
  30. #
  31. ###################################################################################################################################
  32.  
  33.   #DESCRIPTION[x] = [x,["Descriptive Text","Seperate lines with commas!"]]
  34.   # the first value before the text lines is the ID of the description.
  35.   # For example, DESCRIPTION[2838] = [2838,["text","here"]]
  36.   DESCRIPTION[0] = [0,["","Who would have guessed that","Applejack was leader material?","Regardless, she has her hooves","full with this rebellion."]]
  37.   DESCRIPTION[1] = [1,["","I never knew that Rainbow Dash","had such a mistrusting and","even dark side to her...","","Still, while she may not trust me,","I'll show her that she can","soon enough."]]
  38.   DESCRIPTION[2] = [2,["","I want to trust Pinkie but","I can't help but wonder where","her true loyalties lie..."]]
  39.   DESCRIPTION[3] = [3,["","I don't know much about Rarity","right now."]]
  40.   DESCRIPTION[4] = [4,["","Still as shy as I remember her","always being but I don't know","much about her right now."]]
  41.   ###Story###
  42.   DESCRIPTION[5] = [5,["","Where to begin?","As far as I can tell,","No pony knows who I am,","Applejack is the leader of a","rebellion aginst Nightmare Moon,","and to make matters worse,","I was forced to kill somepony","Today! I've never done that before","and really don't want to do","it again..."]]
  43.   DESCRIPTION[6] = [6,["","I don't like this at all!","Is Applejack TRYING to kill me?!","She's sending me out to Canterlot,","which I can only assume is","Nightmare Moon's Headqaurters!","If she is the one behind this,","then I may as well be dead."]]
  44.  
  45.   # KEYS[x] = [Name, image path, description array, key, id, custom text 1,
  46.   # custom text 2]
  47.   # image path is relative to the main project folder. Set to nil if not using.
  48.   # the key determines which custom category this object will be shown in, it
  49.   # MUST match one of the custom categories' keys.
  50.   # id is the ID of the array, KEYS[0] has id of 0, KEYS[1] has id of 1, etc.
  51.   # custom texts are short strings shown next to the image at the top, if not
  52.   # using set to ""
  53.   #
  54.   # Comment out or Delete these if not using!
  55.   KEYS[0] = ["Applejack","Graphics/Encyclopedia/Applejack.png",DESCRIPTION[0],
  56.   :friends,0,"Location: Ponyville","Spiece: Earth Pony"]
  57.  
  58.   KEYS[1] = ["Rainbow Dash","Graphics/Encyclopedia/RD.png",DESCRIPTION[1],
  59.   :friends,1,"Location: Ponyville","Spiece: Pegasus"]
  60.  
  61.   KEYS[2] = ["Pinkie Pie","Graphics/Encyclopedia/Pinkie.png",DESCRIPTION[2],
  62.   :friends,2,"Location: Ponyville","Spiece: Earth Pony"]
  63.  
  64.   KEYS[3] = ["Rarity","Graphics/Encyclopedia/Rarity.png",DESCRIPTION[3],
  65.   :friends,3,"Location: Ponyville","Spiece: Unicorn"]
  66.  
  67.   KEYS[4] = ["Fluttershy","Graphics/Encyclopedia/Fluttershy.png",DESCRIPTION[4],
  68.   :friends,4,"Location: Ponyville","Spiece: Pegasus"]
  69.  
  70.   ###Story###
  71.  
  72.   KEYS[5] = ["Entry 1",nil,DESCRIPTION[5],
  73.   :story,5,"Feeling: Sad and Confused","Date: No bucking idea!"]
  74.  
  75.   KEYS[6] = ["Entry 2",nil,DESCRIPTION[6],
  76.   :story,6,"Feeling: Worried","Date: Still no idea!"]
  77.  
  78.  
  79.   # CUSTOM[x] = [Category Name, key, text for unknown description]
  80.   # The key determines which KEYS will be shown in each category; their keys
  81.   # MUST match!
  82.   #
  83.   # Comment out or Delete these if not using!
  84.   CUSTOM[0] = ["Friends",:friends,"Friendship"]#<--- See this? I merely just renamed this key the category name I wanted it to be.
  85.   CUSTOM[1] = ["Journal",:story,"Journal Entry"]#<---Same Here.
RAW Paste Data