Unloading sewing kit creates a "none" item
sewing kitsewing kit (50/200)sewing kit (0/200) and nonethread not losing identity
02:01:22.096 ERROR : (error message will follow backtrace)
/mnt/Data/code/git/Cataclysm-DDA/cataclysm(_Z21debug_write_backtraceRSo+0x23) [0x1bcc763]
/mnt/Data/code/git/Cataclysm-DDA/cataclysm(_Z8DebugLog10DebugLevel10DebugClass+0x106) [0x1bcc1b6]
/mnt/Data/code/git/Cataclysm-DDA/cataclysm(_Z12realDebugmsgPKcS0_S0_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x49) [0x1bcbcc9]
/mnt/Data/code/git/Cataclysm-DDA/cataclysm(_Z12realDebugmsgIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvPKcS7_S7_S7_DpOT_+0x43) [0x19085e3]
/mnt/Data/code/git/Cataclysm-DDA/cataclysm(_ZNK6player16item_reload_costERK4itemS2_i+0x388) [0x248e528]
/mnt/Data/code/git/Cataclysm-DDA/cataclysm(_ZN6player6unloadER4item+0xc35) [0x248fc85]
/mnt/Data/code/git/Cataclysm-DDA/cataclysm(_ZN13avatar_action6unloadER6avatar+0x139) [0x19fefa9]
/mnt/Data/code/git/Cataclysm-DDA/cataclysm(_ZN4game13handle_actionEv+0xe33) [0x1d9bd73]
/mnt/Data/code/git/Cataclysm-DDA/cataclysm(_ZN4game7do_turnEv+0x578) [0x1cfa858]
/mnt/Data/code/git/Cataclysm-DDA/cataclysm(main+0xc82) [0x202ff72]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7ffff7a2b0b3]
/mnt/Data/code/git/Cataclysm-DDA/cataclysm(_start+0x2e) [0x189f89e]
Attempting to repeat stack trace using debug symbols…
debug_write_backtrace(std::ostream&)
…/src/debug.cpp:777
DebugLog(DebugLevel, DebugClass)
…/src/debug.cpp:943
realDebugmsg(char const*, char const*, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
…/src/debug.cpp:115
void realDebugmsg<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >(char const*, char const*, char const*, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&)
…/src/debug.h:?
player::item_reload_cost(item const&, item const&, int) const
…/src/player.cpp:?
player::unload(item&)
…/src/player.cpp:3238
avatar_action::unload(avatar&)
…/src/avatar_action.cpp:1292
game::handle_action()
…/src/handle_action.cpp:2022
game::do_turn()
…/src/game.cpp:1515
main
…/src/main.cpp:697
__libc_start_main
??:?
_start
??:?
Backtrace emission took 6 seconds.
src/player.cpp:2894 [int player::item_reload_cost(const item &, const item &, int) const] cannot determine reload cost as none is neither ammo or magazine
Related to #40125
Related to #40134
Same thing happens with bone needle - reloading bone needle with thread leaves it at zero charges, but uses the thread.
Ditto for wood needle.
This really needs to get moved to the top of the queue. It breaks the game.
Ditto for wood needle.
This really needs to get moved to the top of the queue. It breaks the game.
There is no queue.
Agree totally. Hard to play past too far with nothing being reloadable.
Sent from Outlook Mobilehttps://aka.ms/blhgte
From: ZhilkinSerg notifications@github.com
Sent: Thursday, May 21, 2020 7:22:07 PM
To: CleverRaven/Cataclysm-DDA Cataclysm-DDA@noreply.github.com
Cc: morthein mordicon@hotmail.com; Manual manual@noreply.github.com
Subject: Re: [CleverRaven/Cataclysm-DDA] Unloading sewing kit creates a "none" item (#40158)
Ditto for wood needle.
This really needs to get moved to the top of the queue. It breaks the game.
There is no queue.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/CleverRaven/Cataclysm-DDA/issues/40158#issuecomment-632394385, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMD5VLCGMOPSC5BYSLQMGKDRSWZR7ANCNFSM4MZE3OBQ.
Ditto for wood needle.
This really needs to get moved to the top of the queue. It breaks the game.There is no queue.
Then it needs to move to the top of everyone's queue.
Ditto for wood needle.
This really needs to get moved to the top of the queue. It breaks the game.There is no queue.
Then it needs to move to the top of everyone's queue.
Nope.