diff --git a/license.md b/license.md index 8fe93b8..a5b262a 100644 --- a/license.md +++ b/license.md @@ -6,9 +6,10 @@ Licensing Terms and Conditions ============================== -Insitethebox is licensed permissively, generally under the MIT-feh -license (https://spdx.org/licenses/MIT-feh.html) for all itb code -components. Artwork is generally CC-BY-4.0. +Insitethebox is licensed permissively, generally under the LGPL-2.1 +license, or (at your option) any later version, for all itb code. + +Artwork is generally CC-BY-4.0. ITB contains code and artwork that is borrowed from other mods and may be licensed under different license terms. You should confirm that your @@ -18,25 +19,22 @@ where relevant. ~~~~ -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject -to the following conditions: + ITB (insidethebox) minetest game - Copyright (C) 2017-2018 sofar & nore -The above copyright notice and this permission notice shall be included -in all copies of the Software and its documentation and acknowledgment -shall be given in the documentation and software packages that this -Software was used. + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public License + as published by the Free Software Foundation; either version 2.1 + of the License, or (at your option) any later version. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, + MA 02111-1307 USA ~~~~ diff --git a/mods/boxes/data.lua b/mods/boxes/data.lua index ff737be..768497b 100644 --- a/mods/boxes/data.lua +++ b/mods/boxes/data.lua @@ -1,3 +1,25 @@ + +--[[ + + ITB (insidethebox) minetest game - Copyright (C) 2017-2018 sofar & nore + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public License + as published by the Free Software Foundation; either version 2.1 + of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, + MA 02111-1307 USA + +]]-- + -- Functions to handle binary data encoding the boxes, to save and load them local function bytes_to_string(bytes) diff --git a/mods/boxes/init.lua b/mods/boxes/init.lua index a61274c..b753af5 100644 --- a/mods/boxes/init.lua +++ b/mods/boxes/init.lua @@ -1,3 +1,25 @@ + +--[[ + + ITB (insidethebox) minetest game - Copyright (C) 2017-2018 sofar & nore + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public License + as published by the Free Software Foundation; either version 2.1 + of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, + MA 02111-1307 USA + +]]-- + boxes = {} boxes.teleport_to_tutorial_exit = {} diff --git a/mods/boxes/inv.lua b/mods/boxes/inv.lua index d6b911a..792d7b9 100644 --- a/mods/boxes/inv.lua +++ b/mods/boxes/inv.lua @@ -1,4 +1,25 @@ +--[[ + + ITB (insidethebox) minetest game - Copyright (C) 2017-2018 sofar & nore + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public License + as published by the Free Software Foundation; either version 2.1 + of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, + MA 02111-1307 USA + +]]-- + local function has_infinite_items(player) local name = player:get_player_name() if boxes.players_editing_boxes[name] then diff --git a/mods/boxes/io.lua b/mods/boxes/io.lua index 785fbcb..c2d2d41 100644 --- a/mods/boxes/io.lua +++ b/mods/boxes/io.lua @@ -1,3 +1,25 @@ + +--[[ + + ITB (insidethebox) minetest game - Copyright (C) 2017-2018 sofar & nore + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public License + as published by the Free Software Foundation; either version 2.1 + of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, + MA 02111-1307 USA + +]]-- + local function bytes_to_string(bytes) local s = {} for i = 1, #bytes do diff --git a/mods/boxes/nodes.lua b/mods/boxes/nodes.lua index 86ea936..114e055 100644 --- a/mods/boxes/nodes.lua +++ b/mods/boxes/nodes.lua @@ -1,4 +1,25 @@ +--[[ + + ITB (insidethebox) minetest game - Copyright (C) 2017-2018 sofar & nore + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public License + as published by the Free Software Foundation; either version 2.1 + of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, + MA 02111-1307 USA + +]]-- + local callback = {} local function register_teleport(name, def) diff --git a/mods/boxes/score.lua b/mods/boxes/score.lua index 04a900b..9cfe3ea 100644 --- a/mods/boxes/score.lua +++ b/mods/boxes/score.lua @@ -1,4 +1,25 @@ +--[[ + + ITB (insidethebox) minetest game - Copyright (C) 2017-2018 sofar & nore + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public License + as published by the Free Software Foundation; either version 2.1 + of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, + MA 02111-1307 USA + +]]-- + -- -- Box score recording -- diff --git a/mods/boxes/valloc.lua b/mods/boxes/valloc.lua index b942724..300ab99 100644 --- a/mods/boxes/valloc.lua +++ b/mods/boxes/valloc.lua @@ -1,3 +1,25 @@ + +--[[ + + ITB (insidethebox) minetest game - Copyright (C) 2017-2018 sofar & nore + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public License + as published by the Free Software Foundation; either version 2.1 + of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, + MA 02111-1307 USA + +]]-- + --[[ Box allocation. diff --git a/mods/creative/init.lua b/mods/creative/init.lua index d86d30c..fc4ce8d 100644 --- a/mods/creative/init.lua +++ b/mods/creative/init.lua @@ -1,3 +1,36 @@ + +--[[ + + creative - inventory code + + Based on `creative` from minetest_game, MIT licensed code. + Original work license: + + ``` + The MIT License (MIT) + Copyright (C) 2012-2016 Perttu Ahola (celeron55) + Copyright (C) 2015-2016 Jean-Patrick G. (kilbith) + ``` + + ITB (insidethebox) minetest game - Copyright (C) 2017-2018 sofar & nore + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public License + as published by the Free Software Foundation; either version 2.1 + of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, + MA 02111-1307 USA + +]]-- + creative = {} local player_inventory = {} diff --git a/mods/db/init.lua b/mods/db/init.lua index f6f7cd6..cc37963 100644 --- a/mods/db/init.lua +++ b/mods/db/init.lua @@ -1,3 +1,25 @@ + +--[[ + + ITB (insidethebox) minetest game - Copyright (C) 2017-2018 sofar & nore + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public License + as published by the Free Software Foundation; either version 2.1 + of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, + MA 02111-1307 USA + +]]-- + --[[ sqlite backend for insidethebox diff --git a/mods/doors/init.lua b/mods/doors/init.lua index 1de8e62..8902458 100644 --- a/mods/doors/init.lua +++ b/mods/doors/init.lua @@ -1,3 +1,33 @@ + +--[[ + +The MIT License (MIT) +Copyright (C) 2012-2016 PilzAdam +Copyright (C) 2014-2016 BlockMen +Copyright (C) 2015-2016 sofar (sofar@foo-projects.org) +Copyright (C) 2012-2016 Various Minetest developers and contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject +to the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY +KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE +WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +]]-- + -- our API object doors = {} diff --git a/mods/fences/init.lua b/mods/fences/init.lua index 5b22172..490650e 100644 --- a/mods/fences/init.lua +++ b/mods/fences/init.lua @@ -1,3 +1,25 @@ + +--[[ + +Fences - from minetest_game + +GNU Lesser General Public License, version 2.1 +Copyright (C) 2011-2016 celeron55, Perttu Ahola +Copyright (C) 2011-2016 Various Minetest developers and contributors + +This program is free software; you can redistribute it and/or modify it +under the terms of the GNU Lesser General Public License as published +by the Free Software Foundation; either version 2.1 of the License, +or (at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty +of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +See the GNU Lesser General Public License for more details: +https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html + +]]-- + fences = {} function fences.register_fence(name, def) diff --git a/mods/irc_whereis/init.lua b/mods/irc_whereis/init.lua index 61d86bd..4daba2d 100644 --- a/mods/irc_whereis/init.lua +++ b/mods/irc_whereis/init.lua @@ -1,5 +1,6 @@ --[[ + Copyright (c) 2013, Diego Martinez (kaeza) All rights reserved. diff --git a/mods/log/init.lua b/mods/log/init.lua index bca6e99..a063bba 100644 --- a/mods/log/init.lua +++ b/mods/log/init.lua @@ -1,4 +1,24 @@ +--[[ + + ITB (insidethebox) minetest game - Copyright (C) 2017-2018 sofar & nore + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public License + as published by the Free Software Foundation; either version 2.1 + of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, + MA 02111-1307 USA + +]]-- log = {} diff --git a/mods/mech/init.lua b/mods/mech/init.lua index 37628a0..6b0ad3f 100644 --- a/mods/mech/init.lua +++ b/mods/mech/init.lua @@ -1,7 +1,25 @@ + --[[ mech - mechanisms for Inside The Box + ITB (insidethebox) minetest game - Copyright (C) 2017-2018 sofar & nore + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public License + as published by the Free Software Foundation; either version 2.1 + of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, + MA 02111-1307 USA + ]]-- mech = {} diff --git a/mods/menu/init.lua b/mods/menu/init.lua index 2a7f328..562328b 100644 --- a/mods/menu/init.lua +++ b/mods/menu/init.lua @@ -1,4 +1,25 @@ +--[[ + + ITB (insidethebox) minetest game - Copyright (C) 2017-2018 sofar & nore + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public License + as published by the Free Software Foundation; either version 2.1 + of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, + MA 02111-1307 USA + +]]-- + --[[ game menu options for use with sfinv diff --git a/mods/mg/init.lua b/mods/mg/init.lua index 96339f0..e02ff1d 100644 --- a/mods/mg/init.lua +++ b/mods/mg/init.lua @@ -1,8 +1,24 @@ + --[[ - mapgen - none! + ITB (insidethebox) minetest game - Copyright (C) 2017-2018 sofar & nore ---]] + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public License + as published by the Free Software Foundation; either version 2.1 + of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, + MA 02111-1307 USA + +]]-- -- disable all mapgens minetest.register_on_mapgen_init(function(parms) diff --git a/mods/music/init.lua b/mods/music/init.lua index 4448b3c..28c5fb2 100644 --- a/mods/music/init.lua +++ b/mods/music/init.lua @@ -1,4 +1,25 @@ +--[[ + + ITB (insidethebox) minetest game - Copyright (C) 2017-2018 sofar & nore + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public License + as published by the Free Software Foundation; either version 2.1 + of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, + MA 02111-1307 USA + +]]-- + --[[ Music API for itb diff --git a/mods/nodes/init.lua b/mods/nodes/init.lua index 8f0ed77..dfe6a53 100644 --- a/mods/nodes/init.lua +++ b/mods/nodes/init.lua @@ -1,4 +1,25 @@ +--[[ + + ITB (insidethebox) minetest game - Copyright (C) 2017-2018 sofar & nore + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public License + as published by the Free Software Foundation; either version 2.1 + of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, + MA 02111-1307 USA + +]]-- + --[[ nodes.lua - basic node blocks for Inside The Box diff --git a/mods/player/init.lua b/mods/player/init.lua index f01f256..b0a3280 100644 --- a/mods/player/init.lua +++ b/mods/player/init.lua @@ -1,4 +1,25 @@ +--[[ + + ITB (insidethebox) minetest game - Copyright (C) 2017-2018 sofar & nore + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public License + as published by the Free Software Foundation; either version 2.1 + of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, + MA 02111-1307 USA + +]]-- + --[[ handle player events diff --git a/mods/screwdriver/init.lua b/mods/screwdriver/init.lua index f8e5835..673c1a4 100644 --- a/mods/screwdriver/init.lua +++ b/mods/screwdriver/init.lua @@ -1,3 +1,25 @@ + +--[[ + + screwdriver - Copyright (C) RealBadAngel, minetest developers + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public License + as published by the Free Software Foundation; either version 2.1 + of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, + MA 02111-1307 USA + +]]-- + screwdriver = {} local function nextrange(x, max) diff --git a/mods/sfinv/api.lua b/mods/sfinv/api.lua index 11a39df..1306f71 100644 --- a/mods/sfinv/api.lua +++ b/mods/sfinv/api.lua @@ -1,4 +1,29 @@ +--[[ + +Copyright (C) 2016 rubenwardy rubenwardy@gmail.com + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject +to the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY +KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE +WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +]]-- + sfinv = { -- replace default.* style units style = { diff --git a/mods/signs/init.lua b/mods/signs/init.lua index a208ea9..c75f5c0 100644 --- a/mods/signs/init.lua +++ b/mods/signs/init.lua @@ -1,4 +1,25 @@ +--[[ + + ITB (insidethebox) minetest game - Copyright (C) 2017-2018 sofar & nore + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public License + as published by the Free Software Foundation; either version 2.1 + of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, + MA 02111-1307 USA + +]]-- + signs = {} local function clean_sign_entities(pos) diff --git a/mods/signs/textures/generate-glyphs.lua b/mods/signs/textures/generate-glyphs.lua index 2cadefc..7c169ea 100644 --- a/mods/signs/textures/generate-glyphs.lua +++ b/mods/signs/textures/generate-glyphs.lua @@ -1,4 +1,27 @@ +--[[ + + ITB (insidethebox) minetest game - Copyright (C) 2017-2018 sofar & nore + + helper script to create a font for use in signs. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public License + as published by the Free Software Foundation; either version 2.1 + of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, + MA 02111-1307 USA + +]]-- + for c = 32, 255 do s = string.char(c) n = string.format("%x", c) diff --git a/mods/sounds/init.lua b/mods/sounds/init.lua index 9b81533..ecbd2b6 100644 --- a/mods/sounds/init.lua +++ b/mods/sounds/init.lua @@ -1,4 +1,25 @@ +--[[ + + ITB (insidethebox) minetest game - Copyright (C) 2017-2018 sofar & nore + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public License + as published by the Free Software Foundation; either version 2.1 + of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, + MA 02111-1307 USA + +]]-- + --[[ sounds.lua diff --git a/mods/spectator_mode/init.lua b/mods/spectator_mode/init.lua index f00b7d8..edda284 100644 --- a/mods/spectator_mode/init.lua +++ b/mods/spectator_mode/init.lua @@ -1,3 +1,25 @@ + +--[[ + + spectator mode - originally by kilbith. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public License + as published by the Free Software Foundation; either version 2.1 + of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, + MA 02111-1307 USA + +]]-- + local original_pos = {} local watching = {} diff --git a/mods/status/init.lua b/mods/status/init.lua index 774445d..a006b4e 100644 --- a/mods/status/init.lua +++ b/mods/status/init.lua @@ -1,4 +1,25 @@ +--[[ + + ITB (insidethebox) minetest game - Copyright (C) 2017-2018 sofar & nore + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public License + as published by the Free Software Foundation; either version 2.1 + of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, + MA 02111-1307 USA + +]]-- + -- -- print server status (version, uptime, max_lag, clients every 5 minutes -- diff --git a/mods/terminal/init.lua b/mods/terminal/init.lua index f87c906..fba0b44 100644 --- a/mods/terminal/init.lua +++ b/mods/terminal/init.lua @@ -1,4 +1,25 @@ +--[[ + + ITB (insidethebox) minetest game - Copyright (C) 2017-2018 sofar & nore + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public License + as published by the Free Software Foundation; either version 2.1 + of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, + MA 02111-1307 USA + +]]-- + --[[ terminal - an interactive terminal diff --git a/mods/tools/init.lua b/mods/tools/init.lua index dcd40dc..0e28691 100644 --- a/mods/tools/init.lua +++ b/mods/tools/init.lua @@ -1,4 +1,25 @@ +--[[ + + ITB (insidethebox) minetest game - Copyright (C) 2017-2018 sofar & nore + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public License + as published by the Free Software Foundation; either version 2.1 + of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, + MA 02111-1307 USA + +]]-- + -- -- hand tools -- diff --git a/mods/walls/init.lua b/mods/walls/init.lua index 66de80a..c133cd0 100644 --- a/mods/walls/init.lua +++ b/mods/walls/init.lua @@ -1,3 +1,23 @@ + +--[[ + +walls - from minetest_game + +Copyright (C) 2015 Auke Kok + +This program is free software; you can redistribute it and/or modify it +under the terms of the GNU Lesser General Public License as published +by the Free Software Foundation; either version 2.1 of the License, +or (at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty +of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +See the GNU Lesser General Public License for more details: +https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html + +]]-- + walls = {} walls.register = function(wall_name, wall_desc, wall_texture, wall_sounds, groups, connect_groups) diff --git a/mods/who/init.lua b/mods/who/init.lua index 8a55316..72f7652 100644 --- a/mods/who/init.lua +++ b/mods/who/init.lua @@ -1,4 +1,25 @@ +--[[ + + ITB (insidethebox) minetest game - Copyright (C) 2017-2018 sofar & nore + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public License + as published by the Free Software Foundation; either version 2.1 + of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, + MA 02111-1307 USA + +]]-- + minetest.register_chatcommand("who", { params = "who server", description = "List online players", diff --git a/mods/xpanes/init.lua b/mods/xpanes/init.lua index 961c607..ac60bc4 100644 --- a/mods/xpanes/init.lua +++ b/mods/xpanes/init.lua @@ -1,4 +1,31 @@ +--[[ + + xpanes - minetest_game. + + (C) xyz, BlockMen, sofar, the minetest development team. + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject + to the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY + KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE + WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +]]-- + local function is_pane(pos) return minetest.get_item_group(minetest.get_node(pos).name, "pane") > 0 end