Class: Studio::Quest
- Defined in:
- scripts/00800 Studio/00001 Data/00051 Quest.rb
Overview
Data class describing an Quest
Defined Under Namespace
Instance Attribute Summary collapse
-
#db_symbol ⇒ Symbol
readonly
db_symbol of the quest.
-
#earnings ⇒ Array<Earning>
readonly
List of all the earning from completing the quest.
-
#id ⇒ Integer
readonly
ID of the quest.
-
#is_primary ⇒ Boolean
readonly
Is the quest primary.
-
#objectives ⇒ Array<Objective>
readonly
List of objective to complete the quest.
-
#resolution ⇒ Symbol
readonly
Kind of quest resolution process (:default or :progressive).
Instance Method Summary collapse
-
#description ⇒ String
(also: #descr)
Get the text description of the ability.
-
#name ⇒ String
Get the text name of the ability.
Instance Attribute Details
#db_symbol ⇒ Symbol (readonly)
db_symbol of the quest
10 11 12 |
# File 'scripts/00800 Studio/00001 Data/00051 Quest.rb', line 10 def db_symbol @db_symbol end |
#earnings ⇒ Array<Earning> (readonly)
List of all the earning from completing the quest
26 27 28 |
# File 'scripts/00800 Studio/00001 Data/00051 Quest.rb', line 26 def earnings @earnings end |
#id ⇒ Integer (readonly)
ID of the quest
6 7 8 |
# File 'scripts/00800 Studio/00001 Data/00051 Quest.rb', line 6 def id @id end |
#is_primary ⇒ Boolean (readonly)
Is the quest primary
14 15 16 |
# File 'scripts/00800 Studio/00001 Data/00051 Quest.rb', line 14 def is_primary @is_primary end |
#objectives ⇒ Array<Objective> (readonly)
List of objective to complete the quest
22 23 24 |
# File 'scripts/00800 Studio/00001 Data/00051 Quest.rb', line 22 def objectives @objectives end |
#resolution ⇒ Symbol (readonly)
Kind of quest resolution process (:default or :progressive)
18 19 20 |
# File 'scripts/00800 Studio/00001 Data/00051 Quest.rb', line 18 def resolution @resolution end |
Instance Method Details
#description ⇒ String Also known as: descr
Get the text description of the ability
30 31 32 |
# File 'scripts/00800 Studio/00001 Data/00051 Quest.rb', line 30 def description return text_get(46, @id) end |
#name ⇒ String
Get the text name of the ability
37 38 39 |
# File 'scripts/00800 Studio/00001 Data/00051 Quest.rb', line 37 def name return text_get(45, @id) end |