Skip to content

Commit 3fd3327

Browse files
DukePaulAtreid3sgithub-actions[bot]TheShadowFerret
authored
LIXA Polish (#82415)
* Initial Commit * Update data/json/monster_special_attacks/spells.json Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Fix bad code * Fix Typo * Rewrite trait, also add an int buff * I know how to code :p * Update mutations.json * Edits * Update mutations.json Co-authored-by: TheShadowFerret <[email protected]> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: TheShadowFerret <[email protected]>
1 parent f3b0e6d commit 3fd3327

File tree

4 files changed

+53
-18
lines changed

4 files changed

+53
-18
lines changed

data/json/achievements.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2336,5 +2336,13 @@
23362336
"description": "Reach a research lab"
23372337
}
23382338
]
2339+
},
2340+
{
2341+
"id": "achievement_LIXA_finale",
2342+
"type": "achievement",
2343+
"name": { "str": "Trigintaduonion" },
2344+
"manually_given": true,
2345+
"description": "Defeat a being from a higher dimension, and free the damned souls trapped inside",
2346+
"requirements": [ ]
23392347
}
23402348
]

data/json/effects_on_condition/nether_eocs/LIXA_EOCs_spells_traps.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1642,6 +1642,7 @@
16421642
{ "run_eocs": "EOC_LIXA_unfold_spawn_goodbye_cards", "time_in_future": "0 seconds" },
16431643
{ "alter_timed_events": "LIXA_escape_key" },
16441644
{ "u_lose_effect": "LIXA_unfolded_eff" },
1645+
{ "u_add_trait": "anti_shape" },
16451646
{ "mapgen_update": "turn_off_LIXA", "target_var": { "global_val": "LIXA_chamber_1" } },
16461647
{ "mapgen_update": "turn_off_LIXA", "target_var": { "global_val": "LIXA_chamber_2" } },
16471648
{ "mapgen_update": "turn_off_LIXA", "target_var": { "global_val": "LIXA_chamber_3" } },
@@ -1654,10 +1655,11 @@
16541655
{ "mapgen_update": "turn_off_LIXA", "target_var": { "global_val": "LIXA_surface_2a" } },
16551656
{ "mapgen_update": "turn_off_LIXA", "target_var": { "global_val": "LIXA_surface_2b" } },
16561657
{
1657-
"u_message": "There is a soft sound, like a champagne cork popping in an empty concert hall. The world is as it was again. The LIXA device still hums quietly as it finishes powering down.",
1658+
"u_message": "There is a soft sound, like a champagne cork popping in an empty concert hall. The world is almost as it was again, aside from a brief strange feeling. The LIXA device still hums quietly as it finishes powering down.",
16581659
"popup": true
16591660
},
1660-
{ "u_teleport": { "global_val": "LIXA_return_tp" }, "force": true }
1661+
{ "u_teleport": { "global_val": "LIXA_return_tp" }, "force": true },
1662+
{ "give_achievement": "achievement_LIXA_finale" }
16611663
]
16621664
},
16631665
{

data/json/monster_special_attacks/spells.json

Lines changed: 29 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -687,28 +687,41 @@
687687
{
688688
"type": "effect_on_condition",
689689
"id": "EOC_impossible_shape_attack",
690-
"condition": { "and": [ { "or": [ "u_can_see", { "u_has_flag": "BLIND" } ] }, { "math": [ "u_madness > 10" ] } ] },
690+
"condition": { "and": [ "u_can_see", { "not": { "u_has_trait": "anti_shape" } } ] },
691691
"effect": [
692-
{ "u_add_effect": "nightmares", "duration": "18 hours" },
693-
{ "u_add_effect": "disrupted_sleep", "duration": "18 hours" },
694-
{
695-
"u_add_morale": "morale_impossible_shape",
696-
"bonus": -20,
697-
"max_bonus": -60,
698-
"duration": "36 hours",
699-
"decay_start": "24 hours"
700-
},
701-
{ "math": [ "u_pain() += 3" ] },
702-
{ "math": [ "u_madness = 0" ] },
703692
{
704-
"u_message": "Your mind lurches, the shapes and figures dance across your vision, you feel like your head is going to explode."
693+
"if": { "math": [ "u_madness >= 10" ] },
694+
"then": [
695+
{ "u_add_effect": "nightmares", "duration": "18 hours" },
696+
{ "u_add_effect": "disrupted_sleep", "duration": "18 hours" },
697+
{
698+
"u_add_morale": "morale_impossible_shape",
699+
"bonus": -20,
700+
"max_bonus": -60,
701+
"duration": "36 hours",
702+
"decay_start": "24 hours"
703+
},
704+
{ "math": [ "u_pain() += 3" ] },
705+
{ "math": [ "u_madness = 0" ] },
706+
{
707+
"u_message": "Your mind lurches, the shapes and figures dance across your vision, you feel like your head is going to explode."
708+
}
709+
],
710+
"else": [
711+
{ "math": [ "u_pain() += 3" ] },
712+
{ "math": [ "u_madness++" ] },
713+
{
714+
"u_message": "You can't look away from the impossible shape, staring at it is making you feel sick, you have to get away!"
715+
}
716+
]
705717
}
706718
],
707719
"false_effect": [
708-
{ "math": [ "u_pain() += 3" ] },
709-
{ "math": [ "u_madness++" ] },
710720
{
711-
"u_message": "You can't look away from the impossible shape, staring at it is making you feel sick, you have to get away!"
721+
"if": "u_can_see",
722+
"then": {
723+
"u_message": "You could never describe its appearance, but you perceive the impossible shape as you would any other."
724+
}
712725
}
713726
]
714727
},

data/json/mutations/mutations.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10730,5 +10730,17 @@
1073010730
"category": [ "HUMAN" ],
1073110731
"types": [ "ATTRACTIVENESS" ],
1073210732
"description": "Your attractiveness would be considered unremarkable by the average human."
10733+
},
10734+
{
10735+
"type": "mutation",
10736+
"id": "anti_shape",
10737+
"name": { "str": "Extradimensional Comprehension" },
10738+
"player_display": true,
10739+
"points": 0,
10740+
"description": "In the tunnel at LIXA, you were inside of an impossible shape, where the X, Y, and Z axis were mere suggestions. When you put the shape out of its misery, (as much misery as a concept can have), you saw it for what it was; just a shape. You can now visualize \"impossible\" shapes in your mind's eye, rendering them mundane to you.",
10741+
"starting_trait": false,
10742+
"purifiable": false,
10743+
"valid": false,
10744+
"enchantments": [ { "values": [ { "value": "INTELLIGENCE", "add": 1 } ] } ]
1073310745
}
1073410746
]

0 commit comments

Comments
 (0)