Commit graph

121 commits

Author SHA1 Message Date
stujones11
cf6122ca0c Improve config loading and other fixes 2019-03-23 20:55:44 +00:00
stujones11
cb922eaafd Add api documentation 2019-03-23 20:55:44 +00:00
stujones11
2a0b7808a1 Code tidy, add .luacheckrc
Improve callbacks
2019-03-23 20:55:42 +00:00
stujones11
fde2b72a68 Update license and include source headers
Pass a deep copy of gunspec instead of a direct reference

Fix Lua style multi-line comments :/

Fix flaregun dependencies

Add mod.conf and description files plus some readme fixes
2019-03-23 20:55:40 +00:00
stujones11
8ef3b1d379 Make automatic firing a config option 2019-03-23 20:55:38 +00:00
stujones11
18e22a38fb Allow particle effect overrides in gun spec 2019-03-23 20:55:38 +00:00
stujones11
52ed0d2340 Add optional on_hit callback to guns 2019-03-23 20:55:38 +00:00
stujones11
e415b0b9cc Use dot notation for api methods, closes #18 2019-03-23 20:55:38 +00:00
stujones11
cff296d70b Crossbow improvements
Update turret mod

Fix undeclared global in blast function

Update rockets and grenades

Update grapple hook and flares

Unlink model textures
2019-03-23 20:55:35 +00:00
stujones11
49d6fe5741 Use minetest.raycast 2019-03-23 20:55:34 +00:00
doyousketch2
075cbe2e52 Update crossbow.lua
shooter_"..name..".png  was in there twice
2019-03-23 20:55:34 +00:00
BrunoMine
79cfae5dad API documentation
Add reload item definition

Add unloaded item
2019-03-23 20:55:32 +00:00
stujones11
83c60c85ff Deprecate global config variables 2019-03-23 20:55:32 +00:00
stujones11
347a8807bf Auto remove outdated turret entities 2019-03-23 20:55:32 +00:00
stujones11
a310d0338a Move common sounds to main shooter mod 2019-03-23 20:55:30 +00:00
BrunoMine
edb19cf061 Separate weapons and API
Use less generic mod names to avoid conflicts
2019-03-23 20:55:27 +00:00
stujones11
0533d52142 Declare flare particle id before use, fixes #20 2016-09-25 17:48:21 +01:00
stujones11
7349be8ab5 Merge pull request #19 from FozLand/suicide
Set puncher to the user for grenades/rockets.
2016-09-24 14:42:34 +01:00
Foz
312dc0e8b5 Set puncher to the user for grenades/rockets.
Previously, on_punch() indicated that victims of grenades and rocket launcher
attacks were punching themselves.
2016-09-23 23:19:19 -04:00
stujones11
5ad8b94831 Simplify turret operator attachment, fixes #11 2016-03-30 19:04:12 +01:00
stujones11
f0f6f48161 Add support for mod managers 2016-03-25 20:49:55 +00:00
stujones11
be020576aa Fix crossbow backfiring in multiplayer mode 2016-01-06 19:08:03 +00:00
stujones11
bf271c69b1 Convert positional sounds to Mono 2016-01-02 15:49:01 +00:00
stujones11
bb521f41c4 Tweak blast radius of rocket and grenade 2015-12-16 18:18:23 +00:00
stujones11
22b51cea14 Add auto configuration for all simple mobs derivatives 2015-09-11 19:08:11 +01:00
stujones11
40d5de6b1f Add crosshair.png to .gitignore, resolves #8 2015-04-26 13:00:29 +01:00
stujones11
b4d90f4784 Stop arrows when striking other entities 2015-03-14 19:55:46 +00:00
stujones11
f76d746b75 Allow per world mod configuration 2015-02-19 19:37:51 +00:00
stujones11
656b6155a5 Use dye.basecolors only if it's available 2015-01-30 22:57:33 +00:00
stujones11
2d7de82f8d Hardcode dye base colors 2015-01-30 21:49:40 +00:00
stujones11
3539ebeed0 Play reload sound when loading prefered arrows 2015-01-30 19:44:52 +00:00
stujones11
12362a21e2 Prefer arrow in next slot to the crossbow 2015-01-30 18:45:12 +00:00
stujones11
83f029c0d3 Bump version to 0.5.3 2015-01-25 18:45:36 +00:00
stujones11
70bbdb4fa2 Fix compatibility with other mob mods 2015-01-25 18:42:09 +00:00
HybridDog
26beddca61 Admin has super weapons 2015-01-25 18:23:25 +00:00
stujones11
a6f3caeaf5 Add coloured arrows 2015-01-25 17:28:00 +00:00
HybridDog
dc86ef4ecb Preparation for coloured arrows 2015-01-24 20:07:45 +00:00
stujones11
ce0931db76 Fix typo in tool registration 2014-10-25 02:30:38 +01:00
stujones11
83b2d06af2 Make node sounds positional 2014-10-25 01:44:01 +01:00
stujones11
5da05836e7 Correct arrow craft grid 2014-10-25 00:14:48 +01:00
stujones11
a235b7e818 Bump version to 0.5.2 2014-10-24 22:15:13 +01:00
stujones11
da827ac9eb Add crossbow and arrows 2014-10-24 20:53:18 +01:00
stujones11
de408aee18 Expose shooter functions to global namespace and some tweaks 2014-10-24 20:22:51 +01:00
stujones11
fad87d1ed3 Don't place tnt:boom when SHOOTER_ENABLE_BLASTING = false 2014-10-01 22:27:10 +01:00
stujones11
a98c348cab Remove some leftover debug code 2014-10-01 21:43:44 +01:00
stujones11
658bd4d5b0 Bump version to 0.5.1 2014-10-01 20:46:29 +01:00
stujones11
4b34151f1d Add basic protection support 2014-10-01 20:43:33 +01:00
stujones11
c8dd9aa002 Add additional credits to LICENSE.txt 2014-07-27 21:51:55 +01:00
stujones11
86127b0c6e Fix disappearing HP bar bug caused by set_hud_flags 2014-07-27 18:25:51 +01:00
stujones11
eba57b4152 Make explosions respect SHOOTER_ALLOW_NODES setting 2014-07-27 17:35:12 +01:00