Commit Graph

266 Commits (master)

Author SHA1 Message Date
Rhys Rustad-Elliott c28b56d87f Merge pull request #32 from Wuzzy2/staticworld
More “static” world (less ABMs, no falling nodes)
2016-08-18 19:17:41 -07:00
Wuzzy 733113821c Disable all falling_nodes 2016-08-12 01:57:10 +02:00
Wuzzy 8c96d4f4f2 Remove default's legacy stuff 2016-08-12 01:56:37 +02:00
Wuzzy 09148fd85c Remove more ABMs which are rarely needed for game 2016-08-12 01:51:26 +02:00
Wuzzy 17c41197be Remove plant spreading ABMs 2016-08-12 01:38:17 +02:00
GunshipPenguin e38ea582e4 Add arena.get_min_max_points function 2015-12-09 08:15:33 -08:00
GunshipPenguin 50449a94cc Follow Minetest lua code style guidelines in arena.lua 2015-12-08 21:25:16 -08:00
GunshipPenguin f9ee0c9b2c Don't spawn chests outside the arena (Thanks Devin) 2015-12-08 21:14:26 -08:00
GunshipPenguin 4ce8bab390 Totally rewrite random_chests.lua
This commit totally rewrites and reworks several aspects of
the random_chests.lua file. A summary of the changes is as
follows.

- Simplify and improve configuration
- Totally rework chest generation code making it much more readable
and allowing the user to specify node groups which chests will not
spawn on
- Refactor code to follow minetest lua style conventions
- Store configuration variables in the random_chests table, rather
than in a local variable accessed via a setter function
- Remove the group parameter from random_chests.register_item
as it was unnecessary
2015-12-08 20:50:05 -08:00
GunshipPenguin c1c9d3f4fb Remove hungry_games:stones and hungry_games:planks
These items were unnecessary and looked out of place being registered
in engine.lua.
2015-10-01 14:38:52 -07:00
GunshipPenguin e9947ab87f Remove weapons.lua and add setup.lua
weapons.lua was unnecessary. It did however contain the code that
handles disabling node digging. That code has been moved to setup.lua
a file with code that will execute immediately after init.lua has
finished executing, making it useful in the future for any other code
that needs to be executed to set things up after init.lua has finished.
2015-09-24 21:10:40 -07:00
GunshipPenguin f7445bd8e7 Incorporate glass_arena into hungry_games and rework mod
Rework the glass arena mod so that it simply limits the mapgen instead
of generating a barrier to keep players from leaving the area. Remove
the glass_arena mod and incorporate the reworked version into the
hungry_games mod.
2015-09-24 18:49:46 -07:00
GunshipPenguin 533a2f4187 Change hungry_games.death_mode to hungry_games.spectate_after_death 2015-09-21 08:59:37 -07:00
GunshipPenguin 6f650cb519 Add sudden death feature
This commit adds a sudden death feature. A time period can now be specified
in mods/hungry_games/init.lua when all player inventories and chests
will be cleared, chest refills will stop (if enabled), and players will
all receive a predefined set of items. This ensures that games do not
continue on for very long periods of time due to players continually
healing themselves and restocking with chest items.

A configurable hard time limit has also been added. Once the hard time
limit is up, the game stops immediately.
2015-09-20 18:13:27 -07:00
GunshipPenguin c2713fd739 Clean up comments in hungry_games/init.lua 2015-09-02 22:45:47 -07:00
GunshipPenguin 74e83197ca Document most game related functions in engine.lua 2015-09-02 22:44:21 -07:00
GunshipPenguin 1989fe8021 Change one instance of hungry_games to hungry_games_plus in readme.txt 2015-08-25 12:46:49 -07:00
GunshipPenguin 3647b3cf9b Fix nametags not becoming red upon join when ingame=true 2015-08-25 11:00:11 -07:00
GunshipPenguin 4b1f0c0b62 Add default:apple as a food item 2015-08-25 10:17:12 -07:00
GunshipPenguin b74f80acbf Fix wrong itemstring 2015-08-25 10:12:41 -07:00
GunshipPenguin c9c238269d Rename subgame to Hungry Games Plus 2015-08-25 09:51:55 -07:00
GunshipPenguin 48aa6f8988 Rename default:apple_item to default:apple, remove refrence to snow mod, add more food to chests 2015-08-25 09:34:33 -07:00
GunshipPenguin 8bcae66505 Change player nametag colors depending on game state 2015-08-25 09:19:36 -07:00
GunshipPenguin f673689870 Only inform the player that they are spectating if they actually are 2015-08-25 09:00:34 -07:00
GunshipPenguin 30574f2095 Fix spawn crash bug 2015-08-22 18:28:24 -07:00
GunshipPenguin d75ca4bcad Override mintest.is_protected restrict node placing, simplify config 2015-08-22 18:22:24 -07:00
GunshipPenguin 972d9d7dd7 Update most mods from minetest_game
The minetest_game mods that hungry_games was based off of were very
outdated. An update has been in order for some time now.
Mods updated:
	-default
	-dye
	-bucket
	-doors
	-fire
	-flowers
	-stairs
	-vessels
	-wool
Mods added:
	-boats
	-xpanes
Mods removed:
	-snow
	-give_initial_stuff
	-playermodel
2015-08-22 16:58:58 -07:00
GunshipPenguin 2e74e9a5d7 Fix placed chests positions not being saved 2015-08-04 13:32:19 -07:00
GunshipPenguin 4ae4743629 Incorporate spawning mod into hungry_games 2015-07-14 21:03:20 -07:00
GunshipPenguin 3b1e73ecfe Increase default chest refilling interval to 4 minutes 2015-07-12 14:21:45 -07:00
GunshipPenguin 331da975ff Fix chests not spawning initially, and remove deprecated refrences to minetest.env 2015-07-12 14:11:20 -07:00
GunshipPenguin d53bd14edd Add items to chests on refill rather than just replacing their contents. Also clear all chest inventories on game start 2015-07-12 13:53:17 -07:00
GunshipPenguin e22f27f381 Make chests not refill at end of grace period, just start refill countdown at end of grace period 2015-07-12 13:25:42 -07:00
GunshipPenguin b3ea87d1a2 Minor spelling and grammar fixes 2015-07-11 21:27:26 -07:00
GunshipPenguin 355caee2ea Add chest refill timer 2015-07-11 20:28:30 -07:00
GunshipPenguin 09c6b1ec32 Fix chests refilling when game is not in progress 2015-07-11 18:03:42 -07:00
GunshipPenguin a273e7ce42 Make refill_chests function in engine.lua a local variable 2015-07-11 17:45:32 -07:00
GunshipPenguin ebeb265334 Completely rework random_chests mod and incorporate it into hungry_games mod
-Remove nodetimer and ABM fill methods as they were confusing and unneeded
-Add hungry_games.chest_refill_interval to allow for refilling of chests during a match
-Add random_chests.setrefillspeed to set default refill speed of chests
-Clean up init.lua file in hungry_games
2015-07-11 16:43:11 -07:00
GunshipPenguin 2ee90a8e93 Merge pull request #30 from Wuzzy2/nodecraftcleanup
Gameplay sanity cleanup
2015-07-09 23:22:51 -07:00
Wuzzy 81993fb963 Add steel ladder, make wooden ladder diggable 2015-07-06 18:58:27 +02:00
Wuzzy 016e8700e4 Degrade farming soil to deco blocks, remove grass overrides 2015-07-06 18:11:29 +02:00
Wuzzy 4deb1ec2de Remove crafts for dig/build arrow 2015-07-06 18:08:40 +02:00
Wuzzy 4ee8aa222b Remove unneeded default_chest_lock.png 2015-07-06 18:04:19 +02:00
Wuzzy ad0556eb39 Make wood bow, stone bow and wood armor craftable 2015-07-06 18:02:35 +02:00
Wuzzy 8bcd647ab6 Remove many recipes which would give nodes 2015-07-06 17:59:06 +02:00
Wuzzy af1315db66 Remove hoes and other farming-related stuff 2015-07-06 17:44:31 +02:00
Wuzzy 81050fa8f7 Degrade furnace to decorational item, remove fuels 2015-07-06 17:37:43 +02:00
Wuzzy 196574a0e9 Seperate apple into node and item
New itemstrings: default:apple_node, default:apple_item

Changes have been made to make sure the player only gets default:apple_item
so the apple can't be placed in the game (this was a bit irritating).
2015-07-06 17:28:49 +02:00
Wuzzy 20b775e907 Remove door crafts, remove ownership of steel door 2015-07-06 17:11:55 +02:00
Wuzzy f0bb90985f Remove locked chests 2015-07-06 17:09:42 +02:00