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

@ -12,7 +12,7 @@ use combat::{
projectiles::{Fire, Projectile, ProjectileLauncher, get_shotgun_launch_vectors},
};
use combat_damagers::ContactDamage;
use resources::Cost;
use resources::{Cost, Quantity};
pub struct BuildingBarragerPlugin;
@ -72,7 +72,10 @@ fn register(
size: SIZE,
unlocked: true,
},
Cost { souls: 0, bones: 0 },
Cost(Quantity {
souls: 20,
bones: 20,
}),
Name::new("Barrager"),
));
commands.insert_resource(BuildingResources {