diff --git a/Resources/Prototypes/Loadouts/loadout_groups.yml b/Resources/Prototypes/Loadouts/loadout_groups.yml index c4fbda2be8..3c25a454ea 100644 --- a/Resources/Prototypes/Loadouts/loadout_groups.yml +++ b/Resources/Prototypes/Loadouts/loadout_groups.yml @@ -7,6 +7,8 @@ loadouts: - PlushieLizard - PlushieSpaceLizard + - LunchboxBlue # CD + - LunchboxYellow # CD - Lighter - CigPackGreen - CigPackRed diff --git a/Resources/Prototypes/_CD/Entities/Objects/Misc/lunchboxes.yml b/Resources/Prototypes/_CD/Entities/Objects/Misc/lunchboxes.yml new file mode 100644 index 0000000000..75c39771b3 --- /dev/null +++ b/Resources/Prototypes/_CD/Entities/Objects/Misc/lunchboxes.yml @@ -0,0 +1,53 @@ +- type: entity + id: LunchboxBase + parent: BaseStorageItem + abstract: true + components: + - type: Sprite + layers: + - map: [ base ] + state: icon + - type: EmitSoundOnLand + sound: + path: /Audio/Items/toolbox_drop.ogg + - type: Storage + capacity: 25 # ffs I forgot CD uses list inv... I hope this is enough for a sandwich and a drink + - type: Item + size: 30 + - type: MeleeWeapon + damage: + types: + Blunt: 3 + soundHit: + path: "/Audio/Weapons/smash.ogg" + - type: GenericVisualizer + visuals: + enum.StorageVisuals.Open: + base: + True: { state: icon-open } + False: { state: icon } + - type: Appearance + +- type: entity + name: blue lunchbox + parent: LunchboxBase + id: LunchboxBlue + description: A blue lunch box, it smells less of food and more like metal. + components: + - type: Sprite + sprite: _CD/Objects/Misc/Lunchboxes/lunchbox_blue.rsi + state: icon + - type: Item + sprite: _CD/Objects/Misc/Lunchboxes/lunchbox_blue.rsi + +- type: entity + name: yellow lunchbox + parent: LunchboxBase + id: LunchboxYellow + description: A yellow lunch box, you can tell your food will be shockingly good. # i'm so sorry for this pun + components: + - type: Sprite + sprite: _CD/Objects/Misc/Lunchboxes/lunchbox_yellow.rsi + state: icon + - type: Item + sprite: _CD/Objects/Misc/Lunchboxes/lunchbox_yellow.rsi diff --git a/Resources/Prototypes/_CD/Loadouts/Miscellaneous/trinkets.yml b/Resources/Prototypes/_CD/Loadouts/Miscellaneous/trinkets.yml new file mode 100644 index 0000000000..f94daf3a18 --- /dev/null +++ b/Resources/Prototypes/_CD/Loadouts/Miscellaneous/trinkets.yml @@ -0,0 +1,12 @@ +# Lunchboxes +- type: loadout + id: LunchboxBlue + storage: + back: + - LunchboxBlue + +- type: loadout + id: LunchboxYellow + storage: + back: + - LunchboxYellow diff --git a/Resources/Textures/_CD/Objects/Misc/Lunchboxes/lunchbox_blue.rsi/icon-open.png b/Resources/Textures/_CD/Objects/Misc/Lunchboxes/lunchbox_blue.rsi/icon-open.png new file mode 100644 index 0000000000..bf116d884a Binary files /dev/null and b/Resources/Textures/_CD/Objects/Misc/Lunchboxes/lunchbox_blue.rsi/icon-open.png differ diff --git a/Resources/Textures/_CD/Objects/Misc/Lunchboxes/lunchbox_blue.rsi/icon.png b/Resources/Textures/_CD/Objects/Misc/Lunchboxes/lunchbox_blue.rsi/icon.png new file mode 100644 index 0000000000..9ffa0609b4 Binary files /dev/null and b/Resources/Textures/_CD/Objects/Misc/Lunchboxes/lunchbox_blue.rsi/icon.png differ diff --git a/Resources/Textures/_CD/Objects/Misc/Lunchboxes/lunchbox_blue.rsi/inhand-left.png b/Resources/Textures/_CD/Objects/Misc/Lunchboxes/lunchbox_blue.rsi/inhand-left.png new file mode 100644 index 0000000000..97c04d65a9 Binary files /dev/null and b/Resources/Textures/_CD/Objects/Misc/Lunchboxes/lunchbox_blue.rsi/inhand-left.png differ diff --git a/Resources/Textures/_CD/Objects/Misc/Lunchboxes/lunchbox_blue.rsi/inhand-right.png b/Resources/Textures/_CD/Objects/Misc/Lunchboxes/lunchbox_blue.rsi/inhand-right.png new file mode 100644 index 0000000000..08b7a3b35a Binary files /dev/null and b/Resources/Textures/_CD/Objects/Misc/Lunchboxes/lunchbox_blue.rsi/inhand-right.png differ diff --git a/Resources/Textures/_CD/Objects/Misc/Lunchboxes/lunchbox_blue.rsi/meta.json b/Resources/Textures/_CD/Objects/Misc/Lunchboxes/lunchbox_blue.rsi/meta.json new file mode 100644 index 0000000000..ac8076132f --- /dev/null +++ b/Resources/Textures/_CD/Objects/Misc/Lunchboxes/lunchbox_blue.rsi/meta.json @@ -0,0 +1,25 @@ +{ + "version": 1, + "license": "CC-BY-SA-3.0", + "copyright": "Created by pwzysk (182643522967437313) on Discord with sprites modified from https://github.com/Baystation12/Baystation12/commit/a929584d9db319eb7484113221be25cfa1d5dc09", + "size": { + "x": 32, + "y": 32 + }, + "states": [ + { + "name": "inhand-left", + "directions": 4 + }, + { + "name": "inhand-right", + "directions": 4 + }, + { + "name": "icon" + }, + { + "name": "icon-open" + } + ] +} diff --git a/Resources/Textures/_CD/Objects/Misc/Lunchboxes/lunchbox_yellow.rsi/icon-open.png b/Resources/Textures/_CD/Objects/Misc/Lunchboxes/lunchbox_yellow.rsi/icon-open.png new file mode 100644 index 0000000000..c41730e888 Binary files /dev/null and b/Resources/Textures/_CD/Objects/Misc/Lunchboxes/lunchbox_yellow.rsi/icon-open.png differ diff --git a/Resources/Textures/_CD/Objects/Misc/Lunchboxes/lunchbox_yellow.rsi/icon.png b/Resources/Textures/_CD/Objects/Misc/Lunchboxes/lunchbox_yellow.rsi/icon.png new file mode 100644 index 0000000000..51ad08cda5 Binary files /dev/null and b/Resources/Textures/_CD/Objects/Misc/Lunchboxes/lunchbox_yellow.rsi/icon.png differ diff --git a/Resources/Textures/_CD/Objects/Misc/Lunchboxes/lunchbox_yellow.rsi/inhand-left.png b/Resources/Textures/_CD/Objects/Misc/Lunchboxes/lunchbox_yellow.rsi/inhand-left.png new file mode 100644 index 0000000000..d287b3cdc0 Binary files /dev/null and b/Resources/Textures/_CD/Objects/Misc/Lunchboxes/lunchbox_yellow.rsi/inhand-left.png differ diff --git a/Resources/Textures/_CD/Objects/Misc/Lunchboxes/lunchbox_yellow.rsi/inhand-right.png b/Resources/Textures/_CD/Objects/Misc/Lunchboxes/lunchbox_yellow.rsi/inhand-right.png new file mode 100644 index 0000000000..a0de63810f Binary files /dev/null and b/Resources/Textures/_CD/Objects/Misc/Lunchboxes/lunchbox_yellow.rsi/inhand-right.png differ diff --git a/Resources/Textures/_CD/Objects/Misc/Lunchboxes/lunchbox_yellow.rsi/meta.json b/Resources/Textures/_CD/Objects/Misc/Lunchboxes/lunchbox_yellow.rsi/meta.json new file mode 100644 index 0000000000..ac8076132f --- /dev/null +++ b/Resources/Textures/_CD/Objects/Misc/Lunchboxes/lunchbox_yellow.rsi/meta.json @@ -0,0 +1,25 @@ +{ + "version": 1, + "license": "CC-BY-SA-3.0", + "copyright": "Created by pwzysk (182643522967437313) on Discord with sprites modified from https://github.com/Baystation12/Baystation12/commit/a929584d9db319eb7484113221be25cfa1d5dc09", + "size": { + "x": 32, + "y": 32 + }, + "states": [ + { + "name": "inhand-left", + "directions": 4 + }, + { + "name": "inhand-right", + "directions": 4 + }, + { + "name": "icon" + }, + { + "name": "icon-open" + } + ] +}