Partial implementation of serpenta origin

-added serpenta origin
-added 'Boiling Shot' ability for serpenta origin
-changed lang for lackofecto death
This commit is contained in:
CosmoOrSth
2024-03-06 23:10:03 +05:30
parent 996b5528a6
commit 63a2b218f9
5 changed files with 77 additions and 3 deletions

View File

@@ -3,8 +3,11 @@
"item.terraoriginum.mync_eye": "you shouldnt have this", "item.terraoriginum.mync_eye": "you shouldnt have this",
"item.terraoriginum.umbrella": "Umbrella", "item.terraoriginum.umbrella": "Umbrella",
"death.attack.lack_of_ectoplasm": "%1$s died to the light.", "death.attack.lack_of_ectoplasm": "%1$s faded away",
"death.attack.lack_of_ectoplasm.player": "%1$s died to the light whilst trying to escape %2$s.", "death.attack.lack_of_ectoplasm.player": "%1$s faded away whilst trying to escape %2$s",
"death.attack.boiling": "%1$s boiled up",
"death.attack.boiling.player": "%1$s boiled up whilst trying to fight off %2$s",
//-----Immortal Human-----// //-----Immortal Human-----//
"origin.terraoriginum.immortal_human.name": "Immortal Human", "origin.terraoriginum.immortal_human.name": "Immortal Human",
@@ -70,5 +73,11 @@
"power.terraoriginum.spirit-powers/ectodiff.name": "Luminophobia", "power.terraoriginum.spirit-powers/ectodiff.name": "Luminophobia",
"power.terraoriginum.spirit-powers/ectodiff.description": "Light gradually decreases the amount of ectoplasm that you have, which causes you to take damage or die if it becomes too low.", "power.terraoriginum.spirit-powers/ectodiff.description": "Light gradually decreases the amount of ectoplasm that you have, which causes you to take damage or die if it becomes too low.",
"power.terraoriginum.spirit-powers/skin.name": "Translucent skin", "power.terraoriginum.spirit-powers/skin.name": "Translucent skin",
"power.terraoriginum.spirit-powers/skin.description": "Your skin is slightly translucent, allowing others to see through you." "power.terraoriginum.spirit-powers/skin.description": "Your skin is slightly translucent, allowing others to see through you.",
//-----Serpenta-----//
"origin.terraoriginum.serpenta.name": "Serpenta (WIP)",
"origin.terraoriginum.serpenta.description": "A hybrid between merfolk and sea serpents... don't ask",
"power.terraoriginum.serpenta-powers/boilingshot.name": "Boiling Shot",
"power.terraoriginum.serpenta-powers/boilingshot.description": "shoot a jet of boiling water, this dehydrates you and has a cooldown of <placeholder>"
} }

View File

@@ -7,6 +7,7 @@
"terraoriginum:wraith", "terraoriginum:wraith",
"terraoriginum:shade", "terraoriginum:shade",
"terraoriginum:merfolk", "terraoriginum:merfolk",
"terraoriginum:serpenta",
{ {
"condition": { "condition": {
"type": "origins:equipped_item", "type": "origins:equipped_item",

View File

@@ -0,0 +1,5 @@
{
"exhaustion": 0.1,
"message_id": "boiling",
"scaling": "never"
}

View File

@@ -0,0 +1,19 @@
{
"powers": [
"terraoriginum:merfolk-powers/hydration",
"terraoriginum:merfolk-powers/hydrodiff",
"terraoriginum:merfolk-powers/lackofhydrodamage",
"terraoriginum:merfolk-powers/waterbreathing",
"terraoriginum:merfolk-powers/webbedfeet",
"terraoriginum:merfolk-powers/webbedfeet2",
"terraoriginum:merfolk-powers/wethands",
"terraoriginum:serpenta-powers/boilingshot",
"origins:swim_speed",
"origins:like_water",
"origins:aqua_affinity",
"origins:water_vision"
],
"icon": "minecraft:air",
"order": 1005,
"impact": 3
}

View File

@@ -0,0 +1,40 @@
{
"type": "origins:active_self",
"entity_action": {
"type": "origins:and",
"actions": [
{
"type": "origins:delay",
"action": {
"type": "origins:raycast",
"distance": 20,
"block": false,
"entity": true,
"shape_type": "visual",
"fluid_handling": "any",
"miss_action": {
"type": "origins:nothing"
},
"command_at_hit": "/execute as @e[distance=..2] run damage @s 6 terraoriginum:boiling",
"command_along_ray": "/particle splash ~ ~ ~ 0 0 0 0 10",
"command_step": 0.3
},
"ticks": 0
},
{
"type": "origins:play_sound",
"sound": "entity.dolphin.splash",
"volume": 1,
"pitch": 1
},
{
"type": "origins:change_resource",
"resource": "terraoriginum:merfolk-powers/hydration",
"change": -50,
"operation": "add"
}
]
},
"key": "secondary"
}