~jadedctrl/gem-xwx-moe

~jadedctrl/gem-xwx-moe/gemujo_ludo/mods.niaj/fasado/ordono_tradukoj/climate_api_eo/init.lua
 ..
0 local commands = {
1 weather = { "vetero" },
2 set_base_heat = { "agordu_bazan_varmecon" },
3 set_heat = { "agordu_varmecon" },
4 set_base_humidity = { "agordu_bazan_aermalsekecon" },
5 set_humidity = { "agordu_aermalsekecon" },
6 set_wind = { "agordu_ventforton", "agordu_venton" },
7 weather_settings = { "veteraj_agordoj" },
8 set_weather = { "agordu_veteron" },
9 weather_status = { "veterostato" },
10 weather_influences = { "veteraj_influoj" },
11 explain_humidity = { "kialigi_aermalsekecon" }
12 }
13
14
15 for cmd, alias_table in pairs(commands) do
16 for _, alias in ipairs(alias_table) do
17 if alias then
18 cmd_alias.register_chatcommand_alias(cmd, alias)
19 end
20 end
21 minetest.unregister_chatcommand(cmd)
22 end