-
Notifications
You must be signed in to change notification settings - Fork 479
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reduce duplication of tools, remove obsolete tools #735
Comments
Is this also a point for doubled stuff? Like, dfusion allows you to heal up, but it doesn't like to double-up on a unit, and full-heal is faster. create-items duplicates a lot of gui/hack-wish, is almost the same name as modtools/create-item, and far more limited than createitem, plus the digv/digtype/etc being official now. |
I see deduplicating the standard library is a huge job - even more so because we probably want to have an official version of anything commonly used. No issue for that because it's not clear what would be required to close it! Ideally there would be "one obvious way to do it", whatever "it" is, but that's probably out of reach for the foreseeable future. For now, I'm happy to just include everything and work on standardising can happen where it happens - because there's far more duplication of useful bits when DFHack doesn't supply a standard. |
Yeah, it's a pretty interesting problem. Does create-items do anything that createitem doesn't? For that matter, does createitem do anything that gui/create-item doesn't? Actually, having all these weird, similarly-named item creation scripts is probably something to be dealt with. |
The only times I use createitem rather than gui/create-item is when I know specifically the syntax like createitem ROUGH OBSIDIAN or createitem ARMOR:ITEM_ARMOR_CLOAK SPIDER_PHANTOM:SILK or something, but if it's something I'm unsure of having the gui to search for it is super helpful. |
gui/create-item isn't as easy to automate, for one thing. I can't think of anything unique offered by create-items, though, aside from slightly different names for some things. |
Isn't modtools/create-item about the same now? |
It doesn't support creating multiple items at once, like createitem and gui/create-item, and I haven't checked to see how it handles "special" items, like gloves - ideally, all of them would behave the same way. |
It seems that this issue has expanded somewhat, so I'll edit the top post. For item creation, it seems that the "best" thing to do would be to upgrade |
modtools/create-item is just a convenient wrapper for item creation. Updating gui/create-item to use it seems like unnecessary abstraction, since gui/create-item is also a convenient wrapper for item creation. It wouldn't add any functionality. |
About dfusion: it's mostly obsolete to the max :D. I.e. it has a system that i thought at the time was very nice (could be used as a script and as a module). However it soon got deprecated by normal stuff. Also it was mostly ported from pre-dfhack days... |
|
|
Replaced by successor issue and pull request for clarity. |
There are three lists: things to remove, things to update, and tools to de-duplicate.
On the deprecation end, there's a bunch of stuff hanging around that hasn't been built or used since 0.40.01:
dwarfexport
: disabled for some time, unused by modern toolsmapexport
: disabled for some time, unused by modern toolsdf2mc
: hasn't been compatible with minecraft for yearsDFusion
: very old, all functions replaced save multirace embark partiesmodtools/reaction-trigger-transition
: it's been two years, hopefully the transition is over and the script can be removed!Some plugins are still incompatible with 40.xx, but would be great to update. Alternatively they might be removed if it's judged not worth the bother:
advtools
misery
treefarm
Tools with duplicated functionality, or things that could be merged: (related to #722)
createitem
plugin,modtools/create-item
,gui/create-item
. Could drop the plugin, upgrade modtools and use it as a backend for the gui (with script_environment or similar)forceequip
plugin is mostly replaced bymodtools/equip-item
fastdwarf
,teledwarf
,superdwarf
- needs sorting out somehow. See Allow "fastdwarf 1" and teledwarf to apply to other creatures/races #664, Move fastdwarf/teledwarf to separate commands #665.The text was updated successfully, but these errors were encountered: