complete implementation of 'Monarch' origin

This commit is contained in:
CosmoOrSth
2024-08-02 17:44:47 +05:30
parent f06ceb345c
commit 33c4c11a7e
12 changed files with 301 additions and 0 deletions

View File

@@ -211,6 +211,28 @@
"power.terraoriginum.muckunde-powers/hydrophobic.name": "Hydrophobic", "power.terraoriginum.muckunde-powers/hydrophobic.name": "Hydrophobic",
"power.terraoriginum.muckunde-powers/hydrophobic.description": "your body completely ignores water", "power.terraoriginum.muckunde-powers/hydrophobic.description": "your body completely ignores water",
//-----Monarch-----//
"origin.terraoriginum.monarch.name": "Monarch",
"origin.terraoriginum.monarch.description": "The Monarchs were the first of them all, they took pride in the fact that they were superior to all others of their time, that was until newer and better species came along and drove them to near extinction. \nNow they have returned after evolving into something far more powerful",
"power.terraoriginum.monarchpowers/hyperefficient_blood.name": "Hyperefficient Blood",
"power.terraoriginum.monarchpowers/hyperefficient_blood.description": "Your blood is extremely efficient, destroying any poisons within your bloodstream before they have a chance to do any damage",
"power.terraoriginum.monarchpowers/solar_energy.name": "Solar Energy",
"power.terraoriginum.monarchpowers/solar_energy.description": "You draw energy from the sun and store it within your body, and access it at will to use various abilities",
"power.terraoriginum.monarchpowers/sun_fueled.name": "Sun Fueled",
"power.terraoriginum.monarchpowers/sun_fueled.description": "You have evolved to draw power from the sun, leading you to become more powerful during the day",
"power.terraoriginum.monarchpowers/nuclear_rush.name": "Nuclear Rush",
"power.terraoriginum.monarchpowers/nuclear_rush.description": "using the sun energy stored within your body, you can temporarily start a weak thermonuclear reaction, pushing your body beyond the limitations of living flesh.",
"power.terraoriginum.monarchpowers/instant_transmission.name": "Instant Transmission",
"power.terraoriginum.monarchpowers/instant_transmission.description": "Use the thermonuclear energy stored in your body to erase the space between you and your target",
"power.terraoriginum.monarchpowers/nyctophobia.name": "Nyctophobia",
"power.terraoriginum.monarchpowers/nyctophobia.description": "Your power is derived from the sun, making you weaker during the night",
"power.terraoriginum.monarchpowers/shining.name": "Shining",
"power.terraoriginum.monarchpowers/shining.description": "An entire lifetime of absorbing the sun's energy makes you radiate it's light",
"power.terraoriginum.monarchpowers/super_dash.name": "Super Dash",
"power.terraoriginum.monarchpowers/super_dash.description": "release a large portion of the solar energy stored within your body to create a large amount of thrust in whatever direction you are facing",
"power.terraoriginun.monarchpowers/hydropetrification.name": "Hydropetrification",
"power.terraoriginum.monarchpowers/hydropetrification.description": "Your body's cells contain a high concentration of neutrinos to facilitate nuclear processes whithin itself, this causes your entire body to heavily slow down underwater",
"death.attack.terraoriginum:last_stand": "%1$s made their last stand.", "death.attack.terraoriginum:last_stand": "%1$s made their last stand.",
"death.attack.terraoriginum:last_stand.player": "%1$s made their last stand trying to kill %2$s." "death.attack.terraoriginum:last_stand.player": "%1$s made their last stand trying to kill %2$s."

View File

@@ -14,6 +14,7 @@
"terraoriginum:florian", "terraoriginum:florian",
"terraoriginum:fairy", "terraoriginum:fairy",
"terraoriginum:muckunde", "terraoriginum:muckunde",
"terraoriginum:monarch",
{ {
"condition": { "condition": {
"type": "origins:equipped_item", "type": "origins:equipped_item",

View File

@@ -0,0 +1,17 @@
{
"powers": [
"terraoriginum:monarchpowers/solar_energy",
"terraoriginum:monarchpowers/nuclear_rush",
"terraoriginum:monarchpowers/instant_transmission",
"terraoriginum:monarchpowers/super_dash",
"terraoriginum:monarchpowers/hyperefficient_blood",
"terraoriginum:monarchpowers/hydropetrification",
"terraoriginum:monarchpowers/sun_fueled",
"terraoriginum:monarchpowers/nyctophobia",
"terraoriginum:monarchpowers/shining"
],
"icon": "fire_charge",
"order": 999,
"impact": 3
}

View File

@@ -0,0 +1,29 @@
{
"type": "origins:action_over_time",
"interval": 1,
"condition": {
"type": "origins:submerged_in",
"fluid": "minecraft:water"
},
"entity_action": {
"type": "origins:and",
"actions": [
{
"type": "origins:add_velocity",
"x": 0,
"y": 0,
"z": 0,
"set": true
},
{
"type": "origins:apply_effect",
"effect": {
"effect": "minecraft:mining_fatigue",
"duration": 200,
"amplifier": 2
}
}
]
}
}

View File

@@ -0,0 +1,10 @@
{
"type": "origins:effect_immunity",
"effects": [
"minecraft:wither",
"minecraft:poison",
"minecraft:instant_damage",
"minecraft:hunger"
]
}

View File

@@ -0,0 +1,66 @@
{
"condition": {
"type": "origins:resource",
"resource": "terraoriginum:monarchpowers/solar_energy",
"comparison": ">=",
"compare_to": 50
},
"type": "origins:active_self",
"entity_action": {
"type": "origins:and",
"actions": [
{
"type": "origins:delay",
"action": {
"type": "origins:raycast",
"distance": 20,
"block": true,
"entity": true,
"shape_type": "visual",
"fluid_handling": "any",
"miss_action": {
"type": "origins:nothing"
},
"command_at_hit": "tp @s ~ ~ ~",
"command_along_ray": "/particle smoke ~ ~ ~ 0 0 0 0 10",
"command_step": 0.3
},
"ticks": 0
},
{
"type": "origins:play_sound",
"sound": "entity.illusioner.cast_spell",
"volume": 1,
"pitch": 1
},
{
"type": "origins:spawn_particles",
"particle": "instant_effect",
"count": 800,
"speed": 0.1,
"force": true,
"spread": {
"x": 0.5,
"y": 0.5,
"z": 0.5
},
"offset_y": 0.5
},
{
"type": "origins:change_resource",
"resource": "terraoriginum:monarchpowers/solar_energy",
"change": -50,
"operation": "add"
}
]
},
"cooldown": 0,
"hud_render": {
"sprite_location": "origins:textures/gui/community/huang/resource_bar_01.png",
"bar_index": "19"
},
"key": {
"key": "secondary"
}
}

View File

@@ -0,0 +1,55 @@
{
"condition": {
"type": "origins:resource",
"resource": "terraoriginum:monarchpowers/solar_energy",
"comparison": ">=",
"compare_to": 100
},
"type": "origins:active_self",
"entity_action": {
"type": "origins:and",
"actions": [
{
"type": "origins:apply_effect",
"effect": {
"effect": "minecraft:strength",
"duration": 120,
"amplifier": 4
}
},
{
"type": "origins:apply_effect",
"effect": {
"effect": "minecraft:speed",
"duration": 200,
"amplifier": 3
}
},
{
"type": "origins:apply_effect",
"effect": {
"effect": "minecraft:resistance",
"duration": 200,
"amplifier": 3
}
},
{
"type": "origins:change_resource",
"resource": "terraoriginum:monarchpowers/solar_energy",
"change": -100,
"operation": "add"
},
{
"type": "origins:exhaust",
"amount": 2
}
]
},
"cooldown": 3000,
"hud_render": {
"sprite_location": "origins:textures/gui/community/huang/resource_bar_01.png",
"bar_index": "7"
},
"key": "primary"
}

View File

@@ -0,0 +1,31 @@
{
"type": "origins:action_over_time",
"condition": {
"type": "origins:daytime",
"inverted": true
},
"entity_action": {
"type": "origins:and",
"actions": [{
"type": "origins:apply_effect",
"effects": [{
"effect": "minecraft:slowness",
"amplifier": 0,
"duration": 35,
"show_particles": false,
"show_icon": false
},
{
"effect": "minecraft:weakness",
"amplifier": 2,
"duration": 35,
"show_particles": false,
"show_icon": false
}
]
}
]
},
"update_health": true
}

View File

@@ -0,0 +1,6 @@
{
"type": "origins:model_color",
"blue": 0.5,
"red": 1,
"green": 1
}

View File

@@ -0,0 +1,11 @@
{
"type": "origins:resource",
"min": 0,
"max": 400,
"start_value": 10,
"hud_render": {
"should_render": true,
"sprite_location": "origins:textures/gui/community/huang/resource_bar_01.png",
"bar_index": 14
}
}

View File

@@ -0,0 +1,13 @@
{
"condition": {
"type": "origins:daytime"
},
"type": "origins:action_over_time",
"interval": 40,
"entity_action": {
"type": "origins:change_resource",
"resource": "terraoriginum:monarchpowers/solar_energy",
"change": 10,
"operation": "add"
}
}

View File

@@ -0,0 +1,40 @@
{
"type": "origins:active_self",
"entity_action": {
"type": "origins:and",
"actions": [{
"type": "origins:play_sound",
"sound": "minecraft:entity.evoker.cast_spell"
},
{
"type": "origins:add_velocity",
"space": "local",
"z": 20
},
{
"type": "origins:execute_command",
"command": "particle minecraft:dust_color_transition 1 0 0 1 0 0 0 ~ ~ ~ 0.5 0 0.5 10 100 force"
},
{
"type": "origins:change_resource",
"resource": "terraoriginum:monarchpowers/solar_energy",
"change": -200
}
]
},
"key": {
"key": "key.origins.ternary_active"
},
"condition": {
"type": "origins:resource",
"resource": "terraoriginum:monarchpowers/solar_energy",
"comparison": ">=",
"compare_to": 200
},
"cooldown": 100,
"hud_render": {
"sprite_location": "origins:textures/gui/community/huang/resource_bar_02.png",
"bar_index": 5,
"should_render": true
}
}