mirror of
https://github.com/LDDestroier/CC/
synced 2024-07-13 07:14:39 +00:00
24 lines
414 B
Plaintext
24 lines
414 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
|
|
}
|