mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-08-13 00:45:11 +09:00
Classes contributed to by more than one file now carry the `partial` attribute. trains.lua declared its command as `ExpCommand_Artillery`, which was a copy paste. `Color.0` and `MapPosition.0` became `.struct` in fmtk 2.1.6. emmylua rejects `@type` on a function statement or a `do` block, so those are moved onto the local or replaced by `@param` and `@return`. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
17 lines
297 B
Lua
17 lines
297 B
Lua
--- @class (partial) Gui
|
|
local Gui = require("modules/exp_gui")
|
|
|
|
--- @class Gui.styles
|
|
local styles = {}
|
|
Gui.styles = styles
|
|
|
|
function styles.sprite(style)
|
|
style = style or {}
|
|
if not style.padding then
|
|
style.padding = -2
|
|
end
|
|
return style
|
|
end
|
|
|
|
return styles
|