Hi, I have a problem that I can’t seem to solve. I’m creating a scenario and I’d need farms to give endless food. Usually farms have 175 of food, I would like to change this variable with the editor and bring it to 1000 amount of food present on a farm. Can it be done?
Thank you so much
I am unsure its possible without a datamod. I managed to mod stone, gold, food (non farm.), and wood but, not farms. (without a datamod. via xs/triggers.)
Change resource 36 to 1000
I tried. Doesn’t work for me. :\
edit: this should work right? (50 is farm. should be setting to 1000.)
void main()
{
xsEffectAmount(cSetAttribute, 50, 36, 1000.0, -1);
}
edit: I tried cModResource too. Nothing changes.
edit: I tried it in RMS. Same result.
It’s the player resource
Oh I see… Thanks.
edit: First argument being player. (this sets it for 1 though 8. 0 being gaia.)
void main()
{
xsSetPlayerAttribute(0, 36, 1000);
xsSetPlayerAttribute(1, 36, 1000);
xsSetPlayerAttribute(2, 36, 1000);
xsSetPlayerAttribute(3, 36, 1000);
xsSetPlayerAttribute(4, 36, 1000);
xsSetPlayerAttribute(5, 36, 1000);
xsSetPlayerAttribute(6, 36, 1000);
xsSetPlayerAttribute(7, 36, 1000);
xsSetPlayerAttribute(8, 36, 1000);
}
yeah, that works.