With troop_remove_items and troop_remove_gold you can remove specific items or sums from the player, but how do you completely clear the inventory of all items with these functions?
works for the money part, but that's a bit clumsy and ugly. I can't find any examples in the game code that accomplishes this, so I'm clueless.
Edit: Also, how do you edit the money and item loss from being captured by enemies? I've seen references to $g_player_surrenders in dialogs, but I have no idea where to locate and dissect that.
Code:
(troop_remove_gold, "trp_player", 999999)
Edit: Also, how do you edit the money and item loss from being captured by enemies? I've seen references to $g_player_surrenders in dialogs, but I have no idea where to locate and dissect that.
Last edited by a moderator: