Compare commits
2 Commits
ba97a8f36f
...
966af2328a
| Author | SHA1 | Date | |
|---|---|---|---|
| 966af2328a | |||
| d08ee33400 |
@@ -66,10 +66,10 @@ liquidFactory:registerItems({
|
|||||||
settings = {
|
settings = {
|
||||||
name = "liquids:water_flowing",
|
name = "liquids:water_flowing",
|
||||||
drawtype = "flowingliquid",
|
drawtype = "flowingliquid",
|
||||||
tiles = {"default_water.png"},
|
tiles = {"liquids_water.png"},
|
||||||
special_tiles = {
|
special_tiles = {
|
||||||
{
|
{
|
||||||
name = "default_water_flowing_animated.png",
|
name = "liquids_water_flowing.png",
|
||||||
backface_culling = false,
|
backface_culling = false,
|
||||||
animation = {
|
animation = {
|
||||||
type = "vertical_frames",
|
type = "vertical_frames",
|
||||||
@@ -79,7 +79,7 @@ liquidFactory:registerItems({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name = "default_water_flowing_animated.png",
|
name = "liquids_water_flowing.png",
|
||||||
backface_culling = true,
|
backface_culling = true,
|
||||||
animation = {
|
animation = {
|
||||||
type = "vertical_frames",
|
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
|
---@type TileSheet
|
||||||
local ts = TileSheet:new("rocks_sheet.png", 16, 16)
|
local ts = TileSheet:new("rocks_sheet.png", 16, 16)
|
||||||
|
|
||||||
|
local function registerRocksTypes(postfix, x)
|
||||||
rockFactory:registerNodesByShortDef({
|
rockFactory:registerNodesByShortDef({
|
||||||
{"sylite", {ts:t(0, 0)}},
|
{"sylite"..postfix, {ts:t(x, 0)}},
|
||||||
{"tauitite", {ts:t(0, 2)}},
|
{"sylite_gray"..postfix, {ts:t(x, 1)}},
|
||||||
{"iyellite", {ts:t(0, 4)}},
|
{"sylite_black"..postfix, {ts:t(x, 2)}},
|
||||||
{"falmyte", {ts:t(0, 6)}},
|
{"tauitite_light"..postfix, {ts:t(x, 3)}},
|
||||||
{"hapcoryte", {ts:t(0, 8)}},
|
{"tauitite"..postfix, {ts:t(x, 4)}},
|
||||||
{"burcite", {ts:t(0, 10)}},
|
{"iyellite"..postfix, {ts:t(x, 5)}},
|
||||||
{"felhor", {ts:t(0, 12)}},
|
{"falmyte"..postfix, {ts:t(x, 6)}},
|
||||||
{"malachite", {ts:t(0, 14)}}
|
{"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({
|
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