Differences From Artifact [a9316d6c59]:
- File astrolabe.lua — part of check-in [01f4ba8ddc] at 2021-06-28 15:38:59 on branch trunk — more work on kegs and liquid, add taps and troughs for tapping trees and obtaining sap, add tree lore, add infuser module system, various tweaks, fix up bugged itemclass logic, add scaffold for crafting extension mechanism (user: lexi, size: 3909) [annotate] [blame] [check-ins using]
To Artifact [cc031237ac]:
- File astrolabe.lua — part of check-in [c71731cf58] at 2021-07-03 02:25:42 on branch trunk — many bug fixers, some minor refactoring, allow non-drinkable potions to be empowered in various ways, allow gods to be petitioned for recipes (next up: cookbooks!) (user: lexi, size: 3893) [annotate] [blame] [check-ins using]
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
local r = {}
for i,v in ipairs(k) do
r[i] = {
id = k[i];
name = sorcery.data.calendar.styles[v].name;
}
end
print(dump(r))
return r
end
local astrolabe_formspec = function(pos)
local m = minetest.get_meta(pos)
local i = m:get_inventory()
local datestamp = minetest.get_day_count()
local date = sorcery.calendar.date(datestamp)
|
< |
4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
local r = {} for i,v in ipairs(k) do r[i] = { id = k[i]; name = sorcery.data.calendar.styles[v].name; } end return r end local astrolabe_formspec = function(pos) local m = minetest.get_meta(pos) local i = m:get_inventory() local datestamp = minetest.get_day_count() local date = sorcery.calendar.date(datestamp) |