Last night's work
All checks were successful
Error Check / luacheck_errcheck (push) Successful in 43s
Unit Tests / busted_unit_test (push) Successful in 49s

This commit is contained in:
DesertMermaid 2024-12-12 12:35:15 -08:00
parent a260c4a33a
commit 1708e2d461
45 changed files with 1359 additions and 1347 deletions

View file

@ -34,11 +34,6 @@ To register a dyeable item or block, call the `register_dyeable` function in you
```lua
-- List of dyeable things
local dyeable_blocks = {"sand", "terracotta", "marble", "cobblestone", "sandstone"}
-- Register base things their dyeable variants
for _, base_block in ipairs(dyeable_blocks) do
vox_coloring.register_dyeable("vox_worldblocks", base_block)
end
```
Parameters:

View file

@ -1,4 +1,10 @@
-- Vox Coloring System
---------------------------------------------------------------------------
-- Voxelis - Vox Coloring
-- Adds dynamic dyes, registers dyeable blocks/items, and supports customization
---------------------------------------------------------------------------
-- Initialize the global table for this mod
vox_coloring = {}
-- Register dyes dynamically based on vox_colors
for color_name, color_hex in pairs(vox_colors) do
@ -172,8 +178,8 @@ minetest.register_craftitem("vox_coloring:cleaning_solvent", {
minetest.register_craft({
output = "vox_coloring:cleaning_solvent",
recipe = {
{"vox_mats:soap", "bucket:water_bucket", "vox_mats:salt"},
{"vox_mats:ash", "", ""},
{"vox_main:soap", "bucket:water_bucket", "vox_main:salt"},
{"vox_main:ash", "", ""},
},
replacements = {{"bucket:water_bucket", "bucket:bucket"}},
})

View file

@ -1,2 +1,3 @@
name = vox_coloring
description = Voxelis - coloring. Adds dynamic dyes, dynamically adds dyed (fill in the blanks) from mods that call upon the function, adds other things that are helpful.
description = Voxelis - coloring. Adds dynamic dyes, dynamically adds dyed (fill in the blanks) from mods that call upon the function, adds other things that are helpful.
depends = vox_colors