diff --git a/Asset/data/asset/functions/artifact/1464.call_electric_catfish/give/1.trigger.mcfunction b/Asset/data/asset/functions/artifact/1464.call_electric_catfish/give/1.trigger.mcfunction new file mode 100644 index 00000000000..9704dd76ddc --- /dev/null +++ b/Asset/data/asset/functions/artifact/1464.call_electric_catfish/give/1.trigger.mcfunction @@ -0,0 +1,7 @@ +#> asset:artifact/1464.call_electric_catfish/give/1.trigger +# +# 神器の取得処理の呼び出し時に実行されるfunction +# +# @within tag/function asset:artifact/give + +execute if data storage asset:context {id:1464} run function asset:artifact/1464.call_electric_catfish/give/2.give \ No newline at end of file diff --git a/Asset/data/asset/functions/artifact/1464.call_electric_catfish/give/2.give.mcfunction b/Asset/data/asset/functions/artifact/1464.call_electric_catfish/give/2.give.mcfunction new file mode 100644 index 00000000000..d7e6b922bcc --- /dev/null +++ b/Asset/data/asset/functions/artifact/1464.call_electric_catfish/give/2.give.mcfunction @@ -0,0 +1,68 @@ +#> asset:artifact/1464.call_electric_catfish/give/2.give +# +# 神器の作成部 ここでID等を定義する +# +# @user +# @within function asset:artifact/1464.call_electric_catfish/give/1.trigger + +# 神器の説明や消費MPなどをここで設定する。 +# 最後にasset:artifact/common/giveを実行することで入手可能。 + +# 神器のID (int) スプレッドシートの値を入れる + data modify storage asset:artifact ID set value 1464 +# 神器のベースアイテム + data modify storage asset:artifact Item set value "minecraft:carrot_on_a_stick" +# 神器の名前 (TextComponentString) + data modify storage asset:artifact Name set value '{"text": "コール:デンキナマズ", "color": "yellow"}' +# 神器の説明文 (TextComponentString[]) + data modify storage asset:artifact Lore set value ['{"text": "敵に踏まれると周囲にダメージを与えるナマズを召喚する。"}' , '{"text": "「べちっ」「...」", "color": "gray"}'] +# 消費アイテム ({Item: TextComponent, Count: int, Extra?: TextComponent}) (オプション) + # data modify storage asset:artifact ConsumeItem.Item set value '{"translate":"item.minecraft.stick"}' + # data modify storage asset:artifact ConsumeItem.Count set value 1 + # data modify storage asset:artifact ConsumeItem.Extra set value +# 使用回数 (int) (オプション) + # data modify storage asset:artifact RemainingCount set value +# 神器を発動できるスロット (string) Wikiを参照 + data modify storage asset:artifact Slot set value "mainhand" +# 神器のトリガー (string) Wikiを参照 + data modify storage asset:artifact Trigger set value "onClick" +# 神器の発動条件 (TextComponentString) (オプション) + data modify storage asset:artifact Condition set value '{"text": "足元にブロックがあるとき"}' +# 攻撃に関する情報 -Damage量 (literal[]/literal) Wikiを参照 (オプション) + data modify storage asset:artifact AttackInfo.Damage set value [50, 100] +# 攻撃に関する情報 -攻撃タイプ (string[]) Wikiを参照 (オプション) + data modify storage asset:artifact AttackInfo.AttackType set value [Physical] +# 攻撃に関する情報 -攻撃属性 (string[]) Wikiを参照 (オプション) + data modify storage asset:artifact AttackInfo.ElementType set value [Thunder] +# 攻撃に関する情報 -防御無視 (boolean) Wikiを参照 (オプション) + # data modify storage asset:artifact AttackInfo.BypassResist set value +# 攻撃に関する情報 -範囲攻撃 (string) Wikiを参照 (オプション) + data modify storage asset:artifact AttackInfo.IsRangeAttack set value "every" +# 攻撃に関する情報 -攻撃範囲 (literal) Wikiを参照 (オプション) + # data modify storage asset:artifact AttackInfo.AttackRange set value +# MP消費量 (int) + data modify storage asset:artifact MPCost set value 80 +# MP必要量 (int) (オプション) + # data modify storage asset:artifact MPRequire set value +# MP回復量 (int) + # data modify storage asset:artifact MPHealWhenHit set value +# 神器のクールダウン (int) (オプション) + # data modify storage asset:artifact LocalCooldown set value +# 種別クールダウン ({Type: string, Duration: int}) (オプション) + data modify storage asset:artifact TypeCooldown.Type set value "summon" + data modify storage asset:artifact TypeCooldown.Duration set value 600 +# グローバルクールダウン (int) (オプション) + # data modify storage asset:artifact SpecialCooldown set value +# クールダウンによる使用不可のメッセージを非表示にするか否か (boolean) (オプション) + # data modify storage asset:artifact DisableCooldownMessage set value +# MP不足による使用不可のメッセージを非表示にするか否か (boolean) (オプション) + # data modify storage asset:artifact DisableMPMessage set value +# 破壊時の音を鳴らさないかどうか (boolean) (オプション) + # data modify storage asset:artifact DisableBreakSound set value +# 扱える神 (string[]) Wikiを参照 + data modify storage asset:artifact CanUsedGod set value ["Flora", "Nyaptov", "Rumor"] +# カスタムNBT (NBTCompound) 追加で指定したいNBT (オプション) + # data modify storage asset:artifact CustomNBT set value {} + +# 神器の入手用function + function asset:artifact/common/give diff --git a/Asset/data/asset/functions/artifact/1464.call_electric_catfish/register.mcfunction b/Asset/data/asset/functions/artifact/1464.call_electric_catfish/register.mcfunction new file mode 100644 index 00000000000..7b499633fe4 --- /dev/null +++ b/Asset/data/asset/functions/artifact/1464.call_electric_catfish/register.mcfunction @@ -0,0 +1,7 @@ +#> asset:artifact/1464.call_electric_catfish/register +# +# 神器プールへの登録処理 +# +# @within tag/function asset:artifact/register + +data modify storage asset:artifact RarityRegistry[3] append value [1464] \ No newline at end of file diff --git a/Asset/data/asset/functions/artifact/1464.call_electric_catfish/trigger/1.trigger.mcfunction b/Asset/data/asset/functions/artifact/1464.call_electric_catfish/trigger/1.trigger.mcfunction new file mode 100644 index 00000000000..f61580689b3 --- /dev/null +++ b/Asset/data/asset/functions/artifact/1464.call_electric_catfish/trigger/1.trigger.mcfunction @@ -0,0 +1,8 @@ +#> asset:artifact/1464.call_electric_catfish/trigger/1.trigger +# +# 指定したイベントタイミングで実行されるfunction +# +# @within tag/function asset:artifact/** + +# storage asset:idのmainhandに装備している神器のIDが入っているので比較し、~/2.check_condition.mcfunctionを実行する + execute if data storage asset:context id{mainhand:1464} run function asset:artifact/1464.call_electric_catfish/trigger/2.check_condition \ No newline at end of file diff --git a/Asset/data/asset/functions/artifact/1464.call_electric_catfish/trigger/2.check_condition.mcfunction b/Asset/data/asset/functions/artifact/1464.call_electric_catfish/trigger/2.check_condition.mcfunction new file mode 100644 index 00000000000..5e2d8c72625 --- /dev/null +++ b/Asset/data/asset/functions/artifact/1464.call_electric_catfish/trigger/2.check_condition.mcfunction @@ -0,0 +1,16 @@ +#> asset:artifact/1464.call_electric_catfish/trigger/2.check_condition +# +# 神器の発動条件をチェックします +# +# @within function asset:artifact/1464.call_electric_catfish/trigger/1.trigger + +# 神器の基本的な条件の確認を行うfunction、成功している場合CanUsedタグが付く + function asset:artifact/common/check_condition/mainhand + +# 追加チェック:足元にブロックがないならCanUsed剝奪 + function api:data_get/on_ground + execute if data storage api: {OnGround:0b} run tag @s remove CanUsed + execute align y if block ~ ~-1 ~ #lib:no_collision/ run tag @s remove CanUsed + +# CanUsedタグをチェックして3.main.mcfunctionを実行する + execute if entity @s[tag=CanUsed] run function asset:artifact/1464.call_electric_catfish/trigger/3.main diff --git a/Asset/data/asset/functions/artifact/1464.call_electric_catfish/trigger/3.main.mcfunction b/Asset/data/asset/functions/artifact/1464.call_electric_catfish/trigger/3.main.mcfunction new file mode 100644 index 00000000000..2cbf575c9ea --- /dev/null +++ b/Asset/data/asset/functions/artifact/1464.call_electric_catfish/trigger/3.main.mcfunction @@ -0,0 +1,30 @@ +#> asset:artifact/1464.call_electric_catfish/trigger/3.main +# +# 神器のメイン処理部 +# +# @within function asset:artifact/1464.call_electric_catfish/trigger/2.check_condition + +# 基本的な使用時の処理(MP消費や使用回数の処理など)を行う + function asset:artifact/common/use/mainhand + +# Object1160召喚 + data modify storage api: Argument.ID set value 1160 + # 攻撃情報 + data modify storage api: Argument.FieldOverride.Damage set value 100.0d + data modify storage api: Argument.FieldOverride.AttackType set value "Physical" + data modify storage api: Argument.FieldOverride.ElementType set value "Thunder" + + # 攻撃範囲: Objectを中心とした、一辺AttackRangeの正方形を攻撃する + data modify storage api: Argument.FieldOverride.AttackRange set value 7.0d + + # 範囲攻撃の判定クールダウン + data modify storage api: Argument.FieldOverride.AttackCooldown set value 10 + + # 範囲攻撃のダメージ倍率 + data modify storage api: Argument.FieldOverride.DamageMultiplier set value 0.5 + + # 存在時間 + data modify storage api: Argument.FieldOverride.Tick set value 1200 + + execute store result storage api: Argument.FieldOverride.UserID int 1 run scoreboard players get @s UserID + function api:object/summon diff --git a/Asset/data/asset/functions/object/1160.electric_catfish/_index.d.mcfunction b/Asset/data/asset/functions/object/1160.electric_catfish/_index.d.mcfunction new file mode 100644 index 00000000000..17c7d0ac497 --- /dev/null +++ b/Asset/data/asset/functions/object/1160.electric_catfish/_index.d.mcfunction @@ -0,0 +1,9 @@ +#> asset:object/1160.electric_catfish/_index.d +# @private + +#> tag +# @within function asset:object/1160.electric_catfish/** + #declare tag O1160.Inactive + #declare tag O1160.SteppedOn + #declare tag O1160.Candidate + #declare objective O1160.Cooldown diff --git a/Asset/data/asset/functions/object/1160.electric_catfish/init/.mcfunction b/Asset/data/asset/functions/object/1160.electric_catfish/init/.mcfunction new file mode 100644 index 00000000000..804c8857aca --- /dev/null +++ b/Asset/data/asset/functions/object/1160.electric_catfish/init/.mcfunction @@ -0,0 +1,19 @@ +#> asset:object/1160.electric_catfish/init/ +# +# Objectのinit時の処理 +# +# @within asset:object/alias/1160/init + +# ブロックの中心にtp(召喚時にtpするとinitされない) + execute align xz run tp @s ~0.5 ~ ~0.5 + +# 存在する時間を設定 + execute store result score @s General.Object.Tick run data get storage asset:context this.Tick + +# 攻撃範囲のFieldを設定 + execute store result storage asset:context this.AttackRadius double -0.5 run data get storage asset:context this.AttackRange + execute store result storage asset:context this.AttackHitbox int 0.9999999999 run data get storage asset:context this.AttackRange + +# 演出 + execute align xz run particle poof ~0.5 ~0.5 ~0.5 0.1 0.1 0.1 0.05 5 + playsound entity.player.hurt neutral @a ~ ~ ~ 1 0.5 diff --git a/Asset/data/asset/functions/object/1160.electric_catfish/load.mcfunction b/Asset/data/asset/functions/object/1160.electric_catfish/load.mcfunction new file mode 100644 index 00000000000..8775a61265a --- /dev/null +++ b/Asset/data/asset/functions/object/1160.electric_catfish/load.mcfunction @@ -0,0 +1,9 @@ +#> asset:object/1160.electric_catfish/load +# +# Objectに利用するスコアボード等の初期化処理 +# +# @within tag/function asset:object/load + +#> 定義類はここに +# @within function asset:object/1160.electric_catfish/** + scoreboard objectives add O1160.Cooldown dummy diff --git a/Asset/data/asset/functions/object/1160.electric_catfish/register.mcfunction b/Asset/data/asset/functions/object/1160.electric_catfish/register.mcfunction new file mode 100644 index 00000000000..1a4c3976601 --- /dev/null +++ b/Asset/data/asset/functions/object/1160.electric_catfish/register.mcfunction @@ -0,0 +1,31 @@ +#> asset:object/1160.electric_catfish/register +# +# Objectのデータを指定 +# +# @within function asset:object/alias/1160/register + +# 継承(オプション) + # data modify storage asset:object Extends append value + # function asset:object/extends +# 他のObjectに継承されることを許可するか (boolean) (オプション) + # data modify storage asset:object ExtendsSafe set value +# 継承されることを前提とした、抽象的なObjectであるかどうか(boolean) + data modify storage asset:object IsAbstract set value false +# Tickするかどうか(boolean) (オプション) + # data modify storage asset:object IsTicking set value + +# ID (int) + data modify storage asset:object ID set value 1160 +# フィールド(オプション) + data modify storage asset:object Field.Damage set value -1 + data modify storage asset:object Field.AttackType set value "" + data modify storage asset:object Field.ElementType set value "" + + data modify storage asset:object Field.AttackRange set value -1 + data modify storage asset:object Field.AttackRadius set value -1 + data modify storage asset:object Field.AttackHitbox set value -1 + data modify storage asset:object Field.DamageMultiplier set value -1 + data modify storage asset:object Field.AttackCooldown set value -1 + data modify storage asset:object Field.Tick set value -1 + data modify storage asset:object Field.UserID set value -1 + data modify storage asset:object Field.Motion set value [] diff --git a/Asset/data/asset/functions/object/1160.electric_catfish/summon/.mcfunction b/Asset/data/asset/functions/object/1160.electric_catfish/summon/.mcfunction new file mode 100644 index 00000000000..d0cbcd4a69e --- /dev/null +++ b/Asset/data/asset/functions/object/1160.electric_catfish/summon/.mcfunction @@ -0,0 +1,27 @@ +#> asset:object/1160.electric_catfish/summon/ +# +# Object召喚処理の呼び出し時に実行されるfunction +# +# @within asset:object/alias/1160/summon + +#> private +# @private + #declare score_holder $O1160.Rotation + #declare score_holder $90 + +# プレイヤーが向いている方向を90°間隔に補正 + execute rotated as @s as 0-0-0-0-0 in overworld positioned as @s run tp @s ~ ~ ~ ~ ~ + data modify storage asset:temp Args.Rotation set from entity 0-0-0-0-0 Rotation + data modify storage asset:temp Args.Rotation[1] set value 0.0f + + execute store result score $O1160.Rotation Temporary run data get storage asset:temp Args.Rotation[0] + scoreboard players add $O1160.Rotation Temporary 45 + scoreboard players operation $O1160.Rotation Temporary /= $90 Const + execute store result storage asset:temp Args.Rotation[0] float 1 run scoreboard players operation $O1160.Rotation Temporary *= $90 Const + +# 元となるEntityを召喚する + function asset:object/1160.electric_catfish/summon/m with storage asset:temp Args + +# リセット + scoreboard players reset $O1160.Rotation + data remove storage asset:temp Args diff --git a/Asset/data/asset/functions/object/1160.electric_catfish/summon/debug.mcfunction b/Asset/data/asset/functions/object/1160.electric_catfish/summon/debug.mcfunction new file mode 100644 index 00000000000..2193b659ae1 --- /dev/null +++ b/Asset/data/asset/functions/object/1160.electric_catfish/summon/debug.mcfunction @@ -0,0 +1,10 @@ +#> asset:object/1160.electric_catfish/summon/debug +# +# 動作チェック用の召喚処理 使い終わったら消してもいいかも +# +# @user +# @private + +# 召喚 + data modify storage api: Argument.ID set value 1160 + function api:object/summon \ No newline at end of file diff --git a/Asset/data/asset/functions/object/1160.electric_catfish/summon/m.mcfunction b/Asset/data/asset/functions/object/1160.electric_catfish/summon/m.mcfunction new file mode 100644 index 00000000000..3923ad93f61 --- /dev/null +++ b/Asset/data/asset/functions/object/1160.electric_catfish/summon/m.mcfunction @@ -0,0 +1,7 @@ +#> asset:object/1160.electric_catfish/summon/m +# +# +# +# @within function asset:object/1160.electric_catfish/summon/ + + $summon item_display ~ ~ ~ {Rotation: $(Rotation), Tags:["ObjectInit", "Friend"], item:{id:"minecraft:stick", Count:1b, tag:{CustomModelData:20628}},transformation:{scale:[1.0f,1.0f,1.0f], translation:[0.0f,0.5f,0.0f], left_rotation:{axis:[1.0f,1.0f,1.0f], angle:0.0f}, right_rotation:{axis:[1.0f,1.0f,1.0f], angle:0.0f}}} diff --git a/Asset/data/asset/functions/object/1160.electric_catfish/tick/.mcfunction b/Asset/data/asset/functions/object/1160.electric_catfish/tick/.mcfunction new file mode 100644 index 00000000000..f1796a0bd9c --- /dev/null +++ b/Asset/data/asset/functions/object/1160.electric_catfish/tick/.mcfunction @@ -0,0 +1,22 @@ +#> asset:object/1160.electric_catfish/tick/ +# +# Objectのtick時の処理 +# +# @within asset:object/alias/1160/tick + +# Tick減算 + scoreboard players remove @s General.Object.Tick 1 + +# クールダウン + execute if score @s O1160.Cooldown matches 1.. run scoreboard players remove @s O1160.Cooldown 1 + execute if score @s O1160.Cooldown matches 0 run tag @s remove O1160.Inactive + +# 踏まれたどうかをチェック + execute unless entity @s[tag=O1160.Inactive] positioned ~-0.5 ~ ~-0.5 as @e[type=#lib:living_without_player,dx=0] positioned ~ ~-0.8 ~ if entity @s[dx=0] run function asset:object/1160.electric_catfish/tick/check + execute positioned ~-0.5 ~ ~-0.5 if entity @e[type=#lib:living_without_player,tag=O1160.Candidate,dx=0] at @s run function asset:object/1160.electric_catfish/tick/attack.m with storage asset:context this + +# 足元にブロックがないなら消す + execute align y if block ~ ~-1 ~ #lib:no_collision/ run scoreboard players set @s General.Object.Tick 0 + +# 消滅処理 + execute if score @s General.Object.Tick matches ..0 run function asset:object/1160.electric_catfish/tick/kill diff --git a/Asset/data/asset/functions/object/1160.electric_catfish/tick/attack.m.mcfunction b/Asset/data/asset/functions/object/1160.electric_catfish/tick/attack.m.mcfunction new file mode 100644 index 00000000000..4e52ea42cad --- /dev/null +++ b/Asset/data/asset/functions/object/1160.electric_catfish/tick/attack.m.mcfunction @@ -0,0 +1,52 @@ +#> asset:object/1160.electric_catfish/tick/attack.m +# +# Objectのtick時の処理 +# +# @within asset:object/1160.electric_catfish/tick/** + +#> Private +# @private + #declare score_holder $O1160.UserID + +# シングルダメージセッション開始 + function api:damage/single_damage_session/open + +# ダメージ設定 + data modify storage api: Argument.Damage set from storage asset:context this.Damage + data modify storage api: Argument.AttackType set from storage asset:context this.AttackType + data modify storage api: Argument.ElementType set from storage asset:context this.ElementType + execute store result score $O1160.UserID Temporary run data get storage asset:context this.UserID + execute as @a if score @s UserID = $O1160.UserID Temporary run function api:damage/modifier + +# CandidateタグがついたランダムなEntityが対象 + tag @e[type=#lib:living_without_player,tag=O1160.Candidate,sort=random,limit=1] add O1160.SteppedOn + execute positioned ~-0.5 ~ ~-0.5 as @e[type=#lib:living_without_player,tag=O1160.SteppedOn,dx=0,sort=random,limit=1] run function api:damage/ + function api:damage/reset + +# 周囲のMobにもダメージ + $execute store result storage api: Argument.Damage double $(DamageMultiplier) run data get storage asset:context this.Damage + data modify storage api: Argument.AttackType set from storage asset:context this.AttackType + data modify storage api: Argument.ElementType set from storage asset:context this.ElementType + execute as @a if score @s UserID = $O1160.UserID Temporary run function api:damage/modifier + $execute positioned ~$(AttackRadius) ~ ~$(AttackRadius) as @e[type=#lib:living_without_player,tag=!O1160.SteppedOn,dx=$(AttackHitbox),dz=$(AttackHitbox)] positioned ~ ~-0.2 ~ if entity @s[dx=$(AttackHitbox),dz=$(AttackHitbox)] run function api:damage/ + function api:damage/reset + +# リセット + function api:damage/reset + execute positioned ~-0.5 ~ ~-0.5 run tag @e[type=#lib:living_without_player,tag=O1160.SteppedOn,dx=0,limit=1] remove O1160.SteppedOn + execute positioned ~-0.5 ~ ~-0.5 run tag @e[type=#lib:living_without_player,tag=O1160.Candidate,dx=0] remove O1160.Candidate + scoreboard players reset $O1160.UserID + +# 0.5秒のクールダウン + execute store result score @s O1160.Cooldown run data get storage asset:context this.AttackCooldown + tag @s add O1160.Inactive + +# 演出 + particle dust 1 1 0 2 ~ ~ ~ 1.5 0.1 1.5 0 100 + + playsound entity.player.hurt neutral @a ~ ~ ~ 2 0.5 + playsound entity.allay.hurt neutral @a ~ ~ ~ 2 2.0 + playsound enchant.thorns.hit neutral @a ~ ~ ~ 2 1.0 + +# シングルダメージセッション終了 + function api:damage/single_damage_session/close diff --git a/Asset/data/asset/functions/object/1160.electric_catfish/tick/check.mcfunction b/Asset/data/asset/functions/object/1160.electric_catfish/tick/check.mcfunction new file mode 100644 index 00000000000..2a4547d7bef --- /dev/null +++ b/Asset/data/asset/functions/object/1160.electric_catfish/tick/check.mcfunction @@ -0,0 +1,29 @@ +#> asset:object/1160.electric_catfish/tick/check +# +# +# +# @within asset:object/1160.electric_catfish/tick/** + +#> private +# @private + #declare score_holder $O1160.MotionX + #declare score_holder $O1160.MotionZ + +# thisにMotion保存 + data modify storage asset:context this.Motion set from entity @s Motion + +# 動いているなら踏んだ判定 + execute store result score $O1160.MotionX Temporary run data get storage asset:context this.Motion[0] 100 + execute store result score $O1160.MotionZ Temporary run data get storage asset:context this.Motion[2] 100 + + execute if score $O1160.MotionX Temporary matches ..-1 store result score $O1160.MotionX Temporary run data get storage asset:context this.Motion[0] -100 + execute if score $O1160.MotionZ Temporary matches ..-1 store result score $O1160.MotionZ Temporary run data get storage asset:context this.Motion[2] -100 + + scoreboard players operation $O1160.MotionX Temporary += $O1160.MotionZ Temporary + + execute if score $O1160.MotionX Temporary matches 1.. run tag @s add O1160.Candidate + +# リセット + data remove storage asset:context this.Motion + scoreboard players reset $O1160.MotionX + scoreboard players reset $O1160.MotionZ diff --git a/Asset/data/asset/functions/object/1160.electric_catfish/tick/kill.mcfunction b/Asset/data/asset/functions/object/1160.electric_catfish/tick/kill.mcfunction new file mode 100644 index 00000000000..402624143ee --- /dev/null +++ b/Asset/data/asset/functions/object/1160.electric_catfish/tick/kill.mcfunction @@ -0,0 +1,11 @@ +#> asset:object/1160.electric_catfish/tick/kill +# +# Object削除の処理 +# +# @within function asset:object/1160.electric_catfish/tick/ + +# 演出 + particle poof ~ ~0.5 ~ 0.1 0.1 0.1 0.05 5 + +# 消す + kill @s diff --git a/Asset/data/asset/functions/object/alias/1160/init.mcfunction b/Asset/data/asset/functions/object/alias/1160/init.mcfunction new file mode 100644 index 00000000000..3f38c93b29a --- /dev/null +++ b/Asset/data/asset/functions/object/alias/1160/init.mcfunction @@ -0,0 +1,8 @@ +#> asset:object/alias/1160/init +# +# Init処理のエイリアス +# +# @within asset_manager:object/init/init.m + +# 元のInit処理を呼び出す + function asset:object/1160.electric_catfish/init/ \ No newline at end of file diff --git a/Asset/data/asset/functions/object/alias/1160/register.mcfunction b/Asset/data/asset/functions/object/alias/1160/register.mcfunction new file mode 100644 index 00000000000..d0b9f30ca57 --- /dev/null +++ b/Asset/data/asset/functions/object/alias/1160/register.mcfunction @@ -0,0 +1,8 @@ +#> asset:object/alias/1160/register +# +# Objectのデータ指定処理のエイリアス +# +# @within asset_manager:object/summon/register.m + +# 元の登録処理を呼び出す + function asset:object/1160.electric_catfish/register \ No newline at end of file diff --git a/Asset/data/asset/functions/object/alias/1160/summon.mcfunction b/Asset/data/asset/functions/object/alias/1160/summon.mcfunction new file mode 100644 index 00000000000..6d0bd6c7135 --- /dev/null +++ b/Asset/data/asset/functions/object/alias/1160/summon.mcfunction @@ -0,0 +1,8 @@ +#> asset:object/alias/1160/summon +# +# Object召喚処理のエイリアス +# +# @within asset_manager:object/summon/summon.m + +# 元の召喚処理を呼び出す + function asset:object/1160.electric_catfish/summon/ \ No newline at end of file diff --git a/Asset/data/asset/functions/object/alias/1160/tick.mcfunction b/Asset/data/asset/functions/object/alias/1160/tick.mcfunction new file mode 100644 index 00000000000..fe042147217 --- /dev/null +++ b/Asset/data/asset/functions/object/alias/1160/tick.mcfunction @@ -0,0 +1,8 @@ +#> asset:object/alias/1160/tick +# +# Tick時処理のエイリアス +# +# @within asset_manager:object/tick/tick.m + +# 元のTick処理を呼び出す + function asset:object/1160.electric_catfish/tick/ \ No newline at end of file diff --git a/Asset/data/asset/tags/functions/artifact/click.carrot_on_a_stick.json b/Asset/data/asset/tags/functions/artifact/click.carrot_on_a_stick.json index 5586d3767c9..cd4b6b4b93b 100644 --- a/Asset/data/asset/tags/functions/artifact/click.carrot_on_a_stick.json +++ b/Asset/data/asset/tags/functions/artifact/click.carrot_on_a_stick.json @@ -1,5 +1,6 @@ { "values": [ + "asset:artifact/1464.call_electric_catfish/trigger/1.trigger", "asset:artifact/1555.shift_change/trigger/1.trigger", "asset:artifact/1636.mana_controller/trigger/1.trigger", "asset:artifact/1606.dimension_knife/click/1.trigger", diff --git a/Asset/data/asset/tags/functions/artifact/give.json b/Asset/data/asset/tags/functions/artifact/give.json index 954ac30ed58..12d225ab14c 100644 --- a/Asset/data/asset/tags/functions/artifact/give.json +++ b/Asset/data/asset/tags/functions/artifact/give.json @@ -1,5 +1,6 @@ { "values": [ + "asset:artifact/1464.call_electric_catfish/give/1.trigger", "asset:artifact/1555.shift_change/give/1.trigger", "asset:artifact/1469.insulator_boots/give/1.trigger", "asset:artifact/1468.insulator_leggings/give/1.trigger", diff --git a/Asset/data/asset/tags/functions/artifact/register.json b/Asset/data/asset/tags/functions/artifact/register.json index 4cbe6a79a72..fb1c24fce8f 100644 --- a/Asset/data/asset/tags/functions/artifact/register.json +++ b/Asset/data/asset/tags/functions/artifact/register.json @@ -1,5 +1,6 @@ { "values": [ + "asset:artifact/1464.call_electric_catfish/register", "asset:artifact/1555.shift_change/register", "asset:artifact/1466.insulator_helmet/register", "asset:artifact/1570.pile_of_accumulated_dust/register", diff --git a/Asset/data/asset/tags/functions/object/load.json b/Asset/data/asset/tags/functions/object/load.json index 370cd7f01be..3d8f2a2f731 100644 --- a/Asset/data/asset/tags/functions/object/load.json +++ b/Asset/data/asset/tags/functions/object/load.json @@ -1,5 +1,6 @@ { "values": [ + "asset:object/1160.electric_catfish/load", "asset:object/1061.azure_jelly/load", "asset:object/2251.wall_laser_clock/load", "asset:object/2212.eclael_upper_shot/load",