You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This somehow doesn't seem to work as it should. The UsagesLeft value is 0, or rather the item returns the NoUsagesLeftResponse although it shouldn't.
Code:
.addItem().setName('shovel').setDescription('A sturdy shovel that just has the perfect size.').setInSceneDescription('On the right side of the entrance is a shovel.').setCanPickUp(true).setCanUseFunction((item: InGameItem,currentScene: Scene)=>{if(currentScene.getName()==='Driveway'){returntrue;}returnfalse;}).setCannotUseItemResponse('You don\'t think that using a shovel inside the hut is a good idea.').setMaximumUsages(3).setItemUsedResponse('You play around in the snow until it\'s not fun anymore.').setNoUsagesLeftResponse('Again? You don\'t feel like it.').finish()
The text was updated successfully, but these errors were encountered:
This somehow doesn't seem to work as it should. The
UsagesLeft
value is 0, or rather the item returns theNoUsagesLeftResponse
although it shouldn't.Code:
The text was updated successfully, but these errors were encountered: