Skip to content

Commit

Permalink
updated code files
Browse files Browse the repository at this point in the history
  • Loading branch information
hamstar0 committed Nov 26, 2021
1 parent 6017ab8 commit 13b23fe
Show file tree
Hide file tree
Showing 42 changed files with 1,124 additions and 11 deletions.
9 changes: 0 additions & 9 deletions .gitignore

This file was deleted.

Binary file added .vs/Durability/DesignTimeBuild/.dtbcache
Binary file not shown.
Binary file added .vs/Durability/DesignTimeBuild/.dtbcache.v2
Binary file not shown.
Binary file added .vs/Durability/v14/.suo
Binary file not shown.
Binary file added .vs/Durability/v15/.suo
Binary file not shown.
Empty file.
Binary file added .vs/Durability/v15/Server/sqlite3/storage.ide
Binary file not shown.
Binary file not shown.
Binary file added .vs/Durability/v15/Server/sqlite3/storage.ide-wal
Binary file not shown.
Binary file added .vs/Durability/v16/.suo
Binary file not shown.
Empty file.
Binary file added .vs/Durability/v16/Server/sqlite3/storage.ide
Binary file not shown.
1,030 changes: 1,030 additions & 0 deletions .vs/config/applicationhost.config

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Durability.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Durability", "Durability.csproj", "{BD74D1AA-2290-4AF6-9CAF-740453655F7C}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Durability", "Durability\Durability.csproj", "{BD74D1AA-2290-4AF6-9CAF-740453655F7C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion Durability.csproj → Durability/Durability.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</ItemGroup>
<ItemGroup>
<Reference Include="HamstarHelpers">
<HintPath>..\..\Mod Helpers\Project\HamstarHelpers\bin\Release\net452\HamstarHelpers.dll</HintPath>
<HintPath>..\..\..\Mod Helpers\Project\HamstarHelpers\bin\Release\net452\HamstarHelpers.dll</HintPath>
</Reference>
</ItemGroup>
</Project>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
Binary file added Image Sources/Logo Labeled Mini.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Image Sources/Logo Labeled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Image Sources/Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Image Sources/Mini Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Image Sources/durability.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
Binary file added Image Sources/logo tiny.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
92 changes: 92 additions & 0 deletions durability todo.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
Future
- Add durability scaling for hard block types
- Add durability effect for hammers
- Add random drops of very low durability, unrepairable end-game items
- F&T
- Laser machine gun does not trigger with each fire



v2.6
- Lower sell value of low durability items
- Implement 'Work Orders' (fully repairs items; takes 24 hours)
- Add 'Broken' prefix to items that break

- Refactor for updated config
- Refactor for updated net protocol
- Refactor for updated code
v2.4
- Update Honor Bound
- Set broken items to be rendered useless; not destroyed
- Set broken items to be unequipable or to auto de-equip
- Display broken items with X overlay
- Reduce general durability
- Update config file to preserve customized settings
v2.3.1
- Add 'Enabled' config setting
v2.3
- Modified fishing durability use (catches only)
- Set ore weapons to have higher durability
- Raise durability formula's exponent value
- Normalize custom durability adjustments more (especially meteor)
- Give low durability warnings for armor
- Remove redundant generic durability use of fishing poles
v2.2
- Fixed repairs not saving with item
- Add tooltip for items with max durability loss
- Tweaked various config settings
- Disable repair recipes when at full durability
- Remove old config (Durability 1.6.0.json)
v2.1
- Add low durability audio cue + message
- Improve overlay text (align to item center, color = bar, show in inventory only)
- Add custom settings for item types
- Added config settings and presets
- Modify durability computation to factor in use time
- F&T
- Grapple use
- Magic weapons trigger with no mana (also cursed?)
- Use Shoot hook for projectile swords
- Harpoon triggers both projectile hit and on fire use
- @Test
- Remove meteor drop limit
- Update config file
- Use ModPlayer.PostItemCheck for destroying items
- Account for 0 useTime items
- Reference mouse item instead of inventory item (if applicable)
v2
- Add permanent integrity damage with each repair
- Add config option to remove display bars
- Set hammer to have 3 uses
v1.9
- Show durability number
- Set demonite and hallowed items to have 3/4 durability
- Add a table (as a config setting) for individual items
v1.7
- Reduce reforge repair amounts
- Implement Smithing Hammer
- Add to merchant shop
- Implement repair for armors
- Create item
- Factor in use time for durability rate
v1.3
- Release!
- Add config file
- Add health bar visual effect for each item use
- Specify durability formula in description
v1
- Release!
- F&T
- Ensure items destroy after use
- Fix buying or finding items with less than full durability
- Fix ammo-less shooting consuming durability
- Add durability for grapple
- F&T
- Fix durability for no value items (based on attack or armor value)
- Fix item destroy
- In inventory, render overlay of durability state
- Destroy item when durability expires (plays sound)
- Apply durability to armor
- Scale durability based on value
- Apply durability to non-block, tool-only items
- Create mod base

0 comments on commit 13b23fe

Please sign in to comment.