diff options
Diffstat (limited to 'build/test.lua')
| -rw-r--r-- | build/test.lua | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/build/test.lua b/build/test.lua new file mode 100644 index 0000000..f57f02b --- /dev/null +++ b/build/test.lua @@ -0,0 +1,12 @@ +tpt.register_step("do_step") +numberthing = 0 +increment = 2 +function do_step() + numberthing = numberthing + increment; + if numberthing >= 400 then + increment = -2 + elseif numberthing < 4 then + increment = 2 + end + tpt.drawtext(numberthing, 50, "Oh my god, this is amazing", 255, 255, 255, 255) +end |
