1
0
mirror of https://github.com/minetest-mods/3d_armor.git synced 2024-11-06 02:20:35 +01:00
3d_armor/wieldview
ROllerozxa 400745dd0c
Swedish translation (+refresh translations and remove outdated meta) (#97)
* Refresh translations
* Add Swedish translations
* Remove outdated depends.txt and description.txt
2022-12-25 18:23:49 +01:00
..
get_texture.lua remove reference to smartshop image (#88) 2022-11-26 21:38:10 +01:00
init.lua more exhaustive attempt to display a wielded item w/ wieldview (#84) 2022-11-13 20:55:31 +01:00
LICENSE.txt Update licenses 2019-05-27 20:30:03 +01:00
mod.conf Use newer functions from MT/MTG 5.0.0+ 2019-06-16 15:17:21 -05:00
README.txt Added the possibility to hide wielded items in-game (#14) 2020-09-15 06:43:55 +02:00
transform.lua Improve player model hanlding and update to version 0.4.0 2013-11-12 21:22:52 +00:00

[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).