AntumDeluge
Member
Posts: 213 Joined: Sun Aug 07, 2016 05:42
GitHub:
AntumDeluge
IRC: AntumDeluge
Contact:
by AntumDeluge » Thu Aug 17, 2017 04:23
Post
Description:
Adds slingshots that can throw inventory items as ammunition.
The original code was extracted from
hook mod by
AiTechEye .
Currently there are two slingshots:
slingshot:wood &
slingshot:iron (more durable & throws further than wood)
Licensing:
Code:
Original code by AiTechEye: CC0
Code by Jordan Irwin (AntumDeluge): MIT
Textures: CC0
Requirements:
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:
Code: Select all
SI = default:steel_ingot
ST = default:stick
RB = slingshot:rubber_band
TR = technic:rubber
TL = technic:raw_latex
Recipes:
wooden slingshot:
Code: Select all
╔════╦════╦════╗
║ ST ║ ║ ST ║
╠════╬════╬════╣
║ ║ ST ║ ║
╠════╬════╬════╣
║ ║ ST ║ ║
╚════╩════╩════╝
wooden slingshot (with technic & rubber band required):
Code: Select all
╔════╦════╦════╗
║ ST ║ RB ║ ST ║
╠════╬════╬════╣
║ ║ ST ║ ║
╠════╬════╬════╣
║ ║ ST ║ ║
╚════╩════╩════╝
iron slingshot:
Code: Select all
╔════╦════╦════╗
║ SI ║ ║ SI ║
╠════╬════╬════╣
║ ║ SI ║ ║
╠════╬════╬════╣
║ ║ SI ║ ║
╚════╩════╩════╝
iron slingshot (with technic & rubber band required):
Code: Select all
╔════╦════╦════╗
║ SI ║ RB ║ SI ║
╠════╬════╬════╣
║ ║ SI ║ ║
╠════╬════╬════╣
║ ║ SI ║ ║
╚════╩════╩════╝
rubber band:
Code: Select all
╔════╦════╦════╗
║ TL ║ TL ║ ║
╠════╬════╬════╣
║ TL ║ ║ TL ║
╠════╬════╬════╣
║ ║ TL ║ TL ║
╚════╩════╩════╝
rubber band (shapeless):
Settings:
Code: Select all
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:
Last edited by
AntumDeluge on Thu Jun 10, 2021 20:35, edited 9 times in total.
azekill_DIABLO
Member
Posts: 7507 Joined: Wed Oct 29, 2014 20:05
GitHub:
azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:
by azekill_DIABLO » Thu Aug 17, 2017 08:49
Post
Isn't ther a slingshot mod released something like 5 days ago? anyway, we never have enough slingshots...
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!
AntumDeluge
Member
Posts: 213 Joined: Sun Aug 07, 2016 05:42
GitHub:
AntumDeluge
IRC: AntumDeluge
Contact:
by AntumDeluge » Thu Aug 17, 2017 15:12
Post
The only mod that I've found with a slingshot, so far, is hook .
dawgdoc
Member
Posts: 260 Joined: Mon Feb 27, 2017 01:10
GitHub:
dawgdoc
by dawgdoc » Fri Aug 18, 2017 06:08
Post
azekill_DIABLO wrote: Isn't ther a slingshot mod released something like 5 days ago? anyway, we never have enough slingshots...
I think either maikerumine or tumeninodes created one in the past few months.
EDIT: Sorry, it was
texmex who created a sling mod.
[Mod] Throw any item or stack of items far away [sling]
Give a man a fish, feed him for a day. Give a kid a fish, it's going to die.
azekill_DIABLO
Member
Posts: 7507 Joined: Wed Oct 29, 2014 20:05
GitHub:
azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:
by azekill_DIABLO » Fri Aug 18, 2017 09:55
Post
dawgdoc wrote: azekill_DIABLO wrote: Isn't ther a slingshot mod released something like 5 days ago? anyway, we never have enough slingshots...
I think either maikerumine or tumeninodes created one in the past few months.
EDIT: Sorry, it was
texmex who created a sling mod.
[Mod] Throw any item or stack of items far away [sling]
it was last week IMHO.
EDIT: idk, i disabled date on posts.
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!
AntumDeluge
Member
Posts: 213 Joined: Sun Aug 07, 2016 05:42
GitHub:
AntumDeluge
IRC: AntumDeluge
Contact:
by AntumDeluge » Fri Aug 18, 2017 16:37
Post
Nice. And it uses the throwing API. I was thinking about doing that, but the slingshot from hook already had (somewhat) functional throwing code.
AntumDeluge
Member
Posts: 213 Joined: Sun Aug 07, 2016 05:42
GitHub:
AntumDeluge
IRC: AntumDeluge
Contact:
by AntumDeluge » Mon Aug 21, 2017 23:29
Post
Updated to work with creative mode.
Slingshots will not wear & break.
Thrown items are not removed from inventory.
azekill_DIABLO
Member
Posts: 7507 Joined: Wed Oct 29, 2014 20:05
GitHub:
azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:
by azekill_DIABLO » Tue Aug 22, 2017 10:07
Post
+1
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!
Users browsing this forum: No registered users and 30 guests