Well, it used to work, but it was implemented in a rather ugly manner, and it stopped working when I removed a seemingly needless piece of code in one of my clean-up sessions. I know that it should be fixed, but I just haven't bothered yet... :PPotjeh wrote:But seriously, what happened to newly crafted items using space that their components used to occupy? It worked like that before, and I can't think of a single reason why it shouldn't work like that again.
-
loftar
- Posts: 9096
- Joined: Fri Apr 03, 2009 7:05 am
- Location: Your character database
Re: Game Development: Inventory work.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
-
Jaltos
- Posts: 58
- Joined: Fri Oct 30, 2009 12:17 am
Re: Game Development: Inventory work.
Don't get me wrong loftar. I know you're able to do anything on this game. Heck, I wouldn't never be able to do all that you done.
I'm just talking my mind, how I would do it. I must have misunderstood your problem too. Anyway, keep up the good work!
I'm just talking my mind, how I would do it. I must have misunderstood your problem too. Anyway, keep up the good work!
-
warrri
- Posts: 1033
- Joined: Fri Aug 28, 2009 5:55 pm
Re: Game Development: Inventory work.
Are you speaking of the full stack (about 40 after a freshly done murder) or each single scent from that stack? The latter would take about 200 days which i cant imagine, but if its the first it means what i wrote, each single scent no matter what crime decays at the same speed, just that there are more scents in a stack of murder than in a stack of theft etc. Nevertheless i didnt lose a single scent from a murder stack.jorb wrote:Murder scents decay after two in-game weeks. That is to say, about five real days.warrri wrote:Isnt the decay time the same for every scent, just that there are 40 or so murder scents at once but only 11 theft so that it takes longer until a murder cant be tracked? Nevertheless i picked up 2x30 murder scents from foofighter, and about 12 hours later they were still 30. These crimes were committed two days ago.
The world I love The tears I drop To be part of The wave can't stop
Ever wonder if it's all for you
The world I love The trains I hop To be part of The wave can't stop
Come and tell me when it's time to
Ever wonder if it's all for you
The world I love The trains I hop To be part of The wave can't stop
Come and tell me when it's time to
-
Potjeh
- Posts: 11825
- Joined: Fri May 29, 2009 4:03 pm
Re: Game Development: Inventory work.
AFAIK scents were never meant to decay one use at a time, but whole stacks at once.
-
loftar
- Posts: 9096
- Joined: Fri Apr 03, 2009 7:05 am
- Location: Your character database
Re: Game Development: Inventory work.
I think you've misunderstood the mechanics. It isn't a "stack" of scents; it is one scent with 40 uses. The scent itself decays either after two in-game weeks, or after its use-count has been depleted. One could argue that the use-count should decay over time, but that's another question.warrri wrote:Are you speaking of the full stack (about 40 after a freshly done murder) or each single scent from that stack?
"Object-oriented design is the roman numerals of computing." -- Rob Pike
-
jorb
- Posts: 18715
- Joined: Fri Apr 03, 2009 7:07 am
- Location: Here, there and everywhere.
Re: Game Development: Inventory work.
They aren't "stacks". They are one item with a number of uses. We call them clues. Clues decay at different speeds depending on what type of crime they represent, completely unrelated to how many uses they still have left in them.
Edit: Completed the scent list.
Beaten to it, but hey, I meant to post.Trespassing, after one in-game day;
Assault, after two in-game days;
Theft, after four in-game days;
Battery, after four in-game days;
Vandalism, after six in-game days; and
Murder, after two in-game weeks.
Edit: Completed the scent list.
"The psychological trials of dwellers in the last times will be equal to the physical trials of the martyrs. In order to face these trials we must be living in a different world."
-- Hieromonk Seraphim Rose
-- Hieromonk Seraphim Rose
-
Jaltos
- Posts: 58
- Joined: Fri Oct 30, 2009 12:17 am
Re: Game Development: Inventory work.
Arg! Jorb went from a watchman to a demon! We're all going to die!
-
warrri
- Posts: 1033
- Joined: Fri Aug 28, 2009 5:55 pm
Re: Game Development: Inventory work.
Are you REALLY sure on this.. picking up the scents yesterday i had a scent with 30 uses, or a stack of 30 scents at once, no difference.loftar wrote:I think you've misunderstood the mechanics. It isn't a "stack" of scents; it is one scent with 40 uses. The scent itself decays either after two in-game weeks, or after its use-count has been depleted. One could argue that the use-count should decay over time, but that's another question.warrri wrote:Are you speaking of the full stack (about 40 after a freshly done murder) or each single scent from that stack?
Picking them up now (about 24 hours later) its 23 each stack, after droppiung them out of inventory and picking them up again its still 23, so they dont get used up from the "stack" on the ground.
I had the same after goons raided my town. When i picked them up it was 11 scents per theft stack, a day later only 3 per stack, while the ones in containers didnt decay. And no, no one picked those scents beside me.
The world I love The tears I drop To be part of The wave can't stop
Ever wonder if it's all for you
The world I love The trains I hop To be part of The wave can't stop
Come and tell me when it's time to
Ever wonder if it's all for you
The world I love The trains I hop To be part of The wave can't stop
Come and tell me when it's time to
-
warrri
- Posts: 1033
- Joined: Fri Aug 28, 2009 5:55 pm
Re: Game Development: Inventory work.
Thats what you want it to, but its not working that way, 100% sure on this.jorb wrote:They aren't "stacks". They are one item with a number of uses. We call them clues. Clues decay at different speeds depending on what type of crime they represent, completely unrelated to how many uses they still have left in them.
Beaten to it, but hey, I meant to post.Trespassing, after one in-game day;
Assault, after two in-game days;
Theft, after four in-game days;
Battery, after four in-game days;
Vandalism, after six in-game days; and
Murder, after two in-game weeks.
Edit: Completed the scent list.
And if you dont believe me spawn at my position and pick them up yourself now and in 6 hours..
And dont forget to pick some theft scents from codexia, im sure they only have about 2 uses per stack right now..
The world I love The tears I drop To be part of The wave can't stop
Ever wonder if it's all for you
The world I love The trains I hop To be part of The wave can't stop
Come and tell me when it's time to
Ever wonder if it's all for you
The world I love The trains I hop To be part of The wave can't stop
Come and tell me when it's time to
-
Caradon
- Posts: 347
- Joined: Tue Jul 28, 2009 6:10 pm
Re: Game Development: Inventory work.
So that explains who raped the maple tree.Coriander wrote:Cleaning chickens was drag because the feathers stuck to the hand and needed to be manually dropped. A bit to much realism perhaps
Trolls- Dont argue with it, Don't reason with it, Just DOMINATE! Southpark S10-E5