Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -84,6 +84,10 @@ public class EntityGroup<T extends Entityc> implements Iterable<T>{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Seq<T> copy(){
|
||||||
|
return copy(new Seq<>());
|
||||||
|
}
|
||||||
|
|
||||||
public Seq<T> copy(Seq<T> arr){
|
public Seq<T> copy(Seq<T> arr){
|
||||||
arr.addAll(array);
|
arr.addAll(array);
|
||||||
return arr;
|
return arr;
|
||||||
|
|||||||
@@ -1324,7 +1324,7 @@ abstract class BuildingComp implements Posc, Teamc, Healthc, Buildingc, Timerc,
|
|||||||
//I really do not like that the bullet will not destroy derelict
|
//I really do not like that the bullet will not destroy derelict
|
||||||
//but I can't do anything about it without using a random team
|
//but I can't do anything about it without using a random team
|
||||||
//which may or may not cause issues with servers and js
|
//which may or may not cause issues with servers and js
|
||||||
block.destroyBullet.create(this, Team.derelict, x, y, 0);
|
block.destroyBullet.create(this, block.destroyBulletSameTeam ? team : Team.derelict, x, y, Mathf.randomSeed(id(), 360f));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -197,7 +197,7 @@ public class PlayerListFragment{
|
|||||||
}
|
}
|
||||||
|
|
||||||
//there's generally no reason to team switch outside PvP or sandbox, and it's basically an easy way to cheat
|
//there's generally no reason to team switch outside PvP or sandbox, and it's basically an easy way to cheat
|
||||||
if(state.rules.pvp || state.rules.infiniteResources){
|
if(!state.isCampaign() && (state.rules.pvp || state.rules.infiniteResources)){
|
||||||
t.button("@player.team", Icon.redo, bstyle, () -> {
|
t.button("@player.team", Icon.redo, bstyle, () -> {
|
||||||
var teamSelect = new BaseDialog(Core.bundle.get("player.team") + ": " + user.name);
|
var teamSelect = new BaseDialog(Core.bundle.get("player.team") + ": " + user.name);
|
||||||
teamSelect.setFillParent(false);
|
teamSelect.setFillParent(false);
|
||||||
|
|||||||
@@ -170,6 +170,8 @@ public class Block extends UnlockableContent implements Senseable{
|
|||||||
public float baseExplosiveness = 0f;
|
public float baseExplosiveness = 0f;
|
||||||
/** bullet that this block spawns when destroyed */
|
/** bullet that this block spawns when destroyed */
|
||||||
public @Nullable BulletType destroyBullet = null;
|
public @Nullable BulletType destroyBullet = null;
|
||||||
|
/** if true, destroyBullet is spawned on the block's team instead of Derelict team */
|
||||||
|
public boolean destroyBulletSameTeam = false;
|
||||||
/** liquid used for lighting */
|
/** liquid used for lighting */
|
||||||
public @Nullable Liquid lightLiquid;
|
public @Nullable Liquid lightLiquid;
|
||||||
/** whether cracks are drawn when this block is damaged */
|
/** whether cracks are drawn when this block is damaged */
|
||||||
|
|||||||
+9
-1
@@ -73,7 +73,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Phoenix Network",
|
"name": "Phoenix Network",
|
||||||
"address": ["phoenix-network.dev", "phoenix-network.dev:6464"]
|
"address": ["phoenix-network.dev", "phoenix-network.dev:6464", "phoenix-network.dev:2023"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Xpdustry",
|
"name": "Xpdustry",
|
||||||
@@ -180,8 +180,16 @@
|
|||||||
"address": ["event.baseduser.eu.org"],
|
"address": ["event.baseduser.eu.org"],
|
||||||
"prioritized": true
|
"prioritized": true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "Cyandustry",
|
||||||
|
"address": ["91.218.66.162:6568"],
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "Four Family",
|
"name": "Four Family",
|
||||||
"address": ["118.127.8.162:25503"]
|
"address": ["118.127.8.162:25503"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "ToxoFlame",
|
||||||
|
"address": ["193.233.133.223", "193.233.133.223:6568"]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user