from otree.api import * c = cu doc = '' class C(BaseConstants): NAME_IN_URL = 'instruction_take' PLAYERS_PER_GROUP = None NUM_ROUNDS = 1 RANK_PAY = (cu(60), cu(56), cu(52), cu(48), cu(44), cu(40)) class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): pass class Instruction(Page): form_model = 'player' @staticmethod def vars_for_template(player: Player): session = player.session if session.config['treatment'] == 1: transfer = 4 else: transfer = 8 return dict(transfer=transfer) page_sequence = [Instruction]