Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

# 猫の場合死ぬ
# 現状だとCTがないので特に条件を考えずに実装している
execute if predicate player_manager:is_believe/nyaptov run function asset:artifact/0003.humanity/trigger/nyaptov
execute if function api:entity/player/is_believe/nyaptov run function asset:artifact/0003.humanity/trigger/nyaptov

# CanUsedタグをチェックして3.main.mcfunctionを実行する
execute if entity @s[tag=CanUsed] run function asset:artifact/0003.humanity/trigger/3.main
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
give @s glass_bottle 1

# 信仰神検知
execute if predicate player_manager:is_believe/urban run scoreboard players set $7.IsPeace Temporary 0
execute if predicate player_manager:is_believe/wi-ki run scoreboard players set $7.IsPeace Temporary 0
execute if predicate player_manager:is_believe/null run scoreboard players set $7.IsPeace Temporary 1
execute if predicate player_manager:is_believe/flora run scoreboard players set $7.IsPeace Temporary 1
execute if predicate player_manager:is_believe/nyaptov run scoreboard players set $7.IsPeace Temporary 1
execute if predicate player_manager:is_believe/rumor run scoreboard players set $7.IsPeace Temporary 1
execute if function api:entity/player/is_believe/urban run scoreboard players set $7.IsPeace Temporary 0
execute if function api:entity/player/is_believe/wi-ki run scoreboard players set $7.IsPeace Temporary 0
execute if function api:entity/player/is_believe/none run scoreboard players set $7.IsPeace Temporary 1
execute if function api:entity/player/is_believe/flora run scoreboard players set $7.IsPeace Temporary 1
execute if function api:entity/player/is_believe/nyaptov run scoreboard players set $7.IsPeace Temporary 1
execute if function api:entity/player/is_believe/rumor run scoreboard players set $7.IsPeace Temporary 1

# アイテム付与
execute if score $7.IsPeace Temporary matches 0 run give @s gunpowder 1
Expand Down
Loading