Browse Source

add cottages_missing mod

master
poikilos 5 years ago
committed by Jacob Gustafson
parent
commit
f119717d9d
  1. 21
      patches/mods-stopgap/cottages_missing/LICENSE.txt
  2. 11
      patches/mods-stopgap/cottages_missing/README.md
  3. 2
      patches/mods-stopgap/cottages_missing/depends.txt
  4. 1
      patches/mods-stopgap/cottages_missing/description.txt
  5. 12
      patches/mods-stopgap/cottages_missing/init.lua
  6. 1
      patches/mods-stopgap/cottages_missing/mod.conf

21
patches/mods-stopgap/cottages_missing/LICENSE.txt

@ -0,0 +1,21 @@
# MIT License
Copyright 2019 Poikilos (Jake Gustafson)
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.

11
patches/mods-stopgap/cottages_missing/README.md

@ -0,0 +1,11 @@
Minetest mod: cottages_missing
==============================
See description.txt
Authors of source code
----------------------
poikilos (github.com/poikilos)
Authors of media (textures)
---------------------------
(no media)

2
patches/mods-stopgap/cottages_missing/depends.txt

@ -0,0 +1,2 @@
cottages?
anvil?

1
patches/mods-stopgap/cottages_missing/description.txt

@ -0,0 +1 @@
Convert "cottages" nodes to equivalent nodes if available.

12
patches/mods-stopgap/cottages_missing/init.lua

@ -0,0 +1,12 @@
--if minetest.get_modpath("anvil") ~= nil then
if not minetest.registered_nodes["cottages:hammer"] then
if minetest.registered_nodes["anvil:hammer"] then
minetest.register_alias("cottages:hammer", "anvil:hammer")
end
end
if not minetest.registered_nodes["cottages:anvil"] then
if minetest.registered_nodes["anvil:anvil"] then
minetest.register_alias("cottages:anvil", "anvil:anvil")
end
end

1
patches/mods-stopgap/cottages_missing/mod.conf

@ -0,0 +1 @@
name = cottages_missing
Loading…
Cancel
Save