Skip to content

Commit

Permalink
Merge pull request #1713 from Daztek/cleanup
Browse files Browse the repository at this point in the history
Remove unneeded tweaks
  • Loading branch information
Daztek authored Dec 6, 2023
2 parents 9c6bab5 + 03dca7b commit 84911b8
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 140 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ https://github.com/nwnxee/unified/compare/build8193.35.40...build8193.36.7
- N/A

### Removed
- N/A
- Tweaks: `NWNX_TWEAKS_FIX_AUTOMAP_CRASH`, fixed in basegame.
- Tweaks: `NWNX_TWEAKS_FIX_TURD_EFFECT_UNLINKING`, fixed in basegame.

### Fixed
- Experimental: PlayerHitpointsAsPercentage: added the new argument nMessageLimit to SendServerToPlayerGameObjUpdate hook
Expand Down
2 changes: 0 additions & 2 deletions Plugins/Tweaks/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ add_plugin(Tweaks
"FixItemNullptrInCItemRepository.cpp"
"FixResolveSpecialAttackDamage.cpp"
"FixTriggerEnterDetection.cpp"
"FixTURDEffectUnlinking.cpp"
"FixUnlimitedPotionsBug.cpp"
"HideOnCharList.cpp"
"HideHardcodedItemVFX.cpp"
Expand All @@ -38,6 +37,5 @@ add_plugin(Tweaks
"RangedWeaponsUseOnHitEffectItemProperties.cpp"
"RangedWeaponsUseOnHitCastSpellItemProperties.cpp"
"CastAllOnHitCastSpellItemProperties.cpp"
"FixAutoMapCrash.cpp"
"SetAreaCallsSetPosition.cpp"
"EquipUnequipEventTweaks.cpp")
27 changes: 0 additions & 27 deletions Plugins/Tweaks/FixAutoMapCrash.cpp

This file was deleted.

108 changes: 0 additions & 108 deletions Plugins/Tweaks/FixTURDEffectUnlinking.cpp

This file was deleted.

2 changes: 0 additions & 2 deletions Plugins/Tweaks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,9 @@ Tweaks stuff. See below.
| `NWNX_TWEAKS_FIX_TRIGGER_ENTER_DETECTION` | true or false | Adds an additional bounds check for triggers to fix a trigger detection bug. |
| `NWNX_TWEAKS_UNCAP_DAMAGE_RESISTANCE_DAMAGE_FLAGS` | true or false | Uncaps the compounded damage flags of EffectDamageResistance. |
| `NWNX_TWEAKS_FIX_RESOLVE_SPECIAL_ATTACK_DAMAGE` | true or false | Stops damage from being resolved when a special attack misses. |
| `NWNX_TWEAKS_FIX_TURD_EFFECT_UNLINKING` | true or false | Stops effects from unlinking when restored from a TURD due to their effect ID changing. |
| `NWNX_TWEAKS_RANGED_WEAPONS_USE_ON_HIT_EFFECT_ITEM_PROPERTIES` | true or false | Makes all bows, crossbows, and slings use On Hit: Effect item properties (in addition to their ammunition). |
| `NWNX_TWEAKS_RANGED_WEAPONS_USE_ON_HIT_CAST_SPELL_ITEM_PROPERTIES` | true or false | Makes all bows, crossbows, and slings use On Hit: Cast Spell item properties (in addition to their ammunition). |
| `NWNX_TWEAKS_CAST_ALL_ON_HIT_CAST_SPELL_ITEM_PROPERTIES` | true or false | Casts all On Hit: Cast Spell item properties on hit, instead of only the first property. |
| `NWNX_TWEAKS_FIX_AUTOMAP_CRASH` | true or false | Fixes a server crash that happens when automap data is outdated for a player. |
| `NWNX_TWEAKS_SETAREA_CALLS_SETPOSITION` | true or false | If enabled, a creature getting added to an area will fire the `NWNX_ON_MATERIALCHANGE_*` and `NWNX_ON_CREATURE_TILE_CHANGE_*` events. |
| `NWNX_TWEAKS_FIRE_EQUIP_EVENTS_FOR_ALL_CREATURES` | true or false | The module OnPlayerEquipItem and OnPlayerUnEquipItem events are fired for all creatures |
| `NWNX_TWEAKS_DONT_DELAY_EQUIP_EVENT` | true or false | Fixes Unequip/Equip events being out of sync if an item is equipped/unequipped multiple times per server tick |
Expand Down

0 comments on commit 84911b8

Please sign in to comment.