-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
So I've added the shoplib to my quest game, but when I try to buy an item, quest returns an error in the buyingprice function. Even simplifying the library to return the obj.price, I get the following error:
Error running script: Error compiling expression 'obj.price': Unknown object or variable 'obj'
Function name: BuyingPrice
return type: integer
parameters: price
if (game.pov.status = "Merchant's Tongue") {
rate = 75
}
else {
rate = 100
}
return (obj.price)
It seems like it's not getting passed a value or something.
Metadata
Metadata
Assignees
Labels
No labels