diff --git a/cmd/horsegen/generate.go b/cmd/horsegen/generate.go index 94ccad3..065934d 100644 --- a/cmd/horsegen/generate.go +++ b/cmd/horsegen/generate.go @@ -223,6 +223,18 @@ func main() { Value2: s.ColumnInt32(4), } }) + convos := load(ctx1, loadgroup, db, "lobby conversations", conversationSQL, func(s *sqlite.Stmt) horse.Conversation { + return horse.Conversation{ + CharacterID: horse.CharacterID(s.ColumnInt(0)), + Number: s.ColumnInt(1), + Location: horse.LobbyConversationLocationID(s.ColumnInt(2)), + LocationName: horse.LobbyConversationLocationID(s.ColumnInt(2)).String(), + Chara1: horse.CharacterID(s.ColumnInt(3)), + Chara2: horse.CharacterID(s.ColumnInt(4)), + Chara3: horse.CharacterID(s.ColumnInt(5)), + ConditionType: s.ColumnInt(6), + } + }) if err := os.MkdirAll(filepath.Join(out, region), 0775); err != nil { slog.Error("create output dir", slog.Any("err", err)) @@ -239,6 +251,7 @@ func main() { writegroup.Go(func() error { return write(ctx2, out, region, "saddle.json", saddles) }) writegroup.Go(func() error { return write(ctx2, out, region, "scenario.json", scenarios) }) writegroup.Go(func() error { return write(ctx2, out, region, "spark.json", mergesparks(sparks, sparkeffs)) }) + writegroup.Go(func() error { return write(ctx2, out, region, "conversation.json", convos) }) if err := writegroup.Wait(); err != nil { slog.ErrorContext(ctx, "write", slog.Any("err", err)) os.Exit(1) @@ -268,6 +281,8 @@ var ( sparkSQL string //go:embed sql/spark-effect.sql sparkEffectSQL string + //go:embed sql/conversation.sql + conversationSQL string ) func load[T any](ctx context.Context, group *errgroup.Group, db *sqlitex.Pool, kind, sql string, row func(*sqlite.Stmt) T) func() ([]T, error) { diff --git a/cmd/horsegen/sql/conversation.sql b/cmd/horsegen/sql/conversation.sql new file mode 100644 index 0000000..965357a --- /dev/null +++ b/cmd/horsegen/sql/conversation.sql @@ -0,0 +1,10 @@ +SELECT + gallery_chara_id, + disp_order, + pos_id, + chara_id_1, + chara_id_2, + chara_id_3, + condition_type +FROM home_story_trigger +ORDER BY gallery_chara_id, disp_order diff --git a/global/conversation.json b/global/conversation.json new file mode 100644 index 0000000..afbd056 --- /dev/null +++ b/global/conversation.json @@ -0,0 +1,2274 @@ +[ + { + "chara_id": 1001, + "number": 1, + "location": 410, + "location_name": "center posters", + "chara_1": 1001, + "condition_type": 0 + }, + { + "chara_id": 1001, + "number": 2, + "location": 510, + "location_name": "left side school map", + "chara_1": 1001, + "condition_type": 1 + }, + { + "chara_id": 1001, + "number": 3, + "location": 310, + "location_name": "center back seat", + "chara_1": 1001, + "condition_type": 1 + }, + { + "chara_id": 1001, + "number": 4, + "location": 120, + "location_name": "right side front", + "chara_1": 1001, + "chara_2": 1002, + "condition_type": 2 + }, + { + "chara_id": 1001, + "number": 5, + "location": 520, + "location_name": "left side school map", + "chara_1": 1003, + "chara_2": 1001, + "condition_type": 3 + }, + { + "chara_id": 1001, + "number": 6, + "location": 430, + "location_name": "center posters", + "chara_1": 1001, + "chara_2": 1014, + "chara_3": 1011, + "condition_type": 1 + }, + { + "chara_id": 1002, + "number": 1, + "location": 310, + "location_name": "center back seat", + "chara_1": 1002, + "condition_type": 0 + }, + { + "chara_id": 1002, + "number": 2, + "location": 210, + "location_name": "left side table", + "chara_1": 1002, + "condition_type": 1 + }, + { + "chara_id": 1002, + "number": 3, + "location": 110, + "location_name": "right side front", + "chara_1": 1002, + "condition_type": 1 + }, + { + "chara_id": 1002, + "number": 4, + "location": 520, + "location_name": "left side school map", + "chara_1": 1010, + "chara_2": 1002, + "condition_type": 3 + }, + { + "chara_id": 1002, + "number": 5, + "location": 220, + "location_name": "left side table", + "chara_1": 1002, + "chara_2": 1018, + "condition_type": 2 + }, + { + "chara_id": 1003, + "number": 1, + "location": 310, + "location_name": "center back seat", + "chara_1": 1003, + "condition_type": 1 + }, + { + "chara_id": 1003, + "number": 2, + "location": 410, + "location_name": "center posters", + "chara_1": 1003, + "condition_type": 1 + }, + { + "chara_id": 1003, + "number": 3, + "location": 510, + "location_name": "left side school map", + "chara_1": 1003, + "condition_type": 0 + }, + { + "chara_id": 1003, + "number": 4, + "location": 220, + "location_name": "left side table", + "chara_1": 1003, + "chara_2": 1017, + "condition_type": 2 + }, + { + "chara_id": 1003, + "number": 5, + "location": 420, + "location_name": "center posters", + "chara_1": 1003, + "chara_2": 1013, + "condition_type": 2 + }, + { + "chara_id": 1004, + "number": 1, + "location": 310, + "location_name": "center back seat", + "chara_1": 1004, + "condition_type": 1 + }, + { + "chara_id": 1004, + "number": 2, + "location": 210, + "location_name": "left side table", + "chara_1": 1004, + "condition_type": 1 + }, + { + "chara_id": 1004, + "number": 3, + "location": 110, + "location_name": "right side front", + "chara_1": 1004, + "condition_type": 0 + }, + { + "chara_id": 1004, + "number": 4, + "location": 420, + "location_name": "center posters", + "chara_1": 1004, + "chara_2": 1017, + "condition_type": 2 + }, + { + "chara_id": 1004, + "number": 5, + "location": 120, + "location_name": "right side front", + "chara_1": 1011, + "chara_2": 1004, + "condition_type": 3 + }, + { + "chara_id": 1005, + "number": 1, + "location": 310, + "location_name": "center back seat", + "chara_1": 1005, + "condition_type": 0 + }, + { + "chara_id": 1005, + "number": 2, + "location": 510, + "location_name": "left side school map", + "chara_1": 1005, + "condition_type": 1 + }, + { + "chara_id": 1005, + "number": 3, + "location": 410, + "location_name": "center posters", + "chara_1": 1005, + "condition_type": 1 + }, + { + "chara_id": 1005, + "number": 4, + "location": 120, + "location_name": "right side front", + "chara_1": 1005, + "chara_2": 1012, + "condition_type": 2 + }, + { + "chara_id": 1005, + "number": 5, + "location": 520, + "location_name": "left side school map", + "chara_1": 1005, + "chara_2": 1032, + "condition_type": 2 + }, + { + "chara_id": 1006, + "number": 1, + "location": 110, + "location_name": "right side front", + "chara_1": 1006, + "condition_type": 0 + }, + { + "chara_id": 1006, + "number": 2, + "location": 310, + "location_name": "center back seat", + "chara_1": 1006, + "condition_type": 1 + }, + { + "chara_id": 1006, + "number": 3, + "location": 210, + "location_name": "left side table", + "chara_1": 1006, + "condition_type": 1 + }, + { + "chara_id": 1006, + "number": 4, + "location": 520, + "location_name": "left side school map", + "chara_1": 1053, + "chara_2": 1006, + "condition_type": 3 + }, + { + "chara_id": 1006, + "number": 5, + "location": 220, + "location_name": "left side table", + "chara_1": 1006, + "chara_2": 1021, + "condition_type": 2 + }, + { + "chara_id": 1007, + "number": 1, + "location": 510, + "location_name": "left side school map", + "chara_1": 1007, + "condition_type": 1 + }, + { + "chara_id": 1007, + "number": 2, + "location": 310, + "location_name": "center back seat", + "chara_1": 1007, + "condition_type": 1 + }, + { + "chara_id": 1007, + "number": 3, + "location": 410, + "location_name": "center posters", + "chara_1": 1007, + "condition_type": 0 + }, + { + "chara_id": 1007, + "number": 4, + "location": 220, + "location_name": "left side table", + "chara_1": 1007, + "chara_2": 1013, + "condition_type": 2 + }, + { + "chara_id": 1007, + "number": 5, + "location": 420, + "location_name": "center posters", + "chara_1": 1007, + "chara_2": 1048, + "condition_type": 2 + }, + { + "chara_id": 1008, + "number": 1, + "location": 310, + "location_name": "center back seat", + "chara_1": 1008, + "condition_type": 0 + }, + { + "chara_id": 1008, + "number": 2, + "location": 110, + "location_name": "right side front", + "chara_1": 1008, + "condition_type": 1 + }, + { + "chara_id": 1008, + "number": 3, + "location": 210, + "location_name": "left side table", + "chara_1": 1008, + "condition_type": 1 + }, + { + "chara_id": 1008, + "number": 4, + "location": 420, + "location_name": "center posters", + "chara_1": 1008, + "chara_2": 1009, + "condition_type": 2 + }, + { + "chara_id": 1008, + "number": 5, + "location": 120, + "location_name": "right side front", + "chara_1": 1008, + "chara_2": 1015, + "condition_type": 2 + }, + { + "chara_id": 1009, + "number": 1, + "location": 310, + "location_name": "center back seat", + "chara_1": 1009, + "condition_type": 0 + }, + { + "chara_id": 1009, + "number": 2, + "location": 510, + "location_name": "left side school map", + "chara_1": 1009, + "condition_type": 1 + }, + { + "chara_id": 1009, + "number": 3, + "location": 410, + "location_name": "center posters", + "chara_1": 1009, + "condition_type": 1 + }, + { + "chara_id": 1009, + "number": 4, + "location": 120, + "location_name": "right side front", + "chara_1": 1008, + "chara_2": 1009, + "condition_type": 3 + }, + { + "chara_id": 1009, + "number": 5, + "location": 520, + "location_name": "left side school map", + "chara_1": 1009, + "chara_2": 1032, + "condition_type": 2 + }, + { + "chara_id": 1010, + "number": 1, + "location": 110, + "location_name": "right side front", + "chara_1": 1010, + "condition_type": 0 + }, + { + "chara_id": 1010, + "number": 2, + "location": 310, + "location_name": "center back seat", + "chara_1": 1010, + "condition_type": 1 + }, + { + "chara_id": 1010, + "number": 3, + "location": 210, + "location_name": "left side table", + "chara_1": 1010, + "condition_type": 1 + }, + { + "chara_id": 1010, + "number": 4, + "location": 520, + "location_name": "left side school map", + "chara_1": 1010, + "chara_2": 1018, + "condition_type": 2 + }, + { + "chara_id": 1010, + "number": 5, + "location": 420, + "location_name": "center posters", + "chara_1": 1010, + "chara_2": 1042, + "condition_type": 2 + }, + { + "chara_id": 1011, + "number": 1, + "location": 310, + "location_name": "center back seat", + "chara_1": 1011, + "condition_type": 1 + }, + { + "chara_id": 1011, + "number": 2, + "location": 410, + "location_name": "center posters", + "chara_1": 1011, + "condition_type": 1 + }, + { + "chara_id": 1011, + "number": 3, + "location": 510, + "location_name": "left side school map", + "chara_1": 1011, + "condition_type": 0 + }, + { + "chara_id": 1011, + "number": 4, + "location": 220, + "location_name": "left side table", + "chara_1": 1014, + "chara_2": 1011, + "condition_type": 3 + }, + { + "chara_id": 1011, + "number": 5, + "location": 420, + "location_name": "center posters", + "chara_1": 1011, + "chara_2": 1010, + "condition_type": 2 + }, + { + "chara_id": 1012, + "number": 1, + "location": 310, + "location_name": "center back seat", + "chara_1": 1012, + "condition_type": 1 + }, + { + "chara_id": 1012, + "number": 2, + "location": 110, + "location_name": "right side front", + "chara_1": 1012, + "condition_type": 0 + }, + { + "chara_id": 1012, + "number": 3, + "location": 210, + "location_name": "left side table", + "chara_1": 1012, + "condition_type": 1 + }, + { + "chara_id": 1012, + "number": 4, + "location": 420, + "location_name": "center posters", + "chara_1": 1012, + "chara_2": 1016, + "condition_type": 2 + }, + { + "chara_id": 1012, + "number": 5, + "location": 120, + "location_name": "right side front", + "chara_1": 1012, + "chara_2": 1054, + "condition_type": 2 + }, + { + "chara_id": 1012, + "number": 6, + "location": 130, + "location_name": "right side front", + "chara_1": 1012, + "chara_2": 1016, + "chara_3": 1005, + "condition_type": 1 + }, + { + "chara_id": 1013, + "number": 1, + "location": 310, + "location_name": "center back seat", + "chara_1": 1013, + "condition_type": 0 + }, + { + "chara_id": 1013, + "number": 2, + "location": 510, + "location_name": "left side school map", + "chara_1": 1013, + "condition_type": 1 + }, + { + "chara_id": 1013, + "number": 3, + "location": 410, + "location_name": "center posters", + "chara_1": 1013, + "condition_type": 1 + }, + { + "chara_id": 1013, + "number": 4, + "location": 120, + "location_name": "right side front", + "chara_1": 1013, + "chara_2": 1030, + "condition_type": 2 + }, + { + "chara_id": 1013, + "number": 5, + "location": 520, + "location_name": "left side school map", + "chara_1": 1013, + "chara_2": 1027, + "condition_type": 2 + }, + { + "chara_id": 1013, + "number": 6, + "location": 430, + "location_name": "center posters", + "chara_1": 1013, + "chara_2": 1027, + "chara_3": 1059, + "condition_type": 1 + }, + { + "chara_id": 1014, + "number": 1, + "location": 310, + "location_name": "center back seat", + "chara_1": 1014, + "condition_type": 0 + }, + { + "chara_id": 1014, + "number": 2, + "location": 210, + "location_name": "left side table", + "chara_1": 1014, + "condition_type": 1 + }, + { + "chara_id": 1014, + "number": 3, + "location": 110, + "location_name": "right side front", + "chara_1": 1014, + "condition_type": 1 + }, + { + "chara_id": 1014, + "number": 4, + "location": 520, + "location_name": "left side school map", + "chara_1": 1011, + "chara_2": 1014, + "condition_type": 3 + }, + { + "chara_id": 1014, + "number": 5, + "location": 120, + "location_name": "right side front", + "chara_1": 1042, + "chara_2": 1014, + "condition_type": 3 + }, + { + "chara_id": 1015, + "number": 1, + "location": 510, + "location_name": "left side school map", + "chara_1": 1015, + "condition_type": 1 + }, + { + "chara_id": 1015, + "number": 2, + "location": 410, + "location_name": "center posters", + "chara_1": 1015, + "condition_type": 0 + }, + { + "chara_id": 1015, + "number": 3, + "location": 210, + "location_name": "left side table", + "chara_1": 1015, + "condition_type": 1 + }, + { + "chara_id": 1015, + "number": 4, + "location": 120, + "location_name": "right side front", + "chara_1": 1015, + "chara_2": 1058, + "condition_type": 2 + }, + { + "chara_id": 1015, + "number": 5, + "location": 130, + "location_name": "right side front", + "chara_1": 1058, + "chara_2": 1015, + "chara_3": 1019, + "condition_type": 3 + }, + { + "chara_id": 1015, + "number": 6, + "location": 520, + "location_name": "left side school map", + "chara_1": 1015, + "chara_2": 1033, + "condition_type": 2 + }, + { + "chara_id": 1016, + "number": 1, + "location": 310, + "location_name": "center back seat", + "chara_1": 1016, + "condition_type": 1 + }, + { + "chara_id": 1016, + "number": 2, + "location": 110, + "location_name": "right side front", + "chara_1": 1016, + "condition_type": 1 + }, + { + "chara_id": 1016, + "number": 3, + "location": 210, + "location_name": "left side table", + "chara_1": 1016, + "condition_type": 0 + }, + { + "chara_id": 1016, + "number": 4, + "location": 420, + "location_name": "center posters", + "chara_1": 1016, + "chara_2": 1023, + "condition_type": 2 + }, + { + "chara_id": 1016, + "number": 5, + "location": 120, + "location_name": "right side front", + "chara_1": 1016, + "chara_2": 1012, + "condition_type": 2 + }, + { + "chara_id": 1017, + "number": 1, + "location": 310, + "location_name": "center back seat", + "chara_1": 1017, + "condition_type": 0 + }, + { + "chara_id": 1017, + "number": 2, + "location": 110, + "location_name": "right side front", + "chara_1": 1017, + "condition_type": 1 + }, + { + "chara_id": 1017, + "number": 3, + "location": 210, + "location_name": "left side table", + "chara_1": 1017, + "condition_type": 1 + }, + { + "chara_id": 1017, + "number": 4, + "location": 420, + "location_name": "center posters", + "chara_1": 1017, + "chara_2": 1004, + "condition_type": 2 + }, + { + "chara_id": 1017, + "number": 5, + "location": 120, + "location_name": "right side front", + "chara_1": 1003, + "chara_2": 1017, + "condition_type": 3 + }, + { + "chara_id": 1017, + "number": 6, + "location": 130, + "location_name": "right side front", + "chara_1": 1018, + "chara_2": 1017, + "chara_3": 1016, + "condition_type": 1 + }, + { + "chara_id": 1018, + "number": 1, + "location": 310, + "location_name": "center back seat", + "chara_1": 1018, + "condition_type": 1 + }, + { + "chara_id": 1018, + "number": 2, + "location": 510, + "location_name": "left side school map", + "chara_1": 1018, + "condition_type": 0 + }, + { + "chara_id": 1018, + "number": 3, + "location": 410, + "location_name": "center posters", + "chara_1": 1018, + "condition_type": 1 + }, + { + "chara_id": 1018, + "number": 4, + "location": 120, + "location_name": "right side front", + "chara_1": 1009, + "chara_2": 1018, + "condition_type": 3 + }, + { + "chara_id": 1018, + "number": 5, + "location": 520, + "location_name": "left side school map", + "chara_1": 1022, + "chara_2": 1018, + "condition_type": 3 + }, + { + "chara_id": 1019, + "number": 1, + "location": 310, + "location_name": "center back seat", + "chara_1": 1019, + "condition_type": 0 + }, + { + "chara_id": 1019, + "number": 2, + "location": 410, + "location_name": "center posters", + "chara_1": 1019, + "condition_type": 1 + }, + { + "chara_id": 1019, + "number": 3, + "location": 510, + "location_name": "left side school map", + "chara_1": 1019, + "condition_type": 1 + }, + { + "chara_id": 1019, + "number": 4, + "location": 220, + "location_name": "left side table", + "chara_1": 1001, + "chara_2": 1019, + "condition_type": 3 + }, + { + "chara_id": 1019, + "number": 5, + "location": 420, + "location_name": "center posters", + "chara_1": 1019, + "chara_2": 1047, + "condition_type": 2 + }, + { + "chara_id": 1020, + "number": 1, + "location": 310, + "location_name": "center back seat", + "chara_1": 1020, + "condition_type": 1 + }, + { + "chara_id": 1020, + "number": 2, + "location": 210, + "location_name": "left side table", + "chara_1": 1020, + "condition_type": 0 + }, + { + "chara_id": 1020, + "number": 3, + "location": 110, + "location_name": "right side front", + "chara_1": 1020, + "condition_type": 1 + }, + { + "chara_id": 1020, + "number": 4, + "location": 520, + "location_name": "left side school map", + "chara_1": 1020, + "chara_2": 1061, + "condition_type": 2 + }, + { + "chara_id": 1020, + "number": 5, + "location": 220, + "location_name": "left side table", + "chara_1": 1020, + "chara_2": 1051, + "condition_type": 2 + }, + { + "chara_id": 1021, + "number": 1, + "location": 310, + "location_name": "center back seat", + "chara_1": 1021, + "condition_type": 0 + }, + { + "chara_id": 1021, + "number": 2, + "location": 210, + "location_name": "left side table", + "chara_1": 1021, + "condition_type": 1 + }, + { + "chara_id": 1021, + "number": 3, + "location": 110, + "location_name": "right side front", + "chara_1": 1021, + "condition_type": 1 + }, + { + "chara_id": 1021, + "number": 4, + "location": 520, + "location_name": "left side school map", + "chara_1": 1021, + "chara_2": 1006, + "condition_type": 2 + }, + { + "chara_id": 1021, + "number": 5, + "location": 220, + "location_name": "left side table", + "chara_1": 1040, + "chara_2": 1021, + "condition_type": 3 + }, + { + "chara_id": 1022, + "number": 1, + "location": 310, + "location_name": "center back seat", + "chara_1": 1022, + "condition_type": 0 + }, + { + "chara_id": 1022, + "number": 2, + "location": 110, + "location_name": "right side front", + "chara_1": 1022, + "condition_type": 1 + }, + { + "chara_id": 1022, + "number": 3, + "location": 210, + "location_name": "left side table", + "chara_1": 1022, + "condition_type": 1 + }, + { + "chara_id": 1022, + "number": 4, + "location": 420, + "location_name": "center posters", + "chara_1": 1022, + "chara_2": 1036, + "condition_type": 2 + }, + { + "chara_id": 1022, + "number": 5, + "location": 120, + "location_name": "right side front", + "chara_1": 1022, + "chara_2": 1018, + "condition_type": 2 + }, + { + "chara_id": 1022, + "number": 6, + "location": 530, + "location_name": "left side school map", + "chara_1": 1022, + "chara_2": 1009, + "chara_3": 1059, + "condition_type": 1 + }, + { + "chara_id": 1023, + "number": 1, + "location": 310, + "location_name": "center back seat", + "chara_1": 1023, + "condition_type": 1 + }, + { + "chara_id": 1023, + "number": 2, + "location": 410, + "location_name": "center posters", + "chara_1": 1023, + "condition_type": 0 + }, + { + "chara_id": 1023, + "number": 3, + "location": 510, + "location_name": "left side school map", + "chara_1": 1023, + "condition_type": 1 + }, + { + "chara_id": 1023, + "number": 4, + "location": 220, + "location_name": "left side table", + "chara_1": 1023, + "chara_2": 1016, + "condition_type": 2 + }, + { + "chara_id": 1023, + "number": 5, + "location": 420, + "location_name": "center posters", + "chara_1": 1023, + "chara_2": 1047, + "condition_type": 2 + }, + { + "chara_id": 1024, + "number": 1, + "location": 310, + "location_name": "center back seat", + "chara_1": 1024, + "condition_type": 1 + }, + { + "chara_id": 1024, + "number": 2, + "location": 410, + "location_name": "center posters", + "chara_1": 1024, + "condition_type": 0 + }, + { + "chara_id": 1024, + "number": 3, + "location": 510, + "location_name": "left side school map", + "chara_1": 1024, + "condition_type": 1 + }, + { + "chara_id": 1024, + "number": 4, + "location": 220, + "location_name": "left side table", + "chara_1": 1024, + "chara_2": 1055, + "condition_type": 2 + }, + { + "chara_id": 1024, + "number": 5, + "location": 420, + "location_name": "center posters", + "chara_1": 1024, + "chara_2": 1038, + "condition_type": 2 + }, + { + "chara_id": 1025, + "number": 1, + "location": 310, + "location_name": "center back seat", + "chara_1": 1025, + "condition_type": 1 + }, + { + "chara_id": 1025, + "number": 2, + "location": 510, + "location_name": "left side school map", + "chara_1": 1025, + "condition_type": 0 + }, + { + "chara_id": 1025, + "number": 3, + "location": 410, + "location_name": "center posters", + "chara_1": 1025, + "condition_type": 1 + }, + { + "chara_id": 1025, + "number": 4, + "location": 120, + "location_name": "right side front", + "chara_1": 1025, + "chara_2": 1032, + "condition_type": 2 + }, + { + "chara_id": 1025, + "number": 5, + "location": 520, + "location_name": "left side school map", + "chara_1": 1029, + "chara_2": 1025, + "condition_type": 3 + }, + { + "chara_id": 1026, + "number": 1, + "location": 110, + "location_name": "right side front", + "chara_1": 1026, + "condition_type": 0 + }, + { + "chara_id": 1026, + "number": 2, + "location": 210, + "location_name": "left side table", + "chara_1": 1026, + "condition_type": 1 + }, + { + "chara_id": 1026, + "number": 3, + "location": 310, + "location_name": "center back seat", + "chara_1": 1026, + "condition_type": 1 + }, + { + "chara_id": 1026, + "number": 4, + "location": 520, + "location_name": "left side school map", + "chara_1": 1051, + "chara_2": 1026, + "condition_type": 3 + }, + { + "chara_id": 1026, + "number": 5, + "location": 220, + "location_name": "left side table", + "chara_1": 1041, + "chara_2": 1026, + "condition_type": 3 + }, + { + "chara_id": 1027, + "number": 1, + "location": 310, + "location_name": "center back seat", + "chara_1": 1027, + "condition_type": 0 + }, + { + "chara_id": 1027, + "number": 2, + "location": 210, + "location_name": "left side table", + "chara_1": 1027, + "condition_type": 1 + }, + { + "chara_id": 1027, + "number": 3, + "location": 110, + "location_name": "right side front", + "chara_1": 1027, + "condition_type": 1 + }, + { + "chara_id": 1027, + "number": 4, + "location": 420, + "location_name": "center posters", + "chara_1": 1031, + "chara_2": 1027, + "condition_type": 3 + }, + { + "chara_id": 1027, + "number": 5, + "location": 120, + "location_name": "right side front", + "chara_1": 1059, + "chara_2": 1027, + "condition_type": 3 + }, + { + "chara_id": 1028, + "number": 1, + "location": 310, + "location_name": "center back seat", + "chara_1": 1028, + "condition_type": 1 + }, + { + "chara_id": 1028, + "number": 2, + "location": 210, + "location_name": "left side table", + "chara_1": 1028, + "condition_type": 1 + }, + { + "chara_id": 1028, + "number": 3, + "location": 110, + "location_name": "right side front", + "chara_1": 1028, + "condition_type": 0 + }, + { + "chara_id": 1028, + "number": 4, + "location": 520, + "location_name": "left side school map", + "chara_1": 1054, + "chara_2": 1028, + "condition_type": 3 + }, + { + "chara_id": 1028, + "number": 5, + "location": 220, + "location_name": "left side table", + "chara_1": 1028, + "chara_2": 1005, + "condition_type": 2 + }, + { + "chara_id": 1030, + "number": 1, + "location": 310, + "location_name": "center back seat", + "chara_1": 1030, + "condition_type": 0 + }, + { + "chara_id": 1030, + "number": 2, + "location": 510, + "location_name": "left side school map", + "chara_1": 1030, + "condition_type": 1 + }, + { + "chara_id": 1030, + "number": 3, + "location": 410, + "location_name": "center posters", + "chara_1": 1030, + "condition_type": 1 + }, + { + "chara_id": 1030, + "number": 4, + "location": 120, + "location_name": "right side front", + "chara_1": 1030, + "chara_2": 1026, + "condition_type": 2 + }, + { + "chara_id": 1030, + "number": 5, + "location": 520, + "location_name": "left side school map", + "chara_1": 1030, + "chara_2": 1052, + "condition_type": 2 + }, + { + "chara_id": 1032, + "number": 1, + "location": 210, + "location_name": "left side table", + "chara_1": 1032, + "condition_type": 0 + }, + { + "chara_id": 1032, + "number": 2, + "location": 110, + "location_name": "right side front", + "chara_1": 1032, + "condition_type": 1 + }, + { + "chara_id": 1032, + "number": 3, + "location": 310, + "location_name": "center back seat", + "chara_1": 1032, + "condition_type": 1 + }, + { + "chara_id": 1032, + "number": 4, + "location": 520, + "location_name": "left side school map", + "chara_1": 1032, + "chara_2": 1025, + "condition_type": 2 + }, + { + "chara_id": 1032, + "number": 5, + "location": 220, + "location_name": "left side table", + "chara_1": 1036, + "chara_2": 1032, + "condition_type": 3 + }, + { + "chara_id": 1033, + "number": 1, + "location": 310, + "location_name": "center back seat", + "chara_1": 1033, + "condition_type": 0 + }, + { + "chara_id": 1033, + "number": 2, + "location": 510, + "location_name": "left side school map", + "chara_1": 1033, + "condition_type": 1 + }, + { + "chara_id": 1033, + "number": 3, + "location": 410, + "location_name": "center posters", + "chara_1": 1033, + "condition_type": 1 + }, + { + "chara_id": 1033, + "number": 4, + "location": 120, + "location_name": "right side front", + "chara_1": 1033, + "chara_2": 1038, + "condition_type": 2 + }, + { + "chara_id": 1033, + "number": 5, + "location": 520, + "location_name": "left side school map", + "chara_1": 1033, + "chara_2": 1015, + "condition_type": 2 + }, + { + "chara_id": 1035, + "number": 1, + "location": 310, + "location_name": "center back seat", + "chara_1": 1035, + "condition_type": 0 + }, + { + "chara_id": 1035, + "number": 2, + "location": 410, + "location_name": "center posters", + "chara_1": 1035, + "condition_type": 1 + }, + { + "chara_id": 1035, + "number": 3, + "location": 510, + "location_name": "left side school map", + "chara_1": 1035, + "condition_type": 1 + }, + { + "chara_id": 1035, + "number": 4, + "location": 220, + "location_name": "left side table", + "chara_1": 1035, + "chara_2": 1029, + "condition_type": 2 + }, + { + "chara_id": 1035, + "number": 5, + "location": 420, + "location_name": "center posters", + "chara_1": 1048, + "chara_2": 1035, + "condition_type": 3 + }, + { + "chara_id": 1035, + "number": 6, + "location": 530, + "location_name": "left side school map", + "chara_1": 1035, + "chara_2": 1050, + "chara_3": 1023, + "condition_type": 1 + }, + { + "chara_id": 1037, + "number": 1, + "location": 310, + "location_name": "center back seat", + "chara_1": 1037, + "condition_type": 1 + }, + { + "chara_id": 1037, + "number": 2, + "location": 110, + "location_name": "right side front", + "chara_1": 1037, + "condition_type": 1 + }, + { + "chara_id": 1037, + "number": 3, + "location": 210, + "location_name": "left side table", + "chara_1": 1037, + "condition_type": 0 + }, + { + "chara_id": 1037, + "number": 4, + "location": 420, + "location_name": "center posters", + "chara_1": 1046, + "chara_2": 1037, + "condition_type": 3 + }, + { + "chara_id": 1037, + "number": 5, + "location": 420, + "location_name": "center posters", + "chara_1": 1028, + "chara_2": 1037, + "condition_type": 3 + }, + { + "chara_id": 1037, + "number": 6, + "location": 530, + "location_name": "left side school map", + "chara_1": 1037, + "chara_2": 1038, + "chara_3": 1046, + "condition_type": 1 + }, + { + "chara_id": 1038, + "number": 1, + "location": 310, + "location_name": "center back seat", + "chara_1": 1038, + "condition_type": 1 + }, + { + "chara_id": 1038, + "number": 2, + "location": 110, + "location_name": "right side front", + "chara_1": 1038, + "condition_type": 0 + }, + { + "chara_id": 1038, + "number": 3, + "location": 210, + "location_name": "left side table", + "chara_1": 1038, + "condition_type": 1 + }, + { + "chara_id": 1038, + "number": 4, + "location": 120, + "location_name": "right side front", + "chara_1": 1046, + "chara_2": 1038, + "condition_type": 3 + }, + { + "chara_id": 1038, + "number": 5, + "location": 420, + "location_name": "center posters", + "chara_1": 1038, + "chara_2": 1033, + "condition_type": 2 + }, + { + "chara_id": 1039, + "number": 1, + "location": 310, + "location_name": "center back seat", + "chara_1": 1039, + "condition_type": 1 + }, + { + "chara_id": 1039, + "number": 2, + "location": 410, + "location_name": "center posters", + "chara_1": 1039, + "condition_type": 0 + }, + { + "chara_id": 1039, + "number": 3, + "location": 510, + "location_name": "left side school map", + "chara_1": 1039, + "condition_type": 1 + }, + { + "chara_id": 1039, + "number": 4, + "location": 120, + "location_name": "right side front", + "chara_1": 1039, + "chara_2": 1061, + "condition_type": 2 + }, + { + "chara_id": 1039, + "number": 5, + "location": 520, + "location_name": "left side school map", + "chara_1": 1039, + "chara_2": 1028, + "condition_type": 2 + }, + { + "chara_id": 1040, + "number": 1, + "location": 410, + "location_name": "center posters", + "chara_1": 1040, + "condition_type": 0 + }, + { + "chara_id": 1040, + "number": 2, + "location": 110, + "location_name": "right side front", + "chara_1": 1040, + "condition_type": 1 + }, + { + "chara_id": 1040, + "number": 3, + "location": 210, + "location_name": "left side table", + "chara_1": 1040, + "condition_type": 1 + }, + { + "chara_id": 1040, + "number": 4, + "location": 420, + "location_name": "center posters", + "chara_1": 1040, + "chara_2": 1029, + "condition_type": 2 + }, + { + "chara_id": 1040, + "number": 5, + "location": 120, + "location_name": "right side front", + "chara_1": 1048, + "chara_2": 1040, + "condition_type": 3 + }, + { + "chara_id": 1041, + "number": 1, + "location": 310, + "location_name": "center back seat", + "chara_1": 1041, + "condition_type": 0 + }, + { + "chara_id": 1041, + "number": 2, + "location": 510, + "location_name": "left side school map", + "chara_1": 1041, + "condition_type": 1 + }, + { + "chara_id": 1041, + "number": 3, + "location": 410, + "location_name": "center posters", + "chara_1": 1041, + "condition_type": 1 + }, + { + "chara_id": 1041, + "number": 4, + "location": 120, + "location_name": "right side front", + "chara_1": 1041, + "chara_2": 1053, + "condition_type": 2 + }, + { + "chara_id": 1041, + "number": 5, + "location": 520, + "location_name": "left side school map", + "chara_1": 1041, + "chara_2": 1054, + "condition_type": 2 + }, + { + "chara_id": 1045, + "number": 1, + "location": 310, + "location_name": "center back seat", + "chara_1": 1045, + "condition_type": 1 + }, + { + "chara_id": 1045, + "number": 2, + "location": 210, + "location_name": "left side table", + "chara_1": 1045, + "condition_type": 1 + }, + { + "chara_id": 1045, + "number": 3, + "location": 110, + "location_name": "right side front", + "chara_1": 1045, + "condition_type": 0 + }, + { + "chara_id": 1045, + "number": 4, + "location": 520, + "location_name": "left side school map", + "chara_1": 1045, + "chara_2": 1034, + "condition_type": 2 + }, + { + "chara_id": 1045, + "number": 5, + "location": 220, + "location_name": "left side table", + "chara_1": 1045, + "chara_2": 1021, + "condition_type": 2 + }, + { + "chara_id": 1046, + "number": 1, + "location": 310, + "location_name": "center back seat", + "chara_1": 1046, + "condition_type": 1 + }, + { + "chara_id": 1046, + "number": 2, + "location": 410, + "location_name": "center posters", + "chara_1": 1046, + "condition_type": 1 + }, + { + "chara_id": 1046, + "number": 3, + "location": 510, + "location_name": "left side school map", + "chara_1": 1046, + "condition_type": 0 + }, + { + "chara_id": 1046, + "number": 4, + "location": 220, + "location_name": "left side table", + "chara_1": 1046, + "chara_2": 1037, + "condition_type": 2 + }, + { + "chara_id": 1046, + "number": 5, + "location": 420, + "location_name": "center posters", + "chara_1": 1046, + "chara_2": 1019, + "condition_type": 2 + }, + { + "chara_id": 1046, + "number": 6, + "location": 530, + "location_name": "left side school map", + "chara_1": 1046, + "chara_2": 1026, + "chara_3": 1002, + "condition_type": 1 + }, + { + "chara_id": 1048, + "number": 1, + "location": 310, + "location_name": "center back seat", + "chara_1": 1048, + "condition_type": 0 + }, + { + "chara_id": 1048, + "number": 2, + "location": 210, + "location_name": "left side table", + "chara_1": 1048, + "condition_type": 1 + }, + { + "chara_id": 1048, + "number": 3, + "location": 110, + "location_name": "right side front", + "chara_1": 1048, + "condition_type": 1 + }, + { + "chara_id": 1048, + "number": 4, + "location": 520, + "location_name": "left side school map", + "chara_1": 1007, + "chara_2": 1048, + "condition_type": 3 + }, + { + "chara_id": 1048, + "number": 5, + "location": 220, + "location_name": "left side table", + "chara_1": 1048, + "chara_2": 1037, + "condition_type": 2 + }, + { + "chara_id": 1050, + "number": 1, + "location": 310, + "location_name": "center back seat", + "chara_1": 1050, + "condition_type": 0 + }, + { + "chara_id": 1050, + "number": 2, + "location": 510, + "location_name": "left side school map", + "chara_1": 1050, + "condition_type": 1 + }, + { + "chara_id": 1050, + "number": 3, + "location": 410, + "location_name": "center posters", + "chara_1": 1050, + "condition_type": 1 + }, + { + "chara_id": 1050, + "number": 4, + "location": 120, + "location_name": "right side front", + "chara_1": 1035, + "chara_2": 1050, + "condition_type": 3 + }, + { + "chara_id": 1050, + "number": 5, + "location": 520, + "location_name": "left side school map", + "chara_1": 1045, + "chara_2": 1050, + "condition_type": 3 + }, + { + "chara_id": 1052, + "number": 1, + "location": 210, + "location_name": "left side table", + "chara_1": 1052, + "condition_type": 0 + }, + { + "chara_id": 1052, + "number": 2, + "location": 410, + "location_name": "center posters", + "chara_1": 1052, + "condition_type": 1 + }, + { + "chara_id": 1052, + "number": 3, + "location": 510, + "location_name": "left side school map", + "chara_1": 1052, + "condition_type": 1 + }, + { + "chara_id": 1052, + "number": 4, + "location": 220, + "location_name": "left side table", + "chara_1": 1052, + "chara_2": 1019, + "condition_type": 2 + }, + { + "chara_id": 1052, + "number": 5, + "location": 420, + "location_name": "center posters", + "chara_1": 1015, + "chara_2": 1052, + "condition_type": 3 + }, + { + "chara_id": 1056, + "number": 1, + "location": 310, + "location_name": "center back seat", + "chara_1": 1056, + "condition_type": 0 + }, + { + "chara_id": 1056, + "number": 2, + "location": 110, + "location_name": "right side front", + "chara_1": 1056, + "condition_type": 1 + }, + { + "chara_id": 1056, + "number": 3, + "location": 210, + "location_name": "left side table", + "chara_1": 1056, + "condition_type": 1 + }, + { + "chara_id": 1056, + "number": 4, + "location": 420, + "location_name": "center posters", + "chara_1": 1056, + "chara_2": 1010, + "condition_type": 2 + }, + { + "chara_id": 1056, + "number": 5, + "location": 120, + "location_name": "right side front", + "chara_1": 1056, + "chara_2": 1002, + "condition_type": 2 + }, + { + "chara_id": 1056, + "number": 6, + "location": 530, + "location_name": "left side school map", + "chara_1": 1056, + "chara_2": 1030, + "chara_3": 1058, + "condition_type": 1 + }, + { + "chara_id": 1058, + "number": 1, + "location": 310, + "location_name": "center back seat", + "chara_1": 1058, + "condition_type": 0 + }, + { + "chara_id": 1058, + "number": 2, + "location": 410, + "location_name": "center posters", + "chara_1": 1058, + "condition_type": 1 + }, + { + "chara_id": 1058, + "number": 3, + "location": 510, + "location_name": "left side school map", + "chara_1": 1058, + "condition_type": 1 + }, + { + "chara_id": 1058, + "number": 4, + "location": 220, + "location_name": "left side table", + "chara_1": 1058, + "chara_2": 1015, + "condition_type": 2 + }, + { + "chara_id": 1058, + "number": 5, + "location": 420, + "location_name": "center posters", + "chara_1": 1058, + "chara_2": 1052, + "condition_type": 2 + }, + { + "chara_id": 1059, + "number": 1, + "location": 310, + "location_name": "center back seat", + "chara_1": 1059, + "condition_type": 0 + }, + { + "chara_id": 1059, + "number": 2, + "location": 510, + "location_name": "left side school map", + "chara_1": 1059, + "condition_type": 0 + }, + { + "chara_id": 1059, + "number": 3, + "location": 410, + "location_name": "center posters", + "chara_1": 1059, + "condition_type": 1 + }, + { + "chara_id": 1059, + "number": 4, + "location": 120, + "location_name": "right side front", + "chara_1": 1059, + "chara_2": 1027, + "condition_type": 2 + }, + { + "chara_id": 1059, + "number": 5, + "location": 520, + "location_name": "left side school map", + "chara_1": 1018, + "chara_2": 1059, + "condition_type": 3 + }, + { + "chara_id": 1059, + "number": 6, + "location": 530, + "location_name": "left side school map", + "chara_1": 1059, + "chara_2": 1071, + "chara_3": 1027, + "condition_type": 1 + }, + { + "chara_id": 1060, + "number": 1, + "location": 510, + "location_name": "left side school map", + "chara_1": 1060, + "condition_type": 0 + }, + { + "chara_id": 1060, + "number": 2, + "location": 410, + "location_name": "center posters", + "chara_1": 1060, + "condition_type": 1 + }, + { + "chara_id": 1060, + "number": 3, + "location": 310, + "location_name": "center back seat", + "chara_1": 1060, + "condition_type": 1 + }, + { + "chara_id": 1060, + "number": 4, + "location": 120, + "location_name": "right side front", + "chara_1": 1024, + "chara_2": 1060, + "condition_type": 3 + }, + { + "chara_id": 1060, + "number": 5, + "location": 520, + "location_name": "left side school map", + "chara_1": 1003, + "chara_2": 1060, + "condition_type": 3 + }, + { + "chara_id": 1061, + "number": 1, + "location": 210, + "location_name": "left side table", + "chara_1": 1061, + "condition_type": 1 + }, + { + "chara_id": 1061, + "number": 2, + "location": 310, + "location_name": "center back seat", + "chara_1": 1061, + "condition_type": 0 + }, + { + "chara_id": 1061, + "number": 3, + "location": 110, + "location_name": "right side front", + "chara_1": 1061, + "condition_type": 0 + }, + { + "chara_id": 1061, + "number": 4, + "location": 520, + "location_name": "left side school map", + "chara_1": 1061, + "chara_2": 1020, + "condition_type": 2 + }, + { + "chara_id": 1061, + "number": 5, + "location": 220, + "location_name": "left side table", + "chara_1": 1039, + "chara_2": 1061, + "condition_type": 3 + }, + { + "chara_id": 1062, + "number": 1, + "location": 310, + "location_name": "center back seat", + "chara_1": 1062, + "condition_type": 0 + }, + { + "chara_id": 1062, + "number": 2, + "location": 210, + "location_name": "left side table", + "chara_1": 1062, + "condition_type": 1 + }, + { + "chara_id": 1062, + "number": 3, + "location": 110, + "location_name": "right side front", + "chara_1": 1062, + "condition_type": 1 + }, + { + "chara_id": 1062, + "number": 4, + "location": 520, + "location_name": "left side school map", + "chara_1": 1056, + "chara_2": 1062, + "condition_type": 3 + }, + { + "chara_id": 1062, + "number": 5, + "location": 220, + "location_name": "left side table", + "chara_1": 1060, + "chara_2": 1062, + "condition_type": 3 + }, + { + "chara_id": 1062, + "number": 6, + "location": 130, + "location_name": "right side front", + "chara_1": 1062, + "chara_2": 1001, + "chara_3": 1048, + "condition_type": 1 + }, + { + "chara_id": 1068, + "number": 1, + "location": 310, + "location_name": "center back seat", + "chara_1": 1068, + "condition_type": 0 + }, + { + "chara_id": 1068, + "number": 2, + "location": 210, + "location_name": "left side table", + "chara_1": 1068, + "condition_type": 1 + }, + { + "chara_id": 1068, + "number": 3, + "location": 110, + "location_name": "right side front", + "chara_1": 1068, + "condition_type": 1 + }, + { + "chara_id": 1068, + "number": 4, + "location": 520, + "location_name": "left side school map", + "chara_1": 1068, + "chara_2": 1067, + "condition_type": 2 + }, + { + "chara_id": 1068, + "number": 5, + "location": 220, + "location_name": "left side table", + "chara_1": 1003, + "chara_2": 1068, + "condition_type": 3 + }, + { + "chara_id": 1068, + "number": 6, + "location": 530, + "location_name": "left side school map", + "chara_1": 1068, + "chara_2": 1015, + "chara_3": 1007, + "condition_type": 1 + }, + { + "chara_id": 1069, + "number": 1, + "location": 310, + "location_name": "center back seat", + "chara_1": 1069, + "condition_type": 1 + }, + { + "chara_id": 1069, + "number": 2, + "location": 110, + "location_name": "right side front", + "chara_1": 1069, + "condition_type": 0 + }, + { + "chara_id": 1069, + "number": 3, + "location": 210, + "location_name": "left side table", + "chara_1": 1069, + "condition_type": 1 + }, + { + "chara_id": 1069, + "number": 4, + "location": 420, + "location_name": "center posters", + "chara_1": 1069, + "chara_2": 1004, + "condition_type": 2 + }, + { + "chara_id": 1069, + "number": 5, + "location": 120, + "location_name": "right side front", + "chara_1": 1069, + "chara_2": 1041, + "condition_type": 2 + }, + { + "chara_id": 1071, + "number": 1, + "location": 310, + "location_name": "center back seat", + "chara_1": 1071, + "condition_type": 1 + }, + { + "chara_id": 1071, + "number": 2, + "location": 110, + "location_name": "right side front", + "chara_1": 1071, + "condition_type": 1 + }, + { + "chara_id": 1071, + "number": 3, + "location": 210, + "location_name": "left side table", + "chara_1": 1071, + "condition_type": 1 + }, + { + "chara_id": 1071, + "number": 4, + "location": 420, + "location_name": "center posters", + "chara_1": 1065, + "chara_2": 1071, + "condition_type": 3 + }, + { + "chara_id": 1071, + "number": 5, + "location": 120, + "location_name": "right side front", + "chara_1": 1069, + "chara_2": 1071, + "condition_type": 3 + } +] diff --git a/horse/character.go b/horse/character.go index 242e352..5ea700f 100644 --- a/horse/character.go +++ b/horse/character.go @@ -17,3 +17,43 @@ type AffinityRelation struct { IDC int `json:"chara_c,omitzero"` Affinity int `json:"affinity"` } + +// Conversation describes a lobby conversation. +type Conversation struct { + // CharacterID is the ID of the character who has the conversation as + // a gallery entry. + CharacterID CharacterID `json:"chara_id"` + // Number is the conversation number within the character's gallery. + Number int `json:"number"` + // Location is the ID of the location the conversation occurs in the lobby. + Location LobbyConversationLocationID `json:"location"` + // LocationName is the name of the lobby location, for convenience. + LocationName string `json:"location_name"` + // Chara1 is the first conversation participant ID. + // It does not necessarily match CharacterID. + Chara1 CharacterID `json:"chara_1"` + // Chara2 is the second conversation participant ID. + Chara2 CharacterID `json:"chara_2,omitzero"` + // Chara3 is the third conversation participant ID. + Chara3 CharacterID `json:"chara_3,omitzero"` + // ConditionType is a complete mystery to me. + ConditionType int `json:"condition_type"` +} + +type LobbyConversationLocationID int + +//go:generate go run golang.org/x/tools/cmd/stringer@v0.41.0 -type LobbyConversationLocationID -trimprefix Lobby -linecomment +const ( + LobbyRightFront1 LobbyConversationLocationID = 110 // right side front + LobbyRightFront2 LobbyConversationLocationID = 120 // right side front + LobbyRightFront3 LobbyConversationLocationID = 130 // right side front + LobbyLeftTable1 LobbyConversationLocationID = 210 // left side table + LobbyLeftTable2 LobbyConversationLocationID = 220 // left side table + LobbyBackSeat LobbyConversationLocationID = 310 // center back seat + LobbyPosters1 LobbyConversationLocationID = 410 // center posters + LobbyPosters2 LobbyConversationLocationID = 420 // center posters + LobbyPosters3 LobbyConversationLocationID = 430 // center posters + LobbySchoolMap1 LobbyConversationLocationID = 510 // left side school map + LobbySchoolMap2 LobbyConversationLocationID = 520 // left side school map + LobbySchoolMap3 LobbyConversationLocationID = 530 // left side school map +) diff --git a/horse/lobbyconversationlocationid_string.go b/horse/lobbyconversationlocationid_string.go new file mode 100644 index 0000000..b0ab6be --- /dev/null +++ b/horse/lobbyconversationlocationid_string.go @@ -0,0 +1,47 @@ +// Code generated by "stringer -type LobbyConversationLocationID -trimprefix Lobby -linecomment"; DO NOT EDIT. + +package horse + +import "strconv" + +func _() { + // An "invalid array index" compiler error signifies that the constant values have changed. + // Re-run the stringer command to generate them again. + var x [1]struct{} + _ = x[LobbyRightFront1-110] + _ = x[LobbyRightFront2-120] + _ = x[LobbyRightFront3-130] + _ = x[LobbyLeftTable1-210] + _ = x[LobbyLeftTable2-220] + _ = x[LobbyBackSeat-310] + _ = x[LobbyPosters1-410] + _ = x[LobbyPosters2-420] + _ = x[LobbyPosters3-430] + _ = x[LobbySchoolMap1-510] + _ = x[LobbySchoolMap2-520] + _ = x[LobbySchoolMap3-530] +} + +const _LobbyConversationLocationID_name = "right side frontright side frontright side frontleft side tableleft side tablecenter back seatcenter posterscenter posterscenter postersleft side school mapleft side school mapleft side school map" + +var _LobbyConversationLocationID_map = map[LobbyConversationLocationID]string{ + 110: _LobbyConversationLocationID_name[0:16], + 120: _LobbyConversationLocationID_name[16:32], + 130: _LobbyConversationLocationID_name[32:48], + 210: _LobbyConversationLocationID_name[48:63], + 220: _LobbyConversationLocationID_name[63:78], + 310: _LobbyConversationLocationID_name[78:94], + 410: _LobbyConversationLocationID_name[94:108], + 420: _LobbyConversationLocationID_name[108:122], + 430: _LobbyConversationLocationID_name[122:136], + 510: _LobbyConversationLocationID_name[136:156], + 520: _LobbyConversationLocationID_name[156:176], + 530: _LobbyConversationLocationID_name[176:196], +} + +func (i LobbyConversationLocationID) String() string { + if str, ok := _LobbyConversationLocationID_map[i]; ok { + return str + } + return "LobbyConversationLocationID(" + strconv.FormatInt(int64(i), 10) + ")" +}