634 Commits

Author SHA1 Message Date
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
76c89a3f84 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-31 23:21:45 +10:00
kwolekr
482b1c3b13 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-31 23:20:49 +10:00
kwolekr
c98bc68584 Add optional buffer param for bulk data array writes in Lua 2015-05-31 23:20:45 +10:00
kwolekr
3793a8ee42 SAPI: Accept either ARGB8 table or ColorString to specify colors 2015-05-31 23:20:32 +10:00
ShadowNinja
fc80cc0daf Add core.get_dir_list
Conflicts:
	builtin/mainmenu/tab_texturepacks.lua
2015-05-31 23:20:28 +10:00
ShadowNinja
f52eb6a064 Add core.request_insecure_environment() 2015-05-31 23:17:52 +10:00
ShadowNinja
f683d0066d Add core.mkdir 2015-05-31 23:17:48 +10:00
ShadowNinja
3a97d94aa9 Add mod security
Due to compatibility concerns, this is temporarily disabled.
2015-05-31 23:17:44 +10:00
TeTpaAka
7858734443 Generalize core.get/set_nametag_color into core.get/set_nametag_attributes 2015-05-31 23:16:23 +10:00
Brandon
b070300551 Add minetest.register_on_punchplayer 2015-05-31 23:16:16 +10:00
TeTpaAka
3b1900abcb Add get and set functions for the nametag color 2015-05-31 23:16:13 +10:00
Novatux
274181bee5 Add code to support raillike group names
Conflicts:
	builtin/game/misc.lua
2015-05-31 23:15:49 +10:00
est31
50e023ff42 is_player() is no player-only function 2015-05-31 23:14:11 +10: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
kwolekr
19f7ff2ac8 Schematics: Add per-node force placement option 2015-05-13 17:01:54 +10:00
kwolekr
4d5237fc9f Schematics: Add indent-with-space option for schematic Lua table serialization 2015-05-13 17:01:19 +10:00
kwolekr
ab896a72b3 NodeResolver: Remove NodeResolveMethod
This simplifies NodeResolver logic and makes some interfaces cleaner.
2015-05-13 17:01:16 +10:00
kwolekr
bd168fd717 Add core.find_nodes_with_meta() script API 2015-05-13 17:00:59 +10: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