register logic

This commit is contained in:
2026-08-29 23:59:56 +02:00
parent ddea3b0893
commit 94649a38fe
83 changed files with 830 additions and 699 deletions
+8 -8
View File
@@ -1,12 +1,12 @@
package inc
func screenTrinketShop() screen {
return screen{
name: ScreenTrinketShop,
title: "CHINATOWN — TRINKET SHOP",
background: BgTrinketShop,
onSelector: true,
exits: []exit{
func init() {
ScreenManager.Register(Screen{
Name: ScreenTrinketShop,
Title: "CHINATOWN — TRINKET SHOP",
Background: BgTrinketShop,
OnSelector: true,
Exits: []exit{
{
to: ScreenSmallRestaurant,
label: "the eating place next door",
@@ -20,5 +20,5 @@ func screenTrinketShop() screen {
blocked: "Just a shop, as far as the man behind the counter is concerned.",
},
},
}
})
}