Removed problems from old Denizen code
This commit is contained in:
@@ -57,7 +57,7 @@ gui_restore_world:
|
||||
- if <context.inventory.title.starts_with[<script[gui_restore_config].data_key[special_chars].parsed>]>:
|
||||
- run gui_restore_save def.player:<player>
|
||||
- if <context.inventory.inventory_type> == anvil:
|
||||
- run gui_restore_save def.player:<player>
|
||||
- run gui_restore_save def.player:<player>
|
||||
on player closes inventory bukkit_priority:lowest:
|
||||
- if <player.has_flag[gui_restore]>:
|
||||
- run gui_restore_load def.player:<player>
|
||||
|
||||
@@ -61,15 +61,15 @@ textbox_write:
|
||||
- playsound sound:textbox.text <[player]> custom pitch:<util.random.decimal[0.98].to[1]>
|
||||
- wait 1t
|
||||
- if <[line].substring[<[value].add[1]>,<[value].add[1]>].trim.length.if_null[1]> == 0:
|
||||
- if <[line].substring[<[value]>,<[value]>]> == ".":
|
||||
- if <[line].substring[<[value]>,<[value]>]> == .:
|
||||
- wait 2t
|
||||
- if <[line].substring[<[value]>,<[value]>]> == "!":
|
||||
- if <[line].substring[<[value]>,<[value]>]> == !:
|
||||
- wait 2t
|
||||
- if <[line].substring[<[value]>,<[value]>]> == "?":
|
||||
- if <[line].substring[<[value]>,<[value]>]> == ?:
|
||||
- wait 2t
|
||||
- if <[line].substring[<[value]>,<[value]>]> == "-":
|
||||
- if <[line].substring[<[value]>,<[value]>]> == -:
|
||||
- wait 2t
|
||||
- if <[line].substring[<[value]>,<[value]>]> == ",":
|
||||
- if <[line].substring[<[value]>,<[value]>]> == ,:
|
||||
- wait 2t
|
||||
- wait <duration[1t]>
|
||||
- if <[player].flag[textbox_state].if_null[null]> != writing:
|
||||
|
||||
Reference in New Issue
Block a user