Commit 4c3ea786 authored by Atsukio's avatar Atsukio 🐬

Town - Commented help message for "ptc", modified map command to work with new skript

parent d97fe54e
......@@ -53,7 +53,7 @@ command /potatotown <text="help"> [<text>]:
message "&e/ptown desc <text> - &aChanges the description of the town"
message "&e/ptown sethome - &aSet the town's home to where you stand"
message "&e/ptown home - &aTeleport to your town's home location"
message "&e/ptc <text> - &aSends a message to your online members"
#message "&e/ptc <text> - &aSends a message to your online members"
message "&e/ptown help 4 &aFor next page"
if arg 2 is "4":
message "&6-------------------Potato Town (&e4&6/&e4&6)-------------------"
......@@ -1069,7 +1069,10 @@ command /potatotown <text="help"> [<text>]:
loop 19 times:
set {_x} to {_mapX} * 16
set {_y} to {_mapY} * 16
set {_chunk} to chunk at block {_y} blocks north {_x} blocks west of player
#set {_chunk} to chunk at block {_y} blocks north {_x} blocks west of player
set {_block} to block {_y} north of player
set {_block} to block {_x} west of {_block}
set {_chunk} to chunk at {_block}
if {ptownlist.chunk::%{_chunk}%} is set:
if {_chunk} is not chunk at player:
if {ptownlist.chunk::%{_chunk}%} is {ptown.%player%}:
......@@ -1557,22 +1560,28 @@ on any movement:
if {ptownlist.chunk::%chunk of player%} is not set:
set walk speed of player to 0.2
if {language.%player%} is "chinese":
send player title "&a荒野区域" with subtitle "" for 2 seconds with 0.5 second fade in and 0.5 second fade out
#send player title "&a荒野区域" with subtitle "" for 2 seconds with 0.5 second fade in and 0.5 second fade out
show a title from "&a荒野区域" and subtitle "" to player for 2 seconds and 10 ticks fade in and 10 ticks fade out
if {language.%player%} is "english":
send player title "&a&lWilderness" with subtitle "" for 2 seconds with 0.5 second fade in and 0.5 second fade out
#send player title "&a&lWilderness" with subtitle "" for 2 seconds with 0.5 second fade in and 0.5 second fade out
show a title from "&a&lWilderness" and subtitle "" to player for 2 seconds and 10 ticks fade in and 10 ticks fade out
stop
if {ptownlist.chunk::%chunk of player%} is "Safezone":
set walk speed of player to 0.5
if {language.%player%} is "chinese":
send player title "&a重生区域" with subtitle "Safezone" for 2 seconds with 0.5 second fade in and 0.5 second fade out
#send player title "&a重生区域" with subtitle "Safezone" for 2 seconds with 0.5 second fade in and 0.5 second fade out
show a title from "&a重生区域" and subtitle "Safezone" to player for 2 seconds and 10 ticks fade in and 10 ticks fade out
if {language.%player%} is "english":
send player title "&a&lSpawn" with subtitle "Safezone" for 2 seconds with 0.5 second fade in and 0.5 second fade out
#send player title "&a&lSpawn" with subtitle "Safezone" for 2 seconds with 0.5 second fade in and 0.5 second fade out
show a title from "&a&lSpawn" and subtitle "Safezone" to player for 2 seconds and 10 ticks fade in and 10 ticks fade out
stop
set walk speed of player to 0.2
if {language.%player%} is "chinese":
send player title "&a%{_ptowncurrentlocation}%" with subtitle "%{ptown.%{_ptowncurrentlocation}%.desc}%" for 2 seconds with 0.5 second fade in and 0.5 second fade out
#send player title "&a%{_ptowncurrentlocation}%" with subtitle "%{ptown.%{_ptowncurrentlocation}%.desc}%" for 2 seconds with 0.5 second fade in and 0.5 second fade out
show a title from "&a%{_ptowncurrentlocation}%" and subtitle "%{ptown.%{_ptowncurrentlocation}%.desc}%" to player for 2 seconds and 10 ticks fade in and 10 ticks fade out
message "[&6PTown&f] 您正在进入 %{_ptowncurrentlocation}%"
if {language.%player%} is "english":
send player title "&a%{_ptowncurrentlocation}%" with subtitle "%{ptown.%{_ptowncurrentlocation}%.desc}%" for 2 seconds with 0.5 second fade in and 0.5 second fade out
#send player title "&a%{_ptowncurrentlocation}%" with subtitle "%{ptown.%{_ptowncurrentlocation}%.desc}%" for 2 seconds with 0.5 second fade in and 0.5 second fade out
show a title from "&a%{_ptowncurrentlocation}%" and subtitle "%{ptown.%{_ptowncurrentlocation}%.desc}%" to player for 2 seconds and 10 ticks fade in and 10 ticks fade out
message "[&6PTown&f] You are now entering %{_ptowncurrentlocation}%"
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment