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
+3 -3
View File
@@ -4,8 +4,8 @@ import (
inkwell "git.teletypegames.org/engines/inkwell"
)
func itemBlackMarketArmilla() inkwell.Item {
return inkwell.Item{
func init() {
ItemManager.Register(Item{
Name: ItemBlackArmilla,
Description: "black-market Armilla",
OnUseSelf: inkwell.Seq(
@@ -18,5 +18,5 @@ func itemBlackMarketArmilla() inkwell.Item {
TapeSay(Dex, "Nothing. Which is what I'd charge for it."),
),
},
}
})
}