"Stolen item" flag

Everything about development and the OpenMW source code.
Post Reply
User avatar
akortunov
Posts: 434
Joined: 13 Mar 2017, 13:49
Location: Samara, Russian Federation
Github profile: https://github.com/akortunov

"Stolen item" flag

Post by akortunov » 10 Jun 2018, 12:32

Many people complain to me about how Morrowind itentifies if an item was stolen.

I tried to use a different approach - add "Stolen" flag to CellRef (savegame format was changed), so an engine can identify if this instance is stolen.
Stolen items form separate stacks:
Screenshot_20180610_151550.png
Guards confiscate only items with "Stolen" flag, traders too.
Source code is available here. Also attached icon is required.

Note: this is only a prototype for now, so feel free to share ideas about how to improve it.
Attachments
icon.zip
Stolen item icon
(633 Bytes) Downloaded 6 times

User avatar
Thunderforge
Posts: 492
Joined: 06 Jun 2017, 05:57
Github profile: https://github.com/Thunderforge

Re: "Stolen item" flag

Post by Thunderforge » 11 Jun 2018, 04:16

Neat! I could totally see this as an option in the Advanced menu (or whatever it winds up turning into).

I don't know if it would make sense to have a red background on the hover over like how we have the option to do that when you're about to steal something.

Keep up the good work, and I look forward to the PR!

User avatar
ap0
Posts: 275
Joined: 11 Aug 2011, 18:47
Contact:

Re: "Stolen item" flag

Post by ap0 » 11 Jun 2018, 19:53

This is a great idea ♥

Post Reply

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot] and 12 guests