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

@@ -1,37 +1,37 @@
{ {
"condition": { "condition": {
"type": "origins:and", "type": "origins:and",
"conditions": [ "conditions": [
{ {
"inverted": true, "inverted": true,
"type": "origins:inventory", "type": "origins:inventory",
"process_mode": "items", "process_mode": "items",
"slots": [ "slots": [
"weapon.mainhand", "weapon.mainhand",
"weapon.offhand" "weapon.offhand"
], ],
"item_condition": { "item_condition": {
"type": "origins:ingredient", "type": "origins:ingredient",
"ingredient": { "ingredient": {
"item": "terraoriginum:umbrella" "item": "terraoriginum:umbrella"
} }
}
},
{
"type": "origins:exposed_to_sun"
} }
}, ]
{ },
"type": "origins:exposed_to_sun"
}
]
},
"type": "origins:damage_over_time", "type": "origins:damage_over_time",
"interval": 15, "interval": 15,
"onset_delay": 1, "onset_delay": 1,
"damage": 3, "damage": 3,
"damage_easy": 2, "damage_easy": 2,
"damage_source": { "damage_source": {
"name": "terraoriginum:burn_in_sun", "name": "terraoriginum:burn_in_sun",
"unblockable": true, "unblockable": true,
"bypasses_armor": true "bypasses_armor": true
}, },
"protection_enchantment": "terraoriginum:sun_protection", "protection_enchantment": "terraoriginum:sun_protection",
"protection_effectiveness": 1.1 "protection_effectiveness": 1.1
} }

View File

@@ -4,6 +4,76 @@
"entity_action": { "entity_action": {
"type": "origins:if_else_list", "type": "origins:if_else_list",
"actions": [ "actions": [
{
"condition": {
"type": "origins:and",
"conditions": [
{
"type": "origins:inventory",
"process_mode": "items",
"slots": [
"armor.head"
],
"item_condition": {
"type": "origins:ingredient",
"ingredient": {
"item": "terraoriginum:ghostly_helmet"
}
}
},
{
"type": "origins:inventory",
"process_mode": "items",
"slots": [
"armor.chest"
],
"item_condition": {
"type": "origins:ingredient",
"ingredient": {
"item": "terraoriginum:ghostly_chestplate"
}
}
},
{
"type": "origins:inventory",
"process_mode": "items",
"slots": [
"armor.legs"
],
"item_condition": {
"type": "origins:ingredient",
"ingredient": {
"item": "terraoriginum:ghostly_leggings"
}
}
},
{
"type": "origins:inventory",
"process_mode": "items",
"slots": [
"armor.feet"
],
"item_condition": {
"type": "origins:ingredient",
"ingredient": {
"item": "terraoriginum:ghostly_boots"
}
}
}
]
},
"action": {
"type": "origins:and",
"actions": [
{
"type": "origins:change_resource",
"resource": "terraoriginum:spirit-powers/ectoplasm",
"change": 2,
"operation": "add"
}
]
}
},
{ {
"condition": { "condition": {
"type": "origins:brightness", "type": "origins:brightness",
@@ -24,71 +94,15 @@
}, },
{ {
"condition": { "condition": {
"type": "origins:and", "type": "origins:or",
"conditions":[ "conditions": [
{ {
"type": "origins:brightness", "type": "origins:brightness",
"comparison": "<=", "comparison": "<=",
"compare_to": 0.17948718 "compare_to": 0.17948718
},
{
"inverted": true,
"type": "origins:inventory",
"process_mode": "items",
"slots": [
"armor.head"
],
"item_condition": {
"type": "origins:ingredient",
"ingredient": {
"item": "terraoriginum:ghostly_helmet"
}
}
},
{
"inverted": true,
"type": "origins:inventory",
"process_mode": "items",
"slots": [
"armor.chest"
],
"item_condition": {
"type": "origins:ingredient",
"ingredient": {
"item": "terraoriginum:ghostly_chestplate"
}
}
},
{
"inverted": true,
"type": "origins:inventory",
"process_mode": "items",
"slots": [
"armor.legs"
],
"item_condition": {
"type": "origins:ingredient",
"ingredient": {
"item": "terraoriginum:ghostly_leggings"
}
}
},
{
"inverted": true,
"type": "origins:inventory",
"process_mode": "items",
"slots": [
"armor.feet"
],
"item_condition": {
"type": "origins:ingredient",
"ingredient": {
"item": "terraoriginum:ghostly_boots"
}
} }
} ]
] },
},
"action": { "action": {
"type": "origins:and", "type": "origins:and",
"actions": [ "actions": [