-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PDA Slots (PDA-slots branch) #48
Comments
Did you attempt to set the PDA slot size designation to hold pocketable items and then set the item specific designation to the the definition of the PDA? |
As I've been looking into this, I have managed to pinpoint exactly where in the code the PDA is getting stopped from being equipped: Line 239: So, I editted the code so it would print out messages to help with debugging:
So with that in and attempting to equip a PDA, you get this result: if('23' in /list). So, for whatever reason, the PDA is returning a bitmask of 768, which is the result of both the slot_id and slot_belt flags - so essentially it is ignoring the slot_pda flag. |
Further tinkering with it, found the problem: the total bitmask can't be greater than 65535, so essentially the bitmask needs to be less than or equal to 16th bit (32768) for the SLOT_PDA, in setup. |
Being Fixed in #79 |
Alright, so PDA slots work fine in every way, except you can't actually put PDA's in them. I've traced the issue back to the items.dm file in objects, under mob_can_equip. Help would be hugely appreciated.
The text was updated successfully, but these errors were encountered: