Oh thanks. Didn't know that is so simple.Somebody 说:
(store_random_in_range,":new_item", "itm_new_1", "itm_new_5"),
(troop_clear_inventory, "trp_itm_merchant"),
(troop_add_merchandise, "trp_itm_merchant", :new_item, 1),
("get_current_position",[],"Get current position",
[
(party_get_position, reg0, "p_main_party"),
(display_message, "@{reg0}", 0x80223167),
]
),
(troop_add_merchandise, ":cur_merchant", itp_type_goods, 16),