diff --git a/Resources/Locale/en-US/advertisements/vending/chefvend.ftl b/Resources/Locale/en-US/advertisements/vending/chefvend.ftl new file mode 100644 index 0000000000..ddc68c8489 --- /dev/null +++ b/Resources/Locale/en-US/advertisements/vending/chefvend.ftl @@ -0,0 +1,7 @@ +advertisement-chefvend-1 = At least sixty percent of our eggs un-broken, guranteed! +advertisement-chefvend-2 = Rice, rice, baby. +advertisement-chefvend-3 = Slap some butter on it! +advertisement-chefvend-4 = Are you worth your salt? We are. +advertisement-chefvend-5 = Mmm, meat. +advertisement-chefvend-6 = Harness the power of flour. +advertisement-chefvend-7 = Show your customers who's the best chef around with our galaxy famous, award winning BBQ sauce. \ No newline at end of file diff --git a/Resources/Prototypes/Catalog/VendingMachines/Advertisements/chefvend.yml b/Resources/Prototypes/Catalog/VendingMachines/Advertisements/chefvend.yml new file mode 100644 index 0000000000..7ae7ee024e --- /dev/null +++ b/Resources/Prototypes/Catalog/VendingMachines/Advertisements/chefvend.yml @@ -0,0 +1,10 @@ +- type: advertisementsPack + id: ChefvendAds + advertisements: + - advertisement-chefvend-1 + - advertisement-chefvend-2 + - advertisement-chefvend-3 + - advertisement-chefvend-4 + - advertisement-chefvend-5 + - advertisement-chefvend-6 + - advertisement-chefvend-7 \ No newline at end of file diff --git a/Resources/Prototypes/Catalog/VendingMachines/Inventories/chefvend.yml b/Resources/Prototypes/Catalog/VendingMachines/Inventories/chefvend.yml new file mode 100644 index 0000000000..02b657d4d6 --- /dev/null +++ b/Resources/Prototypes/Catalog/VendingMachines/Inventories/chefvend.yml @@ -0,0 +1,20 @@ +- type: vendingMachineInventory + id: ChefvendInventory + startingInventory: + ReagentContainerFlour: 2 + ReagentContainerSugar: 2 + ReagentContainerRice: 2 + FoodCondimentPacketSalt: 4 + FoodCondimentBottleEnzyme: 2 + FoodCondimentBottleHotsauce: 1 + FoodCondimentBottleKetchup: 1 + FoodCondimentBottleBBQ: 1 + FoodCondimentBottleSmallVinegar: 2 + ReagentContainerOliveoil: 2 + MonkeyCubeBox: 1 + FoodContainerEgg: 1 + ReagentContainerMilk: 2 + ReagentContainerMilkSoy: 1 + FoodButter: 4 + FoodCheese: 1 + FoodMeat: 6 \ No newline at end of file diff --git a/Resources/Prototypes/Entities/Structures/Machines/vending_machines.yml b/Resources/Prototypes/Entities/Structures/Machines/vending_machines.yml index 3a1378ed41..c0f13b91e7 100644 --- a/Resources/Prototypes/Entities/Structures/Machines/vending_machines.yml +++ b/Resources/Prototypes/Entities/Structures/Machines/vending_machines.yml @@ -156,7 +156,38 @@ energy: 1.3 color: "#ffb0b0" - type: AccessReader - access: [["HeadOfPersonnel"]] + access: [["HeadOfPersonnel"]] + +- type: entity + parent: VendingMachine + id: VendingMachineChefvend + name: Chefvend + description: An ingredient vendor for all your cheffin needs. + components: + - type: VendingMachine + pack: ChefvendInventory + offState: off + brokenState: broken + normalState: normal-unshaded + ejectState: eject-unshaded + - type: Advertise + pack: ChefvendAds + - type: Sprite + sprite: Structures/Machines/VendingMachines/chefvend.rsi + layers: + - state: "off" + map: ["enum.VendingMachineVisualLayers.Base"] + - state: "off" + map: ["enum.VendingMachineVisualLayers.BaseUnshaded"] + shader: unshaded + - state: panel + map: ["enum.WiresVisualLayers.MaintenancePanel"] + - type: AccessReader + access: [["Service"]] + - type: PointLight + radius: 1.5 + energy: 1.6 + color: "#4b93ad" - type: entity parent: VendingMachine diff --git a/Resources/Textures/Structures/Machines/VendingMachines/chefvend.rsi/broken.png b/Resources/Textures/Structures/Machines/VendingMachines/chefvend.rsi/broken.png new file mode 100644 index 0000000000..b5259b9fb0 Binary files /dev/null and b/Resources/Textures/Structures/Machines/VendingMachines/chefvend.rsi/broken.png differ diff --git a/Resources/Textures/Structures/Machines/VendingMachines/chefvend.rsi/eject-unshaded.png b/Resources/Textures/Structures/Machines/VendingMachines/chefvend.rsi/eject-unshaded.png new file mode 100644 index 0000000000..0df1b9c0d6 Binary files /dev/null and b/Resources/Textures/Structures/Machines/VendingMachines/chefvend.rsi/eject-unshaded.png differ diff --git a/Resources/Textures/Structures/Machines/VendingMachines/chefvend.rsi/meta.json b/Resources/Textures/Structures/Machines/VendingMachines/chefvend.rsi/meta.json new file mode 100644 index 0000000000..ad688300fe --- /dev/null +++ b/Resources/Textures/Structures/Machines/VendingMachines/chefvend.rsi/meta.json @@ -0,0 +1,59 @@ +{ + "version": 1, + "license": "CC-BY-SA-3.0", + "copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/commit/1516a728931b4985c1e86f0c5995a5aa1554a1ad and modified by Swept", + "size": { + "x": 32, + "y": 32 + }, + "states": [ + { + "name": "broken" + }, + { + "name": "eject-unshaded", + "delays": [ + [ + 0.1, + 0.4, + 0.4, + 0.4, + 0.4, + 0.4, + 0.4, + 0.4, + 0.4, + 0.4, + 0.4, + 0.4, + 0.4, + 0.4, + 0.4, + 0.1 + ] + ] + }, + { + "name": "normal-unshaded", + "delays": [ + [ + 0.1, + 2.0, + 0.1, + 2.0, + 0.1, + 2.0, + 0.1, + 2.0, + 0.1 + ] + ] + }, + { + "name": "off" + }, + { + "name": "panel" + } + ] +} diff --git a/Resources/Textures/Structures/Machines/VendingMachines/chefvend.rsi/normal-unshaded.png b/Resources/Textures/Structures/Machines/VendingMachines/chefvend.rsi/normal-unshaded.png new file mode 100644 index 0000000000..1f45ce683c Binary files /dev/null and b/Resources/Textures/Structures/Machines/VendingMachines/chefvend.rsi/normal-unshaded.png differ diff --git a/Resources/Textures/Structures/Machines/VendingMachines/chefvend.rsi/off.png b/Resources/Textures/Structures/Machines/VendingMachines/chefvend.rsi/off.png new file mode 100644 index 0000000000..0b9062cc62 Binary files /dev/null and b/Resources/Textures/Structures/Machines/VendingMachines/chefvend.rsi/off.png differ diff --git a/Resources/Textures/Structures/Machines/VendingMachines/chefvend.rsi/panel.png b/Resources/Textures/Structures/Machines/VendingMachines/chefvend.rsi/panel.png new file mode 100644 index 0000000000..80912168e4 Binary files /dev/null and b/Resources/Textures/Structures/Machines/VendingMachines/chefvend.rsi/panel.png differ