Updated mesecons on 1/20/2015
0
mods/mesecons/mesecons/VERSION
Executable file → Normal file
0
mods/mesecons/mesecons/actionqueue.lua
Executable file → Normal file
0
mods/mesecons/mesecons/depends.txt
Executable file → Normal file
0
mods/mesecons/mesecons/init.lua
Executable file → Normal file
0
mods/mesecons/mesecons/internal.lua
Executable file → Normal file
0
mods/mesecons/mesecons/legacy.lua
Executable file → Normal file
0
mods/mesecons/mesecons/oldwires.lua
Executable file → Normal file
0
mods/mesecons/mesecons/presets.lua
Executable file → Normal file
0
mods/mesecons/mesecons/services.lua
Executable file → Normal file
20
mods/mesecons/mesecons/settings.lua
Executable file → Normal file
@ -1,10 +1,10 @@
|
||||
-- SETTINGS
|
||||
function mesecon.setting(setting, default)
|
||||
if type(default) == "bool" then
|
||||
return minetest.setting_getbool("mesecon."..setting) or default
|
||||
elseif type(default) == "string" then
|
||||
return minetest.setting_get("mesecon."..setting) or default
|
||||
elseif type(default) == "number" then
|
||||
return tonumber(minetest.setting_get("mesecon."..setting) or default)
|
||||
end
|
||||
end
|
||||
-- SETTINGS
|
||||
function mesecon.setting(setting, default)
|
||||
if type(default) == "bool" then
|
||||
return minetest.setting_getbool("mesecon."..setting) or default
|
||||
elseif type(default) == "string" then
|
||||
return minetest.setting_get("mesecon."..setting) or default
|
||||
elseif type(default) == "number" then
|
||||
return tonumber(minetest.setting_get("mesecon."..setting) or default)
|
||||
end
|
||||
end
|
||||
|
0
mods/mesecons/mesecons/textures/jeija_fiber.png
Executable file → Normal file
Before Width: | Height: | Size: 592 B After Width: | Height: | Size: 592 B |
0
mods/mesecons/mesecons/textures/jeija_glue.png
Executable file → Normal file
Before Width: | Height: | Size: 487 B After Width: | Height: | Size: 487 B |
0
mods/mesecons/mesecons/textures/jeija_mesecon_switch_off.png
Executable file → Normal file
Before Width: | Height: | Size: 598 B After Width: | Height: | Size: 598 B |
0
mods/mesecons/mesecons/textures/jeija_mesecon_switch_on.png
Executable file → Normal file
Before Width: | Height: | Size: 692 B After Width: | Height: | Size: 692 B |
0
mods/mesecons/mesecons/textures/jeija_mesecon_switch_side.png
Executable file → Normal file
Before Width: | Height: | Size: 553 B After Width: | Height: | Size: 553 B |
0
mods/mesecons/mesecons/textures/jeija_silicon.png
Executable file → Normal file
Before Width: | Height: | Size: 867 B After Width: | Height: | Size: 867 B |
0
mods/mesecons/mesecons/textures/mesecons_wire_inv.png
Executable file → Normal file
Before Width: | Height: | Size: 204 B After Width: | Height: | Size: 204 B |
0
mods/mesecons/mesecons/textures/mesecons_wire_off.png
Executable file → Normal file
Before Width: | Height: | Size: 465 B After Width: | Height: | Size: 465 B |
0
mods/mesecons/mesecons/textures/mesecons_wire_on.png
Executable file → Normal file
Before Width: | Height: | Size: 464 B After Width: | Height: | Size: 464 B |