66 Commits

Author SHA1 Message Date
Splizard
273666a07d Make hunger start after 3 minutes. 2013-02-01 13:19:52 +13:00
Splizard
c0e2889168 hg_admins take stuff in 99 stacks. 2013-02-01 11:08:54 +13:00
Splizard
47f611f0f5 Make admin pick better at digging. 2013-02-01 10:40:39 +13:00
Splizard
7d0026f790 Fix teleporting when match finishes.
Minetest does not like telporting players from one function?
2013-01-31 21:37:17 +13:00
Splizard
affc838437 Fix lobby players flying. 2013-01-31 21:18:21 +13:00
Splizard
6e70cacd24 Fix chest filling. 2013-01-31 21:17:35 +13:00
Splizard
56de43ebe8 Fix chest filling. 2013-01-31 21:16:09 +13:00
Splizard
0a3956f457 Catch sneaky players who hold sneak to avoid teleport.
(excuse the pun)
2013-01-31 20:41:15 +13:00
Splizard
35808e875a Players can't fly in the lobby. hg_admins and hg-makers can give
themselves fly with /hg build /build commands.
2013-01-31 20:27:23 +13:00
Splizard
711ea7c96b Fix segfault once and for all...
It had something to do with minetest.auth_reload()
2013-01-31 18:07:32 +13:00
Splizard
fdddd58ade Make spawning static. 2013-01-31 17:16:18 +13:00
Splizard
7a387c1517 Fix privs management, segfault seems to be fixed now. 2013-01-31 17:14:45 +13:00
Splizard
4b3ccd99ff Add admin pick. 2013-01-31 15:42:35 +13:00
Splizard
9dee32b8a9 Add registrants for hungry games. Possibly FIX segfault! you can register with /register command spawns must be set with /hg set player_* 2013-01-31 13:33:14 +13:00
Splizard
443ef5bccb Add hg_maker priv (gamemaker) and build command. 2013-01-31 11:51:58 +13:00
Splizard
c714278125 Fix floating/misplaced chests (They will no longer respawn) 2013-01-31 09:53:26 +13:00
Splizard
5a35f860aa Recognise if there are no winners after the hungry games is over 2013-01-30 18:28:33 +13:00
Splizard
e9e5deeec2 Fix a bug where the hungry games starts after everyone quits. 2013-01-30 18:27:42 +13:00
Splizard
227a6ad243 Add slightly modified hunger mod.
You start starving after 6 minutes.
2013-01-30 18:13:23 +13:00
Splizard
738aeec286 Chests refill when match is started, filling might take awhile.
So not recommended for big maps.
2013-01-30 16:41:10 +13:00
Splizard
9249cf90e3 Place stop_game before check_votes to fix a bug. 2013-01-30 15:43:03 +13:00
Splizard
587ba0d4ec Telport everyone to lobby when game stops
and move stop_game into local function.
2013-01-30 15:39:24 +13:00
Splizard
b317c940e4 Make spawning mod more modular and add "/hg set lobby/spawn" cmd 2013-01-30 15:28:57 +13:00
Splizard
930fae838a Allow admins to win hungry_games. 2013-01-30 13:47:00 +13:00
Splizard
ae9f018f7e Should fix this error:
engine.lua:45: attempt to index global 'inv' (a nil value)
2013-01-29 18:12:15 +13:00
Splizard
51af162520 Fix chest bug.
random_chests/init.lua:23:
bad argument #1 to 'is_empty' (string expected, got no value)
2013-01-29 18:03:13 +13:00
Splizard
9641a313b1 Hey look there's a minetest.chat_send_all function :P (who would of thought) 2013-01-29 18:01:05 +13:00
Splizard
7ea1b76137 Fix chest notfication bug.
random_chests/init.lua:22: attempt to call global 'get_meta'
(a nil value)
2013-01-29 10:05:38 +13:00
Splizard
cba200969a Notify players when a empty chest is refilled. 2013-01-28 18:58:07 +13:00
Splizard
4c20c06ec1 Cleanup some code, FIX teleporting at the start of a match. 2013-01-28 18:43:41 +13:00
Splizard
7864901e99 Fix bug.
engine.lua:136: attempt to index global 'inv' (a nil value)
2013-01-28 16:12:22 +13:00
Splizard
007558b37f Winner should lose their stuff too. 2013-01-28 15:52:10 +13:00
Splizard
67ee5a7b35 Fix privilege bug. 2013-01-28 15:38:55 +13:00
Splizard
99a0ff7383 Fixed a bug... Maybe fixed segfault? 2013-01-28 14:59:40 +13:00
Splizard
6737195a78 Add grace period. 2013-01-28 14:52:39 +13:00
Splizard
ea0951cc30 Don't call minetest.auth till after player loops. 2013-01-28 14:22:44 +13:00
Splizard
83e5aef461 Fix bug with static spawn. 2013-01-28 13:58:47 +13:00
Splizard
1a44c43c3e Add dynamic spawning option 2013-01-28 13:53:46 +13:00
Splizard
b07583a8f0 Dont start the game if there is only one player.
Start the game if over %75 of players vote.
2013-01-28 13:37:26 +13:00
Splizard
33ffb48189 Only calculate winner when inmatch.
Also take into account players who quit.
2013-01-28 12:52:27 +13:00
Splizard
7b367cc0a1 Require hg_admin command for /hg start/stop etc. 2013-01-28 12:44:37 +13:00
Splizard
b82663d2e6 Fix server crash bug. 2013-01-28 12:37:20 +13:00
Splizard
d85d1f0867 Add some spawning API and Hungry Games chat commands:
hg restart/r/start --starts the match (need privs)
hg stop --stops the map (need privs)
vote --votes to start the map
2013-01-28 12:26:26 +13:00
Splizard
757f99e461 Re-add food mod. 2013-01-28 12:24:04 +13:00
Splizard
192dd6e81c Fix syntax error with comma. 2013-01-28 10:25:02 +13:00
jojoa1997
b43ab78f27 some edits by me
i think refill chests should be automatic and on by default.
i made them refill 12000 because i wanted to simulate them refilling every day.
i also made the items more rare while adding building items so we have to build what we want.
2013-01-28 10:20:19 +13:00
jojoa1997
92b5cb592c this allows admins to keep their interact 2013-01-27 13:50:48 -05:00
Splizard
c0724a5173 Don't let players without interact pick up item_drops. 2013-01-27 21:33:10 +13:00
Splizard
1a617375ff Fix syntax error. 2013-01-27 21:05:43 +13:00
Splizard
ddd94b3bb6 Add spectating. 2013-01-27 16:26:42 +13:00