106 Commits

Author SHA1 Message Date
marco_a
d9bddae469 Put media licences into LICENSE file 2024-08-25 16:54:10 +02:00
marco_a
9f3d285f69 Version bump (0.2.0-dev) 2024-08-25 14:57:00 +02:00
marco_a
a9fc115edb mod.conf: add min MT version and improve description 2024-08-25 12:51:55 +02:00
marco_a
033bbbd854 Version bump (0.1.0) 2024-08-25 12:49:07 +02:00
marco_a
3ad4fb9ddf DOCS: specify crosshair is mandatory and melee weapons design 2024-08-25 12:43:43 +02:00
marco_a
c7761494c3 DOCS: state current known limitations and WIP status of the mod 2024-08-25 01:53:08 +02:00
Zughy
027939e6ee DOCS: make 'em nice 2024-08-24 23:18:05 +00:00
marco_a
b18d141cdf DOCS: clean up 2024-08-25 00:59:43 +02:00
marco_a
bd64d38263 CRASHFIX from previous commits: wasn't considering the itemstack where the action generated from 2024-08-24 22:21:33 +02:00
marco_a
aaeb41631d CRASHFIX due to weap_def/weapon renaming 2024-08-24 17:53:55 +02:00
marco_a
c219221d19 DOCS: use correct nomenclature weap_def and weapon 2024-08-24 16:41:10 +02:00
Zughy
60af7e3a81 Merge branch 'canc_reload' into 'main'
Cancel reloading when switching to another weapon and start to reload again when re-grabbing the previous weapon

Closes #2

See merge request zughy-friends-minetest/weapons_lib!3
2024-08-24 14:40:05 +00:00
Zughy
898438a60b Cancel reloading when switching to another weapon and start to reload again when re-grabbing the previous weapon 2024-08-24 14:40:05 +00:00
marco_a
b716db61cf Add bullet@size override 2024-08-11 00:20:57 +02:00
marco_a
7d4ced831b Clean code 2024-08-10 19:46:50 +02:00
Zughy
53a195d4ef Merge branch 'param_override' into 'main'
Possibility to override single weapon parameters

See merge request zughy-friends-minetest/weapons_lib!4
2024-08-10 17:28:20 +00:00
Zughy
c1d82795f8 Possibility to override single weapon parameters | Add bullets on_spawn callback | Bullets static_save = false 2024-08-10 17:28:20 +00:00
marco_a
33ec027128 Let audio_lib handle stopping sounds as well 2024-08-08 14:45:57 +02:00
marco_a
755e5cec43 Fix test weapons 2024-08-02 01:25:28 +02:00
marco_a
052de7c74a Rename files so to avoid overlapping with other mods 2024-07-29 16:20:25 +02:00
marco_a
16ba76158d ..and another fix 2024-07-29 15:54:48 +02:00
marco_a
f7fc32fcc8 CRASHFIX: missing audio_lib check when launching a game 2024-07-29 15:49:52 +02:00
marco_a
0bee8f9118 Unify trail definition for both hitscan and bullet weapons (closes #10) 2024-06-20 23:35:42 +02:00
marco_a
c96c5c95ac CRASHFIX: avoid ghost entities 2024-06-20 21:34:14 +02:00
marco_a
68207ca8f9 Don't use audio_lib deprecate function 2024-06-20 21:08:49 +02:00
marco_a
e742b5b9f2 Document the fact that can_alter_speed must checked also for weapons not slowing down when it comes down to speeding up again the player 2024-06-16 15:21:10 +02:00
marco_a
0978c57df3 More speed checks, hopefully fixes #12 2024-06-15 23:43:35 +02:00
marco_a
5cb1b43ecf Better wording 2024-06-08 02:25:26 +02:00
marco_a
5a25e0e302 Possibly fixes for physics_override handling 2024-06-08 02:12:53 +02:00
marco_a
811399a6d5 Be sure to always reset wl_slowed_down metadata when reset_state(..) is called | Better document wl_slowed_down metadata 2024-06-07 22:20:27 +02:00
marco_a
0a34fc82af Prevent weapons from picking up items 2024-05-28 14:29:29 +02:00
marco_a
be3311a751 Bugfix: prevent yet another Sonic scenario 2024-05-23 23:37:39 +02:00
marco_a
2dec69167b Prevent weapons from being stackable 2024-05-02 22:03:05 +02:00
marco_a
d14965e7b4 Add more info in debug 2024-05-02 02:46:53 +02:00
marco_a
ab4566aad4 Increase assisted aim accuracy for raycast weapons 2024-04-24 23:45:09 +02:00
marco_a
2c40cd03ea Bugfix: another Sonic scenario when finishing shooting whilst zooming and then instantly changing slot (if weap delay < 0.5) 2024-04-22 11:51:57 +02:00
marco_a
87e0537657 Add settings to decide which players can see the debug messages and which can't 2024-04-22 00:13:27 +02:00
marco_a
0bb9c4c6be Bugfix: switching to another slot while shooting with a slow_down_user continuous fire weapon messed up the physics | Add debug option 2024-04-18 14:43:11 +02:00
Zughy
40b68c0aa9 Merge branch 'test_slowed_meta' into 'main'
Fix bullets | Add `wl_slowed_down` metadata | CRASHFIX: check if player is still online before running the recovery phase | reset all metadata when joining

See merge request zughy-friends-minetest/weapons_lib!2
2024-04-17 21:04:18 +00:00
Zughy
359c28a6f3 Fix bullets | Add wl_slowed_down metadata | CRASHFIX: check if player is still online before running the recovery phase | reset all metadata when joining 2024-04-17 21:04:18 +00:00
marco_a
199108b50a Move on_recovery_end callback into weapon parameters 2024-04-11 14:44:34 +02:00
marco_a
84b3f5a535 Remove TODO 2024-04-09 23:10:58 +02:00
marco_a
1447dbfef2 DOCS: expose apply_damage function 2024-04-09 22:20:06 +02:00
marco_a
9337f045e1 Notes for the future 2024-04-08 00:32:18 +02:00
marco_a
2323fa091f Add zoom on test weapon n°3 | fix bullets crash 2024-04-08 00:09:37 +02:00
marco_a
c6cac58906 DOCS: improve readability of actions section 2024-04-04 01:08:46 +02:00
marco_a
bd21cf76ae DOCS: clean up actions structure 2024-04-04 00:22:09 +02:00
marco_a
ba31499337 DOCS: specify that "punch" actions can't support hit_point due to MT current limitations 2024-03-24 12:20:26 +01:00
marco_a
19646e6804 Possibility to override weapons' knockback via on_hit(..) 2024-03-24 11:57:44 +01:00
marco_a
23e2a18901 Cleaning 2024-03-24 01:03:03 +01:00