mirror of
https://git.0x7be.net/dirk/uniham.git
synced 2024-07-04 14:55:20 +02:00
add durability table
This commit is contained in:
parent
2bdb77b781
commit
033cf1b331
19
README.md
19
README.md
@ -20,6 +20,25 @@ The hammers added by this mod can be used to crush material into “softer” ma
|
||||
|
||||
The three default sandstone types can be crushed into the corresponding three default sand types, too.
|
||||
|
||||
## Durability
|
||||
|
||||
The durability is based on personal opinion.
|
||||
|
||||
| Hammer Material | Mod | Durability (uses) |
|
||||
|:----------------|:----------:|------------------:|
|
||||
| Wood | `default` | 10 |
|
||||
| Stone | `default` | 50 |
|
||||
| Gold | `default` | 80 |
|
||||
| Bronze | `default` | 100 |
|
||||
| Steel | `default` | 150 |
|
||||
| Silver | `moreores` | 200 |
|
||||
| Diamond | `default` | 250 |
|
||||
| Mese | `default` | 300 |
|
||||
| Obsidian | `default` | 350 |
|
||||
| Mithril | `moreores` | 400 |
|
||||
|
||||
Feel free to suggest changes.
|
||||
|
||||
## API usage
|
||||
|
||||
The *Universal Hammer API* can be used by calling the `uniham.register_hammer` function. This function takes two parameters, the ID and the definition table.
|
||||
|
@ -20,7 +20,7 @@ register_hammer('hammer_gold', {
|
||||
name = 'Golden Hammer',
|
||||
head = 'default_gold_block.png',
|
||||
craft = 'default:gold_ingot',
|
||||
uses = 100
|
||||
uses = 80
|
||||
})
|
||||
|
||||
register_hammer('hammer_mese', {
|
||||
|
Loading…
Reference in New Issue
Block a user