Skip to content

Commit

Permalink
fix(client/job): remove old code
Browse files Browse the repository at this point in the history
  • Loading branch information
BerkieBb committed Jan 28, 2024
1 parent 1e3b94d commit 51c349b
Showing 1 changed file with 0 additions and 52 deletions.
52 changes: 0 additions & 52 deletions client/job.lua
Original file line number Diff line number Diff line change
Expand Up @@ -437,58 +437,6 @@ else
})
end

for i = 1, #sharedConfig.locations.stash do
local function enteredStashZone()
if QBX.PlayerData.job.onduty then
lib.showTextUI(locale('text.pstash_button'))
end
end

local function outStashZone()
lib.hideTextUI()
end

local function insideStashZone()
OnKeyPress(openStash)
end

lib.zones.box({
coords = sharedConfig.locations.stash[i],
size = vec3(1, 1, 2),
rotation = -20,
debug = config.debugPoly,
onEnter = enteredStashZone,
onExit = outStashZone,
inside = insideStashZone,
})
end

for i = 1, #sharedConfig.locations.armory do
local function enteredArmoryZone()
if QBX.PlayerData.job.onduty then
lib.showTextUI(locale('text.armory_button'))
end
end

local function outArmoryZone()
lib.hideTextUI()
end

local function insideArmoryZone()
OnKeyPress(openArmory)
end

lib.zones.box({
coords = sharedConfig.locations.armory[i],
size = vec3(1, 1, 2),
rotation = -20,
debug = config.debugPoly,
onEnter = enteredArmoryZone,
onExit = outArmoryZone,
inside = insideArmoryZone,
})
end

for i = 1, #sharedConfig.locations.stash do
local function enteredStashZone()
if QBX.PlayerData.job.onduty then
Expand Down

0 comments on commit 51c349b

Please sign in to comment.