Compare commits

...

2 Commits

Author SHA1 Message Date
Bruno Rybársky 729259e02e ___ 2022-08-13 11:37:27 +02:00
Bruno Rybársky 99892c94a9 _ 2022-08-13 10:54:35 +02:00
5 changed files with 14 additions and 1 deletions

3
.gitmodules vendored
View File

@ -37,3 +37,6 @@
[submodule "mods/an_televator"]
path = mods/an_televator
url = ../an_televator.git
[submodule "mods/enable-shadows"]
path = mods/enable-shadows
url = ../enable-shadows.git

1
mods/enable-shadows Submodule

@ -0,0 +1 @@
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