@@ -145,9 +145,9 @@ if you want to write a lore loader but include some of the default lore, you can use the loading function passed to `loadlore.lua`: ``` --- /srv/mt/geographica/loadlore.lua +-- /srv/mt/geographica/sorcery/loadlore.lua local load_lore, load_module = ... sorcery.data = dofile('load-remote-lore.lua') load_lore {'enchants', 'spells'} ``` @@ -212,9 +212,9 @@ }) end) ``` -but in the on_metadata_inventory_put code for keg-filling node, to identify the proper keg, we might instead use code like +but in the `on_metadata_inventory_put` code for keg-filling node, to identify the proper keg, we might instead use code like ``` local inv = minetest.get_meta(pos):get_inventory() local fluid = inv:get_stack('fluid',1)