forked from coavins/zomboid-coavins-firearms
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request coavins#71 from macinsight/63-add-model-shotgun_20g
- Loading branch information
Showing
5 changed files
with
155 additions
and
0 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
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_shotgun_20g.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 ShotgunReceiver_20g Welding | ||
{ | ||
Require : ShotgunReceiver_20g, | ||
GlobalItem : BlowTorch=2, | ||
ConditionModifier : 1.2, | ||
|
||
Fixer : SmallSheetMetal; MetalWelding=3, | ||
Fixer : ScrapMetal; MetalWelding=1, | ||
} | ||
|
||
fixing Fix ShotgunReceiver_20g | ||
{ | ||
Require : ShotgunReceiver_20g, | ||
ConditionModifier : 1, | ||
|
||
Fixer : DuctTape=2; Aiming=4, | ||
Fixer : Scotchtape=3; Aiming=2, | ||
} | ||
|
||
fixing Fix ShotgunForend_20g | ||
{ | ||
Require : ShotgunForend_20g, | ||
ConditionModifier : 1, | ||
|
||
Fixer : DuctTape=1; Aiming=2, | ||
Fixer : Scotchtape=2; Aiming=1, | ||
} | ||
|
||
fixing Fix ShotgunBoltCarrier_20g Welding | ||
{ | ||
Require : ShotgunBoltCarrier_20g, | ||
GlobalItem : BlowTorch=1, | ||
ConditionModifier : 1.2, | ||
|
||
Fixer : ScrapMetal; MetalWelding=1, | ||
} | ||
|
||
fixing Fix ShotgunBolt_20g Welding | ||
{ | ||
Require : ShotgunBolt_20g, | ||
GlobalItem : BlowTorch=2, | ||
ConditionModifier : 1.2, | ||
|
||
Fixer : SmallSheetMetal; MetalWelding=4, | ||
Fixer : ScrapMetal; MetalWelding=1, | ||
} | ||
|
||
fixing Fix ShotgunBarrel_20g Welding | ||
{ | ||
Require : ShotgunBarrel_20g, | ||
GlobalItem : BlowTorch=4, | ||
ConditionModifier : 1.2, | ||
|
||
Fixer : SheetMetal; MetalWelding=7, | ||
Fixer : SmallSheetMetal; MetalWelding=5, | ||
Fixer : ScrapMetal; MetalWelding=3, | ||
} | ||
} |
55 changes: 55 additions & 0 deletions
55
.../mods/coavinsfirearms/media/scripts/coavinsfirearms/weapons/coavins_items_shotgun_20g.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 ShotgunReceiver_20g { | ||
DisplayName = Shotgun Receiver (20g), | ||
DisplayCategory = FirearmPart, | ||
Type = Normal, | ||
Icon = ShotgunReceiver, | ||
Weight = 2, | ||
ConditionMax = 20, | ||
WorldStaticModel = Paperbag_Ground, | ||
} | ||
|
||
item ShotgunForend_20g { | ||
DisplayName = Shotgun Forend (20g), | ||
DisplayCategory = FirearmPart, | ||
Type = Normal, | ||
Icon = ShotgunForend, | ||
Weight = 0.5, | ||
ConditionMax = 20, | ||
WorldStaticModel = CarvingFork_Ground, | ||
} | ||
|
||
item ShotgunBoltCarrier_20g { | ||
DisplayName = Shotgun Bolt Carrier (20g), | ||
DisplayCategory = FirearmPart, | ||
Type = Normal, | ||
Icon = ShotgunBoltCarrier, | ||
Weight = 0.3, | ||
ConditionMax = 20, | ||
WorldStaticModel = Staples_Ground, | ||
} | ||
|
||
item ShotgunBolt_20g { | ||
DisplayName = Shotgun Bolt (20g), | ||
DisplayCategory = FirearmPart, | ||
Type = Normal, | ||
Icon = ShotgunBolt, | ||
Weight = 0.2, | ||
ConditionMax = 20, | ||
WorldStaticModel = Staples_Ground, | ||
} | ||
|
||
item ShotgunBarrel_20g { | ||
DisplayName = Shotgun Barrel (20g), | ||
DisplayCategory = FirearmPart, | ||
Type = Normal, | ||
Icon = ShotgunBarrel, | ||
Weight = 1, | ||
ConditionMax = 20, | ||
WorldStaticModel = PlasticPipe, | ||
} | ||
} |