Make Hidden System WIP in master

master
Dallas DeBruin 2021-11-22 14:34:53 -05:00
parent 1f95dadddd
commit 4667c51ddb
2 changed files with 3 additions and 5 deletions

View File

@ -27,11 +27,9 @@ game_doc.add_folder_entries(category_name, folder_location, hide_category, hide_
-- hide_**** is always optional, defaults to false
-- Will parse the provided folder for any `.md` files that are present, turn them into hypertext elements,
-- use their filename as <entry_name> and add them to the provided category.
```
## Hidden Entries
## Hidden Entries WIP, CURRENTLY DISABLED
This mod also supports hidden and unhidden entries, all categories and entries are shown by default to all players. To hide or unhide entries use the following, if player_name is nil, this change occurs for all future joining players. If player_name is a boolean of "true", this change will occur
for all known players, and all future joining players. If player_name is a boolean of "false", this change will occur for all currently connected players only.

View File

@ -56,8 +56,8 @@ game_doc.mods_loaded = false
dofile(game_doc.path .. "/code/settings.lua")
dofile(game_doc.path .. "/code/add_entries.lua")
dofile(game_doc.path .. "/code/direct_access.lua")
dofile(game_doc.path .. "/code/player_management.lua")
dofile(game_doc.path .. "/code/hidden_modifications.lua")
--dofile(game_doc.path .. "/code/player_management.lua")
--dofile(game_doc.path .. "/code/hidden_modifications.lua")
dofile(game_doc.path .. "/code/formspecs.lua")
dofile(game_doc.path .. "/code/integration.lua")