Commit Graph

  • 527f7d78f9 Fix item duplication bug, drop spears that start sliding teknomunk 2024-11-16 08:51:38 -0600
  • 00e61a453b Remove debug print, remove dead code, replace magic numbers in tool uses with uses.* teknomunk 2024-11-15 18:33:51 -0600
  • ddfb7c89b5 Remove old spear implementation, make spears drop as an item when removed teknomunk 2024-11-15 18:11:40 -0600
  • 7fbe6fd5e4 Start rewriting spears using vl_projectile API teknomunk 2024-11-15 17:44:07 -0600
  • ce86860910 Reworked hammer crushing the-real-herowl 2024-09-29 21:01:45 +0200
  • df7b888238 Added spears the-real-herowl 2024-04-27 21:04:49 +0200
  • a02a0026b8 Resolve merge conflict teknomunk 2024-06-08 06:33:15 -0500
  • cbcb71d73a Added hammers the-real-herowl 2024-04-27 18:01:32 +0200
  • 352ebb3b32 Rework projectile pickup code (to prevent item duplication bugs), always update _last_pos, short circuit processing behaviors if the entity was removed by a behavior but didn't report it projectile-refactor teknomunk 2024-11-16 08:53:36 -0600
  • cc5c3dda83 Fix crash when respawning teknomunk 2024-11-16 08:16:36 -0600
  • 95bcf86cbd mob attack tweaks kno10 2024-11-10 01:40:30 +0100
  • 1bc24999b4 fix child == true when child = 1 kno10 2024-11-10 00:46:43 +0100
  • 3adbd63fd6 More tweaks to pathfinding kno10 2024-10-29 00:28:48 +0100
  • 76d67ba941 Make villagers hurry for long paths and night kno10 2024-10-28 23:54:41 +0100
  • 304b83d7ac avoid trivial fences, open some fence gates kno10 2024-10-28 23:51:11 +0100
  • 73a303ac83 Improve starting and end point of pathfinding. kno10 2024-10-28 22:07:30 +0100
  • f629a92e92 pathfinding improvements kno10 2024-10-28 17:58:02 +0100
  • 1e5139a09d Improve danger avoidance code. kno10 2024-09-28 03:03:47 +0200
  • 3ff229224b fix and optimize Fleckenstein kno10 2024-09-28 02:26:36 +0200
  • 9b2d0d1b32 small code cleanups kno10 2024-09-26 17:32:17 +0200
  • de60029d1a also cleanup mount.lua kno10 2024-09-25 20:38:59 +0200
  • cf274dba4a some more cleanups, from code review kno10 2024-09-18 14:25:34 +0200
  • fa9bde370b code cleanups kno10 2024-10-27 19:24:40 +0100
  • 935fc15770 movement improvements, door opening kno10 2024-10-27 19:23:00 +0100
  • 63198c6f9b further movement tweaks kno10 2024-07-19 13:19:09 +0200
  • 92aad6fd9a Movement and path finding improvements. kno10 2024-07-15 02:31:21 +0200
  • b58e5dedee Mob pushing improvements kno10 2024-07-14 19:03:26 +0200
  • 71fe8bf146 add and use turn_by/turn_in_direction methods kno10 2024-07-13 16:46:50 +0200
  • cf73d64550 reduce code duplication, add mob:stand() kno10 2024-07-13 16:04:04 +0200
  • a0bce0d2fd cleanups kno10 2024-07-13 15:55:53 +0200
  • 6f4a82cf9e fix delay=0 in combat code, tune turning parameters kno10 2024-07-09 13:51:45 +0200
  • 995972bb40 More help getting out of water kno10 2024-07-08 00:10:53 +0200
  • f0add79a8d More movement code cleanups. kno10 2024-07-07 17:24:40 +0200
  • d060ec65a9 More cleanup and improvements to movement code kno10 2024-07-05 17:48:05 +0200
  • 4b47eb304e More movement code improvements. kno10 2024-07-05 13:29:31 +0200
  • 6d7ceb37ce Try to reduce how much mobs fall off cliffs. kno10 2024-07-01 21:36:30 +0200
  • 2d4f5a4518 Rewrite the head swivel code math head-swivel2 kno10 2024-11-11 17:29:07 +0100
  • 621bb41c73 Some optimizations for mapgen kno10 2024-08-04 01:34:19 +0200
  • ca2912a0cb Tweaks kno10 2024-11-12 14:07:18 +0100
  • 2df62db430 Let arrows stick in players teknomunk 2024-11-15 19:31:30 -0600
  • bdd44a62ee Implement mcl_util.remove_entity() and convert projectile code to use it teknomunk 2024-11-15 18:19:41 -0600
  • 6ec3770b6e Add pitch and yaw offset support to vl_projectile teknomunk 2024-11-15 17:45:05 -0600
  • d79c6b5694 Reworked hammer crushing hammers_spears the-real-herowl 2024-09-29 21:01:45 +0200
  • bfa2d4d11f Added spears the-real-herowl 2024-04-27 21:04:49 +0200
  • e072a6c172 Resolve merge conflict teknomunk 2024-06-08 06:33:15 -0500
  • b33f7974ad Added hammers the-real-herowl 2024-04-27 18:01:32 +0200
  • ba4d09a4c6 Correct self-collision for lingering/splash potions teknomunk 2024-11-15 06:42:57 -0600
  • 2b3d055ca7 Merge branch 'master' into norwegian-bokmål-localization Bloodaxe 2024-11-15 00:48:44 +0100
  • 2c3659b355 Add server lag tracking to mcl_player global step, maintain an index of lightning attractors in mod storage for mcl_lightning_rods and use this instead of minetest.find_node_near during lightning strikes, modify node definition to allow for additional lightning attractors optimize-lightning teknomunk 2024-04-02 07:00:10 +0000
  • bc3e2ebd72 Make vl_projectile use mcl_util.deal_damage teknomunk 2024-11-14 06:50:46 -0600
  • 4731ae64f0 Fix condition on node collision for mob projectiles teknomunk 2024-11-14 06:36:49 -0600
  • 7867168c41 Correct damage for mob projectiles teknomunk 2024-11-14 06:25:30 -0600
  • a6363f779f 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() teknomunk 2024-11-13 22:02:58 -0600
  • 2c8f22c511 Fix crash when firing rocket arrows teknomunk 2024-11-13 20:59:07 -0600
  • b410c6e658 Remove debug minetest.log() teknomunk 2024-11-13 20:48:58 -0600
  • 9a55986c8f Increase off-rail friction, make off-rail carts shake, remove debug print teknomunk 2024-11-12 06:22:08 -0600
  • 173e17e37c adjust fox jump height to new scale kno10 2024-11-12 13:15:47 +0100
  • b8250e4dcc 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 teknomunk 2024-10-24 06:39:37 -0500
  • ad9b84c5ac Remove debug dump, move maximum time to live to vl_projectile teknomunk 2024-10-20 21:01:33 -0500
  • 13af90b9a0 Document vl_projectile.replace_with_item_drop teknomunk 2024-10-20 20:47:47 -0500
  • 882e6d42e5 Move projectile stick logic into vl_projectile teknomunk 2024-10-20 15:42:00 -0500
  • 1cec108d50 Move tracer to vl_projectile teknomunk 2024-10-20 13:31:29 -0500
  • ec9bc01c80 Change mcl_bows to use standard vl_projectile on_step handler, move burning behavior to vl_projectile teknomunk 2024-10-20 13:15:47 -0500
  • 44769c24c5 Move arrow-node logic out of mcl_bows/arrow.lua and into the node definitions under _vl_projectile.on_collide teknomunk 2024-10-20 12:36:11 -0500
  • 36a3ac44f3 Remove secondary collision check in mcl_bows/arrow.lua (it was just hitting grass) teknomunk 2024-10-20 07:18:59 -0500
  • 5f48024c9d Remove code with no effect other than emitting a warning teknomunk 2024-10-11 14:07:37 -0500
  • 8913de9b26 Resolve luacheck findings teknomunk 2024-09-29 06:38:41 -0500
  • c5ea7ff707 Fix crashes in mcl_throwing teknomunk 2024-09-27 20:14:28 -0500
  • 99247e5f25 Fix crash when hit with an arrow that is not piercing teknomunk 2024-09-27 20:09:37 -0500
  • 0991c0c130 Rockets and piercing arrows fixed the-real-herowl 2024-09-28 01:49:25 +0200
  • b81d5e1a31 Fix throwables' punch allow check the-real-herowl 2024-09-28 00:17:01 +0200
  • 0cbe304c87 Fixed abnormal skull rotation the-real-herowl 2024-09-28 00:00:01 +0200
  • f594473276 Fixed wither skulls the-real-herowl 2024-09-27 23:34:29 +0200
  • ef60cd8559 Add attribution with exact links for minetest code teknomunk 2024-09-25 05:16:42 -0500
  • e49f7a5da7 Add hook to allow piercing enchantment to be implemented teknomunk 2024-09-24 07:00:03 -0500
  • c33048cbc9 Fix chick spawning in the presence of a functional has_room() check teknomunk 2024-09-24 06:52:36 -0500
  • 38852badb1 Fix dispenser arrows so they hit players and entities, minetest.register_entity -> vl_projectile.register for mcl_throwing:egg teknomunk 2024-09-23 21:36:50 -0500
  • e4e1c40dbb Make egg and snowball stack count match master teknomunk 2024-09-23 19:40:11 -0500
  • 6025678cf2 Prevent dereferencing nil in wither.lua, fix minor typo in debug statement teknomunk 2024-09-23 19:31:09 -0500
  • 351df85ed6 Add workarround for random velocity change of particles on creation teknomunk 2024-09-22 08:49:18 -0500
  • e3a78a99dc Make sure a projectile sets on fire the thing it collided with teknomunk 2024-09-22 08:36:42 -0500
  • c6376f09e6 Stop wither from shooting itself teknomunk 2024-09-22 07:33:33 -0500
  • 92f953ac53 Fix player-mcl_throwing collisions, fix chick spawning on egg collisions, luacheck fixes teknomunk 2024-09-22 07:04:20 -0500
  • 07ebebdc48 Fix unintentional collision box change teknomunk 2024-09-21 19:24:39 -0500
  • 76d654762a Fix luacheck findings for this PR: remove unused variables, remove overwritten value, add missing dependencies, fix undefined variable usage teknomunk 2024-09-21 19:21:25 -0500
  • 26062a9d26 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 teknomunk 2024-09-17 21:07:24 -0500
  • 9c11d0ce92 Allow mob projectiles to hit their owner after 2 seconds (used by ghast fireball) teknomunk 2024-09-15 20:00:19 -0500
  • 86a77284fa Make snowballs have the same collision conditions as before teknomunk 2024-09-15 19:43:21 -0500
  • 17ed8ffa3a Undo conversions to use mcl_bows:arrow_entity and use arrow_item.."_entity" like master teknomunk 2024-09-15 19:27:18 -0500
  • 65ccd551ae Convert flying bobber to vl_projectile, modify mcl_throwing.register_throwable_object() to check for _vl_projectile field teknomunk 2024-09-15 19:12:21 -0500
  • b17c16804d Remove redundant check teknomunk 2024-09-14 19:04:39 -0500
  • d2676da152 Correct behavior when ignore_gravity flag is true, fix mob projectile velocity calculation, add missing entity_def lookup teknomunk 2024-09-11 08:34:05 -0500
  • d195066d94 Convert mcl_mobs.register_arrow() to use vl_projectile, tested only with shulker bullet so far teknomunk 2024-09-10 09:04:36 -0500
  • 355e9ab149 Restore tipped arrow entity registration as near copy of mcl_bows:arrow_entity teknomunk 2024-09-10 07:43:24 -0500
  • ec63fcd1bc Small optimization for calculating _allow_punch teknomunk 2024-09-09 10:08:44 -0500
  • 610042be71 Remove unnecessary vectory copy teknomunk 2024-09-09 07:02:21 -0500
  • ff0128394d Make splash, lingering and othe projectiles hit players teknomunk 2024-09-09 06:58:31 -0500
  • 0270ce8a8d Stop minimum draw arrows from hitting player that shot them teknomunk 2024-09-09 06:47:45 -0500
  • 6d75fc2f41 Prevent collisions with entities until projectile is at least one node from where it started (to prevent always hitting yourself), modify mcl_bows.shoot_arrow() and mcl_bows_s.shoot_arrow_crossbow() to use vl_projectile.create(), fix projectiles damaging players teknomunk 2024-09-09 06:36:46 -0500
  • 2127edf195 Inline dir_to_pitch() and use correct formula for pitch teknomunk 2024-09-08 16:29:29 -0500