Funky Baking Man

NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Locked
Mighty Dog

Funky Baking Man

Post by Mighty Dog »

OKay, can anyone give me a good description on the actions of the baking schedule command, cause in the city i'm building ive constructed a new inn, in the back for most of the day the inkeeper is baking in kitchen. he has plenty of tables to use, in fact he does for making his dough balls, the problem i run into is that when an item is finished in the oven he goes grabs it, and then walks all the way out into the inn and puts the items on a table (same table everytime). While i have no problem overall with him putting out free baked goods the problem lies here:

1. The baked goods just keep coming, and dont disappear because they weren't egg spawned.

2. He leaves the current dough ball he has made on the table when he goes to retrieve an item from the oven, and then when he comes back from putting the new baked item he leaves the dougball he was working on alone and starts a new one. The doughballs too, do not disappear at all like the baked goods, and so after an hour there are about 30 doughballs sitting on a table.

If i delete the table that he takes new baked goods too, he instead just collects the item from the oven and starts on a new one. But deleting the table breaks the asethetics of the common room, also i like him putting out goods, but i dont want him walking all the way out to the common room. I mean he's got 4 empty tables in the kitchen to use.

So, either a good detail on how he picks that table to put the items on, or at the very least a usecode script so i can make an egg that will delete certain item periodically would be useful.
lol

Re: Funky Baking Man

Post by lol »

you have WAYYY too much free time
Mighty Dog

Re: Funky Baking Man

Post by Mighty Dog »

No, i don't i just use way too much of it creating this thing. Besides i don't want my baker to use up all the possible items allowed in the game if i were to make a full world and game plot, it would suck if a player halfway through couldn't finish because the game can't create any more items, so now they cant get that super magic potion they needed to get from NPC XX
drcode
Site Admin
Posts: 2267
Joined: Thu May 14, 2020 1:34 pm

Re: Funky Baking Man

Post by drcode »

There's no real limit on #objects in Exult. To see what's going on in the "bake" schedule, take a look at the source file "schedule.c" and look for "bake". The NPC looks for certain items (like the table) as part of his work.
Wizardry Dragon
Posts: 1241
Joined: Thu May 14, 2020 1:34 pm

Re: Funky Baking Man

Post by Wizardry Dragon »

Yes, there is. Your computer inherently limits how many objects you can have.

Just food for thought. (Pun intended)

- Wizardry Dragon
Cheers, Wizardry Dragon
Lead Designer, Ultima VII: The Feudal Lands
www.thefeudallands.ca
Mighty Dog

Re: Funky Baking Man

Post by Mighty Dog »

thanks, although you may wish to mention next time you tell someone to look for the source file that they need the sourcecode snapshot, took me a bit to figure that out.
Locked