Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Custom Category Settings - for advanced users only.
- # With these options, you can create your own custom categories and define
- # what each list contains, what each object displays, etc.
- CUSTOM = [] # Do not touch.
- KEYS = [] # Do not touch.
- DESCRIPTION = [] # Do not touch.
- # Description text shown in the information window of custom categories.
- ##################################################################################################################################
- #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.
- #Following the scripts instructions, I tried to add my own custom category but ended up failing over and over with script errors but
- #then it occurred to me to merely edit the existing custom keys instead of adding new ones.
- #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
- #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.
- #What DOES control this order however is the number that appears just after the "=" just before the text I input.
- # 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
- #ahead of myself here!
- #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
- #but you CAN NOT number them out of order as far as I know without causing problems.
- #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
- #your game.
- #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
- #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.
- # You will also need to rename the category's in the list above in the code I did not include in this snippet.
- #The list where you need to rename is located on line 159 in my script though it may be different in yours.
- #Basically just rename the custom categories to the keys you renamed the custom categories below where I've marked with a commented out
- #section to show you.
- #
- ###################################################################################################################################
- #DESCRIPTION[x] = [x,["Descriptive Text","Seperate lines with commas!"]]
- # the first value before the text lines is the ID of the description.
- # For example, DESCRIPTION[2838] = [2838,["text","here"]]
- DESCRIPTION[0] = [0,["","Who would have guessed that","Applejack was leader material?","Regardless, she has her hooves","full with this rebellion."]]
- 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."]]
- DESCRIPTION[2] = [2,["","I want to trust Pinkie but","I can't help but wonder where","her true loyalties lie..."]]
- DESCRIPTION[3] = [3,["","I don't know much about Rarity","right now."]]
- DESCRIPTION[4] = [4,["","Still as shy as I remember her","always being but I don't know","much about her right now."]]
- ###Story###
- 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..."]]
- 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."]]
- # KEYS[x] = [Name, image path, description array, key, id, custom text 1,
- # custom text 2]
- # image path is relative to the main project folder. Set to nil if not using.
- # the key determines which custom category this object will be shown in, it
- # MUST match one of the custom categories' keys.
- # id is the ID of the array, KEYS[0] has id of 0, KEYS[1] has id of 1, etc.
- # custom texts are short strings shown next to the image at the top, if not
- # using set to ""
- #
- # Comment out or Delete these if not using!
- KEYS[0] = ["Applejack","Graphics/Encyclopedia/Applejack.png",DESCRIPTION[0],
- :friends,0,"Location: Ponyville","Spiece: Earth Pony"]
- KEYS[1] = ["Rainbow Dash","Graphics/Encyclopedia/RD.png",DESCRIPTION[1],
- :friends,1,"Location: Ponyville","Spiece: Pegasus"]
- KEYS[2] = ["Pinkie Pie","Graphics/Encyclopedia/Pinkie.png",DESCRIPTION[2],
- :friends,2,"Location: Ponyville","Spiece: Earth Pony"]
- KEYS[3] = ["Rarity","Graphics/Encyclopedia/Rarity.png",DESCRIPTION[3],
- :friends,3,"Location: Ponyville","Spiece: Unicorn"]
- KEYS[4] = ["Fluttershy","Graphics/Encyclopedia/Fluttershy.png",DESCRIPTION[4],
- :friends,4,"Location: Ponyville","Spiece: Pegasus"]
- ###Story###
- KEYS[5] = ["Entry 1",nil,DESCRIPTION[5],
- :story,5,"Feeling: Sad and Confused","Date: No bucking idea!"]
- KEYS[6] = ["Entry 2",nil,DESCRIPTION[6],
- :story,6,"Feeling: Worried","Date: Still no idea!"]
- # CUSTOM[x] = [Category Name, key, text for unknown description]
- # The key determines which KEYS will be shown in each category; their keys
- # MUST match!
- #
- # Comment out or Delete these if not using!
- CUSTOM[0] = ["Friends",:friends,"Friendship"]#<--- See this? I merely just renamed this key the category name I wanted it to be.
- CUSTOM[1] = ["Journal",:story,"Journal Entry"]#<---Same Here.
RAW Paste Data