sorcery  Diff

Differences From Artifact [57199bc1f0]:

To Artifact [cf9865540e]:


   477    477   
   478    478   			-- handle page change request
   479    479   			if fields.nextpage or fields.prevpage then
   480    480   				local page = math.max(1,bm:get_int('pagenr'))
   481    481   				if     fields.nextpage then page = page + 1
   482    482   				elseif fields.prevpage then page = page - 1 end
   483    483   				bm:set_int('pagenr',math.max(1,page))
          484  +				minetest.sound_play('sorcery_pgturn', { pos = pos, gain = 0.6 })
   484    485   				changed = true
   485    486   			end
   486    487   
   487    488   			-- handle retitle request
   488    489   			if fields.title then
   489    490   				if fields.title ~= bm:get_string('description') then
   490    491   					if charge_ink(constants.op_cost_retitle) then