This commit is contained in:
Anuken
2020-09-12 15:32:35 -04:00
parent b58b6c7361
commit e5ff429241
2 changed files with 10 additions and 6 deletions

View File

@@ -41,6 +41,11 @@ public class AndroidRhinoContext{
public Object getDynamicSecurityDomain(Object o){ public Object getDynamicSecurityDomain(Object o){
return null; return null;
} }
@Override
public Object callWithDomain(Object o, Context context, Callable callable, Scriptable scriptable, Scriptable scriptable1, Object[] objects){
return null;
}
}); });
AndroidContextFactory factory; AndroidContextFactory factory;

View File

@@ -1511,11 +1511,10 @@ public class Blocks implements ContentList{
size = 2; size = 2;
force = 4.5f; force = 4.5f;
scaledForce = 5.5f; scaledForce = 5.5f;
range = 170f; range = 110f;
damage = 0.1f; damage = 0.1f;
health = 160 * size * size; health = 160 * size * size;
rotateSpeed = 10; rotateSpeed = 10;
range = 85f;
consumes.powerCond(3f, (TractorBeamBuild e) -> e.target != null); consumes.powerCond(3f, (TractorBeamBuild e) -> e.target != null);
}}; }};
@@ -1564,15 +1563,15 @@ public class Blocks implements ContentList{
}}; }};
segment = new PointDefenseTurret("segment"){{ segment = new PointDefenseTurret("segment"){{
requirements(Category.turret, with(Items.silicon, 130, Items.thorium, 80, Items.phasefabric, 25)); requirements(Category.turret, with(Items.silicon, 130, Items.thorium, 80, Items.phasefabric, 40));
range = 125f; range = 140f;
hasPower = true; hasPower = true;
consumes.power(3f); consumes.power(3f);
size = 2; size = 2;
shootLength = 5f; shootLength = 5f;
bulletDamage = 18f; bulletDamage = 25f;
reloadTime = 11f; reloadTime = 10f;
health = 190 * size * size; health = 190 * size * size;
}}; }};