--- /dev/null
+#pragma once
+
+/* The "sval" values for TV_HAFTED */
+typedef enum sv_hafted_type {
+ SV_CLUB = 1, /* 1d4 */
+ SV_WHIP = 2, /* 1d6 */
+ SV_QUARTERSTAFF = 3, /* 1d9 */
+ SV_NUNCHAKU = 4, /* 2d3 */
+ SV_MACE = 5, /* 2d4 */
+ SV_BALL_AND_CHAIN = 6, /* 2d4 */
+ SV_JO_STAFF = 7, /* 1d7 */
+ SV_WAR_HAMMER = 8, /* 3d3 */
+ SV_THREE_PIECE_ROD = 11, /* 3d3 */
+ SV_MORNING_STAR = 12, /* 2d6 */
+ SV_FLAIL = 13, /* 2d6 */
+ SV_BO_STAFF = 14, /* 1d11 */
+ SV_LEAD_FILLED_MACE = 15, /* 3d4 */
+ SV_TETSUBO = 16, /* 2d7 */
+ SV_TWO_HANDED_FLAIL = 18, /* 3d6 */
+ SV_GREAT_HAMMER = 19, /* 4d6 */
+ SV_MACE_OF_DISRUPTION = 20, /* 5d8 */
+ SV_WIZSTAFF = 21, /* 1d2 */
+ SV_GROND = 50, /* 3d9 */
+ SV_NAMAKE_HAMMER = 63, /* 1d77 */
+} sv_hafted_type;
+
+/* The "sval" values for TV_POLEARM */
+typedef enum sv_polearm_type {
+ SV_HATCHET = 1, /* 1d5 */
+ SV_SPEAR = 2, /* 1d6 */
+ SV_SICKLE = 3, /* 2d3 */
+ SV_AWL_PIKE = 4, /* 1d8 */
+ SV_TRIDENT = 5, /* 1d9 */
+ SV_FAUCHARD = 6, /* 1d10 */
+ SV_BROAD_SPEAR = 7, /* 1d9 */
+ SV_PIKE = 8, /* 2d5 */
+ SV_NAGINATA = 9, /* 2d6 */
+ SV_BEAKED_AXE = 10, /* 2d6 */
+ SV_BROAD_AXE = 11, /* 2d6 */
+ SV_LUCERNE_HAMMER = 12, /* 2d5 */
+ SV_GLAIVE = 13, /* 2d6 */
+ SV_LAJATANG = 14, /* 2d7 */
+ SV_HALBERD = 15, /* 3d4 */
+ SV_GUISARME = 16, /* 2d5 */
+ SV_SCYTHE = 17, /* 5d3 */
+ SV_LANCE = 20, /* 2d8 */
+ SV_BATTLE_AXE = 22, /* 2d8 */
+ SV_GREAT_AXE = 25, /* 4d4 */
+ SV_TRIFURCATE_SPEAR = 26, /* 2d9 */
+ SV_LOCHABER_AXE = 28, /* 3d8 */
+ SV_HEAVY_LANCE = 29, /* 4d8 */
+ SV_SCYTHE_OF_SLICING = 30, /* 8d4 */
+ SV_TSURIZAO = 40, /* 1d1 */
+ SV_DEATH_SCYTHE = 50, /* 10d10 */
+} sv_polearm_type;
+
+/* The "sval" codes for TV_SWORD */
+typedef enum sv_sword_type {
+ SV_BROKEN_DAGGER = 1, /* 1d1 */
+ SV_BROKEN_SWORD = 2, /* 1d2 */
+ SV_DAGGER = 4, /* 1d4 */
+ SV_MAIN_GAUCHE = 5, /* 1d5 */
+ SV_TANTO = 6, /* 1d5 */
+ SV_RAPIER = 7, /* 1d6 */
+ SV_SMALL_SWORD = 8, /* 1d6 */
+ SV_BASILLARD = 9, /* 1d8 */
+ SV_SHORT_SWORD = 10, /* 1d7 */
+ SV_SABRE = 11, /* 1d7 */
+ SV_CUTLASS = 12, /* 1d7 */
+ SV_WAKIZASHI = 13, /* 2d4 */
+ SV_KHOPESH = 14, /* 2d4 */
+ SV_TULWAR = 15, /* 2d4 */
+ SV_BROAD_SWORD = 16, /* 2d5 */
+ SV_LONG_SWORD = 17, /* 2d5 */
+ SV_SCIMITAR = 18, /* 2d5 */
+ SV_NINJATO = 19, /* 1d9 */
+ SV_KATANA = 20, /* 3d4 */
+ SV_BASTARD_SWORD = 21, /* 3d4 */
+ SV_GREAT_SCIMITAR = 22, /* 4d5 */
+ SV_CLAYMORE = 23, /* 2d8 */
+ SV_ESPADON = 24, /* 2d9 */
+ SV_TWO_HANDED_SWORD = 25, /* 3d6 */
+ SV_FLAMBERGE = 26, /* 3d7 */
+ SV_NO_DACHI = 27, /* 5d4 */
+ SV_EXECUTIONERS_SWORD = 28, /* 4d5 */
+ SV_ZWEIHANDER = 29, /* 4d6 */
+ SV_BLADE_OF_CHAOS = 30, /* 6d5 */
+ SV_DIAMOND_EDGE = 31, /* 7d5 */
+ SV_POISON_NEEDLE = 32, /* 1d1 */
+ SV_HAYABUSA = 33, /* 1d6 */
+} sv_sword_type;