Skip to content

Commit

Permalink
Fixed liquid interaction crash
Browse files Browse the repository at this point in the history
Creating matter blocks and red sand from painted tiles through liquid mixing will no longer cause crashes and corrupted worlds.
  • Loading branch information
Zarra-0 committed Feb 8, 2025
1 parent 765e489 commit bfd2771
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 49 deletions.
50 changes: 25 additions & 25 deletions tiles/materials/matterblock.material
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
{
"materialId" : 174,
"materialName" : "matterblock",
"particleColor" : [75, 23, 93, 255],
"itemDrop" : "matterblock",
"description" : "A matter block. A block that matters.",
"shortdescription" : "Matter Block",
"glitchDescription" : "Fascinated. This appears to be a rare form of raw matter.",
"floranDescription" : "Floran musst gather colourful matter crystal.",
"novakidDescription" : "Some strange lookin' crystals.",
"footstepSound" : "/sfx/blocks/footstep_glass.ogg",
"health" : 10,
"category" : "materials",

"renderTemplate" : "/tiles/classicmaterialtemplate.config",
"renderParameters" : {
"texture" : "matterblock.png",
"variants" : 5,
"lightTransparent" : false,
"occludesBelow" : true,
"multiColored" : false,
"zLevel" : 1550
}//,
// "learnBlueprintsOnPickup" : [ "matteritem" ]
}
{
"materialId" : 174,
"materialName" : "matterblock",
"particleColor" : [75, 23, 93, 255],
"itemDrop" : "matterblock",
"description" : "A matter block. A block that matters.",
"shortdescription" : "Matter Block",
"glitchDescription" : "Fascinated. This appears to be a rare form of raw matter.",
"floranDescription" : "Floran musst gather colourful matter crystal.",
"novakidDescription" : "Some strange lookin' crystals.",
"footstepSound" : "/sfx/blocks/footstep_glass.ogg",
"health" : 10,
"category" : "materials",
"renderTemplate" : "/tiles/classicmaterialtemplate.config",
"renderParameters" : {
"texture" : "matterblock.png",
"variants" : 5,
"lightTransparent" : false,
"occludesBelow" : true,
"multiColored" : true,
"zLevel" : 1550
}//,
// "learnBlueprintsOnPickup" : [ "matteritem" ]
}
48 changes: 24 additions & 24 deletions tiles/materials/redsand2.material
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
{
"materialId" : 6617,
"materialName" : "redsand2",
"particleColor" : [200, 183, 120, 255],
"itemDrop" : "redsand2",
"description" : "Soft and warm sand.",
"shortdescription" : "Red Sand",
"glitchDescription" : "Statement. Sand.",
"floranDescription" : "Sssand.",
"footstepSound" : "/sfx/blocks/footstep_sand2.ogg",
"health" : 1,
"category": "materials",
"soil" : true,

"renderTemplate" : "/tiles/FullTemplate.config",
"renderParameters" : {
"texture" : "redsand2.png",
"variants" : 3,
"lightTransparent" : false,
"occludesBelow" : true,
"multiColored" : false,
"zLevel" : 1830
}
}
{
"materialId" : 6617,
"materialName" : "redsand2",
"particleColor" : [200, 183, 120, 255],
"itemDrop" : "redsand2",
"description" : "Soft and warm sand.",
"shortdescription" : "Red Sand",
"glitchDescription" : "Statement. Sand.",
"floranDescription" : "Sssand.",
"footstepSound" : "/sfx/blocks/footstep_sand2.ogg",
"health" : 1,
"category": "materials",
"soil" : true,
"renderTemplate" : "/tiles/FullTemplate.config",
"renderParameters" : {
"texture" : "redsand2.png",
"variants" : 3,
"lightTransparent" : false,
"occludesBelow" : true,
"multiColored" : true,
"zLevel" : 1830
}
}

0 comments on commit bfd2771

Please sign in to comment.