Skip to content

Commit

Permalink
Added "no bumper" and "no sidepod" options
Browse files Browse the repository at this point in the history
  • Loading branch information
ohyeah2389 committed Feb 18, 2025
1 parent 2124d6a commit 3d7eede
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Source/base/data/front_bumper_options.lut
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
OTK M6|0
KG 506|1
KG 506|1
None|100
3 changes: 2 additions & 1 deletion Source/base/data/sidepod_options.lut
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
OTK M10|0
OTK M6|1
OTK M6|1
None|100
8 changes: 8 additions & 0 deletions Source/base/extension/graphics.lua
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ local function frontBumperSelection()
elseif setupItem == 1 then
frontBumperOTK:setVisible(false)
frontBumperKG:setVisible(true)
elseif setupItem == 100 then
frontBumperOTK:setVisible(false)
frontBumperKG:setVisible(false)
end
end

Expand All @@ -121,6 +124,11 @@ local function sidepodSelection()
sidepodOTKM10_right:setVisible(false)
sidepodOTKM6_left:setVisible(true)
sidepodOTKM6_right:setVisible(true)
elseif setupItem == 100 then
sidepodOTKM10_left:setVisible(false)
sidepodOTKM10_right:setVisible(false)
sidepodOTKM6_left:setVisible(false)
sidepodOTKM6_right:setVisible(false)
end
end

Expand Down
3 changes: 2 additions & 1 deletion ohyeah2389_modkart_class2/data/front_bumper_options.lut
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
OTK M6|0
KG 506|1
KG 506|1
None|100
3 changes: 2 additions & 1 deletion ohyeah2389_modkart_class2/data/sidepod_options.lut
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
OTK M10|0
OTK M6|1
OTK M6|1
None|100
8 changes: 8 additions & 0 deletions ohyeah2389_modkart_class2/extension/graphics.lua
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ local function frontBumperSelection()
elseif setupItem == 1 then
frontBumperOTK:setVisible(false)
frontBumperKG:setVisible(true)
elseif setupItem == 100 then
frontBumperOTK:setVisible(false)
frontBumperKG:setVisible(false)
end
end

Expand All @@ -121,6 +124,11 @@ local function sidepodSelection()
sidepodOTKM10_right:setVisible(false)
sidepodOTKM6_left:setVisible(true)
sidepodOTKM6_right:setVisible(true)
elseif setupItem == 100 then
sidepodOTKM10_left:setVisible(false)
sidepodOTKM10_right:setVisible(false)
sidepodOTKM6_left:setVisible(false)
sidepodOTKM6_right:setVisible(false)
end
end

Expand Down

0 comments on commit 3d7eede

Please sign in to comment.