kwolekr
925187a32b
minimap: Add ability to disable from server
2015-08-13 15:05:48 -04:00
rubenwardy
3a5596ccc8
Fix segfaults caused by the Environment not being initialized yet
2015-08-09 23:36:55 +02:00
est31
2bebf6466b
Actually document what minetest.is_protected should do
2015-08-02 19:09:55 +02:00
est31
d4a7cfcd71
Add AreaStore data structure
2015-07-27 06:42:56 +02:00
est31
713002778f
Optional reconnect functionality
...
Enable the server to request the client to reconnect.
This can be done with the now extended minetest.request_shutdown([reason], [reconnect]) setting.
2015-07-23 07:38:13 +02:00
Robert Zenz
85f7c44568
Add note that chat messages can be marked as handled.
2015-07-22 05:43:30 +02:00
est31
93d11fe669
Document game main menu image system
2015-07-21 17:17:46 +02:00
Elia Argentieri
44d030306e
Added get_player_velocity() method. Fixes #1176
2015-07-20 05:40:44 +02:00
RealBadAngel
dd9ca2e7ed
Fix relief mapping issues
2015-07-16 15:36:48 +02:00
paramat
3b67110599
Biome API decorations: 'spawnby' searches a 3D neighbourhood
...
The neighbours checked are the 8 nodes horizontally surrounding the decoration base
and the 8 nodes horizontally surrounding the ground node below the decoration
2015-07-08 22:44:10 +01:00
TeTpaAka
af7af11b4a
Fix bug when craft input isn't replaced
2015-06-22 19:30:35 +02:00
MirceaKitsune
ee7dfd7ba0
Fix some issues with animations, and allow non-looped animations to be defined
2015-06-22 01:53:38 +02:00
est31
571e159a1a
Add list-rings
...
Adds list-rings, a method to implement item sending between inventories via shift-click.
Nice insider feature: a ring consisting of a single inventory list serves as nice clean-up method.
Also adds them to minimal game, and the standard inventory.
Craft output slots are not supported.
2015-06-16 14:51:26 +02:00
TeTpaAka
14b9820f48
Add minetest.register_on_player_hpchange
2015-06-13 19:40:31 +02:00
TeTpaAka
db4fc8326e
Add return list of individual counts to find_node_in_area
2015-06-13 19:39:18 +02:00
TeTpaAka
4573eef202
Add some missing getter functions to the lua API
...
ObjectRef:
get_properties
get_armor_groups
get_animation
get_attach
get_bone_position
Players:
get_physics_override
hud_get_hotbar_itemcount
hud_get_hotbar_image
hud_get_hotbar_selected_image
get_sky
get_day_night_ratio
get_local_animation
get_eye_offset
Global:
minetest.get_gen_notify
minetest.get_noiseparams
2015-05-28 16:46:35 +02:00
kwolekr
793f960e04
SAPI/Noise: Add PerlinNoiseMap:getMapSlice() function
...
This adds the ability to grab 'slices' of noise calculated by PerlinNoiseMap.
Retrieving smaller slices of noise from the computation result as needed
optimizes memory usage while maintaining a reasonable amount of CPU overhead.
2015-05-17 04:04:17 -04:00
kwolekr
f560198cd7
Add optional buffer param for bulk data array writes in Lua
2015-05-17 00:07:45 -04:00
kwolekr
5292177986
SAPI: Accept either ARGB8 table or ColorString to specify colors
2015-05-16 20:15:03 -04:00
ShadowNinja
d85feedccc
Add core.get_dir_list
2015-05-16 18:33:22 -04:00
ShadowNinja
2dd64f03da
Add core.request_insecure_environment()
2015-05-16 18:33:19 -04:00
ShadowNinja
310295c511
Add core.mkdir
2015-05-16 18:32:37 -04:00
ShadowNinja
1008aefa8c
Add mod security
...
Due to compatibility concerns, this is temporarily disabled.
2015-05-16 18:32:31 -04:00
TeTpaAka
676750bd57
Generalize core.get/set_nametag_color into core.get/set_nametag_attributes
2015-05-15 16:21:01 -04:00
Brandon
aeaeed77e7
Add minetest.register_on_punchplayer
2015-05-15 11:09:55 +02:00
TeTpaAka
888e2f9b45
Add get and set functions for the nametag color
2015-05-15 11:03:27 +02:00
Novatux
84334c37cc
Add code to support raillike group names
2015-05-12 20:48:55 +02:00
est31
de86d6dabf
is_player() is no player-only function
2015-05-12 05:52:49 +02:00
kwolekr
4a54c965a5
Schematics: Add per-node force placement option
2015-05-09 18:44:00 -04:00
kwolekr
097b9ead50
Schematics: Add indent-with-space option for schematic Lua table serialization
2015-05-07 02:54:35 -04:00
kwolekr
e8fb94705c
NodeResolver: Remove NodeResolveMethod
...
This simplifies NodeResolver logic and makes some interfaces cleaner.
2015-05-07 02:36:01 -04:00
kwolekr
cba840d188
Add core.find_nodes_with_meta() script API
2015-05-05 16:21:59 -04:00
ShadowNinja
126ded5c24
Add minetest.global_exists()
2015-04-21 22:58:37 +02:00
kwolekr
6495b9b57b
Ore: Add biomes parameter
2015-04-20 20:25:33 -04:00
kwolekr
737d4078c9
Schematics: Refactor NodeResolver and add NodeResolveMethod
...
NodeResolver name lists now belong to the NodeResolver object instead of
the associated NodeDefManager. In addition to minimizing unnecessary
abstraction and overhead, this move permits NodeResolvers to look up nodes
that they had previously set pending for resolution. So far, this
functionality has been used in the case of schematics for
serialization/deserialization.
2015-04-16 16:27:05 -04:00
kwolekr
4c5f712673
Schematics: Reorganize (de)serialization and add Lua serialization API
2015-04-13 03:10:52 -04:00
est31
5119498ae2
Document for api functions that rely on current_modname, that it doesn't work when not loading mods
2015-04-08 23:05:26 +02:00
kwolekr
55d3aa7960
Schematics: Prepend mod path to relative schematic filepaths
2015-04-08 00:28:56 -04:00
kwolekr
87ea5c96a6
ObjDefManager, Mapgen SAPI: Huge refactoring
...
- General code cleanup
- Unified object creation and loading
- Specifying objects in APIs is now orthogonal (i.e. anything can take an ID,
name string, or the raw table definition (and automatically registers if present
2015-03-31 23:27:58 -04:00
kwolekr
ae55a60e16
GenElementManager: Pass opaque handles to Lua and rename to ObjDefManager
...
Add core.clear_registered_schematics() and refactor schematics somewhat
2015-03-31 01:11:51 -04:00
ShadowNinja
dd1c4e3716
Document nil player as being allowed for can_dig
2015-03-27 15:11:28 -04:00
paramat
c4d375a253
lua_api/l_mapgen: generate_ores/decorations: make p1, p2 optional
2015-03-24 18:07:29 +00:00
Loic Blot
455863a38f
Revert "Add a Lua call to do damages / heals" ok @ShadowNinja
...
This reverts commit 467fc0ddc912ae38c3bf9fcb99e0b66d7478eec0.
2015-03-22 18:01:56 +01:00
kwolekr
16407b9f46
Add support for the PCG32 PRNG algo (and associated script APIs)
2015-03-22 00:48:08 -04:00
Loic Blot
7caacf745b
Add a Lua call to do damages / heals
2015-03-18 14:52:35 +01:00
paramat
6817647244
lua_api/l_mapgen: Fix overlapping areas of minetest.generate_ores/decorations
2015-03-11 03:36:39 +00:00
paramat
be0c4804a5
Biome API: Enable decorations placed on water
...
Add schematic decoration force placement flag
2015-03-06 03:32:15 +00:00
BlockMen
08d843e1c2
Improve group-based connection between raillike nodes
2015-03-05 23:24:32 +01:00
Craig Robbins
102e0ee00d
Change find_surface_nodes_in_area to find_nodes_in_area_under_air
2015-02-27 21:42:00 +10:00
Loic Blot
0d823b300e
Add find_surface_nodes_in_area LUA call which permit to only get the nodes which touch air. This permit to massively improve performance for mods like plantlife
2015-02-27 21:34:33 +10:00