Perttu Ahola
|
49b7055cb3
|
Make add_entity return a reference to added entity (or nil)
|
2012-01-02 12:48:25 +02:00 |
|
Perttu Ahola
|
e48ccd7943
|
Add ObjectRef:get_inventory() and add stuff to documentation comments
|
2012-01-02 02:59:14 +02:00 |
|
Perttu Ahola
|
6be5441176
|
Working implementation of experimental:luafurnace
|
2012-01-02 02:59:14 +02:00 |
|
Perttu Ahola
|
d5ba7ebaf0
|
Random fixes to InvRef related stuff and a broken luafurnace
|
2012-01-02 02:59:14 +02:00 |
|
Perttu Ahola
|
270a482740
|
Add InvRef:get_list() and InvRef:set_list() and fix some things (untested)
|
2012-01-02 02:59:14 +02:00 |
|
Perttu Ahola
|
e0b4890794
|
Add minetest.get_inventory(location), untested
|
2012-01-02 02:57:14 +02:00 |
|
Perttu Ahola
|
247e8b6e5d
|
A small robustness addition to ItemStack
|
2012-01-02 01:49:38 +02:00 |
|
Perttu Ahola
|
b760e2ba23
|
Rename InvStack to ItemStack
|
2012-01-02 01:49:38 +02:00 |
|
Perttu Ahola
|
103173fc9b
|
Add InvRef and InvStack (currently untested and unusable)
|
2012-01-02 01:49:38 +02:00 |
|
Perttu Ahola
|
1c15f53318
|
Add EnvRef:get_objects_inside_radius(pos, radius)
|
2011-12-28 18:18:08 +02:00 |
|
Perttu Ahola
|
7937813c98
|
Add get_look_dir(), get_look_pitch() and get_look_yaw() for players
|
2011-12-28 17:34:07 +02:00 |
|
Perttu Ahola
|
ad4040d982
|
Fix minetest.env:get_player_by_name(nil) causing segfault and similar things
|
2011-12-28 16:25:29 +02:00 |
|
Perttu Ahola
|
bd21f00f0a
|
Add minetest.get_modpath(modname)
|
2011-12-11 16:49:40 +02:00 |
|
Perttu Ahola
|
abd106bacb
|
Enforce modname naming convention
|
2011-12-04 18:26:05 +02:00 |
|
Perttu Ahola
|
ea36951bc4
|
Rename EnvRef:add_luaentity to EnvRef:add_entity
|
2011-12-04 16:08:37 +02:00 |
|
Perttu Ahola
|
09c48b60bd
|
Add EnvRef:get_node_light(pos, timeofday)
|
2011-12-04 15:55:37 +02:00 |
|
Perttu Ahola
|
3e95b8a158
|
Determine light_propagates from paramtype
|
2011-12-04 03:45:02 +02:00 |
|
Perttu Ahola
|
829c632511
|
Craftitem aliases
|
2011-12-04 00:39:20 +02:00 |
|
Perttu Ahola
|
8addbc9655
|
Tool aliases
|
2011-12-04 00:22:34 +02:00 |
|
Perttu Ahola
|
4b00d4d9d2
|
Node definition aliases
|
2011-12-03 23:50:31 +02:00 |
|
Perttu Ahola
|
1fe5c58d56
|
Rename cookresult_item to cookresult_itemstring
|
2011-12-03 18:45:04 +02:00 |
|
Perttu Ahola
|
f23616acaf
|
add EnvRef:get_node_or_nil()
|
2011-12-03 18:37:50 +02:00 |
|
Perttu Ahola
|
7d37913ea4
|
Add ABM required neighbor check
|
2011-12-03 18:18:59 +02:00 |
|
Perttu Ahola
|
760416b81f
|
Change naming convention to be modname:* instead of modname_* (sorry modders!)
|
2011-12-03 11:41:52 +02:00 |
|
Perttu Ahola
|
d96cd236f3
|
Enforced mod global naming convention and better error reporting
|
2011-12-03 02:45:55 +02:00 |
|
Perttu Ahola
|
581f950e10
|
Fix script error reporting a bit
|
2011-12-02 22:49:54 +02:00 |
|
Perttu Ahola
|
b9e8e20c9c
|
Script-defined creative inventory
|
2011-12-02 12:43:57 +02:00 |
|
Perttu Ahola
|
e8b0722137
|
Add time_from_last_punch to Lua API
|
2011-12-02 11:51:41 +02:00 |
|
Perttu Ahola
|
dc05b106f2
|
Fix the previous commit
|
2011-12-02 02:04:25 +02:00 |
|
Perttu Ahola
|
a416cf7c45
|
Enforce PLAYER_INVENTORY_SIZE in ObjectRef::l_inventory_set_list
|
2011-12-02 02:01:46 +02:00 |
|
Perttu Ahola
|
af32240545
|
Players are more like objects + related stuff
|
2011-12-01 23:33:48 +02:00 |
|
Perttu Ahola
|
ee0d3bacbc
|
Player-is-SAO WIP
|
2011-12-01 18:23:58 +02:00 |
|
Perttu Ahola
|
1b61ca412b
|
ObjectRef:get_player_name, ObjectRef:inventory_set_list, ObjectRef:inventory_get_list
|
2011-11-30 23:38:18 +02:00 |
|
Perttu Ahola
|
cd563473fa
|
Add ObjectRef:punch and ObjectRef:right_click to Lua API
|
2011-11-30 20:54:54 +02:00 |
|
Perttu Ahola
|
a244e367ea
|
Add get_wielded_itemstring, get_wielded_item, damage_wielded_item and make getacceleration visible in API
|
2011-11-30 20:36:07 +02:00 |
|
Perttu Ahola
|
103d4793f0
|
Create the necessary API for /giveme and /give and implement those commands; also sort out the scripts a bit
|
2011-11-29 21:30:22 +02:00 |
|
Kahrl
|
d6b30dd3a5
|
CraftItem rework and Lua interface
|
2011-11-29 19:13:58 +02:00 |
|
Perttu Ahola
|
dde22d26a8
|
Add NULL terminations to EnumString definitions
|
2011-11-29 19:13:57 +02:00 |
|
Perttu Ahola
|
705f142b8d
|
GenericNodeMetadata and an example furnace
|
2011-11-29 19:13:57 +02:00 |
|
Perttu Ahola
|
0f2b932e92
|
Initial NodeMetaRef stuff
|
2011-11-29 19:13:56 +02:00 |
|
Perttu Ahola
|
34bd1b3032
|
Lua interface for ActiveBlockModifier
|
2011-11-29 19:13:56 +02:00 |
|
Perttu Ahola
|
8924588511
|
Remove creation of builtin.lua defined minetest.registered_* tables in C
|
2011-11-29 19:13:56 +02:00 |
|
Perttu Ahola
|
19a1ac1f34
|
For consistency, implement calling of on_chat_message callbacks in C
|
2011-11-29 19:13:56 +02:00 |
|
Perttu Ahola
|
30648d1cc9
|
Implement callback registration in Lua instead of C
|
2011-11-29 19:13:56 +02:00 |
|
Perttu Ahola
|
05df2ee8a4
|
Add chat message callback and send functions
|
2011-11-29 19:13:56 +02:00 |
|
Perttu Ahola
|
82a460ec90
|
Improve luaentity sprite functionality (and add some random stuff)
|
2011-11-29 19:13:54 +02:00 |
|
Perttu Ahola
|
769cc9879f
|
Add on_generated hook
|
2011-11-29 19:13:54 +02:00 |
|
Perttu Ahola
|
70363847aa
|
Reshape LuaEntityCAO implementation a bit and make TNT to blink
|
2011-11-29 19:13:53 +02:00 |
|
Perttu Ahola
|
57a2bd056c
|
Exception handling in Lua setting get
|
2011-11-29 19:13:53 +02:00 |
|
Perttu Ahola
|
234bf99743
|
Lua setting getter
|
2011-11-29 19:13:53 +02:00 |
|