Commit Graph

13 Commits

Author SHA1 Message Date
projectmoon 0ca23b46c6 Switch to oneof field for game-specific information and values.
Having specific protobuf types for different game systems using the
same rule set (e.g. all the Chronicles of Darkness games) is untenable
because protobuf does not have inheritance or mixins.

Instead, we have one generic character sheet type, with a oneof field
for the game specifics. This will be used in conjunction with the
character's game system (stored in db) to render different stuff on
the character templates.

Without this, we'd wind up having duplicate templates, a lot more code
for handling specifics of each game system, and so on.
2021-01-01 23:34:50 +00:00
projectmoon c35ac19060 Add ability to edit changeling characters. 2020-12-31 22:28:00 +00:00
projectmoon 255b55c8de Add skills to the character editor. 2020-12-31 22:21:05 +00:00
projectmoon 1f6f6432e1 Implement editing of attributes. 2020-12-27 21:49:08 +00:00
projectmoon 4023bdc08a Start of adding protobuf-based editable character sheet. 2020-12-27 21:03:10 +00:00
projectmoon 5d7d8054e2 Finished and mostly clean new character flow.
Lots of changes and reorganization to support the ability to create
new characters.
2020-12-09 21:25:31 +00:00
projectmoon 7b4ffc3a02 Basic albeit mostly broken flow for creating new character. 2020-12-08 22:28:27 +00:00
projectmoon 0c09a3fdef Add serde serialization suppor to proto types. 2020-12-08 08:47:34 +00:00
projectmoon 8b3e8c70ae Serialize characters as protobufs. Skeletal character creation.
Implements the absolute basics of the character creation flow, AKA
most things are missing. Integrates a method of storing character
data, support for that in the database, and a working character
creation page.

The only thing the page does at the moment is create a hardcoded basic
CofD character sheet and save it to the database. There is no ability
to change game system, fill in extra details, etc. There's also no
ability to edit anything.

Also added basic links to the registration and create new character
pages.
2020-12-07 22:37:18 +00:00
projectmoon 10d5f30e5a User accounts, DAO trait, registration.
Not very thorough, but it does work.
2020-12-05 19:50:11 +00:00
projectmoon 5968f6458d Remove example text on the logged-in index page. 2020-12-03 23:40:34 +00:00
projectmoon 1262308bf6 New character route, and login cleanup. 2020-12-03 19:45:56 +00:00
projectmoon 092da7490f First commit; prototype state. 2020-12-03 19:21:09 +00:00