Нет описания

ik7mt 5b771e5545 fix typo 2 лет назад
items 5b771e5545 fix typo 2 лет назад
sounds 15e71629d4 throwable api for throwable items based on enderpearl mod 2 лет назад
textures 15e71629d4 throwable api for throwable items based on enderpearl mod 2 лет назад
README.md 15e71629d4 throwable api for throwable items based on enderpearl mod 2 лет назад
api.lua 15e71629d4 throwable api for throwable items based on enderpearl mod 2 лет назад
init.lua 15e71629d4 throwable api for throwable items based on enderpearl mod 2 лет назад
mod.conf 9efdde50dd Add depends info 2 лет назад
utils.lua 15e71629d4 throwable api for throwable items based on enderpearl mod 2 лет назад

README.md

Throwables Mod

The throwables mod for Minetest allows players to throw various items as projectiles with customizable collision behaviors.

Modified items behabiors

  • Throwable torches (default:torch) will be placed where it lands.
  • Throwable snowballs (default:snow)

New items

  • Fireball (from mobs) will explode where it lands.
  • Enderpearl teleport players to the location they hit but hurts them in the process.

Note that I would recommend using the original enderpearl mod, I used it mod as a reference for the throwing api and that's why enderpearls are here.

API

  • Create new throwable items.
  • Addd projectile behavior to existing items.
  • Customize collision behavior for nodes, entities, and players.

  • TODO: Some utils function for implementing common behaviors

Todo:

  • USE ONLY ONE ENTITY FOR ALL PROJECTILES

  • Light ball

  • Portals, a blue one and a red one, linked together

  • Silex

  • Clay, dirt, ?

  • Grappling hook and Rope ?

Licensing and credits

Enderpearl code and textures are from enderpearl mod Torch placement code adapted from x_bows_extras mod

Please, tell me if I forgot anyone.

Anything original in this mod would have these licenses :

  • Code is under AGPL V3 OR LATER, an
  • Documentation and medias are under CC-BY-SA