From e32759f9f401f8c001e0f0f907beb3f9342680b7 Mon Sep 17 00:00:00 2001 From: sanine Date: Sat, 16 Sep 2023 04:12:00 -0500 Subject: first light --- demo.lua | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 demo.lua (limited to 'demo.lua') 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)) -- cgit v1.2.1