Adds slingshots that can throw inventory items as ammunition.
The original code was extracted from hook mod by AiTechEye.
- Code
- Original code by AiTechEye: CC0
- Code by Jordan Irwin (AntumDeluge): MIT
- Textures:
- Orignals by AiTechEye: CC BY-SA 4.0
- New: CC0
- Minimum Minetest version: 5.0.0
- Depends: none
- Optional depends:
- Left-click: Throws items from slot right of slingshot.
Spoiler
Legend:
SI
= default:steel_ingotST
= default:stickRB
= slingshot:rubber_bandTR
= technic:rubberTL
= 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 ║
╚════╝
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