Turn into modpack, split off calendar node

master
Wuzzy 2020-08-28 16:07:43 +02:00
parent 4c8e0a8115
commit ea7e6d155a
14 changed files with 10 additions and 8 deletions

View File

@ -187,4 +187,3 @@ end
dofile(minetest.get_modpath("calendar").."/gui.lua")
dofile(minetest.get_modpath("calendar").."/command.lua")
dofile(minetest.get_modpath("calendar").."/node.lua")

View File

@ -1,3 +1,2 @@
name = calendar
description = A simple calender systema calender to track the passage of days
optional_depends = default, dye

View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

Before

Width:  |  Height:  |  Size: 70 B

After

Width:  |  Height:  |  Size: 70 B

View File

@ -1,11 +1,11 @@
local S = calendar._get_translator("calendar")
local S = calendar._get_translator("calendar_node")
minetest.register_node("calendar:calendar", {
minetest.register_node("calendar_node:calendar", {
drawtype = "signlike",
description = S("Calendar"),
tiles = { "calendar_calendar.png" },
inventory_image = "calendar_calendar.png",
wield_image = "calendar_calendar.png",
tiles = { "calendar_node_calendar.png" },
inventory_image = "calendar_node_calendar.png",
wield_image = "calendar_node_calendar.png",
paramtype = "light",
paramtype2 = "wallmounted",
is_ground_content = false,
@ -29,7 +29,7 @@ minetest.register_node("calendar:calendar", {
if minetest.get_modpath("default") and minetest.get_modpath("dye") then
minetest.register_craft({
output = "calendar:calendar",
output = "calendar_node:calendar",
recipe = {
{ "default:paper","default:paper","default:paper" },
{ "default:paper","dye:black","default:paper" },

4
calendar_node/mod.conf Normal file
View File

@ -0,0 +1,4 @@
name = calendar_node
description = Adds a placable calendar
depends = calendar
optional_depends = default, dye

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

View File

Before

Width:  |  Height:  |  Size: 354 B

After

Width:  |  Height:  |  Size: 354 B

0
modpack.txt Normal file
View File