Compare commits
2 Commits
ba97a8f36f
...
966af2328a
| Author | SHA1 | Date | |
|---|---|---|---|
| 966af2328a | |||
| d08ee33400 |
@@ -66,10 +66,10 @@ liquidFactory:registerItems({
|
||||
settings = {
|
||||
name = "liquids:water_flowing",
|
||||
drawtype = "flowingliquid",
|
||||
tiles = {"default_water.png"},
|
||||
tiles = {"liquids_water.png"},
|
||||
special_tiles = {
|
||||
{
|
||||
name = "default_water_flowing_animated.png",
|
||||
name = "liquids_water_flowing.png",
|
||||
backface_culling = false,
|
||||
animation = {
|
||||
type = "vertical_frames",
|
||||
@@ -79,7 +79,7 @@ liquidFactory:registerItems({
|
||||
},
|
||||
},
|
||||
{
|
||||
name = "default_water_flowing_animated.png",
|
||||
name = "liquids_water_flowing.png",
|
||||
backface_culling = true,
|
||||
animation = {
|
||||
type = "vertical_frames",
|
||||
|
||||
BIN
mods/GAME/ITEMS/liquids/textures/liquids_water_flowing.png
Normal file
BIN
mods/GAME/ITEMS/liquids/textures/liquids_water_flowing.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.2 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
@@ -24,16 +24,25 @@ local rockFactory = defaultRock:getFactory()
|
||||
---@type TileSheet
|
||||
local ts = TileSheet:new("rocks_sheet.png", 16, 16)
|
||||
|
||||
rockFactory:registerNodesByShortDef({
|
||||
{"sylite", {ts:t(0, 0)}},
|
||||
{"tauitite", {ts:t(0, 2)}},
|
||||
{"iyellite", {ts:t(0, 4)}},
|
||||
{"falmyte", {ts:t(0, 6)}},
|
||||
{"hapcoryte", {ts:t(0, 8)}},
|
||||
{"burcite", {ts:t(0, 10)}},
|
||||
{"felhor", {ts:t(0, 12)}},
|
||||
{"malachite", {ts:t(0, 14)}}
|
||||
})
|
||||
local function registerRocksTypes(postfix, x)
|
||||
rockFactory:registerNodesByShortDef({
|
||||
{"sylite"..postfix, {ts:t(x, 0)}},
|
||||
{"sylite_gray"..postfix, {ts:t(x, 1)}},
|
||||
{"sylite_black"..postfix, {ts:t(x, 2)}},
|
||||
{"tauitite_light"..postfix, {ts:t(x, 3)}},
|
||||
{"tauitite"..postfix, {ts:t(x, 4)}},
|
||||
{"iyellite"..postfix, {ts:t(x, 5)}},
|
||||
{"falmyte"..postfix, {ts:t(x, 6)}},
|
||||
{"hapcoryte"..postfix, {ts:t(x, 8)}},
|
||||
{"burcite"..postfix, {ts:t(x, 10)}},
|
||||
{"felhor"..postfix, {ts:t(x, 12)}},
|
||||
{"malachite"..postfix, {ts:t(x, 14)}}
|
||||
})
|
||||
end
|
||||
|
||||
registerRocksTypes('', 0)
|
||||
registerRocksTypes('_block', 2)
|
||||
registerRocksTypes('_bricks', 5)
|
||||
|
||||
--[[
|
||||
rockFactory:registerItems({
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 106 KiB After Width: | Height: | Size: 106 KiB |
Reference in New Issue
Block a user