Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import os
- os.system("cls")
- def main():
- restart = 0
- loop = 1
- while loop == 1:
- print(""" \u001b[31;1m /$$$$$$$ /$$ /$$ /$$$$$$ /$$ /$$ /$$
- | $$__ $$ |__/ | $$ /$$__ $$ | $$ | $$ | $$
- | $$ \ $$ /$$$$$$ /$$ /$$$$$$$ | $$ \__/ /$$$$$$ | $$ /$$$$$$$ /$$ /$$| $$ /$$$$$$ /$$$$$$ /$$$$$$ /$$$$$$
- | $$$$$$$/ |____ $$| $$ /$$__ $$ | $$ |____ $$| $$ /$$_____/| $$ | $$| $$ |____ $$|_ $$_/ /$$__ $$ /$$__ $$
- | $$__ $$ /$$$$$$$| $$| $$ | $$ | $$ /$$$$$$$| $$| $$ | $$ | $$| $$ /$$$$$$$ | $$ | $$ \ $$| $$ \__/
- | $$ \ $$ /$$__ $$| $$| $$ | $$ | $$ $$ /$$__ $$| $$| $$ | $$ | $$| $$ /$$__ $$ | $$ /$$| $$ | $$| $$
- | $$ | $$| $$$$$$$| $$| $$$$$$$ | $$$$$$/| $$$$$$$| $$| $$$$$$$| $$$$$$/| $$| $$$$$$$ | $$$$/| $$$$$$/| $$
- |__/ |__/ \_______/|__/ \_______/ \______/ \_______/|__/ \_______/ \______/ |__/ \_______/ \___/ \______/ |__/
- """)
- # Telling You Code Names :
- print (" \u001b[31;1m Explosive Ammo = EA ")
- print (" \u001b[31;1m Rocket = R ")
- print (" \u001b[31;1m C4 = C4 ")
- print (" \u001b[31;1m Satchel = ST ")
- print (" \u001b[31;1m Beancan = BC \u001b[37m")
- # Setting The Values :
- EA = (50)
- R = (1400)
- C4 = (2200)
- ST = (480)
- BC = (120)
- # Ask What They Want To Craft :
- wt = input("What Do You Want To Craft ? : ")
- # Ask How Many :
- hm = int(input("How many ? : "))
- os.system("cls")
- # Checking What They Want To Craft And Doing The Math :
- if wt == "EA":
- ans = EA * hm / 2
- ans = int(ans)
- os.system("cls")
- print("\u001b[31;1m",ans,"Sulpur to craft !","\u001b[37m")
- if wt == "R":
- ans = R * hm
- ans = int(ans)
- os.system("cls")
- print("\u001b[31;1m",ans,"Sulpur to craft !","\u001b[37m")
- if wt == "C4":
- ans = C4 * hm
- ans = int(ans)
- os.system("cls")
- print("\u001b[31;1m",ans,"Sulpur to craft !","\u001b[37m")
- if wt == "ST":
- ans = ST * hm
- ans = int(ans)
- os.system("cls")
- print("\u001b[31;1m",ans,"Sulpur to craft !","\u001b[37m")
- if wt == "BC":
- ans = BC * hm
- ans = int(ans)
- os.system("cls")
- print("\u001b[31;1m",ans,"Sulpur to craft !","\u001b[37m")
- # This Is Asking If They Want It To Be Converted To Gun Powder
- gp = input("Do You Want That In GP ? (Y or N) : ")
- if gp == "Y":
- ans = ans / 2
- print("\u001b[31;1m",ans,"Gunpowder to craft !","\u001b[37m")
- restart = input("Do You Want To Continue ? (Y or N) : ")
- elif gp == "N":
- restart = input("Do You Want To Continue ? (Y or N) : ")
- if restart == "Y":
- os.system("cls")
- main()
- else:
- loop = 0
- main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement