I understand this.
Strings better for eyes and for mind.
—
Next one is about code of barters.
I thing, that
def manual_barters(tmpTradeID) ... ... end
- is good.
But something like this will be better:
def manual_barters(tmpTradeID=get_character(0).npc_name) ... ... end
Or this:
def manual_barters(tmpTradeID) if !tmpTradeID || !$data_barters[tmpTradeID] tmpTradeID = get_character(0).npc_name end ... ... end