about summary refs log tree commit diff stats
path: root/data/maps/the_literate/rooms/Painting Room.txtpb
blob: f22929c42e2bfc3329b04c79c985c2272b46873a (plain) (blame)
1
2
3
4
5
6
name: "Painting Room"
paintings {
  name: "PYRAMID"
  path: "Components/triangle"
  orientation: "north"
}
.highlight .nb { color: #003388 } /* Name.Builtin */ .highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */ .highlight .no { color: #003366; font-weight: bold } /* Name.Constant */ .highlight .nd { color: #555555 } /* Name.Decorator */ .highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
.pokemon{ class: (not @pokemon.trainer.nil?) && "in-#{@pokemon.trainer.game}" }
  .pokemon-basics
    .pokemon-nameline
      = image_tag(@pokemon.pokeball_icon_path, class: "pokemon-ball")
      %span.pokemon-name= @pokemon.revisions.last.nickname
      %span.pokemon-gender{ class: @pokemon.gender }= @pokemon.gender_symbol
    .pokemon-level= "Lv. #{@pokemon.revisions.last.level}"
    .pokemon-image
      .pokemon-image-wrap
        = image_tag @pokemon.sprite_path, class: "pokemon-sprite"
        - if @pokemon.shiny?
          = image_tag "pokeviewer/ShinyIVStar.png", class: "pkv-shiny-star"
    - if @pokemon.revisions.last.item.nil?
      .pokemon-item-label Item
      .pokemon-item None
    - else
      .pokemon-item-label.with-item Item
      .pokemon-item.pkv-has-hover
        = image_tag(@pokemon.revisions.last.item.icon_path)
        = @pokemon.revisions.last.item.name
        .pkv-hover
          .pc-data-name= @pokemon.revisions.last.item.name
          - if @pokemon.revisions.last.item.tm?
            .pc-move-name= @pokemon.revisions.last.item.move.name
          = @pokemon.revisions.last.item.description(@pokemon.trainer.game)
  .pokemon-tab.pokemon-details
    %table
      %tr
        %th Pokédex No.
        %td
          .table-bubble.tb-top= @pokemon.species_id
      %tr
        %th Name
        %td
          .table-bubble= @pokemon.species.name
      %tr
        %th Type
        %td
          .table-bubble
            = image_for_type @pokemon.species.type_1
            - if @pokemon.species.type_2
              = image_for_type @pokemon.species.type_2
      %tr
        %th OT
        %td.ot-gender{ class: @pokemon.ot_gender }
          .table-bubble= @pokemon.ot_name
      %tr
        %th ID No.
        %td
          .table-bubble.tb-bottom= @pokemon.display_ot_number
      %tr
        %th  
        %td
    .pokemon-met-label Trainer Memo
    .pokemon-description= display_met @pokemon
  .pokemon-tab.pokemon-stats
    %table
      %tr
        %th HP
        %td
          .table-bubble.tb-top= @pokemon.revisions.last.hp
      %tr
        %th
          Attack
          - if @pokemon.nature_benefits?(:attack)
            %span.nature-benefit +
          - if @pokemon.nature_hinders?(:attack)
            %span.nature-hinder -
        %td
          .table-bubble= @pokemon.revisions.last.attack
      %tr
        %th
          Defense
          - if @pokemon.nature_benefits?(:defense)
            %span.nature-benefit +
          - if @pokemon.nature_hinders?(:defense)
            %span.nature-hinder -
        %td
          .table-bubble= @pokemon.revisions.last.defense
      %tr
        %th
          Sp. Atk
          - if @pokemon.nature_benefits?(:special_attack)
            %span.nature-benefit +
          - if @pokemon.nature_hinders?(:special_attack)
            %span.nature-hinder -
        %td
          .table-bubble= @pokemon.revisions.last.special_attack
      %tr
        %th
          Sp. Def
          - if @pokemon.nature_benefits?(:special_defense)
            %span.nature-benefit +
          - if @pokemon.nature_hinders?(:special_defense)
            %span.nature-hinder -
        %td
          .table-bubble= @pokemon.revisions.last.special_defense
      %tr
        %th
          Speed
          - if @pokemon.nature_benefits?(:speed)
            %span.nature-benefit +
          - if @pokemon.nature_hinders?(:speed)
            %span.nature-hinder -
        %td
          .table-bubble.tb-bottom= @pokemon.revisions.last.speed
      %tr.pokemon-nature-label
        %th{ colspan: 2 } Nature
      %tr
        %th
        %td
          .tb-only= @pokemon.nature_text
      %tr
        %th{ colspan: 2 } Ability
      %tr
        %th
        %td
          .tb-only.pkv-has-hover
            = @pokemon.ability.name
            .pkv-hover
              .pc-data-name= @pokemon.ability.name
              = @pokemon.ability.description
  .pokemon-tab.pokemon-moves
    %table
      - (1..4).each do |i|
        = move_details @pokemon.revisions.last, i
  .pokemon-tab.pokemon-contest= condition_diagram @pokemon.revisions.last
  .pokemon-tab.pokemon-ribbons
    %ul
      - @pokemon.revisions.last.ribbons.each do |ribbon|
        %li.pkv-has-hover
          = image_tag("pokeviewer/ribbons/#{ribbon[:filename]}")
          .pkv-hover
            .pc-data-name= ribbon[:name]
            = ribbon[:description]