Commit Graph

18 Commits

Author SHA1 Message Date
Vincent Glize
dc5bc6cac7 [CSM] Add event on_place_node API lua ()
* [CSM] Add event on_place_node API lua
2017-04-29 12:08:16 +02:00
Vincent Glize
19960e26c6 [CSM] add screenshot api lua ()
* [CSM] add screenshot api lua
2017-04-29 09:16:06 +02:00
bigfoot547
e80a83d1cb [CSM] Add function to set minimap shape ()
* [CSM] Add function to set minimap shape

Also deprecates `toggle_shape`.

* Oh fish, I messed that one up!

* Fix Style

* Sorry, I missed something

I still had the `luamethod` call in there!

* Add getters

* Remove extra line

* Remove useless variable

Please review again @nerzhul . Thanks!

* Satisfy nerzhul
2017-04-14 09:04:41 +02:00
Vincent Glize
8bdf9a44c6 [CSM] Fix localplayer documentation () 2017-04-12 23:05:01 +02:00
Vincent Glize
8ad3dad137 LocalPlayer api lua 2017-04-08 22:04:30 -07:00
raymoo
fb4c730708 Document that write_json will error on unserializable types. ()
Previously it was erroneously documented that it would save them as null.
2017-04-08 10:42:59 +02:00
Vincent Glize
f73534640a [CSM] Add event on_connect player API lua ()
* Add event on_connect player API lua
2017-04-08 08:20:30 +02:00
red-001
88b9b9652a [CSM] Add function to get the server protocol version. () 2017-04-06 22:50:45 +02:00
red-001
4ee6be856d [CSM] Add support for positional audio. ()
Fixes parts of .
2017-04-06 08:14:31 +02:00
red-001
000ec26001 [CSM] Add local node meta reference. () 2017-04-04 07:41:37 +02:00
MarkuBu
26f4a5c2d1 First commit for fine pointed () 2017-04-01 16:50:53 +02:00
red-001
63ac62ec8a [CSM] Add function and chat command to disconnect from server. () 2017-04-01 13:40:56 +02:00
Diego Martínez
81c3dc32a8 Add functions to strip color information. () 2017-03-28 21:55:39 +02:00
red-001
7c85405d96 [CSM] Fix errors in and improve the CSM documentation. () 2017-03-28 08:26:54 +02:00
bigfoot547
9efc5da0fb [CSM] Add function to get player names in range ()
* [CSM] Add function to get currently connected player names
2017-03-22 21:13:03 +01:00
red-001
d31750cb93 Give CSM access to use core.colorize() () 2017-03-17 19:20:13 +01:00
Loïc Blot
40ce538aad [CSM] Add minimap API modifiers ()
* Rename Mapper (too generic) to Minimap
* Add lua functions to get/set position, angle, mode for minimap
* Client: rename m_mapper to m_minimap
* Add minimap to core.ui namespace (core.ui.minimap)
* Add various functions to manage minimap (show, hide, toggle_shape)
* Cleanup trivial declaration in client
2017-03-16 10:34:54 +01:00
rubenwardy
84f4565e13 Add disclaimer to client_lua_api.txt () 2017-03-14 07:51:07 +01:00