Example #1
0
		def jabaliFunY():
			log.add_event("Su alimento me ayudara a sobrevivir")
			c = Item.create('comida')
			inv.addItem(c)
			inv.addItem(c)
			inv.clean()

			removeItem(world, 'b_jabali')
			Item.removeItem('b_jabali')
			Item.addItem('b_jabali', 78, 154, '/')
			addItem(world, 'b_jabali')
Example #2
0
def addNewItem(world, itemName, x, y):
	replacement = Item.getAscii(itemName)
	Item.addItem(itemName, x, y, world.grid[x][y])
	world.grid[x][y] = replacement