Commit Graph

  • d1acdf3a5b Remove debug logging hammers_spears_on_projectile_api teknomunk 2024-11-17 19:51:35 -0600
  • 5b3985f06f Wear spears when thrown, add spear recipe teknomunk 2024-11-16 15:27:31 -0600
  • f2de62f013 Add initial craft recipe for hammers teknomunk 2024-11-16 09:10:33 -0600
  • 569329da56 Fix item duplication bug, drop spears that start sliding teknomunk 2024-11-16 08:51:38 -0600
  • d2add19024 Remove debug print, remove dead code, replace magic numbers in tool uses with uses.* teknomunk 2024-11-15 18:33:51 -0600
  • a66880ea75 Remove old spear implementation, make spears drop as an item when removed teknomunk 2024-11-15 18:11:40 -0600
  • ab5b85772f Start rewriting spears using vl_projectile API teknomunk 2024-11-15 17:44:07 -0600
  • aa4fb97935 Reworked hammer crushing the-real-herowl 2024-09-29 21:01:45 +0200
  • ec4589e93d Added spears the-real-herowl 2024-04-27 21:04:49 +0200
  • 06012b5336 Resolve merge conflict teknomunk 2024-06-08 06:33:15 -0500
  • 0bb9980970 Added hammers the-real-herowl 2024-04-27 18:01:32 +0200
  • fbc2dd6ea0 Implement mcl_util.remove_entity() and convert projectile code to use it teknomunk 2024-11-15 18:19:41 -0600
  • d77783a717 Make stuck arrows stop processing all other behaviors teknomunk 2024-11-17 19:45:51 -0600
  • 92f781b68c Make it possible to pick up arrows in creative mode teknomunk 2024-11-17 19:41:57 -0600
  • 1c7d727286 Fix tipped arrow behavior, remove debug code teknomunk 2024-11-16 15:38:19 -0600
  • 9061df8adf 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 teknomunk 2024-11-16 08:53:36 -0600
  • a03aa6065b Fix crash when respawning teknomunk 2024-11-16 08:16:36 -0600
  • 6a1b8d0f09 Let arrows stick in players teknomunk 2024-11-15 19:31:30 -0600
  • 2fec9696b6 Implement mcl_util.remove_entity() and convert projectile code to use it teknomunk 2024-11-15 18:19:41 -0600
  • 27f0f8b52b Add pitch and yaw offset support to vl_projectile teknomunk 2024-11-15 17:45:05 -0600
  • 74ce69e3f0 Correct self-collision for lingering/splash potions teknomunk 2024-11-15 06:42:57 -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() minecart-update 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
  • 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
  • 9b9c370caa Address most of kno10's comments about mcl_utils/node.lua and a couple others, fix lingering potion sound teknomunk 2024-09-08 14:34:12 -0500
  • 81dd1c6656 Address more review comments teknomunk 2024-09-08 09:41:32 -0500
  • ebb69330a7 Make arrows damage players, update API documentation, fix several crashes that occurred when arrows hit a player teknomunk 2024-09-08 07:06:00 -0500
  • 627a2668a7 Fix picking up tipped arrows teknomunk 2024-09-07 21:54:32 -0500
  • 99ecbc096f Fix crash with splash potions of harming, make splash particles match potion color teknomunk 2024-09-07 21:47:44 -0500
  • 5afa702542 Fix splash potions, fix crash when projectiles hit unknown nodes teknomunk 2024-09-07 21:26:37 -0500
  • b4831a681b Remove logging in tipped_arrows, prevent crash when spawning chicks, add extra safety check in vl_projectile.collides_with_solids teknomunk 2024-09-07 11:25:55 -0500
  • e0ce96f802 Lingering potions should not collide with liquids, change behaviors assersion loop to catch nil members teknomunk 2024-09-06 17:59:07 -0500
  • 01b543bbd4 Convert lingering potion to vl_projectile teknomunk 2024-09-06 07:27:10 -0500
  • 349337042d Convert splash potion to vl_projectile, remove dead code, precompute several values in splash potion code, add check of behaviors array in vl_projectile teknomunk 2024-09-06 06:31:15 -0500
  • ac9d1b18d8 Fix crash related to nil _time_in_air teknomunk 2024-09-05 06:40:01 -0500
  • 6bcf1ad181 Revert entity->object for three lines teknomunk 2024-09-05 06:29:21 -0500
  • 343fe3bc88 Fix typo _ -> . teknomunk 2024-09-01 20:53:46 -0500
  • c6239f57f6 Add empty line teknomunk 2024-09-01 20:52:25 -0500
  • 83e6a4323d Fix typo in api.md, add TODO, change entity -> object teknomunk 2024-09-01 20:51:08 -0500
  • 3f22887639 Fix typos documentation, add ignore_gravity and liquid_drag options, use vl_projectile.register() for enter pearl, move projectile physics to vl_projectile add hook for future vl_physics support teknomunk 2024-09-01 20:41:21 -0500
  • 589ba18ab5 Update mcl_util.get_double_container_neighbor_pos() to use vector.offset teknomunk 2024-08-31 12:49:59 -0500
  • fd144466e4 Resolve more review comments, fix crash teknomunk 2024-08-31 10:51:28 -0500
  • da52e56397 Resolve review comments teknomunk 2024-08-31 10:26:15 -0500
  • 6adef58bc4 Remove debug print teknomunk 2024-08-31 10:12:25 -0500
  • 69a967c186 Give arrows a maximum lifetime to prevent them from getting stuck in mid-air forever teknomunk 2024-08-31 10:09:20 -0500
  • aacb915ec6 Fix documentation for raycast_collides_with_entities teknomunk 2024-08-31 09:47:09 -0500
  • b1f2ec60e1 Add API documentation, minor API cleanup teknomunk 2024-08-31 09:41:17 -0500
  • a3cfb0c0c4 Convert rocket to use vl_projectile API using mcl_bows:arrow as a template, remove some dead code teknomunk 2024-08-31 06:41:42 -0500
  • cc1d0ce55e Fold tipped arrows into standard arrows and handle effects via item definition callback, remove arrows when they collide with entities, update handling of removing projectiles teknomunk 2024-08-30 17:40:01 -0500
  • 85fc508284 Fix crash on startup teknomunk 2024-08-30 16:42:22 -0500
  • ab9fff400f More refactoring to generalize arrow code into projectile teknomunk 2024-05-23 08:03:19 +0000
  • 3961a32fb4 Start mcl_bows:arrow_entity refactor teknomunk 2024-05-22 22:54:39 +0000
  • 21465e4efc Remove _thrower from vl_projectile (uses self._vl_projectile.owner instead), reorder some code teknomunk 2024-05-22 20:51:46 +0000
  • 152d200df2 Finish reworking all items in mcl_throwing teknomunk 2024-05-22 20:47:25 +0000