File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- namespace SER . Code . Examples ;
1+ using JetBrains . Annotations ;
22
3+ namespace SER . Code . Examples ;
4+
5+ [ UsedImplicitly ]
36public class BreachScript : Example
47{
58 public override string Name => "breach" ;
69
710 public override string Content =>
811 """
912 !-- CustomCommand breach
13+ -- availableFor Server RemoteAdmin
1014
1115 Cassie jingle "Containment breach detected . All heavy containment doors locked ." ""
1216
1317 CloseDoor HeavyContainment
14- LockDoor HeavyContainment 30s
18+ LockDoor HeavyContainment
1519
1620 Wait 30s
1721
Original file line number Diff line number Diff line change 1- namespace SER . Code . Examples ;
1+ using JetBrains . Annotations ;
22
3+ namespace SER . Code . Examples ;
4+
5+ [ UsedImplicitly ]
36public class GnomingTimeScript : Example
47{
58 public override string Name => "gnomingTime" ;
@@ -14,14 +17,14 @@ public class GnomingTimeScript : Example
1417
1518 @plr = @evAttacker
1619
17- # lower scale by .1 when killing someone
18- SetSize @plr ({@plr scaleX } - .1) ({@plr scaleY } - .1) ({@plr scaleZ } - .1)
20+ # lower size by .1 when killing someone
21+ SetSize @plr ({@plr sizeX } - .1) ({@plr sizeY } - .1) ({@plr sizeZ } - .1)
1922 Hint @plr 5s "KILLED PLAYER - IT'S GNOMING TIME!"
2023
2124 Wait 15s
2225
2326 # return them to normal
24- SetSize @plr ({@plr scaleX } + .1) ({@plr scaleY } + .1) ({@plr scaleZ } + .1)
27+ SetSize @plr ({@plr sizeX } + .1) ({@plr sizeY } + .1) ({@plr sizeZ } + .1)
2528 Hint @plr 5s "Gnoming potential depleted :("
2629 """ ;
2730}
Original file line number Diff line number Diff line change @@ -20,8 +20,7 @@ GiveItem @potatoCarrier GunA7
2020 Wait 3s
2121
2222 # Check if they still have the item (GunA7) in their inventory
23- &inv = {@potatoCarrier inventory}
24- over &inv
23+ over {@potatoCarrier inventory}
2524 with *item
2625
2726 if {ItemInfo *item type} isnt "GunA7"
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ public class PinataLootScript : Example
1818 stop
1919 end
2020
21- # Trigger only with 25 % chance
22- if {Chance 25 %} is false
21+ # Trigger only with 5 % chance
22+ if {Chance 5 %} is false
2323 stop
2424 end
2525
You can’t perform that action at this time.
0 commit comments