2013-03-26 21:54:01 +01:00
|
|
|
[mod] visible wielded items [wieldview]
|
|
|
|
=======================================
|
|
|
|
|
2017-03-30 06:05:30 +02:00
|
|
|
Depends on: 3d_armor
|
2013-03-26 21:54:01 +01:00
|
|
|
|
2013-11-12 22:22:52 +01:00
|
|
|
Makes hand wielded items visible to other players.
|
2013-04-11 21:56:35 +02:00
|
|
|
|
|
|
|
default settings: [minetest.conf]
|
|
|
|
|
|
|
|
# Set number of seconds between visible wielded item updates.
|
|
|
|
wieldview_update_time = 2
|
|
|
|
|
2013-08-04 23:17:08 +02:00
|
|
|
# Show nodes as tiles, disabled by default
|
|
|
|
wieldview_node_tiles = false
|
2013-03-26 21:54:01 +01:00
|
|
|
|
2017-03-30 06:02:54 +02:00
|
|
|
|
|
|
|
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.
|
2020-09-15 06:43:55 +02:00
|
|
|
|
|
|
|
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).
|