... | @@ -3,7 +3,7 @@ Crucible adds a simple ammo system to allow you to easily create guns that use o |
... | @@ -3,7 +3,7 @@ Crucible adds a simple ammo system to allow you to easily create guns that use o |
|
Configuring an Item
|
|
Configuring an Item
|
|
-------------------
|
|
-------------------
|
|
The ammo system has its own configuration block on an item:
|
|
The ammo system has its own configuration block on an item:
|
|
```
|
|
```yaml
|
|
TestGun:
|
|
TestGun:
|
|
Ammo:
|
|
Ammo:
|
|
Enabled: TRUE
|
|
Enabled: TRUE
|
... | @@ -34,7 +34,7 @@ Example Item |
... | @@ -34,7 +34,7 @@ Example Item |
|
------------
|
|
------------
|
|
|
|
|
|
Configured in an item file:
|
|
Configured in an item file:
|
|
```
|
|
```yaml
|
|
TestGun:
|
|
TestGun:
|
|
Id: BLAZE_ROD
|
|
Id: BLAZE_ROD
|
|
Model: 10
|
|
Model: 10
|
... | @@ -56,7 +56,7 @@ TestGun: |
... | @@ -56,7 +56,7 @@ TestGun: |
|
```
|
|
```
|
|
|
|
|
|
In a skills file:
|
|
In a skills file:
|
|
```
|
|
```yaml
|
|
TestGun-OutOfAmmo:
|
|
TestGun-OutOfAmmo:
|
|
Skills:
|
|
Skills:
|
|
- am{m="&c&lOut of Ammo"}
|
|
- am{m="&c&lOut of Ammo"}
|
... | | ... | |