def examine(loc): if g.debug: print("[DBG] action.examine:", loc) if loc == "bueleusa": if g.buMartFind == "0": db.cur.execute( "update save set val = 1 where var = \"buMartFind\";") g.update() print(get.text("exaeleus")) db.cur.execute( "update item set locid = \"bueleusa\" where itemid = \"martenit\";" ) elif loc == "timount": print(get.text("examount")) db.cur.execute( "update location set vis = 1 where locid = \"tioutmon\";") elif loc == "grfors": if g.grforSkin == "0": db.cur.execute( "update save set val = 1 where var = \"grforSkin\";") g.update() print(get.text("exafores")) db.cur.execute( "update item set locid = \"grfors\" where itemid = \"linskin\";" ) elif loc == "grbay": print(get.text("shipunde")) else: print(get.text("exanone"))
def use(obj1, obj2=""): if obj1 == "budagger" and obj2 == "archtool" or obj1 == "archtool" and obj2 == "budagger": print(get.text("archdagg")) elif obj1 == "budagger": if g.spletterDropped == "0": db.cur.execute( "update save set val = 1 where var = \"spletterDropped\";") g.update() print(get.text("usedagg")) db.cur.execute("update item set locid = \"" + find.plLoc() + "\" where itemid = \"zlatlett\";") topicSwitch("gorhelp") elif obj1 == "zlatlett" and obj2 == "dicnorse" or obj2 == "zlatlett" and obj1 == "dicnorse": db.cur.execute("update save set val = 1 where var = \"spletterRead\";") g.update() print(get.text("letter")) setVis("buairpor", 1) elif obj1 == "zlatlett": print(get.text("uselett")) elif obj1 == "dicnorse": print(get.text("dictonor")) elif obj1 == "archtool": print(get.text("usearch")) elif obj1 == "vikbok1" or obj1 == "vikbok2": print(get.text("vikbook")) setVis("grport", 1) elif obj1 == "viksword" and obj2 == "archtool" or obj1 == "archtool" and obj2 == "viksword": # Somehow the game became a test in the player's attention span and reading comprehension. print(get.text("archfake")) elif obj1 == "viksword" and obj2 == "altar" or obj1 == "altar" and obj2 == "viksword": # This idea was a bit more obvious in the original story. print(get.text("innuendo")) db.cur.execute( "update item set locid = \"pecave\" where itemid = \"guthjorr\";") slot = find.invSlotByItemID(["viksword"]) db.cur.execute("update inventory set item" + str(slot) + " = NULL where charid = \"player\";" ) # Making another global variable is such a drag. elif obj1 == "viksword": print( "This artifact is most certainly very interesting but looks like an ordinary sword on the surface." ) elif obj1 == "guthjorr" and obj2 == "fjorstei" or obj1 == "fjorstei" and obj2 == "guthjorr": # ENDING 1 print( "\n ---- Chapter X: Engiandlátæv ----\n") gameOver.End("immortality") else: print(get.text("archbleh"))
def run(b, Alias): b.subjects += 1 for Name in Alias.findall('PersonName'): insert.row(b.cur, 'SubjectName', (b.subjects, get.text(Name, 'PersonGivenName'), get.text(Name, 'PersonMiddleName'), get.text(Name, 'PersonSurName'))) for BDate in Alias.findall('PersonBirthDate'): insert.row(b.cur, 'SubjectBirthDate', (b.subjects, get.text(BDate)))
def rent(itemid, seller, room=False): if g.debug: print("[DBG] action.rent:", itemid, seller, room) if itemid == "divesuit": print(get.text("usesuit")) setVis("grship", 1) elif room: db.cur.execute( "select name,dsc from location where locid =\"grinnroo\";") locs = parse.multiTupleListToList(db.cur.fetchall()) print(locs) print("\n" + locs[0] + "\n" + locs[1]) print(get.text("sleepinn")) setVis("grjensho", 1)
def google(query): url = settings['base_url'] + urllib2.quote(query.encode('utf-8')) f = get.htmltree(url) p = get.webpage(f) x = get.text(p, settings['xpath'])[0] n = re.findall(r'[0-9]+', x) return int(''.join(n))
def parse_others(row): del row['n'] for k, v in row.items(): flag = isinstance(v, str) or isinstance(v, unicode)\ or isinstance(v, list) if not flag: row[k] = get.text(v, '.')[0]
def parse_ids(row): for k, v in row.items(): if k.endswith('_id'): try: v = get.text(v, '.')[0] if v.startswith(u'Ваю'): row[k] = re.search('[0-9]+', v).group(0) except AttributeError: pass
def runGame(): # Because functions. g.update() # Initialize global variables. g.initCmdList() # Initialize command list. print(get.text("gtitle2")) # Print title screen. #menu() if g.gameSaved == "0": # No saved game. askPlayerName() # Ask player name. print("\n"+get.text("devtips")) if parse.sanitize(str(input("Press Enter to continue."))) != None: # Input anything. print("\n"+get.text("intro")) # Print intro. if parse.sanitize(str(input("Press Enter to continue."))) != None: # Input anything. if g.Chapters == "1": # Print chapters? print("\n ---- Chapter I: The Hidden Letter ----") cmd.look() # Look around the first room. gameLoop() # Game else: cmd.look() # Look around the first room. gameLoop() # Game
def shoot(charid): if charid == "inrob1" or charid == "inrob2" or charid == "inrob3": if find.plLoc() == "intrrest": gameOver.slowPrint(get.text("killrob2"), 0.03) gameOver.End("death") elif find.plLoc() == "intrsle2": gameOver.slowPrint(get.text("killrob3"), 0.03) gameOver.End("death") if charid == "tarhino": if find.plLoc() == "tanatr3": topicSwitch("chief1", "chief2", "Lake Monster") if charid == "grwolf" or charid == "grwolf2": if find.plLoc() == "grlair2": gameOver.slowPrint(get.text("killvolu"), 0.03) gameOver.End("death") if charid == "grkolbio": print(get.text("kolpleas")) if charid == "peghost": print(get.text("peghhaha")) if charid == "peskele": print(get.text("skelboom"))
def run(b, s): b.supervisions += 1 insert.row(b.cur, 'SupervisionRecord', (b.supervisions, b.subjects, get.text(s, 'ActivityDate'), get.text(s, 'SupervisionAgency/OrganizationName'), get.text(s, 'SupervisionAgency/OrganizationORIID/ID'), get.text(s, 'SupervisionChargeDisposition/StatusDescriptionText'), get.text(s, 'SupervisionConvictionCharge/ChargeClassification'), get.text(s, 'SupervisionConvictionCharge/ChargeStatute/StatuteCodeID/ID'), get.text(s, 'SupervisionConvictionCharge/ChargeStatute/StatuteDescriptionText'), get.text(s, 'SupervisionConvictionCharge/OriginatingAgencyCaseNumber/ID'), '/n'.join(get.Alltext(s, 'SupervisionConvictionCharge/Comment'))))
def take(itemid): if g.debug: print("[DBG] action.take", itemid) if itemid == "viksword": db.cur.execute("select hp from people where charid = \"peskele\";") hp = db.cur.fetchall()[0][0] if g.debug: print("[DBG] action.take SKELETON HP", hp, type(hp)) if hp != 0: gameOver.slowPrint(get.text("killskel"), 0.03) gameOver.End("death")
def call(charid): if charid == "spgorka" and g.spgorCalled == "0": print(get.dlg("gorcall")) db.cur.execute("update save set val = 1 where var = \"spgorCalled\";") g.update() elif charid == "pewayna" and g.spgorCalled == "1": if g.pewayCalled == "0": print(get.dlg("waycall1")) db.cur.execute( "update save set val = 1 where var = \"pewayCalled\";") g.update() db.cur.execute( "update people set locid = \"pecusco\" where charid = \"pewayna\";" ) else: print(get.text("nophone"))
def travel(fromid, toid): if g.debug: print("[DBG] action.travel", fromid, toid) if toid == "nejaratr": if fromid == "intrro7": setVis("intrains", 1) if toid == "grport": if g.grFisherCrater == "0": print(get.text("grwelcom")) db.cur.execute( "update save set val = 1 where var = \"grFisherCrater\";") g.update() if toid == "pecave" or toid == "pecave2": if fromid == "pevillag": db.cur.execute( "update people set locid = NULL where charid = \"pecook\";" ) # Aaaand woosh he goes!
def give(*args): inputlist, i = parse.checkArgs(args, "Give what to who?", "to") valid = True if inputlist: itemid = parse.removeDuplicates( find.idFromName(inputlist[:i], "item", ["player"])) while len(itemid) > 1: itemid = ask.which(itemid, "item", ["player"]) if len(itemid) == 0: print("You do not have that item.") valid = False elif valid: charid = parse.removeDuplicates( find.idFromName(inputlist[i + 1:], "people")) while len(charid) > 1: charid = ask.which(charid, "people") if len(charid) == 0: print("That person is not here.") valid = False elif valid: rightPerson = g.criticalItemPeople[g.criticalItem.index( itemid[0])] if g.debug: print("[DBG] give CRITICAL ITEM", itemid, charid, rightPerson) if itemid[0] in g.criticalItem and charid[0] == rightPerson: item.transfer(itemid, charid) action.give(itemid[0], charid[0]) elif itemid[0] == "necklace" and charid[0] == "spgorka": item.transfer(itemid, charid) action.give(itemid[0], charid[0]) else: print(get.text("dontgive"))
def run(b, c): b.convictions += 1 insert.row(b.cur, 'ConvictionRecord', ( b.convictions, b.subjects, get.text(c, 'ActivityDate'), get.text(c, 'ConvictionCourt/OrganizationName'), get.text(c, 'ConvictionCourt/OrganizationORIID/ID'), get.text(c, 'ControllingAgency/OrganizationName'), get.text(c, 'ControllingAgency/OrganizationORIID/ID'), get.text(c, 'ControllingAgency/OriginatingAgencyCaseNumber/ID'), get.text(c, 'AssignedCustodialAgency/OrganizationName'), get.text(c, 'AssignedProbationAgency/OrganizationName'), get.text(c, 'StatementOfDisagreement'), get.text( c, 'ConvictionCharge/ChargeClassification/ChargeApplicabilityText'), get.text(c, 'ConvictionCharge/ChargeStatute/StatuteCodeID/ID'), get.text(c, 'ConvictionCharge/ChargeStatute/StatuteDescriptionText'), get.text(c, 'ConvictionCharge/ConvictionCourtCase/CaseTrackingID/ID'), get.text( c, 'ConvictionCharge/ChargeDisposition/ChargeDispositionVerdict/VerdictDescriptionText' ), get.text( c, 'ConvictionCharge/ChargeDisposition/PronouncedFine/ObligationAmount' ), get.text( c, 'ConvictionCharge/ChargeDisposition/AssessmentFee/ObligationAmount' ), get.text( c, 'ConvictionCharge/ChargeDisposition/StayedFine/ObligationAmount'), get.text( c, 'ConvictionCharge/ChargeDisposition/Restitution/ObligationAmount'), get.text( c, 'ConvictionCharge/ChargeDisposition/PronouncedSentence/TermDuration' ), get.text( c, 'ConvictionCharge/ChargeDisposition/ProbationalSentence/TermDuration' ), get.text( c, 'ConvictionCharge/ChargeDisposition/ConditionalConfinement/TermDuration' ), get.text(c, 'ConvictionCharge/ConvictionLevel')))
def move(locid): if locid in g.buylocs: get.storeItems(locid) if locid == "intrrest": if g.inTrainRobbed == "0": db.cur.execute( "update save set val = 1 where var = \"inTrainRobbed\";") g.update() print(get.text("robresta")) db.cur.execute( "update people set locid = \"intrrest\" where name = \"Robber\";" ) if locid == "intrsle1": if g.inTrainRobbed == "1" and g.inTrainRobDone == "0": print(get.text("robescap")) setVis("intrrest", 0) # I don't want to make another global variable for this. if locid == "intrro2": if g.inTrainRobbed == "1" and g.inTrainRobDone == "0": print(get.text("robhide")) db.cur.execute( "update save set val = 1 where var = \"inTrainRobDone\";") g.update() db.cur.execute( "update people set locid = NULL where name = \"Robber\";") setVis("nejaratr", 1) setVis("intrsle2", 1) setVis("intrrest", 1) if locid == "intrsle2": if g.inTrainRobbed == "1" and g.inTrainRobDone == "0": print(get.text("robburst")) db.cur.execute( "update people set locid = \"intrsle2\" where charid = \"inrob1\";" ) setVis("intrsle2", 0) # I don't want to make another global variable for this. if locid == "intrro7": if g.inTrainRobbed == "1" and g.inTrainRobDone == "0": gameOver.slowPrint(get.text("killrob1"), 0.03) gameOver.End("death") if locid == "tipumqu1" or locid == "tipumqu2" or locid == "tipumqu3": print(get.text("tifiboat")) if locid == "titserom" and g.zlaGreet == "0": print(get.dlg("zlagreet")) db.cur.execute("update save set val = 1 where var = \"zlaGreet\";") g.update() if locid == "gredgecr": if g.wolvesGuided == "1": if g.grShamanMeet == "0": print(get.text("wolftrai")) db.cur.execute( "update people set locid = \"grlair2\" where name = \"Tribal Wolf\";" ) if locid == "grlair2": if g.grShamanMeet == "0": db.cur.execute( "update save set val = 1 where var = \"grShamanMeet\";") g.update() if locid == "pepost": print(get.text("phonthin"))
def talk(charid, dlgid): if g.debug: print("[DBG] action.talk:", charid, dlgid) if charid == "spgorka": if dlgid == "gorhelp": if ask.yn(): if "budagger" in find.listInvItemIDs(): print(get.dlg("gorhhold")) if ask.yn(): print(get.dlg("gorhh2")) print(get.text("gordagg")) topicSwitch("gorhelp") if g.spletterDropped == "0": db.cur.execute( "update save set val = 1 where var = \"spletterDropped\";" ) g.update() db.cur.execute("update item set locid = \"" + find.plLoc() + "\" where itemid = \"zlatlett\";") else: print(get.dlg("gorhh3")) print(get.text("gordagg")) topicSwitch("gorhelp") if g.spletterDropped == "0": db.cur.execute( "update save set val = 1 where var = \"spletterDropped\";" ) g.update() db.cur.execute("update item set locid = \"" + find.plLoc() + "\" where itemid = \"zlatlett\";") else: print(get.dlg("gornodag")) else: print(get.dlg("gorsigh")) if dlgid == "gorlet2": db.cur.execute( "update people set val = val + 4125 where charid = \"player\";" ) topicSwitch("gorlet2") topicSwitch("gorgreet", "gorgre2", "Greet") setVis("buairpor", 1) if dlgid == "gordone": if ask.yn(): print(get.dlg("gormore")) else: gameOver.End("artifacts") if charid == "bugeorgi": if dlgid == "georgi1": # Traveling if item.valTrans(10, ["player"], ["bugeorgi"], " to take the cab"): db.cur.execute( "update people set locid = \"bueleusa\" where charid = \"player\";" ) db.cur.execute( "update people set locid = \"bueleusa\" where charid = \"bugeorgi\";" ) topicSwitch("georgi1", "georgi2", "Airport") cmd.look() if dlgid == "georgi2": if item.valTrans(10, ["player"], ["bugeorgi"], " to take the cab"): db.cur.execute( "update people set locid = \"buairpor\" where charid = \"player\";" ) db.cur.execute( "update people set locid = \"buairpor\" where charid = \"bugeorgi\";" ) topicSwitch("georgi2", "georgi1", "Eleusa Monastery") cmd.look() if charid == "bumonica": if dlgid == "monica2": setVis("inairpor", 1) if charid == "timonk2": if dlgid == "monk2": setVis("timonyar", 1) if charid == "tizlatin": if dlgid == "zlagem": if ask.yn(): print(get.dlg("zlamyth")) else: print(get.dlg("zlanmyth")) item.transfer(["vikbok2"], ["player"], ["tizlatin"], "give") topicSwitch("zlagem", "zlapet", "Fjörsteinn") if dlgid == "zlapet": setVis("taairpor", 1) setVis("taport", 1) if charid == "taneema": if dlgid == "neema": db.cur.execute( "update people set locid = \"taarusha\" where charid = \"player\";" ) db.cur.execute( "update people set locid = \"taarusha\" where charid = \"taneema\";" ) topicSwitch("neema", "neema1", "Airport") cmd.look() if dlgid == "neema1": db.cur.execute( "update people set locid = \"taoutair\" where charid = \"player\";" ) db.cur.execute( "update people set locid = \"taoutair\" where charid = \"taneema\";" ) topicSwitch("neema1", "neema", "Lake Natron") cmd.look() if charid == "tachief": if dlgid == "chief2": item.transfer(["pet"], ["player"], ["tachief"], "give") topicSwitch("chief2") db.cur.execute( "update save set val = 1 where var = \"backToIndia\";") g.update() if charid == "grjens": if dlgid == "jensword": if ask.yn(): if item.valTrans(1200, ["player"], ["grjens"], " to buy the sword"): item.transfer(["kolbswor"], ["player"], ["grjens"], "buy", 1200) print(get.dlg("jensty")) topicSwitch("jensword") if g.Chapters == "1": print( "\n ---- Chapter VII: Call of the Inca ----\n" ) # Oh my goodness I didn't even realize the pun when I came up with this title. else: print(get.dlg("jensalt")) if g.Chapters == "1": print( "\n ---- Chapter VI: Necklace of a Shaman ----\n" ) if charid == "grsailor": if dlgid == "grsail2": # Traveling if item.valTrans(70, ["player"], ["grsailor"], " to sail"): db.cur.execute( "update people set locid = \"grbay\" where charid = \"player\";" ) db.cur.execute( "update people set locid = \"grbay\" where charid = \"grsailor\";" ) topicSwitch("grsail2", "grsail3", "Back to Port") cmd.look() print(get.text("shiphere")) if dlgid == "grsail3": db.cur.execute( "update people set locid = \"grport\" where charid = \"player\";" ) db.cur.execute( "update people set locid = \"grport\" where charid = \"grsailor\";" ) topicSwitch("grsail3", "grsail2", "Melville Bay") cmd.look() if charid == "grkolbio": if dlgid == "kolrule": # Tell about stolen sword. db.cur.execute( "update people set locid = NULL where charid = \"grlone\";") topicSwitch("", "innlone", "Lone Patron") if dlgid == "kolexch": # Player asks about stuff. db.cur.execute( "update people set locid = NULL where charid = \"grkolbio\";") topicSwitch("kolexch") setVis("peport", 1) if charid == "grinnkee": if dlgid == "innlone": # Tell about Jens. topicSwitch("", "innroom1", "Room") if charid == "pecook": if dlgid == "deusexma": # LET THERE BE TREASURE! topicSwitch("deusexma") setVis("pecave2", 1) # Why would you pick it up?
def give(itemid, charid): if g.debug: print("[DBG] action.give:", itemid, charid) if itemid == "budagger": if charid == "spgorka": print(get.dlg("gornotme")) item.transfer(["budagger"], ["player"], ["spgorka"], "give") if itemid == "zlatlett": if charid == "spgorka": print(get.dlg("gorsupr")) topicSwitch("gorhelp", "gorlet2", "Letter") if g.spletterRead == "0": print(get.dlg("gorwoah")) print(get.text("letter")) db.cur.execute( "update save set val = 1 where var = \"spletterRead\";") g.update() setVis("grport", 1) if itemid == "martenit": if charid == "bumonica": print(get.dlg("moniretu")) topicSwitch("monica3") topicSwitch("mongreet", "monica2", "Zlatin Panayotov") if itemid == "fishnet": if charid == "tifisher": print(get.dlg("tifithan")) topicSwitch("fisher1") setVis("tipumqu1", 1) if itemid == "pet": if charid == "tizlatin": print(get.dlg("zlapet2")) topicSwitch("zlapet") item.transfer(["fjorstei"], ["player"], ["tizlatin"], "give") if itemid == "kolbswor": if charid == "grkolbio": print(get.dlg("kolthank")) topicSwitch("kolrule", "kolexch", "Hrosskell") if itemid == "mead": if charid == "grlone": print(get.dlg("lonesea1")) print(get.dlg("lonep1")) print(get.dlg("lonemor1")) if itemid == "mead2": if charid == "grlone": print(get.dlg("lonesea2")) print(get.dlg("lonep2")) print(get.dlg("lonemor2")) if itemid == "mead3": if charid == "grlone": print(get.dlg("lonesea3")) print(get.dlg("lonep3")) topicSwitch("", "grsail2", "Melville Bay") setVis("grbay", 1) if g.debug: print("[DBG] GRBAY VIS:", getVis("grbay")) if itemid == "linskin": if charid == "grvolur": item.transfer(["necklace"], ["player"], ["grvolur"], "give") topicSwitch("volneck") if itemid == "necklace": if charid == "grjens": if "kolbswor" in find.listInvItemIDs(["grjens"]): print(get.dlg("jensgive")) item.transfer(["kolbswor"], ["player"], ["grjens"], "give") topicSwitch("jensword") if g.Chapters == "1": print( "\n ---- Chapter VII: Call of the Inca ----\n" ) if itemid == "divesuit": if charid == "grportma": print(get.dlg("grmawork")) db.cur.execute( "update people set val = val - 500 where charid = \"grportma\";" ) db.cur.execute( "update people set val = val + 500 where charid = \"player\";") if itemid == "fjorstei": if charid == "spgorka": print(get.dlg("gorfjo")) if ask.yn(): print(get.dlg("gormore")) topicSwitch("", "gordone", "Artifacts") else: print( "\n ---- Chapter IX: Fame & Glory ----\n" ) gameOver.End("artifacts") if itemid == "guthjorr": if charid == "spgorka": print(get.dlg("gorgut")) if ask.yn(): print(get.dlg("gormore")) topicSwitch("", "gordone", "Artifacts") else: print( "\n ---- Chapter IX: Fame & Glory ----\n" ) gameOver.End("artifacts") if itemid == "viksword": if charid == "spgorka": print(get.dlg("gorrep")) if ask.yn(): print(get.dlg("gormore")) topicSwitch("", "gordone", "Artifacts") else: print( "\n ---- Chapter IX: Fame & Glory ----\n" ) gameOver.End("artifacts") if itemid == "necklace": if charid == "spgorka": print(get.dlg("gornec")) if ask.yn(): print(get.dlg("gormore")) topicSwitch("", "gordone", "Artifacts") else: print( "\n ---- Chapter IX: Fame & Glory ----\n" ) gameOver.End("artifacts")
def End(endType): """Takes a string as an argument and ends the game.""" if endType == "essential": print(get.text("essentia")) cmd.quitgame(True) print("\n ---- GAME OVER ----") elif endType == "death": print(get.text("death")) cmd.quitgame(True) print("\n ---- GAME OVER ----") elif endType == "win": print("\nA WINNER IS YOU!\n") cmd.quitgame(True) elif endType == "artifacts": gorkainv = find.listInvItemIDs(["spgorka"]) plinv = find.listInvItemIDs() if g.debug: print("[DBG] gameOver GORKA INV", gorkainv) print("[DBG] gameOver PL INV", plinv) if "necklace" in gorkainv: print(get.text("endneckl")) if "viksword" in gorkainv: print(get.text("endrepli")) if "fjorstei" in gorkainv: print(get.text("endfjors")) if "guthjorr" in gorkainv: print(get.text("endguthh")) if "guthjorr" in plinv: print(get.text("endkguth")) if "fjorstei" in plinv: print(get.text("endkfjor")) cmd.quitgame(True) print("\n ---- YOU WIN ----") elif endType == "immortality": print(get.text("immortal")) time.sleep(22) ending = get.text("ending") for char in ending: if char == "@": print("\n\n", end="") time.sleep(2) elif char == ">": time.sleep(0.75) elif char == "|": print(",", end="") time.sleep(1) elif char == ":": time.sleep(0.04) elif char == "-": time.sleep(0.06) elif char == "1": print("\n\n", end="") time.sleep(2.25) elif char == "2": print("\n\n", end="") time.sleep(2.5) elif char == "3": print("\n\n", end="") time.sleep(2.75) elif char == "4": time.sleep(2) print(".", end="") elif char == "5": time.sleep(4) print("\n") time.sleep(4) else: print(char, end="") time.sleep(0.04) cmd.quitgame(True)
def parse_date(row): if 'date' not in row: return row['date'] = get.text(row['date'], '.')[0].replace('.', '-')
def parse_committee(row): if 'committee' not in row: return c = row['committee'] row['pdf'] = c.xpath('.//@onclick')[0].split("'")[1] row['committee'] = ' '.join(get.text(c, '.'))
def run(b, c): b.convictions += 1 insert.row(b.cur, 'ConvictionRecord', ( b.convictions, b.subjects, get.text(c, 'ActivityDate'), get.text(c, 'ConvictionCourt/OrganizationName'), get.text(c, 'ConvictionCourt/OrganizationORIID/ID'), get.text(c, 'ControllingAgency/OrganizationName'), get.text(c, 'ControllingAgency/OrganizationORIID/ID'), get.text(c, 'ControllingAgency/OriginatingAgencyCaseNumber/ID'), get.text(c, 'AssignedCustodialAgency/OrganizationName'), get.text(c, 'AssignedProbationAgency/OrganizationName'), get.text(c, 'StatementOfDisagreement'), get.text(c, 'ConvictionCharge/ChargeClassification/ChargeApplicabilityText'), get.text(c, 'ConvictionCharge/ChargeStatute/StatuteCodeID/ID'), get.text(c, 'ConvictionCharge/ChargeStatute/StatuteDescriptionText'), get.text(c, 'ConvictionCharge/ConvictionCourtCase/CaseTrackingID/ID'), get.text(c, 'ConvictionCharge/ChargeDisposition/ChargeDispositionVerdict/VerdictDescriptionText'), get.text(c, 'ConvictionCharge/ChargeDisposition/PronouncedFine/ObligationAmount'), get.text(c, 'ConvictionCharge/ChargeDisposition/AssessmentFee/ObligationAmount'), get.text(c, 'ConvictionCharge/ChargeDisposition/StayedFine/ObligationAmount'), get.text(c, 'ConvictionCharge/ChargeDisposition/Restitution/ObligationAmount'), get.text(c, 'ConvictionCharge/ChargeDisposition/PronouncedSentence/TermDuration'), get.text(c, 'ConvictionCharge/ChargeDisposition/ProbationalSentence/TermDuration'), get.text(c, 'ConvictionCharge/ChargeDisposition/ConditionalConfinement/TermDuration'), get.text(c, 'ConvictionCharge/ConvictionLevel')))
def tips(*args): print(get.text("devtips"))