From ecfdd3d33ee3cdbf1fbe6e9e84e596e0d2bd99f4 Mon Sep 17 00:00:00 2001 From: ChuijkYahus <94828194+ChuijkYahus@users.noreply.github.com> Date: Wed, 15 Jan 2025 04:15:12 +0800 Subject: [PATCH] =?UTF-8?q?Trickster=20update=EF=BC=9A=E5=AE=98=E5=BA=93?= =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../trickster/lang/en_us.json | 17 +++++++--- .../trickster/lang/en_us.yml | 19 ++++++++---- .../trickster/lang/zh_cn.json | 17 +++++++--- .../delusions_ingresses/inventory.md | 31 +++++++++++++++++++ .../delusions_ingresses/raycast.md | 8 ++--- .../distortions/arithmetic.md | 20 ++++++++++++ .../tome_of_tomfoolery/distortions/list.md | 22 ++++++++++++- .../tome_of_tomfoolery/ploys/entity.md | 16 ++++++++-- .../entries/tome_of_tomfoolery/ploys/mana.md | 4 +-- .../tome_of_tomfoolery/tricks/basic.md | 18 ++++++++--- .../zh_cn/delusions_ingresses/inventory.md | 30 ++++++++++++++++++ .../zh_cn/delusions_ingresses/raycast.md | 6 ++-- .../zh_cn/distortions/arithmetic.md | 22 ++++++++++++- .../zh_cn/distortions/list.md | 20 ++++++++++++ .../tome_of_tomfoolery/zh_cn/ploys/entity.md | 14 +++++++-- .../tome_of_tomfoolery/zh_cn/ploys/mana.md | 4 +-- .../tome_of_tomfoolery/zh_cn/tricks/basic.md | 16 ++++++++-- 17 files changed, 243 insertions(+), 41 deletions(-) diff --git a/projects/1.21-fabric/assets/modrinth-trickster/trickster/lang/en_us.json b/projects/1.21-fabric/assets/modrinth-trickster/trickster/lang/en_us.json index d0c3f3716778..f3295cccd203 100644 --- a/projects/1.21-fabric/assets/modrinth-trickster/trickster/lang/en_us.json +++ b/projects/1.21-fabric/assets/modrinth-trickster/trickster/lang/en_us.json @@ -24,7 +24,7 @@ "trickster.trick.trickster.multiply": "Domination Stratagem", "trickster.trick.trickster.divide": "Submission Stratagem", "trickster.trick.trickster.modulo": "Distortion of Wholes", - "trickster.trick.trickster.power": "Exponential Distortion", + "trickster.trick.trickster.power": "Distortion of Supremacy", "trickster.trick.trickster.max": "Noble Stratagem", "trickster.trick.trickster.min": "Insignificance Stratagem", "trickster.trick.trickster.ceil": "Distortion of Grandeur", @@ -52,9 +52,11 @@ "trickster.trick.trickster.normalize": "Regularity Distortion", "trickster.trick.trickster.align_vector": "Aligned Regularity Distortion", "trickster.trick.trickster.invert": "Inversion Distortion", + "trickster.trick.trickster.abs": "Absolutist's Distortion", "trickster.trick.trickster.length": "Magnitude Distortion", "trickster.trick.trickster.two": "Foundational Delusion", "trickster.trick.trickster.read_spell": "Notulist's Delusion", + "trickster.trick.trickster.clear_spell": "Alethophobe's Ploy", "trickster.trick.trickster.write_spell": "Notulist's Ploy", "trickster.trick.trickster.write_closed_spell": "Proprietary Notulist's Ploy", "trickster.trick.trickster.write_macro_ring": "Macro Ploy", @@ -73,9 +75,9 @@ "trickster.trick.trickster.sneaking_reflection": "Alternative Ingress", "trickster.trick.trickster.sprinting_reflection": "Trekking Ingress", "trickster.trick.trickster.blocking_reflection": "Guard Ingress", - "trickster.trick.trickster.raycast": "Archer's Ingress", - "trickster.trick.trickster.raycast_side": "Architect's Ingress", - "trickster.trick.trickster.raycast_entity": "Scout's Ingress", + "trickster.trick.trickster.raycast": "Pinpoint Ingress", + "trickster.trick.trickster.raycast_side": "Bearing Ingress", + "trickster.trick.trickster.raycast_entity": "Mark Ingress", "trickster.trick.trickster.get_entity_type": "Motive Verification Ingress", "trickster.trick.trickster.get_position": "Locational Ingress", "trickster.trick.trickster.get_eye_position": "Perspective Ingress", @@ -84,7 +86,8 @@ "trickster.trick.trickster.get_health": "Fettle Ingress", "trickster.trick.trickster.get_armour": "Bulwark Ingress", "trickster.trick.trickster.get_velocity": "Movement Ingress", - "trickster.trick.trickster.add_velocity": "Impulse Ploy", + "trickster.trick.trickster.add_velocity": "Kinetic Ploy", + "trickster.trick.trickster.change_weight": "Ploy of Featherweight", "trickster.trick.trickster.store_entity": "Containment Ploy", "trickster.trick.trickster.release_entity": "Extrication Ploy", "trickster.trick.trickster.polymorph": "Polymorph Ploy", @@ -114,6 +117,9 @@ "trickster.trick.trickster.load_argument_8": "Octonary Delusion", "trickster.trick.trickster.list_create": "Catalogue Delusion", "trickster.trick.trickster.list_add": "Expansion Stratagem", + "trickster.trick.trickster.list_add_range": "Collection Stratagem", + "trickster.trick.trickster.list_take_range": "Isolation Distortion", + "trickster.trick.trickster.list_reverse": "Counter Distortion", "trickster.trick.trickster.list_insert": "Inflation Stratagem", "trickster.trick.trickster.list_get": "Extraction Distortion", "trickster.trick.trickster.list_index_of": "Locating Distortion", @@ -158,6 +164,7 @@ "trickster.trick.trickster.other_hand_slot": "Catch Delusion", "trickster.trick.trickster.get_item_in_slot": "Fence's Ingress", "trickster.trick.trickster.get_mana_in_slot": "Ingress of Authority", + "trickster.trick.trickster.get_count_in_slot": "Ingress of Plenitude", "trickster.trick.trickster.get_max_mana_in_slot": "Crowning Ingress", "trickster.trick.trickster.get_inventory_slot": "Intrusive Ingress", "trickster.trick.trickster.drop_stack_from_slot": "Ploy of Offering", diff --git a/projects/1.21-fabric/assets/modrinth-trickster/trickster/lang/en_us.yml b/projects/1.21-fabric/assets/modrinth-trickster/trickster/lang/en_us.yml index d430d2c371e2..cfb424a953b6 100644 --- a/projects/1.21-fabric/assets/modrinth-trickster/trickster/lang/en_us.yml +++ b/projects/1.21-fabric/assets/modrinth-trickster/trickster/lang/en_us.yml @@ -39,7 +39,7 @@ trickster: multiply: Domination Stratagem divide: Submission Stratagem modulo: Distortion of Wholes - power: Exponential Distortion + power: Distortion of Supremacy max: Noble Stratagem min: Insignificance Stratagem ceil: Distortion of Grandeur @@ -69,10 +69,12 @@ trickster: normalize: Regularity Distortion align_vector: Aligned Regularity Distortion invert: Inversion Distortion + abs: Absolutist's Distortion length: Magnitude Distortion two: Foundational Delusion read_spell: Notulist's Delusion + clear_spell: Alethophobe's Ploy write_spell: Notulist's Ploy write_closed_spell: Proprietary Notulist's Ploy write_macro_ring: Macro Ploy @@ -93,9 +95,9 @@ trickster: sneaking_reflection: Alternative Ingress sprinting_reflection: Trekking Ingress blocking_reflection: Guard Ingress - raycast: Archer's Ingress - raycast_side: Architect's Ingress - raycast_entity: Scout's Ingress + raycast: Pinpoint Ingress + raycast_side: Bearing Ingress + raycast_entity: Mark Ingress get_entity_type: Motive Verification Ingress get_position: Locational Ingress get_eye_position: Perspective Ingress @@ -104,7 +106,8 @@ trickster: get_health: Fettle Ingress get_armour: Bulwark Ingress get_velocity: Movement Ingress - add_velocity: Impulse Ploy + add_velocity: Kinetic Ploy + change_weight: Ploy of Featherweight store_entity: Containment Ploy release_entity: Extrication Ploy @@ -139,6 +142,9 @@ trickster: list_create: Catalogue Delusion list_add: Expansion Stratagem + list_add_range: Collection Stratagem + list_take_range: Isolation Distortion + list_reverse: Counter Distortion list_insert: Inflation Stratagem list_get: Extraction Distortion list_index_of: Locating Distortion @@ -188,6 +194,7 @@ trickster: other_hand_slot: Catch Delusion get_item_in_slot: Fence's Ingress get_mana_in_slot: Ingress of Authority + get_count_in_slot: Ingress of Plenitude get_max_mana_in_slot: Crowning Ingress get_inventory_slot: Intrusive Ingress drop_stack_from_slot: Ploy of Offering @@ -352,4 +359,4 @@ text.config.trickster-config: dragDrawing: Draw by dragging barsHorizontal: Show spell-created bars horizontally - disableOffhandScrollOpening: Require scroll in main hand to edit + disableOffhandScrollOpening: Require scroll in main hand to edit \ No newline at end of file diff --git a/projects/1.21-fabric/assets/modrinth-trickster/trickster/lang/zh_cn.json b/projects/1.21-fabric/assets/modrinth-trickster/trickster/lang/zh_cn.json index 1406f62af0b5..d20aeff5430b 100644 --- a/projects/1.21-fabric/assets/modrinth-trickster/trickster/lang/zh_cn.json +++ b/projects/1.21-fabric/assets/modrinth-trickster/trickster/lang/zh_cn.json @@ -24,7 +24,7 @@ "trickster.trick.trickster.multiply": "统治之谋略", "trickster.trick.trickster.divide": "屈从之谋略", "trickster.trick.trickster.modulo": "整体之曲变", - "trickster.trick.trickster.power": "指数之曲变", + "trickster.trick.trickster.power": "至尊之曲变", "trickster.trick.trickster.max": "高贵之谋略", "trickster.trick.trickster.min": "低位之谋略", "trickster.trick.trickster.ceil": "壮丽之曲变", @@ -52,9 +52,11 @@ "trickster.trick.trickster.normalize": "归一之曲变", "trickster.trick.trickster.align_vector": "合向归一之曲变", "trickster.trick.trickster.invert": "取反之曲变", + "trickster.trick.trickster.abs": "绝对主义者之曲变", "trickster.trick.trickster.length": "模长之曲变", "trickster.trick.trickster.two": "基础之错觉", "trickster.trick.trickster.read_spell": "记事员之错觉", + "trickster.trick.trickster.clear_spell": "畏真者之技巧", "trickster.trick.trickster.write_spell": "记事员之技巧", "trickster.trick.trickster.write_closed_spell": "禁文记事员之技巧", "trickster.trick.trickster.write_macro_ring": "宏之技巧", @@ -73,9 +75,9 @@ "trickster.trick.trickster.sneaking_reflection": "换立之辑流", "trickster.trick.trickster.sprinting_reflection": "远足之辑流", "trickster.trick.trickster.blocking_reflection": "盾护之辑流", - "trickster.trick.trickster.raycast": "弓箭手之辑流", - "trickster.trick.trickster.raycast_side": "建筑师之辑流", - "trickster.trick.trickster.raycast_entity": "侦查员之辑流", + "trickster.trick.trickster.raycast": "着点之辑流", + "trickster.trick.trickster.raycast_side": "承座之辑流", + "trickster.trick.trickster.raycast_entity": "标记之辑流", "trickster.trick.trickster.get_entity_type": "动机验证之辑流", "trickster.trick.trickster.get_position": "位置之辑流", "trickster.trick.trickster.get_eye_position": "视角之辑流", @@ -84,7 +86,8 @@ "trickster.trick.trickster.get_health": "体健之辑流", "trickster.trick.trickster.get_armour": "垒墙之辑流", "trickster.trick.trickster.get_velocity": "运动之辑流", - "trickster.trick.trickster.add_velocity": "驱动之技巧", + "trickster.trick.trickster.add_velocity": "动能之技巧", + "trickster.trick.trickster.change_weight": "轻羽之技巧", "trickster.trick.trickster.store_entity": "收容之技巧", "trickster.trick.trickster.release_entity": "释脱之技巧", "trickster.trick.trickster.polymorph": "变身之技巧", @@ -114,6 +117,9 @@ "trickster.trick.trickster.load_argument_8": "辛参之错觉", "trickster.trick.trickster.list_create": "目录之错觉", "trickster.trick.trickster.list_add": "扩展之谋略", + "trickster.trick.trickster.list_add_range": "集合之谋略", + "trickster.trick.trickster.list_take_range": "孤立之曲变", + "trickster.trick.trickster.list_reverse": "计数之曲变", "trickster.trick.trickster.list_insert": "膨胀之谋略", "trickster.trick.trickster.list_get": "提取之曲变", "trickster.trick.trickster.list_index_of": "定目之曲变", @@ -158,6 +164,7 @@ "trickster.trick.trickster.other_hand_slot": "抛接之错觉", "trickster.trick.trickster.get_item_in_slot": "销赃人之辑流", "trickster.trick.trickster.get_mana_in_slot": "权威之辑流", + "trickster.trick.trickster.get_count_in_slot": "丰裕之辑流", "trickster.trick.trickster.get_max_mana_in_slot": "加冕之辑流", "trickster.trick.trickster.get_inventory_slot": "侵入之辑流", "trickster.trick.trickster.drop_stack_from_slot": "祭献之技巧", diff --git a/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/delusions_ingresses/inventory.md b/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/delusions_ingresses/inventory.md index 3c20d25eb2d3..14a23428bf56 100644 --- a/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/delusions_ingresses/inventory.md +++ b/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/delusions_ingresses/inventory.md @@ -83,3 +83,34 @@ slot... -> number --- Returns the maximum amount of mana which may be stored in the given slots. + +;;;;; + +<|glyph@trickster:templates|trick-id=trickster:get_count_in_slot,title=Ingress of Plenitude|> + +slot -> number + +--- + +Returns the amount of items stored in the given slot. + +;;;;; + +<|glyph@trickster:templates|trick-id=trickster:block_from_item,title=Placement Distortion|> + +item -> block | void + +--- + +Returns the block type the given item type can be placed as, or void if the item is not a block. + +;;;;; + +<|glyph@trickster:templates|trick-id=trickster:item_from_block,title=Pickup Distortion|> + +block -> item | void + +--- + +Returns the item type that can be used to place the given block type, +or void if the block doesn't have a corresponding item. \ No newline at end of file diff --git a/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/delusions_ingresses/raycast.md b/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/delusions_ingresses/raycast.md index 6059be70427b..d8fae615df9f 100644 --- a/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/delusions_ingresses/raycast.md +++ b/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/delusions_ingresses/raycast.md @@ -14,7 +14,7 @@ Raycasts which target blocks may optionally be made to hit fluids if their last ;;;;; -<|glyph@trickster:templates|trick-id=trickster:raycast,title=Archer's Ingress|> +<|glyph@trickster:templates|trick-id=trickster:raycast,title=Pinpoint Ingress|> entity, [boolean] -> vector | @@ -26,7 +26,7 @@ Returns the block that is hit. ;;;;; -<|glyph@trickster:templates|trick-id=trickster:raycast_side,title=Architect's Ingress|> +<|glyph@trickster:templates|trick-id=trickster:raycast_side,title=Bearing Ingress|> entity, [boolean] -> vector | @@ -38,7 +38,7 @@ Returns a vector representing the side of the block that is hit. ;;;;; -<|glyph@trickster:templates|trick-id=trickster:raycast_entity,title=Scout's Ingress|> +<|glyph@trickster:templates|trick-id=trickster:raycast_entity,title=Mark Ingress|> entity -> entity | @@ -46,4 +46,4 @@ vector, vector -> entity --- -Returns the entity that is hit. +Returns the entity that is hit. \ No newline at end of file diff --git a/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/distortions/arithmetic.md b/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/distortions/arithmetic.md index fc84d7c166bc..99d57a2cd8f2 100644 --- a/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/distortions/arithmetic.md +++ b/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/distortions/arithmetic.md @@ -67,6 +67,16 @@ Returns the remainder of dividing the first number by the second number. ;;;;; +<|glyph@trickster:templates|trick-id=trickster:power,title=Distortion of Supremacy|> + +number, number -> number + +--- + +Returns the first number raised to the power of the second. + +;;;;; + <|glyph@trickster:templates|trick-id=trickster:max,title=Noble Stratagem|> number... | number[] -> number @@ -137,6 +147,16 @@ Inverts the given number or vector. ;;;;; +<|glyph@trickster:templates|trick-id=trickster:abs,title=Absolutist's Distortion|> + +number -> number + +--- + +If the given number is negative, returns its positive equivalent. Otherwise, does nothing. + +;;;;; + <|glyph@trickster:templates|trick-id=trickster:sin,title=Primary Distortion of Geometry|> number -> number diff --git a/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/distortions/list.md b/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/distortions/list.md index 9c00e4ad901a..f0caf6b68051 100644 --- a/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/distortions/list.md +++ b/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/distortions/list.md @@ -43,6 +43,26 @@ Creates a new list containing the elements of all given lists. ;;;;; +<|glyph@trickster:templates|trick-id=trickster:list_take_range,title=Isolation Distortion|> + +any[], number, [number] -> any[] + +--- + +Returns a list containing the elements of the given list with indexes starting at the first number and ending before the second. + +;;;;; + +<|glyph@trickster:templates|trick-id=trickster:list_reverse,title=Counter Distortion|> + +any[] -> any[] + +--- + +Returns the given list, reversed. + +;;;;; + <|glyph@trickster:templates|trick-id=trickster:list_insert,title=Inflation Stratagem|> any[], number, any... -> any[] @@ -89,4 +109,4 @@ any[], any... -> any[] --- -Removes one or many elements from the given list by checking their equality with the set of given fragments. +Removes one or many elements from the given list by checking their equality with the set of given fragments. \ No newline at end of file diff --git a/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/ploys/entity.md b/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/ploys/entity.md index 8d2470a967a2..8e0b53eaf11b 100644 --- a/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/ploys/entity.md +++ b/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/ploys/entity.md @@ -10,7 +10,7 @@ Various tricks related to manipulating entities. ;;;;; -<|glyph@trickster:templates|trick-id=trickster:add_velocity,title=Impulse Ploy|> +<|glyph@trickster:templates|trick-id=trickster:add_velocity,title=Kinetic Ploy|> entity, vector -> entity @@ -20,13 +20,23 @@ Applies the given vector as velocity to the given entity. ;;;;; +<|glyph@trickster:templates|trick-id=trickster:change_weight,title=Ploy of Featherweight|> + +entity, number -> entity + +<|cost-rule@trickster:templates|formula=60kG|> + +Given a number between zero and one, multiplies the given entity's effective gravity by that number for one second, provided it is alive. + +;;;;; + <|glyph@trickster:templates|trick-id=trickster:polymorph,title=Polymorph Ploy|> entity, entity -> <|cost-rule@trickster:templates|formula=8000kG|> -Polymorphs the first entity to appear to be the second in every way. Only works with players. +Polymorphs the first entity to appear to be the second in every way. **Currently only works with players.** ;;;;; @@ -68,4 +78,4 @@ entity, number -> entity <|cost-rule@trickster:templates|formula=abs(currentScale - newScale)^2 * 100kG + newScale * 50kG|> -Changes the scale of the given entity. Entities cannot be scaled below 0.0625 or above 8 times their usual size. +Changes the scale of the given entity. Entities cannot be scaled below 0.0625 or above 8 times their usual size. \ No newline at end of file diff --git a/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/ploys/mana.md b/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/ploys/mana.md index da9a44dd9991..0b89e5efe454 100644 --- a/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/ploys/mana.md +++ b/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/ploys/mana.md @@ -26,7 +26,7 @@ number, slot... -> number --- -Pushes the caster's mana into the items at the given slots, up to the given number, and returns the amount moved. +Pushes mana into the given slots, up to the given number per slot, and returns the amount moved. ;;;;; @@ -36,4 +36,4 @@ number, slot... -> number --- -Pulls mana from the given slots into the caster, up to the given number, and returns the amount moved. +Pulls mana from the given slots, up to the given number per slot, and returns the amount moved. \ No newline at end of file diff --git a/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/tricks/basic.md b/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/tricks/basic.md index 466d23c84ee3..502ebd21c02c 100644 --- a/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/tricks/basic.md +++ b/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/tricks/basic.md @@ -33,18 +33,18 @@ If not, returns void. <|glyph@trickster:templates|trick-id=trickster:write_spell,title=Notulist's Ploy|> -[any] -> any +any, [slot] -> any --- -Inscribes a fragment onto the item held in the caster's other hand. +Inscribes a fragment onto the item in the given slot or in the caster's offhand. Returns its input, after ephemeral decay. ;;;;; <|glyph@trickster:templates|trick-id=trickster:write_closed_spell,title=Proprietary Notulist's Ploy|> -[any] -> any +any, [slot] -> any --- @@ -52,6 +52,16 @@ Same as Notulist's Ploy, but the fragment cannot be read by conventional means. ;;;;; +<|glyph@trickster:templates|trick-id=trickster:clear_spell,title=Alethophobe's Ploy|> + +[slot] -> + +--- + +Clears any fragment inscribed onto the item in the given slot or in the caster's offhand. + +;;;;; + <|glyph@trickster:templates|trick-id=trickster:reveal,title=Showcase Stratagem|> any... -> any @@ -106,4 +116,4 @@ As such, this system operates on an opt-in basis. --- -Consumes one amethyst shard from the caster's inventory. Will blunder if none are available. +Consumes one amethyst shard from the caster's inventory. Will blunder if none are available. \ No newline at end of file diff --git a/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/zh_cn/delusions_ingresses/inventory.md b/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/zh_cn/delusions_ingresses/inventory.md index 03d1ed456088..e0806bf31211 100644 --- a/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/zh_cn/delusions_ingresses/inventory.md +++ b/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/zh_cn/delusions_ingresses/inventory.md @@ -81,3 +81,33 @@ slot... -> number --- 返回给定槽位中能容纳的最大魔力的量。 + +;;;;; + +<|glyph@trickster:templates|trick-id=trickster:get_count_in_slot,title=丰裕之辑流|> + +slot -> number + +--- + +返回给定槽位中物品的数量。 + +;;;;; + +<|glyph@trickster:templates|trick-id=trickster:block_from_item,title=放置之曲变|> + +item -> block | void + +--- + +返回所给物品类型放置后的方块的类型。若所给物品无法放置为方块,返回void。 + +;;;;; + +<|glyph@trickster:templates|trick-id=trickster:item_from_block,title=拾取之曲变|> + +block -> item | void + +--- + +返回放置所给方块类型所需的物品的类型。若所给方块没有对应物品,返回void。 diff --git a/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/zh_cn/delusions_ingresses/raycast.md b/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/zh_cn/delusions_ingresses/raycast.md index a16e6ce5d751..6481a78f9be4 100644 --- a/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/zh_cn/delusions_ingresses/raycast.md +++ b/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/zh_cn/delusions_ingresses/raycast.md @@ -13,7 +13,7 @@ ;;;;; -<|glyph@trickster:templates|trick-id=trickster:raycast,title=弓箭手之辑流|> +<|glyph@trickster:templates|trick-id=trickster:raycast,title=着点之辑流|> entity, [boolean] -> vector | @@ -25,7 +25,7 @@ vector, vector, [boolean] -> vector ;;;;; -<|glyph@trickster:templates|trick-id=trickster:raycast_side,title=建筑师之辑流|> +<|glyph@trickster:templates|trick-id=trickster:raycast_side,title=承座之辑流|> entity, [boolean] -> vector | @@ -37,7 +37,7 @@ vector, vector, [boolean] -> vector ;;;;; -<|glyph@trickster:templates|trick-id=trickster:raycast_entity,title=侦查员之辑流|> +<|glyph@trickster:templates|trick-id=trickster:raycast_entity,title=标记之辑流|> entity -> entity | diff --git a/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/zh_cn/distortions/arithmetic.md b/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/zh_cn/distortions/arithmetic.md index 139f8e102e51..1f649ca0091b 100644 --- a/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/zh_cn/distortions/arithmetic.md +++ b/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/zh_cn/distortions/arithmetic.md @@ -63,6 +63,16 @@ number, number -> number ;;;;; +<|glyph@trickster:templates|trick-id=trickster:power,title=至尊之曲变|> + +number, number -> number + +--- + +返回底数为第一个数,指数为第二个数的幂。 + +;;;;; + <|glyph@trickster:templates|trick-id=trickster:max,title=高贵之谋略|> number... | number[] -> number @@ -133,6 +143,16 @@ number -> number | vec -> vec ;;;;; +<|glyph@trickster:templates|trick-id=trickster:abs,title=绝对主义者之曲变|> + +number -> number + +--- + +若所给数为负,返回其相反数。否则直接传出。 + +;;;;; + <|glyph@trickster:templates|trick-id=trickster:sin,title=甲型几何之曲变|> number -> number @@ -199,4 +219,4 @@ number, number -> number --- -返回X轴正向与原点至点(y, x)射线的夹角。 \ No newline at end of file +返回X轴正向与原点至点(y, x)射线的夹角。 diff --git a/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/zh_cn/distortions/list.md b/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/zh_cn/distortions/list.md index b39385daafaf..c2e82a888567 100644 --- a/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/zh_cn/distortions/list.md +++ b/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/zh_cn/distortions/list.md @@ -33,6 +33,26 @@ any[], any... -> any[] ;;;;; +<|glyph@trickster:templates|trick-id=trickster:list_take_range,title=孤立之曲真|> + +any[], number, [number] -> any[] + +--- + +取出列表中索引由第一个数起始、在第二个数之前结束的元素,组成子列表并返回。 + +;;;;; + +<|glyph@trickster:templates|trick-id=trickster:list_reverse,title=计数之曲真|> + +any[] -> any[] + +--- + +倒置所给列表。 + +;;;;; + <|glyph@trickster:templates|trick-id=trickster:list_add_range,title=集合之谋略|> any[], any[]... -> any[] diff --git a/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/zh_cn/ploys/entity.md b/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/zh_cn/ploys/entity.md index d5d59ce712fa..e6abfdbb4754 100644 --- a/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/zh_cn/ploys/entity.md +++ b/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/zh_cn/ploys/entity.md @@ -10,7 +10,7 @@ ;;;;; -<|glyph@trickster:templates|trick-id=trickster:add_velocity,title=驱动之技巧|> +<|glyph@trickster:templates|trick-id=trickster:add_velocity,title=动能之技巧|> entity, vector -> entity @@ -20,13 +20,23 @@ entity, vector -> entity ;;;;; +<|glyph@trickster:templates|trick-id=trickster:change_weight,title=轻羽之技巧|> + +entity, number -> entity + +<|cost-rule@trickster:templates|formula=60 kG|> + +给定0到1之间的数,若实体为生物实体,则以所给数乘以其受到的重力,持续1秒。 + +;;;;; + <|glyph@trickster:templates|trick-id=trickster:polymorph,title=变身之技巧|> entity, entity -> <|cost-rule@trickster:templates|formula=8000 kG|> -将第一个实体变身为第二个实体,仅会变换外形。只对玩家有效。 +将第一个实体变身为第二个实体,仅会变换外形。**目前只对玩家有效。** ;;;;; diff --git a/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/zh_cn/ploys/mana.md b/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/zh_cn/ploys/mana.md index ea95747e7796..398805f25be0 100644 --- a/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/zh_cn/ploys/mana.md +++ b/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/zh_cn/ploys/mana.md @@ -26,7 +26,7 @@ number, slot... -> number --- -将施法者的魔力传输到给定槽位中的物品处,最多传输给定数的量,并返回实际传输的量。 +向给定槽位的物品输送魔力,每个槽位最多传输给定数的量,并返回实际传输的量。 ;;;;; @@ -36,4 +36,4 @@ number, slot... -> number --- -从给定槽位的物品中传输魔力到施法者处,最多传输给定数的量,并返回实际传输的量。 +从给定槽位的物品抽取魔力,每个槽位最多传输给定数的量,并返回实际传输的量。 diff --git a/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/zh_cn/tricks/basic.md b/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/zh_cn/tricks/basic.md index b7ea82196ee6..73a3dab55064 100644 --- a/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/zh_cn/tricks/basic.md +++ b/projects/1.21-fabric/assets/modrinth-trickster/trickster/lavender/entries/tome_of_tomfoolery/zh_cn/tricks/basic.md @@ -29,17 +29,17 @@ <|glyph@trickster:templates|trick-id=trickster:write_spell,title=记事员之技巧|> -[any] -> any +any, [slot] -> any --- -将法术片段抄入施法者另一只手中的物品。在片刻之后返回其输入值。 +将法术片段抄入施法者另一只手中或所给槽位中的物品。在片刻之后返回其输入值。 ;;;;; <|glyph@trickster:templates|trick-id=trickster:write_closed_spell,title=禁文记事员之技巧|> -[any] -> any +any, [slot] -> any --- @@ -47,6 +47,16 @@ ;;;;; +<|glyph@trickster:templates|trick-id=trickster:clear_spell,title=畏真者之技巧|> + +[slot] -> + +--- + +清除施法者另一只手中或所给槽位中物品上的法术片段。 + +;;;;; + <|glyph@trickster:templates|trick-id=trickster:reveal,title=展示之谋略|> any... -> any