add soul spot resource deposit and fix core placement bug

This commit is contained in:
Jim 2025-09-02 13:55:14 -04:00
parent 52da1f8acb
commit 68f4b0d8a0
Signed by: jim
GPG key ID: 3D7D94BA53088BF4
13 changed files with 171 additions and 27 deletions

View file

@ -11,14 +11,20 @@ use building::{
use combat::Range;
use input::{Cancellable, Inputs, Selected, actions::InputAction};
use physics::Ground;
use state::GameSystemSet;
use ui_range_indicator::DisplayCustomRangeIndicator;
pub struct BuildingPlacementPlugin;
impl Plugin for BuildingPlacementPlugin {
fn build(&self, app: &mut App) {
app.add_systems(Update, (init, cancel_preview, select_preview).chain())
.add_event::<SelectBuildingPreview>();
app.add_systems(
Update,
(init, cancel_preview, select_preview)
.in_set(GameSystemSet::Update)
.chain(),
)
.add_event::<SelectBuildingPreview>();
}
}