transmit functions between files

This commit is contained in:
Jonathan 2024-03-12 13:30:50 -05:00
parent b36782015c
commit 1368a4a2cf
2 changed files with 9 additions and 2 deletions

View File

@ -1,2 +1,7 @@
local frustration = "high"
local n = nil
cope = {}
function cope.level()
print('Coping level = High')
end
return cope

2
main.lua Normal file
View File

@ -0,0 +1,2 @@
local cope = require('cope')
cope.level()