Module: Vocab

Defined in:
Vocab.rb

Overview

** Vocab


This module defines terms and messages. It defines some data as constant

variables. Terms in the database are obtained from $data_system.

Constant Summary

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)

Class Method Details

+ (Object) armor

Armor



134
# File 'Vocab.rb', line 134

def self.armor;       command(13);  end

+ (Object) attack

Attack



124
# File 'Vocab.rb', line 124

def self.attack;      command(2);   end

+ (Object) basic(basic_id)

Basic Status



89
90
91
# File 'Vocab.rb', line 89

def self.basic(basic_id)
  $data_system.terms.basic[basic_id]
end

+ (Object) cancel

Cancel



143
# File 'Vocab.rb', line 143

def self.cancel;      command(22);  end

+ (Object) clear

Remove All



138
# File 'Vocab.rb', line 138

def self.clear;       command(17);  end

+ (Object) command(command_id)

Commands



104
105
106
# File 'Vocab.rb', line 104

def self.command(command_id)
  $data_system.terms.commands[command_id]
end

+ (Object) continue

Continue



140
# File 'Vocab.rb', line 140

def self.continue;    command(19);  end

+ (Object) currency_unit

Currency Unit



109
110
111
# File 'Vocab.rb', line 109

def self.currency_unit
  $data_system.currency_unit
end

+ (Object) equip

Equip



128
# File 'Vocab.rb', line 128

def self.equip;       command(6);   end

+ (Object) equip2

Change Equipment



136
# File 'Vocab.rb', line 136

def self.equip2;      command(15);  end

+ (Object) escape

Escape



123
# File 'Vocab.rb', line 123

def self.escape;      command(1);   end

+ (Object) etype(etype_id)

Equip Type



99
100
101
# File 'Vocab.rb', line 99

def self.etype(etype_id)
  $data_system.terms.etypes[etype_id]
end

+ (Object) fight

Fight



122
# File 'Vocab.rb', line 122

def self.fight;       command(0);   end

+ (Object) formation

Change Formation



130
# File 'Vocab.rb', line 130

def self.formation;   command(8);   end

+ (Object) game_end

Exit Game



132
# File 'Vocab.rb', line 132

def self.game_end;    command(10);  end

+ (Object) guard

Guard



125
# File 'Vocab.rb', line 125

def self.guard;       command(3);   end

+ (Object) hp

HP



116
# File 'Vocab.rb', line 116

def self.hp;          basic(2);     end

+ (Object) hp_a

HP (short)



117
# File 'Vocab.rb', line 117

def self.hp_a;        basic(3);     end

+ (Object) item

Items



126
# File 'Vocab.rb', line 126

def self.item;        command(4);   end

+ (Object) key_item

Key Items



135
# File 'Vocab.rb', line 135

def self.key_item;    command(14);  end

+ (Object) level




114
# File 'Vocab.rb', line 114

def self.level;       basic(0);     end

+ (Object) level_a

Level (short)



115
# File 'Vocab.rb', line 115

def self.level_a;     basic(1);     end

+ (Object) mp

MP



118
# File 'Vocab.rb', line 118

def self.mp;          basic(4);     end

+ (Object) mp_a

MP (short)



119
# File 'Vocab.rb', line 119

def self.mp_a;        basic(5);     end

+ (Object) new_game

New Game



139
# File 'Vocab.rb', line 139

def self.new_game;    command(18);  end

+ (Object) optimize

Ultimate Equipment



137
# File 'Vocab.rb', line 137

def self.optimize;    command(16);  end

+ (Object) param(param_id)

Parameters



94
95
96
# File 'Vocab.rb', line 94

def self.param(param_id)
  $data_system.terms.params[param_id]
end

+ (Object) save

Save



131
# File 'Vocab.rb', line 131

def self.save;        command(9);   end

+ (Object) shutdown

Shut Down



141
# File 'Vocab.rb', line 141

def self.shutdown;    command(20);  end

+ (Object) skill

Skills



127
# File 'Vocab.rb', line 127

def self.skill;       command(5);   end

+ (Object) status

Status



129
# File 'Vocab.rb', line 129

def self.status;      command(7);   end

+ (Object) to_title

Go to Title



142
# File 'Vocab.rb', line 142

def self.to_title;    command(21);  end

+ (Object) tp

TP



120
# File 'Vocab.rb', line 120

def self.tp;          basic(6);     end

+ (Object) tp_a

TP (short)



121
# File 'Vocab.rb', line 121

def self.tp_a;        basic(7);     end

+ (Object) weapon

Weapons



133
# File 'Vocab.rb', line 133

def self.weapon;      command(12);  end