LoneWolf prompt page

This commit is contained in:
emilis 2025-10-17 21:21:18 +01:00
parent 96ce57f9f3
commit 3e086d11d9
No known key found for this signature in database
2 changed files with 25 additions and 0 deletions

View File

@ -207,6 +207,12 @@ impl RolePage for ActionPrompt {
<VindicatorPage1 />
</>
}]),
ActionPrompt::LoneWolfKill { character_id, .. } => Rc::new([html! {
<>
{ident(character_id)}
<LoneWolfPage1 />
</>
}]),
_ => Rc::new([]),
}
}

View File

@ -0,0 +1,19 @@
use yew::prelude::*;
#[function_component]
pub fn LoneWolfPage1() -> Html {
html! {
<div class="role-page">
<h1 class="wolves">{"LONE WOLF"}</h1>
<div class="information wolves faint">
<h2>
{"YOU MUST KILL TONIGHT IN ANGER OVER A FELLOW "}
{"WOLF HAVING BEEN SLAIN"}
</h2>
<h3 class="yellow">
{"POINT AT YOUR TARGET "}
</h3>
</div>
</div>
}
}