You can now check if user has a specific item or not. The function mds_has_item("item name") returns the number of items the player has (zero if none). Because coins are tehnically also items, you can also check how much silver or gold someone has. This function will work the same way for upcomming raw material type of items (not planks and such, something else)
Here is sample code:
Here is sample code:
(locations 1_3x0_1)
@va = mds_has_item("Silver coin");
echo "You have ".@va." Silver coins";
@va = mds_has_item("Mammon's Book");
if(@va>0){
echo "You have the book";
}else{
echo "Go search for Mammon's Book";
}