SMAPI - Stardew Modding API

SMAPI - Stardew Modding API

971k Downloads

player_add console command should handle tool quality

Pathoschild opened this issue ยท 1 comments

commented

The player_add command has a quality field:

Usage: player_add <type> <item> [count] [quality]
- type: the item type (one of BigCraftable, Boots, Fish, Flooring, Furniture, Hat, Object, Ring, Tool, Wallpaper, Weapon).
- item: the item ID (use the 'list_items' command to see a list).
- count (optional): how many of the item to give.
- quality (optional): one of 0 (normal), 1 (silver), 2 (gold), or 4 (iridium).

The quality field is ignored when adding a tool. For example, player_add tool 1 1 1 should add a silver hoe instead of the basic hoe.

commented

Done in develop for the upcoming SMAPI 2.2.