StationObscurum/Documentation/CraftingSystem.md

74 lines
2.2 KiB
Markdown
Raw Permalink Normal View History

2023-07-02 02:43:17 +02:00
# Crafting System
## Philosophy
Every crafted item contains 4 parts: **Fuel**, **Attachments**, **Outlets**, and **Body**.
## Parts
1. **BODY**:
- Defines how many FUEL, ATTACHMENTS and OUTLETS are on part as well as the visual design.
- Also offers stat modifications for each part
- Definition for input type of item is defined here.
2. **Outlet**:
- Defines what effect is applied. This can be anything from "Shoot Bullet" to "Release Gas"
- Every outlet should define what Fuel(s) are required to apply the effect. If Fuel < required, then effect does not take place.
3. **Attachments**:
- Defines non-effect based stat modifications. So anything from "faster movment", "quicker shoot time", "faster reload" to "quieter effect application noise"
4. **Fuel**:
- Can be a canister of gas or a bullet magazine, these parts define how much fuel, and what type of fuel is being used.
- Example: Pistol Magazine can hold 15 `Bullet`s. This means if our Body, contains a outlet which requires bullets (like the barrel of a gun), then adding a Pistol Magazine that is full of 15 `Bullet`s allows the barrel to apply its shoot effect 15 times.
## Fuel Types
1. **Bullet**
- **Small Bullet**
- Bolt
- Flare
- Pinser
- Shrapnel
- **Medium Bullet**
- Grapple
- Grenade
- Gas
- **Large**
- Missile
2. **Gas**
- Fire (gasoline)
- Propellent
- Smoke
- Poison
3. **Power**
- Battery (small/medium)
- Powercore (large)
## Sample Weapons Using these Systems
- Pistol:
- Body: Pistol Body
- Outlet: Short Gun Barrel
- Attachments: None
- Fuel: Bullet x10
- Taser:
- Body: Mellee Rod
- Outlet: Power Connector
- Attachments: None
- Fuel: Battery (small)
- Rocket Launcher:
- Body: Pistol Body
- Outlet: Large Gun Barrel (has targeting interface)
- Attachments: Arm Rest (buffs stability)
- Fuel: Large Bullet (specifically missile)
- Jetpack:
- Body: Space pack
- Outlet: 4x release valve
- Attachments: None
- Fuel: Propellent
- Flame Thrower:
- Body: Pistol Body
- Outlet: 1x release valve
- Attachments: None
- Fuel: Fire (gas).