'D' is not an intelligent key to drop an item
This commit is contained in:
parent
5b4dc601bc
commit
91a4514649
|
@ -129,7 +129,7 @@ class Game:
|
||||||
elif key == KeyValues.EQUIP:
|
elif key == KeyValues.EQUIP:
|
||||||
self.inventory_menu.validate().equip()
|
self.inventory_menu.validate().equip()
|
||||||
elif key == KeyValues.DROP:
|
elif key == KeyValues.DROP:
|
||||||
self.inventory_menu.validate().use()
|
self.inventory_menu.validate().drop()
|
||||||
|
|
||||||
# Ensure that the cursor has a good position
|
# Ensure that the cursor has a good position
|
||||||
self.inventory_menu.position = min(self.inventory_menu.position,
|
self.inventory_menu.position = min(self.inventory_menu.position,
|
||||||
|
|
|
@ -30,7 +30,7 @@ class Settings:
|
||||||
self.KEY_INVENTORY = ['i', 'Key used to open the inventory']
|
self.KEY_INVENTORY = ['i', 'Key used to open the inventory']
|
||||||
self.KEY_USE = ['u', 'Key used to use an item in the inventory']
|
self.KEY_USE = ['u', 'Key used to use an item in the inventory']
|
||||||
self.KEY_EQUIP = ['e', 'Key used to equip an item in the inventory']
|
self.KEY_EQUIP = ['e', 'Key used to equip an item in the inventory']
|
||||||
self.KEY_DROP = ['d', 'Key used to drop an item in the inventory']
|
self.KEY_DROP = ['r', 'Key used to drop an item in the inventory']
|
||||||
self.TEXTURE_PACK = ['ascii', 'Texture pack']
|
self.TEXTURE_PACK = ['ascii', 'Texture pack']
|
||||||
self.LOCALE = [locale.getlocale()[0][:2], 'Language']
|
self.LOCALE = [locale.getlocale()[0][:2], 'Language']
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue