Browse Source

fixes

master
poikilos 8 years ago
committed by Jacob Gustafson
parent
commit
d912f24311
  1. 3
      README.md
  2. 15
      etc/Mods,WIP/cme_to_spawners/init.lua
  3. 11
      etc/change_world_name_manually_first/game-install-ENLIVEN

3
README.md

@ -37,6 +37,9 @@ Otherwise just install everything EXCEPT cme_to_spawners & tsm_pyramids_to_spawn
## Changes:
* (2017-04-02) fixed issue with redundant aliases in cme_to_spawners (see Mods,WIP folder)
* (2017-04-02) switched from kaeza to minetest-mods github repo for xban2
* (2017-04-02) changed maximum range from 20 to 30 for forcefield (see technic/machines folder)
* (2017-03-08) switched to hudbars, removed hud_hunger. Add line to SERVER's minetest.conf (using installer script): hubars_bar_type = statbar_modern
* (2017-03-08) renamed the files in tenplus1's hud_hunger to use its nosprint version of lua files in hud_hunger/hunger
* (2017-03-07) change to tenplus1's hud_hunger fork (BlockMen's has potential comparison of number to nil [crash] in hud/builtin.lua line 79, other issues, and is not maintained)

15
etc/Mods,WIP/cme_to_spawners/init.lua

@ -3,17 +3,18 @@
-- 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.
-- NOTE: register_alias is not needed for mobs, since alias_mob calls that
-- minetest.register_alias(name, convert_to)
-- "This means that if the engine finds nodes with the name name in the world the node with the name convert_to is used instead. "
-- <https://dev.minetest.net/minetest.register_alias>
minetest.register_alias("creatures:chicken", "mobs_animal:chicken")
minetest.register_alias("creatures:sheep", "mobs_animal:sheep_white")
minetest.register_alias("mobs_animal:sheep", "mobs_animal:sheep_white") -- this is to fix an earlier bug in this mod
minetest.register_alias("creatures:ghost", "mobs_monster:spider")
minetest.register_alias("creatures:mummy", "spawners:mummy")
-- minetest.register_alias("creatures:chicken", "mobs_animal:chicken")
-- minetest.register_alias("creatures:sheep", "mobs_animal:sheep_white")
-- minetest.register_alias("mobs_animal:sheep", "mobs_animal:sheep_white") -- this is to fix an earlier bug in this mod
-- minetest.register_alias("creatures:ghost", "mobs_monster:spider")
-- minetest.register_alias("creatures:mummy", "spawners:mummy")
-- minetest.register_alias("creatures:mummy", "mobs_monster:stone_monster")
minetest.register_alias("creatures:oerrki", "mobs_monster:oerrki")
minetest.register_alias("creatures:zombie", "mobs_monster:stone_monster")
-- minetest.register_alias("creatures:oerrki", "mobs_monster:oerrki")
-- minetest.register_alias("creatures:zombie", "mobs_monster:stone_monster")
mobs:alias_mob("creatures:chicken", "mobs_animal:chicken")
mobs:alias_mob("creatures:sheep", "mobs_animal:sheep_white")

11
etc/change_world_name_manually_first/game-install-ENLIVEN

@ -231,8 +231,9 @@ echo "load_mod_protector = true" >> $MT_MYWORLD_DIR/world.mt
cd "$HOME/Downloads"
MTMOD_DL_ZIP=master.tar.gz
MTMOD_SRC_ZIP=xban2.tar.gz
#MTMOD_DL_ZIP=master.tar.gz
MTMOD_DL_ZIP=master.zip
MTMOD_SRC_ZIP=xban2.zip
#MTMOD_UNZ_NAME=minetest-xban2-master
MTMOD_UNZ_NAME=xban2-master
MTMOD_DEST_NAME=xban2
@ -244,9 +245,11 @@ if [ -f $MTMOD_SRC_ZIP ]; then
rm -f $MTMOD_SRC_ZIP
fi
rm -Rvf $MTMOD_UNZ_NAME
wget https://github.com/kaeza/minetest-xban2/archive/master.tar.gz
#wget https://github.com/kaeza/minetest-xban2/archive/master.tar.gz
wget https://github.com/minetest-mods/xban2/archive/master.zip
mv $MTMOD_DL_ZIP $MTMOD_SRC_ZIP
tar -xzvf $MTMOD_SRC_ZIP
#tar -xzvf $MTMOD_SRC_ZIP
unzip $MTMOD_SRC_ZIP
# As http://wiki.minetest.net/Installing_Mods specifies, a mod MUST be renamed to official name as in the official thread of the mod:
mv $MTMOD_UNZ_NAME $MTMOD_DEST_NAME
sudo mv $MTMOD_DEST_NAME "$MTMOD_DEST_PATH"

Loading…
Cancel
Save