mirror of
https://github.com/minetest-mods/towercrane.git
synced 2024-11-22 07:13:52 +01:00
Add light to the crane top (#11)
This commit is contained in:
parent
599b2c93c6
commit
3975b970ee
@ -33,8 +33,9 @@ default
|
||||
# License
|
||||
Copyright (C) 2017-2020 Joachim Stolberg
|
||||
Code: Licensed under the GNU LGPL version 2.1 or later. See LICENSE.txt and http://www.gnu.org/licenses/lgpl-2.1.txt
|
||||
Textures: CC0 (by Ammoth)
|
||||
Textures: Mostly CC0 (by Ammoth)
|
||||
|
||||
* `morelights_extras_blocklight.png`: CC BY-SA 4.0 (by random-geek)
|
||||
|
||||
# History:
|
||||
* 2017-06-04 v0.01 first version
|
||||
|
4
init.lua
4
init.lua
@ -333,10 +333,11 @@ minetest.register_node("towercrane:base", {
|
||||
minetest.register_node("towercrane:balance", {
|
||||
description = S("Tower Crane Balance"),
|
||||
tiles = {
|
||||
"towercrane_base.png^towercrane_screws.png",
|
||||
"towercrane_base.png^towercrane_screws.png^morelights_extras_blocklight.png",
|
||||
},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
light_source = 12,
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {crumbly=0, not_in_creative_inventory=1},
|
||||
@ -411,4 +412,3 @@ towercrane.turnright = turnright
|
||||
towercrane.turnleft = turnleft
|
||||
towercrane.is_my_crane = is_my_crane
|
||||
towercrane.get_crane_data = get_crane_data
|
||||
|
||||
|
BIN
textures/morelights_extras_blocklight.png
Normal file
BIN
textures/morelights_extras_blocklight.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 204 B |
Loading…
Reference in New Issue
Block a user