Turn into modpack, split off calendar node
|
@ -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")
|
|
@ -1,3 +1,2 @@
|
|||
name = calendar
|
||||
description = A simple calender systema calender to track the passage of days
|
||||
optional_depends = default, dye
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 70 B After Width: | Height: | Size: 70 B |
|
@ -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" },
|
|
@ -0,0 +1,4 @@
|
|||
name = calendar_node
|
||||
description = Adds a placable calendar
|
||||
depends = calendar
|
||||
optional_depends = default, dye
|
After Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 354 B After Width: | Height: | Size: 354 B |