Skip to content

Commit

Permalink
1 beta
Browse files Browse the repository at this point in the history
  • Loading branch information
paulieg626 committed Aug 13, 2020
1 parent be327a8 commit 1a00d59
Show file tree
Hide file tree
Showing 14 changed files with 46 additions and 0 deletions.
7 changes: 7 additions & 0 deletions content/blocks/item.hjson
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: "[#999900]Источник предметов [#ff0000][Читы]"
size: 1
hasItems: true
update: true
solid: true
group: transportation
configurable: true
7 changes: 7 additions & 0 deletions content/blocks/liquid.hjson
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: "[#999900]Источник жидкости [#ff0000][Чит]"
size: 1
hasLiquids: true
update: true
solid: true
outputsLiquid: true
configurable: true
5 changes: 5 additions & 0 deletions content/blocks/power.hjson
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name: "[#999900]Источник энергии [#ff0000][Читы]"
size: 1
maxNodes: 100
outputsPower: true
consumesPower: false
2 changes: 2 additions & 0 deletions content/blocks/wall.hjson
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
name:"[#999900]Стена богов [#ff0000][Чит]"
size:1
6 changes: 6 additions & 0 deletions mod.hjson
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
displayName:"[#ff0000]Читерский мод"
name:"cheat"
description:"[green]Добавляет разные штуки для читов"
author:"[blue]paulieg626"
version:"1beta"
dependencies:[]
4 changes: 4 additions & 0 deletions scripts/blocks/item.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
speed = 10;
const item=extendContent(ItemSource,"item", {});
item.health = 999999999;
item.requirements(Category.distribution,ItemStack.with(Items.copper,0),true);
4 changes: 4 additions & 0 deletions scripts/blocks/liquid.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
speed = 10;
const liquid=extendContent(LiquidSource,"liquid", {});
liquid.health = 999999999;
liquid.requirements(Category.liquid,ItemStack.with(Items.copper,0),true);
3 changes: 3 additions & 0 deletions scripts/blocks/power.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
const power=extendContent(PowerSource,"power", {});
power.health = 999999999;
power.requirements(Category.power,ItemStack.with(Items.copper,0),true);
3 changes: 3 additions & 0 deletions scripts/blocks/wall.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
const wall=extendContent(Wall,"wall", {});
wall.health = 999999999;
wall.requirements(Category.defense,ItemStack.with(Items.copper,0),true);
5 changes: 5 additions & 0 deletions scripts/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
require("blocks/item");
require("blocks/liquid");
require("blocks/power");
require("blocks/wall");
print("Загружено: 4 скрипта");
Binary file added sprites/blocks/item.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added sprites/blocks/liquid.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added sprites/blocks/power.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added sprites/blocks/wall.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1a00d59

Please sign in to comment.