-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrace.proto
21 lines (18 loc) · 882 Bytes
/
race.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
syntax = "proto3";
package microdungeon;
option go_package = "microdungeon";
import "ability_scores.proto";
// Race is a playable D&D race.
message Race {
string name = 1; // The complete race name, if this is a sub-race use it, IE: Hill Dwarf.
string genus = 2; // The race genus, if name is Hill Dwarf genus is Dwarf.
string description = 3; // A simple description of the race.
Score score = 4; // The score-set for the race (used to calculate a character's score set).
bool night_vision = 5; // If true this race can see in the dark.
repeated string known_languages = 6; // Default known languages.
bool undead = 7;
// TODO: implement special abilities,
// lifespan,
// creature size,
// weapon proficiency.
}