Skip to content

Latest commit

 

History

History
128 lines (94 loc) · 3.79 KB

README.md

File metadata and controls

128 lines (94 loc) · 3.79 KB

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

Links: