Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Alex6544

Pages: [1]
1
This problem has been giving me headache. Did some googling and reading, including this thread. I haven't been able to fully figure out what methods others have tried... honestly, I wish people were more specific when they write stuff like "DFHack dump it". What is that? Which command/script? Does it mean setting the dump flag on the item (actually possible to do in DF UI, I believe, but when it's a visitor's inventory they just ignore it, I think; makes sense that they would). Or does it mean something like transfer an item to the ground?

Anyhow, after failing to find any existing and working solutions, whether they do exist or not, I ended up writing my own script for this. The idea was to conveniently find and drop artifacts to the ground. Works like a charm for me, so far. I will share it here, so maybe it can be useful to someone else too. For dropping the items, it uses moveToGround call which is relatively common in various DFHack scripts, so I suppose it should not be too dangerous save corruption-wise. That being said, can't have too many save backups :).

https://pastebin.com/LzuQLe0V (dropartifact.lua)

Pages: [1]