Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Is there a script to delete an item on cursor?  (Read 12508 times)

athenalras

  • Bay Watcher
    • View Profile
Is there a script to delete an item on cursor?
« on: April 04, 2015, 01:05:33 pm »

As title says, I'm looking to see if there are any dfhack commands to delete items on cursor without building an atom smasher.

I just don't like to see isolated items in unreachable places just randomly strewn.
Logged

Diamond

  • Bay Watcher
  • Did someone just say "elves" ?
    • View Profile
Re: Is there a script to delete an item on cursor?
« Reply #1 on: April 04, 2015, 01:18:55 pm »

You can just use d-b-h to hide them.
Logged

athenalras

  • Bay Watcher
    • View Profile
Re: Is there a script to delete an item on cursor?
« Reply #2 on: April 04, 2015, 04:01:49 pm »

does hiding them permanently get rid of them though?
Logged

lethosor

  • Bay Watcher
    • View Profile
Re: Is there a script to delete an item on cursor?
« Reply #3 on: April 04, 2015, 04:50:29 pm »

No. You can use some form of autodump (possibly "autodump-destroy-here", although you should check the DFHack readme).
Logged
DFHack - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.

athenalras

  • Bay Watcher
    • View Profile
Re: Is there a script to delete an item on cursor?
« Reply #4 on: April 04, 2015, 05:22:54 pm »

No. You can use some form of autodump (possibly "autodump-destroy-here", although you should check the DFHack readme).


lol. I'm actually using that right now. Thanks.
Logged

orbcontrolled

  • Bay Watcher
    • View Profile
Re: Is there a script to delete an item on cursor?
« Reply #5 on: April 07, 2015, 03:37:41 pm »

"autodump-destroy-item" sounds like what you're looking for. For bulk work you're stuck with autodumping everything into one tile, then using "autodump-destroy-here" on that tile.
Logged