Commit graph

37 commits

Author SHA1 Message Date
kno10
f6f5481f30 Attempt to fix chest minecarts, at least for 5.9 (#4684)
Not using the `RecheckCartHack` on >5.9 seems to help with #4670 - not tested on older minetest; chest minecarts might still be empty there when the block is unloaded in the meantime. For <5.9, maybe it helps to decrease the time interval, 3 seconds seems to fairly long.

This also makes the minecarts random: 40% minecart, 40% chest minecart, 20% tnt minecart.

Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4684
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2024-11-10 11:41:19 +01:00
kno10
ecfa42d51d Update railcorridors, enable chest minecarts (#4620)
Minecart chests seem to work by now.

Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4620
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-authored-by: kno10 <erich.schubert@gmail.com>
Co-committed-by: kno10 <erich.schubert@gmail.com>
2024-08-31 19:36:18 +02:00
cora
f98242bb0c Do not emerge while making railcorridors
it turns out to work fine without
2022-07-06 01:43:21 +02:00
cora
3584d89028 better distribution 2022-07-04 23:07:51 +02:00
cora
40d0c1affb slightly optimize placement 2022-07-04 23:07:51 +02:00
cora
0a2e68d136 spawn carts, make mineshafts a bit less frequent 2022-07-04 23:07:51 +02:00
cora
9f66c9f673 let railcorridors be placed by new api
this makes it a lot faster
2022-07-04 23:07:51 +02:00
cora
a92b405efd Comment out unused cart-checking hackery 2022-07-04 23:07:51 +02:00
cora
db4f2baafc Tweak tsm_railcorridors for faster mapgen
This just does 5 instead of 10 attempts to spawn a corridor in a
chunk. There still appear to be plenty corridors and it makes
mapgen noticeably faster.
2022-07-04 23:07:51 +02:00
kabou
6a69f49fa0 Add check for unknown nodes.
* Check if node has a definition table before attempting to evaluate its
  attributes.
2022-03-09 14:59:49 +01:00
AFCMS
cd33d406b2 fix many codestyle issues (functions, strings, modpaths) 2021-05-29 16:12:33 +02:00
AFCMS
9e074af07f unify code style [1] 2021-05-25 12:52:25 +02:00
AFCMS
8592670f9b [tsm_railcorridors] fix warnings 2021-05-25 08:44:24 +02:00
AFCMS
5f076d372a fix many codestyle errors 2021-04-17 07:42:49 +02:00
AFCMS
8f30e223e2 I hate reverting something xD 2021-03-16 17:39:06 +01:00
kay27
47db5c5917 Make mcl_loot/get_random_slots() deterministic 2021-02-22 21:58:35 +04:00
kay27
89e55e9065 Add sub-map generators queue, fix https://git.minetest.land/MineClone2/MineClone2/issues/993 and https://git.minetest.land/MineClone2/MineClone2/issues/1060 2021-02-22 03:15:32 +04:00
MysticTempest
cbd3a491f6 Add support for mcimported worlds by clearing out singlenode mapgen, and adding a toggleable fix for converted double_plants. 2021-01-25 20:23:38 -06:00
Wuzzy
4f8377b161 Fix warning in tsm_railcorridors 2019-03-06 05:07:42 +01:00
Wuzzy
2f74aea6f5 Replace deprecated functions 2019-03-06 04:38:57 +01:00
Wuzzy
1daf9b7a59 Put treasure loot into random inventory slots 2019-02-28 18:00:17 +01:00
Wuzzy
38f6804a79 Update tsm_railcorridors to 0.14.0 2019-02-19 20:16:12 +01:00
Wuzzy
da625b569a Spawn minecarts in railcorridor chests 2019-02-06 03:00:45 +01:00
Wuzzy
25b65e4b7d Remove tsm_railcorridors_probability_cart for now 2018-11-17 15:59:01 +01:00
Wuzzy
3443e68b76 Railcorridors: Use dark oak wood in terracotta 2017-12-08 16:13:02 +01:00
Wuzzy
b0c87f74fe Move world-related functions to mcl_worlds 2017-11-24 03:10:02 +01:00
Wuzzy
96a3474c40 Disable cart spawning cuz error message spam 2017-09-08 16:32:33 +02:00
Wuzzy
300a15b5b5 New tsm_railcorridors: Spawn minecarts, bugfixes, ... 2017-08-14 20:01:04 +02:00
Wuzzy
3c6e5841b4 Update tsm_railcorridors
- 0.12.0
- Cobwebs
- Cave spider spawners
- Tons of bugfixes
2017-08-14 05:35:32 +02:00
Wuzzy
6772609872 Replace liquids in railcorridors 2017-05-20 05:26:18 +02:00
Wuzzy
ef06d345df New lava generator: Spawn in air in layers 1-10 2017-05-20 01:27:09 +02:00
Wuzzy
63ee9f9d06 100% chance for broken rails in mine shafts 2017-05-15 21:25:37 +02:00
Wuzzy
ece2574336 Rail corridor likelihood=0.3 2017-05-14 01:59:22 +02:00
Wuzzy
be5547336b Use Minecraft-like treasures in mineshaft chests 2017-05-13 22:47:43 +02:00
Wuzzy
fb9f98191a Decrease rail corridor probability 2017-05-13 22:14:00 +02:00
Wuzzy
6104a2d40f Fix probability_damage 2017-05-13 22:06:02 +02:00
Wuzzy
0582481e96 Add abandoned mine shafts 2017-05-13 21:50:41 +02:00