Add basic protection support
This commit is contained in:
parent
c8dd9aa002
commit
4b34151f1d
5 changed files with 66 additions and 30 deletions
|
@ -2,6 +2,9 @@
|
|||
|
||||
-- Global Constants (defaults)
|
||||
|
||||
-- Enable node destruction with explosives
|
||||
SHOOTER_ENABLE_BLASTING = true
|
||||
|
||||
-- Enable basic guns (Pistol, Rifle, Shotgun, Machine Gun)
|
||||
SHOOTER_ENABLE_GUNS = true
|
||||
|
||||
|
@ -26,6 +29,10 @@ 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_TEXTURE = "shooter_hit.png"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue