1
0
mirror of https://github.com/LDDestroier/CC/ synced 2024-12-15 12:40:29 +00:00
ldd-CC/CCBN/ccbn-data/chipdata/rockcube

17 lines
415 B
Plaintext
Raw Normal View History

2019-03-13 04:15:41 +00:00
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
}