Skip to content

Instantly share code, notes, and snippets.

@ogredude
Created June 8, 2011 18:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ogredude/1015010 to your computer and use it in GitHub Desktop.
Save ogredude/1015010 to your computer and use it in GitHub Desktop.
Size seeds
# This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
#
# Examples:
#
# cities = City.create([{ :name => 'Chicago' }, { :name => 'Copenhagen' }])
# Mayor.create(:name => 'Daley', :city => cities.first)
Size.create(:name => "Fine", :attack => 8, :special_attack => -16, :hide => 16, :height => "6 in. or less", :weight => "1/8 lb. or less", :tall_reach => "0 ft.", :long_reach => "0 ft.")
Size.create(:name => "Diminutve", :attack => 4, :special_attack => -12, :hide => 12, :height => "6 in.–1 ft.", :weight => "1/8 lb.–1 lb.", :tall_reach => "0 ft.", :long_reach => "0 ft.")
Size.create(:name => "Tiny", :attack => 2, :special_attack => -8, :hide => 8, :height => "1 ft.–2 ft.", :weight => "1 lb.–8 lb.", :tall_reach => "0 ft.", :long_reach => "0 ft.")
Size.create(:name => "Small", :attack => 1, :special_attack => -4, :hide => 4, :height => "2 ft.–4 ft.", :weight => "8 lb.–60 lb.", :tall_reach => "5 ft.", :long_reach => "5 ft.")
Size.create(:name => "Medium", :attack => 0, :special_attack => 0, :hide => 0, :height => "4 ft.–8 ft.", :weight => "60 lb.–500 lb.", :tall_reach => "5 ft.", :long_reach => "5 ft.")
Size.create(:name => "Large", :attack => -1, :special_attack => 4, :hide => -4, :height => "8 ft.–16 ft.", :weight => "500 lb.–2 tons", :tall_reach => "10 ft.", :long_reach => "5 ft.")
Size.create(:name => "Huge", :attack => -2, :special_attack => 8, :hide => -8, :height => "16 ft.–32 ft.", :weight => "2 tons–16 tons", :tall_reach => "15 ft.", :long_reach => "10 ft.")
Size.create(:name => "Gargantuan", :attack => -4, :special_attack => 12, :hide => -12, :height => "32 ft.–64 ft.", :weight => "16 tons–125 tons", :tall_reach => "20 ft.", :long_reach => "15 ft.")
Size.create(:name => "Colossal", :attack => -8, :special_attack => 16, :hide => -16, :height => "64 ft. or more", :weight => "125 tons or more", :tall_reach => "30 ft.", :long_reach => "20 ft.")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment