Roguish Archetype: Thief
You hone your skills in the larcenous arts. Burglars, bandits, cutpurses, and other criminals typically follow this archetype, but so do rogues who prefer to think of themselves as professional treasure seekers, explorers, delvers, and investigators. In addition to improving your agility and stealth, you learn skills useful for delving into ancient ruins, reading unfamiliar languages, and using magic items you normally couldn't employ.
name = 'Thief'
description = "***Roguish Archetype: Thief.*** You hone your skills in the larcenous arts. Burglars, bandits, cutpurses, and other criminals typically follow this archetype, but so do rogues who prefer to think of themselves as professional treasure seekers, explorers, delvers, and investigators. In addition to improving your agility and stealth, you learn skills useful for delving into ancient ruins, reading unfamiliar languages, and using magic items you normally couldn't employ."
Fast Hands
3rd-level Thief feature
You can use the bonus action granted by your Cunning Action to make a Dexterity (Sleight of Hand) check, use your thieves' tools to disarm a trap or open a lock, or take the Use an Object action.
def level3(npc):
npc.bonusactions.append("***Fast Hands.*** You can use the bonus action granted by your Cunning Action to make a Dexterity (Sleight of Hand) check, use your thieves' tools to disarm a trap or open a lock, or take the Use an Object action.")
Second-Story Work
3rd-level Thief feature
You gain the ability to climb faster than normal; climbing no longer costs you extra movement.
In addition, when you make a running jump, the distance you cover increases by a number of feet equal to your Dexterity modifier.
npc.speed['climbing'] = npc.speed['walking']
npc.defer(lambda npc: npc.traits.append(f"***Second-Story Work.*** when you make a running jump, the distance you cover increases {npc.DEXbonus()} feet."))
Supreme Sneak
9th-level Thief feature
You have advantage on a Dexterity (Stealth) check if you move no more than half your speed on the same turn.
def level9(npc):
npc.traits.append("***Supreme Sneak.*** You have advantage on a Dexterity (Stealth) check if you move no more than half your speed on the same turn.")
Use Magic Device
13-level Thief feature
You have learned enough about the workings of magic that you can improvise the use of items even when they are not intended for you. You ignore all class, race, and level requirements on the use of magic items.
def level13(npc):
npc.traits.append("***Use Magic Device.*** You ignore all class, race, and level requirements on the use of magic items.")
Thief's Reflexes
17th-level Thief feature
You have become adept at laying ambushes and quickly escaping danger. You can take two turns during the first round of any combat. You take your first turn at your normal initiative and your second turn at your initiative minus 10. You can't use this feature when you are surprised.
def level17(npc):
npc.actions.append("***Thief's Reflexes.*** You take two turns during the first round of any combat. You take your first turn at your normal initiative and your second turn at your initiative minus 10. You can't use this feature when you are surprised.")