Module: Lich::Gemstone::Currency
- Defined in:
- documented/gemstone/currency.rb
Overview
Access to the player's current currency and scrip balances.
All methods query the live character data maintained by the Lich engine. Returns are [Integer] or [nil] if the data is not yet available.
Class Method Summary collapse
-
.aevit ⇒ Integer?
Returns the player's current Aevit balance.
-
.blackscrip ⇒ Integer?
Returns the player's current Blackscrip balance.
-
.bloodscrip ⇒ Integer?
Returns the player's current Bloodscrip balance.
-
.elans ⇒ Integer?
Returns the player's current Elans balance.
-
.ethereal_scrip ⇒ Integer?
Returns the player's current Ethereal Scrip balance.
-
.gemstone_dust ⇒ Integer?
Returns the player's current Gemstone Dust balance.
-
.gigas_artifact_fragments ⇒ Integer?
Returns the player's current Gigas Artifact Fragments balance.
-
.gold ⇒ Integer?
Returns the player's current gold balance.
-
.raikhen ⇒ Integer?
Returns the player's current Raikhen balance.
-
.redsteel_marks ⇒ Integer?
Returns the player's current Redsteel Marks balance.
-
.silver ⇒ Integer?
Returns the player's current silver balance.
-
.silver_container ⇒ String?
Returns the item noun of the container holding the player's silver.
-
.soul_shards ⇒ Integer?
Returns the player's current Soul Shards balance.
-
.tickets ⇒ Integer?
Returns the player's current Tickets balance.
Class Method Details
.aevit ⇒ Integer?
Returns the player's current Aevit balance.
88 89 90 |
# File 'documented/gemstone/currency.rb', line 88 def self.aevit Lich::Gemstone::Infomon.get('currency.aevit') end |
.blackscrip ⇒ Integer?
Returns the player's current Blackscrip balance.
46 47 48 |
# File 'documented/gemstone/currency.rb', line 46 def self.blackscrip Lich::Gemstone::Infomon.get('currency.blackscrip') end |
.bloodscrip ⇒ Integer?
Returns the player's current Bloodscrip balance.
53 54 55 |
# File 'documented/gemstone/currency.rb', line 53 def self.bloodscrip Lich::Gemstone::Infomon.get('currency.bloodscrip') end |
.elans ⇒ Integer?
Returns the player's current Elans balance.
74 75 76 |
# File 'documented/gemstone/currency.rb', line 74 def self.elans Lich::Gemstone::Infomon.get('currency.elans') end |
.ethereal_scrip ⇒ Integer?
Returns the player's current Ethereal Scrip balance.
60 61 62 |
# File 'documented/gemstone/currency.rb', line 60 def self.ethereal_scrip Lich::Gemstone::Infomon.get('currency.ethereal_scrip') end |
.gemstone_dust ⇒ Integer?
Returns the player's current Gemstone Dust balance.
111 112 113 |
# File 'documented/gemstone/currency.rb', line 111 def self.gemstone_dust Lich::Gemstone::Infomon.get('currency.gemstone_dust') end |
.gigas_artifact_fragments ⇒ Integer?
Returns the player's current Gigas Artifact Fragments balance.
104 105 106 |
# File 'documented/gemstone/currency.rb', line 104 def self.gigas_artifact_fragments Lich::Gemstone::Infomon.get('currency.gigas_artifact_fragments') end |
.gold ⇒ Integer?
Returns the player's current gold balance.
97 98 99 |
# File 'documented/gemstone/currency.rb', line 97 def self.gold Lich::Gemstone::Infomon.get('currency.gold') end |
.raikhen ⇒ Integer?
Returns the player's current Raikhen balance.
67 68 69 |
# File 'documented/gemstone/currency.rb', line 67 def self.raikhen Lich::Gemstone::Infomon.get('currency.raikhen') end |
.redsteel_marks ⇒ Integer?
Returns the player's current Redsteel Marks balance.
32 33 34 |
# File 'documented/gemstone/currency.rb', line 32 def self.redsteel_marks Lich::Gemstone::Infomon.get('currency.redsteel_marks') end |
.silver ⇒ Integer?
Returns the player's current silver balance.
16 17 18 |
# File 'documented/gemstone/currency.rb', line 16 def self.silver Lich::Gemstone::Infomon.get('currency.silver') end |
.silver_container ⇒ String?
Returns the item noun of the container holding the player's silver.
23 24 25 |
# File 'documented/gemstone/currency.rb', line 23 def self.silver_container Lich::Gemstone::Infomon.get('currency.silver_container') end |