-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
79 add definition bolt action 308 (#87)
* feat(model): Add Model #79 Signed-off-by: macinsight <gh@macinsight.net> * feat(model): Add Helper #79 Signed-off-by: macinsight <gh@macinsight.net> * feat(model): Add Translation #79 Signed-off-by: macinsight <gh@macinsight.net> * feat(model): Add Fixing #79 Signed-off-by: macinsight <gh@macinsight.net> * feat(model): Add Items #79 Signed-off-by: macinsight <gh@macinsight.net> * feat(model): Add Weapons #79 Signed-off-by: macinsight <gh@macinsight.net> --------- Signed-off-by: macinsight <gh@macinsight.net>
- Loading branch information
1 parent
edc62c0
commit 8c216b7
Showing
7 changed files
with
159 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
git-conventional-commits.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
63 changes: 63 additions & 0 deletions
63
...mods/coavinsfirearms/media/scripts/coavinsfirearms/fixings/coavins_fixing_rifle_308BA.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
module coavinsfirearms { | ||
imports { | ||
Base | ||
} | ||
|
||
fixing Fix RifleLowerReceiver_308BA Welding | ||
{ | ||
Require : RifleLowerReceiver_308BA, | ||
GlobalItem : BlowTorch=2, | ||
ConditionModifier : 1.2, | ||
|
||
Fixer : SmallSheetMetal; MetalWelding=3, | ||
Fixer : ScrapMetal; MetalWelding=1, | ||
} | ||
|
||
fixing Fix RifleLowerReceiver_308BA | ||
{ | ||
Require : RifleLowerReceiver_308BA, | ||
ConditionModifier : 1, | ||
|
||
Fixer : DuctTape=2; Aiming=4, | ||
Fixer : Scotchtape=3; Aiming=2, | ||
} | ||
|
||
fixing Fix RifleUpperReceiver_308BA | ||
{ | ||
Require : RifleUpperReceiver_308BA, | ||
ConditionModifier : 1, | ||
|
||
Fixer : DuctTape=2; Aiming=4, | ||
Fixer : Scotchtape=3; Aiming=2, | ||
} | ||
|
||
fixing Fix RifleBoltCarrier_308BA Welding | ||
{ | ||
Require : RifleBoltCarrier_308BA, | ||
GlobalItem : BlowTorch=1, | ||
ConditionModifier : 1.2, | ||
|
||
Fixer : SmallSheetMetal; MetalWelding=3, | ||
Fixer : ScrapMetal; MetalWelding=1, | ||
} | ||
|
||
fixing Fix RifleFiringPin_308BA Welding | ||
{ | ||
Require : RifleFiringPin_308BA, | ||
GlobalItem : BlowTorch=2, | ||
ConditionModifier : 1.2, | ||
|
||
Fixer : ScrapMetal=2; MetalWelding=6, | ||
Fixer : SmallSheetMetal; MetalWelding=4, | ||
} | ||
|
||
fixing Fix RifleBolt_308BA Welding | ||
{ | ||
Require : RifleBolt_308BA, | ||
GlobalItem : BlowTorch=2, | ||
ConditionModifier : 1.2, | ||
|
||
Fixer : SmallSheetMetal; MetalWelding=4, | ||
Fixer : ScrapMetal; MetalWelding=1, | ||
} | ||
} |
55 changes: 55 additions & 0 deletions
55
.../mods/coavinsfirearms/media/scripts/coavinsfirearms/weapons/coavins_items_rifle_308BA.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
module coavinsfirearms { | ||
imports { | ||
Base | ||
} | ||
|
||
item RifleLowerReceiver_308BA { | ||
DisplayName = Rifle Lower Receiver (.308 BA), | ||
DisplayCategory = FirearmPart, | ||
Type = Normal, | ||
Icon = RifleLowerReceiver, | ||
Weight = 2, | ||
ConditionMax = 20, | ||
WorldStaticModel = Paperbag_Ground, | ||
} | ||
|
||
item RifleUpperReceiver_308BA { | ||
DisplayName = Rifle Upper Receiver (.308 BA), | ||
DisplayCategory = FirearmPart, | ||
Type = Normal, | ||
Icon = RifleUpperReceiver, | ||
Weight = 2, | ||
ConditionMax = 20, | ||
WorldStaticModel = Paperbag_Ground, | ||
} | ||
|
||
item RifleBoltCarrier_308BA { | ||
DisplayName = Rifle Bolt Carrier (.308 BA), | ||
DisplayCategory = FirearmPart, | ||
Type = Normal, | ||
Icon = RifleBoltCarrier, | ||
Weight = 2, | ||
ConditionMax = 20, | ||
WorldStaticModel = Paperbag_Ground, | ||
} | ||
|
||
item RifleFiringPin_308BA { | ||
DisplayName = Rifle Firing Pin (.308 BA), | ||
DisplayCategory = FirearmPart, | ||
Type = Normal, | ||
Icon = RifleFiringPin, | ||
Weight = 0.1, | ||
ConditionMax = 20, | ||
WorldStaticModel = Paperbag_Ground, | ||
} | ||
|
||
item RifleBolt_308BA { | ||
DisplayName = Rifle Bolt (.308 BA), | ||
DisplayCategory = FirearmPart, | ||
Type = Normal, | ||
Icon = RifleBolt, | ||
Weight = 2, | ||
ConditionMax = 20, | ||
WorldStaticModel = Paperbag_Ground, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters