mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-12 15:53:44 +00:00
Off unless property_rent_enabled is on. Each property world's rent comes from its PropertyTemplate row (minimumPrice every rentDuration x durationType; Block Yard is free), unless the new Property Rent dashboard page sets another price or period (property_rent_manage). Rent is taken from the owner's coins shortly after their character loads, with a mail receipt; unpaid rent is mailed and, after property_rent_grace_days, makes the property private until it is paid, like live. The property management component refuses public or best friends privacy while rent is overdue and a property world that loads overdue makes itself private. Property game messages are unchanged. Fixes #943 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
43 lines
1.4 KiB
CMake
43 lines
1.4 KiB
CMake
set(DGAME_DUTILITIES_SOURCES "BrickDatabase.cpp"
|
|
"ChatServerLink.cpp"
|
|
"CheatDetection.cpp"
|
|
"DashboardActions.cpp"
|
|
"EconomyLedger.cpp"
|
|
"DashboardNotify.cpp"
|
|
"GUID.cpp"
|
|
"LiveEvents.cpp"
|
|
"Contraband.cpp"
|
|
"PropertyRent.cpp"
|
|
"Loot.cpp"
|
|
"Mail.cpp"
|
|
"MessageInspector.cpp"
|
|
"ObjectIDManager.cpp"
|
|
"PlayerReports.cpp"
|
|
"Preconditions.cpp"
|
|
"SlashCommandHandler.cpp"
|
|
"VanityUtilities.cpp"
|
|
"WorldMigration.cpp")
|
|
|
|
add_subdirectory(SlashCommands)
|
|
|
|
foreach(file ${DGAME_DUTILITIES_SLASHCOMMANDS})
|
|
set(DGAME_DUTILITIES_SOURCES ${DGAME_DUTILITIES_SOURCES} "SlashCommands/${file}")
|
|
endforeach()
|
|
|
|
add_library(dUtilities OBJECT ${DGAME_DUTILITIES_SOURCES})
|
|
target_precompile_headers(dUtilities REUSE_FROM dGameBase)
|
|
target_include_directories(dUtilities PUBLIC "." "SlashCommands"
|
|
PRIVATE
|
|
"${PROJECT_SOURCE_DIR}/dGame/dComponents"
|
|
"${PROJECT_SOURCE_DIR}/dGame/dInventory" # transitive via PossessableComponent.h
|
|
"${PROJECT_SOURCE_DIR}/dGame/dGameMessages"
|
|
"${PROJECT_SOURCE_DIR}/dGame/dBehaviors" # transitive via InventoryComponent.h
|
|
"${PROJECT_SOURCE_DIR}/dGame/dMission" # transitive via MissionComponent.h
|
|
"${PROJECT_SOURCE_DIR}/dGame/dEntity" # transitive via dZoneManager/Spawner.h
|
|
"${PROJECT_SOURCE_DIR}/dZoneManager" # Mail.cpp
|
|
"${PROJECT_SOURCE_DIR}/dChatFilter" # DashboardActions.cpp (messages sent into chat)
|
|
)
|
|
target_link_libraries(dUtilities
|
|
PUBLIC dDatabase dPhysics
|
|
INTERFACE dZoneManager)
|