chore: move argument parsers into a single folder

This commit is contained in:
Kazhnuz 2021-05-15 21:52:05 +02:00
parent f574bcd362
commit e3957edfa1
9 changed files with 5 additions and 5 deletions

View file

@ -3,7 +3,7 @@ local EventUtils = {}
-- steps utils -- steps utils
function EventUtils.getStepStructure(stepName) function EventUtils.getStepStructure(stepName)
local stepTypeList = require "game.events.arguments" local stepTypeList = require "datas.parsers.eventstep"
return stepTypeList[stepName] return stepTypeList[stepName]
end end

View file

@ -3,7 +3,7 @@ local BattleUtils = {}
-- ENNEMY FUNCTIONS -- ENNEMY FUNCTIONS
function BattleUtils.getEnnemyTypeStructure(type) function BattleUtils.getEnnemyTypeStructure(type)
local typeList = require "game.utils.battle.arguments" local typeList = require "datas.parsers.ennemytype"
return typeList[type] return typeList[type]
end end

View file

@ -3,7 +3,7 @@ local ChoregraphyUtils = {}
-- steps utils -- steps utils
function ChoregraphyUtils.getStepStructure(stepName) function ChoregraphyUtils.getStepStructure(stepName)
local stepTypeList = require "game.utils.choregraphy.arguments" local stepTypeList = require "datas.parsers.choregraphystep"
return stepTypeList[stepName] return stepTypeList[stepName]
end end
@ -47,7 +47,7 @@ end
-- QTE utils -- QTE utils
function ChoregraphyUtils.getQteStructure(qteName) function ChoregraphyUtils.getQteStructure(qteName)
local stepTypeList = require "game.utils.choregraphy.qte" local stepTypeList = require "datas.parsers.qtesteps"
return stepTypeList[qteName] return stepTypeList[qteName]
end end

View file

@ -3,7 +3,7 @@ local ItemUtils = {}
-- VALIDATION FUNCTIONS -- VALIDATION FUNCTIONS
function ItemUtils.getItemEffectStructure(type) function ItemUtils.getItemEffectStructure(type)
local typeList = require "game.utils.items.arguments" local typeList = require "datas.parsers.itemeffects"
return typeList[type] return typeList[type]
end end