summaryrefslogtreecommitdiff |
diff options
Diffstat (limited to 'src/shared/struct/inventory/shr_weapon.erl.m4')
-rw-r--r-- | src/shared/struct/inventory/shr_weapon.erl.m4 | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/shared/struct/inventory/shr_weapon.erl.m4 b/src/shared/struct/inventory/shr_weapon.erl.m4 index 1a2dcf5..189afa7 100644 --- a/src/shared/struct/inventory/shr_weapon.erl.m4 +++ b/src/shared/struct/inventory/shr_weapon.erl.m4 @@ -40,7 +40,8 @@ -export ( [ - none/0, + default/0, + default/0, from_id/1 ] ). @@ -73,7 +74,10 @@ 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(). + default(). --spec none () -> type(). -none () -> from_id(<<"0">>). +-spec default () -> type(). +default () -> from_id(<<"0">>). + +-spec default_id () -> id(). +default_id () -> <<"0">>. |