-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathShowman_main.lua
More file actions
36 lines (30 loc) · 884 Bytes
/
Copy pathShowman_main.lua
File metadata and controls
36 lines (30 loc) · 884 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
local lovely = require("lovely")
local nativefs = require("nativefs")
Showman.INITIALIZED = true
Showman.VER = "Showman v1.0.0-dev"
local last_status = false;
local setup = false;
local prev_pseudo = 1
local count = 1
function Showman.update(dt)
--[[ count = count + 1
if count > 100 and prev_pseudo ~= G.GAME.pseudorandom.seed then
sendDebugMessage("### = Pseudoseed.seed changed!")
prev_pseudo = G.GAME.pseudorandom.seed
end
if count > 100 then
sendDebugMessage(prev_pseudo)
sendDebugMessage(G.GAME.pseudorandom.seed)
count = 1
end ]]
--[[ if not setup then
sendDebugMessage("setup")
last_status = Showman.config.SEEK.apply_showman
setup = true
return
end
if Showman.config.SEEK.apply_showman ~= last_status then
sendDebugMessage("apply_showman toggled")
last_status = Showman.config.SEEK.apply_showman
end ]]
end