aboutsummaryrefslogtreecommitdiff
path: root/src/rules.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/rules.cc')
-rw-r--r--src/rules.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/rules.cc b/src/rules.cc
index a9ca395..15dcb34 100644
--- a/src/rules.cc
+++ b/src/rules.cc
@@ -30,4 +30,14 @@ namespace rules {
{"Performance", "cha"},
{"Persuasion", "cha"}
};
+
+ std::ostream& operator<<(std::ostream& os, const Ability& a) {
+ os << std::string(a);
+ return os;
+ }
+
+ std::ostream& operator<<(std::ostream& os, const Skill& s) {
+ os << std::string(s);
+ return os;
+ }
}