shooter/shooter
stujones11 2a0b7808a1 Code tidy, add .luacheckrc
Improve callbacks
2019-03-23 20:55:42 +00:00
..
doc Code tidy, add .luacheckrc 2019-03-23 20:55:42 +00:00
sounds Move common sounds to main shooter mod 2019-03-23 20:55:30 +00:00
textures Separate weapons and API 2019-03-23 20:55:27 +00:00
api.lua Code tidy, add .luacheckrc 2019-03-23 20:55:42 +00:00
depends.txt Separate weapons and API 2019-03-23 20:55:27 +00:00
description.txt Update license and include source headers 2019-03-23 20:55:40 +00:00
init.lua Code tidy, add .luacheckrc 2019-03-23 20:55:42 +00:00
mod.conf Separate weapons and API 2019-03-23 20:55:27 +00:00
README.md Code tidy, add .luacheckrc 2019-03-23 20:55:42 +00:00

Minetest Mod - Shooter API [shooter]

Depends: default

Handles raycasting, blasting and audio-visual effects of dependent mods.

Configuration

Override the following default settings by adding them to your minetest.conf file.

-- Enable automatic weapons, uses globalstep to detect left mouse button

shooter_admin_weapons = true

-- Enable admin super weapons -- This lets admins shoot guns automatically after 2 seconds without munition.

shooter_admin_weapons = false

-- Enable node destruction with explosives shooter_enable_blasting = true

-- Enable Crafting

shooter_enable_crafting = true

-- Enable particle effects

shooter_enable_particle_fx = true

-- Enable protection mod support, requires a protection mod that utilizes -- minetest.is_protected(), tested with TenPlus1's version of [protector]

shooter_enable_protection = false

-- Particle texture used when a player or entity is hit

shooter_explosion = "shooter_hit.png"

-- Allow node destruction

shooter_allow_nodes = true

-- Allow entities in multiplayer mode

shooter_allow_entities = false

-- Allow players in multiplayer mode

shooter_allow_players = true

-- How often objects are fully reloaded

shooter_object_reload_time = 1

-- How often object positions are updated

shooter_object_update_time = 0.25

-- How often rounds are processed

shooter_rounds_update_time = 0.4

API Documentation

TODO