Update init.lua

This commit is contained in:
The4codeblocks 2023-07-13 15:33:32 +02:00 committed by GitHub
parent 7a9f9b949d
commit aa58b51b7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,22 +1,3 @@
--Docs
--[[
Configuration:
To add your own nodes that you want to compress further, you make a table like this:
<modname> = {
{already_compressed = <how many times your final compression tier has been compressed, 0 if no compression>, node = <your final tier of compression's itemstring>},
{already_compressed = <repeat>, node = <repeat>},
.
.
<for every node you want compressed>
},
and append it to the to_compress table in the Config section.
You must also add the mod used to the mod.conf's optional_depends section.
LIMITATIONS:
Table-based textures (default:dirt_with_grass has them for example) are incompatible and cause the mod to return an error; Pull requests are welcome.
]]
local new_node = {info = {}}
compression = {}