Skip to content

Commit

Permalink
Added GLDEFS glowing flats for OTEX liquids.
Browse files Browse the repository at this point in the history
  • Loading branch information
GTD-Carthage committed Oct 17, 2024
1 parent 7dbfdcf commit 934c650
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion modules/zdoom_otex.lua
Original file line number Diff line number Diff line change
Expand Up @@ -836,6 +836,35 @@ function OTEX_PROC_MODULE.get_levels_after_themes()
table.deep_merge(GAME.ROOM_THEMES, OTEX_ROOM_THEMES, 2)
end


function OTEX_PROC_MODULE.all_done()
SCRIPTS.gldefs = ScriptMan_combine_script(SCRIPTS.gldefs,
[[
Glow
{
Flats
{
OBLODA01
OGOOPY01
OICYWA01
OLAVAA01
OLAVAA02
OLAVAB01
OLAVAC01
OLAVAD01
OLAVAE01
OLAVAF01
ONUKEA01
OSLUDG01
OPOOPY01
OTAR__01
OWATER01
}
}
]]
)
end

----------------------------------------------------------------

OB_MODULES["otex_proc_module"] =
Expand All @@ -855,7 +884,8 @@ OB_MODULES["otex_proc_module"] =
hooks =
{
setup = OTEX_PROC_MODULE.setup,
get_levels_after_themes = OTEX_PROC_MODULE.get_levels_after_themes
get_levels_after_themes = OTEX_PROC_MODULE.get_levels_after_themes,
all_done = OTEX_PROC_MODULE.all_done
},

tooltip = _("If enabled, generates room themes using OTEX based on a resource table. "..
Expand Down

0 comments on commit 934c650

Please sign in to comment.