Date: 2024/08/27 04:44:50 UTC-07:00
Type: Denizen Script
on player opens cim_sel_menu:
- foreach <context.inventory.slot[<util.list_numbers[to=54]>]> as:slots:
- foreach <player.flag[discovery_cim_list].exclude[<player.flag[IsInCim]>]> as:cims:
- inventory set o:<item[stone].with_flag[cim_name:<location[<[cims]>].flag[cim_name]>].with_flag[cim_level:<location[<[cims]>].flag[cim_level]>].with_flag[cim_enter_price:<location[<[cims]>].flag[cim_enter_price]>].with_flag[cim_tp_price:<location[<[cims]>].flag[cim_tp_price]>].with_flag[cim_max_tp_use:<location[<[cims]>].flag[cim_max_tp_use]>]> slot:<[slots]>
- inventory adjust slot:<[slots]> "name:<&7>Cimetière de <&f><location[<[cims].flag[cim_name]>]>"
- define lore <list[<&nl><&nl>|<&7>Distance: <&f><server.flag[cim].lowest[distance[<player.location>]]> <&7>blocs|<&7>Coût de téléportation: <&f><location[<[cims].flag[cim_tp_price]>]>|<&nl><&nl>]>
- inventory adjust slot:<[slots]> lore:<[lore]>