summaryrefslogtreecommitdiff
path: root/builtin/game/item_entity.lua
Commit message (Collapse)AuthorAge
* Item entity: Delete in 'ignore' nodesparamat2018-06-03
|
* Use a settings object for the main settingsShadowNinja2017-05-06
| | | | | | | This unifies the settings APIs. This also unifies the sync and async registration APIs, since the async registration API did not support adding non-functions to the API table.
* Hardware coloring for itemstacksDániel Juhász2017-04-08
| | | | | | | | | | Adds the possibility to colorize item stacks based on their metadata. In the item/node definition you can specify palette (an image file) and color (fallback color if the item has no palette or metadata). Then you can add palette_index to the metadata. Dropped itemstacks with different colors do not merge.
* Item entities: Don't show description as infotextparamat2016-05-22
| | | | | Partially reverts #3547 Infotext remains optional for objects, empty by default
* Show infotext with description for item entitiesRealBadAngel2016-01-18
|
* Add the player name to dropped itemsRobert Zenz2015-11-12
| | | | | The player name is now added in the field "dropped_by" on the created entity.
* Check if hitter has inventory when punching itemBlockMen2015-10-25
| | | | Fixes #3280
* Some map border related fixesest312015-09-29
| | | | | | | | | | | | | 1. Check for entity addition success in spawn_item implementation 2. Check for success in item_drop callback, so that the player doesn't lose the item if they are outside bounds and try to drop it. 3. When existing player joins game, check that their position is inside map bounds. If not, set their position to the return value of findSpawnPos(). 4. Make findSpawnPos() respect the border 2 fixes a lua crash if a player drops an item outside map bounds. 3 fixes an assertion crash if a player leaves when being outside map bounds, and then rejoins.
* Don't crash if an item gets dropped into unloaded spacetenplus12015-05-15
| | | | Items dropped into unloaded map space will crash game so here's a fix...
* Item entity merging refactorest312015-05-15
| | | | Don't ident too much, and add a comment.
* Make dropped items larger and rotate fasterCalinou2014-12-04
| | | | Signed-off-by: Craig Robbins <kde.psych@gmail.com>
* Add strict moduleShadowNinja2014-11-19
| | | | Also fix leaking globals found by it.
* Item entity stacks merge on the ground.RealBadAngel2014-05-23
| | | | Add TTL to item entities.
* Use "core" namespace internallyShadowNinja2014-05-08
|
* Organize builtin into subdirectoriesShadowNinja2014-05-07