50 Commits

Author SHA1 Message Date
MoNTE48
9bce637615 Builtin: update game 2020-10-02 18:46:39 +02:00
MoNTE48
19ea0829af Fix collecting item without age 2020-04-26 19:19:15 +02:00
MoNTE48
fa384341f4 Drop the left item when collecting 2020-03-26 20:26:23 +01:00
MoNTE48
f4ffb67805 Fix lava destruction for dropped items 2020-03-17 21:14:51 +01:00
MoNTE48
0b6f9aa131 Improve item collection 2020-03-09 15:16:02 +01:00
MoNTE48
794000d543 Fixed dropping dug nodes 2020-02-25 16:28:45 +01:00
MoNTE48
8449a0b304 Builtin: replace minetest -> core, fix password saving crash 2020-02-20 14:48:29 +01:00
MoNTE48
eac50692d7 Builtin items: cleanup, optimize and backport MT5 changes 2020-02-04 20:02:25 +01:00
MoNTE48
f524bd2a1c Backport: Object properties: Add 'glow', disables light's effect if negative
a9d43a0471
The 'glow' value is added to the ambient light value.
Negative 'glow' disables light's effect on object colour, for faking
self-lighting, UI-style entities, or programmatic colouring in mods.
2020-01-22 20:56:48 +01:00
MoNTE48
1e8942cbbe Builtin: optimize item_entity 2020-01-17 14:22:09 +01:00
MoNTE48
32c44e00c4 Builtin: Clearing Functions and Variables 2019-10-16 20:08:12 +02:00
MoNTE48
ee649da027 Move item inside node to free space, item_entity improvements 2019-09-06 17:25:12 +02:00
MoNTE48
f2464cfcf2 Fix item_entity and 3d_armor crashes 2019-09-06 17:25:12 +02:00
MoNTE48
2dc48977ff Move Drop Collection in builtin 2019-08-10 22:56:35 +02:00
MoNTE48
ebf639b8aa Fix statbar positions, carts warnings, birch textures 2019-07-17 19:58:34 +02:00
MoNTE48
51682a1e17 Add Item water flow (by TenPlus1), fix Statbars and backport Falling node sound from MT5.0 2019-07-09 13:54:16 +02:00
stujones11
9f2b3fa0da Improve throwing and improve formspecs 2019-06-27 01:24:17 +02:00
stujones11
36f8752700 Add 'silent' armor group 2019-06-23 23:38:52 +02:00
MoNTE48
79d4eab9e8 Update builtin 2019-06-22 01:09:54 +02:00
stujones11
a082b698c4 Move throwing physics to builtin 2019-06-22 01:09:54 +02:00
MoNTE48
b7930566f6 Update xpanes, combine colored glass, and hardened_clay, fix albino sheep (thanks @stujones11) 2019-06-18 10:00:26 +02:00
MoNTE48
15a5b4cec4 Backport 'Builtin item: Tidy up' form MT 5.0 2019-06-05 11:38:27 +02:00
MoNTE48
d3cd153d3b DANGER!!! The player suffocates inside all blocks, unless noclip is enabled 2019-06-03 20:53:11 +02:00
MoNTE48
26d603f2a9 Backport "slippery" feature from MT 5.0, replace builtin deprecated function calls, move eat sound in builtin 2019-06-03 15:46:14 +02:00
Maksim
a977fa04fc Update creative and mainmenu formspec 2019-05-16 00:33:06 +02:00
Maksim
d0748fd5b9 fix 2019-05-10 22:11:18 +02:00
Maksim
9d2e5872e7 Update Trees and small fix 2019-05-10 00:11:53 +02:00
stujones11
b115ff6154 Inventory fixes and Armor updates 2019-05-10 00:11:29 +02:00
MoNTE48
e98d421aff Merge remote-tracking branch 'upstream/stable-0.4' into sync 2019-04-01 20:18:54 +02:00
paramat
cd7c7d7e6c Item entity: Delete in 'ignore' nodes 2018-06-03 17:32:00 +02:00
Maksim Gamarnik
35770f4abb Merge Minetest 0.4.16 2017-06-06 23:03:34 +03:00
ShadowNinja
dfb4074a5a Use a settings object for the main settings
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.
2017-05-06 15:33:19 -04:00
Dániel Juhász
88b956fe8e Hardware coloring for itemstacks
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.
2017-04-08 18:39:15 -07:00
Maksim Gamarnik
e05f7db82f Updated to Minetest ver. 0.4.15 2017-01-30 00:44:07 +02:00
Maksim Gamarnik
cec4a36e49 Update item_drop 2016-11-28 01:19:49 +02:00
paramat
26099ce9c1 Item entities: Don't show description as infotext
Partially reverts #3547
Infotext remains optional for objects, empty by default
2016-05-22 08:21:44 +01:00
Maksim Gamarnik
6281057f4f Small update 2016-05-13 21:58:46 +03:00
Maksim Gamarnik
da97d550e7 ver. 1.1.2.3 2016-04-08 20:43:15 +03:00
Maksim Gamarnik
a96eae9804 Remove ogg and item_drop improve 2016-04-01 00:26:03 +03:00
RealBadAngel
40ce082cfb Show infotext with description for item entities 2016-01-18 17:21:41 +00:00
Robert Zenz
5177c073c0 Add the player name to dropped items
The player name is now added in the field "dropped_by" on the created
entity.
2015-11-12 00:47:11 +01:00
BlockMen
b966a46591 Check if hitter has inventory when punching item
Fixes #3280
2015-10-25 18:15:31 +01:00
est31
2a2707e629 Some map border related fixes
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.
2015-09-29 23:06:15 +02:00
tenplus1
7f61ce3ca2 Don't crash if an item gets dropped into unloaded space
Items dropped into unloaded map space will crash game so here's a fix...
2015-05-15 00:15:25 +02:00
est31
d3d4f0e78e Item entity merging refactor
Don't ident too much, and add a comment.
2015-05-15 00:06:18 +02:00
Calinou
2e6eeedeb4 Make dropped items larger and rotate faster
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-12-04 21:10:12 +10:00
ShadowNinja
4b3c14a9d2 Add strict module
Also fix leaking globals found by it.
2014-11-19 12:40:54 -05:00
RealBadAngel
ba9d57ed2f Item entity stacks merge on the ground.
Add TTL to item entities.
2014-05-23 22:46:05 +02:00
ShadowNinja
9718e20bfa Use "core" namespace internally 2014-05-08 13:02:04 -04:00
ShadowNinja
6001210df6 Organize builtin into subdirectories 2014-05-07 17:14:23 -04:00