Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module TT_Allegiances
- #All ages will be increased by value in this variable
- AGE_VARIABLE = 101
- #Allegiances will be stored in this variable
- ALLEGIANCES_VARIABLE = 102
- #Text to be displayed if age is unknown.
- UNKNOWN_TEXT = "???"
- end
- module DataManager
- class << self
- alias tt_allegiances_create_game_objects create_game_objects
- def create_game_objects
- tt_allegiances_create_game_objects
- $game_variables[TT_Allegiances::ALLEGIANCES_VARIABLE] = Game_Allegiances.new if $game_variables[TT_Allegiances::ALLEGIANCES_VARIABLE] == 0
- $game_variables[TT_Allegiances::ALLEGIANCES_VARIABLE] = Game_Allegiances.new unless $game_variables[TT_Allegiances::ALLEGIANCES_VARIABLE].version
- end
- end
- end
- class Game_Interpreter
- def reveal_note(name,index)
- $game_variables[TT_Allegiances::ALLEGIANCES_VARIABLE].reveal_note(name,index)
- end
- def allegiances(name)
- Allegiances(name)
- end
- def Allegiances(name)
- return $game_variables[TT_Allegiances::ALLEGIANCES_VARIABLE].data[name]
- end
- def teleport(map,x,y)
- $game_player.reserve_transfer(map, x, y, 0)
- end
- end
- class Scene_Allegiances < Scene_MenuBase
- def start
- super
- create_all_windows
- adjust_window_positions
- @catlist_window.activate
- end
- def create_all_windows
- $game_variables[TT_Allegiances::ALLEGIANCES_VARIABLE] = Game_Allegiances.new if $game_variables[TT_Allegiances::ALLEGIANCES_VARIABLE] == 0
- create_clan_window
- create_clanlabel_window
- create_catlist_window
- create_info_window
- end
- def create_clan_window
- @clan_window = Window_Clans.new(0,0)
- @clan_window.set_handler(:cancel, method(:on_category_cancel))
- @clan_window.set_handler(:ok, method(:on_category_ok))
- end
- def create_clanlabel_window
- @clanlabel_window = Window_ClanLabel.new(0,@clan_window.height)
- @clan_window.add_observing_proc(:label) { |category|
- @clanlabel_window.category = category }
- end
- def create_catlist_window
- h = @clan_window.height+@clanlabel_window.height
- @catlist_window = Window_Catlist.new(0,h,192,Graphics.height-h)
- @catlist_window.set_handler(:ok, method(:on_list_ok))
- @catlist_window.set_handler(:cancel, method(:on_list_cancel))
- @clan_window.add_observing_proc(:list) { |category|
- @catlist_window.category = category }
- end
- def create_info_window
- x = @catlist_window.width
- @info_window = Window_CatInfo.new(x,0,Graphics.width-x,Graphics.height)
- @info_window.set_handler(:ok, method(:on_data_ok))
- @info_window.set_handler(:cancel, method(:on_data_cancel))
- # @quest_data_window.quest = @catlist_window.item
- end
- def adjust_window_positions
- end
- def on_data_ok
- on_data_cancel
- end
- def on_data_cancel
- @info_window.deactivate
- @catlist_window.activate
- end
- def on_category_ok
- @catlist_window.activate
- @clan_window.deactivate
- end
- def on_category_cancel
- return_scene
- end
- def on_list_ok
- @info_window.set_item(@catlist_window.item)
- @info_window.activate
- @info_window.refresh
- @catlist_window.deactivate
- @info_window.deactivate unless @info_window.big_item?
- @catlist_window.activate unless @info_window.big_item?
- end
- def on_list_cancel
- @catlist_window.deactivate
- @clan_window.activate
- end
- def update_all_windows(*args, &block)
- @clan_window.deactivate if @clan_window &&
- QuestData::CONCURRENT_ACTIVITY && @catlist_window.active &&
- Input.trigger?(:C)
- super(*args, &block)
- @clan_window.activate if @clan_window &&
- QuestData::CONCURRENT_ACTIVITY && @catlist_window.active
- end
- end
- class Window_CatInfo < Window_Selectable
- include MAQJ_Window_QuestBase
- def initialize(x,y,w,h)
- @dest_scroll_oy = 0
- super(x,y,w,h)
- @dest_scroll_oy = self.oy
- @item = nil
- refresh
- end
- alias maqj_visible_height contents_height
- def contents_height
- @q_contents_height ? [@q_contents_height, maqj_visible_height].max : maqj_visible_height
- end
- def refresh
- contents.clear
- calc_contents_height
- create_contents
- self.oy = 0
- @dest_scroll_oy = 0
- @draw_y = 0
- return unless @item
- draw_cat_info
- end
- def set_item(item)
- @item = item
- end
- def big_item?
- calc_contents_height > (380)
- end
- def draw_cat_info
- if @item.moons_visible
- age = @item.moons+$game_variables[TT_Allegiances::AGE_VARIABLE]
- else
- age = TT_Allegiances::UNKNOWN_TEXT
- end
- draw_face(@item.file,@item.index,0,0)
- draw_icon(@item.clan_icon,width-48,0)
- draw_icon(@item.gender_icon,width-72,0)
- clear_and_draw_text(100, @draw_y, contents_width, line_height, @item.name, 0)
- clear_and_draw_text(100, @draw_y+line_height, contents_width, line_height, @item.position, 0)
- clear_and_draw_text(100, @draw_y+2*line_height, contents_width, line_height, "#{age} moons", 0)
- draw_horizontal_line(100,3)
- i = 0
- draw_notes
- end
- def draw_notes
- y = 105 + @draw_y
- @item.notes.size.times { |i|
- next unless @item.revealed_notes.member?(i)
- y = draw_note(i,y)
- }
- end
- def draw_note(i,y)
- bullet = QuestData::VOCAB[:objective_bullet]
- bullet_tw = text_size(bullet).width + 2
- buff = (objective_x*2) + bullet_tw
- paragraph = mapf_format_paragraph(@item.notes[i], contents_width - buff)
- line_num = 1 + paragraph.scan(/\n/).size
- draw_text(objective_x, y, bullet_tw, line_height, sprintf(bullet, i + 1))
- draw_text_ex(objective_x + bullet_tw, y, paragraph)
- y += (line_num*line_height)
- end
- def objective_x; line_height / 2; end
- def clear_and_draw_text(*args)
- rect = []
- while !args[0].is_a?(String) do rect.push(args.shift) end
- rect[0].is_a?(Rect) ? rect = rect[0] : rect = Rect.new(*rect)
- align = args[1] ? args[1] : 0
- ts = text_size(args[0])
- ts.width = [ts.width + 4, rect.width].min
- align == 1 ? ts.x = rect.x + ((rect.width - ts.width) / 2) :
- align == 2 ? ts.x = rect.x + rect.width - ts.width : ts.x = rect.x
- ts.y = rect.y
- contents.clear_rect(ts)
- ts.x += 2
- draw_text(ts, args[0], align)
- end
- def update(*args, &block)
- super(*args, &block)
- if open? && active && @dest_scroll_oy == self.oy
- scroll_down if Input.press?(:DOWN)
- scroll_up if Input.press?(:UP)
- end
- if self.oy != @dest_scroll_oy
- mod = (@dest_scroll_oy <=> self.oy)
- self.oy += 3*mod
- self.oy = @dest_scroll_oy if (@dest_scroll_oy <=> self.oy) != mod
- end
- end
- def scroll_down(*args, &block)
- max_oy = contents_height - maqj_visible_height
- dest = ((@dest_scroll_oy / line_height) + 1)*line_height
- @dest_scroll_oy = [dest, max_oy].min
- end
- def calc_contents_height
- @q_contents_height = 0
- return 0 unless @item
- bullet = QuestData::VOCAB[:objective_bullet]
- bullet_tw = text_size(bullet).width + 2
- buff = (objective_x*2) + bullet_tw
- lines = 0
- @item.notes.size.times { |i|
- next unless @item.revealed_notes.member?(i)
- paragraph = mapf_format_paragraph(@item.notes[i], contents_width - buff)
- lines += 1 + paragraph.scan(/\n/).size
- }
- @q_contents_height = 105 + lines * line_height
- end
- def scroll_up(*args, &block)
- dest = ((@dest_scroll_oy / line_height) - 1)*line_height
- @dest_scroll_oy = [dest, 0].max
- end
- end
- class Window_ClanLabel < Window_Base
- include MAQJ_Window_QuestBase
- def initialize(x, y, label = "")
- super(x, y, window_width, window_height)
- refresh(label)
- end
- def reset_font_settings
- set_data_font(:scene_label)
- end
- def window_width
- 192
- end
- def window_height
- line_height + (standard_padding*2)
- end
- def line_height(*args)
- line_h = super(*args)
- line_h
- end
- #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- # * Refresh
- #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- def refresh(label = @label)
- @label = label.is_a?(String) ? convert_escape_characters(label) : ""
- contents.clear
- reset_font_settings
- tw = mapf_calc_line_width(@label)
- draw_text_ex((contents_width - tw) / 2, 0, @label)
- end
- def category=(category)
- @catlist_window.category=category if @catlist_window
- return if @category == category
- @category = category
- refresh(TT_Allegiances::CATEGORY_VOCAB[category])
- end
- end
- class Window_Clans < Window_MA_IconHorzCommand
- include MAQJ_Window_QuestBase
- def initialize(x,y)
- @categories = TT_Allegiances::CATEGORIES
- super(x,y)
- end
- def window_width
- return 192
- end
- def col_max
- 5
- end
- def make_command_list
- @categories.each { |x|
- add_command("", x, false, TT_Allegiances::ICONS[x])
- }
- end
- end
- class Window_Catlist < Window_Selectable
- def initialize(x,y,width,height)
- super
- @data = []
- self.index = 0
- end
- def category=(category)
- return if @category == category
- @category = category
- refresh
- self.index = 0
- update_help if @help_window
- end
- def window_width
- return 192
- end
- def col_max
- 1
- end
- def make_item_list
- @data = $game_variables[TT_Allegiances::ALLEGIANCES_VARIABLE].data.select { |x,y|
- y.clan == TT_Allegiances::CATEGORY_VOCAB[@category]
- }
- @data = @data.values
- end
- def item_max
- if @data
- @data.size
- else
- 1
- end
- end
- def item
- if @data && index >= 0
- @data[index]
- else
- nil
- end
- end
- def enable?(item)
- true
- end
- def current_item_enabled?
- return true
- (@help_window && @help_window.maqj_visible_height < @help_window.contents_height)
- end
- def draw_item(index)
- cat = @data[index]
- if cat
- rect = item_rect_for_text(index)
- # change_color(quest_name_colour(cat), enable?(quest))
- draw_text(rect, cat.name)
- end
- end
- def refresh
- make_item_list
- create_contents
- # set_data_font(:list)
- draw_all_items
- end
- end
- class Game_Allegiances
- attr_accessor :data
- attr_reader :version
- def initialize
- @data = Hash.new
- @version = 2
- end
- def add(name,file=nil,index=nil)
- name = TT_Allegiances.aliases(name)
- return if @data[name]
- cat = Game_Allegiance_Cat.new(name)
- return unless cat.exist?
- if file
- return unless $game_message.face_name == cat.file
- end
- if index
- return unless $game_message.face_index == cat.index
- end
- @data[name] = cat
- end
- def reveal_note(name,id)
- name = TT_Allegiances.aliases(name)
- add(name)
- @data[name].revealed_notes.push(id) unless @data[name].revealed_notes.member?(id)
- end
- end
- class Game_Allegiance_Cat
- attr_accessor :name
- attr_accessor :position
- attr_reader :file
- attr_reader :index
- attr_reader :notes
- attr_accessor :revealed_notes
- attr_accessor :obsolete_notes
- attr_accessor :clan
- attr_accessor :clan_icon
- attr_accessor :gender_icon
- attr_accessor :moons
- attr_accessor :moons_visible
- def initialize(name)
- data = TT_Allegiances.cats(name)
- return unless data
- @name = data[:name]
- @gender_icon = data[:gender_icon]
- @clan_icon = data[:clan_icon]
- @clan = data[:clan]
- @index = data[:index]
- @file = data[:file]
- @position = data[:position]
- @notes = data[:notes]
- @moons = data[:moons]
- @moons_visible = data[:moons_visible]
- @revealed_notes = data[:revealed_notes]
- @obsolete_notes = []
- end
- def exist?
- return @name
- end
- end
- module TT_Allegiances
- #All ages will be increased by value in this variable
- AGE_VARIABLE = 101
- UNKNOWN_TEXT = "???"
- CATEGORIES = [:ThunderClan,:ShadowClan,:RiverClan,:WindClan,:Others]
- CATEGORY_VOCAB = {
- :ThunderClan => "ThunderClan",
- :ShadowClan => "ShadowClan",
- :RiverClan => "RiverClan",
- :WindClan => "WindClan",
- :Others => "Others"
- }
- ICONS = {
- :ThunderClan => 560,
- :ShadowClan => 563,
- :RiverClan => 562,
- :WindClan => 561,
- :Others => 576
- }
- def self.aliases(name)
- case name
- when "Nettleclaw"
- return "Nettlepaw"
- when "Eaglepaw"
- return "Eaglekit"
- when "Nightpaw"
- return "Nightkit"
- end
- return name
- end
- def self.cats(name)
- cat = Hash.new
- cat[:moons] = 0
- cat[:moons_visible] = false
- cat[:notes] = []
- cat[:revealed_notes] = []
- name = aliases(name)
- case name
- ##################################################################
- # THUNDERCLAN
- ##################################################################
- when "Briarstar"
- cat[:name] = "Briarstar"
- cat[:position] = "Leader"
- cat[:file] = "Spiritual"
- cat[:index] = 7
- cat[:clan] = "ThunderClan"
- cat[:gender_icon] = 567
- cat[:clan_icon] = 560
- cat[:moons] = 900
- cat[:notes][0] = "Older than Mosstail."
- cat[:notes][1] = "Hates apprentices jumping up to his den."
- cat[:notes][2] = "Once defeated by an apprentice."
- cat[:notes][3] = "Likes to be careful"
- cat[:notes][4] = "Not very tasty."
- when "Amberflame"
- cat[:name] = "Amberflame"
- cat[:position] = "Warrior"
- cat[:file] = "People1"
- cat[:index] = 5
- cat[:clan] = "ThunderClan"
- cat[:gender_icon] = 566
- cat[:clan_icon] = 560
- cat[:revealed_notes] = [0]
- cat[:notes][0] = "Duskpaw's mentor."
- cat[:notes][1] = "Member of the Doves."
- cat[:notes][2] = "Acquainted with Redpelt."
- when "Galeflower"
- cat[:name] = "Galeflower"
- cat[:position] = "Warrior"
- cat[:file] = "People3"
- cat[:index] = 1
- cat[:clan] = "ThunderClan"
- cat[:gender_icon] = 567
- cat[:clan_icon] = 560
- cat[:revealed_notes] = [0]
- cat[:notes][0] = "Kestrelpaw's mentor."
- cat[:notes][1] = "Has a rivalry with Antwhisker."
- cat[:notes][2] = "Member of the Doves."
- when "Waspwing"
- cat[:name] = "Waspwing"
- cat[:position] = "Warrior"
- cat[:file] = "Actor1"
- cat[:index] = 6
- cat[:clan] = "ThunderClan"
- cat[:gender_icon] = 567
- cat[:clan_icon] = 560
- cat[:revealed_notes] = [0]
- cat[:notes][0] = "Nettlepaw's mentor."
- cat[:notes][1] = "Strongest warrior in ThunderClan."
- cat[:notes][2] = "Member of the Hawks."
- when "Thrushfeather"
- cat[:name] = "Thrushfeather"
- cat[:position] = "Warrior"
- cat[:file] = "Actor4"
- cat[:index] = 3
- cat[:clan] = "ThunderClan"
- cat[:gender_icon] = 566
- cat[:clan_icon] = 560
- cat[:revealed_notes] = [0,1]
- cat[:notes][0] = "Your mentor."
- cat[:notes][1] = "Nettlepaw's mother."
- cat[:notes][2] = "Member of the Hawks."
- cat[:notes][3] = "Mosstail's daughter."
- cat[:notes][4] = "Olivetail's sister."
- cat[:notes][5] = "Thornstep's sister."
- cat[:notes][6] = "Former friend of Ravenwing."
- cat[:notes][7] = "Don't call her 'Thrush'."
- when "Antwhisker"
- cat[:name] = "Antwhisker"
- cat[:position] = "Warrior"
- cat[:file] = "Actor1"
- cat[:index] = 2
- cat[:clan] = "ThunderClan"
- cat[:gender_icon] = 567
- cat[:clan_icon] = 560
- cat[:revealed_notes] = [0]
- cat[:notes][0] = "Badgerpaw's mentor."
- cat[:notes][1] = "Has a rivalry with Galeflower."
- cat[:notes][2] = "Applefang's mate."
- cat[:notes][3] = "Father of Nightkit and Eaglekit."
- cat[:notes][4] = "Member of the Hawks."
- when "Blackheart"
- cat[:name] = "Blackheart"
- cat[:position] = "Medicine Cat"
- cat[:file] = "Evil"
- cat[:index] = 3
- cat[:clan] = "ThunderClan"
- cat[:gender_icon] = 567
- cat[:clan_icon] = 560
- cat[:revealed_notes] = [0,1]
- cat[:notes][0] = "Very odd."
- cat[:notes][1] = "Probably untrustworthy."
- cat[:notes][2] = "Committed to fighting death."
- cat[:notes][3] = "Refused to join the Hawks."
- cat[:notes][4] = "Crushing on Silverdrop and Dewfrost."
- when "Willowstep"
- cat[:name] = "Willowstep"
- cat[:position] = "Warrior"
- cat[:file] = "Actor4"
- cat[:index] = 7
- cat[:clan] = "ThunderClan"
- cat[:gender_icon] = 566
- cat[:clan_icon] = 560
- cat[:revealed_notes] = [0]
- cat[:notes][0] = "Duskpaw's mother."
- cat[:notes][1] = "Worries a lot."
- cat[:notes][2] = "Misses the good old days."
- cat[:notes][3] = "Was Larktail's mate."
- when "Foxclaw"
- cat[:name] = "Foxclaw"
- cat[:position] = "Deputy"
- cat[:file] = "Actor3"
- cat[:index] = 6
- cat[:clan] = "ThunderClan"
- cat[:gender_icon] = 567
- cat[:clan_icon] = 560
- cat[:notes][0] = "Member of the Hawks."
- when "Eaglekit"
- cat[:name] = "Eaglekit"
- cat[:position] = "Kit"
- cat[:file] = "People1"
- cat[:index] = 1
- cat[:clan] = "ThunderClan"
- cat[:gender_icon] = 566
- cat[:clan_icon] = 560
- cat[:revealed_notes] = [0,1]
- cat[:notes][0] = "Nightkit's sister."
- cat[:notes][1] = "Applefang and Antwhisker's kit."
- cat[:notes][2] = "Lost in the storm."
- cat[:notes][3] = "Patchfur's apprentice.."
- when "Nightkit"
- cat[:name] = "Nightkit"
- cat[:position] = "Kit"
- cat[:file] = "People1"
- cat[:index] = 0
- cat[:clan] = "ThunderClan"
- cat[:gender_icon] = 567
- cat[:clan_icon] = 560
- cat[:revealed_notes] = [0,1]
- cat[:notes][0] = "Eaglekit's brother."
- cat[:notes][1] = "Applefang and Antwhisker's kit."
- cat[:notes][2] = "Died in the storm."
- cat[:notes][3] = "Ravenwing's apprentice."
- when "Applefang"
- cat[:name] = "Applefang"
- cat[:position] = "Queen"
- cat[:file] = "Actor5"
- cat[:index] = 3
- cat[:clan] = "ThunderClan"
- cat[:gender_icon] = 566
- cat[:clan_icon] = 560
- cat[:revealed_notes] = [0,1]
- cat[:notes][0] = "Mother of Eaglekit and Nightkit."
- cat[:notes][1] = "Antwhisker's mate."
- cat[:notes][2] = "Lost her daughter, Eaglekit."
- cat[:notes][3] = "Lost her son, Nightkit."
- cat[:notes][4] = "Lost both of her kits."
- when "Ravenwing"
- cat[:name] = "Ravenwing"
- cat[:position] = "Warrior"
- cat[:file] = "Actor4"
- cat[:index] = 5
- cat[:clan] = "ThunderClan"
- cat[:gender_icon] = 566
- cat[:clan_icon] = 560
- cat[:notes][0] = "Has a history with Pebbleskip."
- cat[:notes][1] = "Member of the Doves."
- cat[:notes][2] = "Former friend of Thrushfeather."
- when "Slackfur"
- cat[:name] = "Slackfur"
- cat[:position] = "Warrior"
- cat[:file] = "People4"
- cat[:index] = 4
- cat[:clan] = "ThunderClan"
- cat[:gender_icon] = 567
- cat[:clan_icon] = 560
- cat[:notes][0] = "Self concious about his name."
- cat[:notes][1] = "Guards the border diligently."
- cat[:notes][2] = "In love with Magpieburr."
- cat[:notes][3] = "ThunderClan's master tracker."
- when "Patchfur"
- cat[:name] = "Patchfur"
- cat[:position] = "Warrior"
- cat[:file] = "People3"
- cat[:index] = 0
- cat[:clan] = "ThunderClan"
- cat[:gender_icon] = 566
- cat[:clan_icon] = 560
- cat[:notes][0] = "Knowledgable about feathers."
- when "Olivetail"
- cat[:name] = "Olivetail"
- cat[:position] = "Warrior"
- cat[:file] = "Actor2"
- cat[:index] = 3
- cat[:clan] = "ThunderClan"
- cat[:gender_icon] = 566
- cat[:clan_icon] = 560
- cat[:revealed_notes] = [0,1]
- cat[:notes][0] = "Kestrelpaw and Badgerpaw's mother."
- cat[:notes][1] = "Firetail's mate."
- cat[:notes][2] = "Mosstail's daughter."
- cat[:notes][3] = "Thrushfeather's sister."
- cat[:notes][4] = "Thornstep's sister."
- cat[:notes][5] = "Thoroughly unpleasant."
- when "Kestrelpaw"
- cat[:name] = "Kestrelpaw"
- cat[:position] = "Apprentice"
- cat[:file] = "Actor1"
- cat[:index] = 0
- cat[:clan] = "ThunderClan"
- cat[:gender_icon] = 567
- cat[:clan_icon] = 560
- cat[:revealed_notes] = [0,1,2,3]
- cat[:notes][0] = "Galeflower's apprentice."
- cat[:notes][1] = "Badgerpaw's brother."
- cat[:notes][2] = "Quite sickly."
- cat[:notes][3] = "Son of Firetail and Olivetail."
- cat[:notes][4] = "Fights using lots of tricks."
- cat[:notes][5] = "Wants to be remembered."
- cat[:notes][6] = "Has low self confidence."
- cat[:notes][7] = "Died fighting the fox."
- cat[:notes][8] = "Resents his illness."
- cat[:notes][9] = "Member of the Doves."
- cat[:notes][10] = "Joined the Hawks."
- when "Badgerpaw"
- cat[:name] = "Badgerpaw"
- cat[:position] = "Apprentice"
- cat[:file] = "Actor1"
- cat[:index] = 1
- cat[:clan] = "ThunderClan"
- cat[:gender_icon] = 566
- cat[:clan_icon] = 560
- cat[:revealed_notes] = [0,1,2]
- cat[:notes][0] = "Antwhisker's apprentice."
- cat[:notes][1] = "Kestrelpaw's sister."
- cat[:notes][2] = "Daughter of Firetail and Olivetail."
- cat[:notes][3] = "Doesn't take Clan life seriously."
- cat[:notes][4] = "Interested in kittypet life."
- cat[:notes][5] = "Fights using standard techniques."
- cat[:notes][6] = "Scared of Clan life."
- cat[:notes][7] = "Protective of her brother."
- cat[:notes][8] = "Has the lowest self confidence."
- cat[:notes][9] = "Wants to be a medicine cat."
- cat[:notes][10] = "Not very creative."
- cat[:notes][11] = "Became a medicine cat."
- cat[:notes][12] = "Embraced her nature as a berserker."
- when "Nettlepaw"
- cat[:name] = "Nettlepaw"
- cat[:position] = "Apprentice"
- cat[:file] = "Actor1"
- cat[:index] = 4
- cat[:clan] = "ThunderClan"
- cat[:gender_icon] = 566
- cat[:clan_icon] = 560
- cat[:revealed_notes] = [0,1,2]
- cat[:notes][0] = "Waspwing's Apprentice"
- cat[:notes][1] = "Thrushfeather's daughter."
- cat[:notes][2] = "Strongest ThunderClan apprentice."
- cat[:notes][3] = "Fights with powerful advanced techniques."
- cat[:notes][4] = "Cares about Kestrelpaw."
- cat[:notes][5] = "Became a warrior after the fox was defeated."
- cat[:notes][6] = "Friends with Tempestpaw?"
- cat[:notes][7] = "Member of the Hawks."
- cat[:notes][8] = "Sensible, but prideful."
- cat[:notes][9] = "Hardworking."
- cat[:notes][10] = "Loves the taste of rabbit."
- cat[:notes][11] = "Hates Creekskip."
- cat[:notes][12] = "Tempestpaw's sister."
- cat[:notes][13] = "Rabbitclaw's daughter."
- cat[:notes][14] = "ThunderClan's emergency rations."
- cat[:notes][15] = "Sore loser."
- when "Duskpaw"
- cat[:name] = "Duskpaw"
- cat[:position] = "Apprentice"
- cat[:file] = "Duskpaw"
- cat[:index] = 0
- cat[:clan] = "ThunderClan"
- cat[:gender_icon] = 567
- cat[:clan_icon] = 560
- cat[:revealed_notes] = [0,1]
- cat[:notes][0] = "Amberflame's Apprentice."
- cat[:notes][1] = "Self-proclaimed hero."
- cat[:notes][2] = "Has a rivalry with Tempestpaw."
- cat[:notes][3] = "Willowstep and Larktail's son."
- cat[:notes][4] = "Fights to protect his Clanmates."
- cat[:notes][5] = "Obsessed with Lionblaze."
- cat[:notes][6] = "Wants to be like his father."
- cat[:notes][7] = "Wants to protect all kits."
- cat[:notes][8] = "Lost his sister, Dawnkit."
- cat[:notes][9] = "Thinks he received a prophecy."
- cat[:notes][10] = "Has a crush on Nettlepaw."
- cat[:notes][11] = "Often acts without thinking."
- cat[:notes][12] = "Undyingly loyal."
- when "Redflower"
- cat[:name] = "Redflower"
- cat[:position] = "Elder"
- cat[:file] = "People1"
- cat[:index] = 7
- cat[:clan] = "ThunderClan"
- cat[:gender_icon] = 566
- cat[:clan_icon] = 560
- cat[:revealed_notes] = [0]
- cat[:notes][0] = "Kindhearted."
- cat[:notes][1] = "Knows many good stories."
- cat[:notes][2] = "Believes in unity."
- when "Mosstail"
- cat[:name] = "Mosstail"
- cat[:position] = "Elder"
- cat[:file] = "People4"
- cat[:index] = 5
- cat[:clan] = "ThunderClan"
- cat[:gender_icon] = 567
- cat[:clan_icon] = 560
- cat[:revealed_notes] = [0,1]
- cat[:notes][0] = "Grumpy old cat."
- cat[:notes][1] = "Dislikes Half-Clans and kittypets."
- cat[:notes][2] = "Father of Thrushfeather, Olivetail, and Thornstep."
- cat[:notes][3] = "Has a one-sided rivalry with Briarstar."
- cat[:notes][4] = "Member of the Hawks."
- cat[:notes][5] = "Has a soft spot for kits."
- cat[:notes][6] = "Hates Rabbitclaw."
- when "Firetail"
- cat[:name] = "Firetail"
- cat[:position] = "Warrior"
- cat[:file] = "Actor3"
- cat[:index] = 0
- cat[:clan] = "ThunderClan"
- cat[:gender_icon] = 567
- cat[:clan_icon] = 560
- cat[:revealed_notes] = [0,1]
- cat[:notes][0] = "Kestrelpaw and Badgerpaw's father."
- cat[:notes][1] = "Olivetail's mate."
- when "Larktail"
- cat[:name] = "Larktail"
- cat[:position] = "Warrior"
- cat[:file] = "Mystery"
- cat[:index] = 0
- cat[:clan] = "ThunderClan"
- cat[:gender_icon] = 567
- cat[:clan_icon] = 564
- cat[:revealed_notes] = [0,1,2,3]
- cat[:notes][0] = "Father of Duskpaw and Dawnkit."
- cat[:notes][1] = "Mate of Willowstep."
- cat[:notes][2] = "A legendary hero."
- cat[:notes][3] = "Died saving ThunderClan from foxes."
- when "Thornstep"
- cat[:name] = "Thornstep"
- cat[:position] = "Warrior"
- cat[:file] = "Mystery"
- cat[:index] = 0
- cat[:clan] = "ThunderClan"
- cat[:gender_icon] = 566
- cat[:clan_icon] = 564
- cat[:notes][0] = "Daughter of Mosstail."
- cat[:notes][1] = "Sister of Thrushfeather and Olivetail."
- cat[:notes][2] = "Nettlepaw's former mentor."
- cat[:notes][3] = "Something happened to her."
- ##################################################################
- # RIVERCLAN
- ##################################################################
- when "Splashstar"
- cat[:name] = "Splashstar"
- cat[:position] = "Leader"
- cat[:file] = "Actor5"
- cat[:index] = 1
- cat[:clan] = "RiverClan"
- cat[:gender_icon] = 566
- cat[:clan_icon] = 562
- cat[:revealed_notes] = [0,1]
- cat[:notes][0] = "RiverClan's cruel leader."
- cat[:notes][1] = "Seeks to cull those of impure blood."
- when "Carpwhisker"
- cat[:name] = "Carpwhisker"
- cat[:position] = "Deputy"
- cat[:file] = "People3"
- cat[:index] = 6
- cat[:clan] = "RiverClan"
- cat[:gender_icon] = 566
- cat[:clan_icon] = 562
- cat[:revealed_notes] = [0]
- cat[:notes][0] = "Unsurprisingly racist against kittypets."
- when "Dewfrost"
- cat[:name] = "Dewfrost"
- cat[:position] = "Medicine Cat"
- cat[:file] = "Evil"
- cat[:index] = 5
- cat[:clan] = "RiverClan"
- cat[:gender_icon] = 566
- cat[:clan_icon] = 562
- cat[:revealed_notes] = [0,3]
- cat[:notes][0] = "Has a strange way of speaking."
- cat[:notes][1] = "Likes tails."
- cat[:notes][2] = "Enjoys being a medicine cat."
- cat[:notes][3] = "Probably evil."
- when "Creekskip"
- cat[:name] = "Creekskip"
- cat[:position] = "Warrior"
- cat[:file] = "People1"
- cat[:index] = 3
- cat[:clan] = "RiverClan"
- cat[:gender_icon] = 566
- cat[:clan_icon] = 562
- cat[:revealed_notes] = [0,1,2,3]
- cat[:notes][0] = "Reedpaw's sister."
- cat[:notes][1] = "Nettlepaw's rival."
- cat[:notes][2] = "Treats ThunderClan cats with disdain."
- cat[:notes][3] = "Hard on herself."
- cat[:notes][4] = "The only one who can understand Reedpaw."
- when "Eeltail"
- cat[:name] = "Eeltail"
- cat[:position] = "Elder"
- cat[:file] = "Actor5"
- cat[:index] = 2
- cat[:clan] = "RiverClan"
- cat[:gender_icon] = 566
- cat[:clan_icon] = 562
- cat[:revealed_notes] = [0]
- cat[:notes][0] = "A cruel and dismissive cat."
- cat[:notes][1] = "Rude to Reedpaw."
- when "Halfshade"
- cat[:name] = "Halfshade"
- cat[:position] = "Warrior"
- cat[:file] = "Actor3"
- cat[:index] = 1
- cat[:clan] = "RiverClan"
- cat[:gender_icon] = 567
- cat[:clan_icon] = 562
- cat[:revealed_notes] = [0,1]
- cat[:notes][0] = "Hates kittypets."
- cat[:notes][1] = "Both halves of his face are jerks."
- when "Mudheart"
- cat[:name] = "Mudheart"
- cat[:position] = "Elder"
- cat[:file] = "Elders"
- cat[:index] = 3
- cat[:clan] = "RiverClan"
- cat[:gender_icon] = 567
- cat[:clan_icon] = 562
- cat[:revealed_notes] = [0]
- cat[:notes][0] = "Yet another disdainful RiverClan cat."
- when "Smokeflake"
- cat[:name] = "Smokeflake"
- cat[:position] = "Warrior"
- cat[:file] = "Evil"
- cat[:index] = 1
- cat[:clan] = "RiverClan"
- cat[:gender_icon] = 567
- cat[:clan_icon] = 562
- cat[:revealed_notes] = [0]
- cat[:notes][0] = "Believes in nonsense."
- ##################################################################
- # SHADOWCLAN
- ##################################################################
- when "Oakstar"
- cat[:name] = "Oakstar"
- cat[:position] = "Leader"
- cat[:file] = "Actor2"
- cat[:index] = 7
- cat[:clan] = "ShadowClan"
- cat[:gender_icon] = 566
- cat[:clan_icon] = 563
- cat[:revealed_notes] = [0,1]
- cat[:notes][0] = "ShadowClan's leader."
- cat[:notes][1] = "A force to be reckoned with."
- when "Lightflame"
- cat[:name] = "Lightflame"
- cat[:position] = "Deputy"
- cat[:file] = "guests"
- cat[:index] = 3
- cat[:clan] = "ShadowClan"
- cat[:gender_icon] = 567
- cat[:clan_icon] = 563
- cat[:revealed_notes] = [0,1]
- cat[:notes][0] = "ShadowClan's strange deputy."
- cat[:notes][1] = "Probably not all there."
- when "Darkshine"
- cat[:name] = "Darkshine"
- cat[:position] = "Warrior"
- cat[:file] = "guests"
- cat[:index] = 4
- cat[:clan] = "ShadowClan"
- cat[:gender_icon] = 566
- cat[:clan_icon] = 563
- cat[:notes][0] = "Hates surprises."
- cat[:notes][1] = "Determined to prove herself."
- cat[:notes][2] = "Once caught a pheasant."
- when "Mousepaw"
- cat[:name] = "Mousepaw"
- cat[:position] = "Apprentice"
- cat[:file] = "Actor4"
- cat[:index] = 4
- cat[:clan] = "ShadowClan"
- cat[:gender_icon] = 567
- cat[:clan_icon] = 563
- cat[:revealed_notes] = [0,1]
- cat[:notes][0] = "Pebbleskip's apprentice."
- cat[:notes][1] = "Trains to be a medicine cat."
- cat[:notes][2] = "Distrusts ThunderClan."
- cat[:notes][3] = "Rather aggressive."
- when "Pebbleskip"
- cat[:name] = "Pebbleskip"
- cat[:position] = "Medicine Cat"
- cat[:file] = "Actor5"
- cat[:index] = 6
- cat[:clan] = "ShadowClan"
- cat[:gender_icon] = 567
- cat[:clan_icon] = 563
- cat[:revealed_notes] = [0]
- cat[:notes][0] = "Mousepaw's mentor."
- cat[:notes][1] = "Has history with Ravenwing."
- cat[:notes][2] = "Interested in Duskpaw's dream."
- when "Magpieburr"
- cat[:name] = "Magpieburr"
- cat[:position] = "Warrior"
- cat[:file] = "ShadowClan"
- cat[:index] = 1
- cat[:clan] = "ShadowClan"
- cat[:gender_icon] = 566
- cat[:clan_icon] = 563
- cat[:notes][0] = "Was spying on ThunderClan."
- cat[:notes][1] = "Deceitful."
- when "Rowangaze"
- cat[:name] = "Rowangaze"
- cat[:position] = "Warrior"
- cat[:file] = "guests"
- cat[:index] = 2
- cat[:clan] = "ShadowClan"
- cat[:gender_icon] = 566
- cat[:clan_icon] = 563
- cat[:notes][0] = "Has a sense of humour."
- cat[:notes][1] = "Sometimes speaks without thinking."
- when "Marshpaw"
- cat[:name] = "Marshpaw"
- cat[:position] = "Apprentice"
- cat[:file] = "ShadowClan"
- cat[:index] = 0
- cat[:clan] = "ShadowClan"
- cat[:gender_icon] = 567
- cat[:clan_icon] = 563
- cat[:notes][0] = "Shy and introverted."
- cat[:notes][1] = "Had difficulty hunting."
- cat[:notes][2] = "Uses his Parry ability to protect his Clanmates."
- when "Lionpaw"
- cat[:name] = "Lionpaw"
- cat[:position] = "Apprentice"
- cat[:file] = "Finchstarsfaceset"
- cat[:index] = 3
- cat[:clan] = "ShadowClan"
- cat[:gender_icon] = 567
- cat[:clan_icon] = 563
- cat[:notes][0] = "Energetic apprentice."
- cat[:notes][1] = "Has a crush on Marshpaw."
- cat[:notes][2] = "Dreams of being Clan leader."
- when "Darkfang"
- cat[:name] = "Darkfang"
- cat[:position] = "Warrior"
- cat[:file] = "People3"
- cat[:index] = 4
- cat[:clan] = "ShadowClan"
- cat[:gender_icon] = 567
- cat[:clan_icon] = 563
- cat[:notes][0] = "Former RiverClan cat."
- cat[:notes][1] = "Was nearly killed for being of impure blood."
- when "Redpelt"
- cat[:name] = "Redpelt"
- cat[:position] = "Warrior"
- cat[:file] = "Actor1"
- cat[:index] = 7
- cat[:clan] = "ShadowClan"
- cat[:gender_icon] = 567
- cat[:clan_icon] = 563
- cat[:notes][0] = "A wise senior warrior."
- cat[:notes][1] = "Lives happily with his mate."
- cat[:notes][2] = "Acquainted with Amberflame."
- cat[:notes][3] = "Has coordination issues."
- cat[:notes][4] = "Will do anything to protect his Clanmates."
- when "Sandlight"
- cat[:name] = "Sandlight"
- cat[:position] = "Elder"
- cat[:file] = "ShadowClan"
- cat[:index] = 4
- cat[:clan] = "ShadowClan"
- cat[:gender_icon] = 0
- cat[:clan_icon] = 563
- cat[:notes][0] = "Resentful about the youth of ShadowClan."
- when "Spidershade"
- cat[:name] = "Spidershade"
- cat[:position] = "Warrior"
- cat[:file] = "Mystery"
- cat[:index] = 0
- cat[:clan] = "StarClan"
- cat[:gender_icon] = 567
- cat[:clan_icon] = 564
- cat[:notes][0] = "ShadowClan sentry."
- cat[:notes][1] = "Was murdered by an unknown cat."
- cat[:notes][2] = "Had breathing problems."
- cat[:notes][3] = "The one cat who definitely isn't Spidershade's killer."
- ##################################################################
- # WINDCLAN
- ##################################################################
- when "Stormstar"
- cat[:name] = "Stormstar"
- cat[:position] = "Leader"
- cat[:file] = "Evil"
- cat[:index] = 6
- cat[:clan] = "WindClan"
- cat[:gender_icon] = 566
- cat[:clan_icon] = 561
- cat[:revealed_notes] = [0]
- cat[:notes][0] = "WindClan's leader."
- when "Robinwing"
- cat[:name] = "Robinwing"
- cat[:position] = "Deputy"
- cat[:file] = "Evil"
- cat[:index] = 2
- cat[:clan] = "WindClan"
- cat[:gender_icon] = 566
- cat[:clan_icon] = 561
- cat[:revealed_notes] = [0]
- cat[:notes][0] = "Not to be mistaken with some other Robinwing."
- when "Silverdrop"
- cat[:name] = "Silverdrop"
- cat[:position] = "Medicine Cat"
- cat[:file] = "Evil"
- cat[:index] = 7
- cat[:clan] = "WindClan"
- cat[:gender_icon] = 566
- cat[:clan_icon] = 561
- cat[:revealed_notes] = [0]
- cat[:notes][0] = "WindClan's medicine cat."
- cat[:notes][1] = "Unethusiastic about her duties."
- cat[:notes][2] = "Snowflower's sister."
- when "Tempestpaw"
- cat[:name] = "Tempestpaw"
- cat[:position] = "Apprentice"
- cat[:file] = "People1"
- cat[:index] = 2
- cat[:clan] = "WindClan"
- cat[:gender_icon] = 567
- cat[:clan_icon] = 561
- cat[:revealed_notes] = [0,1,4]
- cat[:notes][0] = "Duskpaw's Rival."
- cat[:notes][1] = "Rabbitclaw's son."
- cat[:notes][2] = "Has unwavering faith in his father."
- cat[:notes][3] = "Wants to be a Clawmaster."
- cat[:notes][4] = "Extremely overconfident."
- cat[:notes][5] = "Fights with flashy moves."
- cat[:notes][6] = "Friends with Nettlepaw?"
- cat[:notes][7] = "Thrushfeather's son."
- cat[:notes][8] = "Nettlepaw's brother."
- when "Darkfeather"
- cat[:name] = "Darkfeather"
- cat[:position] = "Warrior"
- cat[:file] = "Actor2"
- cat[:index] = 2
- cat[:clan] = "WindClan"
- cat[:gender_icon] = 567
- cat[:clan_icon] = 561
- cat[:revealed_notes] = [0]
- cat[:notes][0] = "WindClan's fastest warrior."
- when "Snowflower"
- cat[:name] = "Snowflower"
- cat[:position] = "Warrior"
- cat[:file] = "Actor4"
- cat[:index] = 0
- cat[:clan] = "WindClan"
- cat[:gender_icon] = 566
- cat[:clan_icon] = 561
- cat[:notes][0] = "Silverdrop's sister."
- cat[:notes][1] = "Pretty and kind."
- when "Rabbitclaw"
- cat[:name] = "Rabbitclaw"
- cat[:position] = "Warrior"
- cat[:file] = "Actor5"
- cat[:index] = 4
- cat[:clan] = "WindClan"
- cat[:gender_icon] = 567
- cat[:clan_icon] = 561
- cat[:revealed_notes] = [0,1,2]
- cat[:notes][0] = "Tempestpaw's father."
- cat[:notes][1] = "The only Clawmaster in the Clans."
- cat[:notes][2] = "Dismissive of all others."
- cat[:notes][3] = "Hated by Mosstail."
- cat[:notes][4] = "Doesn't deserve Tempestpaw's unwavering faith."
- cat[:notes][5] = "Never hunts for himself."
- when "Cloudpaw"
- cat[:name] = "Cloudpaw"
- cat[:position] = "Apprentice"
- cat[:file] = "Finchstarsfaceset"
- cat[:index] = 5
- cat[:clan] = "WindClan"
- cat[:gender_icon] = 567
- cat[:clan_icon] = 561
- cat[:notes][0] = "Wants to be a Clawmaster."
- cat[:notes][1] = "Fights with trickery."
- when "Daisypetal"
- cat[:name] = "Daisypetal"
- cat[:position] = "Elder"
- cat[:file] = "Elders"
- cat[:index] = 0
- cat[:clan] = "WindClan"
- cat[:gender_icon] = 566
- cat[:clan_icon] = 561
- cat[:notes][0] = "Is exhausted from telling stories all the time."
- cat[:notes][1] = "Interested in your life."
- when "Aspenwing"
- cat[:name] = "Aspenwing"
- cat[:position] = "Warrior"
- cat[:file] = "Guests"
- cat[:index] = 5
- cat[:clan] = "WindClan"
- cat[:gender_icon] = 566
- cat[:clan_icon] = 561
- cat[:notes][0] = "WindClan's master tracker."
- ##################################################################
- # OTHERS
- ##################################################################
- when "Brute"
- cat[:name] = "Brute"
- cat[:position] = "Rogue"
- cat[:file] = "Evil"
- cat[:index] = 0
- cat[:clan] = "Others"
- cat[:gender_icon] = 567
- cat[:clan_icon] = 0
- cat[:revealed_notes] = [0]
- cat[:notes][0] = "Cat that forced you out of twolegplace."
- cat[:notes][1] = "His real name is probably embarassing."
- when "Mikan"
- cat[:name] = "Mikan"
- cat[:position] = "Kittypet"
- cat[:file] = "Actor4"
- cat[:index] = 6
- cat[:clan] = "Others"
- cat[:gender_icon] = 567
- cat[:clan_icon] = 0
- cat[:revealed_notes] = [0,1]
- cat[:notes][0] = "An old friend."
- cat[:notes][1] = "Can speak to twolegs."
- when "Star"
- cat[:name] = "Star"
- cat[:position] = "Kittypet"
- cat[:file] = "People1"
- cat[:index] = 4
- cat[:clan] = "Others"
- cat[:gender_icon] = 567
- cat[:clan_icon] = 0
- cat[:revealed_notes] = [0,1,2,3,4]
- cat[:notes][0] = "Kittypet that attacked you in the thicket."
- cat[:notes][1] = "Clumsy, with poor technique."
- cat[:notes][2] = "Easily frightened."
- cat[:notes][3] = "Wanted to stay in the abandoned twoleg nest."
- cat[:notes][4] = "Moon's brother."
- when "Moon"
- cat[:name] = "Moon"
- cat[:position] = "Kittypet"
- cat[:file] = "Finchstarsfaceset"
- cat[:index] = 4
- cat[:clan] = "Others"
- cat[:gender_icon] = 566
- cat[:clan_icon] = 0
- cat[:revealed_notes] = [0,1]
- cat[:notes][0] = "Star's sister."
- cat[:notes][1] = "Comes from the Twolegplace."
- cat[:notes][2] = "Finds the Clans disgusting."
- when "Voideyes"
- cat[:name] = "Voideyes"
- cat[:position] = "Medicine Cat?"
- cat[:file] = "Finchstarsfaceset"
- cat[:index] = 1
- cat[:clan] = "Others"
- cat[:gender_icon] = 532
- cat[:clan_icon] = 0
- cat[:revealed_notes] = [0,2,4]
- cat[:notes][0] = "A bizarre cat."
- cat[:notes][1] = "Claims to be a medicine cat."
- cat[:notes][2] = "Fights with wicked dark powers."
- cat[:notes][3] = "Possibly connected with Blackheart?"
- cat[:notes][4] = "Has no eyes or mouth."
- cat[:notes][5] = "Eats other cats."
- cat[:notes][6] = "Escape from this cat immediately."
- cat[:notes][7] = "Has a deep-seated loathing of birds."
- cat[:notes][8] = "Was hopefully just a nightmare."
- when "Maplefrost"
- cat[:name] = "Maplefrost"
- cat[:position] = "Rogue"
- cat[:file] = "Mystery"
- cat[:index] = 0
- cat[:clan] = "Others"
- cat[:gender_icon] = 567
- cat[:clan_icon] = 0
- cat[:notes][0] = "The legendary enemy of Firestar."
- cat[:notes][1] = "Plotted to kill his Clan leader."
- cat[:notes][2] = "Was exiled and later killed by Scourge."
- cat[:notes][3] = "Has returned to destroy the Clans."
- cat[:notes][4] = "As large as a warrior of LionClan."
- cat[:notes][5] = "Abducted Eaglepaw."
- cat[:notes][6] = "Abducted Nightpaw."
- cat[:notes][7] = "Abducted Nightpaw and Eaglepaw."
- cat[:notes][8] = "An unstoppable foe."
- cat[:notes][9] = "Wasn't even real."
- end
- return cat
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement