This commit is contained in:
Bruno Rybársky 2022-08-13 11:37:27 +02:00
parent 99892c94a9
commit 729259e02e
5 changed files with 12 additions and 3 deletions

2
.gitmodules vendored
View File

@ -39,4 +39,4 @@
url = ../an_televator.git
[submodule "mods/enable-shadows"]
path = mods/enable-shadows
url = https://git.brn.systems/blocky_portaling/enable-shadows.git
url = ../enable-shadows.git

@ -1 +1 @@
Subproject commit c8c53ddda15c32b951be4ebca5639e22de6a13de
Subproject commit 04ee2b972e0d51d20f66c7c3a4fc434bbfc693ce

View File

@ -1,5 +1,14 @@
--heal player every 4 ticks by 1 hp if isnt fully healed
i = 0
minetest.register_chatcommand("spawn",
{
description = "Teleports a player to the spawn",
func = function (name, param)
local player = minetest.get_player_by_name(name)
player:setpos({x = 0, y = 0, z = 0})
end,
})
minetest.register_globalstep(function(dtime)
if i>=4 then
i=0

@ -1 +1 @@
Subproject commit 0cfd94d7d0e3b701a21c88fbb44b0e96a42f6185
Subproject commit f5718d37eba7be5688bfd1323f33902b9acfbd5b

BIN
screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 311 KiB