1
0
mirror of https://github.com/D00Med/scifi_nodes.git synced 2024-12-22 08:00:18 +01:00

add forcefield node (#75)

Co-authored-by: BuckarooBanzay <BuckarooBanzay@users.noreply.github.com>
This commit is contained in:
Buckaroo Banzai 2022-12-07 08:08:55 +01:00 committed by GitHub
parent ab81d74f33
commit 10d818b2e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 22 additions and 0 deletions

View File

@ -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
View 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,
})

View File

@ -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")

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB