赞 | 0 |
VIP | 1 |
好人卡 | 3 |
积分 | 1 |
经验 | 9739 |
最后登录 | 2014-6-3 |
在线时间 | 182 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 50
- 在线时间
- 182 小时
- 注册时间
- 2011-2-17
- 帖子
- 518
|
加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有帐号?注册会员
x
$data_actors = load_data("Data/Actors.rxdata") #——角色
$data_classes = load_data("Data/Classes.rxdata") #——职业
$data_skills = load_data("Data/Skills.rxdata") #——特技
$data_items = load_data("Data/Items.rxdata") #——物品
$data_weapons = load_data("Data/Weapons.rxdata") #——武器
$data_armors = load_data("Data/Armors.rxdata") #——防具
$data_enemies = load_data("Data/Enemies.rxdata") #——敌人
$data_troops = load_data("Data/Troops.rxdata") #——队伍
$data_states = load_data("Data/States.rxdata") #——状态
$data_animations = load_data("Data/Animations.rxdata") #——动画
$data_tilesets = load_data("Data/Tilesets.rxdata") #——图块
$data_common_events = load_data("Data/CommonEvents.rxdata") #——公共事件
$data_system = load_data("Data/System.rxdata") #——状态
for i in 1..1000 #——上限设置
$data_actors[i] = RPG::Actor.new if $data_actors[i]==nil
$data_classes[i] = RPG::Class.new if $data_classes[i]==nil
$data_skills[i] = RPG::Skill.new if $data_skills[i]==nil
$data_items[i] = RPG::Item.new if $data_items[i]==nil
$data_weapons[i] = RPG::Weapon.new if $data_weapons[i]==nil
$data_armors[i] = RPG::Armor.new if $data_armors[i]==nil
$data_enemies[i] = RPG::Enemy.new if $data_enemies[i]==nil
$data_troops[i] = RPG::Troop.new if $data_troops[i]==nil
$data_states[i] = RPG::State.new if $data_states[i]==nil
$data_animations[i] = RPG::Animation.new if $data_animations[i]==nil
$data_tilesets[i] = RPG::Tileset.new if $data_tilesets[i]==nil
$data_common_events[i] = RPG::CommonEvent.new if $data_common_events[i]==nil
$data_system.elements[i] = "" if $data_system.elements[i]==nil
end
save_data($data_actors,"Data/Actors.rxdata")
save_data($data_classes,"Data/Classes.rxdata")
save_data($data_skills,"Data/Skills.rxdata")
save_data($data_items,"Data/Items.rxdata")
save_data($data_weapons,"Data/Weapons.rxdata")
save_data($data_armors,"Data/Armors.rxdata")
save_data($data_enemies,"Data/Enemies.rxdata")
save_data($data_troops,"Data/Troops.rxdata")
save_data($data_states,"Data/States.rxdata")
save_data($data_animations,"Data/Animations.rxdata")
save_data($data_tilesets,"Data/Tilesets.rxdata")
save_data($data_common_events,"Data/CommonEvents.rxdata")
save_data($data_system,"Data/System.rxdata")
exit
这是个突破上限的脚本 但插入main前没有任何反应 |
|