Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create i42d-g02-firearms.txt #48

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions Db/i42d-g02-firearms.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
FIREARMS:
*serialnum(PK): Number
*name: String
*magazine(FK MAGAZINE.magid): Number
*class: String
*firingmodes: String
*attatchements(FK ATTATCHEMENTS.atid): Number

MAGAZINE:
*magid(PK): Number
*type: String
*rounds: Number
*ammo(FK AMMUNITION.id): Number

AMMUNITION:
*ammoid(PK): Number
*name: String
*type: String
*caliber: String

ATTATCHEMENTS:
*atid: Number
*name: String
*type: String

Example:
{
serialnum:123456
name: Barrett M82
magazine:123
class: Anti-material precision Rifle
firingmodes:semi-automatic
attatchements:789
}

{
magid:123
type:straight
rounds:10
ammo:456
}

{
ammoid:456
name: 50 BMG
type: High-explosive incendiary
caliber: 12.7mm
}

{
atid:789
name:Leupold 4.5–14×50 Mark 4
type: scope
}