#==============================================================================
# ■ Interpreter (分割定义 1)
#------------------------------------------------------------------------------
# 执行事件命令的解释器。本类在 Game_System 类
# 与 Game_Event 类的内部使用。
#==============================================================================
class Interpreter
#--------------------------------------------------------------------------
# ● 初始化标志
# depth : 事件的深度
# main : 主标志
#--------------------------------------------------------------------------
def initialize(depth = 0, main = false)
@depth = depth
@main = main
# 深度超过 100 级
if depth > 100
print("调用公用事件超过了限制。")
exit
end
# 清除注释器的内部状态
clear
end
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |