1
0
Fork 0
Commit Graph

46 Commits (dyable-leather-armor)

Author SHA1 Message Date
kabou deed231f28 Fix typos. 2022-03-09 18:50:41 +01:00
kabou f5a8d6d17a Add check for unknown nodes.
* Check if node has a definition table before attempting to evaluate its
  attributes.
* Define local variable to cache multiple accesses to `registered_nodes[]`
  and improve readability.
* Clarify code flow.
2022-03-09 14:40:37 +01:00
Elias Fleckenstein 0e9a56fa35
Add stacks to enchant_uniform_randomly 2021-12-07 18:19:41 +01:00
Elias Fleckenstein ec7e245b9d
Various fixes to the enchanting and loot system
- enchanted loot generated by mapgen now uses PseudoRandom for randomness
- prevent fishing loot from generating loot 32767 times (!!!) when only 1 is needed
- bows and fishing rods obtained from the treasure section of fishing loot are now enchanted
- there is now a function to uniform enchant items other than books
2021-12-07 17:57:18 +01:00
AFCMS 02f393998f fix many warnings (644 remaining) 2021-04-17 09:26:37 +02:00
jordan4ibanez 67c1bc973a Add lua locals into mcl_dungeons for performance 2021-04-14 01:19:01 +04:00
kay27 d1a0299b92 [mcl_dungeons] Remove empty code section, add debug info 2021-03-29 03:34:41 +04:00
kay27 cb2aae5a55 [mcl_mapgen_core] Redesign, mostly to remove water from End and restore static lvm_buffer to speed it up 2021-03-28 22:57:11 +04:00
kay27 6e6809f360 Make books in chest loot deterministic, ref. https://git.minetest.land/MineClone2/MineClone2/issues/1254 and https://git.minetest.land/MineClone2/MineClone2/issues/1060 2021-03-08 04:14:03 +04:00
kay27 66febf158a Speedify dungeons a little and fix chest places (linear, not square) 2021-03-07 06:00:49 +04:00
kay27 45c0c576f7 Implement /spawnstruct dungeon 2021-03-07 03:49:34 +04:00
Elias Fleckenstein d57db0444f Use mod.conf in all mods, part 1 2021-03-04 15:22:14 +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
Elias Fleckenstein 4a4a834bf8 Generate Enchanted golden apples in chests 2021-01-22 19:45:18 +01:00
Elias Fleckenstein d820c35937 Fishing & Mineshaft loot 2020-12-20 17:33:24 +01:00
Wuzzy d0678d33f8 Use dungeons flag in mg_dungeons for MCL2 dungeons 2020-06-16 02:33:51 +02:00
Wuzzy 2e09febaae Rename Moss Stone to Mossy Cobblestone 2019-12-11 04:24:32 +01:00
Wuzzy 1daf9b7a59 Put treasure loot into random inventory slots 2019-02-28 18:00:17 +01:00
Wuzzy 34e92a361b Rename mobs mod to mcl_mobs 2018-05-31 18:32:26 +02:00
Wuzzy 2f32c76013 Make v6 sapling treasures more common 2018-01-12 19:02:06 +01:00
Wuzzy a818995d2a Generated mob spawners generate mobs in darkness (except silverfish) 2018-01-08 00:41:57 +01:00
Wuzzy 3cf6656df2 Rename "Monster Spawner" to "Mob Spawner" 2018-01-07 16:58:44 +01:00
Wuzzy 9c80f8d970 Remove mcl_dungeons unused code 2017-11-30 10:21:54 +01:00
Wuzzy 14a276033d v6: Add otherwise ungettable saplings into chests 2017-09-07 04:38:50 +02:00
Wuzzy 43fba81ee3 Widen the openings of lonely dungeon corners to allow entry 2017-08-12 20:02:52 +02:00
Wuzzy ee38a7af9d Rename mod: bucket to mcl_buckets 2017-08-03 16:36:55 +02:00
Wuzzy f26d2c34e4 Add horse armor into chests 2017-07-06 15:00:12 +02:00
Wuzzy c1c15eb60b Rename mcl_monster_spawners to mcl_mobspawners.
Sorry for the trouble, but the long name annoyed me. :P
2017-05-25 06:09:03 +02:00
Wuzzy 93a36a91c2 Add dependency to mobs_mc in mcl_dungeons 2017-05-25 05:53:48 +02:00
Wuzzy 8abe53c6e1 Rename: mcl_monster_spawner to mcl_monster_spawners 2017-05-25 05:52:47 +02:00
Wuzzy d1ea880be6 Generate monster spawners in dungeons (kinda...) 2017-05-25 05:01:50 +02:00
Wuzzy e37d24144e Update dungeon TODO 2017-05-24 22:48:09 +02:00
Wuzzy e748237469 Remove cobblestone ceiling from dungeons 2017-05-24 22:29:36 +02:00
Wuzzy 30a29a20c8 Allow dungeons to destroy cobble and mossycobble 2017-05-24 21:49:34 +02:00
Wuzzy 74a393b1ff Carve in openings into dungeons 2017-05-24 21:39:41 +02:00
Wuzzy 73b7e1d550 Dungeons generate less aggressively now 2017-05-24 21:15:57 +02:00
Wuzzy 839a407c90 Refactor chest rotation code in dungeons 2017-05-24 20:50:42 +02:00
Wuzzy 5d369df399 Dungeon TODO 2017-05-24 12:46:54 +02:00
Wuzzy 99a54319b1 Refactor mcl_dungeons 2017-05-24 12:15:20 +02:00
Wuzzy 4625d2e8f8 Restrict dungeon chest spawning again 2017-05-24 12:12:45 +02:00
Wuzzy a792e5d545 Rotate dungeon chests away from wall 2017-05-24 12:11:15 +02:00
Wuzzy 6c4aff7f6a Place dungeon chests randomly at wall position 2017-05-24 11:42:20 +02:00
Wuzzy 231f12e3fa Add random chests into dungeons 2017-05-24 10:55:25 +02:00
Wuzzy dc83946213 Add basic (empty) dungeons 2017-05-24 09:51:22 +02:00