no more food!
no more food!
Is it possible to mod the food requirements out of the game, it's a micro management part of the game that I dislike and would like for it to be modded out of the game if possible.
Re: no more food!
It's possible i think, like setting the max health of a character i think there might be such an option to set the max hunger possibly,, it could also be possible to add a repeating timer that just refills the hunger meter too, i'm afraid i can't help with the code though.
Re: no more food!
Well there is the necklace in the game that removes the need for food, so at least you should be able to make items that remove the need for eating.
Re: no more food!
Well at the very least since an alchemist spawns herbs every few steps, you could whip up something that makes food instead of herbs I assume.
But you'd still have to bother keeping and eating the food so that really doesn't help.
But you'd still have to bother keeping and eating the food so that really doesn't help.
I am the God of darkness and corruption.
viewtopic.php?f=14&t=4250
viewtopic.php?f=14&t=4250
Re: no more food!
Probably. May be as easy as setting a timer (@ 60 seconds).
Not actually code
Not actually code
Code: Select all
food = c:getFood()
if(food < 100) then
c:setFood(100)
end
- cromcrom
- Posts: 549
- Joined: Tue Sep 11, 2012 7:16 am
- Location: Chateauroux in a socialist s#!$*&% formerly known as "France"
Re: no more food!
Yes but we would need to be able to mod the native quest, which doesn't seem feasible now 

A trip of a thousand leagues starts with a step.
Re: no more food!
I manage to get it work just fine with timer hook up to this script. Thx to NutJob.
It work just fine, even if there is no second, third or fourth champion enabled.
But Iam realy lua noob. I tryed to do this with for i = 1,4 do function, but I cant get it work.
Can anyone help me out here please?
Mayby I should just leave it like this, but I like to learn
Code: Select all
function foodcheck()
food1 = party.party:getChampion(1):getFood()
if (food1 < 1000) then
party.party:getChampion(1):setFood(1000)
end
food2 = party.party:getChampion(2):getFood()
if (food2 < 1000) then
party.party:getChampion(2):setFood(1000)
end
food3 = party.party:getChampion(3):getFood()
if (food3 < 1000) then
party.party:getChampion(3):setFood(1000)
end
food4 = party.party:getChampion(4):getFood()
if (food4 < 1000) then
party.party:getChampion(4):setFood(1000)
end
end
But Iam realy lua noob. I tryed to do this with for i = 1,4 do function, but I cant get it work.
Can anyone help me out here please?

Mayby I should just leave it like this, but I like to learn

Re: no more food!
or an party:onMove hook that sets food to max for each champ every step.
Writer and sometimes artist of the very slightly acclaimed comic series Scrambled Circuits. A comic series about a robot written by a human.
Grimrock 2 socketSystem: viewtopic.php?f=22&t=8546 / Github
Grimrock 2 socketSystem: viewtopic.php?f=22&t=8546 / Github