feat(game): persist per-character story flags and vars
This commit is contained in:
1 parent
4879082eb0
commit
023f4eb305
13 files changed
+347
-2
No files matched your search
@@ -53,6 +53,18 @@ jteCodegen {
|
||||
inputDirs.from(sourceDecompDir)
|
||||
extraArgs.set(listOf(sourceDecompDir.asFile.absolutePath))
|
||||
}
|
||||
// Per region flag and var key constants for scripts. Names come from each decomp, so this is by
|
||||
// region like maps. The generic story store in server.game does not depend on these, they are the
|
||||
// GBA adapter that gives ported scripts readable keys.
|
||||
register("story") {
|
||||
mainClass.set("de.fiereu.openmmo.codegen.story.Main")
|
||||
inputDirs.from(
|
||||
regionSources.values.map { rootProject.layout.projectDirectory.dir("decomp/$it") })
|
||||
extraArgs.set(
|
||||
regionSources.map { (region, decomp) ->
|
||||
"$region|${rootProject.layout.projectDirectory.dir("decomp/$decomp").asFile.absolutePath}"
|
||||
})
|
||||
}
|
||||
register("typechart") {
|
||||
mainClass.set("de.fiereu.openmmo.codegen.typechart.Main")
|
||||
inputDirs.from(sourceDecompDir)
|
||||
|
||||
Reference in new issue
Block a user