Go to file
Juraj Vajda d57d5b0cf3 Merged in feature/2-x_bows-load-should-return-itemstack (pull request #2)
2 Return itemstack on x_bows.load on_place func
2021-05-30 01:02:22 +00:00
sounds mod docs update 2021-03-14 10:19:45 -04:00
textures add readme, license and optimize files 2021-03-13 23:40:46 -05:00
.gitignore initial commit 2021-03-01 13:44:27 -05:00
LICENSE.txt add readme, license and optimize files 2021-03-13 23:40:46 -05:00
README.md Add "default" to optional dependencies, update screenshot 2021-03-28 11:50:59 -04:00
arrow.lua 1 Add check for _old_pos, seem to be nil sometimes 2021-05-29 12:03:46 -04:00
init.lua 2 Return itemstack on x_bows.load on_place func 2021-05-29 21:01:40 -04:00
items.lua recipes update 2021-03-20 14:25:49 -04:00
mod.conf Add "default" to optional dependencies, update screenshot 2021-03-28 11:50:59 -04:00
nodes.lua v 1.0.0 2021-03-13 21:39:42 -05:00
screenshot.png Add "default" to optional dependencies, update screenshot 2021-03-28 11:50:59 -04:00
settingtypes.txt add settingtypes and disable attached arrows to entitties by default 2021-03-21 14:39:02 -04:00

README.md

Bow and Arrows [x_bows]

Adds bow and arrows to Minetest.

screenshot

Video: https://youtu.be/pItpltmUoa8

Features

  • bow will force you sneak when loaded (optional dep. playerphysics)
  • loaded bow will slightly adjust the player FOV
  • bow uses minetest tool capabilities - if the bow is not loaded for long enough (time from last puch) the arrow will fly shorter range
  • arrow uses raycast
  • arrow has chance of critical shots/hits (only on full punch interval)
  • arrow uses minetest damage calculation (including 3d_armor) for making damage (no hardcoded values)
  • arrows stick to nodes, players and entitites
  • arrows remove them self from the world after some time
  • arrows remove them self if there are already too many arrows attached to node, player, entity
  • arrow continues to fly downwards when attached node is dug
  • arrow flies under water for short period of time and then sinks
  • arrows adjusts pitch when flying
  • arrows can be picked up again after stuck in solid nodes
  • registers only one entity reused for all arrows
  • (experimental) poison arrow - dealing damage for 5s but will not kill the target
  • target block reduces fall damage by -30

Dependencies

  • none

Optional Dependencies

  • default (recipes)
  • farming (bow and target recipes)
  • 3d_armor (calculates damage including the armor)
  • hbhunger (changes hudbar when poisoned)
  • mesecons (target can be used to trigger mesecon signal)
  • playerphysics (force sneak when holding charged bow)

License:

Code

GNU Lesser General Public License v2.1 or later (see included LICENSE file)

Textures

CC BY-SA 4.0, Pixel Perfection by XSSheep, https://minecraft.curseforge.com/projects/pixel-perfection-freshly-updated

  • x_bows_bow_wood.png
  • x_bows_bow_wood_charged.png
  • x_bows_arrow_wood.png
  • x_bows_arrow_tile_point_top.png
  • x_bows_arrow_tile_point_right.png
  • x_bows_arrow_tile_point_bottom.png
  • x_bows_arrow_tile_point_left.png
  • x_bows_arrow_tile_tail.png
  • x_bows_arrow_particle.png
  • x_bows_arrow_tipped_particle.png
  • x_bows_bubble.png
  • x_bows_target.png

Modified by SaKeL:

  • x_bows_arrow_stone.png
  • x_bows_arrow_bronze.png
  • x_bows_arrow_steel.png
  • x_bows_arrow_mese.png
  • x_bows_arrow_diamond.png
  • x_bows_arrow_diamond_poison.png

Sounds

Creative Commons License, EminYILDIRIM, https://freesound.org

  • x_bows_bow_load.1.ogg
  • x_bows_bow_load.2.ogg
  • x_bows_bow_load.3.ogg

Creative Commons License, bay_area_bob, https://freesound.org

  • x_bows_bow_loaded.ogg

Creative Commons License, https://freesound.org

  • x_bows_bow_shoot_crit.ogg

Creative Commons License, robinhood76, https://freesound.org

  • x_bows_arrow_hit.1.ogg
  • x_bows_arrow_hit.2.ogg
  • x_bows_arrow_hit.3.ogg

Creative Commons License, brendan89, https://freesound.org

  • x_bows_bow_shoot.1.ogg

Creative Commons License, natty23, https://freesound.org

  • x_bows_arrow_successful_hit.ogg

Installation

see: http://wiki.minetest.com/wiki/Installing_Mods