You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
586 B
22 lines
586 B
3 years ago
|
// @ts-nocheck
|
||
|
const METADATA = {
|
||
|
website: "https://tobspr.io",
|
||
|
author: "tobspr",
|
||
|
name: "Sandbox",
|
||
|
version: "1",
|
||
|
id: "sandbox",
|
||
|
description: "Blueprints are always unlocked and cost no money, also all buildings are unlocked",
|
||
|
minimumGameVersion: ">=1.5.0",
|
||
|
};
|
||
|
|
||
|
class Mod extends shapez.Mod {
|
||
|
init() {
|
||
|
this.modInterface.replaceMethod(shapez.Blueprint, "getCost", function () {
|
||
|
return 0;
|
||
|
});
|
||
|
this.modInterface.replaceMethod(shapez.HubGoals, "isRewardUnlocked", function () {
|
||
|
return true;
|
||
|
});
|
||
|
}
|
||
|
}
|