Also, is there any particular reason that when you scroll to the next page in your inventory, the assigned keys can't just reset?
basically if you have items A, B, C, D, E, and F, and then you scroll to the next page, instead of being G, H, I, etc., can't they just be A, B, C, D?
Might help address the item limit.
This is how ADOM does it and I can not stand it. It's much less navigable to me, it removes the two-press system and forces 3, 4, or 5 presses to wield, drop or use an item, it removes the ability to remember that slot 'c' is your crowbar, etc.
I don't really have a lot of experience here with coding, so if what I'm explaining is impossible, sorry!
In regards to food going rotten, wouldn't it be possible to assign a birth date to a stack of, say, oranges? Once the amount of time passes to make an orange rotten, would it be possible to simply create a rotten orange in your inventory? I do suppose you'd need a new birth date for the next orange in the stack though..
The issue is that not all oranges have the same birth date--some are considered to be harvested later than the ones you find in grocery stores. So if you have a still-good orange from a grocery store, and a still-good orange from an NPC market, they should stack, because the player isn't aware that there's a difference. But once the grocery store one goes bad, they should unstack. Obvious, we wouldn't have to check if this is the case on every single turn--only when the inventory is accessed, for efficiency.
I believe this has to do with the limited number of available upper and lower case letters, as thats how items get assigned keys at the moment so no, not remove, but certainly help.
Yea, I get that - I was mostly asking if the inventory thing would help the item limit seeing as items would only be stacked for displayed inventory and would be kept separate behind the scenes. Might still require the stacked items to count toward the limit to prevent half your food items suddenly going spoiled and bringing you over the limit due to dividing the stacks or something.
Heh, purifiers boosting stats should probably be removed. After raiding several science labs for their bleach, ammonia, mutagens, and purifiers (using cooking to turn mutagens into purifiers) I've raised this character's stats to 31 20 25 23. Or maybe instead of removal, a high end cooking recipe to make some kind of special stat boosting potion? Could be like mutagen x2 + purifier x2 + royal jelly x2 or something.
Yeeeeah okay I will be removing that ability from purifiers. The craftable stat booster is a good idea, thanks!
The inventory item limit is purely a UI problem of not having enough letters to assign to items. Stacking helps this problem, as having 12 identical bottles of water would take up only a single letter.
I actually
like having a 52-item limit; it encourages using stashes and discourages insane hoarding. It also gives items like lighters, which have 0 weight and 0 volume, a cost to carry. I do think that without stacking, the 52-item limit is too severe.
Different genders start with different clothing (randomized).
I like this change as well--in theory. In practice, the women's clothing in the game is generally pretty much scissor fodder--dresses suck, skirts make you run a
tiny bit faster but I'd rather have the storage of jeans. I don't want to disadvantage one gender in relation to the other (differences exist in how NPCs react to you, but they're minor and neither gender has a clear advantage over the other here).
Item suggestion: Binoculars. If used, allow you to see outside the range at which you could normally see, as long as the area your looking at is not dark and is in your line of sight. also increases overmap sight by a decent amount, just from being carried.
Great idea, especially the overmap sight part (which needs to be increased anyway to maybe twice what it is; binoculars could further increase it to 10 unobstructed tiles, perhaps?).
Suggestion-Molotov cocktails should not go out nearly so easily. and when they do, they should not simply disapear! You should be able to re-light them, or at least stuff a new rag in to make a new cocktail. or salvage the bottle, or something!
The disappearance is a technical issue that I've been too lazy to fix. Right now it's basically just "roll a 20-sided die; on a 1, the molotov
goes out disappears," so it can happen one turn after lighting it if you're unlucky. I'll make it so that lighting a molotov sets the item's birthdate to the current turn, and that way no molotovs can go out for the first few turns at least, with an increasing chance the longer they're lit. I'll also make it so that the molotov changes back to an unlit molotov, or maybe a bottle depending on how long it's been lit.
What I would do is even simpler, and fixes another problem at the same time.
Let people create "clusters". Maybe +? (shift equal, to associate it with the define key)
Cluster screen allows you to add several items to a cluster.
When you select an item, if you select a cluster, it simply brings you to the item list for that cluster (works just like the normal inventory screen).
Clusters are treated otherwise just like a normal item - they can be dropped, picked up, etc. Except each one has its own, internal item limit. It's like a stack, except player-defined.
...
Actually, I'm not sure if I'm explaining it right, but it sounds great in my head. I may just implement it on my own later, even if another type of stacking is introduced.
Interesting thought! Seems like a lot of UI overhead, though... it also doesn't solve the inventory letter problem, which is half the reason for stacking in the first place. Let me know if you do implement it, I'd be interested to give it a try and see how it plays.
Changing that char to an int shouldn't cause any problems at all.
Oh I see. Well, I didn't know if you are packing bits in there. If that was the case changing char to int might cause problems.
...my knowledge of C++ is close to null...are vectors equivalent to anything in C? xD
Nah, no bit-packery, aside from trying to reduce the overall size of the class by a word.
Vectors are dynamic arrays, basically.