145 lines
5.4 KiB
Ruby
145 lines
5.4 KiB
Ruby
#==============================================================================
|
|
# ■ Vocab
|
|
#------------------------------------------------------------------------------
|
|
# 用語とメッセージを定義するモジュールです。定数でメッセージなどを直接定義す
|
|
# るほか、グローバル変数 $data_system から用語データを取得します。
|
|
#==============================================================================
|
|
|
|
module Vocab
|
|
|
|
# Shop screen
|
|
ShopBuy = "Buy"
|
|
ShopSell = "Sell"
|
|
ShopCancel = "Cancel"
|
|
Possession = "Number Owned"
|
|
|
|
# Status screen
|
|
ExpTotal = "Current Experience"
|
|
ExpNext = "Until next %s"
|
|
|
|
# Save/Load screen
|
|
SaveMessage = "Would you like to save? Files 33-34 are autosave, be careful."
|
|
LoadMessage = "Would you like to load? Files 33-34 are autosave, be careful."
|
|
File = "File"
|
|
|
|
# For multiple members
|
|
PartyName = "%s and friends"
|
|
|
|
# Battle basic messages
|
|
Emerge = "%s appeared!"
|
|
Preemptive = "%s got the jump!"
|
|
Surprise = "%s were ambushed!"
|
|
EscapeStart = "%s ran away!"
|
|
EscapeFailure = "But couldn't escape!"
|
|
|
|
# Battle end messages
|
|
Victory = "%s's victory!"
|
|
Defeat = "%s was defeated."
|
|
ObtainExp = "Gained %s experience points!"
|
|
ObtainGold = "Got %s\\G money!"
|
|
ObtainItem = "Obtained %s!"
|
|
LevelUp = "%s leveled up to %s %s!"
|
|
ObtainSkill = "Learned %s!"
|
|
|
|
# Item usage
|
|
UseItem = "%s used %s!"
|
|
|
|
# Critical hit
|
|
CriticalToEnemy = "A critical hit!!"
|
|
CriticalToActor = "A crushing blow!!"
|
|
|
|
# For actor's action results
|
|
ActorDamage = "%s took %s damage!"
|
|
ActorRecovery = "%s's %s was recovered by %s!"
|
|
ActorGain = "%s's %s increased by %s!"
|
|
ActorLoss = "%s's %s decreased by %s!"
|
|
ActorDrain = "%s had %s drained by %s!"
|
|
ActorNoDamage = "%s took no damage!"
|
|
ActorNoHit = "Miss! %s took no damage!"
|
|
|
|
# For enemy's action results
|
|
EnemyDamage = "Dealt %s damage to %s!"
|
|
EnemyRecovery = "%s's %s was recovered by %s!"
|
|
EnemyGain = "%s's %s increased by %s!"
|
|
EnemyLoss = "%s's %s decreased by %s!"
|
|
EnemyDrain = "Drained %s's %s by %s!"
|
|
EnemyNoDamage = "Couldn't deal damage to %s!"
|
|
EnemyNoHit = "Miss! Couldn't deal damage to %s!"
|
|
|
|
# Evasion/Reflection
|
|
Evasion = "%s evaded the attack!"
|
|
MagicEvasion = "%s dispelled the magic!"
|
|
MagicReflection = "%s reflected the magic!"
|
|
CounterAttack = "%s counterattacked!"
|
|
Substitute = "%s protected %s!"
|
|
|
|
# Buff/Debuff
|
|
BuffAdd = "%s's %s increased!"
|
|
DebuffAdd = "%s's %s decreased!"
|
|
BuffRemove = "%s's %s returned to normal!"
|
|
|
|
# No effect from skill or item
|
|
ActionFailure = "It didn't work on %s!"
|
|
|
|
# Error messages
|
|
PlayerPosError = "The player's starting position is not set."
|
|
EventOverflow = "Common event call limit exceeded."
|
|
|
|
# 基本ステータス
|
|
def self.basic(basic_id)
|
|
$data_system.terms.basic[basic_id]
|
|
end
|
|
|
|
# 能力値
|
|
def self.param(param_id)
|
|
$data_system.terms.params[param_id]
|
|
end
|
|
|
|
# 装備タイプ
|
|
def self.etype(etype_id)
|
|
$data_system.terms.etypes[etype_id]
|
|
end
|
|
|
|
# コマンド
|
|
def self.command(command_id)
|
|
$data_system.terms.commands[command_id]
|
|
end
|
|
|
|
# 通貨単位
|
|
def self.currency_unit
|
|
$data_system.currency_unit
|
|
end
|
|
|
|
#--------------------------------------------------------------------------
|
|
def self.level; basic(0); end # レベル
|
|
def self.level_a; basic(1); end # レベル (短)
|
|
def self.hp; basic(2); end # HP
|
|
def self.hp_a; basic(3); end # HP (短)
|
|
def self.mp; basic(4); end # MP
|
|
def self.mp_a; basic(5); end # MP (短)
|
|
def self.tp; basic(6); end # TP
|
|
def self.tp_a; basic(7); end # TP (短)
|
|
def self.fight; command(0); end # 戦う
|
|
def self.escape; command(1); end # 逃げる
|
|
def self.attack; command(2); end # 攻撃
|
|
def self.guard; command(3)+"#{$game_variables[67]}"; end#def self.guard; command(3); end # 防御
|
|
def self.item; command(4); end # アイテム
|
|
def self.skill; command(5); end # スキル
|
|
def self.equip; command(6); end # 装備
|
|
def self.status; command(7); end # ステータス
|
|
def self.formation; command(8); end # 並び替え
|
|
def self.save; command(9); end # セーブ
|
|
def self.game_end; command(10); end # ゲーム終了
|
|
def self.weapon; command(12); end # 武器
|
|
def self.armor; command(13); end # 防具
|
|
def self.key_item; command(14); end # 大事なもの
|
|
def self.equip2; command(15); end # 装備変更
|
|
def self.optimize; command(16); end # 最強装備
|
|
def self.clear; command(17); end # 全て外す
|
|
def self.new_game; command(18); end # ニューゲーム
|
|
def self.continue; command(19); end # コンティニュー
|
|
def self.shutdown; command(20); end # シャットダウン
|
|
def self.to_title; command(21); end # タイトルへ
|
|
def self.cancel; command(22); end # やめる
|
|
#--------------------------------------------------------------------------
|
|
end
|