19 lines
495 B
Plaintext
19 lines
495 B
Plaintext
#ifndef _mr_auto_quest_actions_
|
|
#define _mr_auto_quest_actions_
|
|
|
|
#include "${LavishScript.HomeDirectory}/Scripts/mr/auto_quest/actions/npc_dialog_action.iss"
|
|
#include "${LavishScript.HomeDirectory}/Scripts/mr/auto_quest/actions/run_path_action.iss"
|
|
|
|
function RunAction(string actionType, jsonvalue params)
|
|
{
|
|
if ${actionType.Equal["npc_dialog"]}
|
|
{
|
|
call npc_dialog_action params
|
|
}
|
|
if ${actionType.Equal["run_path"]}
|
|
{
|
|
call run_path_action params
|
|
}
|
|
}
|
|
|
|
#endif |