Reworked gato night vision, removed reverse_logic

Removed power "reverse_logic"
Merged all the "night_vision" files for "El Gato" into "night_vision_focus.json"
Removed "fox_jump_height" because it is obsolete.
main
Pandro 4 days ago
parent e7f0645b6b
commit 9ebac7d1d7
Signed by: pandro
SSH Key Fingerprint: SHA256:iBUZSuDxqYr4hYpe9U3BA9NJmXKpbGt4H0S8hUwIbrA

@ -5,9 +5,7 @@
"origins:sprint_jump",
"origins:nine_lives",
"feathermc:fall_immunity_or_death",
"feathermc:night_vision_drain",
"feathermc:night_vision_concentrate",
"feathermc:hunger_when_night_vision_drain",
"feathermc:night_vision_focus",
"origins:velvet_paws",
"origins:scare_creepers"
],

@ -2,8 +2,7 @@
"name": "Protogen",
"description": "An artificial creature designed to adapt to its surroundings.",
"powers": [
"feathermc:pumpkin_hate",
"feathermc:reverse_logic"
"feathermc:pumpkin_hate"
],
"order": 9,
"impact": 2

@ -1,10 +0,0 @@
{
"type": "origins:attribute",
"hidden": true,
"modifier": {
"id": "small_size_compensation",
"attribute": "minecraft:generic.jump_strength",
"amount": 0.1,
"operation": "add_value"
}
}

@ -1,11 +0,0 @@
{
"type": "origins:exhaust",
"hidden": true,
"interval": 20,
"exhaustion": 0.812,
"condition": {
"type": "origins:power_active",
"power": "feathermc:night_vision_drain"
}
}

@ -1,11 +0,0 @@
{
"type": "origins:night_vision",
"strength": 0.5,
"name": "Darkvision",
"description": "You can see in the dark. Somewhat.",
"condition": {
"type": "origins:brightness",
"comparison": "<=",
"compare_to": 0.3
}
}

@ -1,15 +0,0 @@
{
"name": "Night Vision",
"description": "Able to see in the dark at will. The effort does make you hungry more quickly though and requires certain level of hunger to be used!",
"type": "origins:toggle",
"key": {
"key": "key.origins.primary_active",
"continuous": false
},
"retain_state": false,
"condition": {
"type": "apoli:food_level",
"comparison": ">",
"compare_to": 6
}
}

@ -1,17 +0,0 @@
{
"type": "origins:action_on_callback",
"entity_action_respawned": {
"type": "origins:if_else",
"condition": {
"type": "origins:power_active",
"power": "feathermc:night_vision_concentrate",
"inverted": true
},
"if_action": {
"type": "origins:toggle",
"power": "feathermc:night_vision_concentrate"
}
},
"hidden": true
}

@ -1,29 +0,0 @@
{
"hidden": true,
"type": "origins:night_vision",
"retain_state": false,
"strength": 1.0,
"key": {
"key": "key.origins.primary_active",
"continuous": false
},
"condition": {
"type": "origins:and",
"conditions": [
{
"type": "origins:submerged_in",
"fluid": "minecraft:water",
"inverted": true
},
{
"type": "apoli:food_level",
"comparison": ">",
"compare_to": 6
},
{
"type": "origins:power_active",
"power": "feathermc:night_vision_concentrate"
}
]
}
}

@ -0,0 +1,46 @@
{
"type": "origins:multiple",
"name": "Night Vision",
"description": "If you concentrate enough, you can see in the dark. It is draining you though.",
"toggle": {
"type": "origins:toggle",
"key": {
"key": "key.origins.primary_active",
"continuous": false
},
"retain_state": false,
"condition": {
"type": "apoli:food_level",
"comparison": ">",
"compare_to": 6
}
},
"vision": {
"type": "origins:night_vision",
"retain_state": false,
"strength": 1.0,
"condition": {
"type": "origins:and",
"conditions": [
{
"type": "origins:submerged_in",
"fluid": "minecraft:water",
"inverted": true
},
{
"type": "origins:power_active",
"power": "feathermc:night_vision_toggle"
}
]
}
},
"drain": {
"type": "origins:exhaust",
"interval": 80,
"exhaustion": 1.0,
"condition": {
"type": "origins:power_active",
"power": "feathermc:night_vision_toggle"
}
}
}

@ -1,27 +0,0 @@
{
"type": "origins:multiple",
"toggle": {
"type": "origins:toggle",
"active_by_default": false,
"key": {
"key": "key.origins.primary_active"
}
},
"reversed_velocity": {
"type": "origins:modify_velocity",
"modifier": {
"id": "reverse_logic_mod",
"amount": -2,
"operation": "multiply_base_multiplicative"
},
"axes": [
"x",
"y",
"z"
],
"condition": {
"type": "origins:power_active",
"power": "*:toggle"
}
}
}
Loading…
Cancel
Save