Update mesecons modpack to v2021-08-03...

https://github.com/minetest-mods/mesecons/tree/e15c55c
master
Jordan Irwin 2021-08-20 02:25:49 -07:00
parent f8064312de
commit 04cb3b10a4
6 changed files with 11 additions and 81 deletions

View File

@ -176,7 +176,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m
* [deploy_nodes][] ([BSD 3-Clause][lic.deploy_nodes]) -- version: [b67e162 Git][ver.deploy_nodes] *2017-06-08*
* [home_workshop][] -- version: [03325e8 Git][ver.home_workshop] *2021-04-15*
* [homedecor][] ([LGPL / WTFPL / CC BY-SA / CC0][lic.homedecor]) -- version: [f1dc68a Git][ver.homedecor] *2021-05-18* ([patched][patch.homedecor])
* [mesecons][] ([LGPL / CC BY-SA][lic.mesecons]) -- version [6579351 Git][ver.mesecons] *2021-04-09*
* [mesecons][] ([LGPL / CC BY-SA][lic.mesecons]) -- version [2021-08-03][ver.mesecons]
* [moremesecons][] ([MPL][lic.mpl2.0]) -- version: [1dab017 Git][ver.moremesecons] *2021-04-14*
* [mymods](https://github.com/AntumMT/mp-mymods)
* [mydoors][] ([CC-BY / CC-BY-SA][lic.mydoors] / [WTFPL][lic.wtfpl] / [DWYWFPL][lic.dwywpl]) -- version: [eef3b5f Git][ver.mydoors] *2018-06-12*
@ -374,7 +374,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m
[jumping]: https://forum.minetest.net/viewtopic.php?t=2957
[lighted_helmets]: https://content.minetest.net/packages/AntumDeluge/lighted_helmets/
[listitems]: https://forum.minetest.net/viewtopic.php?t=18049
[mesecons]: https://forum.minetest.net/viewtopic.php?t=628
[mesecons]: https://content.minetest.net/packages/Jeija/mesecons/
[minetest_game]: https://github.com/minetest/minetest_game
[mobkit]: https://forum.minetest.net/viewtopic.php?t=22112
[goblins]: https://forum.minetest.net/viewtopic.php?t=13004
@ -639,7 +639,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m
[ver.lighted_helmets]: https://github.com/AntumMT/mod-lighted_helmets/releases/tag/v1.1
[ver.listitems]: https://github.com/AntumMT/mod-listitems/releases/tag/v1.1
[ver.mese_monster]: https://github.com/AntumMT/mod-mob_mese_monster/tree/cd02839
[ver.mesecons]: https://github.com/minetest-mods/mesecons/tree/6579351
[ver.mesecons]: https://github.com/minetest-mods/mesecons/tree/e15c55c
[ver.minetest_game]: https://github.com/minetest/minetest_game/tree/9270188
[ver.mobkit]: https://github.com/TheTermos/mobkit/tree/ddea141
[ver.mobs_bee]: https://github.com/AntumMT/mod-mobs_animal/tree/671c6c1

View File

@ -1,12 +0,0 @@
{
"name": "mesecons",
"description": "Mesecons is a mod for Minetest that implements items related to digital circuitry: wires, buttons, lights, and programmable controllers.",
"homepage": "http://mesecons.net",
"authors": "Jeija",
"license": "LGPL-3.0+",
"keywords": [
"mesecons",
"minetest",
"mod"
]
}

View File

@ -1,64 +0,0 @@
{
"Conductors" : {
"Mesecon" : "mesecons_wires/doc/mesecon",
"Insulated Wire" : "mesecons_insulated/doc/insulated",
"T-Junction" : "mesecons_extrawires/doc/tjunction",
"Crossing" : "mesecons_extrawires/doc/crossing",
"Corner" : "mesecons_extrawires/doc/corner",
"Vertical Wire" : "mesecons_extrawires/doc/vertical",
"Mese" : "mesecons_extrawires/doc/mese"
},
"Receptors" : {
"Power Plant" : "mesecons_powerplant/doc/powerplant",
"Blinky Plant" : "mesecons_blinkyplant/doc/blinkyplant",
"Switch" : "mesecons_switch/doc/switch",
"Object Detector" : "mesecons_detector/doc/objectdetector",
"Node Detector" : "mesecons_detector/doc/nodedetector",
"Wall Lever" : "mesecons_walllever/doc/walllever",
"Pressure Plate" : "mesecons_pressureplates/doc/pressureplate_wood",
"Pressure Plate" : "mesecons_pressureplates/doc/pressureplate_stone",
"Water Turbine" : "mesecons_hydroturbine/doc/waterturbine",
"Solar Panel" : "mesecons_solarpanel/doc/solarpanel",
"Wall Button" : "mesecons_button/doc/button"
},
"Effectors" : {
"Noteblock" : "mesecons_noteblock/doc/noteblock",
"Lamp" : "mesecons_lamp/doc/lamp",
"Piston" : "mesecons_pistons/doc/piston",
"Sticky Piston" : "mesecons_pistons/doc/piston_sticky",
"Movestone" : "mesecons_movestones/doc/movestone",
"Sticky Movestone" : "mesecons_movestones/doc/movestone_sticky",
"Removestone" : "mesecons_random/doc/removestone",
"Ghoststone" : "mesecons_random/doc/ghoststone",
"Command Block" : "mesecons_commandblock/doc/commandblock",
"Lightstones" : {
"Dark Grey" : "mesecons_lightstone/doc/lightstone_darkgrey",
"Light Grey" : "mesecons_lightstone/doc/lightstone_lightgrey",
"Green" : "mesecons_lightstone/doc/lightstone_green",
"Red" : "mesecons_lightstone/doc/lightstone_red",
"Blue" : "mesecons_lightstone/doc/lightstone_blue",
"Yellow" : "mesecons_lightstone/doc/lightstone_yellow"
}
},
"Logic" : {
"Luacontroller" : "mesecons_luacontroller/doc/luacontroller",
"FPGA" : "mesecons_fpga/doc/fpga",
"FPGA Programmer" : "mesecons_fpga/doc/programmer",
"Torch" : "mesecons_torch/doc/torch",
"Delayer" : "mesecons_delayer/doc/delayer",
"Gates" : {
"Diode" : "mesecons_gates/doc/diode",
"NOT Gate" : "mesecons_gates/doc/not",
"AND Gate" : "mesecons_gates/doc/and",
"NAND Gate" : "mesecons_gates/doc/nand",
"OR Gate" : "mesecons_gates/doc/or",
"NOR Gate" : "mesecons_gates/doc/nor",
"XOR Gate" : "mesecons_gates/doc/xor"
}
},
"Crafts" : {
"Silicon" : "mesecons_materials/doc/silicon",
"Glue" : "mesecons_materials/doc/glue",
"Fiber" : "mesecons_materials/doc/fiber"
}
}

View File

@ -16,7 +16,7 @@ mesecon.on_placenode = function(pos, node)
-- also call receptor_on if itself is powered already, so that neighboring
-- conductors will be activated (when pushing an on-conductor with a piston)
for _, s in ipairs(sources) do
local rule = vector.subtract(pos, s)
local rule = vector.subtract(s, pos)
mesecon.turnon(pos, rule)
end
--mesecon.receptor_on (pos, mesecon.conductor_get_rules(node))

View File

@ -164,7 +164,9 @@ end
function mesecon.get_bit(binary,bit)
bit = bit or 1
local c = binary:len()-(bit-1)
local len = binary:len()
if bit > len then return false end
local c = len-(bit-1)
return binary:sub(c,c) == "1"
end

View File

@ -1 +1,5 @@
name = mesecons
description = Adds digital circuitry, including wires, buttons, lights, and even programmable controllers.
release = 8743
author = Jeija
title = Mesecons