Complete implementation of Shade origin

-added shade origin
-implemented invisibility power for shade origin
This commit is contained in:
CosmoOrSth
2024-02-01 15:15:36 +05:30
parent 2cde5d3ab8
commit b55ec86ee3
7 changed files with 83 additions and 1 deletions

View File

@@ -29,6 +29,12 @@
"power.terraoriginum.wraith-powers/torment1.name": "Torment",
"power.terraoriginum.wraith-powers/torment1.description": "The Wraith recalls the eons of agony it suffered, causing it's body to respond to the trauma by strengthening itself. Expends ectoplasm quickly.",
"power.terraoriginum.wraith-powers/charred.name": "Charred",
"power.terraoriginum.wraith-powers/charred.description": "Wraiths are burned of torment, which gives them a literally charred appearance."
"power.terraoriginum.wraith-powers/charred.description": "Wraiths are burned of torment, which gives them a literally charred appearance.",
//-----Shade-----//
"origin.terraoriginum.shade.name": "Shade",
"origin.terraoriginum.shade.description": "Shades are shy ghostly entities, generally choosing to remain hidden from other non-ghostly entities.",
"power.terraoriginum.shade-powers/invisibility1.name": "Invisibility",
"power.terraoriginum.shade-powers/invisibility1.description": "Shades have the ability to turn their entire bodies, including any armour they are wearing, entirely invisible. The invisibility is counteracted by the glowing effect and expends some ectoplasm"
}

View File

@@ -5,6 +5,7 @@
"terraoriginum:demon",
"terraoriginum:spirit",
"terraoriginum:wraith",
"terraoriginum:shade",
{
"condition": {
"type": "origins:equipped_item",

View File

@@ -0,0 +1,20 @@
{
"powers": [
"terraoriginum:shade-powers/invisibility1",
"terraoriginum:shade-powers/invisibility2",
"terraoriginum:shade-powers/invisibility3",
"terraoriginum:spirit-powers/ectoplasm",
"terraoriginum:spirit-powers/ectodiff",
"terraoriginum:spirit-powers/lackofectodmg",
"terraoriginum:spirit-powers/skin",
"terraoriginum:spirit-powers/phasing1",
"terraoriginum:spirit-powers/phasing2",
"terraoriginum:spirit-powers/phasing3",
"terraoriginum:spirit-powers/undead",
"terraoriginum:spirit-powers/nightvis",
"terraoriginum:ectotest"
],
"icon": "minecraft:black_candle",
"order": 1004,
"impact": 3
}

View File

@@ -0,0 +1,15 @@
{
"type": "origins:toggle",
"active_by_default": false,
"key": {
"key": "key.origins.primary_active",
"continuous": false
},
"retain_state": false,
"condition": {
"type": "origins:resource",
"resource": "terraoriginum:spirit-powers/ectoplasm",
"comparison": ">=",
"compare_to": 1
}
}

View File

@@ -0,0 +1,10 @@
{
"type": "origins:invisibility",
"render_armor": false,
"render_outline": true,
"condition": {
"type": "origins:power_active",
"power": "terraoriginum:shade-powers/invisibility1"
},
"hidden": true
}

View File

@@ -0,0 +1,27 @@
{
"type": "origins:action_over_time",
"interval": 20,
"hidden": true,
"entity_action": {
"type": "origins:if_else_list",
"actions": [
{
"condition": {
"type": "origins:power_active",
"power": "terraoriginum:shade-powers/invisibility1"
},
"action": {
"type": "origins:and",
"actions": [
{
"type": "origins:change_resource",
"resource": "terraoriginum:spirit-powers/ectoplasm",
"change": -5,
"operation": "add"
}
]
}
}
]
}
}

View File

@@ -0,0 +1,3 @@
# implement functionality to crucifix
- damages Demons
- applies glowing to shades