311e4285b1
Unhidden version of formspecs complete Many new settings added
23 lines
982 B
Lua
23 lines
982 B
Lua
--------------------------------------------------------------
|
|
-- direct_access.lua --
|
|
--------------------------------------------------------------
|
|
-- --
|
|
-- This file provides the 2 public modder-facing functions --
|
|
-- for accessing game_doc data. These are: --
|
|
-- --
|
|
-- <> game_doc.get_doc_data() --
|
|
-- <> game_doc.get_hidden_data() --
|
|
-- --
|
|
-- Use the above functions to access and possibly make --
|
|
-- changes to the backend data in game_doc --
|
|
--------------------------------------------------------------
|
|
|
|
game_doc.get_doc_data = function()
|
|
return game_doc.doc_data
|
|
end
|
|
|
|
game_doc.get_hidden_data = function()
|
|
return game_doc.player_data
|
|
end
|
|
|
|
-- Simple, right? |