Commit Graph

52 Commits (1cfc1f9bdb32618d46acbd72f26f138f7a7473c0)

Author SHA1 Message Date
Andrei Kortunov 7559d25317 Update alchemy effects after every created potion (#4079) 7 years ago
Capostrophic 6c8c883dc0 Making knownEffect aware that there can be more than 4 potion effects 7 years ago
Allofich 60a2625b89 Add parentheses to clarify calculations 8 years ago
Allofich 498976775a Fix reversed use of alembics and retorts 8 years ago
Allofich b1be3596dc Cleanup of #include statements 9 years ago
scrawl b9d1d6144a Don't reveal unknown potion effects in alchemy window (Fixes #3146) 9 years ago
scrawl 04f7a8f8eb Remove redundant getId function 9 years ago
scrawl 67bd6cd708 Remove empty line at the beginning of files
git ls-files -z | xargs -0 sed -i '1{/^$/d}'
10 years ago
scrawl 1956e2c988 Merge branch 'master' of https://github.com/OpenMW/openmw into osg
Conflicts:
	apps/opencs/CMakeLists.txt
10 years ago
scrawl 6f34a0501a Attempting to make a potion with no effects removes the ingredients (Fixes #2722) 10 years ago
scrawl 33a3dabc31 An alchemy effect listed more than once in the same ingredient should not automatically create a potion of that effect (Bug #2722) 10 years ago
scrawl 8c810e3620 Move rng to components 10 years ago
scrawl 4e69e7cc0f OpenMW compiles and runs w/o render window 10 years ago
dteviot 3f28634d1f consolidate random number logic
Note, I suspect Rng::rollClosedProbability() is not needed.  The only difference between it and rollProbability() is that one time in 37k (on Windows), it will give an output of 1.0.
On some versions of Linux, the value of 1.0 will occur about 1 time in 4 billion.
10 years ago
dteviot ca8c8c6aa4 fixing MSVC 2013 warning C4244: & C4305
conversion from 'const float' to 'int', possible loss of data
conversion from 'double' to 'int', possible loss of data
conversion from 'float' to 'int', possible loss of data
10 years ago
dteviot 45b6538820 fixed MSVC 2013 warning C4800
forcing value to bool 'true' or 'false'
10 years ago
scrawl f931ba2efc Fix some static analysis issues (coverity) 10 years ago
scrawl 8b3755a770 Compile fix 10 years ago
scrawl 192069a181 Add automatic potion naming 10 years ago
scrawl fd7c181e06 Fix alchemy producing potion IDs from content files 10 years ago
scrawl afbd2de511 Fix broken alchemy magnitude/duration 10 years ago
scrawl 7252cb63a6 Fix cppcheck issues 10 years ago
scrawl b145d183ae Fix incorrect alchemy failure handling when an effect has a zero magnitude/duration (Fixes #1922) 10 years ago
scrawl 4a1e561015 Properly assign effect attribute/skill in potion creation (Fixes #1704) 11 years ago
scrawl f3cece8dec Fix alchemy allowing same item ID in different slots (Fixes #1407) 11 years ago
Emanuel Guevel 1e4a854433 Remove static method MWWorld::Class::get(&Ptr)
It was just adding a level of indirection to Ptr.getClass().
All the call were replaced by that instead. The number of lines changed
is important, but the change itself is trivial, so everything should be
fine. :)
11 years ago
scrawl 1d19d36bd6 Remove unused magic effect flags and update esmtool output 11 years ago
scrawl bab657fe2b Add a utility function to add items to a ContainerStore by RefID 11 years ago
Marc Zinnschlag ef8360f346 silenced a warning 11 years ago
Emanuel Guevel 10abb9d297 Call ContainerStore::remove() to remove items from inventory
Make placeObject() and dropObjectOnGround() in MWWorld to copy objects
(and indicate it clearly).

Enchanting an item now unequips it.
11 years ago
scrawl cbe96a2170 Refactor ActiveSpells to track range type. Added basic self range magic. 11 years ago
Emanuel Guevel 48d2554ac3 Auto-equip when items are added to the inventory
We limit that to armor pieces and clothing items.
No auto-equiping for the player nor werewolves.
12 years ago
Emanuel Guevel c020665cf2 Fix appending int to string in an exception message 12 years ago
greye 682fd23aea fix wrong increment 12 years ago
greye 9dc9098fa7 update MWBase::World interface since records contains own id 12 years ago
greye bd1bb2e55d applying new interface vol.1, inconsistent 12 years ago
greye d205723a17 resolving m prefix/ESMStore movement 12 years ago
greye 8691eac557 resolve Script::mData.mName -> mId, resolve moving ESMStore 12 years ago
greye 3c2ce25f5f m prefix for mwworld/cellstore.hpp 12 years ago
Marc Zinnschlag d7add0b9e6 Issue #61: fixed alchemy skill 12 years ago
scrawl 8d7514e341 corrected chance 12 years ago
scrawl 28cc480ce1 fix some alchemy issues and make the gui use the new implementation 12 years ago
Marc Zinnschlag 1864dbe031 Issue #61: potion creation 12 years ago
Marc Zinnschlag f5caf227b2 Issue #61: remove ingredients on potion creation 12 years ago
Marc Zinnschlag 3c71378fad Issue 61: improved ingredients handling in alchemy and documenation 12 years ago
Marc Zinnschlag 3fe0a73cf2 Issue #61: increase alchemy skill on successful potion creation 12 years ago
Marc Zinnschlag 510674aa5e Merge branch 'master' into alchemy
Conflicts:
	components/esm/loadmgef.hpp
12 years ago
Marc Zinnschlag 5fbca239dd Issue #61: potion creation (1st part; still missing some implementations) 12 years ago
Marc Zinnschlag 1cc2c2055f Issue #61: Implemented basic ingredient handling in Alchemy class 12 years ago
Marc Zinnschlag 6469933ce8 Merge branch 'master' into alchemy
Conflicts:
	apps/openmw/mwgui/alchemywindow.cpp
12 years ago