Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Removing All the Trader Flags- Resolved  (Read 844 times)

Leonidas

  • Bay Watcher
    • View Profile
Removing All the Trader Flags- Resolved
« on: July 04, 2020, 06:50:34 pm »

DFHack's gui/gm-editor will remove the trader flag one item at a time. The Librarian Script is a more efficient option for books. I'm wondering if there's anything faster, like a script that'll set the trader flag to false on every item in the fortress.

Here's why I need it:

1) Some adventurers acquired a couple hundred books from a local library and a necromancer tower. They're considering acquiring a couple thousand more from other libraries and towers. They've been depositing these books into a retired fortress that is destined to be the great library of its age. But on that fort's unretirement, it turned out that many of these books had been marked with the trader flag. I figure it's like a sticker that says "Property of the Snarlingsummer Public Library".

2) I've also had the situation where a caravan gets spooked and dumps many dozens of items, which become unmovable. Picking through those with gui/gm-editor would be slow and tedious.
« Last Edit: July 04, 2020, 08:06:52 pm by Leonidas »
Logged

Shonai_Dweller

  • Bay Watcher
    • View Profile
Re: Removing All the Trader Flags
« Reply #1 on: July 04, 2020, 07:37:24 pm »

Probably get a better response in the mods forum. A Gameplay Questions forum full of complex hacking threads is just intimidating to browse through for people looking for actual gameplay advice.
Logged