add drawers support for wrench (also fix a missing constants issue)

This commit is contained in:
BuckarooBanzay
2020-08-31 12:06:09 +02:00
parent 8fc58be03b
commit df25b91beb
5 changed files with 61 additions and 4 deletions

View File

@ -17,6 +17,7 @@ Syntax:
wrench.META_TYPE_FLOAT = 1
wrench.META_TYPE_STRING = 2
wrench.META_TYPE_INT = 3
local STRING, FLOAT =
wrench.META_TYPE_STRING,
@ -68,4 +69,3 @@ function wrench:register_node(name, def)
self.registered_nodes[name] = def
end
end