mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
33 lines
823 B
Ruby
33 lines
823 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
|
|
field :neutralness, :type => String # Neutral effects
|
|
|
|
# Requirements
|
|
field :resource, :type => String # Resource required
|
|
field :skill_level, :type => String # Skill required
|
|
field :limitations, :type => String
|
|
|
|
# Notes
|
|
field :notes, :type => String
|
|
field :private_notes, :type => String
|
|
|
|
belongs_to :user
|
|
belongs_to :universe
|
|
end
|