miki151 / keeperrl

Source code of KeeperRL
GNU General Public License v2.0
885 stars 110 forks source link

Consider a visiting slave merchant #1400

Open miki151 opened 5 years ago

miki151 commented 5 years ago

Would allow buying prisoners for a limited amount of time

ghost commented 5 years ago

Could I suggest that his prisoners appear in the immigration panel until he leaves your territory. It would be easiest for players to buy slaves with gold by clicking on the prisoners in the immigration panel and to have the cost in gold shown like other immigrants have.

miki151 commented 5 years ago

Great idea.

ghost commented 4 years ago

Could I also suggest that it reuse the existing immigration.txt system for moddability. Entries could go into immigration.txt and be added to suitable keepers in player_creatures.txt

Something like this maybe:

"travelling_slavemaster"
{
    {
      ids = { "HOBBIT_SLAVE" }
      traits = { PRISONER }
      no_auto = true
      requirements = {
        { 0.0 TravellingSlavemasterPresent }
        { 1.0 CostInfo GOLD 20 }
      }
    }
    {
      ids = { "CENTAUR_SLAVE" }
      traits = { PRISONER }
      no_auto = true
      requirements = {
        { 0.0 TravellingSlavemasterPresent }
        { 1.0 CostInfo GOLD 10 }
      }
    }
}
GameDungeon commented 4 years ago

This would be cool