Template talk:Adventure

From IdleRPG Wiki
Jump to navigation Jump to search

The template takes the following arguments:

  1. Adventure name
  2. Adventure Number
  3. the ordinal numeral of the number (third, fourth, ...)
  4. The adventure's description
  5. minimum gold
  6. maximum gold
  7. minimum xp
  8. maximum xp
  9. minimum item stat
  10. maximum item stat (remember that this caps at 35)
  11. chance for loot
  12. chance for loot as ritualist (loot * 2)
  13. trivia

number 5 to 12 can be generated with this python script:

 def g(num: int):
     gold1 = 20*num
     gold2 = 60*num
     xp1 = 250*num
     xp2 = 500*num
     loot = 5 if num == 1 else 5 + 1.5 * num
     if loot % 1 == 0:
         loot = int(loot)
     item1 = num
     item2 = 5 + int(num*1.5)
     mn = [gold1,gold2,xp1,xp2,item1,item2,loot,int(loot*2)]
     return "|".join([str(x) for x in mn])

g(1)