mirror of
https://github.com/LDDestroier/CC/
synced 2024-12-12 11:10:28 +00:00
f4d7b3f893
What an update, like damn
17 lines
415 B
Plaintext
17 lines
415 B
Plaintext
local stage, players, objects, projectiles, act, images = ...
|
|
return {
|
|
info = {
|
|
name = "RockCube",
|
|
description = "Creates a cube-shaped rock!",
|
|
cooldown = {
|
|
shoot = 6,
|
|
move = 4
|
|
}
|
|
},
|
|
logic = function(info)
|
|
if act.stage.checkIfWalkable(info.x + info.direction, info.y) then
|
|
act.object.newObject(info.x + info.direction, info.y, info.owner, info.direction, "rockcube")
|
|
end
|
|
return false
|
|
end
|
|
} |