Skip to content

Commit

Permalink
version 1.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
younggam committed Aug 23, 2020
1 parent 53e914b commit 21576cc
Show file tree
Hide file tree
Showing 26 changed files with 954 additions and 832 deletions.
48 changes: 48 additions & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"esversion":6,
"shadow":true,
"sub":true,
"loopfunc":true,
"unused":true,
"undef":true,
"globals":{
"print":true,
"extendContent":true,
"extend":true,
"run":true,
"boolf":true,
"boolp":true,
"floatf":true,
"floatp":true,
"cons":true,
"prov":true,
"func":true,
"newEffect":true,
"Call":true,
"GenericCrafter":true,
"ObjectSet":true,
"BlockInventoryFragment":true,
"Mathf":true,
"Time":true,
"Effects":true,
"ReqImage":true,
"ItemImage":true,
"Cicon":true,
"Icon":true,
"BlockStat":true,
"StatUnit":true,
"Core":true,
"Bar":true,
"Pal":true,
"Vars":true,
"ContentType":true,
"ItemStack":true,
"LiquidStack":true,
"ButtonGroup":true,
"Tex":true,
"Styles":true,
"TextureRegionDrawable":true,
"ConsumePower":true,
"require":true
}
}
9 changes: 7 additions & 2 deletions bundles/bundle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
steam-power-heat-per-sec=heat/sec
steam-power-heat-cond=above {0} heat
steam-power-matter-disintegrator-dialog-0=Current State
steam-power-matter-disintegrator-dialog-1=Values
steam-power-matter-disintegrator-title-0=Container Requirement
Expand Down Expand Up @@ -42,7 +43,7 @@ block.steam-power-electric-burner.description=Heats up using power.\n\n[red]Heat
block.steam-power-heat-regulator.name=Heat Regulator
block.steam-power-heat-regulator.description=Uses power to control the surrounding heat givers. You can configure the upper limit. The higher the current heat, the more power it consumes. Handles up to 30 heat per second.\n\n[red]Heat Block. Explodes when heat goes over 500.\nHeat decreases by 5% per sec of current heat.\nThe lower limit is 25.
block.steam-power-metal-smelter.name=Metal Smelter
block.steam-power-metal-smelter.description=Smelts advanced alloys.
block.steam-power-metal-smelter.description=Smelts advanced alloys.\n\n[red]Heat Block. Explodes when heat goes over 1500.\nHeat decreases by 5% per sec of current heat.\nThe lower limit is 25.
block.steam-power-missile-factory.name=Missile Factory
block.steam-power-missile-factory.description=A missile factory.
block.steam-power-semiconductor-plant.name=Semiconductor Plant
Expand Down Expand Up @@ -82,9 +83,11 @@ block.steam-power-dense-alloy-wall.description=Dense Alloy Wall. Strong against
block.steam-power-heat-bridge.name=Heat Bridge
block.steam-power-heat-bridge.description=Use to transport heat over long distances.\n\n[red]Heat Block. Explodes when heat goes over 500.\nHeat decreases by 1% per sec of current heat.\nThe lower limit is 25.
block.steam-power-heat-phase-bridge.name=Heat Phase Bridge
block.steam-power-heat-phase-bridge.description=Use to transport heat over very long distances.\n\n[red]Heat Block. Explodes when heat goes over 1000.\nHeat decreases by 0.5% per sec of current heat.\nThe lower limit is 25.
block.steam-power-heat-phase-bridge.description=Use to transport heat over very long distances.\n\n[red]Heat Block. Explodes when heat goes over 1000.\nHeat decreases by 5% per sec of current heat.\nThe lower limit is 25.
block.steam-power-teleporter.name=Teleporter
block.steam-power-teleporter.description=Advanced item transport block. Teleporters input items to other teleporters of the same color. Does nothing if no teleporters of the same color exist. If multiple teleporters exist of the same color, a random one is selected. Uses power. Tap to change color.
block.steam-power-matter-disintegrator.name=Matter Disintegrator
block.steam-power-matter-disintegrator.description=Disintegrates matter to quantum unit. If heat is over 500 boost goes up to +200%.\n\n[red]Heat Block. Explodes when heat goes over 3000.\nHeat decreases by 5% per sec of current heat.\nThe lower limit is 25.
item.steam-power-armor-piercing-shell.name=AP
item.steam-power-armor-piercing-shell.description=Armor Piercing Shell.
Expand Down Expand Up @@ -130,6 +133,8 @@ item.steam-power-uranium.name=Uranium
item.steam-power-uranium.description=Enriched Uranium.
item.steam-power-quantum-mass.name=Quantum Mass
item.steam-power-quantum-mass.description=Quantum Mass. Set of quantums that state is quark and lepton. Holded in solid container that maintains the state.
item.steam-power-dimension-armour.name=Dimension Armour
item.steam-power-dimension-armour.description=Dimension Armour. Armour made by organizing from quantum level. It is light and strong since inner structure is special.
unit.steam-power-draug-a.name = Draug-A Miner Drone
unit.steam-power-draug-a.description = Smarter then the vanilla miner drone. Delivers mined resources to the cloeset furnace.
Expand Down
9 changes: 7 additions & 2 deletions bundles/bundle_ko.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
steam-power-heat-per-sec=열/초
steam-power-heat-cond={0}열 이상
steam-power-matter-disintegrator-dialog-0=현황
steam-power-matter-disintegrator-dialog-1=값들
steam-power-matter-disintegrator-title-0=용기 요구량
Expand Down Expand Up @@ -40,7 +41,7 @@ block.steam-power-electric-burner.description=전기를 이용해 가열합니
block.steam-power-heat-regulator.name=열 조절기
block.steam-power-heat-regulator.description=전기를 소모해 주변의 열 방출기를 조절합니다. 버튼을 이용해 상한선을 설정할 수 있습니다. 현재 열이 높을 수록 더 많은 전력을 소모하며, 최대 초당 30열 까지 조절가능합니다. \n\n[red]열 블럭입니다. 열이 500 이상이 되면 폭발합니다.\n열은 전기가 초당 현재 열의 5%만큼 감소합니다.\n하한선은 25입니다.
block.steam-power-metal-smelter.name=금속 제련소
block.steam-power-metal-smelter.description=고급 합금들을 제련합니다.
block.steam-power-metal-smelter.description=고급 합금들을 제련합니다.\n\n[red]열 블럭입니다. 열이 1500 이상이 되면 폭발합니다.\n열은 초당 현재 열의 5%만큼 감소합니다.\n하한선은 25입니다.
block.steam-power-missile-factory.name=미사일 공장
block.steam-power-missile-factory.description=미사일 공장.
block.steam-power-semiconductor-plant.name=반도체 공장
Expand Down Expand Up @@ -90,11 +91,13 @@ block.steam-power-solar-conveyor.description=태양 전지판이 있어 전력
block.steam-power-heat-bridge.name=열 다리
block.steam-power-heat-bridge.description=열을 전달합니다.\n\n[red]열 블럭입니다. 열이 500 이상이 되면 폭발합니다.\n열은 초당 현재 열의 1%만큼 감소합니다.\n하한선은 25입니다.
block.steam-power-heat-phase-bridge.name=메타 열 다리
block.steam-power-heat-phase-bridge.description=열을 굉장히 긴 범위로 전달할 수 있습니다.\n\n[red]열 블럭입니다. 열이 1000 이상이 되면 폭발합니다.\n열은 초당 현재 열의 0.5%만큼 감소합니다.\n하한선은 25입니다.
block.steam-power-heat-phase-bridge.description=열을 굉장히 긴 범위로 전달할 수 있습니다.\n\n[red]열 블럭입니다. 열이 1000 이상이 되면 폭발합니다.\n열은 초당 현재 열의 5%만큼 감소합니다.\n하한선은 25입니다.
block.steam-power-teleporter.name=텔레포터
block.steam-power-teleporter.description=고급 아이템 운송 블럭입니다. 텔레포터들은 같은 색의 텔레포터들로부터 아이템을 받습니다. 같은 색의 텔레포터들이 존재하지 않으면 아무것도 하지 않습니다. 만약 같은 색의 여러 텔레포터들이 존재한다면, 무작위로 전송합니다. 전력을 사용합니다. 눌러서 색을 바꿀 수 있습니다.
block.steam-power-starport.name=우주공항
block.steam-power-starport.description=영감 순양함을 생산합니다.
block.steam-power-matter-disintegrator.name=물질 해체기
block.steam-power-matter-disintegrator.description=물질을 양자 단위로 해체합니다. 열이 500이상 일 때 최대 +200% 가속됩니다. \n\n[red]열 블럭입니다. 열이 3000 이상이 되면 폭발합니다.\n열은 초당 현재 열의 5%만큼 감소합니다.\n하한선은 25입니다.

item.steam-power-armor-piercing-shell.name=철갑탄
item.steam-power-armor-piercing-shell.description=철갑탄.
Expand Down Expand Up @@ -140,6 +143,8 @@ item.steam-power-uranium.name=우라늄
item.steam-power-uranium.description=농축된 우라늄.
item.steam-power-quantum-mass.name=양자 덩어리
item.steam-power-quantum-mass.description=양자 덩어리. 쿼크와 랩톤 상태의 양자 집합체입니다. 해당 상태를 유지시켜주는 단단한 용기속에 보관되어 있습니다.
item.steam-power-dimension-armour.name=차원 장갑
item.steam-power-dimension-armour.description=차원 장갑. 양자 수준부터 조직하여 만들어진 장갑입니다. 내부구조가 특수해 가벼우면서 견고합니다.
liquid.steam-power-high-pressure-steam.name=고압 증기
liquid.steam-power-high-pressure-steam.description=고압 증기.
liquid.steam-power-hot-cryofluid.name=뜨거운 냉각수
Expand Down
18 changes: 18 additions & 0 deletions content/blocks/production/matter-disintegrator.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
category: crafting
requirements:[
computer/20
dense-alloy/100
plastanium/40
surge-alloy/60
uranium/40
silicon/40
graphite/40
]
itemCapacity: 20
craftTime: 360
outputItem: quantum-mass/1
size: 3
health: 400
craftEffect: none
updateEffect: none
research: metal-smelter
2 changes: 1 addition & 1 deletion content/blocks/turrets/tesla.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ requirements:[
]
powerUse:2
health:1000
reload:16
reload:24
range:128
shootEffect:lightningShoot
recoil:0
Expand Down
6 changes: 3 additions & 3 deletions mod.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name:steam-power
displayName:Steam Power
description:"[orange]Realistic power generation. \n\n[cyan]Developer : [green]younggam\n[yellow]Thanks to : sirius, 우파루파, Lily, sk7725\n\n[red]Need younggam/multi-lib"
description:"[orange]Realistic power generation. \n\n[cyan]Developer : [green]younggam\n[yellow]Thanks to : sirius, 우파루파, Lily, sk7725\n\n[red]Need younggam/multi-lib2"
author: younggam
version: 1.7.1
version: 1.8.0
minGameVersion: 104
dependencies:["multi-lib"]
dependencies:["multi-lib2"]
2 changes: 1 addition & 1 deletion scripts/blocks/liquid/liquid-heat-exchanger.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const liquidHeatExchanger=heatL.heatGiver(GenericCrafter,GenericCrafter.GenericC
this.stats.add(BlockStat.output,this.outputLiquid.liquid,this.outputLiquid.amount*60,true);
this.stats.remove(BlockStat.input);
this.stats.add(BlockStat.input,this.consumes.get(ConsumeType.liquid).liquid,this.consumes.get(ConsumeType.liquid).amount*60,true);
this.stats.add(BlockStat.basePowerGeneration,String(this.heatProduction*60.0)+" heat/sec","");
this.stats.add(BlockStat.basePowerGeneration,this.heatProduction*60.0+Core.bundle.get("steam-power-heat-per-sec"),"");
this.stats.remove(BlockStat.productionTime);
},
setBars(){
Expand Down
2 changes: 1 addition & 1 deletion scripts/blocks/power/geothermal-system.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const geothermalSystem=heatL.heatGiver(Block,TileEntity,"geothermal-system",{
heatCapacity:500,
setStats(){
this.super$setStats();
this.stats.add(BlockStat.basePowerGeneration,String(this.heatProduction*60.0)+" heat/sec","");
this.stats.add(BlockStat.basePowerGeneration,this.heatProduction*60.0+Core.bundle.get("steam-power-heat-per-sec"),"");
this.stats.add(BlockStat.tiles,this.attribute);
},
setBars(){
Expand Down
2 changes: 1 addition & 1 deletion scripts/blocks/power/nuclear-fusion-reactor.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const nuclearFusionReactor=heatL.heatRecator(LiquidConverter,GenericCrafter.Gene
this.stats.add(BlockStat.output,this.outputLiquid.liquid,this.outputLiquid.amount*60,true);
this.stats.remove(BlockStat.input);
this.stats.add(BlockStat.input,this.consumes.get(ConsumeType.liquid).liquid,this.consumes.get(ConsumeType.liquid).amount*60,true);
this.stats.add(BlockStat.basePowerGeneration,String(this.heatProduction*60.0)+" heat/sec","");
this.stats.add(BlockStat.basePowerGeneration,this.heatProduction*60.0+Core.bundle.get("steam-power-heat-per-sec"),"");
this.stats.remove(BlockStat.powerUse);
this.stats.add(BlockStat.powerUse,this.powerCons*60,StatUnit.powerSecond);
},
Expand Down
2 changes: 1 addition & 1 deletion scripts/blocks/power/nuclear-reactor.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const nuclearReactor=heatL.heatRecator(LiquidConverter,GenericCrafter.GenericCra
this.stats.add(BlockStat.output,this.outputLiquid.liquid,this.outputLiquid.amount*60,true);
this.stats.remove(BlockStat.input);
this.stats.add(BlockStat.input,this.consumes.get(ConsumeType.liquid).liquid,this.consumes.get(ConsumeType.liquid).amount*60,true);
this.stats.add(BlockStat.basePowerGeneration,String(this.heatProduction*60.0)+" heat/sec","");
this.stats.add(BlockStat.basePowerGeneration,this.heatProduction*60.0+Core.bundle.get("steam-power-heat-per-sec"),"");
},
setBars(){
this.super$setBars();
Expand Down
Loading

0 comments on commit 21576cc

Please sign in to comment.