Commit Graph

290 Commits (2793e9c655cf1c1f7753e6090dc9995e8cdc8115)

Author SHA1 Message Date
est31 d3d4f0e78e Item entity merging refactor
Don't ident too much, and add a comment.
2015-05-15 00:06:18 +02:00
Novatux 84334c37cc Add code to support raillike group names 2015-05-12 20:48:55 +02:00
Tomas Brod 94f3a87a67 Fix minetest.clear_* creating new LOCAL table instead of clearing the existing one.
On calling clear_redistered_biomes the registered_biomes table is cleared
by creating a new empty table, but the pointer is not updated to point to
the new one. So after calling more register_biome, the registered_biome
table always contains 0 items, which is an error. Instead, the table is
cleared by removing all its items so the pointer (minetest.registered_*)
remains valid.
2015-04-26 15:45:58 -04:00
est31 36ada329b5 Add reason to kicked log message and use present tense 2015-04-05 04:18:47 +02:00
SmallJoker ae0d39fcbc Radius parameter for /deleteblocks here 2015-03-05 00:10:53 +10:00
est31 ef9fd92918 Add /setpassword and /clearpassword logging 2015-02-27 23:00:28 +01:00
Loic Blot ad693a80de Fix unused (and so, broken) enable_rollback_recording. This option must be reloaded at server loop but loaded when server starts, for data consistency (not a hot load variable)
ok @ShadowNinja
2015-02-18 09:28:39 +01:00
rubenwardy 14ad8f26bb Fix minetest.item_eat's replace_with_item, fixes #2292 2015-02-16 10:24:19 +01:00
kwolekr 50d5b59eeb Hud: Modify Y-positioning of health/breath starbars to prevent overlapping with Hotbar 2015-02-08 12:47:45 -05:00
kwolekr 3ccfc96d0d Prevent null concatenation when /deleteblocks is provided an incorrect format 2015-01-27 22:36:53 -05:00
kwolekr 4e33a698b7 Simplify deleteblocks chat command argument parsing
Add optional core.pos_to_string decimal place rounding
Move core.string_to_pos to builtin/common/misc_helpers.lua for consistency
2015-01-15 18:05:13 -05:00
kwolekr 66b0d25786 Add ability to delete MapBlocks from map
Also add a Lua API and chatcommand for this
2015-01-15 16:48:56 -05:00
kwolekr 94563e9837 builtin: Unify register wrapper functions and wrap clear_registered_* functions too 2015-01-13 12:36:05 -05:00
paramat a24491ae18 Remove builtin_biome.lua from builtin and add simple biome minimal 2015-01-11 22:32:48 -05:00
ShadowNinja a16be38b0d Add registered_ores and registered_decorations 2015-01-05 18:24:15 -05:00
kwolekr eb208e6b75 Expose mapgen parameters on scripting init
Add minetest.get_mapgen_params()
Deprecate minetest.register_on_mapgen_init()
2014-12-29 12:59:59 -05:00
kwolekr 3d2219596e Temporarily set default biome in builtin
This should probably be removed when minetest_game has proper biomes.
If I hear "the whole map is just stone!" again after this, I am going to detonate.
2014-12-18 09:57:38 -05: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
Craig Davison f7c264cec7 Fix some undeclared global variables 2014-11-26 22:50:08 +10:00
ShadowNinja 4b3c14a9d2 Add strict module
Also fix leaking globals found by it.
2014-11-19 12:40:54 -05:00
Wouters Dorian f20441e849 Improved VoxelArea variable locality, thus performance
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-14 00:10:09 +10:00
Ryan Newell c4ddc515f9 Add last_login field to auth.txt
Also shortens some related code and adds more parameters to string.split.
2014-11-08 12:49:50 -05:00
LeMagnesium ddd48ba303 Add a better error message when trying to teleport another player without bring privileges 2014-10-07 16:52:52 -04:00
SmallJoker 6ebda3c5be Use round if falling node is misplaced
Fixes: http://i.imgur.com/arAWw1i.png (middle-right)
2014-09-28 13:33:39 +02:00
sapier 01924a68d9 Fix retval of entity.get_staticdata beeing lost while profiling is enabled 2014-08-24 01:56:27 +02:00
Casimir 5d75406606 Remove buildable_to nodes without dropping item when replaced by a falling node 2014-08-22 11:14:15 +02:00
sapier 4b2e3ceaad Mod profiling support
Config settings:
profiling = true/false (gather statistics)
detailed_profiling = true/false (break mod times to callbacks)

Chat commands:
save_mod_profile saves current statistics in debug.txt and shows on console (on default loglevel)
2014-08-19 22:22:57 +02:00
sfan5 c1170e9791 Rework texture generating code, add texture grouping via ( ... ) 2014-07-29 20:02:56 +02:00
Zefram 9940c2c4cd Fix indexing error in timer processing 2014-07-16 17:24:39 +02:00
Novatux 4098348f8b Fix crash reported here: https://forum.minetest.net/viewtopic.php?f=6&t=9726 2014-07-13 11:05:07 +02:00
Lord89James d83f7f4f6b New feature: drop a item instead a stack while...
sneaking
2014-06-10 18:11:43 +02:00
sfan5 7a25f6d825 Allow custom liquids to have drops 2014-06-08 23:25:13 +02:00
ShadowNinja d37ee7bca8 Add success and output return values to chat commands 2014-05-28 18:36:46 -04:00
rubenwardy b7ccc0b817 Add item eat callback 2014-05-26 18:41:58 -04:00
Diego Martinez 5e98bcc1d1 Sort commands and privs alphabetically in '/help'.
Also make a stray variable local.
2014-05-24 17:33:59 -04:00
RealBadAngel ba9d57ed2f Item entity stacks merge on the ground.
Add TTL to item entities.
2014-05-23 22:46:05 +02:00
sapier 72ba414bf1 Fix old client showing duplicated health bar on new server
Fix client not showing hearts and bubbles on connecting to old server
Fix server not remembering hud flags correctly
2014-05-11 22:34:44 +02:00
sapier cd1f05aec3 Fix healthbar not beeing hidden on disabled damage 2014-05-10 23:32:25 +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