chore: move argument parsers into a single folder
This commit is contained in:
parent
f574bcd362
commit
e3957edfa1
9 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue