Overview
Comment: | add displacer sound effects, tweak astrolabe recipe to use new crafting items |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
67cefa38df67713179ceebcedba438f2 |
User & Date: | lexi on 2021-07-14 15:42:27 |
Other Links: | manifest | tags |
Context
2021-07-22
| ||
20:26 | amulets are now made via powder intaglio check-in: 0c88d214a8 user: lexi tags: trunk | |
2021-07-14
| ||
15:42 | add displacer sound effects, tweak astrolabe recipe to use new crafting items check-in: 67cefa38df user: lexi tags: trunk | |
2021-07-11
| ||
02:26 | idk even check-in: cf3645dcf5 user: lexi tags: trunk | |
Changes
Modified astrolabe.lua from [4969c316df] to [f9abc31365].
119 119 _sorcery = { 120 120 recipe = { 121 121 note = 'Unravel the secrets of the stars'; 122 122 }; 123 123 }; 124 124 }) 125 125 126 +local m = sorcery.data.metals 126 127 minetest.register_craft { 127 128 output = 'sorcery:astrolabe'; 128 129 recipe = { 129 130 {'sorcery:steel_screw','default:steel_ingot','sorcery:steel_screw'}; 130 - {'default:copper_ingot',sorcery.data.metals.brass.parts.block,'default:copper_ingot'}; 131 + {m.copper.parts.disc,m.brass.parts.block,m.copper.parts.disc}; 131 132 {'default:stick','sorcery:screw_steel','default:stick'}; 132 133 }; 133 134 };
Modified displacer.lua from [ec3123df49] to [105252a76b].
195 195 end 196 196 if not transmission then return false end 197 197 -- iterate through available receptacles and see if there's room 198 198 -- in any of them. otherwise, fail 199 199 for _,r in pairs(remote.receptacles) do 200 200 local i = minetest.get_meta(r):get_inventory() 201 201 transmission = i:add_item('cache',transmission) 202 + minetest.sound_play('sorcery_zap', { gain = 0.5, pos = r }) 202 203 if transmission:is_empty() then break end 203 204 end 204 - if not transmission:is_empty() then inv:add_item('cache',transmission) end 205 + if not transmission:is_empty() then inv:add_item('cache',transmission) else 206 + minetest.sound_play('sorcery_zap', { gain = 0.5, pos = pos }) 207 + end 208 + -- TODO add particle fx as well 205 209 return true 206 210 elseif n.maxpower >= n.self.maxpower then 207 211 -- other devices are currently drawing power and might stop, 208 212 -- making enough available for us; keep iterating just in case 209 213 return true 210 214 else 211 215 -- the system does not have the capability to generate