Repository navigation
Home en
mouse114514 edited this page Sep 12, 2026
·
5 revisions
Scratch-style block editor for creating Casualties Unknown mods. Standalone desktop app (.NET 9 Kestrel + React frontend), drag-and-drop blocks → compile → DLL.
| Page | Description |
|---|---|
| Getting Started | First mod in 7 steps |
| Block Reference | All blocks organized by category |
| API Reference | Backend REST endpoints, data models |
| Icon | Category | Description |
|---|---|---|
![]() |
Events | Game event hooks (hat blocks): when mod awakes, on update, when hurt, when die, etc. |
![]() |
Registers | Item/recipe/building/tile/locale registration |
![]() |
Body | Player state: eat, drink, sleep, talk, set pain/stress/heart rate/immunity, etc. |
![]() |
Items | Item actions: use, consume, set condition/weight/value/decay/rotation |
![]() |
Sounds | Play sound effects |
![]() |
Worlds | Set/destroy tiles, spawn items, give items to player |
![]() |
Buildings | Register buildings with health, placement, properties |
![]() |
Tiles | Register tiles with health, collider, generation style |
![]() |
Flows | if/else, repeat, while, for loop |
![]() |
Values | Numbers, strings, math operations, random, clamp, string ops |
![]() |
Booleans | true/false, comparisons, logical AND/OR/NOT |
![]() |
Variables | Set/change variables |
| Page | Description |
|---|---|
| First Mod | Build a mod from scratch |
| Advanced Items | Tools, armor, containers, etc. |
| Event Handlers | Responding to game events |
| Crafting Recipes | Defining item crafting |











