Skip to content

Commit 108d0aa

Browse files
committed
Initial conversion
1 parent ccf431b commit 108d0aa

815 files changed

Lines changed: 5213 additions & 5208 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/main/java/ch/njol/skript/conditions/CondAI.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
import ch.njol.skript.doc.Name;
99
import ch.njol.skript.doc.Since;
1010

11-
@Name("Has AI")
12-
@Description("Checks whether an entity has AI.")
11+
@Name("Hath Artificial Intelligence")
12+
@Description("Doth ascertain whether an entity possesseth artificial intelligence.")
1313
@Example("target entity has ai")
1414
@Since("2.5")
1515
public class CondAI extends PropertyCondition<LivingEntity> {
1616

1717
static {
18-
register(CondAI.class, PropertyType.HAVE, "(ai|artificial intelligence)", "livingentities");
18+
register(CondAI.class, PropertyType.HAVE, "(ai|artificial intelligence|a cunning mind)", "livingentities");
1919
}
2020

2121
@Override

src/main/java/ch/njol/skript/conditions/CondAllayCanDuplicate.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
import org.bukkit.entity.Allay;
99
import org.bukkit.entity.LivingEntity;
1010

11-
@Name("Allay Can Duplicate")
12-
@Description("Checks to see if an allay is able to duplicate naturally.")
11+
@Name("Allay May Beget a Twin")
12+
@Description("Doth verify whether an allay is able to duplicate itself by nature's own course.")
1313
@Example("""
1414
if last spawned allay can duplicate:
1515
disallow last spawned to duplicate
@@ -18,7 +18,7 @@
1818
public class CondAllayCanDuplicate extends PropertyCondition<LivingEntity> {
1919

2020
static {
21-
register(CondAllayCanDuplicate.class, PropertyType.CAN, "(duplicate|clone)", "livingentities");
21+
register(CondAllayCanDuplicate.class, PropertyType.CAN, "(duplicate|clone|beget a twin)", "livingentities");
2222
}
2323

2424
@Override

src/main/java/ch/njol/skript/conditions/CondAlphanumeric.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,19 @@
1616
import ch.njol.skript.lang.SkriptParser.ParseResult;
1717
import ch.njol.util.Kleenean;
1818

19-
@Name("Alphanumeric")
20-
@Description({"Checks if the given string is alphanumeric."})
19+
@Name("Of Letters and Numerals")
20+
@Description({"Doth examine whether the given string be composed solely of letters and numerals."})
2121
@Example("""
22-
if the argument is not alphanumeric:
23-
send "Invalid name!"
24-
""")
22+
if the argument is not of letters and numerals:
23+
send "Invalid name!"
24+
""")
2525
@Since("2.4")
2626
public class CondAlphanumeric extends Condition {
2727

2828
static {
2929
Skript.registerCondition(CondAlphanumeric.class,
30-
"%strings% (is|are) alphanumeric",
31-
"%strings% (isn't|is not|aren't|are not) alphanumeric");
30+
"%strings% (is|are) of letters and numerals",
31+
"%strings% (isn't|is not|aren't|are not) of letters and numerals");
3232
}
3333

3434
@SuppressWarnings("null")

src/main/java/ch/njol/skript/conditions/CondAnchorWorks.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414
import org.bukkit.event.Event;
1515
import org.jetbrains.annotations.Nullable;
1616

17-
@Name("Do Respawn Anchors Work")
18-
@Description("Checks whether or not respawn anchors work in a world.")
19-
@Example("respawn anchors work in world \"world_nether\"")
17+
@Name("Do Respawn Anchors Function")
18+
@Description("Doth ascertain whether respawn anchors shall function within a given world.")
19+
@Example("respawn anchors function in world \"world_nether\"")
2020
@RequiredPlugins("Minecraft 1.16+")
2121
@Since("2.7")
2222
public class CondAnchorWorks extends Condition {
2323

2424
static {
25-
Skript.registerCondition(CondAnchorWorks.class, "respawn anchors [do[1:(n't| not)]] work in %worlds%");
25+
Skript.registerCondition(CondAnchorWorks.class, "respawn anchors [do[1:(n't| not)]] function in %worlds%");
2626
}
2727

2828
@SuppressWarnings("NotNullFieldNotInitialized")

src/main/java/ch/njol/skript/conditions/CondCanFly.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
import ch.njol.skript.doc.Name;
99
import ch.njol.skript.doc.Since;
1010

11-
@Name("Can Fly")
12-
@Description("Whether a player is allowed to fly.")
13-
@Example("player can fly")
11+
@Name("May Take to the Skies")
12+
@Description("Whether a player is permitted to soar through the heavens.")
13+
@Example("player can take to the skies")
1414
@Since("2.3")
1515
public class CondCanFly extends PropertyCondition<Player> {
1616

1717
static {
18-
register(CondCanFly.class, PropertyType.CAN, "fly", "players");
18+
register(CondCanFly.class, PropertyType.CAN, "take to the skies", "players");
1919
}
2020

2121
@Override

src/main/java/ch/njol/skript/conditions/CondCanHold.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,17 @@
2323
/**
2424
* @author Peter Güttinger
2525
*/
26-
@Name("Can Hold")
27-
@Description("Tests whether a player or a chest can hold the given item.")
26+
@Name("May Contain Within")
27+
@Description("Doth test whether a player or a chest may harbour the given wares within.")
2828
@Example("block can hold 200 cobblestone")
29-
@Example("player has enough space for 64 feathers")
29+
@Example("player has sufficient room for 64 feathers")
3030
@Since("1.0")
3131
public class CondCanHold extends Condition {
3232

3333
static {
3434
Skript.registerCondition(CondCanHold.class,
35-
"%inventories% (can hold|ha(s|ve) [enough] space (for|to hold)) %itemtypes%",
36-
"%inventories% (can(no|')t hold|(ha(s|ve) not|ha(s|ve)n't|do[es]n't have) [enough] space (for|to hold)) %itemtypes%");
35+
"%inventories% (can hold|ha(s|ve) [sufficient] room (for|to hold)) %itemtypes%",
36+
"%inventories% (can(no|')t hold|(ha(s|ve) not|ha(s|ve)n't|do[es]n't have) [sufficient] room (for|to hold)) %itemtypes%");
3737
}
3838

3939
@SuppressWarnings("null")

src/main/java/ch/njol/skript/conditions/CondCanPickUpItems.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,22 @@
77
import ch.njol.skript.doc.Since;
88
import org.bukkit.entity.LivingEntity;
99

10-
@Name("Can Pick Up Items")
11-
@Description("Whether living entities are able to pick up items off the ground or not.")
10+
@Name("May Gather Up Wares")
11+
@Description("Whether living entities art able to gather up wares from the ground or nay.")
1212
@Example("""
13-
if player can pick items up:
14-
send "You can pick up items!" to player
15-
""")
13+
if player can gather up wares:
14+
send "You can pick up items!" to player
15+
""")
1616
@Example("""
17-
on drop:
18-
if player can't pick up items:
19-
send "Be careful, you won't be able to pick that up!" to player
20-
""")
17+
on drop:
18+
if player can't gather up wares:
19+
send "Be careful, you won't be able to pick that up!" to player
20+
""")
2121
@Since("2.8.0")
2222
public class CondCanPickUpItems extends PropertyCondition<LivingEntity> {
2323

2424
static {
25-
register(CondCanPickUpItems.class, PropertyType.CAN, "pick([ ]up items| items up)", "livingentities");
25+
register(CondCanPickUpItems.class, PropertyType.CAN, "gather([ ]up wares| wares up)", "livingentities");
2626
}
2727

2828
@Override

src/main/java/ch/njol/skript/conditions/CondCanSee.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,26 @@
1313
import org.bukkit.event.Event;
1414
import org.jetbrains.annotations.Nullable;
1515

16-
@Name("Can See")
17-
@Description("Checks whether the given players can see the provided entities.")
16+
@Name("May Perceive")
17+
@Description("Doth verify whether the given players can perceive the provided entities.")
1818
@Example("""
19-
if sender can't see the player-argument:
20-
message "who dat?"
21-
""")
19+
if sender can't perceive the player-argument:
20+
message "who dat?"
21+
""")
2222
@Example("""
23-
if the player can see the last spawned entity:
24-
message "hello there!"
25-
""")
23+
if the player can perceive the last spawned entity:
24+
message "hello there!"
25+
""")
2626
@Since("2.3, 2.10 (entities)")
2727
@RequiredPlugins("Minecraft 1.19+ (entities)")
2828
public class CondCanSee extends Condition {
2929

3030
static {
3131
Skript.registerCondition(CondCanSee.class,
32-
"%entities% (is|are) [visible|:invisible] for %players%",
33-
"%players% can see %entities%",
34-
"%entities% (is|are)(n't| not) [visible|:invisible] for %players%",
35-
"%players% can('t| not) see %entities%");
32+
"%entities% (is|are) [visible|:invisible] unto %players%",
33+
"%players% can perceive %entities%",
34+
"%entities% (is|are)(n't| not) [visible|:invisible] unto %players%",
35+
"%players% can('t| not) perceive %entities%");
3636
}
3737

3838
@SuppressWarnings("null")

src/main/java/ch/njol/skript/conditions/CondCancelled.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,20 @@
1313
import org.bukkit.event.Event;
1414
import org.jetbrains.annotations.Nullable;
1515

16-
@Name("Event Cancelled")
17-
@Description("Checks whether or not the event is cancelled.")
16+
@Name("Occasion Annull'd")
17+
@Description("Doth examine whether the occasion hath been annull'd or nay.")
1818
@Example("""
19-
on click:
20-
if event is cancelled:
21-
broadcast "no clicks allowed!"
22-
""")
19+
on click:
20+
if occasion is annull'd:
21+
broadcast "no clicks allowed!"
22+
""")
2323
@Since("2.2-dev36")
2424
public class CondCancelled extends Condition {
2525

2626
static {
2727
Skript.registerCondition(CondCancelled.class,
28-
"[the] event is cancel[l]ed",
29-
"[the] event (is not|isn't) cancel[l]ed"
28+
"[the] occasion is annull'd",
29+
"[the] occasion (is not|isn't) annull'd"
3030
);
3131
}
3232

src/main/java/ch/njol/skript/conditions/CondChance.java

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,26 @@
1414
import org.bukkit.event.Event;
1515
import org.jetbrains.annotations.Nullable;
1616

17-
@Name("Chance")
17+
@Name("Fortune's Favour")
1818
@Description("""
19-
A condition that randomly succeeds or fails.
20-
Valid values are between 0% and 100%, or if the percent sign is omitted, between 0 and 1.
21-
""")
19+
A condition that doth randomly succeed or fail, as Fortune wills it.
20+
Valid values art between 0% and 100%, or if the percent sign be omitted, between 0 and 1.
21+
""")
2222
@Example("""
23-
chance of 50%:
24-
drop a diamond at location(100, 100, 100, "world')
25-
""")
26-
@Example("chance of {chance}% # {chance} between 0 and 100")
27-
@Example("chance of {chance} # {chance} between 0 and 1")
23+
fortune of 50%:
24+
drop a diamond at location(100, 100, 100, "world')
25+
""")
26+
@Example("fortune of {chance}% # {chance} between 0 and 100")
27+
@Example("fortune of {chance} # {chance} between 0 and 1")
2828
@Example("""
29-
if chance of 99% fails:
30-
broadcast "Haha loser! *points and laughs*"
31-
""")
29+
if fortune of 99% fails:
30+
broadcast "Haha loser! *points and laughs*"
31+
""")
3232
@Since("1.0, 2.14 (chance fails)")
3333
public class CondChance extends Condition {
3434

3535
static {
36-
Skript.registerCondition(CondChance.class, "chance of %number%(1:\\%|) [fail:(fails|failed)]");
36+
Skript.registerCondition(CondChance.class, "fortune of %number%(1:\\%|) [fail:(fails|failed)]");
3737
}
3838

3939
private Expression<Number> chance;

0 commit comments

Comments
 (0)