fixed ectoplasm and probably got the game to shut op about missing textures

This commit is contained in:
Ryan
2025-01-23 22:03:51 +02:00
parent d153a4ca34
commit eb430aa789
4 changed files with 100 additions and 86 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@@ -4,35 +4,11 @@
"entity_action": {
"type": "origins:if_else_list",
"actions": [
{
"condition": {
"type": "origins:brightness",
"comparison": ">",
"compare_to": 0.17948718
},
"action": {
"type": "origins:and",
"actions": [
{
"type": "origins:change_resource",
"resource": "terraoriginum:spirit-powers/ectoplasm",
"change": -1,
"operation": "add"
}
]
}
},
{
"condition": {
"type": "origins:and",
"conditions": [
{
"type": "origins:brightness",
"comparison": "<=",
"compare_to": 0.17948718
},
{
"inverted": true,
"type": "origins:inventory",
"process_mode": "items",
"slots": [
@@ -46,7 +22,6 @@
}
},
{
"inverted": true,
"type": "origins:inventory",
"process_mode": "items",
"slots": [
@@ -60,7 +35,6 @@
}
},
{
"inverted": true,
"type": "origins:inventory",
"process_mode": "items",
"slots": [
@@ -74,7 +48,6 @@
}
},
{
"inverted": true,
"type": "origins:inventory",
"process_mode": "items",
"slots": [
@@ -100,6 +73,47 @@
}
]
}
},
{
"condition": {
"type": "origins:brightness",
"comparison": ">",
"compare_to": 0.17948718
},
"action": {
"type": "origins:and",
"actions": [
{
"type": "origins:change_resource",
"resource": "terraoriginum:spirit-powers/ectoplasm",
"change": -1,
"operation": "add"
}
]
}
},
{
"condition": {
"type": "origins:or",
"conditions": [
{
"type": "origins:brightness",
"comparison": "<=",
"compare_to": 0.17948718
}
]
},
"action": {
"type": "origins:and",
"actions": [
{
"type": "origins:change_resource",
"resource": "terraoriginum:spirit-powers/ectoplasm",
"change": 2,
"operation": "add"
}
]
}
}
]
}