Add forcefields, and start building the map.
This commit is contained in:
parent
5fd67703c0
commit
b5bc0a34ea
12 changed files with 509 additions and 15 deletions
|
|
@ -23,11 +23,14 @@ function ns.do_whack(m)
|
|||
node = {name = node.name},
|
||||
time = 0.1
|
||||
}
|
||||
if artifact.on_whacked then
|
||||
artifact.on_whacked("node", m.pointed_node)
|
||||
end
|
||||
elseif m.pointed_obj and m.pointed_obj.on_whack then
|
||||
if m.pointed_obj:on_whack() then
|
||||
-- For use in artifact_help.
|
||||
if artifact.on_whacked then
|
||||
artifact.on_whacked()
|
||||
artifact.on_whacked("object", m.pointed_obj)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue