Commit Graph

8 Commits

Author SHA1 Message Date
red-001 6167070b86
Add `get_wielded_item` 2017-03-13 22:19:11 +01:00
red-001 ec7b497f42 [CSM] Add `get_node` and `get_node_or_nil` 2017-03-13 18:31:47 +01:00
Loic Blot ccadc088f2 [CSM] storage + fixes 2017-03-13 18:31:44 +01:00
red-001 2defddfe71 [CSM] Add local formspecs. (#5094) 2017-03-13 18:31:33 +01:00
Loïc Blot fcdfbaa1b2 [CSM] sound_play & sound_stop support + client_lua_api doc (#5096)
* squashed: CSM: Implement register_globalstep
  * Re-use fatal error mechanism from server to disconnect client on CSM error
  * Little client functions cleanups

* squashed: CSM: add core.after function
  * core.after is shared code between client & server
  * ModApiUtil get_us_time feature enabled for client
2017-03-13 18:31:30 +01:00
red-001 025f3e6f49 [CSM] Add client-sided chat commands (#5092) 2017-03-13 18:31:25 +01:00
red-001 9718bb5694 [CSM] Add method that display chat to client-sided lua. (#5089) (#5091)
* squashed: [Client-sided scripting] Don't register functions that don't work. (#5091)
2017-03-13 18:31:13 +01:00
Loic Blot 117badeccd [CSM] Client side modding
* rename GameScripting to ServerScripting
* Make getBuiltinLuaPath static serverside
* Add on_shutdown callback
* Add on_receiving_chat_message & on_sending_chat_message callbacks
* ScriptApiBase: use IGameDef instead of Server
  This permits to share common attribute between client & server
* Enable mod security in client side modding without conditions
2017-03-13 18:31:07 +01:00