I have looked for about 40 minutes and haven't found a thread about this so I will ask here!
In my game you can Mine ores, and smelt them so I use item synthesis to do that!
For Bronze Ingot, the recipe is:
But I made a Cloak that when worn one of the effects that I want it to decrease the price of Ingots by 1 Ore!
(Excuse my poor code, i'm still learning so I probably made some mistakes here lol but you should be able to understand what I'm asking 🙂 )
Is there a way to do this based on a variable like:
So when my cape is equipped the variable 456 goes up to 1 meaning the passive is active, so I want the game to check that and reduce the cost of the ore by 1! Is there a way to achieve this?
In my game you can Mine ores, and smelt them so I use item synthesis to do that!
For Bronze Ingot, the recipe is:
<Synthesis Ingredients>
Bronze Ore: 3
</Synthesis Ingredients>
But I made a Cloak that when worn one of the effects that I want it to decrease the price of Ingots by 1 Ore!
(Excuse my poor code, i'm still learning so I probably made some mistakes here lol but you should be able to understand what I'm asking 🙂 )
Is there a way to do this based on a variable like:
<Synthesis Ingredients>
if ($gameVariables.value(456) >= 1
{
Bronze Ore: 2
}
else
{
Bronze Ore: 3
}
</Synthesis Ingredients>
So when my cape is equipped the variable 456 goes up to 1 meaning the passive is active, so I want the game to check that and reduce the cost of the ore by 1! Is there a way to achieve this?