Chronicles of Darkness grimoire-Artifact PDF https://git.lain.church/TheStranjer/ShardsOfPower
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 line
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