ObjectReference Property House Auto
Event OnActivate(objectreference akactivator)
game.getplayer().GetGoldAmount()
;the above part i know works
if goldamount >= (3000)
game.getplayer().Removeitem(gold001, 3000)
house.Enable()
else
debug.messagebox("it will cost 3000 gold to finish this cottage")
endif
endevent
;the part i cant get past right now is the goldamount >= (3000) i tried a number a variations but im stumped and dont even
;know if the rest of the script will work, i would really appreciate any help