Make weapondef docs reflect Lua types
Opened this issue · 0 comments
sprunk commented
- defaults for booleans should say
true
andfalse
, not1
and0
:
std::string
should say juststring
, there is nostd::
in Lua.
- float should say "number". IDK about int and unsigned int, technically they're not lua types either but they convey "no fractional values" nicely.
- float4 is sometimes (always?) actually float3, and is not a Lua type. Should probably say "{number, number, number}"
- not directly related to types, but the "scaling" is often not too helpful. Input should just be in natural units, but I guess that is already covered by #801.