Implement copier, an item that copies the value displayed by other items

This commit is contained in:
2025-01-08 14:29:25 +00:00
parent 47aa8655b1
commit 21b7b863c7
12 changed files with 184 additions and 142 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ data ItemType
| MAPPER
| DROPPER InventoryPathing
| CLICKER InventoryPathing
| COPIER InventoryPathing
| COPIER {_ibtPathing :: InventoryPathing}
| UGATE
| BGATE
| INTROSCAN {_ibtIntroScanType :: IntroScanType}
+1
View File
@@ -29,6 +29,7 @@ data ItInvEffect
| EffectWhileAttached ItInvEffect
| ItemUseToggle BlBl
| ItemCancelExamineInventory
| ItemCopierUpdate
deriving (Eq, Ord, Show, Read) --Generic, Flat)
data ItDropEffect = NoDropEffect
+1
View File
@@ -43,6 +43,7 @@ data ItemUse
| UseAttach {_uaParams :: AttachParams}
| UseInt {_uInt :: Int}
| UseNothing
| UseValue {_uValue :: Either Int String}
| UseScope {_uScope :: Scope}
| UseBulletMod {_ubMod :: BulletMod}
| UseToggle {_useToggle :: Bool}