Repixture/mods/rp_builtin_item
Wuzzy fc7a00fb42 Rotate compass on itemframe, showcase and ground 2022-07-17 16:41:32 +02:00
..
sounds Refactor item magnet and fix multi-player bug 2022-05-21 18:06:03 +02:00
README.txt Rotate compass on itemframe, showcase and ground 2022-07-17 16:41:32 +02:00
init.lua Rotate compass on itemframe, showcase and ground 2022-07-17 16:41:32 +02:00
mod.conf Untangle hard dependencies on rp_default 2022-05-04 17:29:00 +02:00

README.txt

Repixture builtin item mod
==========================

Item entities for Repixture.

Adds the custom handling for item entities (dropped items) by overriding
`__builtin:item`. Item entities work similar to Minetest's builtin item entities.

Features:

* Basic physics (affected by gravity, collides)
* Supports the `item_entity_ttl` setting (auto-delete item after some time)
* Item magnet (player collects item automatically when close)
* Item is destroyed by lava, fire or nodes that deal damage with `damage_per_second`
* Notifies rp_nav when the map item was collected
* If the group `no_item_drop` is present in the item definition, or
  the item entity will be instantly deleted
* If `_rp_canonical_item` is set in the item definition, this item (itemname) will
  be used for the entity instead when it spawns. Useful when an item has multiple
  variants ike a compass

## Licensing
Credits: Originally by Minetest developers (from the `builtin` part of Minetest)
with tweaks by Kaadmy and Wuzzy.

Source code license: LGPLv2.1
Media license: CC BY-SA 4.0