mirror of
https://github.com/D00Med/scifi_nodes.git
synced 2024-12-22 08:00:18 +01:00
add forcefield node
This commit is contained in:
parent
ab81d74f33
commit
c99ca991cf
@ -38,6 +38,7 @@ CC BY 3.0
|
||||
* scifi_nodes_palm_scanner.ogg https://freesound.org/people/THE_bizniss/sounds/39313/
|
||||
* scifi_nodes_access_granted https://freesound.org/people/TheBuilder15/sounds/415762/
|
||||
* scifi_nodes_access_refused https://freesound.org/people/RICHERlandTV/sounds/216090/
|
||||
* scifi_nodes_forcefield.png https://github.com/minetest-mods/technic/
|
||||
|
||||
CC0
|
||||
* scifi_nodes_digicode.ogg https://freesound.org/people/benjaminharveydesign/sounds/315921/
|
||||
|
20
forcefield.lua
Normal file
20
forcefield.lua
Normal file
@ -0,0 +1,20 @@
|
||||
minetest.register_node("scifi_nodes:forcefield", {
|
||||
description = "Forcefield",
|
||||
sunlight_propagates = true,
|
||||
drawtype = "glasslike",
|
||||
groups = {},
|
||||
paramtype = "light",
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
diggable = false,
|
||||
drop = '',
|
||||
tiles = {{
|
||||
name = "scifi_nodes_forcefield.png",
|
||||
animation = {
|
||||
type = "vertical_frames",
|
||||
aspect_w = 16,
|
||||
aspect_h = 16,
|
||||
length = 1.0,
|
||||
}
|
||||
}},
|
||||
on_blast = function() end,
|
||||
})
|
1
init.lua
1
init.lua
@ -30,4 +30,5 @@ dofile(MP.."/palm_scanner.lua")
|
||||
dofile(MP.."/digicode.lua")
|
||||
dofile(MP.."/models.lua")
|
||||
dofile(MP.."/octagon_panes.lua")
|
||||
dofile(MP.."/forcefield.lua")
|
||||
dofile(MP.."/crafts.lua")
|
||||
|
BIN
textures/scifi_nodes_forcefield.png
Normal file
BIN
textures/scifi_nodes_forcefield.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.0 KiB |
Loading…
Reference in New Issue
Block a user