summaryrefslogtreecommitdiff
path: root/builtin/game/item_entity.lua
Commit message (Collapse)AuthorAge
* Fix item entity Z-fightingLars Mueller2022-04-10
|
* Fix #10349 game crashing if dropped an item with undefined light_source (#10351)Pierre-Yves Rollo2020-08-30
|
* Fix dropped craftitems/tools not using light_source values (#9438)LoneWolfHT2020-08-30
|
* Change item entity collisionbox so that they don't sink into the groundsfan52020-05-27
|
* Item Entity: Add message to moveresult assertion (#9797)rubenwardy2020-05-14
|
* Rewrite builtin item entity to use collision infosfan52020-04-27
| | | | fixes #8967
* Builtin: Make item entities glow less (#9594)sfan52020-04-04
| | | minor adjustment to #9200
* Builtin: Make dropped light_source nodes glow (#9200)Wuzzy2019-12-19
|
* Force item entities out of solid nodes (simpler) (#8885)sfan52019-09-04
|
* Builtin: Replace deprecated function calls (#7561)SmallJoker2018-07-17
|
* Item entity: Delete in 'ignore' nodesparamat2018-02-13
|
* Item entity: Prevent motion in ignore nodesparamat2018-02-05
|
* Item entities: Enable item collision detection for sudden movementDTA72017-11-06
|
* Fix dropped item look (#6370)you2017-09-11
| | | | | | | | | | | | | | * Abort set_item when it does nothing * Do not adjust dropped item size linearly Instead use cube root because the item count is proportional to the volume, not to the length. * Make the item rotate slower when it's bigger Bigger items chafe more on the ground, so they can't rotate as fast as small ones * Fix items flying in air
* Builtin item: Tidy up (#4370)SmallJoker2017-08-24
| | | | | | New code structure Use setting movement_gravity Reset age on merge Set merge radius to 1.0m
* Add slippery group for nodes (players/items slide)Wuzzy2017-08-13
|
* 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