I was hoping for random effect with just maybe 0-3 different items. If i add it to their loadout wont they have it all the time?
Random such as they might have 0-3 items of fish, cheese, dried beef, beef, pork, smoked sausage, chicken etc... not of each item just a random item to a max of 3
Ah, I see. You could maybe use a variation on the merchant restocking script, modified to also add the specific equipment of the bandits after it's been cleared.
插入代码块:
("refresh_bandit_goods",
[
(troop_clear_inventory, "trp_looter"),
(troop_add_item, "trp_looter", "itm_falchion"),
(troop_add_item, "trp_looter", "itm_stones"), #and so on
(troop_add_merchandise, "trp_looter", itp_type_goods, 3),
]),
Maybe something like that? I'm not sure exactly, my experience is limited.
As with caravans (where goods aren't just piled into the caravan master) you can add those items arbitrarily inside script_party_calculate_loot. Because not that many bandits will defeat the player party, you can add some randomly to the slot_party_looted_item_x slots in a trigger as recommended above, representing accumulation of loot. You can also treat them as either caravan or bandit lairs in the block below that.