Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: enable debugPoly via config #106

Merged
merged 3 commits into from
Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions client/hospital.lua
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ if config.useTarget then
coords = hospital.checkIn,
size = vec3(2, 1, 2),
rotation = 18,
debug = false,
debug = config.debugPoly,
options = {
{
onSelect = function()
Expand All @@ -148,7 +148,7 @@ if config.useTarget then
coords = bed.coords.xyz,
size = vec3(1.7, 1.9, 2),
rotation = bed.coords.w,
debug = false,
debug = config.debugPoly,
options = {
{
onSelect = function()
Expand Down Expand Up @@ -192,7 +192,7 @@ else
coords = hospital.checkIn,
size = vec3(2, 1, 2),
rotation = 18,
debug = false,
debug = config.debugPoly,
onEnter = enterCheckInZone,
onExit = outCheckInZone,
inside = insideCheckInZone,
Expand Down Expand Up @@ -222,7 +222,7 @@ else
coords = bed.coords.xyz,
size = vec3(1.9, 2.1, 2),
rotation = bed.coords.w,
debug = false,
debug = config.debugPoly,
onEnter = enterBedZone,
onExit = outBedZone,
inside = insideBedZone,
Expand Down
1 change: 1 addition & 0 deletions config/client.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
return {
useTarget = false,
debugPoly = false,
minForCheckIn = 2, -- Minimum number of people with the ambulance job to prevent the check-in system from being used
painkillerInterval = 60, -- Time in minutes that painkillers last for
checkInHealTime = 20, -- Time in seconds that it takes to be healed from the check-in system
Expand Down
2 changes: 1 addition & 1 deletion config/server.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
return {
doctorCallCooldown = 1, -- Time in minutes for cooldown between doctors calls
wipeInvOnRespawn = true, -- Enable ro disable removing all items from player on respawn
wipeInvOnRespawn = true, -- Enable to disable removing all items from player on respawn
}
Loading