What you could do is have a numerical variable called “money†so you could just keep a running total. Then create an object called “200 dollars†in the room, run a script so that when a player take that object it become inaccessible and the money variable increases by 200.
' "test"
' Created with QDK Pro 3.52
define game <test>
asl-version <350>
gametype singleplayer
start <room>
game info <Created with QDK Pro 3.52>
define variable <money>
type numeric
value <0>
display nozero <you have ! dollars cash>
end define
end define
define synonyms
end define
define room <inventory>
end define
define room <room>
define object <200 dollars>
take {
inc <money; 200>
hide <200 dollars>
}
end define
end define
define text <intro>
end define
define text <win>
end define
define text <lose>
end define