Difference between revisions of "User:DavidJCobb/Stack dumping"
m
→Events that can trigger large numbers of suspended stacks
imported>DavidJCobb |
imported>DavidJCobb |
||
Line 34: | Line 34: | ||
*** Friendly reminder: built-in, Bethesda-authored content calls RemoveAllItems() on the player. Diplomatic Immunity, The Forsworn Conspiracy, The Mind of Madness, Restoration Ritual Spell, and Unbound all remove the player's inventory at some point. | *** Friendly reminder: built-in, Bethesda-authored content calls RemoveAllItems() on the player. Diplomatic Immunity, The Forsworn Conspiracy, The Mind of Madness, Restoration Ritual Spell, and Unbound all remove the player's inventory at some point. | ||
** For OnItemAdded and OnItemRemoved, I list some additional methods for avoiding stack dumping [[Talk:OnItemAdded - ObjectReference#Facts about OnItemAdded|here]]. | ** For OnItemAdded and OnItemRemoved, I list some additional methods for avoiding stack dumping [[Talk:OnItemAdded - ObjectReference#Facts about OnItemAdded|here]]. | ||
** OnItemAdded and OnItemRemoved don't appear to be able to run concurrently with themselves, so their stacks will be suspended as a matter of course. | ** OnItemAdded and OnItemRemoved don't appear to be able to run concurrently with themselves, so their stacks will be suspended as a matter of course, and it'll take longer for those stacks to clear. | ||
== Miscellaneous facts == | == Miscellaneous facts == |