Skip to content

Commit

Permalink
test json
Browse files Browse the repository at this point in the history
  • Loading branch information
Fris0uman committed Apr 14, 2020
1 parent a2c0eb8 commit 7ce05e0
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions data/json/bionics.json → data/json/bionics/bionics.json
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,7 @@
"description": "When active, this bionic eliminates all light within a 2 tile radius through destructive interference.",
"occupied_bodyparts": [ [ "TORSO", 16 ] ],
"flags": [ "BIONIC_TOGGLED" ],
"enchantments": ["BE_NIGHT_EMITTER"],
"act_cost": "9 kJ",
"react_cost": "9 kJ",
"time": 1
Expand Down
10 changes: 10 additions & 0 deletions data/json/bionics/bionics_enchantments.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[
{
"type": "enchantment",
"id": "BE_NIGHT_EMITTER",
"condition": "ALWAYS",
"emitter": "emit_shock_burst",
"values": [ { "value": "STRENGTH", "multiply": 1.1, "add": 25 } ],
"ench_effects": [ { "effect": "invisibility", "intensity": 1 } ]
}
]
7 changes: 7 additions & 0 deletions data/json/effects.json
Original file line number Diff line number Diff line change
Expand Up @@ -1821,6 +1821,13 @@
"type": "effect_type",
"id": "strong_antibiotic"
},
{
"type": "effect_type",
"id": "invisibility",
"name": [ "Invisible" ],
"desc": [ "You are invisible." ],
"flags": [ "EFFECT_INVISIBILITY" ]
},
{
"type": "effect_type",
"id": "panacea",
Expand Down

0 comments on commit 7ce05e0

Please sign in to comment.