diff options
Diffstat (limited to 'demo.lua')
-rwxr-xr-x | demo.lua | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/demo.lua b/demo.lua new file mode 100755 index 0000000..bbf02ab --- /dev/null +++ b/demo.lua @@ -0,0 +1,24 @@ +#!/usr/bin/env lua5.1 + +local d = require 'draw' + +local stats = { + title = 'Azer', + alignment = "lawful neutral", + size = "medium", + type = "elemental", + + ac = '17 (natural armor, shield)', + hp = '39 (6d8 + 12)', + speed = '30 ft.', + + str = 17, + dex = 12, + con = 15, + int = 12, + wis = 13, + cha = 10, +} + + +print(d.draw(stats)) |