mapa
This commit is contained in:
@@ -93,6 +93,16 @@ class BuildingSystem {
|
||||
const success = terrain.placeStructure(gridX, gridY, `struct_${this.selectedBuilding}`);
|
||||
if (success) {
|
||||
this.showFloatingText(`Built ${building.name}!`, gridX, gridY, '#00FF00');
|
||||
|
||||
// Build Sound
|
||||
if (this.scene.soundManager) {
|
||||
this.scene.soundManager.playBuild();
|
||||
}
|
||||
|
||||
// Quest Tracking
|
||||
if (this.scene.questSystem) {
|
||||
this.scene.questSystem.trackAction(`build_${this.selectedBuilding}`);
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user