summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/struct/inventory/shr_glyph_board.erl.m4')
-rw-r--r--src/shared/struct/inventory/shr_glyph_board.erl.m412
1 files changed, 8 insertions, 4 deletions
diff --git a/src/shared/struct/inventory/shr_glyph_board.erl.m4 b/src/shared/struct/inventory/shr_glyph_board.erl.m4
index 7fe77b1..c2128a9 100644
--- a/src/shared/struct/inventory/shr_glyph_board.erl.m4
+++ b/src/shared/struct/inventory/shr_glyph_board.erl.m4
@@ -43,7 +43,8 @@
-export
(
[
- none/0,
+ default/0,
+ default_id/0,
get_omnimods_with_glyphs/2
]
).
@@ -91,10 +92,10 @@ get_slots (GlyphBoard) -> GlyphBoard#glyph_board.slots.
m4_include(__MAKEFILE_DATA_DIR/glyph_board/global.m4.conf)m4_dnl
m4_include(__MAKEFILE_DATA_DIR/glyph_board/basic.m4d)m4_dnl
from_id(_) ->
- none().
+ default().
--spec none () -> type().
-none () -> from_id(<<"0">>).
+-spec default () -> type().
+default () -> from_id(<<"0">>).
-spec get_omnimods_with_glyphs
(
@@ -107,3 +108,6 @@ get_omnimods_with_glyphs (Glyphs, GlyphBoard) ->
BoardSlots = GlyphBoard#glyph_board.slots,
get_omnimods_with_glyphs_internals(BoardOmnimods, Glyphs, BoardSlots).
+
+-spec default_id () -> id().
+default_id () -> <<"0">>.