resource production via graveyard, workers, and selectable buildlings

This commit is contained in:
Jim 2025-08-31 22:26:07 -04:00
parent 87fcc35a49
commit 921947c131
Signed by: jim
GPG key ID: 3D7D94BA53088BF4
20 changed files with 364 additions and 24 deletions

View file

@ -6,7 +6,7 @@ use bevy::prelude::*;
use building::{BuildingInfo, BuildingPreview, PREVIEW_ALPHA, PopulatePlacedBuilding};
use combat::{Defense, Health};
use combat_damagers::ContactDamage;
use resources::Cost;
use resources::{Cost, Quantity};
pub struct BuildingImpalerPlugin;
@ -62,7 +62,7 @@ fn register(
size: SIZE,
unlocked: true,
},
Cost { souls: 5, bones: 0 },
Cost(Quantity { souls: 5, bones: 0 }),
Name::new("Impaler"),
));
commands.insert_resource(ImpalerResources {