diff --git a/Resources/Prototypes/_CP14/Entities/Objects/coins.yml b/Resources/Prototypes/_CP14/Entities/Objects/Economy/coins.yml similarity index 100% rename from Resources/Prototypes/_CP14/Entities/Objects/coins.yml rename to Resources/Prototypes/_CP14/Entities/Objects/Economy/coins.yml diff --git a/Resources/Prototypes/_CP14/Entities/Objects/Economy/wallet.yml b/Resources/Prototypes/_CP14/Entities/Objects/Economy/wallet.yml new file mode 100644 index 0000000000..0df1f4b3b8 --- /dev/null +++ b/Resources/Prototypes/_CP14/Entities/Objects/Economy/wallet.yml @@ -0,0 +1,48 @@ +- type: entity + name: wallet + description: A small wallet, handy for storing coins. + id: CP14Wallet + parent: BaseStorageItem + components: + - type: Sprite + sprite: /Textures/_CP14/Objects/Economy/wallet.rsi + layers: + - state: wallet-0 + map: ["enum.StorageFillLayers.Fill"] + - type: Storage + maxItemSize: Tiny + grid: + - 0,0,3,2 + quickInsert: true + areaInsert: false + storageOpenSound: + collection: trashBagRustle #TODO + storageInsertSound: + collection: trashBagRustle #TODO + whitelist: + tags: + - CP14Coin + - type: UseDelay + delay: 0.3 + - type: Appearance + - type: StorageFillVisualizer + maxFillLevels: 4 + fillBaseName: wallet + - type: Dumpable #TODO sounds + multiplier: 0.8 + - type: Clothing + slots: [belt] + - type: Item + size: Normal + +- type: entity + id: CP14WalletFilledTest + parent: CP14Wallet + suffix: Filled test + components: + - type: StorageFill + contents: + - id: CP14CopperCoin + - id: CP14CopperCoin + - id: CP14SilverCoin5 + - id: CP14GoldCoin1 \ No newline at end of file diff --git a/Resources/Textures/_CP14/Objects/Economy/wallet.rsi/meta.json b/Resources/Textures/_CP14/Objects/Economy/wallet.rsi/meta.json new file mode 100644 index 0000000000..dc178b146d --- /dev/null +++ b/Resources/Textures/_CP14/Objects/Economy/wallet.rsi/meta.json @@ -0,0 +1,23 @@ +{ + "version": 1, + "license": "CC-BY-SA-3.0", + "copyright": "Made by Hqlle (Github)", + "size": { + "x": 32, + "y": 32 + }, + "states": [ + { + "name": "wallet-0" + }, + { + "name": "wallet-1" + }, + { + "name": "wallet-2" + }, + { + "name": "wallet-3" + } + ] +} \ No newline at end of file diff --git a/Resources/Textures/_CP14/Objects/Economy/wallet.rsi/wallet-0.png b/Resources/Textures/_CP14/Objects/Economy/wallet.rsi/wallet-0.png new file mode 100644 index 0000000000..051402fd5b Binary files /dev/null and b/Resources/Textures/_CP14/Objects/Economy/wallet.rsi/wallet-0.png differ diff --git a/Resources/Textures/_CP14/Objects/Economy/wallet.rsi/wallet-1.png b/Resources/Textures/_CP14/Objects/Economy/wallet.rsi/wallet-1.png new file mode 100644 index 0000000000..ba4c79f7fb Binary files /dev/null and b/Resources/Textures/_CP14/Objects/Economy/wallet.rsi/wallet-1.png differ diff --git a/Resources/Textures/_CP14/Objects/Economy/wallet.rsi/wallet-2.png b/Resources/Textures/_CP14/Objects/Economy/wallet.rsi/wallet-2.png new file mode 100644 index 0000000000..4804eccc7e Binary files /dev/null and b/Resources/Textures/_CP14/Objects/Economy/wallet.rsi/wallet-2.png differ diff --git a/Resources/Textures/_CP14/Objects/Economy/wallet.rsi/wallet-3.png b/Resources/Textures/_CP14/Objects/Economy/wallet.rsi/wallet-3.png new file mode 100644 index 0000000000..fd90157b67 Binary files /dev/null and b/Resources/Textures/_CP14/Objects/Economy/wallet.rsi/wallet-3.png differ