Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
Another fix for the modifying Materials and Elements page (#25)
Browse files Browse the repository at this point in the history
* Update Modifying-Existing-Materials.md

Added how to generate ores from existing materials. Fixed code-blocks. Added comments in the adding flags to existing materials section. And added a line of code to show that the element property modification works for other materials

* Update Modifying-Existing-Materials.md

Fixed broken comment and code block
  • Loading branch information
Cattman423 authored Mar 28, 2024
1 parent 2cb84ca commit ee7877c
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ All periodic table elements are present in GT, but some of them don't have any p
GTMaterials.Iodine.setProperty(PropertyKey.FLUID, new $FluidProperty());
GTMaterials.Iodine.getProperty(PropertyKey.FLUID).storage.enqueueRegistration(GTFluidStorageKeys.LIQUID, new GTFluidBuilder());
GTMaterials.Oganesson.setProperty(PropertyKey.FLUID, new $FluidProperty());
GTMaterials.Iodine.getProperty(PropertyKey.FLUID).storage.enqueueRegistration(GTFluidStorageKeys.GAS, new GTFluidBuilder()); // (1)
GTMaterials.Iodine.getProperty(PropertyKey.FLUID).storage.enqueueRegistration(GTFluidStorageKeys.GAS, new GTFluidBuilder()); //Can be LIQUID, GAS, PLASMA or MOLTEN

// Blast Property
GTMaterials.Zirconium.setProperty(PropertyKey.BLAST, new $BlastProperty(8000, 'higher', GTValues.VA(GTValues.MV), 8000));
Expand All @@ -47,8 +47,6 @@ You can even add an ore to existing materials:
});
```

1. Can be LIQUID, GAS, PLASMA or MOLTEN

You can also add flags to existing materials:

```js title="flags.js
Expand Down

0 comments on commit ee7877c

Please sign in to comment.