Add files via upload

This commit is contained in:
loosewheel
2022-02-22 14:04:04 +10:00
committed by GitHub
parent 2f99a60cbd
commit e507646519
7 changed files with 1397 additions and 3 deletions

View File

@@ -114,3 +114,7 @@ v0.1.21
* Minor bug fix, movefloor global. * Minor bug fix, movefloor global.
* Fixed movefloor so player doesn't fall through floor. * Fixed movefloor so player doesn't fall through floor.
* Transfer timer in moved nodes for pistons. * Transfer timer in moved nodes for pistons.
v0.1.22
* Added storage.

View File

@@ -23,6 +23,44 @@ minetest.register_craft( {
}) })
minetest.register_craft( {
output = "lwcomponents:storage_unit 2",
recipe = {
{ "default:steel_ingot", "group:wood", "group:wood" },
{ "group:wood", "", "group:wood" },
{ "group:wood", "group:wood", "default:chest" },
},
})
minetest.register_craft( {
output = "lwcomponents:storage_unit_locked 2",
recipe = {
{ "default:steel_ingot", "group:wood", "group:wood" },
{ "group:wood", "", "group:wood" },
{ "group:wood", "group:wood", "default:chest_locked" },
},
})
minetest.register_craft( {
output = "lwcomponents:storage_indexer",
recipe = {
{ "default:steel_ingot", "group:wood" },
{ "group:wood", "default:chest" }
},
})
minetest.register_craft( {
output = "lwcomponents:storage_indexer_locked",
recipe = {
{ "default:steel_ingot", "group:wood" },
{ "group:wood", "default:chest_locked" }
},
})
minetest.register_craft( { minetest.register_craft( {
output = "lwcomponents:cannon_shell 10", output = "lwcomponents:cannon_shell 10",
recipe = { recipe = {

View File

@@ -1,4 +1,4 @@
local version = "0.1.21" local version = "0.1.22"
local mod_storage = minetest.get_mod_storage () local mod_storage = minetest.get_mod_storage ()
@@ -37,6 +37,7 @@ loadfile (modpath.."/cannon_shell.lua") (utils)
loadfile (modpath.."/pistons.lua") (utils) loadfile (modpath.."/pistons.lua") (utils)
loadfile (modpath.."/through_wire.lua") (utils) loadfile (modpath.."/through_wire.lua") (utils)
loadfile (modpath.."/camera.lua") (utils) loadfile (modpath.."/camera.lua") (utils)
loadfile (modpath.."/storage.lua") (utils)
loadfile (modpath.."/extras.lua") (utils) loadfile (modpath.."/extras.lua") (utils)
loadfile (modpath.."/digiswitch.lua") (utils) loadfile (modpath.."/digiswitch.lua") (utils)
loadfile (modpath.."/movefloor.lua") (utils) loadfile (modpath.."/movefloor.lua") (utils)

View File

@@ -82,6 +82,9 @@ public domain.
camera lens images derived from images from https://openclipart.org, which camera lens images derived from images from https://openclipart.org, which
is public domain. is public domain.
storage nodes images derived from images from https://openclipart.org, which
is public domain.
player button images derived from mesecons button image. player button images derived from mesecons button image.
cannon firing and explosion sound from tnt (TumeniNodes/steveygos93), cannon firing and explosion sound from tnt (TumeniNodes/steveygos93),

View File

@@ -13,7 +13,7 @@ CC BY-SA 3.0
Version Version
======= =======
0.1.21 0.1.22
Minetest Version Minetest Version
@@ -67,6 +67,7 @@ Various components for mesecons and digilines.
* Digiswitch, digilines controlled mesecons power. * Digiswitch, digilines controlled mesecons power.
* Movefloor, similar to vertical mesecons movestone. * Movefloor, similar to vertical mesecons movestone.
* Camera, takes a representative image. * Camera, takes a representative image.
* Storage, indexed storage units.
* Mesecons Through Wire, transmits through 1 to 2 solid blocks. * Mesecons Through Wire, transmits through 1 to 2 solid blocks.
* Solid color conductor blocks, same as Solid Color Block but also mesecons * Solid color conductor blocks, same as Solid Color Block but also mesecons
and digilines conductor. and digilines conductor.

View File

@@ -10,7 +10,10 @@ utils.settings.alert_handler_errors =
minetest.settings:get_bool ("lwcomponents_alert_handler_errors", true) minetest.settings:get_bool ("lwcomponents_alert_handler_errors", true)
utils.settings.max_piston_nodes = utils.settings.max_piston_nodes =
tonumber(minetest.settings:get("lwcomponents_max_piston_nodes") or 15) tonumber (minetest.settings:get ("lwcomponents_max_piston_nodes") or 15)
utils.settings.default_stack_max =
tonumber (minetest.settings:get ("default_stack_max")) or 99

1344
storage.lua Normal file

File diff suppressed because it is too large Load Diff