You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Purpose of change
after #3489, there has been numerous issues and fixes with count-by-charges ("the stackable") items:
std::clamp
" #4007however, they all does not solve the fundemental issue: they work on different APIs.
game_object::detach
item::split
Cataclysm-BN/src/activity_actor.cpp
Lines 1179 to 1185 in 6bff212
For every time an item may be stackable, this logic needs to be duplicated with
item::count_by_charges
.This is problemetic in numerous ways:
Proposed Change
detach
split
Beta Was this translation helpful? Give feedback.
All reactions