from otree.api import Currency as c, currency_range from . import pages from ._builtin import Bot from .models import Constants class PlayerBot(Bot): def play_round(self): yield (pages.AAgreement,{'agreement':1}) yield(pages.AIntroduction) yield(pages.B1PriorBelief, {'prior1':1,'prior2':2, 'prior3': 3, 'prior4': 4}) yield(pages.B2PriorBelief, {'prior5': 5,'prior6': 6,'prior7': 7}) yield(pages.CTPB, {'efficacy_pre1': 1, 'efficacy_pre2': 2}) yield(pages.DCurrentDiet, {'currentdiet': 5}) yield(pages.Eagreepre, {'agreepre': 3}) yield(pages.Fintervention) yield(pages.Gagreepost, {'agreepost': 6}) yield(pages.HTPBpost, {'efficacy_post1': 1, 'efficacy_post2': 2}) yield(pages.IDietChange, {'diet_change': 2}) yield(pages.JPoliticalParticipation, {'participation1': 1, 'participation2': 2, 'participation3': 3, 'participation4': 4, 'participation5': 5}) yield(pages.KRecall, {'recall': 'climate change affects humans'}) yield(pages.LMorality, {'morality': 3}) yield(pages.MDemographics, {'age': 25, 'gender': 2, 'education': 5, 'nationality': 'IND'}) yield(pages.NPoliticalBelief, {'political_belief': 1}) yield(pages.ODisease, {'disease': 1}) yield(pages.PDonate, {'donate': 0}) yield(pages.QEarnings)