1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-06-28 06:11:47 +02:00

Added interact mod and disabled news if player has not interact

- Added interact mod, with reworked quiz
 - Disabled news' formspec if player has not interact to prevent it from
   swipping away interact's formspecs
This commit is contained in:
LeMagnesium
2015-04-23 15:03:08 +02:00
parent 7457bc8092
commit 356d5eda33
7 changed files with 391 additions and 5 deletions

View File

@ -45,9 +45,7 @@ minetest.register_chatcommand("news",{
})
minetest.register_on_joinplayer(function (player)
minetest.after(6,show_formspec,player)
if minetest.get_player_privs(player:get_player_name()).interact == true then
minetest.after(6,show_formspec,player)
end
end)
minetest.register_on_newplayer(function(player)
minetest.after(8,show_formspec,player)
end)