add screenshots

This commit is contained in:
𝘋𝘪𝘳𝘬 2023-08-04 20:29:59 +02:00
parent 9c678f33ae
commit 22d2d1159b
Signed by: dirk
GPG Key ID: F44E7467B12D6707
9 changed files with 31 additions and 4 deletions

View File

@ -1,4 +1,14 @@
_**WIP**_
_**Laders 3D** Is a mod that adds 3D ladders from a wide variety of base materials_
![All default ladders](screenshots/ladders_3d_default_ladders.jpg)
## Crafting
Crafting a ladder is done quite similar to crafting the default ladders. Instead of a stick the whole block is used. Just place in an `H` shape to get 7 ladders. To uncraft a ladder, just place it in the crafting grid to get one of the base block back.
![Crafting Recipe](screenshots/ladders_3d_craft.png)
![Uncrafting Recipe](screenshots/ladders_3d_uncraft.png)
## Configuration options
Listed below are the configuration options that can be set either in the global `minetest.conf` file or in the file `_ladders_3d.conf` in the world directory. Configuration options are set in the following order.

View File

@ -1 +1,9 @@
# textdomain: ladders_3d
# “Minetest Game”, `default` mod
Aspen Wood Ladder=Espenholzleiter
Jungle Wood Ladder=Dschungelholzleiter
Pine Wood Ladder=Kiefernholzleiter
Acacia Wood Ladder=Akazienholzleiter

View File

@ -1,11 +1,20 @@
local S = ladders_3d.translator
-- Ladders created with the default wood variants from “Minetest Game”, the
-- steel ladder and the generic wood ladder are left out. Those ladders are
-- handled in a separate registration file.
--
-- @see default.override_ladders.lua
local S = ladders_3d.translator
local texture = '(+base^(+mask^[opacity:+opacity))'
local image = '((+texture)^[mask:+mask)'
local ladders = {
aspen_wood = { S('Aspen Wood Ladder'), 'default:aspen_wood', 64 }
aspen_wood = { S('Aspen Wood Ladder'), 'default:aspen_wood', 32 },
pine_wood = { S('Pine Wood Ladder'), 'default:pine_wood', 32 },
jungle_wood = { S('Jungle Wood Ladder'), 'default:junglewood', 32 },
acacia_wood = { S('Acacia Wood Ladder'), 'default:acacia_wood', 32 },
}
@ -13,7 +22,7 @@ for short_short_id,definition in pairs(ladders) do
local node_def = minetest.registered_nodes[definition[2]]
local texture = (texture:gsub('%+%w+', {
['+base'] = node_def.tiles[1],
['+base'] = '(('..node_def.tiles[1]..')^[transformR180)',
['+mask'] = 'ladders_3d_default_shape_shading_mask.png',
['+opacity'] = definition[3]
}))

BIN
screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 316 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 B