Hello!
I was wondering, if there is a way to get the ID of an item from its name? (as a script call)
Iam using GALVs simple Crops and when harvesting the crop the scriptcall stores the name of the
item in a variable. But I would need the ID of that item. So maybe there is a scriptcall to check the name of the Item and store its Item ID in another variable?
Galvs ScriptCall to get name of Item:
Galvs Script
galvs-scripts.com
I was wondering, if there is a way to get the ID of an item from its name? (as a script call)
Iam using GALVs simple Crops and when harvesting the crop the scriptcall stores the name of the
item in a variable. But I would need the ID of that item. So maybe there is a scriptcall to check the name of the Item and store its Item ID in another variable?
Galvs ScriptCall to get name of Item:
Code:
// Get item and store item name in variable
Galv.CROPS.harvest(this._eventId,211);
Galvs Script
MV Simple Crops
FEATURES This plugin allows the player to plant and grow crops in designated plots by selecting seeds from their inventory. It’s labelled as simple crops because the gameplay is simple, not b…