Advertisement
Ancurio

lang_data.spec

Apr 3rd, 2015
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. How to read this:
  2. a := b "a consists of b"
  3. c[] "an array of c objects"
  4. [a, b] "an array containing an a and b object"
  5.  
  6. map_data_ary := map_data[] (indexed by map id)
  7. map_data := event_data[] (indexed by event id)
  8. event_data := list_data[] or nil (indexed by page index)
  9. list_data := [text_data, choice_data, substitute] or nil
  10. text_data := text_block[]
  11. text_block := RPG::EventCommand[]
  12. choice_data := RPG::EventCommand[]
  13. substitute := RPG::EventCommand[]
  14.  
  15. ce_data_ary := list_data[] (indexed by common event id)
  16.  
  17. item_data := RPG::Item[] (raw contents of Items.rxdata)
  18.  
  19. --------------------------------
  20.  
  21. lang_data = {
  22. :map_data_ary => map_data_ary,
  23. :ce_data_ary => ce_data_ary,
  24. :items => item_data
  25. }
  26.  
  27. lang.rxdata is a Marshal.dump'd lang_data hash.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement