lhofhansl
1e7804aaf6
Allow saturation to be controlled by the server. ( #13075 )
2022-12-25 16:15:32 -08:00
Jude Melton-Houghton
5c248c2d7d
Add callback on_mapblocks_changed
2022-12-24 08:24:59 -05:00
Jude Melton-Houghton
1f3b5e553b
Fix plantlike_rooted
world-aligned node base textures ( #12994 )
...
Co-authored-by: Wuzzy <Wuzzy@disroot.org>
2022-12-12 08:45:09 -05:00
Jude Melton-Houghton
b3ffc4b327
Add minetest.get_mapgen_edges
( #12999 )
2022-12-03 10:40:46 -05:00
Jude Melton-Houghton
d0a118f5b1
Add minetest.get_game_info
and allow reading game.conf
( #12989 )
...
Co-authored-by: sfan5 <sfan5@live.de>
2022-11-28 07:21:43 -05:00
Wuzzy
3c7f26d937
Add support for attached facedir/4dir nodes ( #11432 )
2022-11-24 17:56:07 -05:00
Jude Melton-Houghton
cd8a7fe472
Add MetaDataRef:get_keys ( #12841 )
2022-11-15 16:45:12 +01:00
Jude Melton-Houghton
408af9d17d
Test metadata value changing
2022-11-10 18:56:48 +01:00
Lars Müller
077627181e
Allow rotating entity selectionboxes ( #12379 )
2022-10-30 16:53:14 +01:00
Wuzzy
0a82cb4072
DevTest: Colorize 2 nodebox nodes
2022-10-23 21:58:56 +02:00
Wuzzy
7a8ac00f9c
DevTest: Cleanup callback logging
2022-10-23 21:58:56 +02:00
Wuzzy
9e186a42bd
DevTest: Fix rendering of 2 texture test nodes
2022-10-23 21:58:56 +02:00
Wuzzy
c73d79841c
DevTest: More node textures to tell them apart
2022-10-23 21:58:56 +02:00
Wuzzy
11d1a9cc37
DevTest: Use 4dir for chests
2022-10-23 21:58:56 +02:00
Wuzzy
9f11753930
DevTest: Restore callback item descriptions
2022-10-23 21:58:56 +02:00
Wuzzy
fd1930142e
DevTest: Fix callback item textures
2022-10-23 21:58:56 +02:00
Wuzzy
0152d39215
DevTest: Refactor testhud features
2022-10-23 21:58:56 +02:00
Wuzzy
c761aa268d
DevTest: Move 2 HUD commands to testhud & improve
2022-10-23 21:58:56 +02:00
Wuzzy
72b83acadc
DevTest: No use privatizer on chest of everything
2022-10-23 21:58:56 +02:00
Wuzzy
998e50725c
DevTest: Remove experimental mod
2022-10-23 21:58:56 +02:00
Wuzzy
a23701b5e6
DevTest: Move detached inv tests to chest mod
2022-10-23 21:58:56 +02:00
Wuzzy
c1e732448c
DevTest: /test_place_node skips dummy/cb nodes
2022-10-23 21:58:56 +02:00
Wuzzy
23ef0d0916
DevTest: Clean up callback textures
2022-10-23 21:58:56 +02:00
Wuzzy
2da92ed81e
DevTest: Move callback entities to callbacks mod
2022-10-23 21:58:56 +02:00
Wuzzy
cb7b96fc90
DevTest: Move callback items to callbacks mod
2022-10-23 21:58:56 +02:00
Wuzzy
68df0fb2ea
DevTest: Move experimental items to other mods
2022-10-23 21:58:56 +02:00
Wuzzy
3a7fffc587
DevTest: Move more logging to log mod
2022-10-23 21:58:56 +02:00
Wuzzy
48530ccbc0
DevTest: Move benchmark commands to new mod
2022-10-23 21:58:56 +02:00
Wuzzy
6b9984b7e7
DevTest: Move /test_place_nodes to testnodes mod
2022-10-23 21:58:56 +02:00
Wuzzy
97a80b4816
DevTest: Move chat command logging to separate mod
2022-10-23 21:58:56 +02:00
Jude Melton-Houghton
c78d565e01
Fix use of unassigned global "check"
2022-10-21 17:12:21 +02:00
fluxionary
440d966b93
add an 'equals' method to ItemStack and compatibility w/ lua '==' ( #12771 )
...
Co-authored-by: rubenwardy <rw@rubenwardy.com>
Co-authored-by: sfan5 <sfan5@live.de>
2022-10-09 08:06:09 -04:00
Wuzzy
c1c68775b2
DevTest: Explain purpose of most items in tooltips ( #12833 )
2022-10-09 08:05:22 -04:00
Wuzzy
804a318189
DevTest: Change texture for node-aligned node ( #12831 )
2022-10-06 17:25:40 +01:00
Wuzzy
b10d6542db
DevTest: Reject buggy "/hp inf" command ( #12830 )
2022-10-03 12:13:23 -04:00
DS
22cbc05808
Add an item pick up callback (2) ( #7712 )
...
Co-authored-by: SmallJoker <mk939@ymail.com>
Co-authored-by: Jude Melton-Houghton <jwmhjwmh@gmail.com>
2022-10-01 15:21:06 -04:00
sfan5
525fc3833c
Implement tool use sounds
2022-09-30 14:02:14 +02:00
20kdc
b1233056b7
Add zstd compression support ( #12515 )
2022-09-28 09:06:14 -04:00
Jude Melton-Houghton
f4a01f3a5d
Avoid duplication of mod metadata in memory ( #12562 )
...
Co-authored-by: sfan5 <sfan5@live.de>
2022-09-26 17:03:43 -04:00
Jude Melton-Houghton
310b12b5ed
Content ID caching in Lua ( #12444 )
...
* Cache content IDs in Lua
Co-authored-by: sfan5 <sfan5@live.de>
2022-09-18 17:46:48 +02:00
Wuzzy
1d04903c19
Add paramtype2s for 4 horizontal rotations and 64 colors ( #11431 )
...
4dir is like facedir, but only for 4 horizontal directions: NESW. It is identical in behavior to facedir otherwise. The reason why game makers would want to use this over facedir is 1) simplicity and 2) you get 6 free bits.
It can be used for things like chests and furnaces and you don't need or want them to "flip them on the side" (like you could with facedir).
color4dir is like colorfacedir, but you get 64 colors instead of only 8.
2022-09-16 13:18:55 +02:00
Gregor Parzefall
70b71c5013
Fix rotation of falling facedir nodes ( #12587 )
...
in some cases
2022-07-31 15:18:29 +02:00
Lars Müller
b204655081
Fix regression & replace more occurrences of vector.new with vector.copy ( #12539 )
2022-07-14 20:51:42 +02:00
sfan5
fc3460470a
Add missing item alias metatables to async environment ( #12458 )
2022-07-04 01:06:42 +02:00
Vincent Robinson
f7bcf7fa46
FormSpec: 9-slice images, animated_images, and fgimg_middle ( #12453 )
...
* FormSpec: 9-slice images and animated_images
* Add fgimg_middle; clean up code
* Address issues, add tests
* Fix stupid error; bump formspec version
* Re-add image[] elements without a size
2022-07-03 08:52:26 -04:00
Wuzzy
9ac3b52fdc
DevTest: Add item meta editor ( #12307 )
2022-07-02 19:58:00 +01:00
sfan5
46e7b51352
Add unittests for entity lifecycle and callbacks
2022-06-15 17:20:07 +02:00
Lars Müller
e7d4ec6834
on_deactivate: distinguish removal and unloading ( #11931 )
...
Sometimes you need to be able to do removal-related cleanup, such as removing files from disk, or entries from a database. staticdata obviously isn't suitable for large data. The data shouldn't be removed if the entity is unloaded, only if it is removed.
2022-06-11 20:01:14 +02:00
sfan5
8908a91016
Get rid of node metadata when it becomes empty
...
fixes #8943
2022-05-29 14:00:19 +02:00
Wuzzy
fe299e24d6
DevTest: Add nodes and items for testing overlays ( #12304 )
2022-05-27 21:39:36 +02:00