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
parent
e7f0645b6b
commit
9ebac7d1d7
@ -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…
Reference in New Issue