Module: Vocab
- Defined in:
- lib/rgss3_default_scripts/Vocab.rb
Overview
** Vocab
This module defines terms and . It defines some data as constant
variables. Terms in the database are obtained from $data_system.
Constant Summary collapse
- ShopBuy =
Shop Screen
"Buy"- ShopSell =
"Sell"- ShopCancel =
"Cancel"- Possession =
"Possession"- ExpTotal =
Status Screen
"Current Exp"- ExpNext =
"To Next %s"- SaveMessage =
Save/Load Screen
"Save to which file?"- LoadMessage =
"Load which file?"- File =
"File"- PartyName =
Display when there are multiple members
"%s's Party"- Emerge =
Basic Battle Messages
"%s emerged!"- Preemptive =
"%s got the upper hand!"- Surprise =
"%s was surprised!"- EscapeStart =
"%s has started to escape!"- EscapeFailure =
"However, it was unable to escape!"- Victory =
Battle Ending Messages
"%s was victorious!"- Defeat =
"%s was defeated."- ObtainExp =
"%s EXP received!"- ObtainGold =
"%s\\G found!"- ObtainItem =
"%s found!"- LevelUp =
"%s is now %s %s!"- ObtainSkill =
"%s learned!"- UseItem =
Use Item
"%s uses %s!"- CriticalToEnemy =
Critical Hit
"An excellent hit!!"- CriticalToActor =
"A painful blow!!"- ActorDamage =
Results for Actions on Actors
"%s took %s damage!"- ActorRecovery =
"%s recovered %s %s!"- ActorGain =
"%s gained %s %s!"- ActorLoss =
"%s lost %s %s!"- ActorDrain =
"%s was drained of %s %s!"- ActorNoDamage =
"%s took no damage!"- ActorNoHit =
"Miss! %s took no damage!"- EnemyDamage =
Results for Actions on Enemies
"%s took %s damage!"- EnemyRecovery =
"%s recovered %s %s!"- EnemyGain =
"%s gained %s %s!"- EnemyLoss =
"%s lost %s %s!"- EnemyDrain =
"Drained %s %s from %s!"- EnemyNoDamage =
"%s took no damage!"- EnemyNoHit =
"Missed! %s took no damage!"- Evasion =
Evasion/Reflection
"%s evaded the attack!"- MagicEvasion =
"%s nullified the magic!"- MagicReflection =
"%s reflected the magic!"- CounterAttack =
"%s counterattacked!"- Substitute =
"%s protected %s!"- BuffAdd =
Buff/Debuff
"%s's %s went up!"- DebuffAdd =
"%s's %s went down!"- BuffRemove =
"%s's %s returned to normal."- ActionFailure =
Skill or Item Had No Effect
"There was no effect on %s!"- PlayerPosError =
Error Message
"Player's starting position is not set."- EventOverflow =
"Common event calls exceeded the limit."
Class Method Summary collapse
-
.armor ⇒ Object
Armor.
-
.attack ⇒ Object
Attack.
-
.basic(basic_id) ⇒ Object
Basic Status.
-
.cancel ⇒ Object
Cancel.
-
.clear ⇒ Object
Remove All.
-
.command(command_id) ⇒ Object
Commands.
-
.continue ⇒ Object
Continue.
-
.currency_unit ⇒ Object
Currency Unit.
-
.equip ⇒ Object
Equip.
-
.equip2 ⇒ Object
Change Equipment.
-
.escape ⇒ Object
Escape.
-
.etype(etype_id) ⇒ Object
Equip Type.
-
.fight ⇒ Object
Fight.
-
.formation ⇒ Object
Change Formation.
-
.game_end ⇒ Object
Exit Game.
-
.guard ⇒ Object
Guard.
-
.hp ⇒ Object
HP.
-
.hp_a ⇒ Object
HP (short).
-
.item ⇒ Object
Items.
-
.key_item ⇒ Object
Key Items.
-
.level ⇒ Object
————————————————————————–.
-
.level_a ⇒ Object
Level (short).
-
.mp ⇒ Object
MP.
-
.mp_a ⇒ Object
MP (short).
-
.new_game ⇒ Object
New Game.
-
.optimize ⇒ Object
Ultimate Equipment.
-
.param(param_id) ⇒ Object
Parameters.
-
.save ⇒ Object
Save.
-
.shutdown ⇒ Object
Shut Down.
-
.skill ⇒ Object
Skills.
-
.status ⇒ Object
Status.
-
.to_title ⇒ Object
Go to Title.
-
.tp ⇒ Object
TP.
-
.tp_a ⇒ Object
TP (short).
-
.weapon ⇒ Object
Weapons.
Class Method Details
.armor ⇒ Object
Armor
134 |
# File 'lib/rgss3_default_scripts/Vocab.rb', line 134 def self.armor; command(13); end |
.attack ⇒ Object
Attack
124 |
# File 'lib/rgss3_default_scripts/Vocab.rb', line 124 def self.attack; command(2); end |
.basic(basic_id) ⇒ Object
Basic Status
89 90 91 |
# File 'lib/rgss3_default_scripts/Vocab.rb', line 89 def self.basic(basic_id) $data_system.terms.basic[basic_id] end |
.cancel ⇒ Object
Cancel
143 |
# File 'lib/rgss3_default_scripts/Vocab.rb', line 143 def self.cancel; command(22); end |
.clear ⇒ Object
Remove All
138 |
# File 'lib/rgss3_default_scripts/Vocab.rb', line 138 def self.clear; command(17); end |
.command(command_id) ⇒ Object
Commands
104 105 106 |
# File 'lib/rgss3_default_scripts/Vocab.rb', line 104 def self.command(command_id) $data_system.terms.commands[command_id] end |
.continue ⇒ Object
Continue
140 |
# File 'lib/rgss3_default_scripts/Vocab.rb', line 140 def self.continue; command(19); end |
.currency_unit ⇒ Object
Currency Unit
109 110 111 |
# File 'lib/rgss3_default_scripts/Vocab.rb', line 109 def self.currency_unit $data_system.currency_unit end |
.equip ⇒ Object
Equip
128 |
# File 'lib/rgss3_default_scripts/Vocab.rb', line 128 def self.equip; command(6); end |
.equip2 ⇒ Object
Change Equipment
136 |
# File 'lib/rgss3_default_scripts/Vocab.rb', line 136 def self.equip2; command(15); end |
.escape ⇒ Object
Escape
123 |
# File 'lib/rgss3_default_scripts/Vocab.rb', line 123 def self.escape; command(1); end |
.etype(etype_id) ⇒ Object
Equip Type
99 100 101 |
# File 'lib/rgss3_default_scripts/Vocab.rb', line 99 def self.etype(etype_id) $data_system.terms.etypes[etype_id] end |
.fight ⇒ Object
Fight
122 |
# File 'lib/rgss3_default_scripts/Vocab.rb', line 122 def self.fight; command(0); end |
.formation ⇒ Object
Change Formation
130 |
# File 'lib/rgss3_default_scripts/Vocab.rb', line 130 def self.formation; command(8); end |
.game_end ⇒ Object
Exit Game
132 |
# File 'lib/rgss3_default_scripts/Vocab.rb', line 132 def self.game_end; command(10); end |
.guard ⇒ Object
Guard
125 |
# File 'lib/rgss3_default_scripts/Vocab.rb', line 125 def self.guard; command(3); end |
.hp ⇒ Object
HP
116 |
# File 'lib/rgss3_default_scripts/Vocab.rb', line 116 def self.hp; basic(2); end |
.hp_a ⇒ Object
HP (short)
117 |
# File 'lib/rgss3_default_scripts/Vocab.rb', line 117 def self.hp_a; basic(3); end |
.item ⇒ Object
Items
126 |
# File 'lib/rgss3_default_scripts/Vocab.rb', line 126 def self.item; command(4); end |
.key_item ⇒ Object
Key Items
135 |
# File 'lib/rgss3_default_scripts/Vocab.rb', line 135 def self.key_item; command(14); end |
.level ⇒ Object
114 |
# File 'lib/rgss3_default_scripts/Vocab.rb', line 114 def self.level; basic(0); end |
.level_a ⇒ Object
Level (short)
115 |
# File 'lib/rgss3_default_scripts/Vocab.rb', line 115 def self.level_a; basic(1); end |
.mp ⇒ Object
MP
118 |
# File 'lib/rgss3_default_scripts/Vocab.rb', line 118 def self.mp; basic(4); end |
.mp_a ⇒ Object
MP (short)
119 |
# File 'lib/rgss3_default_scripts/Vocab.rb', line 119 def self.mp_a; basic(5); end |
.new_game ⇒ Object
New Game
139 |
# File 'lib/rgss3_default_scripts/Vocab.rb', line 139 def self.new_game; command(18); end |
.optimize ⇒ Object
Ultimate Equipment
137 |
# File 'lib/rgss3_default_scripts/Vocab.rb', line 137 def self.optimize; command(16); end |
.param(param_id) ⇒ Object
Parameters
94 95 96 |
# File 'lib/rgss3_default_scripts/Vocab.rb', line 94 def self.param(param_id) $data_system.terms.params[param_id] end |
.save ⇒ Object
Save
131 |
# File 'lib/rgss3_default_scripts/Vocab.rb', line 131 def self.save; command(9); end |
.shutdown ⇒ Object
Shut Down
141 |
# File 'lib/rgss3_default_scripts/Vocab.rb', line 141 def self.shutdown; command(20); end |
.skill ⇒ Object
Skills
127 |
# File 'lib/rgss3_default_scripts/Vocab.rb', line 127 def self.skill; command(5); end |
.status ⇒ Object
Status
129 |
# File 'lib/rgss3_default_scripts/Vocab.rb', line 129 def self.status; command(7); end |
.to_title ⇒ Object
Go to Title
142 |
# File 'lib/rgss3_default_scripts/Vocab.rb', line 142 def self.to_title; command(21); end |
.tp ⇒ Object
TP
120 |
# File 'lib/rgss3_default_scripts/Vocab.rb', line 120 def self.tp; basic(6); end |
.tp_a ⇒ Object
TP (short)
121 |
# File 'lib/rgss3_default_scripts/Vocab.rb', line 121 def self.tp_a; basic(7); end |
.weapon ⇒ Object
Weapons
133 |
# File 'lib/rgss3_default_scripts/Vocab.rb', line 133 def self.weapon; command(12); end |