Skip to content
This repository was archived by the owner on Apr 14, 2020. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
8e9d404
Merge pull request #1176 from CombatExtendedRWMod/master
N7Huntsman Apr 4, 2020
25666b0
Merge branch 'Development' into master
N7Huntsman Apr 6, 2020
69dd864
Remove RocketFrag and GrenadeFrag.
N7Huntsman Apr 6, 2020
9632dc6
Merge pull request #1194 from N7Huntsman/master
Apr 8, 2020
0ee6dc6
Update CombatExtended.dll
zhrocks11 Apr 8, 2020
d98c5e4
Merge branch 'Development' into zhrocks11Dev
N7Huntsman Apr 10, 2020
43dbdcf
Merge pull request #1211 from CombatExtendedRWMod/zhrocks11Dev
zhrocks11 Apr 10, 2020
72c2d21
Update issue templates
N7Huntsman Apr 15, 2020
3d08245
Update CODEOWNERS
N7Huntsman Apr 15, 2020
bcc63cf
Update pull_request_template.md
N7Huntsman Apr 15, 2020
78e48f9
Update to issue templates
N7Huntsman Apr 16, 2020
6808831
Remove duplicate bug report.
N7Huntsman Apr 16, 2020
04f9589
Finalize issue templates.
N7Huntsman Apr 16, 2020
64478c1
Template tweaks.
N7Huntsman Apr 16, 2020
0824085
Move DMGT patches to folder root; Use vanilla PatchOperationFindMod
Apr 17, 2020
8dccc8a
Remove redundant research project from DMGT patches
Apr 17, 2020
5522160
Update issue templates
N7Huntsman Apr 17, 2020
a3f6d82
Update Weapons_Guns.xml
Juanfrank Apr 18, 2020
56debc7
Update Weapons_Guns.xml
Juanfrank Apr 18, 2020
9479c40
Merge pull request #14 from Juanfrank/patch-1
Apr 18, 2020
c9038cf
Merge pull request #12 from sumghai/update-dmgt-patches
N7Huntsman Apr 18, 2020
4c3b8f7
Merge pull request #16 from CombatExtended-Continued/master
N7Huntsman Apr 18, 2020
b6f747f
Merge pull request #2 from CombatExtended-Continued/Development
N7Huntsman Apr 18, 2020
f8e34ef
Add ammo to death acidifier mercs.
N7Huntsman Apr 18, 2020
1d5ccde
Remove transpiler for displaying wind direction alert.
MadaraUchiha Apr 18, 2020
8c4154d
Introduce constant for the magic number
MadaraUchiha Apr 18, 2020
a76b88e
Update About.xml
N7Huntsman Apr 18, 2020
881de73
Merge pull request #17 from CombatExtended-Continued/refactor/move-wi…
Apr 18, 2020
7b23ee9
Merge pull request #18 from N7Huntsman/Development
Apr 18, 2020
f46f1ab
Refactors and preparations
MadaraUchiha Apr 11, 2020
216a1f9
Refactor WorkGiver_ReloadTurret to use the new utility class
MadaraUchiha Apr 11, 2020
21b60c1
Destroy the GenClosestAmmo class
MadaraUchiha Apr 14, 2020
598ce46
Fix bug where reload job would grab too much ammo
MadaraUchiha Apr 15, 2020
7cae3d4
Disable debug mode.
MadaraUchiha Apr 15, 2020
e8e9455
Fix null reference error in TryOrderReload.
MadaraUchiha Apr 18, 2020
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
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @CombatExtendedRWMod/playtesters @CombatExtendedRWMod/coders
* @CombatExtended-Continued/playtesters @CombatExtended-Continued/coders
40 changes: 40 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
name: Bug Report
about: Report gameplay issues and errors to help us improve.
title: "[Bug]:"
labels: bug
assignees: ''

---

**Complete the template below. Reports that do not follow the template will not be deleted.**
**Title should be:** [Bug]: (Short description of bug)

**Specifications**
Please provide the following.

Rimworld version:
Combat Extended version:
Combat Extended source (Steam, GitHub, etc.):
Your operating system:
Your mod list:

**Description**
Provide a concise description of the issue or concern. What happened?

**Expected behavior**
What did you expect to happen?

**To reproduce**
Provide clear steps to reproduce the behavior. How do we make this happen?

**Screenshots & log dumps**
Whenever possible, add screenshots to help explain your problem, and share error or crash logs to make our jobs easier. For logs, please enter the logs into a pastebin site (e.g pastebin.com, justpasteit.com, etc.)
and provide a link. Do not paste the entire log here.

**Complete the following checklist**
I hereby verify that I have done the following:
- [ ] Confirmed that my game version and load order are correct.
- [ ] Confirmed that I am running the appropriate and most updated version of Combat Extended and required compatibility patches.
- [ ] Confirmed I am not running any mods with known incompatibilities with Combat Extended.
- [ ] Disabled Combat Extended and attempted to reproduce the behavior without success.
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/discussion-template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
name: Discussion Template
about: For general discussions among contributors on matters relating to the mod.
Not for off-topic chatter. Label as appropriate.
title: "[Discussion]:"
labels: discussion
assignees: ''

---

**Note: These are to be used for discussions related to Combat Extended, primarily by team members and other contributors. Not for feedback, requests, etc. Off-topic chatter will be deleted.**
40 changes: 40 additions & 0 deletions .github/ISSUE_TEMPLATE/patch-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
name: Patch Request
about: 'Request a new or updated Combat Extended compatibility patch for a mod. '
title: "[Patch Request]:"
labels: patch request
assignees: ''

---

**Read and complete the template below. Requests that fail to follow the template will be deleted without warning.**

**If a Patch Request (open or closed) already exists for the same mod, you may add a reaction to indicate your support. Do not create another request. Duplicate requests will be deleted.**

**Title should be:** [Patch Request]: (Mod Name)

**Mod name:**

**Link to mod download (preferably Steam workshop or Github):**

**Description:**
Provide a brief overview of what content the mod adds or modifies. Specify what content in particular you believe require a patch to be compatibly with Combat Extended.

**Content:**
What does the new mod contain? Check all that apply.
- [ ] New weapons.
- [ ] New animals, humanoids, or other creatures.
- [ ] New factions.
- [ ] New armor or apparel.


**Complete the following checklist before submitting a request.**
I hereby verify that I have done all of the following:
- [ ] Searched the Steam workshop, Discord, and Github for an existing patch and not found one.
- [ ] Confirmed there are no other open Patch Requests for this mod.
- [ ] Confirmed the requested mod is not known to be fundamentally incompatible with Combat Extended.
- [ ] **Have completed this template accurately and completely.**
- [ ] **Understand that putting in a Patch Request does not guarantee a patch will be made.**
- [ ] **Agree that I will not directly contact contributors to ask about patch requests.**

**Putting in request does not guarantee a patch will be made. Do not directly contact team members about Patch Requests. For smaller mods, consider reviewing the guide and making a patch yourself. If you wish to create a patch for any requested mod, there is no need to ask for permission.**
6 changes: 3 additions & 3 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
## Additions

Describe the functionality added by your code, e.g.
Describe new functionality added by your code, e.g.
- Tribal smoke bombs
- New tribal smoke bomb sprite
- Tribal smoke bomb recipes at smithing bench and crafting spot using prometheum

## Changes

Adjustments to other features made in this merge, e.g.
Describe adjustments to existing features made in this merge, e.g.
- Increased regular smoke bomb radius

## References

Links to the associated issues, e.g.
Links to the associated issues or other related pull requests, e.g.
- Closes #[ISSUE_NUMBER]
- Contributes towards #[ISSUE_NUMBER]

Expand Down
3 changes: 1 addition & 2 deletions About/About.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
<ModMetaData>
<name>Combat Extended</name>
<author>CE Team</author>
<url>https://ludeon.com/forums/index.php?topic=33461.0</url>
<url>https://github.com/CombatExtended-Continued/CombatExtended</url>
<supportedVersions>
<li>1.0</li>
<li>1.1</li>
</supportedVersions>
<packageId>CETeam.CombatExtended</packageId>
Expand Down
Binary file modified Assemblies/CombatExtended.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion Defs/Ammo/Rocket/M74.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
<explosionDamageDef>Bomb</explosionDamageDef>
<explosionRadius>1</explosionRadius>
<fragments>
<Fragment_RocketFrag>30</Fragment_RocketFrag>
<Fragment_Large>30</Fragment_Large>
</fragments>
<soundExplode>MortarBomb_Explode</soundExplode>
</li>
Expand Down
8 changes: 8 additions & 0 deletions Languages/English/Keyed/FloatMenu.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<LanguageData>
<CE_NoAmmoAvailable>no viable ammo found nearby</CE_NoAmmoAvailable>
<CE_TurretFull>turret magazine is fully loaded</CE_TurretFull>
<CE_TurretNonAllied>turret belongs to a hostile faction</CE_TurretNonAllied>
<CE_TurretAlreadyReloading>already reloading turret</CE_TurretAlreadyReloading>
<CE_TurretIsBurning>turret is on fire</CE_TurretIsBurning>
</LanguageData>
8 changes: 4 additions & 4 deletions Patches/Core/PawnKindDefs_Humanlike/PawnKinds.xml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
</Operation>

<Operation Class="PatchOperationAddModExtension">
<xpath>Defs/PawnKindDef[defName="Mercenary_Gunner"]</xpath>
<xpath>Defs/PawnKindDef[defName="Mercenary_Gunner" or defName="Mercenary_Gunner_Acidifier"]</xpath>
<value>
<li Class="CombatExtended.LoadoutPropertiesExtension">
<primaryMagazineCount>
Expand Down Expand Up @@ -174,7 +174,7 @@
</Operation>

<Operation Class="PatchOperationAdd">
<xpath>Defs/PawnKindDef[defName="Mercenary_Sniper"]</xpath>
<xpath>Defs/PawnKindDef[defName="Mercenary_Sniper" or defName="Mercenary_Sniper_Acidifier"]</xpath>
<value>
<weaponMoney>415~550</weaponMoney>
</value>
Expand Down Expand Up @@ -252,7 +252,7 @@
</Operation>

<Operation Class="PatchOperationAddModExtension">
<xpath>Defs/PawnKindDef[defName = "Mercenary_Slasher"]</xpath>
<xpath>Defs/PawnKindDef[defName = "Mercenary_Slasher" or defName="Mercenary_Slasher_Acidifier"]</xpath>
<value>
<li Class="CombatExtended.LoadoutPropertiesExtension">
<shieldMoney>
Expand Down Expand Up @@ -286,7 +286,7 @@
</Operation>

<Operation Class="PatchOperationAddModExtension">
<xpath>Defs/PawnKindDef[@Name = "MercenaryEliteTierBase"]</xpath>
<xpath>Defs/PawnKindDef[@Name = "MercenaryEliteTierBase" or defName="Mercenary_Elite_Acidifier"]</xpath>
<value>
<li Class="CombatExtended.LoadoutPropertiesExtension">
<primaryMagazineCount>
Expand Down
20 changes: 10 additions & 10 deletions Patches/Core/ThingDefs_Misc/Weapons_Guns.xml
Original file line number Diff line number Diff line change
Expand Up @@ -842,8 +842,8 @@
<li>Blunt</li>
</capacities>
<power>10</power>
<cooldownTime>1.9</cooldownTime>
<armorPenetration>0.118</armorPenetration>
<cooldownTime>2.44</cooldownTime>
<armorPenetrationBlunt>3.5</armorPenetrationBlunt>
<linkedBodyPartsGroup>Barrels</linkedBodyPartsGroup>
</li>
</tools>
Expand Down Expand Up @@ -943,7 +943,7 @@
<li Class="CombatExtended.CompProperties_Fragments">
<fragSpeedFactor>1</fragSpeedFactor>
<fragments>
<Fragment_RocketFrag>400</Fragment_RocketFrag>
<Fragment_Large>400</Fragment_Large>
</fragments>
</li>
</value>
Expand Down Expand Up @@ -1047,7 +1047,7 @@
<li Class="CombatExtended.CompProperties_Fragments">
<fragSpeedFactor>1</fragSpeedFactor>
<fragments>
<Fragment_RocketFrag>150</Fragment_RocketFrag>
<Fragment_Large>150</Fragment_Large>
</fragments>
</li>
</value>
Expand Down Expand Up @@ -1158,8 +1158,8 @@
<li>Blunt</li>
</capacities>
<power>10</power>
<cooldownTime>1.9</cooldownTime>
<armorPenetration>0.118</armorPenetration>
<cooldownTime>2.44</cooldownTime>
<armorPenetrationBlunt>3.5</armorPenetrationBlunt>
<linkedBodyPartsGroup>Barrel</linkedBodyPartsGroup>
</li>
</tools>
Expand Down Expand Up @@ -1225,8 +1225,8 @@
<li>Blunt</li>
</capacities>
<power>10</power>
<cooldownTime>1.9</cooldownTime>
<armorPenetration>0.118</armorPenetration>
<cooldownTime>2.44</cooldownTime>
<armorPenetrationBlunt>3.5</armorPenetrationBlunt>
<linkedBodyPartsGroup>Barrel</linkedBodyPartsGroup>
</li>
</tools>
Expand Down Expand Up @@ -1289,8 +1289,8 @@
<li>Blunt</li>
</capacities>
<power>10</power>
<cooldownTime>1.9</cooldownTime>
<armorPenetration>0.118</armorPenetration>
<cooldownTime>2.44</cooldownTime>
<armorPenetrationBlunt>3.5</armorPenetrationBlunt>
<linkedBodyPartsGroup>Barrel</linkedBodyPartsGroup>
</li>
</tools>
Expand Down
9 changes: 9 additions & 0 deletions Patches/Core/ThinkTreeDefs/Humanlike.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,15 @@
</value>
</Operation>

<!-- =========== Add turret reloading to mechanoids ===========-->
<Operation Class="PatchOperationAdd">
<xpath>Defs/DutyDef[defName="Defend"]/thinkNode/subNodes</xpath>
<value>
<li Class="CombatExtended.JobGiver_DefenderReloadTurret"/>
</value>
<order>Prepend</order>
</Operation>

<!--<Operation Class="PatchOperationAttributeSet">
<xpath>Defs/ThinkTreeDef[defName="HumanlikeConstant"]/thinkRoot/subNodes/li[@Class="ThinkNode_ConditionalCanDoConstantThinkTreeJobNow"]/subNodes/li[@Class="JobGiver_ConfigurableHostilityResponse"]</xpath>
<attribute>Class</attribute>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>Defensive Machine Gun Turret Pack</li>
</mods>
<match Class="PatchOperationSequence">
<operations>

<!-- Remove RecoilOperation research, as turrets have been reassigned to existing CE research projects -->

<li Class="PatchOperationRemove">
<xpath>Defs/ResearchProjectDef[defName="RecoilOperation"]</xpath>
</li>

</operations>
</match>
</Operation>
</Patch>
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<Patch>
<Operation Class="PatchOperationSequence">
<success>Always</success>
<operations>
<li Class="CombatExtended.PatchOperationFindMod">
<modName>Defensive Machine Gun Turret Pack</modName>
</li>
<Operation Class="PatchOperationFindMod">
<mods>
<li>Defensive Machine Gun Turret Pack</li>
</mods>
<match Class="PatchOperationSequence">
<operations>

<!-- ========== Mounted DP-28 Turret ========== -->

Expand Down Expand Up @@ -360,7 +360,7 @@
</value>
</li>

</operations>
</operations>
</match>
</Operation>

</Patch>
Loading