Add forcefields, and start building the map.

This commit is contained in:
Signal 2025-11-20 03:15:30 -05:00
parent 5fd67703c0
commit dd73665a23
19 changed files with 511 additions and 15 deletions

View file

@ -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