Permalink
Cannot retrieve contributors at this time
Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign up
Fetching contributors…

item_phone = { | |
"id": "phone", | |
"name": "Samsung Galaxy Note 7", | |
"description": | |
"""You have 15% battery left but unfortunately no signal. | |
lets hope it does not explode when it is charged...""", | |
"weight":0.169 | |
} | |
item_key = { | |
"id": "key", | |
"name": "The key", | |
"description": | |
"""You can use this key to open important doors...""", | |
"weight":0.050 | |
} | |
item_knife = { | |
"id": "knife", | |
"name": "Knife", | |
"description": | |
"""This knife is very sharp. It would be great to use on some succulent steak""", | |
"weight":0.2 | |
} | |
item_pepperspray = { | |
"id": "pepperspray", | |
"name": "Pepperspray", | |
"description": | |
"""The warning label reads, contact with eyes has a high potential of causing discomfort""", | |
"weight":0.75, | |
"use":0 | |
} | |
item_tablet={ | |
"id": "tablet", | |
"name": "Tablet", | |
"description": | |
"""A nice shiny Ipad. You start playing flappy bird in hopes of beating the high score | |
before realising the high score is over 9000.""", | |
"weight":0.437 | |
} | |
#Added items dictionary so we can access items without knowing their location | |
items_list = { | |
"phone": item_phone, | |
"key": item_key, | |
"knife": item_knife, | |
"tablet":item_tablet, | |
"pepperSpray": item_pepperspray | |
} |