mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-03-02 03:39:21 +00:00
Add underground belt tier 2
This commit is contained in:
@@ -26,11 +26,13 @@ export class UndergroundBeltComponent extends Component {
|
||||
*
|
||||
* @param {object} param0
|
||||
* @param {enumUndergroundBeltMode=} param0.mode As which type of belt the entity acts
|
||||
* @param {number=} param0.tier
|
||||
*/
|
||||
constructor({ mode = enumUndergroundBeltMode.sender }) {
|
||||
constructor({ mode = enumUndergroundBeltMode.sender, tier = 0 }) {
|
||||
super();
|
||||
|
||||
this.mode = mode;
|
||||
this.tier = tier;
|
||||
|
||||
/**
|
||||
* Used on both receiver and sender.
|
||||
@@ -57,7 +59,7 @@ export class UndergroundBeltComponent extends Component {
|
||||
return false;
|
||||
}
|
||||
|
||||
this.pendingItems.push([item, 1 / beltSpeed]);
|
||||
this.pendingItems.push([item, 0.5 / beltSpeed]);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user