Compare commits
2 Commits
e1cf383b45
...
729259e02e
Author | SHA1 | Date | |
---|---|---|---|
Bruno Rybársky | 729259e02e | ||
Bruno Rybársky | 99892c94a9 |
|
@ -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
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 04ee2b972e0d51d20f66c7c3a4fc434bbfc693ce
|
|
@ -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
|
Binary file not shown.
After Width: | Height: | Size: 311 KiB |
Loading…
Reference in New Issue