about summary refs log tree commit diff stats
path: root/data/maps/the_invisible/doors.txtpb
blob: dfe77e2fff5c58e178195120f1a15a46f6d9a7db (plain) (blame)
1
2
3
4
5
6
7
doors {
  name: "Maze Entrance"
  type: STANDARD
  receivers: "Components/Doors/entry_1"
  panels { room: "Entrance" name: "VISIBLE" }
  location_room: "Entrance"
}
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 */
# This migration comes from pokeviewer (originally 20170916234251)
class CreatePokeviewerPokemon < ActiveRecord::Migration[5.1]
  def change
    create_table :pokeviewer_pokemon do |t|
      t.string :uuid, null: false, limit: 191
      t.references :species, null: false
      t.references :trainer, null: true
      t.string :key, null: true, limit: 191
      t.string :ot_name, null: false
      t.integer :ot_number, null: false
      t.string :met_type, null: false
      t.string :met_location, null: true
      t.integer :met_level, null: false
      t.boolean :shiny, null: false, default: false
      t.string :nature, null: false
      t.string :gender, null: false
      t.boolean :second_ability, null: false
      t.string :unown_letter, null: true, limit: 1

      t.timestamps
    end

    add_index :pokeviewer_pokemon, :uuid, unique: true
    add_index :pokeviewer_pokemon, :key, unique: true

    add_foreign_key :pokeviewer_pokemon, :pokeviewer_species,
      column: :species_id

    add_foreign_key :pokeviewer_pokemon, :pokeviewer_trainers,
      column: :trainer_id
  end
end