Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

Commit

Permalink
V2 B35
Browse files Browse the repository at this point in the history
  • Loading branch information
NiTiSon committed Feb 20, 2022
1 parent 39c3861 commit 36e65ee
Show file tree
Hide file tree
Showing 11 changed files with 34 additions and 363 deletions.
12 changes: 7 additions & 5 deletions assets/bundles/bundle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ planet.gravillaso-gravillo.details = [orange]The best planet of all planets.
###Sectors
sector.gravillaso-dried-fields.name = Dried Fields
sector.gravillaso-dried-fields.description = Previously, there was an oil production station here, but by now nothing has survived here. \n\nTry to build and launch an oil generator. \n[red]WARNING: it is strongly recommended to put healing blocks next to the generator!!!
sector.gravillaso-dried-fields.details = Serpulo-156
sector.gravillaso-dried-fields.details = Serpulo::156
sector.gravillaso-logical-center.name = Logical Center
sector.gravillaso-logical-center.description = You landed in a place that used to be high-tech. There are processors here, but I'm afraid they will no longer be used for their intended purpose. \n\nDefend against enemies approaching from the south.\n\nFirst sector on Gravilo
sector.gravillaso-logical-center.details = Serpulo-224
sector.gravillaso-logical-center.details = Serpulo::224
sector.gravillaso-caustic-gorge.name = Caustic Gorge
sector.gravillaso-caustic-gorge.description = Huge cave. Some new ores can be mined in this place for example Quartz, a material that can be grind into sand.
sector.gravillaso-caustic-gorge.details = Gravilo-47
sector.gravillaso-caustic-gorge.details = Gravilo::47
###UI
@content.planet.name = Planets
@gravillaso-beta = It's beta version of Gravillaso Mod!
Expand Down Expand Up @@ -114,9 +114,9 @@ block.gravillaso-fiery-spray.name = Fiery Spray
block.gravillaso-fiery-spray.description = Splashes out a jet of any flammable liquid.
###Blocks-Factory
block.gravillaso-advanced-pyratite-mixer.name = Advanced Pyrotite Mixer
block.gravillaso-advanced-pyratite-mixer.description = [orange]Without description.
block.gravillaso-advanced-pyratite-mixer.description = Advanced system for mixing.\nCreates pyrotite.
block.gravillaso-advanced-blast-mixer.name = Advanced Blast Mixer
block.gravillaso-advanced-blast-mixer.description = [orange]Without description.
block.gravillaso-advanced-blast-mixer.description = More efficiency system for creating blast compound.
block.gravillaso-gasoline-barrel.name = Gasoline Barrel
block.gravillaso-gasoline-barrel.description = Uses oil to distill it into gasoline.
block.gravillaso-cryofluid-chamber.name = Cryofluid Chamber
Expand Down Expand Up @@ -167,6 +167,8 @@ block.gravillaso-advanced-naval-factory.name = Advanced Naval Factory
block.gravillaso-advanced-naval-factory.description = Produces advanced naval units. Output units can be used directly, or moved into reconstructors for upgrading.
block.gravillaso-additive-reassembler.name = Additive Reassembler
block.gravillaso-additive-reassembler.description = Upgrades inputted advanced units to the second tier.
block.gravillaso-multiplicative-reassembler.name = Multiplicative Reassembler
block.gravillaso-multiplicative-reassembler.description = Upgrades inputted advanced units to the third tier.
###Block-Editor
block.gravillaso-red-sand.name = Red Sand
block.gravillaso-red-sand-wall.name = Red Sand Wall
Expand Down
6 changes: 4 additions & 2 deletions assets/bundles/bundle_ru.properties
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ block.gravillaso-fiery-spray.name = Пламенный спрэй
block.gravillaso-fiery-spray.description = Выплёскивает струю горючей жидкости.
###Blocks-Factory
block.gravillaso-advanced-pyratite-mixer.name = Продвинутая мешалка пиротита
block.gravillaso-advanced-pyratite-mixer.description = [orange]Описания нету.
block.gravillaso-advanced-pyratite-mixer.description = Улчучшенная система создания пиротита.
block.gravillaso-advanced-blast-mixer.name = Продвинутая мешалка взрывной смеси
block.gravillaso-advanced-blast-mixer.description = [orange]Описания нету.
block.gravillaso-advanced-blast-mixer.description = Улучшенная система создания взрывчатой смеси.
block.gravillaso-gasoline-barrel.name = Топливный барель
block.gravillaso-gasoline-barrel.description = Устройство перегонки нефти в бензин.
block.gravillaso-cryofluid-chamber.name = Криогенная камера
Expand Down Expand Up @@ -157,6 +157,8 @@ block.gravillaso-advanced-naval-factory.name = Продвинутая морск
block.gravillaso-advanced-naval-factory.description = Производит продвинутые морские единицы. Вывод единиц может быть осуществлён напрямую, либо перенаправлен в реконструкторы для улучшения.
block.gravillaso-additive-reassembler.name = Добавляющий переспорщик
block.gravillaso-additive-reassembler.description = Улучшает введённые продвинутые юниты до второго уровня.
block.gravillaso-multiplicative-reassembler.name = Умножающий пересборщик
block.gravillaso-multiplicative-reassembler.description = Улучшает введённые продвинутые юниты до третьего уровня.
###Block-Editor
block.gravillaso-red-sand.name = Красный песок
block.gravillaso-red-sand-wall.name = Стана красного песка
Expand Down
2 changes: 1 addition & 1 deletion mod.hjson
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ name: "gravillaso"
author: "NiTiS (NickName73)"
main: "com.NiTiS.Gravillaso.GRMod"
description: "GRMod"
version: "2 b34"
version: "2 b35"
minGameVersion: 134
java: true
5 changes: 4 additions & 1 deletion src/com/NiTiS/Gravillaso/GRMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

import arc.util.Log;
import com.NiTiS.Gravillaso.content.*;
import mindustry.Vars;
import mindustry.ctype.ContentList;
import mindustry.mod.Mod;
import mindustry.mod.Mods;

public class GRMod extends Mod {

Expand All @@ -25,7 +27,8 @@ public static String fullName(String name){

@Override
public void loadContent() {
Log.info("GravillasoR loading");
Mods.LoadedMod grmod = Vars.mods.getMod("gravillaso");
Log.info("GRavillaso loading");
int loaded = 0;
for (ContentList list : required){
try {
Expand Down
12 changes: 10 additions & 2 deletions src/com/NiTiS/Gravillaso/content/GRBlocks.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import mindustry.type.LiquidStack;
import mindustry.type.UnitType;
import mindustry.world.Block;
import mindustry.world.blocks.Attributes;
import mindustry.world.blocks.defense.ForceProjector;
import mindustry.world.blocks.defense.MendProjector;
import mindustry.world.blocks.defense.Wall;
Expand Down Expand Up @@ -84,6 +85,8 @@ public void load() {
}};
redSand = new Floor("red-sand"){{
wall = redSandWall;
attributes.set(Attribute.heat, 0.05f);
attributes.set(Attribute.water, -0.05f);
itemDrop = Items.sand;
playerUnmineable = true;
}};
Expand All @@ -101,6 +104,9 @@ public void load() {
status = StatusEffects.melting;
statusDuration = 247f;
wall = burningGroundWall;
attributes.set(Attribute.heat, 2.75f);
attributes.set(Attribute.water, -3);
attributes.set(Attribute.oil, 0.25f);
}};
burningGroundWall = new StaticWall("burning-ground-wall"){{
variants = 2;
Expand Down Expand Up @@ -364,7 +370,7 @@ public void load() {
health = 70 * size * size;
itemCapacity = 240;
range = 520;
rotateSpeed = 0.03f;
rotateSpeed = 0.1f;
translation = 7f;
minDistribute = 40;
knockback = 4;
Expand Down Expand Up @@ -491,7 +497,7 @@ public void load() {
inaccuracy = 2;
range = 180;
powerUse = 7;
shootType = new LaserBulletType(45){{
shootType = new LaserBulletType(75){{
lifetime = 40;
length = 220;
width = 10;
Expand Down Expand Up @@ -780,6 +786,7 @@ Items.phaseFabric, new ShrapnelBulletType(){{
);
consumes.items(with(Items.silicon, 50, Items.graphite, 20, Items.titanium, 30));
consumes.power(4);
constructTime = 60 * 15;
size = 3;
}};
multiplicativeReassembler = new Reconstructor("multiplicative-reassembler"){{
Expand All @@ -789,6 +796,7 @@ Items.phaseFabric, new ShrapnelBulletType(){{
);
consumes.power(7.5f);
consumes.items(with(Items.silicon, 140, Items.titanium, 120, GRItems.gravitium, 20));
constructTime = 60 * 40;
size = 5;
}};
//endregion
Expand Down
5 changes: 4 additions & 1 deletion src/com/NiTiS/Gravillaso/content/GRLoadouts.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.NiTiS.Gravillaso.content;

import mindustry.content.Loadouts;
import mindustry.Vars;
import mindustry.ctype.ContentList;
import mindustry.game.Schematic;
import mindustry.game.Schematics;
Expand All @@ -14,5 +14,8 @@ public class GRLoadouts implements ContentList {
public void load() {
basicMolecular = Schematics.readBase64("bXNjaAF4nDWOQQ7CIBREf6EtRU2MS5ceoDtv4DGMC2x/DAmFhtIm3l7KRBIYIG/mDx3oJKn2ZmJqHiHynY4jL0O0c7LBE1HrzJvdQuL5knRJNhlv16kfgt/4GyKdZ8/rZJId+jFa5+j6iWbLF7OEfgqOh9WZmPnIOe1GZVU4igiIhNSQ5k+JCtx+yMxmaeAqW+RXJbKrQ0YxSBgkDDIjYndVMJfPFj1ahClMU0AUEAVLB7LbU4g0ammU0iivMVGjvN7JH+toI+A=");
basicColiseum = Schematics.readBase64("bXNjaAF4nD2MXQrCMBCEJz8tNRXEN/EOffQEHkN8iDVIIE1Kmha8vZsumCV8+zMz6HFU0NFODs09ZXdD/3bLmP1cfIoA2mBfLiyQj6fCufhio1+nYUxxc9+UcZqjWydb/Di8sw8Bl0+2GzV2SaQKfnG7PDsKu9KHoKInGYqh//sKyY1mnYaQaNDVleKLYkmzDwTBkAzFIJ9Ay4a2GkTNYOz2rkqAA4FmwymGUwynmHr7Aa+GI0A=");

Vars.schematics.add(basicMolecular);
Vars.schematics.add(basicColiseum);
}
}
20 changes: 1 addition & 19 deletions src/nitis/nickname73/Gravillaso/GravillasoJavaMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public static String fullName(String name){
@Override
public void loadContent(){
try{
LoadedMod mod = mods.locateMod("gravillaso");
LoadedMod mod = mods.getMod("gravillaso");
mod.meta.displayName = "[#51158b]G[#4d2a97]r[#493fa3]a[#4554af]v[#4169bb]i[#3d7ec7]l[#3993d3]l[#35a8df]a[#31bdeb]s[#2dd2f7]o [#e5e5e5]Java";
mod.meta.author = "[#ffea96]NickName73[]\nCREAsTIVE\n[maroon]Spriters:[]\nRadmir Yakupov\nCat fat\nVeniamin Katyrev\n[salmon]Additional Content from:[]\nTheSkyFather/Minerals";
}catch (Exception e){
Expand All @@ -75,12 +75,6 @@ public void loadContent(){
Log.err("Gravillaso Liquid loading failed");
Log.err(e);
}
try {
new ModItems().load();
}catch (Exception e){
Log.err("Gravillaso Items loading failed");
Log.err(e);
}
try {
new ModStatuses().load();
}catch (Exception e){
Expand All @@ -93,12 +87,6 @@ public void loadContent(){
Log.err("Gravillaso Units loading failed");
Log.err(e);
}
try {
new ModBlocks().load();
}catch (Exception e){
Log.err("Gravillaso Blocks loading failed");
Log.err(e);
}
try {
new ModPlanets().load();
}catch (Exception e){
Expand All @@ -111,12 +99,6 @@ public void loadContent(){
Log.err("Gravillaso Sectors loading failed");
Log.err(e);
}
try {
new ModTechTree().load();
}catch (Exception e){
Log.err("Gravillaso TechTree loading failed");
Log.err(e);
}
}

}
73 changes: 0 additions & 73 deletions src/nitis/nickname73/Gravillaso/content/ModBlocks.java

This file was deleted.

36 changes: 0 additions & 36 deletions src/nitis/nickname73/Gravillaso/content/ModItems.java

This file was deleted.

Loading

0 comments on commit 36e65ee

Please sign in to comment.