Commit Graph

129 Commits (98a513af73cd758408d30c371607fd5011254195)

Author SHA1 Message Date
Wuzzy 98a513af73 Rename "chunk" to "mapchunk" 2019-02-14 06:43:40 +01:00
Wuzzy 2bd014a681 Chance to fill dirt room with random rails 2019-02-14 06:14:43 +01:00
Wuzzy b02b5c868e Never generate chests+woodbulk in dirt room 2019-02-14 03:36:06 +01:00
Wuzzy 1ef1b305e5 Stricter dirt room spawn requirements 2019-02-14 01:44:54 +01:00
Wuzzy 2c9658b805 Refactor variable names 2019-02-14 00:40:05 +01:00
Wuzzy 431a04625a More up/down tweaks 2019-02-14 00:07:18 +01:00
Wuzzy 753df904db If vertical again, stick to previous direction 2019-02-13 23:46:37 +01:00
Wuzzy f272e6e7e1 Increase lower height limit a bit 2019-02-13 23:30:48 +01:00
Wuzzy 494830b44a Allow t-junctions at forks 2019-02-13 20:36:17 +01:00
Wuzzy 18143a65f0 Remove unused psra param 2019-02-13 19:52:05 +01:00
Wuzzy 734a7b0c1a It's "chunk", not "mapblock" 2019-02-13 19:15:51 +01:00
Wuzzy ae2fd8cb4b Attempt up to 10 times to generate rail system 2019-02-13 19:10:46 +01:00
Wuzzy 5a9283bc40 Make sure the dirt cube's floor is ground 2019-02-13 18:57:32 +01:00
Wuzzy 975651e30e Remove torches when cutting into wood 2019-02-13 18:20:25 +01:00
Wuzzy b17cd9294f New default treasures 2019-02-13 04:43:14 +01:00
Wuzzy c82726c9f1 Spawn carts after all nodes have been generated 2019-02-13 03:21:31 +01:00
Wuzzy 4f57871cb9 Use blockseed again for the randomizer... 2019-02-13 03:09:53 +01:00
Wuzzy 8f3414495f Don't try to respawn carts if first spawn failed 2019-02-13 03:06:34 +01:00
Wuzzy e3c8865844 Increase min. start corridors to 2 2019-02-13 00:08:23 +01:00
Wuzzy 8dad6f98a8 Use mapgen seed instead of blockseed 2019-02-13 00:04:53 +01:00
Wuzzy bdd9937f10 Only query perlin noise once 2019-02-12 23:58:42 +01:00
Wuzzy cec0dd4649 Remove German comments 2019-02-12 23:57:08 +01:00
Wuzzy 77b79ed3cc Remove some unused vars 2019-02-12 23:45:56 +01:00
Wuzzy ac867f56c0 Cleaner implementation of corridor start from dirt 2019-02-12 23:04:24 +01:00
Wuzzy 6664e4d551 Start corridor generation from dirt room edge only 2019-02-12 22:30:33 +01:00
Wuzzy 685240f1ce Refactor: Move wood support code in new function 2019-02-12 21:39:37 +01:00
Wuzzy 7a7edca70d Fix wood bulks not replacing rail 2019-02-12 19:58:07 +01:00
Wuzzy 473708eb0b Don't destroy wood and posts if digging up or down 2019-02-12 19:43:53 +01:00
Wuzzy 44ff55b5fb Corridors can dig into wood, posts and torches
Under certain conditions. This makes it easiers for rails to "join" and create junctions if a railcorridor would hit a wood support.
2019-02-12 19:20:50 +01:00
Wuzzy 3c16b1d0b6 Some dirt rooms have less dirt 2019-02-12 08:31:11 +01:00
Wuzzy ccfbcfa8b3 Add more variants to lay out the start corridors 2019-02-12 07:55:23 +01:00
Wuzzy d55ae23fa2 More dirt room variety 2019-02-12 05:22:37 +01:00
Wuzzy 800e9e45fe Prevent placing rails below rails 2019-02-12 03:09:22 +01:00
Wuzzy 6fec36c0e2 Platforms overwrite rails to stop slope weirdness 2019-02-12 01:32:22 +01:00
Wuzzy 4cd4be9780 Cube function doesn't dig under attached 2019-02-12 00:31:22 +01:00
Wuzzy 54aca45c3a Fix floating cart rail 2019-02-12 00:06:29 +01:00
Wuzzy ab044c8e2d Allow to overwrite torches 2019-02-11 23:30:19 +01:00
Wuzzy a5590a3b46 Gameconfig: Allow to overwrite wood type w/ func 2017-12-08 16:17:06 +01:00
Wuzzy 7957c52cd6 Fix broken cart recheck, place carts:rail instead
This adds a hard depencency on the carts mod
2017-08-14 21:02:51 +02:00
Wuzzy d20c3bee46 Increase chance to spawn cart 2017-08-14 20:36:22 +02:00
Wuzzy f5afe4e783 Fix chests and carts being placed into wood bulk 2017-08-14 19:40:38 +02:00
Wuzzy 6fd810d0cb Place chests and carts randomly left and right
Also make chests face the center rail
2017-08-14 18:00:54 +02:00
Wuzzy 71df7c0d00 Use horrible hack to try to place cart again after placement failed
Because minetest.add_entity is broken.
2017-08-14 17:49:21 +02:00
Wuzzy 32fd27ffa8 Increase cart probability 2017-08-14 17:17:27 +02:00
Wuzzy c9cbae35fa Make cart rails subject to rail damage as well 2017-08-14 15:21:14 +02:00
Wuzzy 8d74930654 Add on_construct function for cart entity 2017-08-14 15:14:09 +02:00
Wuzzy 74693ac4d5 Generate carts 2017-08-14 15:03:32 +02:00
Wuzzy 064c3821c2 Prevent excessive mob spawners near the wood bulk 2017-08-14 05:34:52 +02:00
Wuzzy 767833cf9c Don't generate more than 1 spawner per corridor 2017-08-14 05:19:05 +02:00
Wuzzy 8ed27c6b2c Fix vertical buffer zones 2017-08-14 04:40:36 +02:00