lib, lang, engine: local: Add Value mechanisms to local API
This expands the Local API with the first (and in theory, only ever) API for reading and writing simple values. This is a coordination point for resources and functions to share things directly.
This commit is contained in:
@@ -243,7 +243,7 @@ func (obj *Lang) Init() error {
|
||||
Local: obj.Local,
|
||||
World: obj.World,
|
||||
//Prefix: fmt.Sprintf("%s/", path.Join(obj.Prefix, "funcs")),
|
||||
Debug: obj.Debug,
|
||||
Debug: obj.Debug,
|
||||
Logf: func(format string, v ...interface{}) {
|
||||
obj.Logf("funcs: "+format, v...)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user