public FunctionAction getFunctionAction(String name) {
if (name.equals("abort-to-main-window")) {
return new AbortToMainWindowAction(civQuest);
} else if (name.equals("compute-random-map")) {
return new ComputeRandomMapAction(civQuest);
} else if (name.equals("add-nation")) {
return new AddNationAction(this.registry, this.editor);
} else {
return null;
}