summaryrefslogtreecommitdiff
path: root/src/store_action_type.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/store_action_type.hpp')
-rw-r--r--src/store_action_type.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/store_action_type.hpp b/src/store_action_type.hpp
new file mode 100644
index 00000000..ee479375
--- /dev/null
+++ b/src/store_action_type.hpp
@@ -0,0 +1,17 @@
+#pragma once
+
+#include "h-basic.h"
+
+/**
+ * Store/building actions.
+ */
+struct store_action_type
+{
+ std::string name; /* Name */
+
+ std::array<s16b, 3> costs { }; /* Costs for liked people */
+ char letter = '\0'; /* Action letter */
+ char letter_aux = '\0'; /* Action letter */
+ s16b action = 0; /* Action code */
+ s16b action_restr = 0; /* Action restriction */
+};