Module: Faker::Game::CharacterTitle

Defined in:
lib/faker/game/character_title.rb

Constant Summary collapse

EVIL_BODY_PARTS_SINGULAR =
%w(anus blood flesh skin fat death eye sight)
EVIL_BODY_PARTS =
%w(intestine colon gonad skull leg arm body head gut beast heart liver)
EVIL_VIOLENT_VERBS_AS_NOUNS =
%w(vommitter cooker roaster punisher mutilator disfigurer clawer disembowler crusher masher ravisher banisher killer grasper tearer flayer eater ripper impaler chewer sucker severer wrencher sapper reamer walker feaster devourer destroyer tormentor defiler mincer)
EVIL_ADJECTIVES =
%w(evil dark rotting putrid forgotten terrible horrible nasty sickening putrifying banished outlawed)
EVIL_NOUNS =
%w(scourage terror horror ghoul ghost beast outlaw criminal demon)
GOOD_NOUNS =
%w(light wonder prosperity goodness truth)
GOOD_VERBS_AS_NOUNS =
%w(bringer restorer bearer guardian savior protector)
GOOD_ANTI_VERBS_AS_NOUNS =
%w(vanquisher slayer destroyer cleanser healer remover)
NEUTRAL_PROFESSIONS =
%w(guard hunter smith bard fletcher)
NEUTRAL_ADJECTIVES =
%w(stalwart honest faithful haggard tireless)

Class Method Summary collapse

Class Method Details

.evilObject



16
17
18
# File 'lib/faker/game/character_title.rb', line 16

def evil
  send %w(evil_base evil_proper evil_with_qualifier).sample
end

.evil_properObject



28
29
30
# File 'lib/faker/game/character_title.rb', line 28

def evil_proper
  "the #{evil_base}".titleize
end

.goodObject



24
25
26
# File 'lib/faker/game/character_title.rb', line 24

def good
  send %w(good_base good_proper good_with_qualifier).sample
end

.neutralObject



20
21
22
# File 'lib/faker/game/character_title.rb', line 20

def neutral
  send %w(neutral_base neutral_proper neutral_with_adjective).sample
end