]> git.lizzy.rs Git - crafter_client.git/blob - init.lua
Fix typo in stream sound function
[crafter_client.git] / init.lua
1 --first we join the necessary channels so the mod can "listen" to what the server says
2 weather = minetest.mod_channel_join("weather_nodes")
3 weather_type = minetest.mod_channel_join("weather_type")
4 running_send = minetest.mod_channel_join("running_send")
5 player_movement_state = minetest.mod_channel_join("player.player_movement_state")
6
7
8 --we load everything seperately because it's easier to work on individual files than have everything jammed into one file
9 --not into seperate mods because that is unnecessary and cumbersome
10 local path = minetest.get_modpath("crafter_client")
11 dofile(path.."/player_input.lua")
12 dofile(path.."/weather_handling.lua")
13 dofile(path.."/environment_effects.lua")
14