Convert the modpack into a standalone game for the Minetest engine

Integrated into the game is most of minetest_game as the stable base
This commit is contained in:
VanessaE
2021-02-23 23:40:11 -05:00
committed by Vanessa Dannenberg
parent 11adf56b75
commit 4394beec6a
8861 changed files with 37424 additions and 4811 deletions

View File

@@ -0,0 +1,7 @@
Minetest Game mod: game_commands
================================
See license.txt for license information.
Authors of source code
----------------------
rubenwardy (MIT)

View File

@@ -0,0 +1,31 @@
-- game_commands/init.lua
-- Load support for MT game translation.
local S = minetest.get_translator("game_commands")
minetest.register_chatcommand("killme", {
description = S("Kill yourself to respawn"),
func = function(name)
local player = minetest.get_player_by_name(name)
if player then
if minetest.settings:get_bool("enable_damage") then
player:set_hp(0)
return true
else
for _, callback in pairs(minetest.registered_on_respawnplayers) do
if callback(player) then
return true
end
end
-- There doesn't seem to be a way to get a default spawn pos
-- from the lua API
return false, S("No static_spawnpoint defined")
end
else
-- Show error message if used when not logged in, eg: from IRC mod
return false, S("You need to be online to be killed!")
end
end
})

View File

@@ -0,0 +1,24 @@
License of source code
----------------------
The MIT License (MIT)
Copyright (C) 2017-2018 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.
For more details:
https://opensource.org/licenses/MIT

View File

@@ -0,0 +1,4 @@
# textdomain: game_commands
Kill yourself to respawn=Selbstmord begehen, um zu Respawnen
No static_spawnpoint defined=Kein static_spawnpoint definiert
You need to be online to be killed!=Sie müssen online sein, um getötet zu werden!

View File

@@ -0,0 +1,4 @@
# textdomain: game_commands
Kill yourself to respawn=Suicídate para reaparecer
No static_spawnpoint defined=No se ha definido un punto de aparición
You need to be online to be killed!=¡Necesitas estar en línea para que te maten!

View File

@@ -0,0 +1,4 @@
# textdomain: game_commands
Kill yourself to respawn=Se suicider pour réapparaître
No static_spawnpoint defined=Pas de point d'apparition défini
You need to be online to be killed!=Vous devez être en ligne pour être tué !

View File

@@ -0,0 +1,4 @@
# textdomain: game_commands
Kill yourself to respawn=Bunuh diri untuk bangkit kembali
No static_spawnpoint defined=Tiada static_spawnpoint (titik bangkit statis) yang diatur
You need to be online to be killed!=Anda harus daring untuk dibunuh!

View File

@@ -0,0 +1,4 @@
# textdomain: game_commands
Kill yourself to respawn=Ucciditi per ricomparire
No static_spawnpoint defined=Nessuno static_spawnpoint definito
You need to be online to be killed!=Devi essere in linea per essere ucciso!

View File

@@ -0,0 +1,4 @@
# textdomain: game_commands
Kill yourself to respawn=.i ro nu do catra do cu tadji pa nu do tolcanci
No static_spawnpoint defined=.i no da ckaji lo me la'o zoi.static_spawnpoint.zoi
You need to be online to be killed!=.i lo nu samjo'e cu sarcu lo nu do se catra

View File

@@ -0,0 +1,4 @@
# textdomain: game_commands
Kill yourself to respawn=Bunuh diri anda untuk lahir semula
No static_spawnpoint defined=Tiada titik permulaan statik (tetapan static_spawnpoint) ditakrifkan
You need to be online to be killed!=Anda mesti berada dalam talian untuk dibunuh!

View File

@@ -0,0 +1,4 @@
# textdomain: game_commands
Kill yourself to respawn=Mate-se para reaparecer
No static_spawnpoint defined=Nenhum ponto de reaparecer estático definido
You need to be online to be killed!=Você precisa estar online para ser morto!

View File

@@ -0,0 +1,4 @@
# textdomain: game_commands
Kill yourself to respawn=Убейте себя, чтобы возродиться
No static_spawnpoint defined=static_spawnpoint не определён
You need to be online to be killed!=Вы должны быть онлайн, чтобы убить себя!

View File

@@ -0,0 +1,4 @@
# textdomain: game_commands
Kill yourself to respawn=Döda dig själv för att respawna
No static_spawnpoint defined=Ingen static_spawnpoint definierat
You need to be online to be killed!=Du måsta vara online för att bli dödad!

View File

@@ -0,0 +1,4 @@
# textdomain: game_commands
Kill yourself to respawn=Samovražda pre znovuzrodenie
No static_spawnpoint defined=Nie je definované stále miesto znovuzrodenia
You need to be online to be killed!=Musíš byť online, aby si mohol byť zabitý!

View File

@@ -0,0 +1,4 @@
# textdomain: game_commands
Kill yourself to respawn=杀死自己并重生
No static_spawnpoint defined=static_spawnpoint 未定义
You need to be online to be killed!=您需要在线才能被杀死!

View File

@@ -0,0 +1,4 @@
# textdomain: game_commands
Kill yourself to respawn=殺死自己並重生
No static_spawnpoint defined=static_spawnpoint 未定義
You need to be online to be killed!=您需要在線才能被殺死!

View File

@@ -0,0 +1,4 @@
# textdomain: game_commands
Kill yourself to respawn=
No static_spawnpoint defined=
You need to be online to be killed!=

View File

@@ -0,0 +1,2 @@
name = game_commands
description = Minetest Game mod: game_commands