teknomunk
4656717c56
Fix diagonal movement
2024-12-31 02:36:18 +01:00
teknomunk
262063cc7c
Add diagonal track movement on zig-zag track, rewrite mcl_minecarts:get_rail_direction
2024-12-31 02:36:18 +01:00
teknomunk
acd6b03371
Make TNT minecarts available in creative menu
2024-12-31 02:36:18 +01:00
teknomunk
15584dad88
Implement custom item dropper handlers, implement droppers placing minecarts
2024-12-31 02:36:18 +01:00
teknomunk
121550a635
Hopper minecarts pull from containers above rail
2024-12-31 02:36:18 +01:00
teknomunk
3745a27f8c
Rework in preparation to add code to pull from containers into the hopper minecart
2024-12-31 02:36:18 +01:00
teknomunk
bfe09c7c3f
Move fiction constant to top of file, suppress cart flips when direction reverses due to gravity or end of track
2024-12-31 02:36:18 +01:00
teknomunk
5441a23570
Add code to reattach carts to rail when data corruption occurs, fix bug in last commit that caused carts to bury into the ground
2024-12-31 02:36:18 +01:00
teknomunk
6b37618b72
Remove dip into the ground that occured when gravity caused the cart to reverse directions
2024-12-31 02:36:18 +01:00
teknomunk
8709ba7be8
Implement gravity, move orientation update to own function, fix cart stopping in process_acceleration
2024-12-31 02:36:18 +01:00
teknomunk
2e78e9cdad
Change connected railcar behavior to fix unreliable end of track stopping, set maximum acceleration of powered rails to 8 blocks per second (per https://minecraft.fandom.com/wiki/Powered_Rail ), stop powered rails from powering the block underneath it (allows below rail hopper to work while the rail is powered like in https://www.youtube.com/watch?v=szjO0-duTAk ), modify mcl_hoppers to allow triggering a hopper pull once the minecart is stopped on top of the hopper and wait before allowing the cart to move to allow redstone circuits time to process
2024-12-31 02:36:18 +01:00
teknomunk
f082e4a554
Make minecart always stop at correct location at end of track, fix crash when placing chest minecart after changing how staticdata is handled
2024-12-31 02:36:18 +01:00
teknomunk
05aef66668
Modify do_movement_step to move to always move to the edge of the current rail segment before updating the direction to prevent oscillations at corners, fix end of track stop location with new movement behavior, disable experimental controls, swap code to detach the driver on float with a call to detach_driver()
2024-12-31 02:36:18 +01:00
teknomunk
960192024f
Add DEBUG flag, stop small do_movement_step's from occuring (this improves but doesn't eliminate the bug I with the a6be179ed commit), add recovery when staticdata field gets lost
2024-12-31 02:36:18 +01:00
teknomunk
70aa9004be
Fix initial_properties for minecarts
2024-12-31 02:36:18 +01:00
teknomunk
0c46c2fcc2
Change left,right and back vectors to matrix math results with no branching
2024-12-31 02:36:18 +01:00
teknomunk
c489e0c380
Remove now unused properties from minecart definition, convert more vectors to use vector.new syntax
2024-12-31 02:36:18 +01:00
teknomunk
d9d5245d59
Complete rewrite of minecart movement that resolves https://git.minetest.land/MineClone2/MineClone2/issues/2446 and https://git.minetest.land/MineClone2/MineClone2/issues/247#issuecomment-50960 but has a bug where carts will synchronize movements that I am still investigating
2024-12-31 02:36:18 +01:00
teknomunk
d1550d9e84
Change staticdata serialization (with migration from old data), disable debugging code used to investigate https://git.minetest.land/MineClone2/MineClone2/issues/2446
2024-12-31 02:36:18 +01:00
teknomunk
087d5f0f64
Change to vector.new from {x=...}, relocate movement code to own function for future changes
2024-12-31 02:36:18 +01:00
kno10
28c0a3072c
set_yaw for shulker returns nil, causing a nil arithmetic error. ( #4775 )
...
Fixes a prevented crash error.
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4775
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-12-31 01:23:47 +01:00
kno10
cb1814f6ae
tooldef can be nil ( #4767 )
...
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4767
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-12-29 15:56:57 +01:00
the-real-herowl
14ec7fe98f
Fixed a crash
2024-12-29 08:09:33 +01:00
the-real-herowl
8a252342a5
Minor improvements
2024-12-29 08:09:33 +01:00
the-real-herowl
5b7c1a8d4c
Reworked hammer crushing
...
- crushing is now done by digging with a hammer
- cobble is now crushable
2024-12-29 08:09:33 +01:00
the-real-herowl
bf77996b57
Added spears
2024-12-29 08:09:33 +01:00
the-real-herowl
ce95290fa8
Added hammers
2024-12-29 08:09:33 +01:00
the-real-herowl
43539e1392
Make sure self.rotate is not nil before use ( #4759 )
...
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4759
Co-authored-by: the-real-herowl <wiktor_t-i@proton.me>
Co-committed-by: the-real-herowl <wiktor_t-i@proton.me>
2024-12-29 08:05:52 +01:00
kno10
631162e24c
Switch from deg to rad.
2024-12-27 10:48:00 +07:00
kno10
dd165ec0e9
Update to set_bone_override
2024-12-27 10:48:00 +07:00
teknomunk
7de503770f
Address review concerns
2024-12-25 11:52:24 +01:00
teknomunk
2732976404
Move fireball redirection service award check to ghast from fireball
2024-12-25 11:52:24 +01:00
teknomunk
60e3c139cc
Change mcl_mobs to use mcl_util.remove_entity() when killing mobs, add guard in vl_projectile against removed mobs
2024-12-25 11:52:24 +01:00
teknomunk
bb934d09ee
Break long lines, add space between functions in vl_projectile/init.lua
2024-12-25 11:52:24 +01:00
teknomunk
bc321ccae4
Add _vl_projectile.can_punch() to mob API and move hard-coded entity behavior from arrow to rover code
2024-12-25 11:52:24 +01:00
teknomunk
a2167e7dfc
Change to use nil radius in within_limits(pos,radius) check
2024-12-25 11:52:24 +01:00
teknomunk
88cd54a03b
Add reference to Projectile API documentatino from mob API documentation
2024-12-25 11:52:24 +01:00
teknomunk
0d8f7515c6
Update minetest->Luanti in affected documentation, update minetest. -> core. in affected code, factor out common subexpressions in mods/ITEMS/vl_projectile/init.lua
2024-12-25 11:52:24 +01:00
teknomunk
7c8da2eba7
Rework self.timer and _owner collision conditions
2024-12-25 11:52:24 +01:00
teknomunk
aa8cec9911
Implement mcl_util.remove_entity() and convert projectile code to use it
2024-12-25 11:52:24 +01:00
teknomunk
2fcd4ff69f
Fix condition on node collision for mob projectiles
2024-12-25 11:52:24 +01:00
teknomunk
1df10c8dd3
Correct damage for mob projectiles
2024-12-25 11:52:24 +01:00
teknomunk
efa6e7d2d0
Move arrow self-collision grace logic to vl_projectile then apply to mob projectiles and splash and linger potions, allow entity luaentity to be passed to mcl_util.get_entity_id()
2024-12-25 11:52:24 +01:00
teknomunk
2d56deacf6
Replace _puncher with _owner, rework projectile code to make _owner a string, copy mcl_util.gen_uuid() from minecart branch, add mcl_util.get_entity_id(), fix crash
2024-12-25 11:52:24 +01:00
the-real-herowl
515b5bc5c7
Fixed abnormal skull rotation
2024-12-25 11:52:24 +01:00
the-real-herowl
254b100fac
Fixed wither skulls
...
- wither skulls now hit players again
- wither skulls (strong version) don't cause a crash anymore
2024-12-25 11:52:24 +01:00
teknomunk
ee3ea9d3f5
Prevent dereferencing nil in wither.lua, fix minor typo in debug statement
2024-12-25 11:52:24 +01:00
teknomunk
642c474012
Stop wither from shooting itself
2024-12-25 11:52:24 +01:00
teknomunk
f9aa61ff5a
Fix unintentional collision box change
2024-12-25 11:52:24 +01:00
teknomunk
b821f3d72f
Fix luacheck findings for this PR: remove unused variables, remove overwritten value, add missing dependencies, fix undefined variable usage
2024-12-25 11:52:24 +01:00
teknomunk
b8fcc4c02e
Prevent projectiles from crashing server when removed when it punched something (wither skull hitting the wither will cause this), mark wither skull with _removed = true when death timer removes it
2024-12-25 11:52:24 +01:00
teknomunk
b23b16842c
Allow mob projectiles to hit their owner after 2 seconds (used by ghast fireball)
2024-12-25 11:52:24 +01:00
teknomunk
b339d5f13f
Remove redundant check
2024-12-25 11:52:24 +01:00
teknomunk
2864e8fa30
Correct behavior when ignore_gravity flag is true, fix mob projectile velocity calculation, add missing entity_def lookup
2024-12-25 11:52:24 +01:00
teknomunk
b4e6417b92
Convert mcl_mobs.register_arrow() to use vl_projectile, tested only with shulker bullet so far
2024-12-25 11:52:24 +01:00
kno10
e96bec0ad0
Fix strider spawning ( #4747 )
...
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4747
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-12-23 13:48:18 +01:00
kno10
2fb04076f8
fix inconsistent capitalization of Tropical fish
2024-12-19 08:47:40 +01:00
kno10
6f12e173aa
Improve extraction of strings, for banner colors and villagers
2024-12-19 08:47:40 +01:00
kno10
979105efbf
German translation updates
2024-12-18 21:30:19 +01:00
kno10
c73baa3886
German translation updates
2024-12-18 18:42:25 +01:00
kno10
3ecda2e70d
auto-update translation files
2024-12-16 01:16:32 +01:00
ethan
4db34098d9
Contributed simplified Chinese translations
2024-12-16 01:16:32 +01:00
Bloodaxe
7856f97f8e
Added all my localization files for Norwegian Bokmål
2024-12-16 01:16:32 +01:00
Bloodaxe
277a5d5857
Added mobs_mc.nb.tr
2024-12-16 01:16:32 +01:00
0ldude
6e3a5b53b1
tr mods/CORE & mods/ENTITIES to it [typo]
2024-12-16 01:16:32 +01:00
0ldude
3fd1b9d96f
tr mods/CORE & mods/ENTITIES to it
2024-12-16 01:16:32 +01:00
Peter Hartauer
88580d53b6
Initial Commit with translations
2024-12-16 01:16:32 +01:00
Mikita Wiśniewski
e42a863d92
Fix crash on mobs spawning in <5.9 ( #4737 )
...
This patches a copypaste blunder made in ef763e396c
.
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4737
Reviewed-by: kno10 <kno10@noreply.git.minetest.land>
Co-authored-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-committed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
2024-12-07 14:58:17 +01:00
villager8472
c6c5de7335
Fixed hoglins never dropping leather. ( #4736 )
...
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4736
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: villager8472 <gecko15x@gmx.de>
Co-committed-by: villager8472 <gecko15x@gmx.de>
2024-12-06 20:26:40 +01:00
kno10
f14ff83737
mob attack tweaks
2024-12-01 00:53:42 +01:00
kno10
6510ea4777
fix child == true when child = 1
2024-12-01 00:53:42 +01:00
kno10
932118f10b
More tweaks to pathfinding
2024-12-01 00:53:42 +01:00
kno10
4388152650
Make villagers hurry for long paths and night
2024-12-01 00:53:42 +01:00
kno10
5779be305c
avoid trivial fences, open some fence gates
2024-12-01 00:53:42 +01:00
kno10
86f4d8243d
Improve starting and end point of pathfinding.
2024-12-01 00:53:42 +01:00
kno10
f377f97348
pathfinding improvements
2024-12-01 00:53:42 +01:00
kno10
230cd5154c
Improve danger avoidance code.
2024-12-01 00:53:42 +01:00
kno10
54bc4f7545
fix and optimize Fleckenstein
2024-12-01 00:53:42 +01:00
kno10
a67938904e
small code cleanups
2024-12-01 00:53:42 +01:00
kno10
63c83cf440
also cleanup mount.lua
2024-12-01 00:53:42 +01:00
kno10
83cec7ed23
some more cleanups, from code review
2024-12-01 00:53:42 +01:00
kno10
084211d87e
code cleanups
2024-12-01 00:53:42 +01:00
kno10
5b27cb80fe
movement improvements, door opening
2024-12-01 00:53:42 +01:00
kno10
e78f5cdbe9
further movement tweaks
2024-12-01 00:53:42 +01:00
kno10
e4deb9c7b5
Movement and path finding improvements.
2024-12-01 00:53:42 +01:00
kno10
77c6c34d0e
Mob pushing improvements
2024-12-01 00:53:42 +01:00
kno10
b91f48b419
add and use turn_by/turn_in_direction methods
2024-12-01 00:53:42 +01:00
kno10
5eda59dc13
reduce code duplication, add mob:stand()
2024-12-01 00:53:42 +01:00
kno10
8c2289686d
cleanups
2024-12-01 00:53:42 +01:00
kno10
67055959c6
fix delay=0 in combat code, tune turning parameters
2024-12-01 00:53:42 +01:00
kno10
995f1386db
More help getting out of water
2024-12-01 00:53:42 +01:00
kno10
1ac53b9c2a
More movement code cleanups.
...
Closes #4506 #4502
2024-12-01 00:53:42 +01:00
kno10
114a7d2b17
More cleanup and improvements to movement code
2024-12-01 00:53:42 +01:00
kno10
33454d7545
More movement code improvements.
2024-12-01 00:53:42 +01:00
kno10
05d6a283a0
Try to reduce how much mobs fall off cliffs.
...
See #4464 and many more.
2024-12-01 00:53:41 +01:00
kno10
ef763e396c
Adjust bones, animations slightly from b3d data.
...
Initialize bones on spawn.
Note: to obatin bone values, try in Blender
"%.3f, %.3f, %.3f" % tuple((bpy.context.object.pose.bones["head.control"].head - bpy.context.object.pose.bones["head.control"].tail) * Vector((1,-1,1)))
or
"{0:.3f}, {1:.3f}, {2:.3f}".format(*(bpy.context.object.pose.bones["head.control"].head - bpy.context.object.pose.bones["head.control"].tail) @ bpy.context.object.pose.bones["head.control"].matrix * Vector((1,-1,1)))
2024-12-01 00:31:48 +01:00
kno10
c6c77766e3
Rewrite the head swivel code math
2024-12-01 00:31:48 +01:00
teknomunk
2f4e23e403
Add parenthesis for clarity, check pos before using, endermen->rovers in comment
2024-11-30 09:03:36 -06:00
teknomunk
835f97a61e
Add mcl_burning.is_affected_by_sunlight(), rework mob light/sunlight damage and burning code
2024-11-28 21:03:18 +01:00
teknomunk
42b7dc9ce8
Switch to using not mcl_burning.is_affected_by_rain()
2024-11-28 21:03:18 +01:00
teknomunk
a643424726
Specify rain damage for rovers
2024-11-28 21:03:18 +01:00
seventeenthShulker
ae263a19c9
Remove unnecessary raycast from rover (and use the mcl_burning api where we can)
2024-11-28 21:03:18 +01:00
seventeenthShulker
14a0546dce
Whoopsie
2024-11-28 21:03:18 +01:00
seventeenthShulker
dc8219fe31
Check mobs are not touching nodes in group:puts_out_fire
BEFORE burninating. Should fix the remaining flashing (see #3655 ).
2024-11-28 21:03:18 +01:00
seventeenthShulker
387b6941a9
Change burning API to check whether weather is actually happening (e.g. hot biomes)
2024-11-28 21:03:18 +01:00
seventeenthShulker
b976c535ae
Fix flashing fire on burning mob during rain/thunder
2024-11-28 21:03:18 +01:00
seventeenthShulker
ad21b3ecc3
Rovers now take damage and teleport away when it is thundering.
...
And fix somewhere else that ignored thunder.
2024-11-28 21:03:18 +01:00
teknomunk
b582afeb1f
Update documentation for Minetest rename to Luanti ( #4706 )
...
This updates the VoxeLibre documentation by replacing "Minetest" with "Luanti" and updating links.
Done:
* Update "Minetest" in documentation and comments to "Luanti"
* Update links to forums, ContentDB and Luanti project web page
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4706
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: teknomunk <teknomunk@protonmail.com>
Co-committed-by: teknomunk <teknomunk@protonmail.com>
2024-11-28 20:55:48 +01:00
kno10
fb3c85e289
Improve stalker textures ( #4674 )
...
- don't change back to default texture when falling, but rather keep the previous texture
- use a colorized default texture for gaps in the texture
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4674
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 12:02:20 +01:00
kno10
b540e6c77b
Improve head swivel code ( #4622 )
...
* Utilize the minetest 5.9.0 API that uses radians not degree.
* Simplify computations to make this more efficient, in particular by querying and updating the bone position less frequently.
* Resolves minetest warning `Deprecated call to set_bone_position, use set_bone_override instead` in this location, but other uses remain.
* `mcl_util.set_bone_position` not modified, because it redundantly compares to the previous rotation once more.
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4622
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 02:41:55 +01:00
kno10
ae7995d195
Fix axolotl attacking water mobs ( #4675 )
...
Also avoid jumping out of the water closes #4644
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4675
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: kno10 <kno10@noreply.git.minetest.land>
Co-committed-by: kno10 <kno10@noreply.git.minetest.land>
2024-10-27 14:10:11 +01:00
kno10
e293cbe631
Better handling of touching_ground for bouncing on beds ( #4689 )
...
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4689
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-10-27 14:03:50 +01:00
teknomunk
614518c6cd
Revert minetest.add_entity() -> mcl_mobs.spawn() from #4445 ( #4679 )
...
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4679
Reviewed-by: kno10 <kno10@noreply.git.minetest.land>
Co-authored-by: teknomunk <teknomunk@protonmail.com>
Co-committed-by: teknomunk <teknomunk@protonmail.com>
2024-10-08 15:34:30 +02:00
kno10
253a06fa08
Fix mob egg double-spawns ( #4657 )
...
If you spawn a mob clicking on a wall, two mobs will be spawned.
To reproduce: face a stack of stones, with a spawn egg click on the side of a stone. It does not happen when you click the top of a node, because spawning below fails and only the second one succeeds.
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4657
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: kno10 <kno10@noreply.git.minetest.land>
Co-committed-by: kno10 <kno10@noreply.git.minetest.land>
2024-09-30 19:21:40 +02:00
kno10
dcfd31d17a
Avoid random jumps when standing due to gravity (fewer villagers on the roofs) ( #4547 )
...
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4547
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-09-30 11:22:31 +02:00
teknomunk
0b62c827aa
Remove has_room debug data
2024-09-16 13:32:06 +02:00
teknomunk
626bdd13d8
Change several places where mobs are created to use mcl_mobs.spawn() instead of minetest.add_entity()
2024-09-16 13:32:06 +02:00
teknomunk
31a3788ce1
Address review comments
2024-09-16 13:32:06 +02:00
teknomunk
e65370b845
Fixes
2024-09-16 13:32:06 +02:00
teknomunk
6c50e0a82b
Fix volume used for room check during spawn, make mcl_mobs.spawn check for room before adding entity, change iron golems and mob spawners to use mcl_mobs.spawn
2024-09-16 13:32:06 +02:00
teknomunk
8ef08128b1
Add short circuit if sub-node space check isn't possible:
2024-09-16 13:32:06 +02:00
teknomunk
15efd00a29
Replace second call to minetest.find_nodes_in_area with checking top layer for matching nodes, change p2 calculation to use ceil(value) - 1, fix dx*dy*dz calculation
2024-09-16 13:32:06 +02:00
teknomunk
fa3df0d8c6
Add check for presence of minetest.get_node_boxes before attempting sub-node space checks
2024-09-16 13:32:06 +02:00
teknomunk
c41ce8ba59
Make spiders require 3x1x3 space to spawn
2024-09-16 13:32:06 +02:00
teknomunk
4d58f63485
Implement partial node spawning check
2024-09-16 13:32:06 +02:00
teknomunk
fa09b65010
Add most of the code for sub-node accurate spawning volume check (needs a function to calculate bounding box height of nodes)
2024-09-16 13:32:06 +02:00
teknomunk
d8d39ffd52
Add spawnbox parameter that overrides collision box for spawn volume checks
2024-09-16 13:32:06 +02:00
teknomunk
b6aafedf25
Fix space check function has_room() in mcl_mobs/spawning.lua so it allows spiderproofing
2024-09-16 13:32:06 +02:00
Mikita Wiśniewski
178cb9340d
Clean-up set_string(..., nil)
usage ( fixes #4639 ) ( #4641 )
...
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4641
Reviewed-by: kno10 <kno10@noreply.git.minetest.land>
Co-authored-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-committed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
2024-09-16 12:12:55 +02:00
kno10
66b7a52d47
Make zombies and skeletons not float ( #4512 )
...
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4512
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-09-15 23:14:10 +02:00
teknomunk
1707eef672
Fix two additional dependency issues
2024-09-15 22:25:44 +02:00
kno10
f9290c6493
drop entirely
2024-09-15 22:21:23 +02:00
kno10
52124bd201
FIX spawning
2024-09-15 22:21:23 +02:00
kno10
7d763b7257
more mob spawn code improvements
2024-09-09 20:33:03 +02:00
kno10
bdd3ae2cd8
avoid spawning ground mobs in shallow water
2024-09-09 20:33:03 +02:00
kno10
2e1df31399
Refactor and clean up spawn checks, optimize.
2024-09-09 20:33:03 +02:00
kno10
382a35bb44
delay biome check when spawning
2024-09-09 20:33:03 +02:00
kno10
6c38823606
More randomness for slime chunks ( #4466 )
...
Use a classic pseudo-random hashing approach, by multiplication of chunk numbers
with large primes that should be more random.
- make slime density (as 1 in N) and maximum light level (default: no limit) configurable
- Allow using a 3d chunking system where y is also used for hashing
This does *not* modify spawn frequency, only the chunk logic.
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4466
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-09-09 19:58:54 +02:00
JoseDouglas26
38822aba0a
Piglin brutes are not immune to fire and lava ( #4378 )
...
Thank you again WillConker
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4378
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-authored-by: JoseDouglas26 <josedouglas20002014@gmail.com>
Co-committed-by: JoseDouglas26 <josedouglas20002014@gmail.com>
2024-09-08 14:01:05 +02:00
kno10
d85febdb15
Cactus damage cleanup, drop redundant conditions ( #4625 )
...
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4625
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-09-08 05:21:42 +02:00
kno10
ebee85db7e
Fix incorrect usages of math.random ( #4621 )
...
random() does not support float arguments
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4621
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-09-07 14:58:12 +02:00
kno10
593a095a5f
Fix "generateImagePart" warning ( #4624 )
...
Placing the texture at -16 with width 16 means it is not used. At most -14 may be used (0 indexed, I believe) if you want to retain 2x2 pixels.
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4624
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: kno10 <kno10@noreply.git.minetest.land>
Co-committed-by: kno10 <kno10@noreply.git.minetest.land>
2024-09-05 09:31:03 +02:00
teknomunk
0a83c73fe0
Restore inadvertantly removed translations
2024-08-31 16:39:43 +02:00
teknomunk
e9632b5317
Start adding next round of German translations
2024-08-31 16:39:43 +02:00
kno10
12214c5bd6
Allow salmon, tropical fish, witch huts in rivers ( #4605 )
...
As witch huts use flag "liquid_surface", place_on only can be water. If we want on-shore witch huts, this needs to be solved differently.
Also, probably no witch huts in deep ocean swamp water?
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4605
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 10:16:43 +02:00
JoseDouglas26
95653a0676
ipairs to pairs
2024-08-27 13:11:08 +02:00
JoseDouglas26
b141f7c0a4
new special field to solve drop bug
2024-08-27 13:11:08 +02:00
THE-NERD2
86e3446407
Update mount.lua to fix horse riding problem ( #4580 )
...
Previously, horses would continue to move even after the movement key was released. This was because mcl_mobs.drive was returning before stopping the horse. This commit makes mcl_mobs.drive stop the horse before returning.
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4580
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-authored-by: THE-NERD2 <pdp9729@gmail.com>
Co-committed-by: THE-NERD2 <pdp9729@gmail.com>
2024-08-16 22:21:18 +02:00
kno10
77382d930e
Typo in setting name, default should be false ( #4492 )
...
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4492
Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-authored-by: kno10 <kno10@noreply.git.minetest.land>
Co-committed-by: kno10 <kno10@noreply.git.minetest.land>
2024-08-03 17:52:51 +02:00
OgelGames
0012bdb71e
Clear itemstring when picking up or merging items ( #4530 )
...
Prevents possible item duplication with other mods. Matches the behavior of the default `__builtin:item`.
See also https://github.com/mt-mods/pipeworks/issues/130
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4530
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: OgelGames <ogelgames@noreply.git.minetest.land>
Co-committed-by: OgelGames <ogelgames@noreply.git.minetest.land>
2024-07-31 03:26:28 +02:00