minetest-mm/mods/3d_armor/wieldview
root e32f708c10 update 2021-06-27 17:39:50 +02:00
..
LICENSE.txt next_update_first_mod 2020-10-25 16:58:28 +01:00
README.txt add_some_mods 2020-10-25 19:05:08 +01:00
depends.txt next_update_first_mod 2020-10-25 16:58:28 +01:00
description.txt next_update_first_mod 2020-10-25 16:58:28 +01:00
init.lua update 2021-06-27 17:39:50 +02:00
mod.conf next_update_first_mod 2020-10-25 16:58:28 +01:00
transform.lua next_update_first_mod 2020-10-25 16:58:28 +01:00

README.txt

[mod] visible wielded items [wieldview]
=======================================

Depends on: 3d_armor

Makes hand wielded items visible to other players.

default settings: [minetest.conf]

# Set number of seconds between visible wielded item updates.
wieldview_update_time = 2

# Show nodes as tiles, disabled by default
wieldview_node_tiles = false


Info for modders
################

Wield image transformation: To apply a simple transformation to the item in
hand, add the group “wieldview_transform” to the item definition. The group
rating equals one of the numbers used for the [transform texture modifier
of the Lua API.

Disabling the feature in-game: If you want to hide the wielded item
you can add an INT metadata to the player called "show_wielded_item" and set
it to 2 (any other value will show the wielded item again).