Go to file
Jordan Irwin 48d781481a Add to TODO list 2021-08-12 18:18:05 -07:00
docs Detect automatically if rubber band can be used instead... 2021-06-10 12:02:19 -07:00
locale Add Spanish translation 2021-08-12 17:59:56 -07:00
sounds Rename 'hook_hard_punch.ogg' to 'slingshot_hard_punch.ogg' 2017-06-01 00:15:04 -07:00
textures Touch up old rubber band texture 2021-06-05 12:32:25 -07:00
.cdb.json Add ContentDB configuration 2021-08-12 17:50:56 -07:00
.gitattributes Exclude docs directory from releases 2021-08-12 17:51:16 -07:00
LICENSE.txt Add notes about authors 2021-06-05 13:04:18 -07:00
README.md Update texture license info 2021-08-12 17:50:23 -07:00
TODO.txt Add to TODO list 2021-08-12 18:18:05 -07:00
api.lua Update LuaDoc 2021-06-10 11:48:44 -07:00
changelog.txt Increment version to 0.4 2021-08-12 18:03:01 -07:00
init.lua Detect automatically if rubber band can be used instead... 2021-06-10 12:02:19 -07:00
mod.conf Increment version to 0.4 2021-08-12 18:03:01 -07:00
screenshot.png Update screenshot 2021-06-10 12:28:07 -07:00
settings.lua Change setting description 2021-06-10 12:35:44 -07:00
settingtypes.txt Change setting description 2021-06-10 12:35:44 -07:00
weapons.lua Fix misspelled "technic:raw_latex" 2021-06-10 12:20:09 -07:00

README.md

Slingshot for Minetest

Description:

Adds slingshots that can throw inventory items as ammunition.

The original code was extracted from hook mod by AiTechEye.

Screenshot

Licensing:

  • Code
    • Original code by AiTechEye: CC0
    • Code by Jordan Irwin (AntumDeluge): MIT
  • Textures:
    • Orignals by AiTechEye: CC BY-SA 4.0
    • New: CC0

Requirements:

  • Minimum Minetest version: 5.0.0
  • Depends: none
  • Optional depends:
    • default (required for craft recipe)
    • technic (changes craft recipes to use rubber band)
    • xdecor (workbench can be used to repair slingshots)
    • workbench (can be used to repair slingshots)

Usage:

  • Left-click: Throws items from slot right of slingshot.

Crafting:

Spoiler

Legend:

  • SI = default:steel_ingot
  • ST = default:stick
  • RB = slingshot:rubber_band
  • TR = technic:rubber
  • TL = technic:raw_latex

Recipes:

wooden slingshot:

╔════╦════╦════╗
║ ST ║    ║ ST ║
╠════╬════╬════╣
║    ║ ST ║    ║
╠════╬════╬════╣
║    ║ ST ║    ║
╚════╩════╩════╝

wooden slingshot (rubber band required with technic):

╔════╦════╦════╗
║ ST ║ RB ║ ST ║
╠════╬════╬════╣
║    ║ ST ║    ║
╠════╬════╬════╣
║    ║ ST ║    ║
╚════╩════╩════╝

iron slingshot:

╔════╦════╦════╗
║ SI ║    ║ SI ║
╠════╬════╬════╣
║    ║ SI ║    ║
╠════╬════╬════╣
║    ║ SI ║    ║
╚════╩════╩════╝

iron slingshot (rubber band required with technic):

╔════╦════╦════╗
║ SI ║ RB ║ SI ║
╠════╬════╬════╣
║    ║ SI ║    ║
╠════╬════╬════╣
║    ║ SI ║    ║
╚════╩════╩════╝

rubber band:

╔════╦════╦════╗
║ TL ║ TL ║    ║
╠════╬════╬════╣
║ TL ║    ║ TL ║
╠════╬════╬════╣
║    ║ TL ║ TL ║
╚════╩════╩════╝

rubber band (shapeless):

╔════╗
║ TR ║
╚════╝

Settings:

slingshot.old_textures
	- Use old 16x16 textures.
	- type:    bool
	- default: false

slingshot.ammos
	- Value of these items will be added to slingshot attack when thrown.
	- type:    string (comma-separated key=value list)
	- default: default:mese_crystal=5