mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-11-28 17:01:39 +00:00
Deleting an item now follows its ItemComponent delResIndex row in the DeletionRestrictions table, the way the client's shared inventory code decides it (the client's inventory component the client's deletion restriction check): - missing, unrestricted, unknown-type or empty rows allow it; - LOTS_INCLUDED: another item of any listed LOT must remain; - LOTS_EXCLUDED: other items of every listed LOT must remain; - ANY_RESTRICTION / ALL_RESTRICTIONS: any / all listed rows allow it; - ZONE: only in the listed maps; ALWAYS_RESTRICTED: never. Operators (GM level 9) may delete anything, as in the client. A refused delete is logged and the item stays. ItemComponent.minNumRequired is not used: the client never reads it, so its meaning can't be verified. Issue 960: the rocket (6416, row 8) and the classic rocket parts (rows 1-3) have rows that keep at least one rocket or part, so the last rocket can no longer be deleted and strand the player. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
45 lines
1.3 KiB
CMake
45 lines
1.3 KiB
CMake
set(DDATABASE_CDCLIENTDATABASE_CDCLIENTTABLES_SOURCES "CDActivitiesTable.cpp"
|
|
"CDActivityRewardsTable.cpp"
|
|
"CDAnimationsTable.cpp"
|
|
"CDBehaviorParameterTable.cpp"
|
|
"CDBehaviorTemplateTable.cpp"
|
|
"CDBrickIDTableTable.cpp"
|
|
"CDComponentsRegistryTable.cpp"
|
|
"CDCurrencyTableTable.cpp"
|
|
"CDDestructibleComponentTable.cpp"
|
|
"CDEmoteTable.cpp"
|
|
"CDFeatureGatingTable.cpp"
|
|
"CDInventoryComponentTable.cpp"
|
|
"CDItemComponentTable.cpp"
|
|
"CDItemSetSkillsTable.cpp"
|
|
"CDItemSetsTable.cpp"
|
|
"CDLevelProgressionLookupTable.cpp"
|
|
"CDLootMatrixTable.cpp"
|
|
"CDLootTableTable.cpp"
|
|
"CDMissionEmailTable.cpp"
|
|
"CDMissionNPCComponentTable.cpp"
|
|
"CDMissionsTable.cpp"
|
|
"CDMissionTasksTable.cpp"
|
|
"CDMovementAIComponentTable.cpp"
|
|
"CDObjectSkillsTable.cpp"
|
|
"CDObjectsTable.cpp"
|
|
"CDPetComponentTable.cpp"
|
|
"CDPackageComponentTable.cpp"
|
|
"CDPlayerFlagsTable.cpp"
|
|
"CDPhysicsComponentTable.cpp"
|
|
"CDPropertyEntranceComponentTable.cpp"
|
|
"CDDeletionRestrictionsTable.cpp"
|
|
"CDPropertyTemplateTable.cpp"
|
|
"CDModularBuildComponentTable.cpp"
|
|
"CDProximityMonitorComponentTable.cpp"
|
|
"CDRailActivatorComponent.cpp"
|
|
"CDRarityTableTable.cpp"
|
|
"CDRebuildComponentTable.cpp"
|
|
"CDRewardCodesTable.cpp"
|
|
"CDRewardsTable.cpp"
|
|
"CDScriptComponentTable.cpp"
|
|
"CDSkillBehaviorTable.cpp"
|
|
"CDTamingBuildPuzzleTable.cpp"
|
|
"CDVendorComponentTable.cpp"
|
|
"CDZoneTableTable.cpp" PARENT_SCOPE)
|