Browse Source

updated mods list, reorganized files

master
poikilos 7 years ago
committed by Jacob Gustafson
parent
commit
7539ef1ddb
  1. 8
      README.md
  2. 35
      etc/change_hardcoded_world_name_first/game-install-ENLIVEN
  3. 1101
      etc/change_hardcoded_world_name_first/game-install-ENLIVEN.old
  4. 3
      etc/change_hardcoded_world_name_first/mts-ENLIVEN.old
  5. 19
      etc/minetestserver-install-git-ENABLE_REDIS.old
  6. 14
      etc/unused/game-install-ENLIVEN-DEPRECATED.sh
  7. 6
      etc/unused/minetestserver-install-git (NO REDIS).old
  8. 0
      patches/minetest_game-mods-LICENSE.txt
  9. 0
      patches/minetest_game-mods-README.txt
  10. 1
      patches/minetest_game-mods-deprecated-list.txt
  11. 5
      patches/minetest_game-mods-list.txt
  12. 0
      patches/mods-WIP-nonworking/homedecor_censorship/README.txt
  13. 0
      patches/mods-WIP-nonworking/homedecor_censorship/depends.txt
  14. 0
      patches/mods-WIP-nonworking/homedecor_censorship/init.lua
  15. 0
      patches/mods-integration/debug (various warnings on each startup, Mar 8, 2017).txt
  16. 0
      patches/mods-integration/trm_compassgps/depends.txt
  17. 0
      patches/mods-integration/trm_compassgps/init.lua
  18. 0
      patches/mods-integration/tsm_pyramids_to_spawners/README.txt
  19. 0
      patches/mods-integration/tsm_pyramids_to_spawners/depends.txt
  20. 0
      patches/mods-integration/tsm_pyramids_to_spawners/init.lua
  21. 0
      patches/mods-multiplayer/mock_tnt/README.txt
  22. 0
      patches/mods-multiplayer/mock_tnt/depends.txt
  23. 0
      patches/mods-multiplayer/mock_tnt/etc/8bit/mock_tnt_blast.png
  24. 0
      patches/mods-multiplayer/mock_tnt/etc/mock_tnt_background.png
  25. 0
      patches/mods-multiplayer/mock_tnt/etc/mock_tnt_side-normal.png
  26. 0
      patches/mods-multiplayer/mock_tnt/etc/mock_tnt_tnt_item.png
  27. 0
      patches/mods-multiplayer/mock_tnt/etc/mock_tnt_tnt_node.png
  28. 0
      patches/mods-multiplayer/mock_tnt/etc/mock_tnt_tnt_object.png
  29. 0
      patches/mods-multiplayer/mock_tnt/init.lua
  30. 0
      patches/mods-multiplayer/mock_tnt/playereffects.lua
  31. 0
      patches/mods-multiplayer/mock_tnt/textures/mock_tnt_blast.png
  32. 0
      patches/mods-multiplayer/mock_tnt/textures/mock_tnt_boom.png
  33. 0
      patches/mods-multiplayer/mock_tnt/textures/mock_tnt_bottom.png
  34. 0
      patches/mods-multiplayer/mock_tnt/textures/mock_tnt_side-blank.png
  35. 0
      patches/mods-multiplayer/mock_tnt/textures/mock_tnt_side.png
  36. 0
      patches/mods-multiplayer/mock_tnt/textures/mock_tnt_smoke.png
  37. 0
      patches/mods-multiplayer/mock_tnt/textures/mock_tnt_top.png
  38. 0
      patches/mods-multiplayer/mock_tnt/textures/mock_tnt_top_burning_animated.png
  39. 0
      patches/mods-multiplayer/mock_tnt/textures/playereffects_example_black.png
  40. 0
      patches/mods-multiplayer/mock_tnt/update local.bat
  41. 0
      patches/mods-multiplayer/ore_spawner_to_junk/README.txt
  42. 0
      patches/mods-multiplayer/ore_spawner_to_junk/debug.txt
  43. 0
      patches/mods-multiplayer/ore_spawner_to_junk/depends.txt
  44. 0
      patches/mods-multiplayer/ore_spawner_to_junk/init.lua
  45. 0
      patches/mods-multiplayer/ore_spawner_to_junk/spawners-microfork/.gitignore
  46. 0
      patches/mods-multiplayer/ore_spawner_to_junk/spawners-microfork/spawners_ores.lua
  47. 0
      patches/mods-stopgap/cme_to_spawners/README.txt
  48. 0
      patches/mods-stopgap/cme_to_spawners/depends.txt
  49. 0
      patches/mods-stopgap/cme_to_spawners/init.lua
  50. 0
      patches/mods-stopgap/junglelike_dryplants_recipes/README.txt
  51. 0
      patches/mods-stopgap/junglelike_dryplants_recipes/depends.txt
  52. 0
      patches/mods-stopgap/junglelike_dryplants_recipes/init.lua
  53. 0
      patches/mods-stopgap/junglelike_minetestgame_recipes/README.txt
  54. 0
      patches/mods-stopgap/junglelike_minetestgame_recipes/depends.txt
  55. 0
      patches/mods-stopgap/junglelike_minetestgame_recipes/init.lua
  56. 0
      patches/mods-stopgap/lasermk3_to_junk/README.txt
  57. 0
      patches/mods-stopgap/lasermk3_to_junk/depends.txt
  58. 0
      patches/mods-stopgap/lasermk3_to_junk/init.lua
  59. 0
      patches/mods-stopgap/lasermk3_to_junk/technic-microfork/tools/mining_lasers.lua
  60. 16
      patches/mods-stopgap/nyancat/README.txt
  61. 1
      patches/mods-stopgap/nyancat/depends.txt
  62. 89
      patches/mods-stopgap/nyancat/init.lua
  63. 50
      patches/mods-stopgap/nyancat/license.txt
  64. BIN
      patches/mods-stopgap/nyancat/textures/nyancat_back.png
  65. BIN
      patches/mods-stopgap/nyancat/textures/nyancat_front.png
  66. BIN
      patches/mods-stopgap/nyancat/textures/nyancat_rainbow.png
  67. BIN
      patches/mods-stopgap/nyancat/textures/nyancat_side.png
  68. 0
      patches/mods-stopgap/teleporter_to_travelnet/README.txt
  69. 0
      patches/mods-stopgap/teleporter_to_travelnet/depends.txt
  70. 0
      patches/mods-stopgap/teleporter_to_travelnet/init.lua
  71. 0
      patches/subgame-stopgap/mods/technic/machines/forcefield.lua
  72. 16
      webapp/package.json
  73. 17
      webapp/server.js
  74. 1
      webapp/views/home.handlebars
  75. 12
      webapp/views/layouts/main.handlebars

8
README.md

@ -75,6 +75,14 @@ Otherwise just install everything EXCEPT cme_to_spawners & tsm_pyramids_to_spawn
* fix exception while trying to recover from exception (see `Could not finish writing r`)
## Changes:
(2018-02-06)
* refactored file structure
* renamed games/ENLIVEN to patches/subgame
* moved etc/Mods* to patches/mods*
* updated mod lists for 0.4.16
* added
* moved nyancat to patches/subgame/minetest_game-deprecated-mods-list.txt
(wiki.minetest.net/Nyan_Cat says if you want it back, copy it from 0.4.15)
(2018-02-03)
* bump Python requirement to 3 (no more testing is planned to be done on python2) and use python3 binary when calling py files from scripts
* (chunkymap-generator.bat, pythoninfo.py) if using Windows, check for various versions of Python3 and warn if fails (no longer check for Python2)

35
etc/change_hardcoded_world_name_first/game-install-ENLIVEN

@ -1888,19 +1888,30 @@ fi
echo
echo
echo
echo "adding the following necessary integration mods:"
ls ~/GitHub/EnlivenMinetest/patches/mods-integration/
sudo cp -R ~/GitHub/EnlivenMinetest/patches/mods-integration/* "$MT_MYGAME_MODS_PATH/"
echo
echo "adding the following multiplayer mods:"
ls ~/GitHub/EnlivenMinetest/patches/mods-multiplayer/
sudo cp -R ~/GitHub/EnlivenMinetest/patches/mods-multiplayer/* "$MT_MYGAME_MODS_PATH/"
echo
echo "# remove not available on 0.4.16 stable (is only avail on 0.4.16-dev or higher)"
echo "sudo rm -Rf /usr/share/games/minetest/games/ENLIVEN/mods/worldedit/worldedit_brush"
echo "# optionally:"
echo "sudo cp -R ~/GitHub/EnlivenMinetest/etc/Mods\,WIP/* $MT_MYGAME_MODS_PATH/"
echo "# not recommended:"
echo "sudo cp -R ~/GitHub/EnlivenMinetest/etc/Mods\,stopgap/* $MT_MYGAME_MODS_PATH/"
echo "sudo cp -R ~/GitHub/EnlivenMinetest/patches/mods-stopgap/* $MT_MYGAME_MODS_PATH/"
echo "sudo rm -Rf $MT_MYGAME_MODS_PATH/1.nonworking"
echo ""
echo ""
echo ""
echo
echo
echo "adding non-manual patches to subgame (vs minetest_game and downloaded mods):"
sudo cp -f ~/GitHub/EnlivenMinetest/patches/subgame/* "$MT_MYGAME_DIR/"
sudo cp -f ~/GitHub/EnlivenMinetest/patches/subgame/menu/* "$MT_MYGAME_DIR/menu/"
sudo cp -f ~/GitHub/EnlivenMinetest/patches/subgame/mods/mobs/textures/* "$MT_MYGAME_DIR/mods/mobs/textures/"
sudo cp -f ~/GitHub/EnlivenMinetest/patches/subgame/mods/mobs_monster/textures/* "$MT_MYGAME_DIR/mods/mobs_monster/textures/"
echo "mods affected: mobs"
echo
echo "#### $MT_MYWORLD_DIR/world.mt: ####"
cat "$MT_MYWORLD_DIR/world.mt"
echo "### end $MT_MYWORLD_DIR/world.mt ##"
@ -1920,19 +1931,13 @@ echo " ban: allows /ban ip and /unban ip (and /whitelist add player and /whitel
echo " kick: allows /kick player"
echo " privs: allows grant and revoke commands"
echo " delprotect: circumvents protector blocks, including allowing removing them"
echo " invhack: editing player inventories as moderator"
echo ""
echo "Also remember to:"
echo " nano $MT_MYGAME_MODS_PATH/teleporter/config.lua"
echo " #then change:"
echo " teleporter.requires_pairing = true"
echo " # also see other lines in this script that wouldn't echo as non-root"
echo " #otherwise people can type any coordinates for destination (approaching infinite distance)!"
echo " * for invhack, remember to do: /giveme invhack:tool"
echo " * uncomment columns in lapis mod"
echo " * set number = 0 or number = {min=0, max=0} in cme since only using cme for creatures:*_spawner nodes and for compatibility with old worlds"
echo " * remember to /grant yourself invhack and then /giveme invhack:tool for editing player inventories as moderator"
echo " * Make sure client (server done already above) minetest.conf has secure.trusted_mods = advanced_npc"
echo " * Make sure writable minetest conf was successfully written"
echo " over /usr/local/share/minetest/games/enliven/minetest.conf with:"
echo " over /usr/local/share/minetest/games/enliven/minetest.conf with:"
echo "protector_radius = 7"
echo "protector_pvp = true"
echo "protector_pvp_spawn = 10"

1101
etc/change_hardcoded_world_name_first/game-install-ENLIVEN.old

File diff suppressed because it is too large

3
etc/change_hardcoded_world_name_first/mts-ENLIVEN.old

@ -1,3 +0,0 @@
#!/bin/sh
#BROKEN: screen -t MinetestServer minetestserver --gameid minetest_next --draworigin --drawplayers --world FCAWorldMTNext
screen -t MinetestServer minetestserver --gameid ENLIVEN --worldname FCAGameAWorld

19
etc/minetestserver-install-git-ENABLE_REDIS.old

@ -1,19 +0,0 @@
#sudo apt-get install libncurses5-dev libgettextpo-dev doxygen libspatialindex-dev lua-redis-dev gettext
sudo apt-get install build-essential cmake git libirrlicht-dev libbz2-dev libgettextpo-dev libfreetype6-dev libpng12-dev libjpeg8-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev libhiredis-dev libcurl3-dev
#above is from http://dev.minetest.net/Compiling_Minetest#Compiling_on_GNU.2FLinux
#as per <https://www.digitalocean.com/community/tutorials/how-to-configure-a-redis-cluster-on-ubuntu-14-04>:
sudo add-apt-repository ppa:chris-lea/redis-server
sudo apt-get update
sudo apt-get install redis-server
#if you skip the above, the below says missing: GetText, Curses, ncurses, Redis, SpatialIndex, Doxygen
#cd "$HOME" #done below by parameterless "cd" command
sudo apt-get install -y git build-essential libirrlicht-dev libgettextpo0 libfreetype6-dev cmake libbz2-dev libpng12-dev libjpeg8-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev libcurl4-openssl-dev libluajit-5.1-dev liblua5.1-0-dev libleveldb-dev; cd; git clone https://github.com/minetest/minetest.git; cd minetest/games; git clone https://github.com/minetest/minetest_game.git; cd ..; cmake . -DENABLE_GETTEXT=1 -DENABLE_FREETYPE=1 -DENABLE_LEVELDB=1 -DENABLE_REDIS=1 -DBUILD_SERVER=TRUE -DBUILD_CLIENT=FALSE; make -j$(nproc); sudo make install;
# minetest;
echo -e "\n\n\e[1;33mYou can run Minetest Server by typing \"minetestserver\" in a terminal.\e[0m"
echo "Remember to add requirepass to /etc/redis/redis.conf -- a long password since redis is fast and can be bruteforced quickly"
# based on https://forum.minetest.net/viewtopic.php?f=42&t=3837 (below)
# sudo apt-get install -y git build-essential libirrlicht-dev libgettextpo0 libfreetype6-dev cmake libbz2-dev libpng12-dev libjpeg8-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev libcurl4-openssl-dev libluajit-5.1-dev liblua5.1-0-dev libleveldb-dev; cd; git clone https://github.com/minetest/minetest.git; cd minetest/games; git clone https://github.com/minetest/minetest_game.git; cd ..; cmake . -DENABLE_GETTEXT=1 -DENABLE_FREETYPE=1 -DENABLE_LEVELDB=1 -DENABLE_REDIS=1; make -j$(nproc); sudo make install; minetest; echo -e "\n\n\e[1;33mYou can run Minetest again by typing \"minetest\" in a terminal or selecting it in an applications menu.\nYou can install mods in ~/.minetest/mods, too.\e[0m"

14
etc/unused/game-install-ENLIVEN-DEPRECATED.sh

@ -0,0 +1,14 @@
echo "# STEPS BELOW ARE DEPRECATED"
echo
echo "## Deprecated since this travelnet is used instead"
echo "Also remember to:"
echo " nano $MT_MYGAME_MODS_PATH/teleporter/config.lua"
echo " #then change:"
echo " teleporter.requires_pairing = true"
echo " # also see other lines in this script that wouldn't echo as non-root"
echo " #otherwise people can type any coordinates for destination (approaching infinite distance)!"
echo
echo "## Deprecated since using cme_to_spawners and tsm_pyramids_to_spawners from patches/mods-WIP"
echo " * set number = 0 or number = {min=0, max=0} in cme since only using cme for creatures:*_spawner nodes and for compatibility with old worlds"

6
etc/unused/minetestserver-install-git (NO REDIS).old

@ -1,6 +0,0 @@
sudo apt-get install -y git build-essential libirrlicht-dev libgettextpo0 libfreetype6-dev cmake libbz2-dev libpng12-dev libjpeg8-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev libcurl4-openssl-dev libluajit-5.1-dev liblua5.1-0-dev libleveldb-dev; cd; git clone https://github.com/minetest/minetest.git; cd minetest/games; git clone https://github.com/minetest/minetest_game.git; cd ..; cmake . -DENABLE_GETTEXT=1 -DENABLE_FREETYPE=1 -DENABLE_LEVELDB=1 -DBUILD_SERVER=TRUE -DBUILD_CLIENT=FALSE; make -j$(nproc); sudo make install;
# minetest;
echo -e "\n\n\e[1;33mYou can run Minetest Server by typing \"minetestserver\" in a terminal.\e[0m"
# based on https://forum.minetest.net/viewtopic.php?f=42&t=3837 (below)
# sudo apt-get install -y git build-essential libirrlicht-dev libgettextpo0 libfreetype6-dev cmake libbz2-dev libpng12-dev libjpeg8-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev libcurl4-openssl-dev libluajit-5.1-dev liblua5.1-0-dev libleveldb-dev; cd; git clone https://github.com/minetest/minetest.git; cd minetest/games; git clone https://github.com/minetest/minetest_game.git; cd ..; cmake . -DENABLE_GETTEXT=1 -DENABLE_FREETYPE=1 -DENABLE_LEVELDB=1; make -j$(nproc); sudo make install; minetest; echo -e "\n\n\e[1;33mYou can run Minetest again by typing \"minetest\" in a terminal or selecting it in an applications menu.\nYou can install mods in ~/.minetest/mods, too.\e[0m"

0
patches/subgame/minetest_game-mods-LICENSE.txt → patches/minetest_game-mods-LICENSE.txt

0
patches/subgame/minetest_game-mods-README.txt → patches/minetest_game-mods-README.txt

1
patches/minetest_game-mods-deprecated-list.txt

@ -0,0 +1 @@
nyancat

5
patches/subgame/minetest_game-mods-list.txt → patches/minetest_game-mods-list.txt

@ -1,4 +1,5 @@
beds
binoculars
boats
bones
bucket
@ -6,13 +7,15 @@ carts
creative
default
doors
dungeon_loot
dye
farming
fire
flowers
give_initial_stuff
killme
nyancat
map
player_api
screwdriver
sethome
sfinv

0
patches/mods,WIP-nonworking/homedecor_censorship/README.txt → patches/mods-WIP-nonworking/homedecor_censorship/README.txt

0
patches/mods,WIP-nonworking/homedecor_censorship/depends.txt → patches/mods-WIP-nonworking/homedecor_censorship/depends.txt

0
patches/mods,WIP-nonworking/homedecor_censorship/init.lua → patches/mods-WIP-nonworking/homedecor_censorship/init.lua

0
patches/mods,WIP/debug (various warnings on each startup, Mar 8, 2017).txt → patches/mods-integration/debug (various warnings on each startup, Mar 8, 2017).txt

0
patches/mods,WIP/trm_compassgps/depends.txt → patches/mods-integration/trm_compassgps/depends.txt

0
patches/mods,WIP/trm_compassgps/init.lua → patches/mods-integration/trm_compassgps/init.lua

0
patches/mods,WIP/tsm_pyramids_to_spawners/README.txt → patches/mods-integration/tsm_pyramids_to_spawners/README.txt

0
patches/mods,WIP/tsm_pyramids_to_spawners/depends.txt → patches/mods-integration/tsm_pyramids_to_spawners/depends.txt

0
patches/mods,WIP/tsm_pyramids_to_spawners/init.lua → patches/mods-integration/tsm_pyramids_to_spawners/init.lua

0
patches/mods,WIP/mock_tnt/README.txt → patches/mods-multiplayer/mock_tnt/README.txt

0
patches/mods,WIP/mock_tnt/depends.txt → patches/mods-multiplayer/mock_tnt/depends.txt

0
patches/mods,WIP/mock_tnt/etc/8bit/mock_tnt_blast.png → patches/mods-multiplayer/mock_tnt/etc/8bit/mock_tnt_blast.png

Before

Width:  |  Height:  |  Size: 893 B

After

Width:  |  Height:  |  Size: 893 B

0
patches/mods,WIP/mock_tnt/etc/mock_tnt_background.png → patches/mods-multiplayer/mock_tnt/etc/mock_tnt_background.png

Before

Width:  |  Height:  |  Size: 348 B

After

Width:  |  Height:  |  Size: 348 B

0
patches/mods,WIP/mock_tnt/etc/mock_tnt_side-normal.png → patches/mods-multiplayer/mock_tnt/etc/mock_tnt_side-normal.png

Before

Width:  |  Height:  |  Size: 854 B

After

Width:  |  Height:  |  Size: 854 B

0
patches/mods,WIP/mock_tnt/etc/mock_tnt_tnt_item.png → patches/mods-multiplayer/mock_tnt/etc/mock_tnt_tnt_item.png

Before

Width:  |  Height:  |  Size: 292 B

After

Width:  |  Height:  |  Size: 292 B

0
patches/mods,WIP/mock_tnt/etc/mock_tnt_tnt_node.png → patches/mods-multiplayer/mock_tnt/etc/mock_tnt_tnt_node.png

Before

Width:  |  Height:  |  Size: 193 B

After

Width:  |  Height:  |  Size: 193 B

0
patches/mods,WIP/mock_tnt/etc/mock_tnt_tnt_object.png → patches/mods-multiplayer/mock_tnt/etc/mock_tnt_tnt_object.png

Before

Width:  |  Height:  |  Size: 254 B

After

Width:  |  Height:  |  Size: 254 B

0
patches/mods,WIP/mock_tnt/init.lua → patches/mods-multiplayer/mock_tnt/init.lua

0
patches/mods,WIP/mock_tnt/playereffects.lua → patches/mods-multiplayer/mock_tnt/playereffects.lua

0
patches/mods,WIP/mock_tnt/textures/mock_tnt_blast.png → patches/mods-multiplayer/mock_tnt/textures/mock_tnt_blast.png

Before

Width:  |  Height:  |  Size: 198 B

After

Width:  |  Height:  |  Size: 198 B

0
patches/mods,WIP/mock_tnt/textures/mock_tnt_boom.png → patches/mods-multiplayer/mock_tnt/textures/mock_tnt_boom.png

Before

Width:  |  Height:  |  Size: 250 B

After

Width:  |  Height:  |  Size: 250 B

0
patches/mods,WIP/mock_tnt/textures/mock_tnt_bottom.png → patches/mods-multiplayer/mock_tnt/textures/mock_tnt_bottom.png

Before

Width:  |  Height:  |  Size: 563 B

After

Width:  |  Height:  |  Size: 563 B

0
patches/mods,WIP/mock_tnt/textures/mock_tnt_side-blank.png → patches/mods-multiplayer/mock_tnt/textures/mock_tnt_side-blank.png

Before

Width:  |  Height:  |  Size: 854 B

After

Width:  |  Height:  |  Size: 854 B

0
patches/mods,WIP/mock_tnt/textures/mock_tnt_side.png → patches/mods-multiplayer/mock_tnt/textures/mock_tnt_side.png

Before

Width:  |  Height:  |  Size: 831 B

After

Width:  |  Height:  |  Size: 831 B

0
patches/mods,WIP/mock_tnt/textures/mock_tnt_smoke.png → patches/mods-multiplayer/mock_tnt/textures/mock_tnt_smoke.png

Before

Width:  |  Height:  |  Size: 872 B

After

Width:  |  Height:  |  Size: 872 B

0
patches/mods,WIP/mock_tnt/textures/mock_tnt_top.png → patches/mods-multiplayer/mock_tnt/textures/mock_tnt_top.png

Before

Width:  |  Height:  |  Size: 855 B

After

Width:  |  Height:  |  Size: 855 B

0
patches/mods,WIP/mock_tnt/textures/mock_tnt_top_burning_animated.png → patches/mods-multiplayer/mock_tnt/textures/mock_tnt_top_burning_animated.png

Before

Width:  |  Height:  |  Size: 1021 B

After

Width:  |  Height:  |  Size: 1021 B

0
patches/mods,WIP/mock_tnt/textures/playereffects_example_black.png → patches/mods-multiplayer/mock_tnt/textures/playereffects_example_black.png

Before

Width:  |  Height:  |  Size: 69 B

After

Width:  |  Height:  |  Size: 69 B

0
patches/mods,WIP/mock_tnt/update local.bat → patches/mods-multiplayer/mock_tnt/update local.bat

0
patches/mods,stopgap/ore_spawner_to_junk/README.txt → patches/mods-multiplayer/ore_spawner_to_junk/README.txt

0
patches/mods,stopgap/ore_spawner_to_junk/debug.txt → patches/mods-multiplayer/ore_spawner_to_junk/debug.txt

0
patches/mods,stopgap/ore_spawner_to_junk/depends.txt → patches/mods-multiplayer/ore_spawner_to_junk/depends.txt

0
patches/mods,stopgap/ore_spawner_to_junk/init.lua → patches/mods-multiplayer/ore_spawner_to_junk/init.lua

0
patches/mods,stopgap/ore_spawner_to_junk/spawners-microfork/.gitignore → patches/mods-multiplayer/ore_spawner_to_junk/spawners-microfork/.gitignore

0
patches/mods,stopgap/ore_spawner_to_junk/spawners-microfork/spawners_ores.lua → patches/mods-multiplayer/ore_spawner_to_junk/spawners-microfork/spawners_ores.lua

0
patches/mods,WIP/cme_to_spawners/README.txt → patches/mods-stopgap/cme_to_spawners/README.txt

0
patches/mods,WIP/cme_to_spawners/depends.txt → patches/mods-stopgap/cme_to_spawners/depends.txt

0
patches/mods,WIP/cme_to_spawners/init.lua → patches/mods-stopgap/cme_to_spawners/init.lua

0
patches/mods,WIP/junglelike_dryplants_recipes/README.txt → patches/mods-stopgap/junglelike_dryplants_recipes/README.txt

0
patches/mods,WIP/junglelike_dryplants_recipes/depends.txt → patches/mods-stopgap/junglelike_dryplants_recipes/depends.txt

0
patches/mods,WIP/junglelike_dryplants_recipes/init.lua → patches/mods-stopgap/junglelike_dryplants_recipes/init.lua

0
patches/mods,WIP/junglelike_minetestgame_recipes/README.txt → patches/mods-stopgap/junglelike_minetestgame_recipes/README.txt

0
patches/mods,WIP/junglelike_minetestgame_recipes/depends.txt → patches/mods-stopgap/junglelike_minetestgame_recipes/depends.txt

0
patches/mods,WIP/junglelike_minetestgame_recipes/init.lua → patches/mods-stopgap/junglelike_minetestgame_recipes/init.lua

0
patches/mods,stopgap/lasermk3_to_junk/README.txt → patches/mods-stopgap/lasermk3_to_junk/README.txt

0
patches/mods,stopgap/lasermk3_to_junk/depends.txt → patches/mods-stopgap/lasermk3_to_junk/depends.txt

0
patches/mods,stopgap/lasermk3_to_junk/init.lua → patches/mods-stopgap/lasermk3_to_junk/init.lua

0
patches/mods,stopgap/lasermk3_to_junk/technic-microfork/tools/mining_lasers.lua → patches/mods-stopgap/lasermk3_to_junk/technic-microfork/tools/mining_lasers.lua

16
patches/mods-stopgap/nyancat/README.txt

@ -0,0 +1,16 @@
Minetest Game mod: nyancat
==========================
See license.txt for license information.
Authors of source code
----------------------
Originally by celeron55, Perttu Ahola <celeron55@gmail.com> (LGPL 2.1)
Various Minetest developers and contributors (LGPL 2.1)
Authors of media files
----------------------
VanessaE (CC BY-SA 3.0):
nyancat_front.png
nyancat_back.png
nyancat_side.png
nyancat_rainbow.png

1
patches/mods-stopgap/nyancat/depends.txt

@ -0,0 +1 @@
default

89
patches/mods-stopgap/nyancat/init.lua

@ -0,0 +1,89 @@
minetest.register_node("nyancat:nyancat", {
description = "Nyan Cat",
tiles = {"nyancat_side.png", "nyancat_side.png", "nyancat_side.png",
"nyancat_side.png", "nyancat_back.png", "nyancat_front.png"},
paramtype = "light",
light_source = default.LIGHT_MAX,
paramtype2 = "facedir",
groups = {cracky = 2},
is_ground_content = false,
legacy_facedir_simple = true,
sounds = default.node_sound_defaults(),
})
minetest.register_node("nyancat:nyancat_rainbow", {
description = "Nyan Cat Rainbow",
tiles = {
"nyancat_rainbow.png^[transformR90",
"nyancat_rainbow.png^[transformR90",
"nyancat_rainbow.png"
},
paramtype = "light",
light_source = default.LIGHT_MAX,
paramtype2 = "facedir",
groups = {cracky = 2},
is_ground_content = false,
sounds = default.node_sound_defaults(),
})
minetest.register_craft({
type = "fuel",
recipe = "nyancat:nyancat",
burntime = 1,
})
minetest.register_craft({
type = "fuel",
recipe = "nyancat:nyancat_rainbow",
burntime = 1,
})
nyancat = {}
function nyancat.place(pos, facedir, length)
if facedir > 3 then
facedir = 0
end
local tailvec = minetest.facedir_to_dir(facedir)
local p = {x = pos.x, y = pos.y, z = pos.z}
minetest.set_node(p, {name = "nyancat:nyancat", param2 = facedir})
for i = 1, length do
p.x = p.x + tailvec.x
p.z = p.z + tailvec.z
minetest.set_node(p, {name = "nyancat:nyancat_rainbow", param2 = facedir})
end
end
function nyancat.generate(minp, maxp, seed)
local height_min = -31000
local height_max = -32
if maxp.y < height_min or minp.y > height_max then
return
end
local y_min = math.max(minp.y, height_min)
local y_max = math.min(maxp.y, height_max)
local volume = (maxp.x - minp.x + 1) * (y_max - y_min + 1) * (maxp.z - minp.z + 1)
local pr = PseudoRandom(seed + 9324342)
local max_num_nyancats = math.floor(volume / (16 * 16 * 16))
for i = 1, max_num_nyancats do
if pr:next(0, 1000) == 0 then
local x0 = pr:next(minp.x, maxp.x)
local y0 = pr:next(minp.y, maxp.y)
local z0 = pr:next(minp.z, maxp.z)
local p0 = {x = x0, y = y0, z = z0}
nyancat.place(p0, pr:next(0, 3), pr:next(3, 15))
end
end
end
minetest.register_on_generated(function(minp, maxp, seed)
nyancat.generate(minp, maxp, seed)
end)
-- Legacy
minetest.register_alias("default:nyancat", "nyancat:nyancat")
minetest.register_alias("default:nyancat_rainbow", "nyancat:nyancat_rainbow")
minetest.register_alias("nyancat", "nyancat:nyancat")
minetest.register_alias("nyancat_rainbow", "nyancat:nyancat_rainbow")
default.make_nyancat = nyancat.place
default.generate_nyancats = nyancat.generate

50
patches/mods-stopgap/nyancat/license.txt

@ -0,0 +1,50 @@
License of source code
----------------------
GNU Lesser General Public License, version 2.1
Copyright (C) 2011-2016 celeron55, Perttu Ahola <celeron55@gmail.com>
Copyright (C) 2012-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
Licenses of media (textures)
----------------------------
Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
Copyright (C) 2012-2016 VanessaE
You are free to:
Share — copy and redistribute the material in any medium or format.
Adapt — remix, transform, and build upon the material for any purpose, even commercially.
The licensor cannot revoke these freedoms as long as you follow the license terms.
Under the following terms:
Attribution — You must give appropriate credit, provide a link to the license, and
indicate if changes were made. You may do so in any reasonable manner, but not in any way
that suggests the licensor endorses you or your use.
ShareAlike — If you remix, transform, or build upon the material, you must distribute
your contributions under the same license as the original.
No additional restrictions — You may not apply legal terms or technological measures that
legally restrict others from doing anything the license permits.
Notices:
You do not have to comply with the license for elements of the material in the public
domain or where your use is permitted by an applicable exception or limitation.
No warranties are given. The license may not give you all of the permissions necessary
for your intended use. For example, other rights such as publicity, privacy, or moral
rights may limit how you use the material.
For more details:
http://creativecommons.org/licenses/by-sa/3.0/

BIN
patches/mods-stopgap/nyancat/textures/nyancat_back.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 186 B

BIN
patches/mods-stopgap/nyancat/textures/nyancat_front.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 B

BIN
patches/mods-stopgap/nyancat/textures/nyancat_rainbow.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 B

BIN
patches/mods-stopgap/nyancat/textures/nyancat_side.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 B

0
patches/mods,WIP/teleporter_to_travelnet/README.txt → patches/mods-stopgap/teleporter_to_travelnet/README.txt

0
patches/mods,WIP/teleporter_to_travelnet/depends.txt → patches/mods-stopgap/teleporter_to_travelnet/depends.txt

0
patches/mods,WIP/teleporter_to_travelnet/init.lua → patches/mods-stopgap/teleporter_to_travelnet/init.lua

0
patches/subgame/mods/technic/machines/forcefield.lua → patches/subgame-stopgap/mods/technic/machines/forcefield.lua

16
webapp/package.json

@ -0,0 +1,16 @@
{
"name": "express-handlebars-basic-example",
"version": "0.0.0",
"description": "",
"private": true,
"main": "server.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node server.js"
},
"author": "Eric Ferraiuolo <eferraiuolo@gmail.com>",
"license": "BSD",
"dependencies": {
"express": "^4.7.2"
}
}

17
webapp/server.js

@ -0,0 +1,17 @@
'use strict';
var express = require('express'),
exphbs = require('../../'); // "express-handlebars"
var app = express();
app.engine('handlebars', exphbs({defaultLayout: 'main'}));
app.set('view engine', 'handlebars');
app.get('/', function (req, res) {
res.render('home');
});
app.listen(3000, function () {
console.log('express-handlebars example server listening on: 3000');
});

1
webapp/views/home.handlebars

@ -0,0 +1 @@
<h1>Example App: Home</h1>

12
webapp/views/layouts/main.handlebars

@ -0,0 +1,12 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>Example App</title>
</head>
<body>
{{{body}}}
</body>
</html>
Loading…
Cancel
Save