Python Forum
[pygame] Inventory problems. Weapons equipped to wrong slot
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[pygame] Inventory problems. Weapons equipped to wrong slot
#1
I've been working on this inventory for so long. i finally made big progress on it but I have a problem.

Problem - When buying an item it is successfully put into inventory. The only problem is that it takes the original weapon. The original weapon is still there but does nothing when being equipped. Instead, the new weapon takes equips the original weapon.

I have my code in github here - https://github.com/Sheepposu/Destination - It can also be installed and tested for visual purposes. All the pictures should be updated into the picture folder. TIA for your help
Reply


Messages In This Thread
[pygame] Inventory problems. Weapons equipped to wrong slot - by SheeppOSU - Apr-30-2019, 09:46 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  pygame installation problems Gheryk 5 8,803 Nov-29-2023, 08:49 PM
Last Post: E_Mohamed
  [PyGame] Problems with jump code in pygame Joningstone 4 5,479 Aug-23-2021, 08:23 PM
Last Post: deanhystad
  Adding an inventory and a combat system to a text based adventure game detkitten 2 6,975 Dec-17-2019, 03:40 AM
Last Post: detkitten
  [pygame] Inventory items not working SheeppOSU 14 6,968 May-27-2019, 09:44 PM
Last Post: metulburr
  [Pygame] Problems with my textbox SheeppOSU 1 3,151 May-27-2019, 12:03 AM
Last Post: metulburr
  [pygame] Blitting armor and weapons with inventory SheeppOSU 3 2,950 Apr-29-2019, 02:31 AM
Last Post: SheeppOSU
  [pygame] Equiping inventory slots with invisible buttons SheeppOSU 6 4,826 Apr-26-2019, 08:45 PM
Last Post: SheeppOSU
  drawing, moving, and collision problems (pygame) SheeppOSU 26 15,099 Apr-22-2019, 03:09 AM
Last Post: SheeppOSU
  Problems with loading buttons (pygame) SheeppOSU 2 3,181 Apr-12-2019, 08:04 PM
Last Post: SheeppOSU

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020