#!
import bonez_cfg
import tools
#
#{
player = bonez_cfg.player
state = 0
#}!
#{
accept = self.get_actual_arg ("accept_cb")
if accept:
    if accept [0].name == "rag":
        player.bag.merge_items ("bone", "rag", "kost-hadr")
        state = 1
        tools.tell ("napoveda07", 1)
1, state
#}
