Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from time import sleep
- from random import randint
- pregameloop = True
- game = False
- purchasefailure = False
- rgain = 0
- PStone = 0
- PWood = 0
- PFeather = 0
- PCoal = 0
- PCopper = 0
- PCell = 0
- PPickLevel = 1
- PAxeLevel = 1
- UUnlockAxes = False
- URollingLog = 0
- URLCounter = 0
- UBirdSnare = 0
- FeatherChance = 0
- UFeatherAxe = False
- UDepositSearch = False
- URLCostT2 = 60
- UTradingPost = False
- UBeggarHat = 0
- UCoalVeins = False
- UPickT2 = False
- UAxeT2 = False
- UForge = False
- UForgeStatus = 'Inactive'
- UForgeCoalCount = 0
- UOverchargeForge = 0
- UStrongerSnares = False
- BirdSnareChance = 0
- UCopperRod = 0
- UMiningExchange = False
- UWoodcutExchange = False
- UCopperScout = False
- ScoutValue = 0
- TFeatherPile = False
- TCoalStack = False
- TFPBuildUp = 0
- TFPBoost = 0
- TCSBuildUp = 0
- TCSBoost = 0
- IOUUnlockAxes = False
- IOURollingLog = False
- IOURollingLog2 = False
- IOUBirdSnare = False
- IOUFeatherAxe = False
- IOUDepositSearch = False
- IOUTradingPost = False
- IOUBeggarHat = False
- IOUCoalVeins = False
- IOUPickT2 = False
- IOUAxeT2 = False
- IOUForge = False
- IOUStrongerSnares = False
- IOUCopperRod = False
- IOUMiningExchange = False
- IOUWoodcutExchange = False
- IOUCopperScout = False
- IOTFeatherPile = False
- IOTCoalStack = False
- IPickInput = '>0'
- IAxeInput = '!`'
- IScoutInput = 'oo'
- ISnareDisplay = '[_]'
- IForgeDisplay = '(=)'
- def newscreen():
- print("")
- print("")
- print("")
- print("")
- print("")
- print("")
- def refreshscreen():
- newscreen()
- print("")
- print("")
- print("")
- def printscreen():
- refreshscreen()
- screenrendersize = 6
- if UCopperScout == True:
- print("[Mine(", ScoutValue, "): '", IPickInput,"'] [Woodcut: '", IAxeInput, "'] [Scout: '", IScoutInput, "'] { Upgrades: '&' } { Trading: '$' }", sep='')
- print("_____________________________________________ ----------------------------------")
- elif UTradingPost == True:
- print("[Mine: '", IPickInput,"'] [Woodcut: '", IAxeInput, "'] { Upgrades: '&' } { Trading: '$' }", sep='')
- print("____________________________ ----------------------------------")
- elif UUnlockAxes == True:
- print("[Mine: '", IPickInput, "'] [Woodcut: '", IAxeInput, "'] { Upgrades: '&' }", sep='')
- print("_____________________________ -----------------")
- else:
- print("[Mine: '", IPickInput, "'] { Upgrades: '&' }", sep='')
- print("____________ -----------------")
- if PCopper >= 1:
- print("[ Stone:", PStone, "] [ Wood:", PWood, "] [ Feather:", PFeather, "] [ Coal:", PCoal, "] [ Copper:", PCopper, "]")
- elif PCoal >= 1:
- print("[ Stone:", PStone, "] [ Wood:", PWood, "] [ Feather:", PFeather, "] [ Coal:", PCoal, "]")
- elif PFeather >= 1:
- print("[ Stone:", PStone, "] [ Wood:", PWood, "] [ Feather:", PFeather, "]")
- elif PWood >= 1:
- print("[ Stone:", PStone, "] [ Wood:", PWood, "]")
- else:
- print("[ Stone:", PStone, "]")
- if PCell >= 1:
- print("{ Cell:", PCell, "}")
- screenrendersize -= 1
- if UCopperRod >= 1:
- print("0==) x", URollingLog, " ", ISnareDisplay, "x", UBirdSnare, " (_) x", UBeggarHat, " _i_ x", UCopperRod)
- screenrendersize -= 1
- elif UBeggarHat >= 1:
- print("0==) x", URollingLog, " ", ISnareDisplay, "x", UBirdSnare, " (_) x", UBeggarHat)
- screenrendersize -= 1
- elif UBirdSnare >= 1:
- print("0==) x", URollingLog, " ", ISnareDisplay, "x", UBirdSnare)
- screenrendersize -= 1
- elif URollingLog >= 1:
- print("0==) x", URollingLog)
- screenrendersize -= 1
- if UForge == True:
- print("'", IForgeDisplay, "' ", UForgeStatus, sep='')
- screenrendersize -= 1
- for i in range(0, screenrendersize):
- print("")
- def upgradescreen():
- global PStone, PWood, PFeather, PCoal, PCopper, PCell
- global UUnlockAxes, URollingLog, UBirdSnare, UFeatherAxe, UDepositSearch, UTradingPost, UBeggarHat, UCoalVeins, UPickT2, UAxeT2, UForge, UOverchargeForge, UStrongerSnares, UCopperRod, UMiningExchange, UWoodcutExchange, UCopperScout
- global TFeatherPile, TCoalStack
- global IAxeInput, IPickInput, purchasefailure, URLCostT2, BirdSnareChance, PAxeLevel, PPickLevel, ISnareDisplay, IForgeDisplay
- global IOUUnlockAxes, IOURollingLog, IOURollingLog2, IOUBirdSnare, IOUFeatherAxe, IOUDepositSearch, IOUTradingPost, IOUBeggarHat, IOUCoalVeins, IOUPickT2, IOUAxeT2, IOUForge
- global IOUStrongerSnares, IOUCopperRod, IOUMiningExchange, IOUWoodcutExchange, IOUCopperScout
- global IOTFeatherPile, IOTCoalStack
- UpgradeCheck = 0
- refreshscreen()
- if purchasefailure == True:
- purchasefailure = False
- print("* Purchase Failed *")
- print("")
- if UUnlockAxes == False and PStone >= 10 or IOUUnlockAxes == True:
- print("[Unlock Axes] Allow Woodcutting")
- print(" '!`' Cost: 25 Stone")
- IOUUnlockAxes = True
- UpgradeCheck += 1
- if URollingLog == 0 and PWood >= 15 or IOURollingLog == True:
- print("[Rolling Log] Set a massive log down a hill to passively gather wood as you take actions")
- print(" '0==)' Cost: 40 Wood")
- IOURollingLog = True
- UpgradeCheck += 1
- if UBirdSnare < 10 and URollingLog >= 1 or IOUBirdSnare == True:
- print("[Bird Snare] Prepare a snare which has a chance to produce feathers as you act. Max: 10")
- print(" '[_]' Cost: 15 Stone, 20 Wood Current Snares:", UBirdSnare)
- IOUBirdSnare = True
- UpgradeCheck += 1
- if UFeatherAxe == False and UUnlockAxes == True and PFeather >= 1 or UFeatherAxe == False and UDepositSearch == True or IOUFeatherAxe == True:
- print("[Feather Axe] Upgrade your axe to be swung faster")
- print(" '!^' Cost: 20 Stone, 5 Feather")
- IOUFeatherAxe = True
- UpgradeCheck += 1
- if UDepositSearch == False and UBirdSnare >= 1 and PFeather >= 3 or UDepositSearch == False and UFeatherAxe == True or IOUDepositSearch == True:
- print("[Deposit Search] Search for better deposits, which can be mined easier")
- print(" '>(' Cost: 50 Wood, 3 Feather")
- IOUDepositSearch = True
- UpgradeCheck += 1
- if UDepositSearch == True and UFeatherAxe == True and URollingLog < 3 or IOURollingLog2 == True:
- print("[Rolling Logs] Produce up to two more massive logs to gather wood as you act")
- print(" '0==)' Cost:", URLCostT2, "Wood Current Logs:", URollingLog)
- IOURollingLog2 = True
- UpgradeCheck += 1
- if UTradingPost == False and PStone >= 100 and PWood >= 100 or IOUTradingPost == True:
- print("[Trading Outpost] Allows for the development of communications")
- print(" '[$]' Cost: 100 Stone, 125 Wood")
- IOUTradingPost = True
- UpgradeCheck += 1
- if TFeatherPile == False and UTradingPost == True and UBirdSnare >= 5 and PFeather >= 15 or IOTFeatherPile == True:
- print("[Feather Stockpile] Has a chance to attract a feline trader")
- print(" '.,-,' Cost: 40 Feather")
- IOTFeatherPile = True
- UpgradeCheck += 1
- if UBeggarHat < 4 and UDepositSearch == True and PStone <= 30 or UBeggarHat < 4 and UDepositSearch == True and PStone >= 100 or IOUBeggarHat == True:
- print("[Beggar's Hat] Put out a hat for passersby to toss in stones, as you act. Max: 4")
- print(" '(_)' Cost: 80 Wood, 10 Feather Current Hats:", UBeggarHat)
- IOUBeggarHat = True
- UpgradeCheck += 1
- if UCoalVeins == False and UBeggarHat >= 2 and PStone >= 50 or IOUCoalVeins == True:
- print("[Coal Veins] Take greater care in mining stone, gaining a chance to get coal")
- print(" '.o' Cost: 100 Stone, 90 Wood, 5 Feather")
- IOUCoalVeins = True
- UpgradeCheck += 1
- if UPickT2 == False and UCoalVeins == True and PCoal >= 5 or IOUPickT2 == True:
- print("[Tempered Pickaxe] Use coal and wood to improve your pickaxe, gaining two stone for each usage")
- print(" Each pick level increases coal chance. (+1 Pick Level)")
- print(" '-(' Cost: 120 Wood, 15 Coal")
- IOUPickT2 = True
- UpgradeCheck += 1
- if UAxeT2 == False and UCoalVeins == True and PCoal >= 5 or IOUAxeT2 == True:
- print("[Sharpened Axe] Use coal and stone to sharpen your axe, gaining two wood for each usage")
- print(" Each axe level increases feather chance. (+1 Axe Level)")
- print(" '!-' Cost: 120 Stone, 15 Coal")
- IOUAxeT2 = True
- UpgradeCheck += 1
- if UForge == False and UPickT2 == True or UForge == False and UAxeT2 == True or IOUForge == True:
- print("[Coal Forge] Create a furnace which consumes 5 stone and 5 wood an action for 1 coal every two")
- print(" '(=)' Cost: 150 Stone, 80 Wood")
- IOUForge = True
- UpgradeCheck += 1
- if UOverchargeForge == 0 and UForge == True and PCell >= 1:
- print("[Overcharge Forge] Temporarily quadruple the output of the coal forge for 40 turns")
- print(" '(*)' Cost: 1 Cell")
- UpgradeCheck += 1
- if TCoalStack == False and UTradingPost == True and PCoal >= 10 or IOTCoalStack == True:
- print("[Coal Stack] Has a chance to attract a fiery barterer")
- print(" '.o0*' Cost: 50 Coal")
- IOTCoalStack = True
- UpgradeCheck += 1
- if UStrongerSnares == False and UBirdSnare >= 10 and PCopper >= 1 or IOUStrongerSnares == True:
- print("[Shiny Snares] Improve the chance of snares producing feathers by 100%")
- print(" '#_#' Cost: 30 Stone, 60 Wood, 15 Copper")
- IOUStrongerSnares = True
- UpgradeCheck += 1
- if UCopperRod < 2 and PCopper >= 1 or IOUCopperRod == True:
- print("[Lightning Rod] Create lightning rods with a low chance to produce cells. Max: 2")
- print(" '_i_' Cost: 40 Copper Current Rods:", UCopperRod)
- IOUCopperRod = True
- UpgradeCheck += 1
- if UMiningExchange == False and PCopper >= 1 or IOUMiningExchange == True:
- print("[Stone Transmutation] Channel the mysticism of copper to have a chance at finding wood while mining")
- print(" '-[' Cost: 150 Wood, 15 Feather, 20 Copper Each pick level increases this bonus")
- IOUMiningExchange = True
- UpgradeCheck += 1
- if UWoodcutExchange == False and PCopper >= 1 or IOUWoodcutExchange == True:
- print("[Wood Transmutation] Channel the oddities of copper to have a chance at finding stone while woodcutting")
- print(" '[`' Cost: 150 Stone, 15 Feather, 20 Copper Each axe level increases this bonus")
- IOUWoodcutExchange = True
- UpgradeCheck += 1
- if UCopperScout == False and UWoodcutExchange == True or UCopperScout == False and UMiningExchange == True or IOUCopperScout == True:
- print("[Scouting] Unlock the scout action, which allows mining following a scouting mission to gain copper")
- print(" 'oo' Cost: 100 Stone, 100 Wood, 30 Feather, 20 Coal, 30 Copper")
- IOUCopperScout = True
- UpgradeCheck += 1
- # later improve scouting copper by pick level
- # copper T2 derivative stone wood coal copper New trap for fur
- # fur progression
- # copper T2 derivative stone wood coal copper Buff old traps
- # new trap cap on each
- if UpgradeCheck == 0:
- print("NO UPGRADES AVAILABLE")
- if UUnlockAxes == False:
- print("* Come back with more stone *")
- elif URollingLog == 0:
- print("* This wood seems neat... *")
- elif UFeatherAxe == False:
- print("* Be patient and the birds will come *")
- elif UDepositSearch == False:
- print("* Be patient and the birds will come with new lands *")
- elif UTradingPost == False:
- print("* Come on, put those tools to work! *")
- elif TFeatherPile == False:
- print("* Someone seems to be rather interested in those feathers of yours... *")
- elif UBeggarHat == 0:
- print("* You don't seem to be in need of more stone... *") # Because the player only gets this if they're stacked
- elif UPickT2 == False or UAxeT2 == False:
- print("* Try gather some coal *")
- elif TCoalStack == False:
- print(" * Someone seems fascinated with your coal... * ")
- elif UStrongerSnares == False: # Copper Lot
- print(" * The flamespeople carry exotic goods * ")
- print("Press [Enter] to Exit")
- pinput = input("")
- if pinput == "":
- print("")
- newscreen()
- printscreen()
- pinput = ""
- elif IOUUnlockAxes == True and UUnlockAxes == False and PStone >= 25 and pinput == '!`':
- PStone -= 25
- UUnlockAxes = True
- IOUUnlockAxes = False
- elif IOURollingLog == True and URollingLog == 0 and PWood >= 40 and pinput == '0==)':
- PWood -= 40
- URollingLog += 1
- if URollingLog >= 1:
- IOURollingLog = False
- upgradescreen()
- elif IOUBirdSnare == True and UBirdSnare < 10 and URollingLog >= 1 and PStone >= 15 and PWood >= 20 and pinput == '[_]':
- PStone -= 15
- PWood -= 20
- UBirdSnare += 1
- BirdSnareChance += 1
- if UBirdSnare >= 10:
- IOUBirdSnare = False
- upgradescreen()
- elif IOUFeatherAxe == True and UFeatherAxe == False and UUnlockAxes == True and PStone >= 20 and PFeather >= 5 and pinput == '!^':
- PStone -= 20
- PFeather -= 5
- UFeatherAxe = True
- IAxeInput = '!^'
- IOUFeatherAxe = False
- upgradescreen()
- elif IOUDepositSearch == True and UDepositSearch == False and UBirdSnare >= 1 and PWood >= 50 and PFeather >= 3 and pinput == '>(':
- PWood -= 50
- PFeather -= 3
- UDepositSearch = True
- IPickInput = '>('
- IOUDepositSearch = False
- upgradescreen()
- elif IOURollingLog2 == True and URollingLog >= 1 and URollingLog < 3 and UFeatherAxe == True and UDepositSearch == True and PWood >= URLCostT2 and pinput == '0==)':
- PWood -= URLCostT2
- URLCostT2 += 30
- URollingLog += 1
- if URollingLog >= 3:
- IOURollingLog2 = False
- upgradescreen()
- elif IOUTradingPost == True and UTradingPost == False and PStone >= 100 and PWood >= 125 and pinput == '[$]':
- PStone -= 100
- PWood -= 125
- UTradingPost = True
- IOUTradingPost = False
- upgradescreen()
- elif IOTFeatherPile == True and TFeatherPile == False and UTradingPost == True and PFeather >= 40 and pinput == '.,-,':
- PFeather -= 40
- TFeatherPile = True
- IOTFeatherPile = False
- upgradescreen()
- elif IOUBeggarHat == True and UBeggarHat < 4 and UDepositSearch == True and PWood >= 80 and PFeather >= 10 and pinput == '(_)':
- PWood -= 80
- PFeather -= 10
- UBeggarHat += 1
- if UBeggarHat >= 4:
- IOUBeggarHat = False
- upgradescreen()
- elif IOUCoalVeins == True and UCoalVeins == False and PStone >= 100 and PWood >= 90 and PFeather >= 5 and pinput == '.o':
- PStone -= 100
- PWood -= 90
- PFeather -= 5
- UCoalVeins = True
- IOUCoalVeins = False
- upgradescreen()
- elif IOUPickT2 == True and UPickT2 == False and PWood >= 120 and PCoal >= 15 and pinput == '-(':
- PWood -= 120
- PCoal -= 15
- UPickT2 = True
- IOUPickT2 = False
- PPickLevel += 1
- IPickInput = '-('
- upgradescreen()
- elif IOUAxeT2 == True and UAxeT2 == False and PStone >= 120 and PCoal >= 15 and pinput == '!-':
- PStone -= 120
- PCoal -= 15
- UAxeT2 = True
- IOUAxeT2 = False
- PAxeLevel += 1
- IAxeInput = '!-'
- upgradescreen()
- elif IOUForge == True and UForge == False and PStone >= 150 and PWood >= 80 and pinput == '(=)':
- PStone -= 150
- PWood -= 80
- UForge = True
- IOUForge = False
- upgradescreen()
- elif UOverchargeForge == 0 and UForge == True and PCell >= 1 and pinput == '(*)':
- PCell -= 1
- UOverchargeForge += 40
- IForgeDisplay = '(*)'
- upgradescreen()
- elif IOTCoalStack == True and TCoalStack == False and PCoal >= 50 and pinput == '.o0*':
- PCoal -= 50
- TCoalStack = True
- IOTCoalStack = False
- upgradescreen()
- elif IOUStrongerSnares == True and UStrongerSnares == False and PStone >= 30 and PWood >= 60 and PCopper >= 15 and pinput == '#_#':
- PStone -= 30
- PWood -= 60
- PCopper -= 15
- UStrongerSnares = True
- IOUStrongerSnares = False
- BirdSnareChance = BirdSnareChance*2
- ISnareDisplay = '#_#'
- upgradescreen()
- elif IOUCopperRod == True and UCopperRod < 2 and PCopper >= 40 and pinput == '_i_':
- PCopper -= 40
- UCopperRod += 1
- if UCopperRod >= 2:
- IOUCopperRod = False
- upgradescreen()
- elif IOUMiningExchange == True and UMiningExchange == False and PWood >= 150 and PFeather >= 15 and PCopper >= 20 and pinput == '-[':
- PWood -= 150
- PFeather -= 15
- PCopper -= 20
- UMiningExchange = True
- IOUMiningExchange = False
- IPickInput = '-['
- upgradescreen()
- elif IOUWoodcutExchange == True and UWoodcutExchange == False and PStone >= 150 and PFeather >= 15 and PCopper >= 20 and pinput == '[`':
- PStone -= 150
- PFeather -= 15
- PCopper -= 20
- UWoodcutExchange = True
- IOUWoodcutExchange = False
- IAxeInput = '[`'
- upgradescreen()
- elif IOUCopperScout == True and UCopperScout == False and PStone >= 100 and PWood >= 100 and PFeather >= 30 and PCoal >= 20 and PCopper >= 30 and pinput == 'oo':
- PStone -= 100
- PWood -= 100
- PFeather -= 30
- PCoal -= 20
- PCopper -= 30
- UCopperScout = True
- IOUCopperScout = False
- upgradescreen()
- else:
- purchasefailure = True
- upgradescreen()
- def tradingscreen():
- global PStone, PWood, PFeather, PCoal, PCopper
- global PPickLevel, PAxeLevel
- global UTradingPost, UOverchargeForge
- global TFeatherPile, TCoalStack
- global TFPProc, TFPTakeFeather, TFPGiveStone, TFPBuildUp, TFPBoost
- global TCSProc, TCSTakeWood, TCSTakeCoal, TCSGiveCopper, TCSBuildUp, TCSBoost
- global tradingnotify
- refreshscreen()
- screenprintsize = 5
- TradersPresent = 0
- print("- Trading Outpost -")
- print("")
- if TFeatherPile == True:
- screenprintsize -= 1
- if TFPProc == 3:
- TradersPresent += 1
- if PFeather >= TFPTakeFeather:
- print(".,-, '<o>' My offer to you... I will give ", TFPGiveStone, " Stone... for ", TFPTakeFeather, " Feather [✓]", sep='')
- else:
- print(".,-, '<o>' My offer to you... I will give ", TFPGiveStone, " Stone... for ", TFPTakeFeather, " Feather [✗]", sep='')
- else:
- print(".,-,")
- if TCoalStack == True:
- screenprintsize -= 1
- if TCSProc == 5:
- TradersPresent += 1
- if PWood >= TCSTakeWood and PCoal >= TCSTakeCoal:
- print(".o0* '{0}' I'll take ", TCSTakeCoal, " Coal, and aboutttt ", TCSTakeWood, " Wood for ", TCSGiveCopper, " Copper! [✓]", sep='')
- else:
- print(".o0* '{0}' I'll take ", TCSTakeCoal, " Coal, and aboutttt ", TCSTakeWood, " Wood for ", TCSGiveCopper, " Copper! [✗]", sep='')
- else:
- print(".o0*")
- if TradersPresent == 0:
- screenprintsize -= 1
- for i in range(0, screenprintsize):
- print("")
- if TradersPresent == 0:
- print("There seems to be nobody here right now")
- print(tradingnotify)
- print("Press [Enter] to Exit")
- tradingnotify = ''
- pinput = input("")
- if pinput == '<o>' and TFPProc == 3 and PFeather >= TFPTakeFeather:
- PFeather -= TFPTakeFeather
- PStone += TFPGiveStone
- TFPProc = 0
- print("")
- tradingnotify = 'The kittens appreciate your feathers!'
- TFPBuildUp += 1
- if TFPBuildUp == 4 and TFPBoost < 4:
- TFPBuildUp = 0
- TFPBoost += 1
- newscreen()
- tradingscreen()
- elif pinput == '<o>' and TFPProc == 3 and PFeather < TFPTakeFeather:
- TFPProc = 0
- print("")
- tradingnotify = 'Your trade with the kittens failed'
- newscreen()
- tradingscreen()
- elif pinput == '{0}' and TCSProc == 5 and PCoal >= TCSTakeCoal and PWood >= TCSTakeWood:
- PCoal -= TCSTakeCoal
- PWood -= TCSTakeWood
- PCopper += TCSGiveCopper
- TCSProc = 0
- print("")
- tradingnotify = 'The flamespeople take your Wood and Coal'
- TCSBuildUp += 1
- if TCSBuildUp == 4 and TCSBoost < 6:
- TCSBuildUp = 0
- TCSBoost += 1
- newscreen()
- tradingscreen()
- elif pinput == '{0}' and TCSProc == 5 and PCoal < TCSTakeCoal or pinput == '{0}' and TCSProc == 5 and PWood < TCSTakeWood:
- TCSProc = 0
- print("")
- tradingnotify = 'Your trade with the flamespeople failed'
- newscreen()
- tradingscreen()
- elif pinput == '':
- print("")
- newscreen()
- printscreen()
- else:
- print("")
- newscreen()
- tradingscreen()
- while pregameloop == True:
- refreshscreen()
- ayrfail = 0
- print(" 'Begin'")
- newscreen()
- begingame = input(" ")
- while begingame == 'Begin':
- refreshscreen()
- print(" 'Type the text in the quotations'")
- newscreen()
- typethetextgame = input(" ")
- while typethetextgame == 'Type the text in the quotations':
- refreshscreen()
- print(" 'Are you ready?'")
- newscreen()
- areyoureadygame = input(" ")
- if areyoureadygame == 'Are you ready?':
- begingame = '2813190166737074'
- typethetextgame = '2813190166737074'
- areyoureadygame = '2813190166737074'
- pregameloop = False
- game = True
- break
- else:
- refreshscreen()
- print(" * Input Failure *")
- ayrfail += 1
- newscreen()
- sleep(0.5)
- if ayrfail >= 5:
- refreshscreen()
- print(" Type * Are you ready? *")
- newscreen()
- sleep(2)
- if typethetextgame == '2813190166737074':
- break
- else:
- refreshscreen()
- print(" * Input Failure *")
- newscreen()
- sleep(0.5)
- if begingame == '2813190166737074':
- break
- else:
- refreshscreen()
- print(" * Input Failure *")
- newscreen()
- sleep(0.5)
- refreshscreen()
- print(" * Begin Experience *")
- newscreen()
- sleep(1)
- while game == True:
- printscreen()
- pinput = input("")
- if pinput == IPickInput:
- PStone += PPickLevel
- if UCoalVeins == True:
- if randint(PPickLevel, 9) == 9:
- PCoal += 1
- if UMiningExchange == True:
- if randint(PPickLevel, 5) == 5:
- PWood += 1
- if ScoutValue > 0:
- PCopper += 1 #*(PPickLevel-1)
- ScoutValue -= 1
- elif UUnlockAxes == True and pinput == IAxeInput:
- PWood += PAxeLevel
- if UWoodcutExchange == True:
- if randint(PAxeLevel, 5) == 5:
- PStone += 1
- elif UCopperScout == True and pinput == IScoutInput:
- ScoutValue += randint(0, 2)
- elif pinput == '101s':
- rgain = int(input(""))
- PStone += rgain
- elif pinput == '102w':
- rgain = int(input(""))
- PWood += rgain
- elif pinput == '103f':
- rgain = int(input(""))
- PFeather += rgain
- elif pinput == '104c':
- rgain = int(input(""))
- PCoal += rgain
- elif pinput == '105c':
- rgain = int(input(""))
- PCopper += rgain
- elif pinput == '201c':
- rgain = int(input(""))
- PCell += rgain
- elif pinput == '&':
- upgradescreen()
- elif UTradingPost == True and pinput == '$':
- tradingnotify = ''
- TFPProc = randint(TFPBoost, 4)
- TFPTakeFeather = randint(3, 8)
- TFPGiveStone = TFPTakeFeather*2 + randint(5, 11) + PPickLevel*2 + PAxeLevel*2 + TFPBoost*2
- TCSProc = randint(TCSBoost, 6)
- TCSTakeCoal = randint(5, 10)
- TCSTakeWood = randint(18, 41)
- TCSGiveCopper = randint(3, 6) - PPickLevel + PAxeLevel + TCSBoost*2
- tradingscreen()
- elif pinput == 'activateAll':
- UUnlockAxes = True
- URollingLog = 3
- UBirdSnare = 10
- UFeatherAxe = True
- UDepositSearch = True
- UTradingPost = True
- UBeggarHat = 4
- UCoalVeins = True
- UForge = True
- UForgeStatus = 'Inactive'
- UStrongerSnares = True
- UCopperRod = 2
- UMiningExchange = True
- UWoodcutExchange = True
- UCopperScout = True
- TFeatherPile = True
- TCoalStack = True
- PPickLevel = 2
- PAxeLevel = 2
- elif UForge == True and pinput == IForgeDisplay:
- if UForgeStatus == 'Inactive':
- UForgeStatus = 'Active'
- else:
- UForgeStatus = 'Inactive'
- else:
- printscreen()
- #endturnproc()
- BHProcChance = 0
- if pinput == IPickInput or pinput == IAxeInput or pinput == IScoutInput:
- if URollingLog >= 1:
- URLCounter += 1
- if URLCounter == 3:
- PWood += URollingLog
- URLCounter = 0
- print("* Rolling Log * (+", URollingLog, " Wood)", sep='')
- print("")
- if UBirdSnare >= 1:
- if BirdSnareChance + PAxeLevel - 1 >= randint(1, 100):
- PFeather += 1
- if UBeggarHat >= 1:
- for i in range(0, UBeggarHat):
- BHProcChance = randint(1, 3)
- if BHProcChance == 1:
- PStone += 1
- print("* Beggar's Hat * (+1 Stone)")
- print("")
- if UCopperRod >= 1:
- if randint(UCopperRod, 400) == 400:
- PCell += 1
- print("* Lightning Rod * (+1 Cell)")
- if UForge == True:
- if UForgeStatus == 'Active':
- if PStone >= 5+PPickLevel and PWood >= 5+PAxeLevel and IForgeDisplay == '(*)':
- PStone -= 5
- PWood -= 5
- PCoal += 2
- UOverchargeForge -= 1
- elif PStone >= 5+PPickLevel and PWood >= 5+PAxeLevel:
- UForgeCoalCount += 1
- PStone -= 5
- PWood -= 5
- if UForgeCoalCount == 2:
- UForgeCoalCount = 0
- PCoal += 1
- else:
- UForgeStatus = 'Out of Resources - Reverting to Inactive'
- elif UForgeStatus == 'Out of Resources - Reverting to Inactive':
- UForgeStatus = 'Inactive'
- if UForge == True and IForgeDisplay == '(*)' and UOverchargeForge == 0:
- IForgeDisplay = '(=)'
Advertisement
Add Comment
Please, Sign In to add comment