Commit graph

  • 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
  • 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
  • e9ec77e932 Add in vl_projectile, add mcl_util.match_node_to_filter teknomunk 2024-05-22 20:32:19 +0000
  • 163287bd35 Move node related functions to mods/CORE/mcl_util/nodes.lua teknomunk 2024-05-22 19:51:47 +0000
  • f8d5ed2a7d Create vl_projectile and refactor snowball and partially refactor ender pearl teknomunk 2024-05-22 19:42:36 +0000
  • 9146c0257f Remove log dump teknomunk 2024-09-16 06:59:31 -0500
  • f32bb8e527 Make blocks breakable when not passing in node definition to mcl_autogroup.group_compatibility() teknomunk 2024-09-16 06:27:58 -0500
  • 1c33dc868f Address review comments teknomunk 2024-09-16 06:10:59 -0500
  • 6b07852d57 Fix spelling teknomunk 2024-08-20 07:22:14 -0500
  • 6fa62def56 Finish adding backticks to documentation, switch from indestructable to unbreakable and make nodes with either group indestructable teknomunk 2024-08-19 18:44:33 -0500
  • a6c2dedea8 Move documentation to correct location, add backticks to existing mcl_autogroups documentation teknomunk 2024-08-19 18:03:36 -0500
  • cf33f0266e Add API documentation, change ndef to node_def to match documentation, change log message according to review comment teknomunk 2024-08-19 07:23:11 -0500
  • 3312819e17 Add conversion for nodes that shears act on teknomunk 2024-08-18 19:42:13 -0500
  • 0fe0e22a05 Fix indestructable blocks provided by mods teknomunk 2024-05-07 10:34:31 +0000
  • 1ec732d646 Address review comments teknomunk 2024-11-10 12:01:42 -0600
  • eda99be60e Change cart punching to impulse on velocity instead of acceleration, make punch impulse larger teknomunk 2024-11-10 07:36:02 -0600
  • a94a9e9bc2 Fix syntax error from rebase, fix cart tilt, change cart speed to 4 blocks/second and make into a setting, make minecart settings compatibily with upcoming dynamic rules PR (#4662) teknomunk 2024-11-10 07:11:12 -0600
  • 9c8db2b995 Fix crash when train cars leave track teknomunk 2024-11-09 20:05:48 -0600
  • dba226e18c Flip powered special T-junction textures to match regular rails teknomunk 2024-11-09 15:44:37 -0600
  • db1f504f2e Add in working curved variants of special rails teknomunk 2024-11-09 15:14:57 -0600
  • 80699b405c Make powered rails always accelerate moving carts teknomunk 2024-11-09 12:36:57 -0600
  • 66936c7f07 Fix detector rail strangeness, prevent crash teknomunk 2024-11-09 12:33:39 -0600