FossFanatic
b1a52a3243
Rename some things
...
This commit renames `tnt_griefing` to `explosions_griefing` to better reflect what this setting now does.
2023-03-09 12:52:22 -06:00
FossFanatic
af8c4ded93
Try different fix for broken setting
2023-03-09 12:52:22 -06:00
FossFanatic
8b0d195906
Fix broken setting
...
This commit adds some lines of code which make sure that nothing gets destroyed when TNT griefing is disabled.
2023-03-09 12:52:22 -06:00
ancientmarinerdev
e15d0cd5a0
Merge pull request 'Make enderman hostile towards endermites and fix it's behavior on other dimensions' ( #3501 ) from anarquimico/MineClone2:enderman_hostile_endermite into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3501
Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>
2023-03-08 21:47:40 +00:00
ancientmarinerdev
4c5b057038
Removed duplicate track
2023-03-07 15:56:24 +00:00
ancientmarinerdev
1dcdbbef79
Adding Exhale & Tim Unwin tracks into the playlists
2023-03-07 15:56:24 +00:00
ancientmarinerdev
37b42a1033
Shrink audio files with added metadata
2023-03-07 15:56:24 +00:00
ancientmarinerdev
d32e968682
Add original Exhale & Tim Unwin first two tracks
2023-03-07 15:56:24 +00:00
ancientmarinerdev
67ddad987d
Fix grass not growing issue
2023-03-06 17:45:38 +00:00
FossFanatic
261b5dda98
Remove excessive code
...
This removes a piece of excessive code, which I accidentally left behind.
2023-03-05 12:45:45 +00:00
FossFanatic
b80dd0294c
Change the grass LBM & generator
...
This commit makes the grass LBM & generator look for nodes in the `grass_palette` group, instead of looking at a local list.
2023-03-05 12:45:44 +00:00
FossFanatic
260a76e5ee
Add grass palette nodes in a special group & more
...
This commit adds any nodes which make use of a grass palette to a `grass_palette` group, to avoid having to create a list of said nodes every time.
I also added one line of code to potted ferns, in preparation for when I get to adding biome coloured potted ferns, which currently use a fixed colour instead of the biome's colour.
2023-03-05 12:45:44 +00:00
FossFanatic
b4d41d1284
Prepare some things for future additions
...
Adds a couple of lines of code in preparation for when I try to add biome coloured potted ferns, which currently use a fixed colour instead of the biome's colour.
2023-03-05 12:45:44 +00:00
FossFanatic
e82ff4781a
Add grass palette nodes in a special group
...
This commit adds any nodes which make use of a grass palette to a `grass_palette` group, to avoid having to create a list of said nodes every time.
2023-03-05 12:45:44 +00:00
ancientmarinerdev
a116c67dcd
Reduce size of Jester tracks
2023-03-04 20:22:04 +00:00
ancientmarinerdev
1937241a71
Fix logging
2023-03-04 20:22:04 +00:00
ancientmarinerdev
10fa91cc42
Adding the first 4 Jester trackers made for MineClone2
2023-03-04 20:22:04 +00:00
ancientmarinerdev
83ff2f1754
Enable expansion of music choices
2023-03-04 20:22:04 +00:00
SmokeyDope
551b0c31bb
Change glowing item frame inventory image to "mcl_itemframes_glow_item_frame.png"
...
"mcl_itemframes_glow_item_frame_border.png" "mcl_itemframes_glow_item_frame_item.png" and "mcl_itemframes_glow_item_frame" are all the same image, can save a few kilobytes by editing the glowing item frame code to just use one and removing the other two of them.
2023-03-04 18:13:24 +00:00
FossFanatic
dbbac7962d
Fix the seagrass param2 and more
2023-03-04 15:42:37 +00:00
FossFanatic
c0f52ad344
Fix maps to display coloured foliage and water
2023-03-04 13:47:51 +00:00
FossFanatic
8a408a5c7f
Remove old .json file
2023-03-04 13:47:51 +00:00
ancientmarinerdev
a25cced40e
Remove comment now resolved
2023-03-04 02:18:36 +00:00
ancientmarinerdev
86a85bb487
Fix spawn egg crashes in different dimensions
2023-03-04 01:38:51 +00:00
anarquimico
8c4f2fdd7b
TP to dark spots only on the overworld
2023-03-03 21:55:56 -03:00
ancientmarinerdev
48fa2608ed
Merge pull request 'spawn-egg-crash-fix' ( #3492 ) from GuyLiner/MineClone2:spawn-egg-crash-fix into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3492
2023-03-04 00:34:45 +00:00
PrairieWind
2f10a8767b
Beehives only go into inventory in creative when no beehive exists in the inventory
2023-03-03 23:05:18 +00:00
PrairieWind
c71aec6f9d
Add beehives and bee nests to inventory in creative
2023-03-03 23:05:18 +00:00
PrairieWind
493839cf11
Disable beehive/nest drops in creative
2023-03-03 23:05:18 +00:00
anarquimico
c37aad26c3
Make hoppers push items to minecarts
2023-03-03 16:13:49 -06:00
anarquimico
a3ab67cb55
Better fix for enderman behavior
2023-03-03 10:03:26 -03:00
anarquimico
7cbeae00cc
Fix enderman behaviour for other dimesions
2023-03-02 10:22:08 -03:00
anarquimico
16a4448c5f
Performance improvement 2
2023-03-02 09:57:33 -03:00
anarquimico
5093f31f28
Performance improvement
2023-03-02 09:20:00 -03:00
anarquimico
8825fb9860
Removes unnecessary commentary
2023-03-02 08:32:52 -03:00
anarquimico
d0022db2a5
Make enderman hostile towards endermites
2023-03-02 08:28:06 -03:00
anarquimico
6bdc0f032f
Fixed for river_water_logged_roots
2023-03-01 19:22:27 -07:00
anarquimico
0aa3c52263
Make it work with river water
2023-03-01 19:22:27 -07:00
anarquimico
f4c26fb578
Change the mangrove roots to a water logged roots after using a bucket with water on it
2023-03-01 19:22:27 -07:00
epCode
dc9407701e
fix crash skeleton jockey code
2023-02-28 17:46:21 +00:00
epCode
e48dabc8be
Create the Jockey api and use it on Skel/Spid
2023-02-28 17:46:21 +00:00
FossFanatic
a457853938
Improve code relating to vines
...
This commit makes the LBM and `register_on_generated` for foliage now use the better calculation for the vines.
2023-02-27 20:25:36 +00:00
FossFanatic
4659d1a0f1
Add function for colorwallmounted node rotation
...
This commit adds a new utility function which helps find the rotation of `colorwallmounted` nodes.
2023-02-27 20:25:36 +00:00
FossFanatic
fedae4fdd0
Fixed warped wart using stripped stem side texture
2023-02-27 17:51:14 +00:00
GuyLiner
cafc16c41c
Fix #3484
...
If a mob was not found in the spawn_dictionary or the non_spawn
dictionary and you tried to use a spawn egg to spawn that mob, the game
would crash. This commit prevents that from happening by adding a check
for mobs that don't exist, and minetest.log throws an error.
2023-02-26 11:22:21 -05:00
GuyLiner
14039290a9
Added mobs that were missing from non_spawn_specific()
2023-02-26 11:06:38 -05:00
SmokeyDope
f174b733ce
Add sounds to cartography table
2023-02-25 11:46:33 +00:00
SmokeyDope
b4f747bd84
Add dependencies for cartography table
2023-02-25 11:44:56 +00:00
SmokeyDope
0351556a2e
Add sounds to loom
2023-02-25 11:40:45 +00:00
SmokeyDope
182f9b5dc2
Add dependencies for loom
2023-02-25 11:39:38 +00:00
SmokeyDope
bd4eb01a46
Add sounds to fletching table
2023-02-25 11:31:14 +00:00
SmokeyDope
5c25901433
Add dependencies for fletching table
...
required to get sound working
2023-02-25 11:29:55 +00:00
SmokeyDope
2d6e1c61a2
Add placement sound to lectern
2023-02-25 10:59:05 +00:00
FossFanatic
d83c6fe906
Merge pull request 'Dry Biome Rain Fixes' ( #3472 ) from dry_biome_rain_fixes into master
...
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3472
Reviewed-by: Nicu <kneekoo@noreply.git.minetest.land>
2023-02-25 08:27:38 +00:00
FossFanatic
65b1fd163b
Fix fatal typo
...
This typo caused the game to crash, instead of spitting out an error message as it was supposed to.
2023-02-22 13:05:18 +00:00
FossFanatic
61ee14b1a6
Fix rain issues in dry biomes
...
This commit adds an extra check at the ABMs which prevent the rain from affecting dry biomes, even though there isn't supposed to any rain there.
2023-02-21 10:12:29 +00:00
FossFanatic
8060b02cbd
Add extra check to guarantee no nil values
2023-02-19 07:49:09 +00:00
FossFanatic
693d40b6c4
Fix villages generating with incorrect water
...
This commit fixes an issue where villages would generate with water which wasn't of the correct biome.
The new function simply looks for water source nodes around the entire village and replaces any it finds with the same node, except with blank params so that the `on_construct` of the newly placed water source node gets called.
2023-02-18 13:51:31 +00:00
FossFanatic
ecfbb1ae07
Fix waterlogged mangrove roots textures
2023-02-18 08:54:57 +00:00
FossFanatic
14e630a1e2
Fix cauldron water textures
2023-02-18 08:53:36 +00:00
FossFanatic
62afbb4509
Remove reference to removed texture
2023-02-18 08:42:21 +00:00
FossFanatic
33bbeb1a4d
Improve river water
2023-02-18 08:27:22 +00:00
FossFanatic
d3253ecf4f
Change small part of buckets code
2023-02-18 08:25:47 +00:00
FossFanatic
0abda8ff20
Add new function for water nodes
2023-02-18 08:25:08 +00:00
FossFanatic
9bb3d8311b
Append stuff to the new function
2023-02-18 08:24:12 +00:00
FossFanatic
686bb38546
Add lbm and register_on_generated for water
2023-02-18 08:23:40 +00:00
FossFanatic
c4f6944a03
Add water palette indexes and waterfog to the code
2023-02-18 08:22:56 +00:00
FossFanatic
c1647a5cce
Improve underwater sky colour code
2023-02-18 08:22:04 +00:00
FossFanatic
624c853cb3
Improve water
2023-02-18 08:21:24 +00:00
GuyLiner
f39cec2442
Added slime_big to non_spawn_specific instead of creating an exception for them in spawning.lua
2023-02-16 20:48:30 -05:00
GuyLiner
e99a46b52d
Removed comment
2023-02-16 20:48:30 -05:00
GuyLiner
cd1c8bd92e
Refactored logic for getting light levels for mobs
...
Removed mob_light_table, simplied loop, changed return values and
fixed dimension priority error in loop. Slimes also don't have a
hardcoded exception for their light levels anymore, and instead
are apart of spawn specific.
2023-02-16 20:48:28 -05:00
GuyLiner
3830171347
Adjusted mob_light_lvl for changed return value
2023-02-16 19:43:50 -05:00
GuyLiner
48b16a23b6
If player in creative mode, don't drop experience from destroyed spawners
2023-02-16 19:43:50 -05:00
GuyLiner
0a9be4b79c
Added light level parameters to the mobs_mcl.setup_spawner() function, fixing #221
...
There is now a call to mcl_mobs:mob_light_lvl that returns a table for the name of the mob that you pass to it that contains
the light levels for that mob.
2023-02-16 19:43:50 -05:00
GuyLiner
540319d948
Added non_spawn_dictionary and function for getting mob light levels
...
The non_spawn_dictionary will cover all mobs that don't spawn naturally, and holds the the minimum and maximum light values for each of them.
A function has also been created that will go through both the spawn_dictionary and the non_spawn_dictionary and determine which one
a mob exists in, with the execption of slimes which cannot spawn from a custom spawner at the moment.
Mobs who don't have light levels for the world that you are currently trying to set your custom spawner in will default to their overworld values
2023-02-16 19:43:50 -05:00
GuyLiner
fbb2923a0b
Added mcl_mobs:non_spawn_specific function for mobs that don't naturally spawn and for mobs that don't spawn in the overworld
2023-02-16 19:43:50 -05:00
ancientmarinerdev
4d61e32021
Clean up error handling
2023-02-16 23:15:55 +00:00
ancientmarinerdev
7c602ce82c
Tidy up error handling.
2023-02-16 23:15:55 +00:00
ancientmarinerdev
ae92c51155
Adding error handling to the mob step function
2023-02-16 23:15:55 +00:00
ancientmarinerdev
b23fc6d23d
Merge branch 'master' into biome_colored_foliage
2023-02-16 22:14:40 +00:00
FossFanatic
68e6965dd0
Remove excessive functions and change the appropriate stuff
2023-02-16 18:09:39 +00:00
FossFanatic
7d642c9929
Remove the tab before the curly bracket
2023-02-16 17:25:21 +00:00
FossFanatic
406b27852b
Improve the new function somewhat
2023-02-16 07:54:00 +00:00
emptyshore
b121d0f804
Prevent placement of fire into nodes above water
...
This addresses the edge case where fire is set to the top of a non-water
block that represents water (such as kelp).
Note this is forbidding theoretically legitimate setups for fire over
water where fire is set to the side of a block diagonally from the
water.
Fire is still permitted next to water (so it can be set to the face of a
block diagonally from a water column).
2023-02-16 08:56:17 +13:00
FossFanatic
8f8385e4a1
Use metadata method to make player mangrove leaves
2023-02-15 18:29:56 +00:00
FossFanatic
17fc7a3256
Use metadata method to make player leaves
2023-02-15 18:29:18 +00:00
ancientmarinerdev
ba708010a2
Fix incorrect crimson texture issue
2023-02-15 16:23:08 +00:00
Michieal
6601ecf788
Basic signs texture replacement.
2023-02-15 14:52:00 +00:00
Michieal
660c85dddc
Changed mcl_buckets' image use to be named properly. This fixes issue #3455
2023-02-15 14:52:00 +00:00
Michieal
2d0b4dd8f7
Finished mcl_crimson.
2023-02-15 14:52:00 +00:00
FossFanatic
10d9eb2980
Upload files to 'mods/MAPGEN/mcl_mapgen_core'
2023-02-15 12:23:58 +00:00
FossFanatic
3d9df5c797
Fix issue with vines in certain biomes
...
This commit removes some excessive checks which caused vines to not get a biome colour in certain biomes at certain rotations.
2023-02-15 12:20:15 +00:00
FossFanatic
f919f73c24
Improve some code
2023-02-14 18:14:10 +00:00
FossFanatic
319beb91ce
Improve vines code
2023-02-14 18:11:43 +00:00
FossFanatic
bea9bbe212
Improve certain functions
2023-02-14 18:10:49 +00:00
FossFanatic
8fd40eaf46
Replace get_registered_biome_from_pos with get_palette_indexes_from_pos
2023-02-14 18:08:59 +00:00
FossFanatic
fcaa2c4ce1
revert 55478f6953
...
revert Fix crash with mapgen v6
2023-02-14 14:22:03 +00:00
FossFanatic
55478f6953
Fix crash with mapgen v6
2023-02-14 14:01:14 +00:00
FossFanatic
57882ae56a
Merge branch 'master' into biome_colored_foliage
2023-02-14 13:27:37 +00:00
FossFanatic
fee4ccf096
Convert old player leaves into new system
...
This commit adds a couple of lines to the `mcl_mapgen_core:fix_foliage_palette_indexes"` LBM, which ensures that player leaves which were placed before this update get converted into the new player leaves.
I would have included mangrove leaves, but decided against it because of an issue where the `param2` of mangrove leaves was accidentally set to 1 (in the schematics?). This meant that if I included mangrove leaves, the LBM would have converted the natural leaves as well.
This would have made it very tedious to clean up the leaves after chopping down a mangrove tree, since these would not rot by themselves.
2023-02-14 11:20:00 +00:00
FossFanatic
f653f47f26
Improve the new code somewhat
2023-02-14 08:36:49 +00:00
FossFanatic
7b7e213925
Fix mcl_util.get_registered_biome_from_pos(pos)
...
Adds something which was missing from the function.
2023-02-14 08:12:55 +00:00
PrairieWind
f62546a54f
Comment out crafting white and blue dye from lily of the valley and cornflowers respectively
2023-02-13 19:37:04 -07:00
PrairieWind
e3f14a3a99
Campfire API
2023-02-14 02:25:50 +00:00
ancientmarinerdev
6f98ba5118
Fix crimson mushroom naming issue
2023-02-14 02:00:19 +00:00
ancientmarinerdev
f6f812257e
Fix crimson name mismatch
2023-02-14 01:50:06 +00:00
Michieal
f05e976d18
changed comment.
2023-02-14 01:50:05 +00:00
Michieal
5533ec7bac
fix mobs losing their textures.
2023-02-14 01:50:05 +00:00
Michieal
b66e2a117f
fix json reading error.
2023-02-14 01:50:05 +00:00
Michieal
1e61fc3069
Fixed "mcl_crimson_mcl_crimson" issue.
...
Fixed colors.json stupidity.
2023-02-14 01:50:05 +00:00
Michieal
ef30646788
Changed mcl_crimson - finished.
2023-02-14 01:50:02 +00:00
Michieal
70e4aaa3a7
Changed mcl_crimson part 1.
2023-02-14 01:48:11 +00:00
Michieal
8bfa55fa7a
Changed Salmon, Glow Squid, Cod, Cartography Table, Awards_Axolotl, Armor_Stand_Item. Glow-Ink_sac.
2023-02-14 01:43:16 +00:00
FossFanatic
aeddb7675f
Don't run LBMs at every load
...
This commit makes it so the LBMs don't run at every load.
This commit also adds some new `minetest.register_on_generated()` code, which should ensure that any newly generated mapblocks have the correct foliage colours.
2023-02-13 18:50:26 +00:00
FossFanatic
2ccfd89379
Add nil checks
2023-02-13 15:49:19 +00:00
FossFanatic
3a24903a01
Add nil check
2023-02-13 15:46:45 +00:00
FossFanatic
abdd5e11c0
Shorten code slightly
2023-02-13 15:46:08 +00:00
FossFanatic
e17fab385b
Add nil checks
2023-02-13 15:44:23 +00:00
FossFanatic
17cae6896e
Add back the logical code?
...
My gut feeling tells me that it is somehow a bad idea to have removed this.
2023-02-13 11:17:51 +00:00
FossFanatic
1c84bc6572
Put all affected grass blocks in a local
...
This commit puts all nodes which make use of the grass palette in a local, to make for less messy code.
2023-02-13 10:33:47 +00:00
FossFanatic
4d29fab932
Improve some trees code
2023-02-13 10:22:28 +00:00
FossFanatic
a2087b19a5
Delete rogue file
2023-02-13 10:20:48 +00:00
PrairieWind
5da6c25ccf
Fix cornflower biomes and change seed values for cornflowers and lilies of the valley
2023-02-12 23:29:02 +00:00
PrairieWind
b79f74c390
Update Translation Template for flowers
2023-02-12 23:29:02 +00:00
PrairieWind
06f47a0756
Add Cornflowers
...
Evidently I didn't include the lily texture in the lily of the valley commit, so it is in this one. Again, lily of the valley texture by Nicu
2023-02-12 23:29:02 +00:00
PrairieWind
ff79af26e4
Add Lily of the Valley Flower
...
Awesome Lily Texture by Nicu
2023-02-12 23:29:02 +00:00
ancientmarinerdev
e3c8d995b5
Finish clean up#
2023-02-12 22:48:20 +00:00
ancientmarinerdev
b8b45210e9
Clean up and remove old code
2023-02-12 22:48:20 +00:00
ancientmarinerdev
a1f10205f6
Init age on plant so not all kelp grow to top of ocean
2023-02-12 22:48:20 +00:00
ancientmarinerdev
6f7505b6c6
Change kelp to use ABMs to solve performance issues
2023-02-12 22:48:20 +00:00
FossFanatic
c88f0047c1
Merge branch 'master' into biome_colored_foliage
2023-02-12 08:44:29 +00:00
FossFanatic
0400d9a2a5
Even further improvements to some foliage code
2023-02-12 08:28:21 +00:00
FossFanatic
3590ff6dfb
Improve some LBM code
2023-02-12 08:23:19 +00:00
FossFanatic
d1ceacf7ba
Improve some vines code
2023-02-12 08:22:07 +00:00
FossFanatic
a70a6ef13d
Improve some foliage code
2023-02-12 08:21:14 +00:00
FossFanatic
b4e84dadb0
Add new function
...
Adds the `get_registered_biome_from_pos` function, which does what the name says.
2023-02-12 07:57:04 +00:00
PrairieWind
194ff53400
Make sea pickles smelt into lime dye
2023-02-12 01:09:25 +00:00
ancientmarinerdev
9445e10834
Pathfinding optimisations and villager has earlier bed time
2023-02-11 10:36:56 +00:00
FossFanatic
81dbdaab94
Adjust palette foliage check
...
The excessive 128 blocks high check has been changed to now check only up to 30 blocks, since the tallest 2x2 jungle tree I seemed to get was only 29 blocks tall.
I also discovered that the search area wasn't wide enough, so sometimes the most outer leaves avoided the check. I also adjusted that.
2023-02-11 07:53:12 +00:00
ancientmarinerdev
2fd7f8c69f
Fix hungry sheep and hyrdophobic passive mobs
2023-02-11 00:37:16 +00:00
ancientmarinerdev
d4c2802afb
Implement review/testing feedback
2023-02-10 19:01:29 +00:00
ancientmarinerdev
bf50a17f2e
Limit spawning of mobs outside y axis as well
2023-02-10 19:01:29 +00:00
ancientmarinerdev
b817c079ba
Improve balancing for early game
2023-02-10 19:01:29 +00:00
ancientmarinerdev
cfa276f722
Add settings for percentage of hostile and peaceful groups spawned
2023-02-10 19:01:29 +00:00
ancientmarinerdev
86b1d8bc3e
Add world gen limits to spawning to avoid things spawning past the world gen limits
2023-02-10 19:01:29 +00:00
ancientmarinerdev
9c2f43a242
Limit peaceful spawning and add configurable option
2023-02-10 19:01:29 +00:00
ancientmarinerdev
044a91e831
Change spawn cap groups to spawn_type to give water it's own spawn cap.
2023-02-10 19:01:29 +00:00
ancientmarinerdev
106979e64a
Clean up
2023-02-10 19:01:29 +00:00
ancientmarinerdev
4482068211
Nerf group spawning until group spawn is based on pack size, not per spawn attempt
2023-02-10 19:01:29 +00:00