14 Commits

Author SHA1 Message Date
6d486f49 61bfb188f6 ... 2026-06-12 14:55:34 -04:00
6d486f49 96e72df0da ... 2026-06-12 13:13:06 -04:00
6d486f49 11f45fcf74 ... 2026-06-11 17:34:32 -04:00
6d486f49 d6eabf4990 ... 2026-06-11 17:18:18 -04:00
6d486f49 beed3cfded ... 2026-06-11 17:12:09 -04:00
6d486f49 7757ff9895 ... 2026-06-11 17:10:30 -04:00
6d486f49 2d2d6d2250 tele... 2026-06-11 17:10:06 -04:00
6d486f49 ab65724a96 Temp removing tele 2026-06-11 17:09:01 -04:00
6d486f49 7713f3b7ec ... 2026-06-11 17:06:58 -04:00
6d486f49 b0fdabbe67 ... 2026-06-11 16:53:18 -04:00
JonathanMcCaffrey b6d03afe56 ... 2026-06-11 12:29:57 -04:00
JonathanMcCaffrey 6609d911fc ... 2026-06-11 12:26:33 -04:00
JonathanMcCaffrey e147856b57 Update workspace.json 2026-06-11 11:39:33 -04:00
JonathanMcCaffrey 1388182ebe Day 2 vibes 2026-06-11 10:56:01 -04:00
15 changed files with 19 additions and 114 deletions
-51
View File
@@ -1,51 +0,0 @@
@page "/gear"
@inject DocsService DocsService
<PageTitle>Gear & Equipment</PageTitle>
<div class="section-header d-flex align-items-center mb-4">
<h1 class="mb-0">Gear & Equipment</h1>
<div class="ms-3 flex-grow-1 border-bottom opacity-25"></div>
</div>
@if (gearNotes == null)
{
<div class="d-flex justify-content-center py-5">
<div class="spinner-border text-success" role="status">
<span class="visually-hidden">Loading...</span>
</div>
</div>
}
else
{
<div class="grid-container">
<TelerikGrid Data="@gearNotes" Pageable="true" PageSize="50" Sortable="true" FilterMode="@GridFilterMode.FilterRow"
Height="calc(100vh - 250px)">
<GridColumns>
<GridColumn Field="@(nameof(NoteInfo.Title))" Title="Item Name" Width="200px">
<Template>
<NavLink href="@($"docs/{(context as NoteInfo)!.Slug}")" class="fw-bold">@((context as NoteInfo)!.Title)</NavLink>
</Template>
</GridColumn>
<GridColumn Field="@(nameof(NoteInfo.Cost))" Title="Cost" Width="90px" />
<GridColumn Field="@(nameof(NoteInfo.GearCategory))" Title="Category" Width="140px"/>
<GridColumn Field="@(nameof(NoteInfo.Effect))" Title="Effect"/>
<GridColumn Field="@(nameof(NoteInfo.Location))" Title="Acquisition" Width="150px"/>
</GridColumns>
</TelerikGrid>
</div>
}
@code {
private List<NoteInfo>? gearNotes;
protected override async Task OnInitializedAsync()
{
var index = await DocsService.GetIndexAsync();
gearNotes = index.Notes
.Where(n => string.Equals(n.Category, "Gear", StringComparison.OrdinalIgnoreCase))
.OrderBy(n => n.Title)
.ToList();
}
}
+1 -1
View File
@@ -11,6 +11,6 @@ builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.
builder.Services.AddScoped<DocsService>();
builder.Services.AddSingleton<GameSimulationService>();
builder.Services.AddTelerikBlazor();
//builder.Services.AddTelerikBlazor();
await builder.Build().RunAsync();
+4 -5
View File
@@ -8,14 +8,13 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Markdig" Version="0.40.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="10.0.9" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="10.0.9" PrivateAssets="all" />
<PackageReference Include="Telerik.UI.for.Blazor" Version="14.0.0" />
<PackageReference Include="Markdig" Version="0.40.0"/>
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="10.0.9"/>
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="10.0.9" PrivateAssets="all"/>
</ItemGroup>
<Target Name="SyncDocsNotes" BeforeTargets="BeforeBuild">
<Exec Command="dotnet run --project &quot;$(MSBuildProjectDirectory)\..\Console\Console.csproj&quot;" />
<Exec Command="dotnet run --project &quot;$(MSBuildProjectDirectory)\..\Console\Console.csproj&quot;"/>
</Target>
</Project>
-2
View File
@@ -9,6 +9,4 @@
@using Web
@using Web.Layout
@using Web.Models
@using Telerik.Blazor
@using Telerik.Blazor.Components
@using Web.Services
-9
View File
@@ -222,10 +222,6 @@
"slug": "injury-cards",
"title": "Injury Cards"
},
{
"slug": "level-up",
"title": "Level Up"
},
{
"slug": "losing-the-game",
"title": "Losing the Game"
@@ -259,11 +255,6 @@
"title": "Mountain 5",
"category": "Region"
},
{
"slug": "mountain-regions",
"title": "Mountain Regions",
"category": "Region Type"
},
{
"slug": "mountain",
"title": "Mountain",
-6
View File
@@ -1,6 +0,0 @@
Spend exp up to current amount in a stat + 1 to get an extra stat in it.
Spend 4 exp to go veteran (probably)
Can store a max of 4 exp.
@@ -1,3 +0,0 @@
---
category: Region Type
---
+11 -11
View File
@@ -13,12 +13,12 @@
"state": {
"type": "markdown",
"state": {
"file": "Notes/Level Up.md",
"file": "Notes/Region Types.md",
"mode": "source",
"source": false
},
"icon": "lucide-file",
"title": "Level Up"
"title": "Region Types"
}
}
]
@@ -183,18 +183,12 @@
"bases:Create new base": false
}
},
"active": "a4348c23136fecb0",
"active": "e8ba8e9287dfab25",
"lastOpenFiles": [
"Notes/Mountain Regions.md",
"Notes/Level Up.md",
"Tasks/Add Crisis Logic.md",
"Overview.md",
"Tasks/Sub out all the starter Event Cards.md",
"Tasks/Stub out all the starter Terrain Cards.md",
"Tasks/_Tasks.base",
"Notes/Region Types.md",
"Tasks/Simulate the game state.md",
"Notes/Terrain Deck.md",
"Notes/Region Types.md",
"Mountain Regions.md",
"Notes/Activate Prey Ecology.md",
"Notes/Activate Flora Ecology.md",
"Notes/End Turn.md",
@@ -203,9 +197,11 @@
"Notes/Water Regions.md",
"Rules.md",
"Notes/Grass Regions.md",
"Tasks/_Tasks.base",
"Untitled",
"Notes/Supply.md",
"Images/Pasted image 20260609163414.png",
"Overview.md",
"Tasks/Generate overview page.md",
"Notes/Event Type.md",
"Notes/Turn Start.md",
@@ -215,6 +211,8 @@
"Notes/Companion Cards.md",
"Notes/Sun.md",
"Notes/Mountain.md",
"Notes/Crest.md",
"Notes/Terrain Cards.md",
"Images/Pasted image 20260609163839.png",
"Images/Pasted image 20260609163625.png",
"Images/Pasted image 20260609211711.png",
@@ -222,10 +220,12 @@
"Images/Pasted image 20260609170252.png",
"Images/Pasted image 20260609170321.png",
"Images/Market Example.png",
"Notes/Trader.md",
"Bases/_Roles.base",
"Bases/Regions.base",
"Images/Map.png",
"_Tasks.base",
"_Overview.md",
"Bases/_Gear.base",
"Tasks",
"Bases/Terrain.base",
-6
View File
@@ -1,6 +0,0 @@
Spend exp up to current amount in a stat + 1 to get an extra stat in it.
Spend 4 exp to go veteran (probably)
Can store a max of 4 exp.
-5
View File
@@ -1,5 +0,0 @@
---
category: Task
status: TODO
---
Would be funny to simulate a game state where all the crisis occur, and there is no players to help stop them
+1 -1
View File
@@ -1,6 +1,6 @@
---
category: Task
status: Done
status:
---
At the start of a game, we have 1 flora added to each region, except [[Grass 1]], [[Grass 2]], and [[Wasteland 1]]. Let's also assume we exclude [[Mountain 1]], [[Mountain 2]], [[Mountain 3]], [[Mountain 4]], [[Mountain 5]].
@@ -1,4 +0,0 @@
---
category: Task
status: Working On
---
@@ -1,4 +0,0 @@
---
category: Task
status: Working On
---
+2 -6
View File
@@ -132,21 +132,17 @@ views:
- TODO
- Working On
- Done
- Uncategorized
cardOrders:
file.file: {}
note.status:
Working On:
- Stub out all the starter Terrain Cards.md
- Sub out all the starter Event Cards.md
Working On: []
Done:
- Tasks/Generate a Markdown Website.md
- Tasks/Generate a map of regions and how they connect.md
- Tasks/Generate a csharp script to do what you did.md
- Tasks/Generate overview page.md
- Tasks/Simulate the game state.md
Uncategorized: []
TODO:
- Add Crisis Logic.md
columnColors:
file.file: {}
note.status: {}