Class: Faker::Games::Tarkov
Constant Summary
Constants inherited from Base
Base::LLetters, Base::Letters, Base::NOT_GIVEN, Base::Numbers, Base::ULetters
Class Method Summary collapse
-
.boss ⇒ String
Produces a random boss from Escape from Tarkov.
-
.faction ⇒ String
Produces a random faction from Escape from Tarkov.
-
.fence_quest ⇒ String
Produces a random quest from Fence from Escape from Tarkov.
-
.item ⇒ String
Produces a random item from Escape from Tarkov.
-
.jaeger_quest ⇒ String
Produces a random quest from Jaeger from Escape from Tarkov.
-
.location ⇒ String
Produces a random location from Escape from Tarkov.
-
.mechanic_quest ⇒ String
Produces a random quest from Mechanic from Escape from Tarkov.
-
.peacekeeper_quest ⇒ String
Produces a random quest from Peacekeeper from Escape from Tarkov.
-
.prapor_quest ⇒ String
Produces a random quest from Prapor from Escape from Tarkov.
-
.quest ⇒ String
Produces a random quest from a random trader from Escape from Tarkov.
-
.ragman_quest ⇒ String
Produces a random quest from Ragman from Escape from Tarkov.
-
.skier_quest ⇒ String
Produces a random quest from Skier from Escape from Tarkov.
-
.therapist_quest ⇒ String
Produces a random quest from Therapist from Escape from Tarkov.
-
.trader ⇒ String
Produces a random trader from Escape from Tarkov.
-
.weapon ⇒ String
Produces a random weapon from Escape from Tarkov.
Methods inherited from Base
bothify, disable_enforce_available_locales, fetch, fetch_all, flexible, generate, letterify, method_missing, numerify, parse, rand, rand_in_range, regexify, resolve, respond_to_missing?, sample, shuffle, shuffle!, translate, unique, with_locale
Class Method Details
.boss ⇒ String
Produces a random boss from Escape from Tarkov.
68 69 70 |
# File 'lib/faker/games/tarkov.rb', line 68 def boss fetch('tarkov.bosses') end |
.faction ⇒ String
Produces a random faction from Escape from Tarkov.
81 82 83 |
# File 'lib/faker/games/tarkov.rb', line 81 def faction fetch('tarkov.factions') end |
.fence_quest ⇒ String
Produces a random quest from Fence from Escape from Tarkov.
199 200 201 |
# File 'lib/faker/games/tarkov.rb', line 199 def fence_quest fetch('tarkov.quests.fence') end |
.item ⇒ String
Produces a random item from Escape from Tarkov.
42 43 44 |
# File 'lib/faker/games/tarkov.rb', line 42 def item fetch('tarkov.items') end |
.jaeger_quest ⇒ String
Produces a random quest from Jaeger from Escape from Tarkov.
186 187 188 |
# File 'lib/faker/games/tarkov.rb', line 186 def jaeger_quest fetch('tarkov.quests.jaeger') end |
.location ⇒ String
Produces a random location from Escape from Tarkov.
16 17 18 |
# File 'lib/faker/games/tarkov.rb', line 16 def location fetch('tarkov.locations') end |
.mechanic_quest ⇒ String
Produces a random quest from Mechanic from Escape from Tarkov.
160 161 162 |
# File 'lib/faker/games/tarkov.rb', line 160 def mechanic_quest fetch('tarkov.quests.mechanic') end |
.peacekeeper_quest ⇒ String
Produces a random quest from Peacekeeper from Escape from Tarkov.
147 148 149 |
# File 'lib/faker/games/tarkov.rb', line 147 def peacekeeper_quest fetch('tarkov.quests.peacekeeper') end |
.prapor_quest ⇒ String
Produces a random quest from Prapor from Escape from Tarkov.
108 109 110 |
# File 'lib/faker/games/tarkov.rb', line 108 def prapor_quest fetch('tarkov.quests.prapor') end |
.quest ⇒ String
Produces a random quest from a random trader from Escape from Tarkov.
94 95 96 97 |
# File 'lib/faker/games/tarkov.rb', line 94 def quest @traders = %w[prapor therapist skier peacekeeper mechanic ragman jaeger fence] fetch("tarkov.quests.#{@traders.sample}") end |
.ragman_quest ⇒ String
Produces a random quest from Ragman from Escape from Tarkov.
173 174 175 |
# File 'lib/faker/games/tarkov.rb', line 173 def ragman_quest fetch('tarkov.quests.ragman') end |
.skier_quest ⇒ String
Produces a random quest from Skier from Escape from Tarkov.
134 135 136 |
# File 'lib/faker/games/tarkov.rb', line 134 def skier_quest fetch('tarkov.quests.skier') end |
.therapist_quest ⇒ String
Produces a random quest from Therapist from Escape from Tarkov.
121 122 123 |
# File 'lib/faker/games/tarkov.rb', line 121 def therapist_quest fetch('tarkov.quests.therapist') end |
.trader ⇒ String
Produces a random trader from Escape from Tarkov.
29 30 31 |
# File 'lib/faker/games/tarkov.rb', line 29 def trader fetch('tarkov.traders') end |
.weapon ⇒ String
Produces a random weapon from Escape from Tarkov.
55 56 57 |
# File 'lib/faker/games/tarkov.rb', line 55 def weapon fetch('tarkov.weapons') end |