mirror of https://github.com/LDDestroier/CC/
23 lines
413 B
Plaintext
23 lines
413 B
Plaintext
local stage, players, objects, projectiles, act, images = ...
|
|
return {
|
|
info = {
|
|
name = "PanelReturn",
|
|
description = "Fixes all of your panels!",
|
|
cooldown = {
|
|
shoot = 8,
|
|
move = 4
|
|
}
|
|
},
|
|
logic = function(info)
|
|
|
|
for y, row in pairs(stage.panels) do
|
|
for x, panel in pairs(row) do
|
|
if panel.owner == info.owner then
|
|
act.stage.crackPanel(x, y, -2)
|
|
end
|
|
end
|
|
end
|
|
|
|
return false
|
|
end
|
|
} |