notebook/app/models/magic.rb
2013-01-22 22:06:09 -06:00

29 lines
671 B
Ruby

class Magic
include Mongoid::Document
# General
field :name, :type => String
field :type_of, :type => String # "Type of": Spell, Ability, Enchantment, etc
# Appearance
field :manifestation, :type => String
field :symptoms, :type => String
# Alignment
field :element, :type => String
field :diety, :type => String
# Effects
field :harmfulness, :type => String # Harmful effects
field :helpfulness, :type => String # Helpful effects
# Requirements
field :resource, :type => String # Resource required
field :skill_level, :type => String # Skill required
field :limitations, :type => String
# More
belongs_to :user
end