summaryrefslogtreecommitdiff
path: root/builtin/game/item_entity.lua
Commit message (Collapse)AuthorAge
* 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