Skip to content
Snippets Groups Projects
Commit e6eb0aea authored by dg's avatar dg
Browse files

Funfacts do not show for modules unless requested

git-svn-id: http://svn.net-core.org/repos/t-engine4@6538 51575b47-30f0-44d4-a5cc-537603b46e54
parent dbe131e4
No related branches found
No related tags found
No related merge requests found
......@@ -522,7 +522,7 @@ function _M:loadScreen(mod)
end) end
local ffw = math.ceil(sw / 4)
if ffdata and not mod.no_funfacts then
if ffdata and mod.show_funfacts then
local str = self:selectFunFact(ffdata)
if str then pcall(function()
local text, _, tw = font:draw(str, ffw, 255, 255, 255)
......
......@@ -29,6 +29,7 @@ description = [[
Bootmenu!
]]
starter = "mod.load"
show_funfacts = true
loading_wait_ticks = 1600
if not config.settings.censor_boot then background_name = {"tome","tome2","tome3"}
else background_name = {"tome3"}
......
......@@ -52,6 +52,7 @@ teams = {
{ "#name#-#version#-gfx-shockbolt.team", "optional", {"/data/gfx/shockbolt/"} },
}
show_funfacts = true
loading_wait_ticks = 260
profile_stats_fields = {"artifacts", "characters", "deaths", "uniques", "scores", "lore", "escorts"}
allow_userchat = true -- We can talk to the online community
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment