Merge branch 'cosmo-main' of https://github.com/BigGaemer/terra-originum into cosmo-main

This commit is contained in:
CosmoOrSth
2025-01-24 01:52:27 +05:30
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

@@ -34,4 +34,4 @@
},
"protection_enchantment": "terraoriginum:sun_protection",
"protection_effectiveness": 1.1
}
}

View File

@@ -6,33 +6,9 @@
"actions": [
{
"condition": {
"type": "origins:brightness",
"comparison": ">",
"compare_to": 0.17948718
},
"action": {
"type": "origins:and",
"actions": [
"conditions": [
{
"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"
}
]
}
}
]
}