Skip to content

Commit

Permalink
SLUMP tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
dashodanger committed May 9, 2024
1 parent de82bbb commit 964bdc8
Show file tree
Hide file tree
Showing 6 changed files with 318 additions and 457 deletions.
2 changes: 1 addition & 1 deletion games/chex1/base.lua
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ end

OB_GAMES["chex1"] =
{
label = _("Chex Quest 1"),
label = _("Chex 3 Vanilla"),
priority = 93,

engine = "idtech_1",
Expand Down
21 changes: 2 additions & 19 deletions games/chex1/themes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1196,28 +1196,11 @@ CHEX1.ROOM_THEMES =
}
------------------------------------------------------------------------


CHEX1.ROOMS =
{
GENERIC =
{
env = "any"
},

OUTSIDE =
{
env = "outdoor",
prob = 50
},

}


function CHEX1.slump_setup()
if ob_match_game({game = {chex1=1}}) then
if OB_CONFIG.theme == "original" or OB_CONFIG.theme == "epi" then
if OB_CONFIG.theme == "default" then
PARAM.slump_config = CHEX1.THEMES.DEFAULTS.slump_config
elseif OB_CONFIG.theme == "jumble" or OB_CONFIG.theme == "bit_mixed" then
elseif OB_CONFIG.theme == "jumble" then
local possible_configs = {}
for _,tab in pairs(CHEX1.THEMES) do
if tab.slump_config then
Expand Down
Loading

0 comments on commit 964bdc8

Please sign in to comment.