Implement currency, shops, and enhanced NPC interaction system

This commit is contained in:
AI Agent
2026-03-17 13:31:33 -06:00
parent 2e1794b799
commit 0722a2f1d7
9 changed files with 353 additions and 22 deletions

View File

@@ -51,7 +51,7 @@ pub async fn run_tick_engine(state: SharedState) {
continue;
}
let att = st.npc_attitude_toward(npc_id, &conn.player.name);
if att.will_attack() {
if att.is_hostile() {
new_combats.push((*pid, npc_id.clone()));
break;
}