[02:52:17] --- DominusExult is now known as Dominus
[10:07:47] <Dominus> uh oh, wjp, can we just disable the desk item in inventory creation for now? It really seems to wreak havoc. In the Powder house a ghost has the desk schedule and on killing it a lot of desk items litter the already trashy ground
[10:08:35] <wjp> hm, probably
[10:11:01] <Dominus> schedule.cc:2566 not sure exactly what part to comment
[10:11:04] <wjp> try removing the entire 'if (nitems > 0) { ... }' block in desk_setup
[10:11:12] <wjp> but you'll have to test
[10:11:43] <Dominus> yes, I'll test tonight.
[10:12:13] <Dominus> (additionally on SI some more desk shapes need to be added)
[10:12:25] <Dominus> thanks
[20:37:22] <Sevalecan> ? wa solve 170*e^(-t/(47000*270*10^(-6)) = 0 for t
[20:37:34] <Sevalecan> wrong channel
[20:37:36] <Sevalecan> how did that happen
[20:57:40] <Dominus> whoa
[20:57:45] <Dominus> interesting
[20:58:25] <Dominus> when you reload it *seems* as if the time of the day is not reloaded but keeps set to what it was before the reload
[20:59:09] <Dominus> indeed
[21:01:05] <Dominus> hmm, seems only to happen when you once set the time via the cheat menu and then only on quickreload. Reloading a savegame works correctly
[21:12:42] <Dominus> wjp: when I comment the whole 'if (nitems > 0) { ... }' block I see no problems with the schedule, only that it uses less items of course.
[21:12:44] <Dominus> BUT
[21:13:32] <Dominus> the schedule still makes the npc pick up objects and place them elsewhere and these desk items can be left over on the paperdoll after schedule changes
[21:14:47] <Dominus> much better since it can only be one desk item, I guess
[21:22:18] <Dominus> interestingly, just tested with the original, it seems it works similar to exult, that the items are on the NPC
[21:23:26] <Dominus> wjp, in that block, could we add a check so not more than one desk item is on the NPC?
[21:25:54] <Dominus> hmm, it counts anyway, before so maybe something like if (nitems > 0 && items_in_hand = 0)
[21:44:46] <wjp> You'd want to change the computation of nitems instead, then
[21:45:18] <Dominus> yeah, I found my if approach not working
[21:45:21] <wjp> And maybe other things later, but I can't look right now
[21:47:04] <Dominus> I'll try things out and will come back later to you (crying because nothing works :))
[21:53:51] <Dominus> When I add if (npc->count_objects(675) == 0) above the npc->add(item, true); I got it working like this but no idea whether I make everything else above redundant then
[21:58:16] <Dominus> at least this seems to work afaict
[22:36:40] --- amatecha_ is now known as amatecha