From e694f394d1b97eee7ef8d6d5157a5b4977f848a7 Mon Sep 17 00:00:00 2001 From: tacigar Date: Thu, 8 Dec 2016 21:47:15 +0900 Subject: [PATCH] create farming core schema --- maidroid_core/cores/farming.lua | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/maidroid_core/cores/farming.lua b/maidroid_core/cores/farming.lua index 8c08b66..33c680d 100644 --- a/maidroid_core/cores/farming.lua +++ b/maidroid_core/cores/farming.lua @@ -1,4 +1,34 @@ ------------------------------------------------------------ -- Copyright (c) 2016 tacigar. All rights reserved. -- https://github.com/tacigar/maidroid ------------------------------------------------------------- \ No newline at end of file +------------------------------------------------------------ + +local state = { + +} + +local function on_start(self) + +end + +local function on_stop(self) + +end + +local on_resume = on_start + +local on_pause = on_stop + +local function on_step(self, dtime) + +end + +maidroid.register_core("maidroid_core:farming", { + description = "maidroid core : farming", + inventory_image = "maidroid_core_farming.png", + on_start = on_start, + on_stop = on_stop, + on_resume = on_resume, + on_pause = on_pause, + on_step = on_step, +})