Class: BCDice::GameSystem::CyberpunkRed::ShopPeopleTable

Inherits:
Object
  • Object
show all
Defined in:
lib/bcdice/game_system/cyberpunk_red/tables.rb

Instance Method Summary collapse

Instance Method Details

#roll(randomizer) ⇒ Object



392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
# File 'lib/bcdice/game_system/cyberpunk_red/tables.rb', line 392

def roll(randomizer)
  result = "おまえが立ち寄ったボデガには――"

  dice = randomizer.roll_once(6)
  staff = SHOP_STAFF_TABLE.choice(dice).body
  staff = staff[0..-2]
  result += staff
  result += "――といった店員と、"

  dice = randomizer.roll_once(6)
  people = SHOP_PEOPLE_A_TABLE.choice(dice).body
  people = people[0..-2]
  result += people
  result += "――という印象の客と、"

  dice = randomizer.roll_once(6)
  people = SHOP_PEOPLE_B_TABLE.choice(dice).body
  people = people[0..-2]
  result += people
  result += "――という感じの客がいるようだ。"
  result += "どうにも、嫌な予感がする。"

  return result
end