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.
* Add model defs for .357 Revolver Signed-off-by: macinsight <[email protected]> * Add Helper Defs for .357 Revolver Signed-off-by: macinsight <[email protected]> * Add Translation for .357 Revolver Signed-off-by: macinsight <[email protected]> * Add fixing defs for .357 Revolver Signed-off-by: macinsight <[email protected]> * Add item defs for .357 Revolver Signed-off-by: macinsight <[email protected]> * Update Items that have .357 Revolver assigned Signed-off-by: macinsight <[email protected]> --------- Signed-off-by: macinsight <[email protected]>
- Loading branch information
1 parent
92b0613
commit 202da01
Showing
6 changed files
with
82 additions
and
8 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
33 changes: 33 additions & 0 deletions
33
...ods/coavinsfirearms/media/scripts/coavinsfirearms/fixings/coavins_fixing_revolver_357.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,33 @@ | ||
module coavinsfirearms { | ||
imports { | ||
Base | ||
} | ||
|
||
fixing Fix RevolverReceiver_357 Welding | ||
{ | ||
Require : RevolverReceiver_357, | ||
GlobalItem : BlowTorch=2, | ||
ConditionModifier : 1.2, | ||
|
||
Fixer : SmallSheetMetal; MetalWelding=3, | ||
Fixer : ScrapMetal; MetalWelding=1, | ||
} | ||
|
||
fixing Fix RevolverReceiver_357 | ||
{ | ||
Require : RevolverReceiver_357, | ||
ConditionModifier : 1, | ||
|
||
Fixer : DuctTape=2; Aiming=4, | ||
Fixer : Scotchtape=3; Aiming=2, | ||
} | ||
|
||
fixing Fix RevolverCylinder_357 Welding | ||
{ | ||
Require : RevolverCylinder_357, | ||
GlobalItem : BlowTorch=3, | ||
ConditionModifier : 1.2, | ||
|
||
Fixer : SmallSheetMetal=2; MetalWelding=6, | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...mods/coavinsfirearms/media/scripts/coavinsfirearms/weapons/coavins_items_revolver_357.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,25 @@ | ||
module coavinsfirearms { | ||
imports { | ||
Base | ||
} | ||
|
||
item RevolverReceiver_357 { | ||
DisplayName = Revolver Frame (.357), | ||
DisplayCategory = FirearmPart, | ||
Type = Normal, | ||
Icon = RevolverReceiver, | ||
Weight = 0.5, | ||
ConditionMax = 20, | ||
WorldStaticModel = Paperbag_Ground, | ||
} | ||
|
||
item RevolverCylinder_357 { | ||
DisplayName = Revolver Cylinder (.357), | ||
DisplayCategory = FirearmPart, | ||
Type = Normal, | ||
Icon = RevolverCylinder, | ||
Weight = 0.3, | ||
ConditionMax = 20, | ||
WorldStaticModel = Paperclip, | ||
} | ||
} |
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