Project-Pandora-Game / pandora

https://project-pandora.com
Other
11 stars 3 forks source link

[FEATURE] device module permission #737

Closed Sekkmer closed 4 months ago

Sekkmer commented 4 months ago

resolves #592

works for all module kinds in room devices

sadly assetSpecidc: undefined must be added to all modules as I couldn't think of a way to eliminate the property from the type, however since it is undefined it will not be part of the JSON output

linked modules will prompt for permission: image

Sekkmer commented 4 months ago

Exclusive locks currently do not work despite the new binding. Does not matter who adds it. The person in the character slot that should be locked into the slot due to the lock module can simply unlock the exclusive lock.

now that I think about it it may be due to the other bug that device modules do not have self blocking effects:

479

Edit: looking at module actions I will need to re-target module action context as well... it would be best if there were some common place to do the re-targeting, just not sure where could that be