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
function EventUtils.getStepStructure(stepName)
local stepTypeList = require "game.events.arguments"
local stepTypeList = require "datas.parsers.eventstep"
return stepTypeList[stepName]
end

View file

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

View file

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

View file

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