dual-universe / lua-examples

This repository has been created to serve as a sharing and learning platform for the Dual Universe community and the development of simple and complex Lua applications. You will find on this repo the examples released by Novaquark during the devblog and thread.
https://www.dualuniverse.game
GNU General Public License v3.0
59 stars 19 forks source link

weapon.getStatus() documentation is not up to date #27

Closed anatoly-kussul closed 1 year ago

anatoly-kussul commented 1 year ago

Seems like actual statuses are:

1 - Idle
2 - Firing
3 - ?
4 - Reloading
5 - Unloading
6 - Fire Blocked

https://github.com/dual-universe/lua-examples/blob/d9ed4cb14c83c17313ae3dcd7ce8cc5f31ed016a/api-mockup/weapon.lua#L70-L72

NQ-Ligo commented 1 year ago

Indeed, I checked, it's :

Idle = 1,
Firing = 2,
Stopping = 3,
Reloading = 4,
Unloading = 5,
FiringBlocked = 6

I will update the documentation and the ingame CODEX