From 55499c2d90bb0dba982fb4e09ef679c64b0fc879 Mon Sep 17 00:00:00 2001 From: RhinosF1 <46229976+RhinosF1@users.noreply.github.com> Date: Mon, 2 Sep 2019 13:24:49 +0100 Subject: [PATCH] add squid command (#600) * Create squid.json for storkme * Update foods.py * Update squid.json * Apply suggestions from code review Co-Authored-By: linuxdaemon * Update plugins/foods.py Co-Authored-By: linuxdaemon --- data/food/squid.json | 23 +++++++++++++++++++++++ plugins/foods.py | 1 + 2 files changed, 24 insertions(+) create mode 100644 data/food/squid.json diff --git a/data/food/squid.json b/data/food/squid.json new file mode 100644 index 000000000..283a22eed --- /dev/null +++ b/data/food/squid.json @@ -0,0 +1,23 @@ +{ + "templates": [ + "{method} {user} a {size} of squid {part}." + ], + "parts": { + "method": [ + "gives", + "plates up", + "cooks" + ], + "size": [ + "small", + "plate of", + "giant" + ], + "part": [ + "hood", + "tubes", + "fins", + "tentacles" + ] + } +} diff --git a/plugins/foods.py b/plugins/foods.py index 17c0db105..4c20af4f4 100644 --- a/plugins/foods.py +++ b/plugins/foods.py @@ -48,6 +48,7 @@ def __init__(self, name, unit, *commands, file=None): BasicFood("kebab", "a kebab"), BasicFood("cake", "a cake"), BasicFood("hotchoc", "hotchoc"), + BasicFood("squid", "some squid"), # Kept for posterity # Hey guys, any good ideas for plugins? # I don't know, something that lists every potato known to man?