@JacobRogers/

MinecraftRpg

Python

its in the title **IDIOT**

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
from random import randint
import time
items={'oak':0,'diamond':0}
iron=0
coal=0
gold=0
ores = ["	","coal","diamond(s)","gold","iron"]

amount = random.randint(1,65)

user=input("Welcome user! Please enter your name.	")
time.sleep(1.0)
print("Got it! That's your name from now on, \nyou won't be able to change it no matter what!")

lol=True

while lol==True:
	activetask=input("What would you like to do? (cut trees, mine away, go to village)	").lower()
	time.sleep(0.7)
	if activetask == "cut trees":
		cuttrees=1
		while cuttrees == 1:
			print("Cutting tree...")
			time.sleep(0.5)
			print("Cutting tree...")
			time.sleep(0.5)
			print("Cutting tree...")
			time.sleep(0.5)
			print("Tree cut! You got 6 oak wood!")
			items['oak']+=6
			time.sleep(1.0)
			print("right now you have:")
			print(items.get('oak'),"oak")
			time.sleep(1.0)
			stop=input("would you like to do something else? Y/N	").lower()
			if stop == "y":
				time.sleep(0.5)
				print("Alright.")
				cuttrees=0
			else:
				print("Alright.")
	elif activetask == "mine away":
		mining=1
		while mining == 1:
			print("mining...")
			time.sleep(0.5)
			print("mining...")
			time.sleep(0.5)
			print("mining...")
			time.sleep(0.5)
			print("mined!")
			random= random.randint(1,4)
			print("You got",amount,ores[random]+". Amazing work!")
			
			if ores[random] == "coal":
				coal+=amount
			
			elif ores[random] == "diamond(s)":
				items['diamond']+=amount
			
			elif ores[random] == "iron":
				iron=iron+amount
			
			elif ores[random] == "gold":
				gold=gold+amount

			print("Right now, you have:")
			print(items.get('diamond'),"dimaond(s)")
			print(iron,"iron")
			print(gold,"gold")
			print(coal,"coal")

			stop=input("Would you like to do something else? Y/N	").lower
			if stop == "n":
				print("Alright.")
				time.sleep(0.5)
			elif stop == "y":
				print("Alright.")
				mining=0

	elif activetask == "go to village":
		print("WIP")
		time.sleep(1.0)