mirror of
https://github.com/APercy/airutils.git
synced 2025-03-15 00:01:20 +00:00
improved splash function, added texture
This commit is contained in:
parent
7ac4a8590b
commit
6e8f961714
3 changed files with 3 additions and 1 deletions
2
init.lua
2
init.lua
|
@ -78,6 +78,8 @@ dofile(minetest.get_modpath("airutils") .. DIR_DELIM .. "texture_management.lua"
|
|||
dofile(minetest.get_modpath("airutils") .. DIR_DELIM .. "attach_extern_ent.lua")
|
||||
if airutils._use_signs_api then dofile(minetest.get_modpath("airutils") .. DIR_DELIM .. "text.lua") end
|
||||
|
||||
airutils.splash_texture = "airutils_splash.png"
|
||||
|
||||
local is_biofuel_installed = false
|
||||
if biomass then
|
||||
if biomass.convertible_groups then is_biofuel_installed = true end
|
||||
|
|
BIN
textures/airutils_splash.png
Normal file
BIN
textures/airutils_splash.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.1 KiB |
|
@ -31,7 +31,7 @@ function airutils.add_splash(pos, yaw, x_pos)
|
|||
local direction = yaw
|
||||
|
||||
local spl_pos = vector.new(pos)
|
||||
water_particle(spl_pos, {x=0,y=0,z=0})
|
||||
--water_particle(spl_pos, {x=0,y=0,z=0})
|
||||
|
||||
--right
|
||||
local move = x_pos/10
|
||||
|
|
Loading…
Add table
Reference in a new issue