d262f0cc7f
https://github.com/AntumMT/mod-slingshot/tree/bb77525 |
||
---|---|---|
.. | ||
sounds | ||
textures | ||
LICENSE-cc0.txt | ||
LICENSE.txt | ||
README.md | ||
api.lua | ||
api.md | ||
depends.txt | ||
description.txt | ||
init.lua | ||
mod.conf | ||
screenshot.png | ||
settings.lua | ||
settingtypes.txt | ||
weapons.lua |
README.md
Slingshot Mod for Minetest
Description:
Adds a slingshot that can throw inventory items as ammunition.
The original code was extracted from hook mod by AiTechEye.
Depends:
- default
Optional depends (soft):
- technic
Licensing:
-
Code
-
Textures:
Functions:
- Right-click: Changes ammo slot between left & right of slingshot
- Left-click: Throws items from selected ammo slot
Crafting:
SI
= default:steel_ingotST
= default:stickRB
= slingshot:rubber_bandTR
= technic:rubberTL
= technic:raw_latex
Craft recipes:
slingshot:
╔════╦════╦════╗
║ SI ║ ║ SI ║
╠════╬════╬════╣
║ ║ SI ║ ║
╠════╬════╬════╣
║ ║ SI ║ ║
╚════╩════╩════╝
slingshot (with technic):
╔════╦════╦════╗
║ SI ║ ║ SI ║
╠════╬════╬════╣
║ ║ SI ║ ║
╠════╬════╬════╣
║ ║ SI ║ ║
╚════╩════╩════╝
wood slingshot:
╔════╦════╦════╗
║ ST ║ RB ║ ST ║
╠════╬════╬════╣
║ ║ ST ║ ║
╠════╬════╬════╣
║ ║ ST ║ ║
╚════╩════╩════╝
wood slingshot (with technic):
╔════╦════╦════╗
║ ST ║ RB ║ ST ║
╠════╬════╬════╣
║ ║ ST ║ ║
╠════╬════╬════╣
║ ║ ST ║ ║
╚════╩════╩════╝
rubber band:
╔════╦════╦════╗
║ TL ║ TL ║ ║
╠════╬════╬════╣
║ TL ║ ║ TL ║
╠════╬════╬════╣
║ ║ TL ║ TL ║
╚════╩════╩════╝
rubber band (shapeless):
╔════╗
║ TR ║
╚════╝