- require() implementat

This commit is contained in:
2023-08-04 13:52:11 +02:00
parent 88237804f7
commit 4fd9a443f2
4 changed files with 28 additions and 2 deletions

View File

@@ -1,7 +1,9 @@
other = require("other")
x=0
function _init()
text="HOLA MINI"
text=other.peiv()
keyRight = tonumber(getconf("keyright")) or KEY_RIGHT
keyLeft = tonumber(getconf("keyleft")) or KEY_LEFT
_update=normal_update

5
data/other.lua Normal file
View File

@@ -0,0 +1,5 @@
return {
peiv = function()
return "HOLA OTHER UNIT"
end
}