| summaryrefslogtreecommitdiff | 
diff options
| author | nsensfel <SpamShield0@noot-noot.org> | 2018-08-28 16:07:28 +0200 | 
|---|---|---|
| committer | nsensfel <SpamShield0@noot-noot.org> | 2018-08-28 16:07:28 +0200 | 
| commit | a3ca314c49a9acfd2d27742c7a4998b1fa561c5e (patch) | |
| tree | 4b337297c63f0166ca5bccd91186d436237cf7fa /glyph | |
| parent | 92c21e348391af5fc3c2d68af0e6c6bfd7a40b03 (diff) | |
Converts the weapons, adds glyphs and their boards
Diffstat (limited to 'glyph')
| -rw-r--r-- | glyph/basic.m4d | 66 | ||||
| -rw-r--r-- | glyph/global.m4.conf | 25 | 
2 files changed, 91 insertions, 0 deletions
| diff --git a/glyph/basic.m4d b/glyph/basic.m4d new file mode 100644 index 0000000..435e788 --- /dev/null +++ b/glyph/basic.m4d @@ -0,0 +1,66 @@ +__GLYPH(0, +   None, +   __MOD_LIST(), +   __MOD_LIST(), +   __MOD_LIST(), +   __MOD_LIST())m4_dnl +__GLYPH(1, +   The Old Sign, +   __MOD_LIST(__MOD_CONSTITUTION(15)), +   __MOD_LIST(), +   __MOD_LIST(), +   __MOD_LIST())m4_dnl +__GLYPH(2, +   The Courier's Prayer, +   __MOD_LIST(__MOD_STRENGTH(-20)__MOD_CONSTITUTION(-10)__MOD_MIND(-10)), +   __MOD_LIST(__MOD_MOVEMENT_POINTS(40)), +   __MOD_LIST(), +   __MOD_LIST())m4_dnl +__GLYPH(3, +   [PH] Speed for Constitution, +   __MOD_LIST(__MOD_CONSTITUTION(-10)__MOD_SPEED(20)), +   __MOD_LIST(), +   __MOD_LIST(), +   __MOD_LIST())m4_dnl +__GLYPH(4, +   [PH] Speed for Strength, +   __MOD_LIST(__MOD_STRENGTH(-13)__MOD_SPEED(25)), +   __MOD_LIST(), +   __MOD_LIST(), +   __MOD_LIST())m4_dnl +__GLYPH(5, +   [PH] Speed for Dexterity, +   __MOD_LIST(__MOD_DEXTERITY(-10)__MOD_SPEED(20)), +   __MOD_LIST(), +   __MOD_LIST(), +   __MOD_LIST())m4_dnl +__GLYPH(6, +   [PH] Constitution for Intelligence, +   __MOD_LIST(__MOD_INTELLIGENCE(-10)__MOD_CONSTITUTION(15)), +   __MOD_LIST(), +   __MOD_LIST(), +   __MOD_LIST())m4_dnl +__GLYPH(7, +   [PH] Constitution for Strength, +   __MOD_LIST(__MOD_INTELLIGENCE(-15)__MOD_CONSTITUTION(23)), +   __MOD_LIST(), +   __MOD_LIST(), +   __MOD_LIST())m4_dnl +__GLYPH(8, +   [PH] Constitution for Speed, +   __MOD_LIST(__MOD_SPEED(-10)__MOD_CONSTITUTION(23)), +   __MOD_LIST(), +   __MOD_LIST(), +   __MOD_LIST())m4_dnl +__GLYPH(9, +   [PH] Dexterity for Constitution, +   __MOD_LIST(__MOD_CONSTITUTION(-15)__MOD_DEXTERITY(20)), +   __MOD_LIST(), +   __MOD_LIST(), +   __MOD_LIST())m4_dnl +__GLYPH(10, +   [PH] Dexterity for Constitution, +   __MOD_LIST(__MOD_CONSTITUTION(-15)__MOD_DEXTERITY(20)), +   __MOD_LIST(), +   __MOD_LIST(), +   __MOD_LIST())m4_dnl diff --git a/glyph/global.m4.conf b/glyph/global.m4.conf new file mode 100644 index 0000000..fafef02 --- /dev/null +++ b/glyph/global.m4.conf @@ -0,0 +1,25 @@ +m4_include(__MAKEFILE_DATA_DIR`/modifiers.m4.conf')m4_dnl +m4_define(`__GLYPH_CHOOSE_STYLE', `m4_define(`__GLYPH',m4_defn(`$1'))m4_undefine(`$1')')m4_dnl +m4_define(`__GLYPH_ERLANG_STYLE',`from_id (`$1') -> +   #glyph +   { +      id = $1, +      name = <<"$2">>, +      attr_mod = $3, +      stat_mod = $4, +      atk_mod = $5, +      def_mod = $6 +   }; +')m4_dnl +m4_define(`__GLYPH_JSON_STYLE',`   { +      "msg": "add_glyph", +      "id": $1, +      "nam": "$2", +      "attm": $3, +      "stam": $4, +      "atkm": $5, +      "defm": $6 +   }, +')m4_dnl +m4_define(`__GLYPH_USE_ERLANG_STYLE',`__GLYPH_CHOOSE_STYLE(`__GLYPH_ERLANG_STYLE')__MOD_USE_ERLANG_STYLE()')m4_dnl +m4_define(`__GLYPH_USE_JSON_STYLE',`__GLYPH_CHOOSE_STYLE(`__GLYPH_JSON_STYLE')__MOD_USE_JSON_STYLE()')m4_dnl | 


