Skip to content

Commit

Permalink
Putting this debugging stuffs over here to avoid muddying the waters.
Browse files Browse the repository at this point in the history
Yelling at the console can make for a messy startup, but contextualizing the load process is relatively important.
  • Loading branch information
jakimfett committed Oct 31, 2020
1 parent 4b042a8 commit b8aee8b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions compost/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
]]

-- Let the server console know the initialization has begun
core.log("[Agriculture:Compost] Initialization begins...")


-- compatibility with other compost mods
core.register_alias("compost:wood_barrel", "compost:composter")
core.register_alias("compost:wood_barrel_1", "compost:composter")
Expand Down Expand Up @@ -447,3 +451,7 @@ compost.register_compostable_group("seed", 5)
compost.register_compostable_group("food_wheat", 24)
compost.register_compostable_group("food_flour", 27)
compost.register_compostable_group("food_bread", 66)

-- Let the server console know the initialization is complete
core.log("[Agriculture:Compost] Initialization is complete.")

0 comments on commit b8aee8b

Please sign in to comment.