6 Commits

Author SHA1 Message Date
Elkien3
f33fdc3477 Update init.lua 2020-11-20 11:55:09 -06:00
Elkien3
ac52c69f2d initial fork commit
not going to explain it all, sorry :P
2019-03-27 08:17:55 -05:00
Elkien3
2c8fbc70cc Revert "Big Update"
This reverts commit 6ddb4a2fababa151384c69e2e3fe873cf3172d72.
2019-03-14 16:00:13 -05:00
Elkien3
6ddb4a2fab Big Update
api.lua:
58: made reload work for mutliple types of ammunition.
76: made fire function take spread and pellet value.
89: fixed bullets falling being slightly above the crosshair.
100: fire bullets for every pellet, and do spread. doing mutiple bullets here instead of mutiple fire() keeps the sound from sounding multiple times.
165: fixed burst guns getting destroyed when empty.
159: remove splash_fire, use mutliple pellets in gun def.
198-212: pass pellet and spread defs.
205: not sure what this was, it isn't an actual method and causes crash. works fine without.
236: non-automatic weapons would only shoot once, as their interval[name] would not increase with time.
remaining lines: passing defs and giving default values.

I think the other files are fairily readable, so I won't document those changes unless needed.
2019-03-13 11:51:30 -05:00
Anand S
99857612bb Add guns.lua 2018-11-23 22:44:31 +05:30
Anand S
2659d195a1 Add standalone API 2018-11-20 14:00:33 +05:30