Commit graph

92 commits

Author SHA1 Message Date
stujones11
35ddb6c038 Minor particles optimisation 2019-03-26 18:28:08 +00:00
stujones11
78007fa332 Fix crash caused by previous commit 2019-03-26 18:08:16 +00:00
rubenwardy
182f50daa8 Create shooter.get_weapon_spec(player, weapon_name) as a Lua hook 2019-03-24 18:20:34 +00:00
stujones11
e24279e205 Add mod icons 2019-03-24 16:08:06 +00:00
stujones11
10b4393e9d Add sceenshot to main README.md 2019-03-24 15:30:09 +00:00
stujones11
0d58b85a66 Minor fixes, add optional node drops 2019-03-24 15:22:34 +00:00
stujones11
20405958da More minor corrections 2019-03-24 15:06:10 +00:00
stujones11
70dac6ef64 Doc fixes 2019-03-24 14:40:31 +00:00
stujones11
ae2bb7fd6b Fix crash for nil entity references 2019-03-23 22:18:06 +00:00
stujones11
0eb5049218 Improve api, respect entity on_blast callbacks 2019-03-23 20:55:45 +00:00
stujones11
b5984a231f Update .luacheckrc 2019-03-23 20:55:45 +00:00
stujones11
7ee40abb2a Alias loaded weapons 2019-03-23 20:55:45 +00:00
stujones11
b8e9048b94 Replace deprecated moveto call 2019-03-23 20:55:44 +00:00
stujones11
adb8e476f9 Include shot origin in returned gunspec 2019-03-23 20:55:44 +00:00
stujones11
e76fa31ae3 Improve screenshot, correct aspect ratio 2019-03-23 20:55:44 +00:00
stujones11
2f5d046472 Allow on_hit to override builtin damage 2019-03-23 20:55:44 +00:00
stujones11
4a9bf8fc6e Add individual screenshots and some doc fixes 2019-03-23 20:55:44 +00:00
ANAND
b26d9812ff Reduce effective range of shotgun 2019-03-23 20:55:44 +00:00
stujones11
d1e1dcc1d6 Remove hard mod dependencies other than default 2019-03-23 20:55:44 +00:00
stujones11
16451b7c35 Add settingtypes.txt 2019-03-23 20:55:44 +00:00
stujones11
7ff1b99b8b Add modpack.conf and remove deprecated files 2019-03-23 20:55:44 +00:00
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