Kod (Lua):
- quest goldbar begin
- state start begin
- function check_item(vnum)
- if pc.count_item(vnum) < 1 then return false end
- return true
- end
- function check_pc()
- if pc.is_busy() == true then return false end
- return true
- end
- function check_gold(value)
- if pc.get_gold() + value >= 2000000000 then return false end
- return true
- end
- when 80003.use or 80004.use or...