[Mod] Slingshot [0.2] [slingshot]

User avatar
AntumDeluge
Member
 
Posts: 166
Joined: Sun Aug 07, 2016 05:42
GitHub: AntumDeluge
IRC: AntumDeluge

[Mod] Slingshot [0.2] [slingshot]

by AntumDeluge » Thu Aug 17, 2017 04:23

Slingshot

Description:
Adds slingshots that can throw inventory items as ammunition. Items in hotbar slot right of slingshot are thrown.

Currently there are two slingshots: slingshot:wood & slingshot:iron (more durable & throws further than wood)

The original code was extracted from hook mod by AiTechEye.

Image

Requirements:
  • Minetest version 0.4.16+
  • Depends:

Licensing:
  • CC0
  • MIT

Crafting:
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:
+ Spoiler

wooden slingshot (with technic & rubber band required):
+ Spoiler

iron slingshot:
+ Spoiler

iron slingshot (with technic & rubber band required):
+ Spoiler

rubber band:
+ Spoiler

rubber band (shapeless):
+ Spoiler


Links:

TODO:
  • Add config setting to change timeout of items thrown after landing.
Last edited by AntumDeluge on Mon Aug 21, 2017 23:35, edited 3 times in total.
 

User avatar
azekill_DIABLO
Member
 
Posts: 7461
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [Mod] Slingshot [0.1] [slingshot]

by azekill_DIABLO » Thu Aug 17, 2017 08:49

Isn't ther a slingshot mod released something like 5 days ago? anyway, we never have enough slingshots...
 

User avatar
AntumDeluge
Member
 
Posts: 166
Joined: Sun Aug 07, 2016 05:42
GitHub: AntumDeluge
IRC: AntumDeluge

Re: [Mod] Slingshot [0.1] [slingshot]

by AntumDeluge » Thu Aug 17, 2017 15:12

The only mod that I've found with a slingshot, so far, is hook.
 

dawgdoc
Member
 
Posts: 232
Joined: Mon Feb 27, 2017 01:10
GitHub: dawgdoc

Re: [Mod] Slingshot [0.1] [slingshot]

by dawgdoc » Fri Aug 18, 2017 06:08

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]
 

User avatar
azekill_DIABLO
Member
 
Posts: 7461
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [Mod] Slingshot [0.1] [slingshot]

by azekill_DIABLO » Fri Aug 18, 2017 09:55

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.
 

User avatar
AntumDeluge
Member
 
Posts: 166
Joined: Sun Aug 07, 2016 05:42
GitHub: AntumDeluge
IRC: AntumDeluge

Re: [Mod] Slingshot [0.1] [slingshot]

by AntumDeluge » Fri Aug 18, 2017 16:37

Nice. And it uses the throwing API. I was thinking about doing that, but the slingshot from hook already had (somewhat) functional throwing code.
 

User avatar
AntumDeluge
Member
 
Posts: 166
Joined: Sun Aug 07, 2016 05:42
GitHub: AntumDeluge
IRC: AntumDeluge

Re: [Mod] Slingshot [0.2] [slingshot]

by AntumDeluge » Mon Aug 21, 2017 23:29

Updated to work with creative mode.
  • Slingshots will not wear & break.
  • Thrown items are not removed from inventory.
 

User avatar
azekill_DIABLO
Member
 
Posts: 7461
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO
 


Return to WIP Mods



Who is online

Users browsing this forum: No registered users and 4 guests