Chronicles of Darkness grimoire-Artifact PDF https://git.lain.church/TheStranjer/ShardsOfPower
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

25 lines
529B

  1. class Tilt
  2. attr_accessor :name, :rules_text, :effect, :causing, :ending, :environmental, :authors
  3. def initialize(name:, rules_text:, effect:, causing:, ending:, environmental: false , authors:)
  4. @name = name
  5. @rules_text = rules_text
  6. @effect = effect
  7. @causing = causing
  8. @ending = ending
  9. @environmental = environmental
  10. @authors = authors
  11. end
  12. def full_title
  13. if environmental
  14. "#{name} (Environmental)"
  15. else
  16. name
  17. end
  18. end
  19. def environmental?
  20. environmental
  21. end
  22. end