I presume the easiest way to make new food items would be to add additional frames to the existing food shape. It seems to work, but where in Studio do I set the food value of the new frame? I don't see it.
Thanks for your time and patience.
New food item question
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Re: New food item question
I am not sure, but I think those are handled with usecode.
Re: New food item question
I suspected that, but this thread would seem to indicate otherwise, based on the thread title and content of the thread.
Re: New food item question
Crowley is correct: food values are defined in usecode.
------
Marzo Sette Torres Junior
aka Geometrodynamic Dragon
[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
Marzo Sette Torres Junior
aka Geometrodynamic Dragon
[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
-
- Posts: 1241
- Joined: Thu May 14, 2020 1:34 pm
Re: New food item question
Specifically the usecode for when you use food items first gets a target and then adds an amount based on the frame of the item to how full the character is, then it destroys the item. To add a new frame you would have to reimplement the food item. Easier would be making a new item altogether.
Wizardry dragon
Wizardry dragon
Cheers, Wizardry Dragon
Lead Designer, Ultima VII: The Feudal Lands
www.thefeudallands.ca
Lead Designer, Ultima VII: The Feudal Lands
www.thefeudallands.ca
Re: New food item question
Although making a new item has the downside of it not being found for feeding with the 'f' key. The exceptions being the cases where (a) in SI, if you reimplement the feeding function to find the new food objects as well or (b) for everything else, if you change the 'f' keybinding to use a custom usecode function instead of the hard-coded feeding function in Exult.
------
Marzo Sette Torres Junior
aka Geometrodynamic Dragon
[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
Marzo Sette Torres Junior
aka Geometrodynamic Dragon
[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
-
- Posts: 1241
- Joined: Thu May 14, 2020 1:34 pm
Re: New food item question
I had forgotten about that in SI. I haven't played in SI forever. You could just make a custom function though. It wouldn't be hard.
Wizardry dragon
Wizardry dragon
Cheers, Wizardry Dragon
Lead Designer, Ultima VII: The Feudal Lands
www.thefeudallands.ca
Lead Designer, Ultima VII: The Feudal Lands
www.thefeudallands.ca
-
- Posts: 1219
- Joined: Thu May 14, 2020 1:34 pm
Re: New food item question
Does the F key also use the second food shape in SI that has the horned fish and Monk Isle berries? If so that would be the place to add new shapes.