- adjust oxyruns to be 20% failure of new location
- fix meth location
This commit is contained in:
1 parent
c47b69ceca
commit
bf9d435b03
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -419,7 +419,7 @@ for k, v in pairs (locations.MethEph) do
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
for k, v in pairs (locations.Methace) do
|
for k, v in pairs (locations.MethAce) do
|
||||||
ps.boxTarget('stealMethAce'..k, v.loc, {length = v.l, width = v.w, rotation = v.rot, height = 1.0},{
|
ps.boxTarget('stealMethAce'..k, v.loc, {length = v.l, width = v.w, rotation = v.rot, height = 1.0},{
|
||||||
{
|
{
|
||||||
label = ps.lang('meth.targetStealACE'),
|
label = ps.lang('meth.targetStealACE'),
|
||||||
|
|||||||
+1
-1
@@ -69,7 +69,7 @@ end)
|
|||||||
ps.registerCallback('md-drugs:server:getRoute', function(source)
|
ps.registerCallback('md-drugs:server:getRoute', function(source)
|
||||||
if not onRoute[source] then return false end
|
if not onRoute[source] then return false end
|
||||||
local giveLocation = math.random(1, 10)
|
local giveLocation = math.random(1, 10)
|
||||||
if giveLocation == 10 then
|
if giveLocation >= 8 then
|
||||||
onRoute[source] = nil
|
onRoute[source] = nil
|
||||||
return false
|
return false
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in new issue
Block a user