Lua: accept different params for gold function

This commit is contained in:
Pasi Kallinen
2020-02-26 17:57:47 +02:00
parent 7a54edf91f
commit 816079c8dd
2 changed files with 26 additions and 4 deletions

View File

@@ -211,6 +211,9 @@ end
function test_gold()
des.gold({ amount = 999, x = 40, y = 07 });
des.gold();
des.gold(666, 41,07);
des.gold(123, {42,07});
end
function test_trap()