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 def for pistol_44cal Signed-off-by: macinsight <[email protected]> * Add helper defs for coavins#56 Signed-off-by: macinsight <[email protected]> * Add translations for coavins#56 Signed-off-by: macinsight <[email protected]> * Add fixing defs for coavins#56 Signed-off-by: macinsight <[email protected]> * Add item defs for coavins#56 Signed-off-by: macinsight <[email protected]> * Assign Model to firearms Signed-off-by: macinsight <[email protected]> --------- Signed-off-by: macinsight <[email protected]>
- Loading branch information
1 parent
202da01
commit 0e562de
Showing
6 changed files
with
105 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
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
43 changes: 43 additions & 0 deletions
43
...ods/coavinsfirearms/media/scripts/coavinsfirearms/fixings/coavins_fixing_pistol_44cal.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,43 @@ | ||
module coavinsfirearms { | ||
imports { | ||
Base | ||
} | ||
|
||
fixing Fix PistolReceiver_44cal Welding | ||
{ | ||
Require : PistolReceiver_44cal, | ||
GlobalItem : BlowTorch=2, | ||
ConditionModifier : 1.2, | ||
|
||
Fixer : SmallSheetMetal; MetalWelding=3, | ||
Fixer : ScrapMetal; MetalWelding=1, | ||
} | ||
|
||
fixing Fix PistolReceiver_44cal | ||
{ | ||
Require : PistolReceiver_44cal, | ||
ConditionModifier : 1, | ||
|
||
Fixer : DuctTape=2; Aiming=4, | ||
Fixer : Scotchtape=3; Aiming=2, | ||
} | ||
|
||
fixing Fix PistolSlide_44cal Welding | ||
{ | ||
Require : PistolSlide_44cal, | ||
GlobalItem : BlowTorch=2, | ||
ConditionModifier : 1.2, | ||
|
||
Fixer : SmallSheetMetal; MetalWelding=3, | ||
Fixer : ScrapMetal; MetalWelding=1, | ||
} | ||
|
||
fixing Fix PistolBarrel_44cal Welding | ||
{ | ||
Require : PistolBarrel_44cal, | ||
GlobalItem : BlowTorch=5, | ||
ConditionModifier : 1.2, | ||
|
||
Fixer : SmallSheetMetal=2; MetalWelding=8, | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
...mods/coavinsfirearms/media/scripts/coavinsfirearms/weapons/coavins_parts_pistol_44cal.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,35 @@ | ||
module coavinsfirearms { | ||
imports { | ||
Base | ||
} | ||
|
||
item PistolReceiver_44cal { | ||
DisplayName = Pistol Frame (.44 Cal), | ||
DisplayCategory = FirearmPart, | ||
Type = Normal, | ||
Icon = PistolReceiver, | ||
Weight = 0.4, | ||
ConditionMax = 20, | ||
WorldStaticModel = Paperbag_Ground, | ||
} | ||
|
||
item PistolSlide_44cal { | ||
DisplayName = Pistol Slide (.44 Cal), | ||
DisplayCategory = FirearmPart, | ||
Type = Normal, | ||
Icon = PistolSlide, | ||
Weight = 0.3, | ||
ConditionMax = 20, | ||
WorldStaticModel = Paperclip, | ||
} | ||
|
||
item PistolBarrel_44cal { | ||
DisplayName = Pistol Barrel (.44 Cal), | ||
DisplayCategory = FirearmPart, | ||
Type = Normal, | ||
Icon = PistolBarrel, | ||
Weight = 0.3, | ||
ConditionMax = 20, | ||
WorldStaticModel = Razor_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