Commit Graph

7919 Commits

Author SHA1 Message Date
SumianVoice 194d8525c4 Merge branch 'master' into swimming_fix 2022-07-18 00:09:47 +00:00
SumianVoice de0a78012d fix getting stuck under non-opaque blocks 2022-07-18 10:09:04 +10:00
cora a49e66dbd3 Detection radius is 20 according to the wiki 2022-07-17 23:42:34 +02:00
cora e9ad2cfe11 Make parrots imitate nearby mobs 2022-07-17 23:34:39 +02:00
SumianVoice 0158681cf8 Merge branch 'master' into swimming_fix 2022-07-17 13:15:18 +00:00
Sumyjkl 9062a6e22e add node_head_top to check to make sure you won't clip through blocks before going out of swim / fly mode 2022-07-17 23:14:24 +10:00
Sumyjkl a41cbb7ebf added comment and removed unnecessary code 2022-07-17 22:50:22 +10:00
Sumyjkl 4738834ddd remove unecessary code 2022-07-17 22:40:33 +10:00
Sumyjkl 2e06e22d70 removed unnecessary node_above_head variable 2022-07-17 21:50:22 +10:00
Sumyjkl e4c7d575fc take no damage when swimming near roof, no ability to no-clip through roof when swimming 2022-07-17 21:46:36 +10:00
cora 0b157c953f fix wrong argument to sound_play 2022-07-16 12:12:28 +00:00
cora bf23c61e34 skip damage completely when player & pvp disabled 2022-07-16 12:12:28 +00:00
cora 77d834ac5e Add PVP check to tipped arrows 2022-07-16 12:12:28 +00:00
cora b7f8a75d04 Add PVP check for rocket arrows 2022-07-16 12:12:28 +00:00
Freedom 454d7e8b04 arrow check if pvp is enable 2022-07-16 12:12:28 +00:00
cora 8ff559d4ad Add ancient debris as normal ore 2022-07-16 02:07:17 +02:00
Freedom 27482ede7f update locale es 2022-07-15 22:55:03 +00:00
cora ee9cc5341b Fix villager crash when opening iron doors 2022-07-15 22:11:07 +00:00
cora aab3180269 clear empty nametag as well as nil 2022-07-15 04:40:12 +02:00
cora e271e87aca fix indentation 2022-07-14 17:32:43 +02:00
cora dae4a99a85 Add soul lantern recipe 2022-07-14 15:39:37 +02:00
cora 455fac9350 Add schematics by RandomLegoBrick and PrarieWind 2022-07-14 13:51:46 +02:00
cora 8cad4a6886 Add ruined portals 2022-07-14 13:38:20 +02:00
cora 931cb2b991 Add fallen tree logs 2022-07-14 06:59:47 +02:00
cora 9e60d24fe0 Never spawn mobs on leaves 2022-07-13 16:45:41 +02:00
cora 8d9c5059f3 Fix wither dupe
faulty on_place would not removed placed wither skelly head from
inv. This also prevents the execution of the schematic checking
routine if there is no soul sand under the head.
2022-07-12 23:11:00 +02:00
cora 2b835221a7 Make them spawn at (somewhat) random positions 2022-07-12 01:30:41 +02:00
cora 571c57e891 Add updated woodland outpost schematic 2022-07-12 00:44:39 +02:00
cora 33739dc5af Woodland cabin mob spawning 2022-07-12 00:32:53 +02:00
cora c1686923d3 Fix crash when no group spawning positions found 2022-07-11 22:31:35 +02:00
cora 489db73dca Merge pull request 'Mud fixes' (#2413) from TheRandomLegoBrick/MineClone2:mud_fixes into master
Reviewed-on: MineClone2/MineClone2#2413
Reviewed-by: cora <cora@noreply.git.minetest.land>
2022-07-11 20:31:01 +00:00
TheRandomLegoBrick 408c72e4bf Mud fixes 2022-07-11 08:24:42 -07:00
NO11 a16613f31c Fix #2336 (interaction bug when opening chests) 2022-07-11 09:14:14 +00:00
MysticTempest 484ad2b630 Replace all melon/pumpkin stems in woodland_cabins with unconnected variants. 2022-07-09 19:35:51 -05:00
cora 4a4636523e Add new mobs to translation template. 2022-07-09 22:14:37 +02:00
cora e9b72083b3 Fix translator modnames 2022-07-09 02:30:48 +02:00
cora aed96a4912 Add original dolphin texture
cc0 by cora
2022-07-09 02:30:48 +02:00
cora f202ed8327 spawn in groups 2022-07-09 02:30:48 +02:00
cora 44abef44e1 Make fish buckets work with water mobs 2022-07-09 02:30:48 +02:00
PrairieAstronomer 88cdc9baf3 Add Fish Buckets 2022-07-09 02:30:48 +02:00
PrairieAstronomer 27ea6087c7 Tactical Fishing Advancement 2022-07-09 02:30:48 +02:00
cora ae0eb85ffc Add salmon, cod and dolphin from mcl5 2022-07-09 02:30:48 +02:00
RandomLegoBrick 5ceffe1a3c Merge branch 'master' into mud 2022-07-08 22:42:38 +00:00
cora de9056ae62 Fix child mobs collision boxes 2022-07-08 23:57:02 +02:00
cora 08a1ecd879 Don't take extra bread when feeding 2022-07-08 23:57:02 +02:00
cora bcb76f7bd2 correctly lock job when traded 2022-07-08 23:57:02 +02:00
cora 8fe40fcd26 remove old debug line 2022-07-08 23:57:02 +02:00
cora 98c48dab8c abolish child labor 2022-07-08 23:57:02 +02:00
RandomLegoBrick 31e53ceff0 Merge branch 'master' into mud 2022-07-08 17:33:10 +00:00
TheRandomLegoBrick 05186c9a19 Non-copyright-infringey mud texture 2022-07-08 10:31:38 -07:00
TheRandomLegoBrick dfd16d1110 Add license 2022-07-08 10:02:06 -07:00
TheRandomLegoBrick c26a9aded5 Add mud sounds 2022-07-08 09:18:42 -07:00
PrairieAstronomer 0ecffaf472 Added README.md file to mcl_campfires 2022-07-08 02:37:20 +02:00
cora 3c2633ee2c Simplify my own mess... remove code dupe
i'll fix this in cauldrons too, promise
2022-07-08 02:37:20 +02:00
PrairieAstronomer f0241bbf6a Added extinghuishing sound when extenguished with a shovel. 2022-07-08 02:37:20 +02:00
PrairieAstronomer 67494f8905 Added Burning Players and Entities to Campfires. 2022-07-08 02:37:20 +02:00
PrairieAstronomer e9fe5c1377 Fixed Crafting Recipes 2022-07-08 02:37:20 +02:00
PrairieAstronomer 5de3c7977c Campfire Inventory Textures by RandomLegoBrick 2022-07-08 02:37:20 +02:00
PrairieAstronomer 465d91036f Added Campfire to Fisherman Villager Trades 2022-07-08 02:37:20 +02:00
PrairieAstronomer 3786c46b30 (Soul) Campfires
Adds soul and nomal campfires. Code start and models from issue 505. Textures are all PixelPerfection.
2022-07-08 02:37:20 +02:00
PrairieAstronomer f141427dfe Added README.md File with Media License 2022-07-08 00:09:39 +00:00
PrairieAstronomer 41be8a5a85 Stonecutter Texturs, by RandomLegoBrick 2022-07-08 00:09:39 +00:00
PrairieAstronomer d9a25552d8 Stone Cutter
Adds the stonecutter block.
2022-07-08 00:09:39 +00:00
TheRandomLegoBrick cbe0f80d68 Move redundant water bottle code to functions 2022-07-07 16:50:51 -07:00
TheRandomLegoBrick 06f8688f26 Improve mud bricks and packed mud textures 2022-07-07 15:16:43 -07:00
TheRandomLegoBrick f3dd3e92fa Add various mud brick blocks 2022-07-07 11:54:36 -07:00
TheRandomLegoBrick 4f1960d6ef Fix mod.conf 2022-07-07 08:29:32 -07:00
TheRandomLegoBrick 0414493f5c Fix hardness and blast resistance for packed mud 2022-07-06 20:27:13 -07:00
TheRandomLegoBrick be1427205e Move progress to separate mod and add packed mud 2022-07-06 13:14:29 -07:00
TheRandomLegoBrick 0142b58edc Allow dispensers to convert dirt to mud 2022-07-06 12:43:54 -07:00
TheRandomLegoBrick 973dc7fa41 Add mud 2022-07-06 12:14:21 -07:00
TheRandomLegoBrick 24ab7ff825 Add mud block 2022-07-06 11:33:25 -07: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 31289f5686 villagers that haven't traded loose job on js gone 2022-07-05 23:47:30 +02:00
cora 672b9dbedf make pathfinding to jobsite more smooth 2022-07-05 23:47:30 +02:00
cora dd5e9afbd9 villagers only get a job when they touch jobsite 2022-07-05 23:47:30 +02:00
cora 21d5ab88a5 comment out natural villager spawning 2022-07-05 23:47:30 +02:00
PrairieWind dc75a4d854 Merge pull request 'Fix loom and fletching table textures' (#2383) from MrRar/MineClone2:loom into master
Reviewed-on: MineClone2/MineClone2#2383
Reviewed-by: PrairieWind <prairie.astronomer1@gmail.com>
2022-07-05 18:59:59 +00:00
𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 236c1ce760 Fletching table: add missing bottom texture 2022-07-05 13:26:53 -05:00
cora efad7dad24 clean up 2022-07-05 11:19:47 +02:00
cora 27a945b8f3 Tweak crying obsidian particles 2022-07-05 11:19:47 +02:00
cora daa95e3688 replace dirt and gravel too for even less clumps 2022-07-05 00:12:23 +02:00
cora 889e72c50d don't dig amethyst by water 2022-07-05 00:12:23 +02:00
cora ea99341f94 make geode inside smoother 2022-07-05 00:12:23 +02:00
cora 4b95185fba make geodes less cube shaped (sometimes) 2022-07-05 00:12:23 +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
cora d6306d78b8 Merge pull request 'Spawn corals only at -10 and lower' (#2393) from deeper_corals into master
Reviewed-on: MineClone2/MineClone2#2393
Reviewed-by: MysticTempest <mystictempest@noreply.git.minetest.land>
2022-07-04 21:06:33 +00:00
cora 0e6250b2a3 Fix rabbit spawning biomes 2022-07-04 12:50:48 +02:00
cora c66cb834a2 spawn corals only at -10 and lower
to prevent corals in rivers
2022-07-04 02:13:54 +02:00
cora bc2e61921f do not spawn polar bears in extremehills+_snowtop 2022-07-04 01:46:41 +02:00
cora b1c97a0510 prevent ground squids, variable spawn height 2022-07-04 01:41:45 +02:00
𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 e22d543d80 Fix loom and fletching table textures 2022-07-03 10:53:00 -05:00
MysticTempest 677110e39f Disable the despawn timer catchup for items that were unloaded. 2022-07-03 04:28:43 -05:00
PrairieAstronomer 9c3a4f3436 Updated the Advancements translation template...again 2022-07-01 14:54:44 -06:00
PrairieAstronomer 1abeccfaab Enchanter Advancement 2022-07-01 14:50:56 -06:00
PrairieAstronomer 2845cd79b7 Local Brewery Advancement 2022-07-01 14:37:02 -06:00
PrairieAstronomer 4bfadffadc Fixed Minor Formating in Advancement Definitions 2022-07-01 14:04:33 -06:00
PrairieAstronomer f998f3bc05 Updated Advancements Translation Template 2022-07-01 13:56:44 -06:00
PrairieAstronomer acff3e525c Changed the Into the Nether achievement to the We Need to Go Deeper Advancement 2022-07-01 13:45:07 -06:00
PrairieAstronomer 6757b8f900 The Nether Advancement 2022-07-01 13:41:21 -06:00
PrairieAstronomer 8f7ac1e5a2 Not Quite 'Nine' Lives Advancement 2022-07-01 13:11:26 -06:00
PrairieAstronomer 40a421ddd0 Hidden in the Depths Advancement 2022-07-01 12:41:01 -06:00
PrairieAstronomer 687bc04560 Who is Cutting Onions? Advancement 2022-07-01 12:39:10 -06:00
cora 6ad00e4170 emerge before geode and surface pool placement
otherwise they can be cut off
2022-07-01 14:43:03 +02:00
cora ef14006f15 Fix surface pools & desert temple loot 2022-07-01 14:30:02 +02:00
cora c59a890963 add woodland cabin loot 2022-07-01 06:11:10 +02:00
cora ac69b7c710 Add woodland cabin and outpost 2022-07-01 04:26:41 +02:00
cora f115fc8ea0 tweak probabilities 2022-07-01 02:05:48 +02:00
cora 8684140740 log actual placement position 2022-07-01 02:05:48 +02:00
cora be2a8d7054 Structure transfer fixes 2022-07-01 02:05:48 +02:00
cora f5cc0ef2dc Move shipwrecks to mcl_structures 2022-07-01 02:05:48 +02:00
cora 7945de1324 igloo fixes, mobspawns, move geode to mcl_structs 2022-07-01 02:05:48 +02:00
cora a09226c370 fossil & igloo -> new api 2022-07-01 02:05:48 +02:00
cora 3ca6d4de3b fix chunk probability and distributions 2022-07-01 02:05:48 +02:00
cora 7f8a366a7b make geodes slightly larger, fix positioning 2022-07-01 02:05:48 +02:00
cora 607511518f fix warning 2022-07-01 02:05:48 +02:00
cora 14cd360214 witch hut, boulders, ice-spikes -> new api 2022-07-01 02:05:48 +02:00
cora dfbb832f96 Terrain feature fixes 2022-07-01 02:05:48 +02:00
cora 063e17bc0a make schematic selection deterministic 2022-07-01 02:05:48 +02:00
cora befe493ff0 Add warm ocean ruins 2022-07-01 02:05:48 +02:00
cora fcb8160a60 Add loot generation to api 2022-07-01 02:05:48 +02:00
cora 065767cc77 Add Ocean Ruins - schematics by PrarieWind 2022-07-01 02:05:48 +02:00
cora 47eca3f774 fix callbacks 2022-07-01 02:05:48 +02:00
cora b396a3c6ee update API.md 2022-07-01 02:05:48 +02:00
cora 9381657f5d use new struct api for desert well and temples 2022-07-01 02:05:48 +02:00
cora e37358d220 Add make_foundation option
test by /spawnstruct nether_outpost without being on complete
(covering the sidelen) solid ground
2022-07-01 02:05:48 +02:00
cora d8697cb59c Tweak basalt delta code 2022-07-01 02:05:48 +02:00
cora 0b3a4c18d7 structure-api: add check for solid ground 2022-07-01 02:05:48 +02:00
cora 8e976d9191 Do not log generation of terrain features
this leads to excessive io otherwise
2022-07-01 02:05:48 +02:00
cora fed81932e2 structs: use mcl_register_generator, cave decos 2022-07-01 02:05:48 +02:00
cora eb8db0dc0b optimize terrain features 2022-07-01 02:05:48 +02:00
cora 69dac8ded4 fix surface pools y offset 2022-07-01 02:05:48 +02:00
cora c1bd8f4204 smithing table bottom texture by @RandomLegoBrick 2022-06-30 21:48:29 +02:00
cora be8692daab Add smithing table textures by @RandomLegoBrick 2022-06-30 14:11:13 +02:00
cora c9dadc0bc7 correct tile order in smithing table item def 2022-06-30 14:11:13 +02:00
PrairieAstronomer 145d183998 Added Armor (Un)Eqip Sound Definitions 2022-06-30 14:11:13 +02:00
PrairieAstronomer 074f1df354 Added Formspec Image to Smithing Table and Fixed some whitespace issues. 2022-06-30 14:11:13 +02:00
PrairieAstronomer 6543d819da Fixed some quote formating issues 2022-06-30 14:11:13 +02:00
cora b8fc1c03b3 check for _upgradable instead of diamond 2022-06-30 14:11:13 +02:00
PrairieAstronomer 1fc79ffb61 Added pixelperfection netheriteblock texture 2022-06-30 14:11:13 +02:00
PrairieAstronomer ed2fc6601e Added Smithing Table to Toolsmith Villager Jobsite 2022-06-30 14:11:13 +02:00
cora 7136e54615 make armor upgrade slightly more flexible 2022-06-30 14:11:13 +02:00
PrairieAstronomer d86be83b2b Fixed the lodestone crafting to use the netherite ingot. 2022-06-30 14:11:13 +02:00
cora 352a52e086 fix indentation 2022-06-30 14:11:13 +02:00
cora 909aa71dd3 keep _mcl_upgrade_item as nil for non diamond armor 2022-06-30 14:11:13 +02:00
cora c05e1b5f45 make diamond armor upgradable to netherite 2022-06-30 14:11:13 +02:00
PrairieAstronomer 79c014f356 Serious Dedication Advancement 2022-06-30 14:11:13 +02:00
Code-Sploit 7f340b7e2a Add forgotten textures for netherite ingot, scrap and ancient debris 2022-06-30 14:11:13 +02:00
NO11 e0c5f2f7fa Fix ancient debris duplication glitch (remove fortune drop) 2022-06-30 14:11:13 +02:00
Code-Sploit 10ea6da4e8 Add all pixel-perfection textures for netherite 2022-06-30 14:11:13 +02:00
Code-Sploit 1283967132 Add crafting recipe for netheriteblock & make netheriteblock convertable to ingots. 2022-06-30 14:11:13 +02:00
Code-Sploit dc2a74140e Add correct speeds for netherite shovel, pickaxe and axe 2022-06-30 14:11:13 +02:00
Code-Sploit bbf63cf66b Add netheriteblock 2022-06-30 14:11:13 +02:00
Code-Sploit 688d1e3f7e Add correct durability for netherite sword 2022-06-30 14:11:13 +02:00
Code-Sploit e8cedbc553 Remove unnessacary comments in mcl_smithing_table/init.lua 2022-06-30 14:11:13 +02:00
Code-Sploit af2a4b1de0 Add crafting recipe for smithing table 2022-06-30 14:11:12 +02:00
Code-Sploit 8080932353 Fix not able to put diamond tools in the smithing_table 2022-06-30 14:11:12 +02:00
Code-Sploit 3b2a34c670 Add first try of code for smithing table (Thanks to Fleckenstein), add _mcl_upgradable and _mcl_upgrade_item to every diamond tool/armor piece 2022-06-30 14:11:12 +02:00
Code-Sploit aee4d15a57 Fix crash in netherite hoe by adding netherite to uses{} 2022-06-30 14:11:12 +02:00
Code-Sploit 9b25567274 Add netherite hoe texture 2022-06-30 14:11:12 +02:00
Code-Sploit f2375abc47 Add netherite tools 2022-06-30 14:11:12 +02:00
Code-Sploit 9c0e9964a6 Add smithing table W.I.P 2022-06-30 14:11:12 +02:00
Code-Sploit 338114aecc Add: Netherite scrap, Netherite ingot. Add crafting recipe for netherite ingot. 2022-06-30 14:11:12 +02:00
Code-Sploit 8ee792e965 Add correct textures for netherite armor 2022-06-30 14:11:12 +02:00
Code-Sploit 3f30251f26 Add second part of netherite armor textures 2022-06-30 14:11:12 +02:00
Code-Sploit 57ebfbfb56 Add first part of netherite armor textures 2022-06-30 14:11:12 +02:00
Code-Sploit f0f52713f7 Add code for netherite armor 2022-06-30 14:11:12 +02:00
Code-Sploit 92992cb44e Add ancient debris 2022-06-30 14:11:12 +02:00
cora 817fb83ba6 Fix Anvil stacking dupe II
This guarantees that the anvil logic never overstacks the output slot
2022-06-30 14:03:55 +02:00
cora ce2531a488 Add correct respawn anchor recipe 2022-06-30 14:00:55 +02:00
cora 78e187537f Add crying obsidian particle effect 2022-06-30 01:43:49 +02:00
kay27 9d8ff427f3 Add crying obsidian 2022-06-30 01:43:22 +02:00
TheRandomLegoBrick f1e5790308 Update textures for nautilus shell and heart of the sea 2022-06-27 10:17:33 -07:00
cora d9e40d5223 set profession first in on_spawn 2022-06-26 11:20:20 +02:00
cora 86651e7557 Fix zombie villager curing (crash) 2022-06-26 11:20:20 +02:00
PrairieAstronomer 94e7c4c85b Nautilus Shell Texture, by RandomLegoBrick 2022-06-25 16:54:19 -06:00
PrairieAstronomer 52bb8c6401 Heart of the Sea Textures by RandomLegoBrick 2022-06-25 16:47:48 -06:00
PrairieAstronomer 29329c4aac Heart of the Sea Item. Item Texture by RandomLegoBrick. 2022-06-25 16:41:32 -06:00
PrairieAstronomer 2e0fa714ed Nautilus Shell Item. Shell Texture by RandomLegoBrick. 2022-06-25 15:42:52 -06:00
MysticTempest e3abe72522 Fix healing speed, and saturation usage again; to be more accurate. 2022-06-25 01:41:10 -05:00
MysticTempest a6e2c94028 Tweak hunger/health mechanics:
Ensure hunger is always ticking away, and ensure that health regen
is quicker when hunger bar is full.
And, tweak saturation to partially use up hunger to heal; instead
of healing on top of hunger.
2022-06-24 05:38:26 -05:00
cora 2b87958678 add all sizes of sea pickles not just 1 2022-06-23 17:18:01 +02:00
cora f883b45809 Add coral reefs 2022-06-23 15:06:56 +02:00
cora ca6cf81e24 set objects on fire when in lava cauldron 2022-06-22 12:40:16 +02:00
cora 1401f398ae globalstep instead of abm to extinguish objects 2022-06-21 14:24:15 +02:00
cora 3a7022ab66 Clean up buckets and cauldrons a little bit 2022-06-21 13:53:08 +02:00
cora 685cba6821 Allow placing lava into cauldrons 2022-06-21 13:44:52 +02:00
cora 7a8d20e124 take lava from cauldron with bucket 2022-06-21 13:08:20 +02:00
cora 9937224997 Add lava filled cauldron 2022-06-21 12:58:19 +02:00
cora 820b97f065 fix soem codestyle stuff in mcl_cauldrons 2022-06-21 12:52:54 +02:00
MysticTempest f6599d237e Fix smokers, & blast_furnaces to work at twice the rate of a furnace. 2022-06-21 00:36:13 -05:00
TheRandomLegoBrick 90ee8ecf0f Merge branch 'grindstone' of https://git.minetest.land/TheRandomLegoBrick/MineClone2 into grindstone 2022-06-20 13:33:15 -07:00
TheRandomLegoBrick 6ec9765b58 Fix indentation 2022-06-20 13:31:23 -07:00
RandomLegoBrick b5eda3000e Merge branch 'master' into grindstone 2022-06-20 19:58:49 +00:00
TheRandomLegoBrick 99469ff1c5 Add grindstones 2022-06-20 12:46:59 -07:00
cora e3c5b2cbb5 Fix crash on ghast explosions
In certain situations the arrow can be invalidated until its
get_pos() is called here - e.g. when the player wears over-
enchanted blast protection (65k in this case).

This uses the player position for the explosion in these cases
2022-06-20 13:40:05 +02:00
cora dcc7df5f02 Add setting for nether dust too
plus slightly tweak the wording for thunder setting
2022-06-20 13:31:58 +02:00
cora 30e543d4d2 Add settings to change weather particle amounts 2022-06-19 22:50:29 +02:00
cora d9da50e292 Properly check for sound update (fix warning) 2022-06-19 22:25:50 +02:00
cora ca27237ffc Tweak particle spawner settings 2022-06-19 22:19:46 +02:00
cora ffa15727e3 readd grow_twisting_vines func 2022-06-19 13:27:12 +02:00
cora 31b94f5b22 Add "nether outpost"
As a temporary solution until large nether fortresses are there.
This is just a little tower containing some warts and a blaze
spawner.
2022-06-19 03:11:56 +02:00
cora ecf6236152 Set fog color according to nether biome 2022-06-19 00:24:56 +02:00
cora 41f708e03e Regular decorations for legacy nether(except v6)
minetest supports this now
2022-06-19 00:24:56 +02:00
cora 5b366c692d Enable mob spawning in new biomes
lower ghast spawning chance
2022-06-19 00:24:52 +02:00
cora 0890c719a3 Add basalt pillars 2022-06-19 00:24:52 +02:00
cora fefb15f2a8 Add new fungus tree schematics 2022-06-19 00:24:52 +02:00
cora 01eea4ab8a prevent nether trees from growing through bedrock 2022-06-19 00:24:52 +02:00
cora 969ac0be78 fix style details and mistakes in mcl_crimson 2022-06-19 00:24:52 +02:00
cora d9a74ac180 rename mcl_surface_pools -> mcl_terrain_features 2022-06-19 00:24:52 +02:00
cora a0264ed5e0 tweak biome distribution to be more like mc
according to
https://www.reddit.com/r/Minecraft/comments/gjeuww/how_the_nether_biomes_are_distributed/
2022-06-19 00:24:52 +02:00
cora 48189cb3a7 fix lighting issue for placed schematics
warped and crimson shroomlight would not work correctly before
because they're placed after light calculation is done apparently
2022-06-19 00:24:52 +02:00
cora db9fba70dd some biome tweaks, add nether gold 2022-06-19 00:24:52 +02:00
cora 8efbd89b6a Add basalt columns & lava pools 2022-06-19 00:24:52 +02:00
cora 3c79685c48 Add main nether biomes
Add nether forests

Add soulsand valley decorations

Add Basalt Delta basics
2022-06-19 00:24:48 +02:00
cora 06fdfd2e63 make nether mushroom rotation random 2022-06-19 00:24:48 +02:00
cora 1c3a6f8a19 replace algorithmic fungus gen by schematic
it was always the same anyways (except for the shroomlight)
2022-06-19 00:24:48 +02:00
cora 489ee80490 remove enderman spawning 2022-06-19 00:24:48 +02:00
AFCMS f285e18d24 Fix some codestyle issues with `mcl_crimson` 2022-06-19 00:24:48 +02:00
cora 7d653011fc fix whitespace 2022-06-19 00:24:48 +02:00
cora 6af3fecacb rename mcl_mushroom to mcl_crimson 2022-06-19 00:24:48 +02:00
3raven 9d5bbd7d22 Correct name 2022-06-19 00:24:48 +02:00
3raven 686b62f6e3 fix
fix
2022-06-19 00:24:45 +02:00
3raven ee2f8f46f1 Non flammable/modify by similiraty with trees 2022-06-19 00:24:45 +02:00
3raven 653020d2ef Add texture files for stripped stem
Add texture files for stripped stem

Add texture files for stripped stem

Add warped hyphae stripped and bark

Same for crimson hyphae
2022-06-19 00:24:33 +02:00
kay27 7420877077 Bump ABM intervals to 1 second 2022-06-19 00:24:33 +02:00
3raven 69da3ffc05 fix texture 2022-06-19 00:24:33 +02:00
3raven b25c23f5fa mcl_mushroom.fr.tr
Translation
2022-06-19 00:24:33 +02:00
kay27 352fd7562f #41 Remove proprietary textures, update game screenshot 2022-06-19 00:24:33 +02:00
debiankaios 4a727d79c7 german translation
german translation

german translation
2022-06-19 00:24:15 +02:00
debiankaios b2b86e4fcc Added textures for the sprouts and roots. 2022-06-19 00:24:15 +02:00
debiankaios c3e00a1c26 Add more decoration blocks.
Added the decorations lbocks, and chancheg generation of decoration a bit.
2022-06-19 00:24:15 +02:00
debiankaios 4b976a663f Add twisting_vines textures 2022-06-19 00:24:15 +02:00
debiankaios 6755675021 Fixed warnings
Warnings because a var which not exist
2022-06-19 00:24:15 +02:00
debiankaios 324aa159a7 New Textures
New Textures

New Textures

New Textures

New Textures

New Textures

New Textures
2022-06-19 00:23:23 +02:00
debiankaios 5b06af4fec Bufixes
Fixed Bug that trees generating in other blocks. The slab and stairbug was fixed too.
2022-06-17 22:54:30 +02:00
Lizzy Fleckenstein c1ee0228f0 Fix light_source warning in mcl_mushroom 2022-06-17 22:54:30 +02:00
cora 49cb60f2e5 comment out ore generation for now 2022-06-17 22:54:30 +02:00
debiankaios 8a181661a5 Add warped and crimson 2022-06-17 22:54:30 +02:00
cora 98a322443b make "old" villagers keep their job 2022-06-17 13:59:32 +00:00
cora cd43076ea3 additionally rate limit villager jobhunts 2022-06-17 15:54:53 +02:00
cora e630ea59c9 Rate limit pathfinding attempts
In certain situation it otherwise results in excessive attempts to
find a path.
2022-06-17 15:54:53 +02:00
MysticTempest 965d10c003 Bell can be activated by redstone 2022-06-16 21:26:15 +02:00
𝕵𝖔𝖍𝖆𝖓𝖓𝖊𝖘 𝕱𝖗𝖎𝖙𝖟 a455e7bb8e Lightning command: Strike player by name 2022-06-16 13:43:44 -05:00
cora 92da429f50 Fix chatcommand not under mcl_structures in /help 2022-06-15 05:10:41 +02:00
cora 726d1f07fa use noise instead of fill_ratio for distribution 2022-06-15 05:10:41 +02:00
cora 9c6aafa3c1 add surface pools 2022-06-15 05:10:41 +02:00
cora 1b0053299c Do not replace bedrock during geode gen. 2022-06-15 05:10:41 +02:00
cora fa56ce5d52 Add outer geode layer
uses deepslate until smooth basalt is there
2022-06-15 05:10:41 +02:00
cora a0bed1d8bc Add proper logging + some fixes 2022-06-15 05:10:41 +02:00
cora a895292371 Add API documentation, minor fixes 2022-06-15 05:10:41 +02:00
cora b0b8638a4c Add /spawnstruct support 2022-06-15 05:10:41 +02:00
cora 8fa67e6b4f Geodes as test for place by function 2022-06-15 05:10:41 +02:00
cora 1eaac3c406 use gennotify instead of lbm for placement
keep the lbm for secondary structures
2022-06-15 05:10:41 +02:00
cora 6406a14738 Add Structure placement api 2022-06-15 05:10:41 +02:00
cora 899c849996 old registered_structures -> structure_data 2022-06-15 05:10:41 +02:00
cora 8651e3b04e randomize spawning list 2022-06-15 05:06:31 +02:00
cora 60f164d46a Fix horse and wolf spawning biomes 2022-06-15 05:06:31 +02:00
mrminer 110b293297 Update 'mods/ITEMS/mcl_farming/potatoes.lua' 2022-06-15 01:30:55 +00:00
cora 27a84799e4 remove superfluous dependencies 2022-06-13 12:32:48 +02:00
cora bd6d777f05 remove check for mcl_copper, fix recipe 2022-06-13 12:29:47 +02:00
cora 7dd6d5f886 spaces -> tabs 2022-06-13 12:29:47 +02:00
PrairieAstronomer e58387d123 Removed screenshots and Liscense 2022-06-13 12:29:47 +02:00
NO11 c4aa634a40 mcl_spyglass by NO11 2022-06-13 12:29:17 +02:00
cora 9cea10a706 fix more blast resistance and hardness values 2022-06-13 02:48:00 +02:00
cora 2074fec7a1 Fix hardness and b.resistance of blackstone nodes 2022-06-13 02:48:00 +02:00
cora 4e1b6074c7 Add Smooth Basalt node 2022-06-13 02:48:00 +02:00
cora a43627e268 Fix 2 wrong variable uses that made warnings 2022-06-12 01:35:27 +00:00
PrairieAstronomer 87a45ad78e Minor Format Detail in Country Lode Advancement 2022-06-11 19:14:28 -06:00
PrairieAstronomer bbd86045e5 Country Lode, Take Me Home Advancement 2022-06-11 15:35:48 -06:00
PrairieAstronomer eb72bb81da Fishy Business Advancement 2022-06-11 15:35:48 -06:00
PrairieAstronomer b544fb819d What A Deal! Advancement 2022-06-11 15:35:48 -06:00
PrairieAstronomer 17e2f05971 Sweet Dreams Advancement 2022-06-11 15:35:48 -06:00
PrairieAstronomer 2a62936fe7 Postmortal Advancement 2022-06-11 15:35:48 -06:00
PrairieAstronomer 91f8f44e17 The End? Advancement 2022-06-11 15:35:48 -06:00
PrairieAstronomer 1a5195b5e6 Isn't It Iron Pick Advancement 2022-06-11 15:35:48 -06:00
epCode ef92475d35 Merge pull request 'master' (#2296) from master into Raytraced_arrows_fix
Reviewed-on: MineClone2/MineClone2#2296
2022-06-11 02:42:04 +00:00
epCode 6bc5e76b8f fix tipped arrows and rocket 2022-06-10 19:40:12 -07:00
epCode 6a74adc261 Merge pull request 'master' (#2290) from master into Raytraced_arrows
Reviewed-on: MineClone2/MineClone2#2290
2022-06-09 16:18:56 +00:00
cora d1149ee49a Add 'mods/ITEMS/mcl_sus_stew/' from commit '6048efbc988390321952e9ba1da4f6342df59cbf'
git-subtree-dir: mods/ITEMS/mcl_sus_stew
git-subtree-mainline: 8d9131eda3
git-subtree-split: 6048efbc98
2022-06-08 05:16:58 +02:00
epCode 0aaede2f50 Merge pull request 'master' (#2285) from master into Raytraced_arrows
Reviewed-on: MineClone2/MineClone2#2285
2022-06-07 18:41:22 +00:00
MysticTempest 45ec876167 Knockback fixes:
This PR enables knockback for snowballs, and eggs.
And disables knockback for the following mobs: Shulkers, Iron Golems,
and Ender Dragons.
2022-06-07 02:55:19 -05:00
epCode 6c804f44d5 add a small bit of doc 2022-06-06 18:43:50 -07:00
cora 5c057f24fb get_mapgen_params -> get_mapgen_setting 2022-06-07 03:17:32 +02:00
epCode d738229298 Make loaded Crossbow (Corssbow) not show up in creative inventory 2022-06-07 00:58:37 +00:00
epCode 78940e109c fix critical hit displaying in the wrong place 2022-06-06 14:38:18 -07:00
epCode fdb7d5bfad fixed Badly calculated arrow direction 2022-06-06 14:32:07 -07:00
epCode f2c2f4106b fix arrows not disapearing after mob hit, and self damaging 2022-06-06 13:55:28 -07:00
epCode e1feec9a30 Add Raytracing arrows 2022-06-06 13:42:24 -07:00
epCode ad486a56fd Add more Villager sounds 2022-06-06 12:09:14 -07:00
epCode 42c764e149 Make Villager nod/head shake 2022-06-06 11:12:57 -07:00
cora 4bff9710a0 Make structblock non walk- and pointable 2022-06-06 01:08:55 +02:00
cora d4e4bc8708 add rarer beached shipwreck 2022-06-05 13:10:36 +02:00
cora b7419dc207 randomly enchant treasure 2022-06-05 13:10:36 +02:00
cora 4af1094eed Add shipwrecks
schematics by chmodsayshello
2022-06-05 13:10:36 +02:00
cora ef093d0c00 Be more careful with possibly expired objects 2022-06-04 20:26:00 +02:00
MysticTempest b4c5805afe Make items flowing in water use acceleration for movement. 2022-06-03 05:46:27 -05:00
MysticTempest 5dde594c19 Item movement fixes:
This PR fixes items at flowing_water edges not falling down holes.
As well as fixing items not sliding on slippery nodes like ice.

And, allows for movement starting at the source block of a
flowing water node. While ensuring regular water_source blocks
do not bug out.
2022-06-02 09:44:04 +00:00
MysticTempest 983b8f0934 Make breaking boats by hand easier. 2022-06-02 00:20:44 -05:00
NO11 25d847f49f Fix crash when unknown item in offhand slot 2022-05-31 22:43:30 +02:00
MysticTempest 31106a2031 Fix items obtained from villager trades:
This PR stops the load_enchantments function from being
called for all items in the villager trades.
Fixing non-enchanted items from villagers being unable to stack
with their regular counterparts.

As they now, no longer have any description metadata.
While also ensuring that enchanted items still have their
tooltips, and work.
2022-05-30 15:11:22 -05:00
cora dc21b02d04 update old mobs_mc_ horse armor textures 2022-05-30 10:49:38 +00:00
Lizzy Fleckenstein a86fc935aa mcl_maps: add callback to load_map function (#2261)
Fixes maps in itemframes not loading after restart (#2255)
Reviewed-on: MineClone2/MineClone2#2261
Co-authored-by: Elias Fleckenstein <eliasfleckenstein@web.de>
Co-committed-by: Elias Fleckenstein <eliasfleckenstein@web.de>
2022-05-30 01:32:20 +00:00
cora a44347f641 make cart.table, fletch.table and loom diggable 2022-05-29 22:07:47 +02:00
cora e4a4648b25 fix size of black cat texture 2022-05-29 02:34:02 +02:00
cora 6b9cb0062d save home coords in cat entity as well 2022-05-29 02:34:02 +02:00
cora 2337e72a23 simplify spawn logic 2022-05-29 02:34:02 +02:00
cora da6563a5b3 Spawn witch and black cat on witchhut generation 2022-05-29 02:34:02 +02:00
cora a179a1cb62 fix indoor weather + multiplayer issue 2022-05-29 02:24:12 +02:00
cora 7bc63d2882 fix mcl_mobs api_changes 2022-05-28 00:06:29 +02:00
cora c0a9cb7020 don't hurt perched parrot on punch 2022-05-28 00:05:04 +02:00
cora e90e17e533 clean up perch code, smoother behavior 2022-05-28 00:05:04 +02:00
cora 3d13000599 tweak detaching behavior 2022-05-28 00:05:04 +02:00
cora 86bc398a79 don't do flying animation while perching,fix anims 2022-05-28 00:05:04 +02:00
cora 14ec1aa014 add basic parrot perching 2022-05-28 00:05:04 +02:00
cora ae2860d017 Show/Hide XP-hud immediately after gamemode switch 2022-05-27 19:56:47 +02:00
cora 1127231ca9 Fix crash on non existent xp-hud due to gamemode 2022-05-27 15:06:25 +02:00
cora 4dba637ed8 readd lost horse armor inv images - confusing names 2022-05-27 02:44:39 +02:00
Lizzy Fleckenstein e7898352d8 Remove mobs_mc_gameconfig 2022-05-27 02:44:39 +02:00
cora 47fa43825c count only mobs for cramming 2022-05-26 14:20:19 +02:00
cora af7dc0fb8f change "constant" declaration to match mcl_mobs 2022-05-26 14:16:38 +02:00
cora 87f50d6423 entity cramming: clean up check logic 2022-05-26 14:16:38 +02:00
cora fb4f21cba0 entity cramming: spare the children 2022-05-26 14:16:38 +02:00
cora 85b599edba entity cramming: check less often 2022-05-26 14:16:38 +02:00
cora b4cbc528a3 mcl_mobs: add entity_cramming 2022-05-26 14:16:38 +02:00
Lizzy Fleckenstein f6a40ffb78
Run tools/strip_trailing_whitespace.sh 2022-05-26 07:29:28 +02:00
Lizzy Fleckenstein dd1f8cb59c Remove enderman gameconfig 2022-05-25 23:13:33 +02:00
Lizzy Fleckenstein ff33794487 Rename mobs global to mcl_mobs 2022-05-25 23:13:33 +02:00
Lizzy Fleckenstein e0f70b54ec Remove _cmi_is_mob 2022-05-25 23:13:33 +02:00
Lizzy Fleckenstein 4054f05a4c Remove support for invisibility mod 2022-05-25 23:13:33 +02:00
Lizzy Fleckenstein f6be8bac5a Remove checks for MCL2 mods 2022-05-25 23:13:33 +02:00
Lizzy Fleckenstein 8db9e76529 Remove unused version field 2022-05-25 23:13:33 +02:00
Lizzy Fleckenstein 6ae722a6ee Remove use_cmi 2022-05-25 23:13:33 +02:00
Lizzy Fleckenstein fc3992ceb6 Remove mobs.is_creative 2022-05-25 23:13:33 +02:00
cora d3afccad64 Merge pull request 'Fix warnings in mcl_bells and mcl_beds' (#2243) from EliasFleckenstein03/MineClone2:warn into master
Reviewed-on: MineClone2/MineClone2#2243
2022-05-25 17:54:28 +00:00
Lizzy Fleckenstein 569288b782
Fix warnings in mcl_bells and mcl_beds 2022-05-25 19:37:36 +02:00
cora d863a6298b fix/simplifiy things from review 2022-05-25 16:36:04 +02:00
cora 2499fe1e83 add complete input validation, better result msgs 2022-05-25 05:43:49 +02:00
cora f89780695e Add /gamemode command for per player gamemode 2022-05-25 05:43:49 +02:00
cora 6a2f9e1a16 Fix wrong argument to is_creative_enabled 2022-05-25 03:41:43 +00:00
cora bda5073d86 make soul fire drop nothing when dug 2022-05-25 05:27:52 +02:00
cora 11e8e7d4cc Add soul_group to s.soil&sand, torch fix recpipe 2022-05-24 13:25:59 +02:00
kabou 1931a85f24 Add blackstone to cobble group.
By adding blackstone to the group "cobble", it automatically inherits
all crafting recipes and tool repair capabilities that apply to that
group.

* Add `cobble=1` to blackstone node definition groups.
* Remove stone tools and furnace crafting recipes.
2022-05-24 13:25:45 +02:00
cora 0c65363a09 replace ' with " 2022-05-24 13:25:45 +02:00
cora b6a647e119 remove unused vars 2022-05-24 13:25:45 +02:00
cora 23e5a1c7d3 Comment out ore generation for now
The discussion about how to handle this is still ongoing. Since
this is about getting the new nodes disable ore registration
for now.
2022-05-24 13:25:45 +02:00
cora 0d8436b343 fix soul fire 2022-05-24 13:25:45 +02:00
cora 29c16eaa75 remove superfluous torch models 2022-05-24 13:25:45 +02:00
cora 2d81d31139 Fix soul torch to use the actual mcl_torches api 2022-05-24 13:25:45 +02:00
cora a9be3f0f96 remove excessive newlines 2022-05-24 13:25:45 +02:00
cora 181a7d3b11 make nether gold gen. respect mcl_generate_ores 2022-05-24 13:25:45 +02:00
cora 430dc7fd8c remove packed ice recipe 2022-05-24 13:25:45 +02:00
cora c6312e7bdd use vector.new instead of normal tables 2022-05-24 13:25:45 +02:00
cora d9f2db5950 adapt readme to mcl2 2022-05-24 13:25:45 +02:00
cora 6b058d6f38 remove changelog.md 2022-05-24 13:25:45 +02:00
cora dd928db9ea fix soul torch recipe 2022-05-24 13:25:45 +02:00
cora 67e026cb12 blackstone: remove soul lantern dupe(mcl_lanterns) 2022-05-24 13:25:45 +02:00
cora 4a0a9ba482 move depends.txt to mod.conf, add author field 2022-05-24 13:25:45 +02:00
debian044 16d79996c0 Add blackstone via cp -r & git add * ^^ 2022-05-24 13:25:45 +02:00
Lizzy Fleckenstein 60c463b8f9
Run tools/generate_ingame_credits.lua
This should be run every time CREDITS.md is changed.
2022-05-22 21:41:40 +02:00
cora 028d1c1f4f do not tame villagers 2022-05-22 14:43:44 +02:00
cora a5ba8f739f Add bell to villager trades 2022-05-22 02:01:21 +02:00
cora d34191f00c villagers go to the bell if it's rung(for now)
this will help with further testing pathfinding until villagers
get a proper schedule and do more things
2022-05-22 02:01:21 +02:00
cora ec73afd21a use iron texture for apprentice badge, not stone 2022-05-22 02:01:21 +02:00
cora fca259c074 fix crash during (artificial) village creation
when using the village tool doing that on an unsuitable location
would result in no position for the belltower being available
this checks for that and ... doesn't crash then ^^
2022-05-22 02:01:21 +02:00
cora 7379d5bee8 Add Belltower to villages 2022-05-21 14:48:56 +02:00
cora d67dd0577f fix crash through forgotten function call 2022-05-21 12:36:57 +02:00
cora e353ec3b16 Iron golems pick and pick up one (stack of) poppy 2022-05-21 12:36:57 +02:00
cora 5dafeaadc6 Fix indentation in mcl_mobs/api.txt 2022-05-21 12:36:57 +02:00
cora 2b63866c14 spawn villagers (and golem) immediately after mg 2022-05-21 12:36:57 +02:00
cora 27d0d778e2 Update TODO list 2022-05-21 12:36:57 +02:00
cora a74fcab06b Make iron golem stay near set _home position 2022-05-21 12:36:57 +02:00
cora e51ea1e079 initialize inventory nodes on mapgen 2022-05-21 12:36:57 +02:00
cora e5806215f0 fix possible crash 2022-05-21 12:36:57 +02:00
cora 08b36e3eb3 Add textures for all professions 2022-05-21 12:36:57 +02:00
cora 53df441c1b Don't pick up near player, add more breeding stuff 2022-05-21 12:36:57 +02:00
cora 873e018faf Dynamically add trading tier badge to texture 2022-05-21 12:36:57 +02:00
cora b58422a584 write villager id into bed nodemeta 2022-05-21 12:36:57 +02:00
cora 3ff4ea576d spawn iron golem on villagegen 2022-05-21 12:36:57 +02:00
cora 539c31e8d6 fix trading crash 2022-05-21 12:36:57 +02:00
cora db865ede56 villagers open doors in daytime and close at night 2022-05-21 12:36:57 +02:00
cora 0d56ef1a90 add jobsites to villagegen schematics 2022-05-21 12:36:57 +02:00
cora 67939f7b7a pathfinding: find doors close to target as well 2022-05-21 12:36:57 +02:00
cora 9ccbf91706 mobs api: document api additions 2022-05-21 12:36:57 +02:00
cora dfb74cf9e9 mobs: add nofollow option so v. dont follow bread 2022-05-21 12:36:57 +02:00
cora 9a866e873e breed by throwing bread at villagers 2022-05-21 12:36:57 +02:00
cora e6b65af3b4 add mobs item pickup 2022-05-21 12:36:57 +02:00
cora 4ac41a793e fix two crashes in pathfinding 2022-05-21 12:36:57 +02:00
cora 98231f15ae change function name go_wplist -> gopath 2022-05-21 12:36:57 +02:00
cora e3bb7fe4be codestyle: replace inline functions 2022-05-21 12:36:57 +02:00
cora f8fc111b4a pathfind to jobsites 2022-05-21 12:36:57 +02:00
cora dbc5564d02 move movement code to mcl_mobs 2022-05-21 12:36:57 +02:00
cora ce7a882c86 Show trade tier in formspec 2022-05-21 12:36:57 +02:00
cora 12bc8f1a3b initial pathfinding experiments
to test rightclick a villager and it will try to path find to
0,9,0 (i'm using flat mapgen for testing for now).
2022-05-21 12:36:57 +02:00
cora 0598aa35c0 add simple jobsite logic 2022-05-21 12:36:57 +02:00
cora e9f4f500d9 bell: slightly tweak bottom texture 2022-05-21 12:35:22 +02:00
cora 63b6a1d176 Update README.md 2022-05-20 21:54:42 +02:00
cora 1ba12aec60 Add new textures, make bell a nodebox
thx erlehmann for the nodebox <3
2022-05-20 21:27:12 +02:00
cora 4ba570e3b4 remove mesecons dependency 2022-05-20 13:45:45 +02:00
cora bf1a939564 fix bell sound 2022-05-20 13:44:17 +02:00
cora fe164e5f41 add basic mcl2 node properties 2022-05-20 13:36:41 +02:00
kay27 a6e9afbb93 Add bell from mcl5 2022-05-20 13:33:39 +02:00
Nils Dagsson Moskopp c9c14d6ff0 Add noise to christmas chest textures 2022-05-20 04:13:13 +02:00
Nils Dagsson Moskopp ff384c9588 Reskin chests as presents on December 24th to 26th 2022-05-20 04:13:01 +02:00
cora c4e51650f8 smoker & bfurnace: More concise short descriptions 2022-05-18 13:37:34 +02:00
cora 8426e7826a Fix smoker fuel not being burned at twice the rate. 2022-05-18 13:30:00 +02:00
MysticTempest d10f8944ed Fix blast_furnace fuel not being consumed at twice the rate. 2022-05-18 05:30:05 -05:00
PrairieWind d93704fa0e Merge branch 'master' into furnaces 2022-05-17 18:33:20 +00:00
PrairieAstronomer fe36d579eb Add Blast Furnace and Smoker to Villager Workstations 2022-05-17 10:37:55 -06:00
PrairieAstronomer 4af0a4daae Updated GROUPS.md and fixed blast furnace group name. 2022-05-17 10:34:44 -06:00
PrairieAstronomer fd18c0d213 Removed Unneeded Code from Blast Furnace, and updated description. 2022-05-17 10:27:41 -06:00
PrairieAstronomer 7ac2593164 Removed Unneed code and fixed description of Smoker 2022-05-17 10:03:15 -06:00
PrairieAstronomer 29e18015b8 Make Fish and Salmon Smokable 2022-05-17 09:48:51 -06:00
PrairieAstronomer e1a6baffe9 Smoker 2022-05-16 21:11:10 -06:00
PrairieAstronomer f1a80876de Make Copper Ore Blastable 2022-05-16 20:59:19 -06:00
PrairieAstronomer 3558541648 Blast Furnace 2022-05-16 20:45:45 -06:00
cora 5282a63bcb add options for nametagged mobs and range 2022-05-15 20:04:09 +00:00
cora e5de4bba65 keep nametagged mobs, add "all" argument 2022-05-15 20:04:09 +00:00
cora 628686ce79 Add a command to safely remove all mob objects 2022-05-15 20:04:09 +00:00
Mikita Wiśniewski 37e72e333b Improve /seed command (now it looks like in modern MC) and update RU locale 2022-05-15 20:27:30 +07:00
MysticTempest dd1a58b01e Implement piston fixes:
This enables the feature of unsticky pistons. This allows
for some nodes to be unpullable, but otherwise pushable or diggable.
A certain selection of nodes that can never be moved.
And, stops certain entities from being pushed if they shouldn't move.

Along with this change; I've also updated the rules regarding
pushing, and pulling of nodes & objects to be more accurate to MC.
Now allowing for more complex redstone circuits to be built.
2022-05-15 02:18:21 -05:00
PrairieAstronomer fec5650711 Removed dependancies 2022-05-14 16:01:14 -06:00
PrairieAstronomer 5abfa555eb Added new workstations to villager jobsite definitions 2022-05-14 15:52:37 -06:00
PrairieAstronomer dead4069b0 Removed incorrect groups 2022-05-14 15:48:33 -06:00
PrairieAstronomer 4bc67a174b Loom 2022-05-14 15:34:08 -06:00
PrairieAstronomer c71b036e6a Cartography Table 2022-05-14 15:24:44 -06:00
PrairieAstronomer 046698c64f Fletching Table 2022-05-14 15:14:50 -06:00
cora 31b8ea26a2 add jobsites to professions table 2022-05-14 00:32:15 +02:00
cora fd6f2be485 update cleric trades 2022-05-14 00:32:15 +02:00
cora 07e0a90051 update tool smith trades 2022-05-14 00:32:15 +02:00
cora f073d4d420 update weapon smith trades 2022-05-14 00:32:15 +02:00
cora 89aaf6b709 update butcher trades 2022-05-14 00:32:15 +02:00
cora f09b578034 update leatherworker trades 2022-05-14 00:32:15 +02:00
cora 0ce1a92282 update armorer trades 2022-05-14 00:32:15 +02:00
cora 135ee97b21 update cartographer trades 2022-05-14 00:32:15 +02:00
cora 51cf92a909 update librarian trades 2022-05-14 00:32:15 +02:00
cora 2d47ad3e5f update fletcher trades 2022-05-14 00:32:15 +02:00
cora c28d700caf update fisherman trades 2022-05-14 00:32:15 +02:00
cora ba861d7b74 update farmer trades 2022-05-14 00:32:15 +02:00
cora 9b8b7ce6b4 refactor go home logic 2022-05-14 00:32:15 +02:00
cora 354d17a14c enable simple villager breeding 2022-05-14 00:30:44 +02:00
Mikita Wiśniewski 7f3ba7d4a2 Enable placing carpets on llamas and add textures for it 2022-05-13 22:00:09 +00:00
cora a1209b14a1 playerplus: fix deprc. add_player_velocity calls 2022-05-12 23:30:39 +00:00
kabou baf8e0b79c Update item entity for lodestone compass.
* Added another special case to the item entity registration for
  lodestone compasses, without this a dropped lodestone compass would
  turn into a regular compass on being dropped.
* Update the compass and lodestone compass frame number to be the
  stereotype frame.
2022-05-12 21:08:52 +02:00
chmodsayshello 00dba67cd8 remove lodestone compass from creative inventory 2022-05-12 19:06:13 +02:00
kabou 872b708465 Remove unused variable.
* Removed unused variable `stack_max`.
2022-05-11 21:45:15 +02:00
kabou 74e70b674e Fix return value of `get_compass_image()`.
* `get_compass_image()` did not actually return the image number.
2022-05-11 21:43:52 +02:00
kabou 14c882f982 Fix lodestone compass meta handling.
* The nature of a compass was being determined by looking at its meta.
  This caused lodestone compasses with unset meta to turn into regular
  compasses.  Fixed by using string matching on the itemname.
* Changed lodestone rightclick handler to explicitly set the correct
  name and frame of the compass used on it instead of waiting for
  globalstep to do this.
2022-05-11 21:31:50 +02:00
kabou 8ae605165b Fix lodestone compass stack_max.
* Lodestone compasses are stackable.
* Remove hardcoded `stack_max` setting, use default.
2022-05-11 17:53:41 +02:00
kabou aca4aca79b Add German translation.
* Add "de" (German) translation by chmodsayshello.
2022-05-11 17:43:57 +02:00
kabou bacc7613b5 Fix crash in mt 5.4 with vector ops.
* `vector.from_string()` is not available in mt pre-5.5.  Replace with
  `minetest.string_to_pos()`.
2022-05-11 17:41:10 +02:00
kabou 8a4b8707fa Add new compass API.
* Add API.md
* Update mcl_itemframes to use the new API.
* Revert old exported function back to original API.
2022-05-10 23:38:28 +02:00
kabou a8c231da34 Refactor compass code.
* Split up `get_compass_image()` into smaller functions.  This allows
  for better code sharing between old and new API and globalstep fn.
* Add `get_compass_itemname()` function.  It will be the new API of
  choice, `get_compass_image() will be deprecated soon.
* Remove function declaration out of globalstep function.
* Various other performance improvements.
* Add local aliases for global functions
* Lodestone compasses can only stack 1 item.
* Document functions and variables.
* Fix lodetone compass inaccurately reusing compass descriptions.
* Add usage descriptions to node definitions
* Refactor craftitem registration code.
* Update translation templates.
2022-05-10 22:43:03 +02:00
cora 12a943e222 Make villagers homeless when bed is gone on return 2022-05-09 10:29:58 +00:00
cora 8d0afede37 don't block mapgen on village generation 2022-05-09 10:29:57 +00:00
cora 0288581407 increase wait til village generated 2022-05-09 10:29:57 +00:00
cora 3774044f86 Walk back to bed instead of teleporting 2022-05-09 10:29:57 +00:00
cora 46dbf8c0ab Spawn villagers on villagegen, stay in village
This spawns a villager per bed on village gen and saves the bed
position in the entity. If it moves too far from the village
it gets teleported (for now) back.
2022-05-09 10:29:57 +00:00
MysticTempest 44b1d583a7 Potion Fixes:
Ensure all potion icons disappear after their effect is gone.
Stop Breath bar from flashing when water_breathing is in effect.
2022-05-09 05:18:59 -05:00
cora 5a25e42fd3 fix the 2nd nether dust warning ^^ 2022-05-09 12:06:28 +02:00
kabou 4e3a2a7b4c Fix list of spawnable biomes for rabbits.
* Rabbits spawn in Desert biome.
* Rabbits do no spawn in Forest and Swamp biomes.
2022-05-08 19:59:04 +00:00
chmodsayshello 6cb08a3c87 update dependencies 2022-05-08 19:57:09 +00:00
chmodsayshello 31a8ddabb8 minor changed (see long description)
This commit makes charged respawn anchors light sources, all respawn anchors can no longer be pushed by pistons and always drop the uncharged one
2022-05-08 19:57:09 +00:00
chmodsayshello 6806ea311d code from inital PR 2022-05-08 19:57:09 +00:00
cora e1ed990f58 sp. farm animals on grass, villagers near beds 2022-05-08 18:50:37 +00:00
cora e4c5f81524 make husks spawn only in deserts, zombies not 2022-05-08 18:50:37 +00:00
kay27 53042b6f48 Adopt mob spawning from mcl5 2022-05-08 18:50:37 +00:00
Elias Fleckenstein 34e5bb0334 Add Wither Spawning 2022-05-06 19:40:39 +00:00
Elias Fleckenstein c05a2d3a9d Add wither spawning schems 2022-05-06 19:40:39 +00:00
cora f1fc84b31b fix referencing mistake with cracked deepslate 2022-05-06 10:48:02 +00:00
AFCMS f9a2dacdd4 Fix texture and sound names in `mcl_amethyst` 2022-05-05 22:49:23 +02:00
AFCMS 00c70014c7 Fix codestyle and translation of `mcl_amethyst` 2022-05-05 22:49:23 +02:00
3raven f4020ebd31 mcl_amethyst.fr.tr
Translation
2022-05-05 22:49:23 +02:00
kay27 74322ead49 #11 Polish amethyst stuff 2022-05-05 22:49:23 +02:00
kay27 1a83f50505 Fix amethyst buds light levels again 2022-05-05 22:49:23 +02:00
kay27 206c98e354 Fix various amethyst errors, better seed function 2022-05-05 22:49:23 +02:00
kay27 69e83d5c0a #11 Spawn buds 2022-05-05 22:49:23 +02:00
kay27 d3dfd13f78 #11 Fix the style, add template.txt, add Russian translation 2022-05-05 22:49:23 +02:00
kay27 e28ccd9a80 #11 Put tabs instead of each 2 spaces 2022-05-05 22:49:23 +02:00
kay27 a5fba06a2c #11 Remove amethyst screenshot 2022-05-05 22:49:23 +02:00
1F616EMO 6c36c83a18 AMethyst Growing 2022-05-05 22:49:23 +02:00
1F616EMO 48a4e069f9 craft bugfix 2022-05-05 22:49:23 +02:00
1F616EMO 60e04438e0 typo missing space 2022-05-05 22:49:23 +02:00
1F616EMO 0b01d299ea 更新 'mods/ITEMS/mcl_amethyst/init.lua' 2022-05-05 22:49:23 +02:00
1F616EMO ebdf944dda amethyst bud 2022-05-05 22:49:23 +02:00
1F616EMO 794e10df4e [mcl_amethyst] INIT
* Amethyst Block
* Budding Amethyst (won't  grow amethyst now)
* New spyglass recipe
* Tinted Glass
* Calcite
2022-05-05 22:49:23 +02:00
cora 6a2fe2eb4f remove ancient backup "init_new.lua" 2022-05-05 04:05:08 +00:00
kabou 1266396e1d Add cobbled deepslate to cobble group.
By adding cobbled deepslate to the group "cobble", it automatically
inherits  all crafting recipes and tool repair capabilities that apply
to that group.

* Add `cobble=1` to cobbled deepslate node definition groups.  This
  requires a little refactoring of the deepslate variants registration
  function.
* Remove stone tools, furnace and brewing stand crafting recipes.
2022-05-05 01:45:03 +02:00
kabou f5abc28190 Allow smelting of deepslate ores.
* Register "cooking" crafting recipe for deepslate ores that enables
  smelting these ores in furnaces.
* Extend deepslate ore registration function to allow passing cooking
  result as argument.
* Update the deepslate ore table to include smelting results.
* Put deepslate w/ lapis drops in a separate table, making the deepslate
  ores table less unwieldly.
2022-05-04 23:35:07 +00:00
AFCMS f8f6ea22c8 Fix codestyle issues with `mcl_deepslate`, `mcl_copper`, `mcl_raw_ores` 2022-05-04 23:35:07 +00:00
cora b0b8ef3921 Comment out ore registrations for now
The discussion about how to handle the new ores is still ongoing.
This PR was originally only intended to add the new nodes so
that's what it does now.
2022-05-04 23:35:07 +00:00
cora be6d2db7d4 remove redundant license files 2022-05-04 23:35:07 +00:00
cora dc40ed18b3 remove raw_ores item override 2022-05-04 23:35:07 +00:00
cora 1b99de73d2 remove screenshots from original mods 2022-05-04 23:35:07 +00:00
NO11 c97e0cd631 Add deepslate 2022-05-04 23:35:07 +00:00
NO11 8c7a8a61d2 Add Copper 2022-05-04 23:35:07 +00:00
NO11 6bdaa9f2d1 Add raw ores 2022-05-04 23:35:06 +00:00
kabou dceb48bf94 Fix undefined variable in mcl_enchanting/engine.lua. 2022-05-04 23:31:54 +00:00
AFCMS 8a47a195f6 Remove preview files 2022-05-04 23:15:11 +00:00
AFCMS d0b60e2399 Fix player armor enchanting overlay (#2161) 2022-05-04 23:15:11 +00:00
AFCMS 3ca40cd4e4 Remove 2D preview 2022-05-04 23:15:11 +00:00
kabou 920b8b9654 Bookshelves are deco blocks, not building blocks. 2022-05-04 23:06:05 +00:00
kabou f1a494ea62 Change stone tool repair materal to group:cobble.
* Update repair material for stone tools (pick, shovel, axe, sword and
  hoe) to use any cobble group stone.
2022-05-05 01:01:29 +02:00
kabou 64bb50dfd5 Change some crafting recipes to use group:cobble.
* Update crafting recipes for stone tools (pick, shovel, axe, sword and
hoe), furnace and brewing stand to use any cobble group stone.
2022-05-04 15:54:12 +02:00
kabou 9edb40b5c5 Add cobblestone to the `cobble` group. 2022-05-04 15:14:23 +02:00
chmodsayshello 3699ca5535 update translation template 2022-05-03 15:21:18 +00:00
chmodsayshello 9c652df8a2 update german translation 2022-05-03 14:59:49 +00:00
chmodsayshello 390802a344 fix crash when achievements are disabled and /awards is being used
This commit fixes  MineClone2/MineClone2#2164, which crashes the game whenever /awards is called with arguments other than enable
2022-05-03 14:58:44 +00:00
cora 61a999fe5a Fix warning in mcl_weather 2022-05-02 21:47:33 +02:00
kabou ed8995acec Fix `add_large_plant()` argument mismatch.
* In commit 86b2cd70f9 an extra argument
  was added to the `add_large_plant()` function in order to handle silk
  touch.  For some reason, the callers for "double_grass" and
  "double_fern" were updated with two new arguments.  Because of this,
  silk touch likely never worked on these nodes.  This commit removes
  the unused `nil` argument from both callers.
* This commit fixes #2155.
2022-05-01 10:31:01 +00:00
chmodsayshello f1c60a48e0 remove debug logging 2022-04-30 10:02:04 +00:00
chmodsayshello c97fc42b68 upload textures 2/2 2022-04-30 09:02:17 +00:00
chmodsayshello 92cd3381ad upload textures 1/2 2022-04-30 09:01:57 +00:00
chmodsayshello f7a5862df2 update mcl_itemframes to use get_compass_image correctly 2022-04-30 08:59:25 +00:00
chmodsayshello ba8e072265 update mcl_compass dependencies 2022-04-30 08:58:04 +00:00
chmodsayshello f9d8b61dc1 update mcl_compass init.lua 2022-04-30 08:57:03 +00:00
Nils Dagsson Moskopp 057051aa6d Add packed ice crafting recipe 2022-04-27 00:33:01 +02:00
Nils Dagsson Moskopp cbf3dc49aa Replace grass path with dirt path
If a player wants to make a path when there is no dirt with grass on the
ground it means they need to either have silk touch to collect dirt with
grass or place dirt beside dirt with grass and wait for the grass cover
to spread before they can create the new paths …

Since the former is not possible early in the game and the latter is not
easy, this patch imitates Minecraft 1.17 behaviour; the following nodes
can now be turned into path nodes by right-clicking them with a shovel:

• Dirt (mcl_core:dirt)
• Coarse Dirt (mcl_core:coarse_dirt)
• Dirt with Grass (mcl_core:dirt_with_grass)
• Mycelium (mcl_core:mycelium)
• Podzol (mcl_core:podzol)

A group “path_creation_possible” has been added to mark nodes that can
be turned into a dirt path with a shovel. One obvious objection to that
addition might be that the “dirt” group already exists. Even though all
existing nodes that can be turned into a dirt path do indeed belong to
the “dirt” group, it is not a good idea: Changing what “dirt” means to
“any node that can be turned into a dirt path” would make it harder to
maintain the code.
2022-04-25 15:33:01 +02:00
cora 6bc676545b Allow saplings to grow on coarse d. and mycelium 2022-04-25 15:30:45 +02:00
cora 5f126c4686 add hypercopyrighted end crystal beam texture
This texture has the following poem written by me, cora, encoded in its
pixeldata. I the author hereby release both the texture file and the
poem as cc0.

Additionally I explicitly consent with its inclusion into MineClone2,
MineClone5 and Mineclonia as well as any other minetest game for this
day and all the days to come.

Shall though betray me with a texture, mate
I'll smile at though just like a summer's day
The raindrop particles - no laggy state
But spring is coming, really, soon it's may

As If the seasons meant a damn to us
They do not exist in mineclone at all
unreal water flow, iron never rusts
but copper does in summer and in fall

But what this literally is about
because this damn thing is really silly
you see somehow they had to say it loud

I would bring that quote with painting lilys
but plagerism everywhere you see
so this will just be good enough for me
2022-04-24 01:46:57 +02:00
Nils Dagsson Moskopp 67ae203772 Trigger node callbacks when pumpkin is sheared
The code for shearing a pumpkin used minetest.swap_node() to replace a
faceless pumpkin with a carved pumpkin. This did not trigger the node
callbacks of the carved pumpkin, which meant that shearing a pumpkin
would not check for the snow golem or iron golem spawn conditions.

This patch replaces minetest.swap_node() in the code for shearing a
pumpkin with minetest.set_node(), which does trigger the callbacks;
therefore snow and iron golems can now spawn as a pumpkin is carved.
2022-04-22 18:07:37 +00:00
Nils Dagsson Moskopp 5ba36c08b6 Drop carved pumpkin when shearing snow golem 2022-04-22 18:07:37 +00:00
Nils Dagsson Moskopp 56db877360 Disconnect gourd stems after destruct
While testing the previous commit, it became clear that gourd stems do
not disconnect properly if the gourd disappears while not being dug. A
simple method to create illegal curved stems was to explode the gourd.

This patch changes gourds so that the stem curves back after a gourd is
destroyed, regardless of reason. This hopefully makes curved stems that
are not connected to matching gourds a relict of the past.
2022-04-22 18:07:37 +00:00
Nils Dagsson Moskopp e1d67a2095 Disconnect stems from carved pumpkins after dig
Carved pumpkins can end up being connected to a stem – either if they
were grown in a previous version of MineClone2 or Mineclonia, or if a
player carves them before harvesting them. This patch makes sure that
stems turn into unconnected stems after such a carved pumpkin is dug.
2022-04-22 18:07:37 +00:00
Nils Dagsson Moskopp a2dd8c935d Make villagers accept uncarved pumpkin in trades
As map generation and growing mechanics have been changed to generate
uncarved pumpkins instead of carved, requiring players to shear every
pumpkin before trading it with villagers seems like useless busywork.
2022-04-22 18:07:37 +00:00
Nils Dagsson Moskopp 4fda54b0d1 Remove pumpkin pie recipe with carved pumpkin
Shearing an uncarved pumpkin turns it into a carved pumpkin and drops
four pumpkin seeds. As map generation and growing mechanics have been
changed to generate uncarved pumpkins instead of carved, preserving a
recipe to get pumpkin pie from carved pumpkins enabled players to get
both seeds and pumpkin pie from grown pumpkins, which was unintended.
2022-04-22 18:07:37 +00:00
Nils Dagsson Moskopp 9a53761b08 Remove pumpkin seeds recipe with carved pumpkin
Shearing an uncarved pumpkin turns it into a carved pumpkin and drops
four pumpkin seeds. As map generation and growing mechanics have been
changed to generate uncarved pumpkins instead of carved, preserving a
recipe to get seeds from carved pumpkins enables players to get twice
the amount of seeds as intended. Because of this, the recipe must go.
2022-04-22 18:07:37 +00:00
Alexander Minges 9b614c115c Grow uncarved pumpkin from seeds instead of carved
Carved pumpkin has to be explicitly registered as a separate node, as
registering a carved pumpkin node happened as a side effect of invoking
mcl_farming:add_gourd() for the carved pumpkin.

The iron / snow golem spawning checks that trigger whenever a carved
pumpkin is placed had to be moved out of the mcl_farming:add_gourd()
invocation to preserve the existing behaviour.

Note that uncarved pumpkin must not be registered as a separate node,
as invoking mcl_farming:add_gourd() for a registered node name leads to
stems not updating when an adjacent node is manually placed or mined.
2022-04-22 18:07:37 +00:00
Alexander Minges faf3f60cff Use uncarved pumpkin instead of carved in mapgen 2022-04-22 18:07:37 +00:00
cora b6ab815adc Fix endermen dropping node AND taking it 2022-04-22 01:02:20 +02:00
cora a83a2e9aba generate podzol under huge spruce trees 2022-04-21 22:25:47 +00:00
AFCMS 8396dfe7e3
enderdragon egg: check for protection on punch 2022-04-21 21:02:43 +02:00
kay27 dc4ccf91cc lift clouds to 384 in valleys mapgen
Valleys has a much higher average elevation than v7 often leading
to "normal" looking terrain being in the clouds. This lifts the
clouds up higher.
2022-04-19 10:23:10 +00:00
cora 3cb9947cf4 fix sugarcane not getting param2 on mapgen 2022-04-19 12:16:07 +02:00
Nils Dagsson Moskopp 34b5002fc8
Shuffle pixels in mcl_end_crystal_beam.png
A user claimed that this texture was a texture from Minecraft 1.8.9 –
see <MineClone2/MineClone2#2099> for
further details. I have not verified that but I noticed that in commit
152e552458 the file was replaced with a
file containing the exact same pixels.

A visual inspection confirms that the file contains noise, so it is not
clear if it is even copyrightable. However, to ensure that it could not
be identical to a file from Minecraft, To get noise of the same quality,
I have shuffled all its pixels with the following POSIX sh shell script:

LANG=C
PREFIX=mcl_end_crystal_beam
convert $PREFIX.png $PREFIX.pnm
<$PREFIX.pnm  >$PREFIX.plainpnm pnmtoplainpnm
<$PREFIX.plainpnm >$PREFIX.seed tr '1234567890 ' ' 1356902468'
(
 <$PREFIX.plainpnm head -n+3
 <$PREFIX.plainpnm tail -n+4 \
  |tr ' ' '\n' \
  |shuf --random-source $PREFIX.seed
) >$PREFIX.shuffled.plainpnm

I then opened mcl_end_crystal_beam.shuffled.plainpnm using GIMP,
converted the color black to tranparency and saved the image as a
paletted PNG (which yields a smaller filesize than a grayscale PNG).
2022-04-16 01:24:04 +02:00
NO411 e790bf90f4 Make shields work with all mobs 2022-04-09 16:21:22 +02:00
cora bb593159f1 mcl_weather: fix typo/crash 2022-04-08 06:23:14 +02:00
cora e7970ecce5 shields: Fix crash when deflecting ghast fireball 2022-04-07 22:40:48 +02:00
kabou 152e552458 Replace mcl_end_crystal_beam.png with free version.
* Replace mcl_end_crystal_beam.png with unknown provenance with a
  version from the PixelPerfection texture pack that has a know good
  free licence.
2022-04-06 23:04:01 +02:00
kabou ace0dc00c7 Remove `settlements_in_world` and `settlements.txt`
The global(!) table settlements_in_world` has no use, but is serialized and
saved to a file `settlements.txt` every time during generation of a new
village, adding more lag.  This commit removes all related code:
* Remove all instances of `settlements_in_world`.
* Remove `settlements.load()` and `settlements.save()`.
2022-04-02 21:52:03 +02:00
kabou f3b28df6cc Rework function comments.
* Move descriptive function comments to above the function definition.
* Adopt some luadoc styles.
* Update a stale reference to a renamed function in comments.
2022-04-02 03:32:56 +02:00
kabou f37f8b6bca Return itemstack in `composter_harvest()`.
* `composter_harvest()` is a `on_rightclick` handler and should return
  what remains of the ItemStack that was passed to it.
2022-04-02 03:32:56 +02:00
kabou 2ba801dfc7 Add protection support to composter.
* Add checks for `minetest.is_protected()` and log any violations.
* Add local aliases for global functions.
2022-04-02 03:32:56 +02:00
kabou 19eb31f389 Streamline use of vector ops.
* Use vector.offset instead of vector.add.
* Define and use local alias for vector.offset.
2022-04-02 03:32:56 +02:00
kabou 541a805a48 Logix fix and some simple optimizations.
* Fix silly and mostly inconsequential logic bug that had gone unnoticed up
  till now.
* Condense a single use variable away by using a slightly more elaborate
  assignment statement.
* Add a few more local aliases for global minetest.* functions.
2022-04-02 03:32:56 +02:00