derp
This commit is contained in:
parent
d8b9479742
commit
eeea30398d
|
|
@ -336,31 +336,31 @@ function ReadGearInfo(newTool,player)
|
||||||
end
|
end
|
||||||
elseif (GearType == 3) then
|
elseif (GearType == 3) then
|
||||||
if (game.Lighting.AllowedGearTypes.Ranged == true) then
|
if (game.Lighting.AllowedGearTypes.Ranged == true) then
|
||||||
|
return true
|
||||||
end
|
end
|
||||||
elseif (GearType == 4) then
|
elseif (GearType == 4) then
|
||||||
if (game.Lighting.AllowedGearTypes.Navigation == true) then
|
if (game.Lighting.AllowedGearTypes.Navigation == true) then
|
||||||
|
return true
|
||||||
end
|
end
|
||||||
elseif (GearType == 5) then
|
elseif (GearType == 5) then
|
||||||
if (game.Lighting.AllowedGearTypes.Explosives == true) then
|
if (game.Lighting.AllowedGearTypes.Explosives == true) then
|
||||||
|
return true
|
||||||
end
|
end
|
||||||
elseif (GearType == 6) then
|
elseif (GearType == 6) then
|
||||||
if (game.Lighting.AllowedGearTypes.Musical == true) then
|
if (game.Lighting.AllowedGearTypes.Musical == true) then
|
||||||
|
return true
|
||||||
end
|
end
|
||||||
elseif (GearType == 7) then
|
elseif (GearType == 7) then
|
||||||
if (game.Lighting.AllowedGearTypes.Social == true) then
|
if (game.Lighting.AllowedGearTypes.Social == true) then
|
||||||
|
return true
|
||||||
end
|
end
|
||||||
elseif (GearType == 8) then
|
elseif (GearType == 8) then
|
||||||
if (game.Lighting.AllowedGearTypes.Transport == true) then
|
if (game.Lighting.AllowedGearTypes.Transport == true) then
|
||||||
|
return true
|
||||||
end
|
end
|
||||||
elseif (GearType == 9) then
|
elseif (GearType == 9) then
|
||||||
if (game.Lighting.AllowedGearTypes.Building == true) then
|
if (game.Lighting.AllowedGearTypes.Building == true) then
|
||||||
|
return true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue