feat(game): add a /story command that jumps to a Kanto story checkpoint (#138)
* feat(game): add a /story command that jumps to a kanto story checkpoint * feat(game): add a /story reset that starts the region over * fix(game): stop a story jump running over a battle, a dialog or the pc * chore(game): cut the story command comments back * test(game): drop the seed starter expectation the sql seed no longer meets
This commit is contained in:
1 parent
9215a0862a
commit
225371fccb
15 files changed
+647
-36
No files matched your search
@@ -4,6 +4,8 @@ enum class Region(val wireValue: Byte) {
|
||||
KANTO(0),
|
||||
HOENN(1);
|
||||
|
||||
val displayName: String = name.lowercase().replaceFirstChar { it.uppercase() }
|
||||
|
||||
companion object {
|
||||
fun byId(id: Int): Region? = entries.find { it.wireValue.toInt() == id }
|
||||
|
||||
|
||||
Reference in new issue
Block a user