Andrei Kortunov
61c968d550
Ignore broken items when search for replacement (bug #4453 )
7 years ago
Andrei Kortunov
4580024d76
Unequip all items from dead corpse when take all items (bug #4095 )
7 years ago
Jordan Ayers
b277bd782e
Adjust restock calculations to ignore filled soul gems.
...
Bug #3684
8 years ago
Allofich
6e405aed8c
Adjustments to RemoveItem behavior
...
(Fixes #3796 )
8 years ago
Rafael Moura
9963601484
Porting code to ConstContainerStoreIterator #1
8 years ago
Rafael Moura
ecbde7b11e
Added ConstContainerStoreIterator
...
using base template for ContainerStoreIterators
less template arguments for ContainerStoreIteratorBase
8 years ago
MiroslavR
11565b5966
Make actors with non-portable lights in inventory glow ( Closes #2042 , #3338 )
8 years ago
Jordan Ayers
c82d9a1e87
Adjust ContainerStore / InventoryStore to allow partial unequip of items.
9 years ago
scrawl
3856f931db
Accept a ConstPtr in ContainerStore::addNewStack
9 years ago
scrawl
e1c6261fee
Accept a ConstPtr in ContainerStore::getType
9 years ago
scrawl
edde5bd065
Accept a ConstPtr in ContainerStore::stacks
9 years ago
scrawl
ed3486e816
Improve const-correctness in writeAdditionalState
9 years ago
MatthewRock
3b254ad631
Allows the same item to have multiple ancestors
9 years ago
MatthewRock
a662a00c62
Fixing bug for merchant
9 years ago
scrawl
bea88c3643
Stolen item tracking overhaul part 2 ( Fixes #2338 )
10 years ago
scrawl
79d2eebe54
Store selected enchant item in savegame ( Fixes #1702 )
10 years ago
scrawl
d13335ba40
Ensure the item can be equipped in the given slot when loading inventory
10 years ago
scrawl
c65f9cb3c0
Revert "Change save format to store relative equipment index"
...
This reverts commit 89d9649b50
.
10 years ago
scrawl
89d9649b50
Change save format to store relative equipment index
...
Store the index for the allowedSlots vector instead of the absolute slot index. This will more gracefully handle edge cases like the available slots for an item having changed when loading the game, or the "allows stacking" property having changed. However the main reason this was done is to ease work on the essimporter.
10 years ago
scrawl
235683e449
Remove LightState from openmw save format to streamline inventory loading
10 years ago
scrawl
eb99ed697b
Reduce includes
10 years ago
scrawl
e2346d7c37
Store permanent magic effects in savegame ( Fixes #1648 )
10 years ago
scrawl
3912ee2b1d
Fix faction rank not being set on items in faction-owned containers
10 years ago
scrawl
08ce6ed7fb
Attempt to restack item after repair or recharge ( Fixes #1656 )
11 years ago
scrawl
a872c9f83a
Feature #1323 : handle restocking levelled items
11 years ago
Marc Zinnschlag
367919200f
moved CellRefList into a separate file
11 years ago
Marc Zinnschlag
1b5301eec0
Merge branch 'savedgame'
...
Conflicts:
apps/openmw/mwbase/mechanicsmanager.hpp
apps/openmw/mwbase/soundmanager.hpp
apps/openmw/mwgui/mapwindow.hpp
apps/openmw/mwmechanics/actors.cpp
apps/openmw/mwmechanics/mechanicsmanagerimp.hpp
apps/openmw/mwsound/soundmanagerimp.hpp
components/esm/loadcell.cpp
11 years ago
Marc Zinnschlag
5b04c10e1d
added creature/NPC state to saved games (only container/inventory for now)
11 years ago
Marc Zinnschlag
d2ec3ffdc8
handle equipped items when serialising inventory state
11 years ago
Marc Zinnschlag
bcc5894e2d
changed implementation functions for container serialisation from free functions to member functions (will need some polymorphism later)
11 years ago
Marc Zinnschlag
dd674566a2
store content of containers in saved game files
11 years ago
scrawl
589fbbd871
Issue #777 : Create InventoryStore for creatures with weapons/shields
11 years ago
scrawl
90b92a8f41
Move levelled list code out of ContainerStore
11 years ago
scrawl
0f5dc59176
Remove useless dependencies on InventoryWindow for getting player gold. Don't use string literals for gold_001 id, just to be sure.
11 years ago
scrawl
372cd437d1
Add a utility function for counting items in a container
11 years ago
scrawl
0285d18fc2
Respect items belonging to a faction
11 years ago
Marc Zinnschlag
48a08c4c4d
Merge remote-tracking branch 'endorph/master'
11 years ago
Dmitriy 'Endorph' Shkurskiy
9afa8e952e
tabs -> spaces
11 years ago
scrawl
2f35e5a04e
Stop merchants from autoequipping items sold to them
11 years ago
scrawl
dde2cd5d5a
Fix some code that still used setCount directly instead of using the ContainerStore interface. Also fix a related annoyance with the interface.
11 years ago
Dmitriy 'Endorph' Shkurskiy
18d4cdb2ac
Fix for VS2010-Debug: manual assignment operator and cctor added for MMWorld::ContainerStoreIterator
11 years ago
scrawl
27092a4494
flagAsModified should be private
11 years ago
scrawl
bab657fe2b
Add a utility function to add items to a ContainerStore by RefID
11 years ago
scrawl
00af6b5617
Use an inventory store listener for animation parts and VFX update instead of updating them directly. Slightly more flexible, reduces InventoryStore dependencies and solves a crash during character creation due to the preview doll's animation not being registered in World.
11 years ago
scrawl
427de69b79
Allow stacking enchanted items when charge is full
11 years ago
scrawl
ff7e4174f9
Fix some leftover code that still calculated random magnitude per spell rather than per effect. Major cleanup of InventoryStore: Magic effects are now updated when needed, rather than cached. Also allows to get rid of 'mutable' hacks and non-const method that should be const. Play sounds and particles when equipping a permanent enchantment item.
11 years ago
scrawl
3c6a391507
Rename arguments again
11 years ago
scrawl
700d06764c
Order of arguments for ContainerStore::stacks shouldn't matter. Supplying them in the correct order is error prone, and also caused a bug where equipped items would incorrectly stack.
11 years ago
Emanuel Guevel
750f1fd760
Edit ContainerStore::stacks for clarifications and correctness
...
Rename arguments and fix some potential errors (add checks).
11 years ago
Emanuel Guevel
26e4ccb8c2
Cosmetic changes
...
Rename ContainerStore::addImpl to addNewStack (it was confusing, since
ContainerStore had methods named 'addImp' and 'addImpl').
11 years ago