Skip to content

Commit acae3be

Browse files
committed
XD
1 parent 5e213d5 commit acae3be

File tree

11 files changed

+17
-19
lines changed

11 files changed

+17
-19
lines changed

doorkick/libraries/server.lua

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
local networkStrings = {"DoorKickView"}
2-
for _, netString in ipairs(networkStrings) do
3-
util.AddNetworkString(netString)
4-
end
1+
util.AddNetworkString("DoorKickView")
2+
lia.log.addType("doorkick", function(client, door) return string.format("%s kicked open %s", client:Name(), tostring(door)) end, "Player")

doorkick/module.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@ MODULE.discord = "@liliaplayer"
44
MODULE.version = 1.14
55
MODULE.desc = "Allows players to breach doors by kicking them open. The action flings the door aside and is fully logged for staff review."
66
MODULE.Public = true
7-
if SERVER then lia.log.addType("doorkick", function(client, door) return string.format("%s kicked open %s", client:Name(), tostring(door)) end, "Player") end
8-
MODULE.Features = {"Adds the ability to kick doors open with an animation", "Adds logging of door kick events", "Adds a fun breach mechanic", "Adds physics force to fling doors open", "Adds a cooldown to prevent spam kicking"}
7+
MODULE.Features = {"Adds the ability to kick doors open with an animation", "Adds logging of door kick events", "Adds a fun breach mechanic", "Adds physics force to fling doors open", "Adds a cooldown to prevent spam kicking"}

npcspawner/libraries/server.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,5 @@ end
9999
function MODULE:InitializedModules()
100100
if not timer.Exists("NPCSpawnTimer") then timer.Create("NPCSpawnTimer", lia.config.get("SpawnCooldown"), 0, spawnCycle) end
101101
end
102+
103+
lia.log.addType("npcspawn", function(client, spawner) return string.format("%s forced NPC spawn at %s", client:Name(), tostring(spawner)) end, "Player")

npcspawner/module.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@ MODULE.discord = "@liliaplayer"
44
MODULE.version = 1.15
55
MODULE.desc = "Spawns NPCs at preset points on a schedule. Staff can force spawns manually and all actions are logged."
66
MODULE.Public = true
7-
if SERVER then lia.log.addType("npcspawn", function(client, spawner) return string.format("%s forced NPC spawn at %s", client:Name(), tostring(spawner)) end, "Player") end
8-
MODULE.Features = {"Adds automatic NPC spawns at points", "Adds the ability for admins to force spawns", "Adds logging of spawn actions", "Adds configuration for spawn intervals", "Adds spawner entity previews"}
7+
MODULE.Features = {"Adds automatic NPC spawns at points", "Adds the ability for admins to force spawns", "Adds logging of spawn actions", "Adds configuration for spawn intervals", "Adds spawner entity previews"}

permaremove/libraries/server.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@
1313
end
1414
end
1515
end
16+
17+
lia.log.addType("permaremove", function(client, entity) return string.format("%s permanently removed %s", client:Name(), tostring(entity)) end, "Player")

permaremove/module.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@ MODULE.discord = "bozdev"
44
MODULE.version = 1.14
55
MODULE.desc = "Allows admins to permanently delete unwanted map entities. Each removal is confirmed and recorded for later review."
66
MODULE.Public = true
7-
if SERVER then lia.log.addType("permaremove", function(client, entity) return string.format("%s permanently removed %s", client:Name(), tostring(entity)) end, "Player") end
8-
MODULE.Features = {"Adds ability to permanently delete map entities", "Adds logging for each removed entity", "Adds an admin-only command", "Adds confirmation prompts before removal", "Adds restore list to undo mistakes"}
7+
MODULE.Features = {"Adds ability to permanently delete map entities", "Adds logging for each removed entity", "Adds an admin-only command", "Adds confirmation prompts before removal", "Adds restore list to undo mistakes"}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
function MODULE:PlayerLoadout(ply)
22
ply:setNetVar("isPicking", false)
33
end
4+
5+
lia.log.addType("lockpick", function(client, target) return string.format("%s lockpicked %s", client:Name(), tostring(target)) end, "Player")

simple_lockpicking/module.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@ MODULE.discord = "@liliaplayer"
44
MODULE.version = 1.14
55
MODULE.desc = "Offers a basic lockpick tool for brute-forcing doors. Attempts are logged, and pick time and break chance are configurable."
66
MODULE.Public = true
7-
if SERVER then lia.log.addType("lockpick", function(client, target) return string.format("%s lockpicked %s", client:Name(), tostring(target)) end, "Player") end
8-
MODULE.Features = {"Adds a simple lockpick tool for doors", "Adds logging of successful picks", "Adds brute-force style gameplay", "Adds configurable pick time", "Adds chance for tools to break"}
7+
MODULE.Features = {"Adds a simple lockpick tool for doors", "Adds logging of successful picks", "Adds brute-force style gameplay", "Adds configurable pick time", "Adds chance for tools to break"}

slots/module.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ MODULE.version = 1.16
55
MODULE.desc = "Introduces a slot machine minigame using a workshop model. Players can gamble for configurable payouts with sounds and animations."
66
MODULE.WorkshopContent = "3527541056"
77
MODULE.Public = true
8-
MODULE.Features = {"Adds a slot machine minigame", "Adds a workshop model for the machine", "Adds handling of payouts to winners", "Adds customizable payout odds", "Adds sound and animation effects"}
8+
MODULE.Features = {"Adds a slot machine minigame", "Adds a workshop model for the machine", "Adds handling of payouts to winners", "Adds customizable payout odds", "Adds sound and animation effects"}

tying/libraries/server.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,3 +112,6 @@ function MODULE:CanPlayerJoinClass(client)
112112
return false
113113
end
114114
end
115+
116+
lia.log.addType("tie", function(client, target) return string.format("%s tied %s", client:Name(), IsValid(target) and target:Name() or "unknown") end, "Player")
117+
lia.log.addType("untie", function(client, target) return string.format("%s untied %s", client:Name(), IsValid(target) and target:Name() or "unknown") end, "Player")

0 commit comments

Comments
 (0)