Test Lua config mod

This commit is contained in:
Evil Factory
2026-04-08 19:56:32 -03:00
parent e161d92117
commit b9b457262f
3 changed files with 9 additions and 0 deletions

View File

@@ -36,4 +36,8 @@ Hook.Add("think", "printconfig", function()
lastTime = Timer.Time + 10
print(config.Value)
if SERVER then
config.TrySetValue(config.Value + 1)
end
end)

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<Items>
</Items>

View File

@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<contentpackage name="[DebugOnlyTest]TestLuaMod" >
<Text file="%ModDir%/Texts/English.xml"/>
<Item file="%ModDir%/dummy.xml" />
</contentpackage>