From 87075fd67f64250aa3e7a39ac37c35117eaf9828 Mon Sep 17 00:00:00 2001 From: nsensfel Date: Thu, 31 Jan 2019 19:00:22 +0100 Subject: Preparing for primary/secondary split. --- src/shared/struct/shr_weapon.erl.m4 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/shared/struct/shr_weapon.erl.m4 b/src/shared/struct/shr_weapon.erl.m4 index f15922c..1a2dcf5 100644 --- a/src/shared/struct/shr_weapon.erl.m4 +++ b/src/shared/struct/shr_weapon.erl.m4 @@ -11,6 +11,7 @@ { id :: id(), name :: binary(), + is_primary :: boolean(), range_min:: non_neg_integer(), range_max :: non_neg_integer(), omnimods :: shr_omnimods:type() @@ -70,6 +71,7 @@ get_omnimods (Wp) -> Wp#weapon.omnimods. -spec from_id (id()) -> type(). m4_include(__MAKEFILE_DATA_DIR/weapon/global.m4.conf)m4_dnl m4_include(__MAKEFILE_DATA_DIR/weapon/basic.m4d)m4_dnl +m4_include(__MAKEFILE_DATA_DIR/weapon/secondary.m4d)m4_dnl from_id (_) -> none(). -- cgit v1.2.3-70-g09d2