summaryrefslogtreecommitdiff |
diff options
author | nsensfel <SpamShield0@noot-noot.org> | 2019-01-31 19:00:22 +0100 |
---|---|---|
committer | nsensfel <SpamShield0@noot-noot.org> | 2019-01-31 19:00:22 +0100 |
commit | 87075fd67f64250aa3e7a39ac37c35117eaf9828 (patch) | |
tree | e928e8125a1a9da8178fd9d9fae19b467fb6ec72 /src | |
parent | b1a3afeeea68e72e88f0fd9720035ee7f1541bdb (diff) |
Preparing for primary/secondary split.
Diffstat (limited to 'src')
-rw-r--r-- | src/shared/struct/shr_weapon.erl.m4 | 2 |
1 files changed, 2 insertions, 0 deletions
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(). |