new textures and sound
This commit is contained in:
parent
3f6d950bce
commit
ac19f1ce80
@ -1,5 +1,9 @@
|
||||
# farming_nextGen
|
||||
|
||||
Credits:
|
||||
tm3 for painting the seeder texture
|
||||
|
||||
|
||||
|
||||
This mod will give you the rechargeable
|
||||
seeder.
|
||||
|
10
seeder.lua
10
seeder.lua
@ -1,3 +1,11 @@
|
||||
--*******************************************************
|
||||
--**** The Seeder
|
||||
--**** All coding made by Gundul except recursive_dig
|
||||
--**** was taken from technic:chainsaw mod coded by
|
||||
--**** Maciej Kasatkin (RealBadAngel)
|
||||
--*******************************************************
|
||||
|
||||
|
||||
-- Configuration
|
||||
|
||||
local seeder_max_charge = 30000 -- Maximum charge of the seeder
|
||||
@ -239,7 +247,7 @@ end
|
||||
local function seeder_dig(pos, current_charge, seednum, seedstack, user)
|
||||
-- Start sawing things down
|
||||
local remaining_charge, seednum, seedstack = recursive_dig(pos, current_charge, seednum, seedstack, user)
|
||||
minetest.sound_play("chainsaw", {pos = pos, gain = 1.0, max_hear_distance = 10})
|
||||
minetest.sound_play("farming_nextgen_seeder", {pos = pos, gain = 1.0, max_hear_distance = 10})
|
||||
return remaining_charge, seednum, seedstack
|
||||
end
|
||||
|
||||
|
BIN
sounds/farming_nextgen_seeder.ogg
Normal file
BIN
sounds/farming_nextgen_seeder.ogg
Normal file
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 624 B After Width: | Height: | Size: 650 B |
Loading…
x
Reference in New Issue
Block a user